/* CSS Document */
/* CSS Document */
/* =============== resetovani css =============== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* =============== Hlavni =============== */

html {height: 100%; font-size: 62.5%; color:#8e8f8f; font-family: 'Roboto', sans-serif; font-weight: 400; background-color: #282828; background-image: url("../images/bg.jpg"); background-position: top left 700px;}
body {height: 100%; text-align: center; margin: 0; padding: 0;}

img { border:0; }
h1 {font-size: 3.0em; line-height: 150%; font-weight: 900;color: #00387b; text-transform: uppercase; margin-bottom: 1em; margin-top: 1em;}
h1 strong {color:#8e8f8f; font-size: 0.4em; display: block; line-height: 80%; text-transform: none; font-weight: 400;}
h2 {color: #262727; font-size: 2em;  font-weight: 400; line-height: 150%; }
h3 {color: #262727; font-size: 1.8em;  font-weight: 400; line-height: 150%;}
ol li { /*margin-bottom: 7px; margin-top:7px; font-size:16px; line-height: 20px;*/}
ul li {/*padding-left:15px; font-size: 14px; line-height: 28px;*/}
strong {font-weight:bold;}
b {font-weight: bold; }
em {font-style:italic;}
p {margin-top: 1em; margin-bottom: 1em; font-size:1.4em; line-height: 120%;}

.cleaner {clear: both; height: 0; font-size: 0; visibility: hidden;}
.content {padding-left:12.5%; padding-right:12.5%;}
.right {float:right;}
.left {float:left;}
.center {text-align: center;}

a:link, a:visited {color: #2082e2;}
a:hover{color: #244E80}

.wrap {/*obal*/ text-align: left; margin: 0 auto; background-color: white; }
@media screen and (max-width: 1200px) {.wrap{width: 100%}}
@media screen and (min-width: 1201px) {.wrap{width: 1200px;}}

a.button {color: white; text-decoration: none; background-color:#00387b; text-align:center; line-height: 250%;
    padding-top: 0.7em; padding-bottom: 0.7em; text-transform: uppercase;
    cursor: pointer;  padding-left: 1.5em; padding-right: 1.5em; }
a.button:hover {background: #285993;}

#header { padding: 0;  text-align: center; background-color: white; }
#header img {margin: 0; padding: 0; }
#header .top {padding-bottom: 2.3em; padding-top: 2.3em;}
#header .logo {float: left; width: 25%; text-align: left;}
#header .mhtech {text-align: left; width: 45%;  color: #1d1c1c; margin-top: 1em;}
#header .mhtech span {display: block; font-size: 3.6em;}
#header .mhtech strong {font-size: 1.8em; line-height: 150%;}
#header .address {text-align: right; width: 30%; color: #8e8f8f; font-size: 1.2em; line-height: 150%;}
#header .address a.rychle_poptat {background-image: url("../images/poptat.jpg"); background-repeat: no-repeat; max-width: 22px; height: 15px; color: transparent; text-decoration: none;}
#header .address a.rychle_poptat:link {background-position: 0 0; }
#header .address a.rychle_poptat:hover, #header .address a:visited {background-position: 0 -17px;}
#header .address a.rychle_poptat {background-position: 0 0; }
#header .address a.rychle_poptat2 {background-position: 0 -17px;}
#header .logo, #header .mhtech, #header .address {float: left;}
#header .navigace {background-color: #eeeeee; padding-top: 0.5em; padding-bottom: 0.5em; /*padding-left:9%; padding-right:9%;*//* padding-left: 20%; padding-right: 20%; / pridani akcni nabidky*/
    position: relative;}
#header .navigace #home_icon {position: absolute; top: 1.9em; left: 6em; width: 51px;}
#header .navigace #home_icon span {position: absolute; display: block; top: 5.1em; width: 100%; text-align: center; text-transform: uppercase; color: #262727; font-size: 1.1em; }
#header .navigace a#home { display: block; width: 51px; height: 51px; background-image: url("../images/home1.png"); background-repeat: no-repeat; background-position: 0 0;
   }
#header .navigace a#home:hover {background-position: 0 -52px;}
#header .nav_content {padding-left:9.7%; padding-right:8%;}

#products {background-color: #f2f2f2; padding-top: 3em; padding-bottom: 5em;}
#products h2 {font-size: 3.0em; line-height: 150%; font-weight: 900;color: #00387b; text-transform: uppercase; margin-bottom: 1em; margin-top: 0; text-align: center;}
#products h2 strong {color:#8e8f8f; font-size: 0.4em; display: block; line-height: 80%; text-transform: none; font-weight: 400;}


@media screen and (max-width: 600px) {
    #header .logo {width: 100%; margin-bottom: 2em; }
    #header .mhtech {width: 100%; margin-bottom: 2em;}
    #header .address {width: 100%; margin-bottom: 2em; text-align: left;}
}
/*
.menu_products {background-color: white; border-top: 1px solid #dddfdf; border-bottom: 1px solid #dddfdf; margin-bottom: 3em; padding-left: 5.5em;}
.menu_products ul{list-style-type: none; width: 100%;}
.menu_products ul li {display: inline-block; float: left; text-align: center;}
.menu_products ul li:nth-child(6n){clear: both; padding-left: 4em;}
.menu_products ul li a {color: #262727; font-size: 1.4em; display: block; width: 100%; line-height: 3em; text-decoration: none; padding-left:1em; padding-right: 1em; }
.menu_products ul li a:hover {color: #00387b;}
*/
.slider-mini{
    display: none;
}
@media screen and (max-width: 480px) {
    #da-slider {display: none;}
    .slider-mini{
        display: block;
        width: 100%;
        position: relative;
        margin: 0 auto;
        overflow: hidden;
        background: transparent url(../images/slide-bg.png) repeat 0% 0%;
        min-height: 100px;
    }
    .slider-mini h2 {
        color: #00387b;
        font-size: 3em;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
        font-weight: 700;
        text-transform: uppercase;
        font-family: 'Oswald', sans-serif;
        margin-top: 1em;
    }
    .slider-mini p{
        color: #00387b;
        font-size: 1.7em;
        line-height: 26px;
        font-weight: 400;

    }

}

.menu_products {
    display: block;
    width: 100%;
    background-color: white; border-top: 1px solid #dddfdf; border-bottom: 1px solid #dddfdf; margin-bottom: 3em;
    position: relative;
}


.menu_products ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu_products ul li {
    width: 100%;
    text-align: center;
}

.menu_products a {
    display: block;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 1.4em;
    color: #262727;
    line-height: 3em;
    padding: 0 15px;
}

.menu_products a:hover {
    color: #00387b;
}


@media screen and (min-width: 601px) {
    .menu_products ul {
        text-align: center;
        width: 100%;
    }


    .menu_products ul li {
        width: auto;
        display: inline-block;
        }
}


.jcarousel-wrapper_1 {position: relative;}

.jcarousel-wrapper {position: relative; padding-left: 5em; padding-right: 5em; margin-left: 5em; margin-right: 5em; margin-bottom: 3em;}
@media screen and (max-width: 599px) {
    .jcarousel-wrapper {display: none;}
}
.jcarousel_1 {
    position: relative;
    overflow: hidden;
}
.jcarousel_1 ul {
    width: 20000em;
    position: relative;

    /* Optional, required in this case since it's a <ul> element */
    list-style: none;
    margin: 0;
    padding: 0;
}
.jcarousel_1 li {
    /* Required only for block elements like <li>'s */
    float: left;
    position: relative;
    padding-bottom: 2em;

}
.jcarousel_1 li p {
    display: block;
    max-width: 230px;
    min-width: 230px;
    height: auto !important;
}


/** Carousel Pagination **/

.jcarousel-pagination_1 {

}

/* puvodni kolecka

.jcarousel-pagination_1 a {
    text-decoration: none;
    display: inline-block;

    font-size: 11px;
    height: 10px;
    width: 10px;
    line-height: 10px;

    background: #fff;
    color: #da251c;
    border-radius: 10px;
    text-indent: -9999px;

    margin-right: 7px;


    -webkit-box-shadow: 0 0 2px #da251c;
    -moz-box-shadow: 0 0 2px #da251c;
    box-shadow: 0 0 2px #da251c;
}*/
.jcarousel-pagination_1 a { /*nove pro text nabidky*/
    text-decoration: none;
    font-size: 11px;
    line-height: 200%;
    background: #fff;
    color: #00387b;
    margin-right: 7px;
    margin-left: 7px;
    margin-bottom: 5px;
    -webkit-box-shadow: 0 0 2px #00387b;
    -moz-box-shadow: 0 0 2px #00387b;
    box-shadow: 0 0 2px #00387b;
    display: block;
}



.jcarousel-pagination_1 {text-align: center;}
.jcarousel-pagination_1 a.active {
    background: #00387b;
    color: #fff;
    opacity: 1;

    -webkit-box-shadow: 0 0 2px #F0EFE7;
    -moz-box-shadow: 0 0 2px #F0EFE7;
    box-shadow: 0 0 2px #F0EFE7;
}

.jcarousel-control-prev_1, .jcarousel-control-next_1 {
    position: absolute;
    /* top: 50%;*/
    bottom: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #00387b;
    color: #fff;
    text-decoration: none;
    font: 16px/20px Arial, sans-serif;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
a.jcarousel-control-prev_1, a.jcarousel-control-next_1 {color: white;}

.jcarousel-control-prev_1 {
    left: 0px;
}

.jcarousel-control-next_1 {
    right: 0px;
}


/*
This is the visible area of you carousel.
Set a width here to define how much items are visible.
The width can be either fixed in px or flexible in %.
Position must be relative!
*/
.jcarousel {
    position: relative;
    overflow: hidden;
    margin-left: 4em;
}

/*
This is the container of the carousel items.
You must ensure that the position is relative or absolute and
that the width is big enough to contain all items.
*/
.jcarousel ul {
    width: 20000em;
    position: relative;

    /* Optional, required in this case since it's a <ul> element */
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
These are the item elements. jCarousel works best, if the items
have a fixed width and height (but it's not required).
*/
.jcarousel li {
    /* Required only for block elements like <li>'s */
    float: left;

}

.jcarousel img {
    display: block;
    max-width: 100%;
    height: auto !important;
    border: 3px solid #a3a5a6;
}
.jcarousel p {width: 180px; text-align: center;}

/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
   /* top: 50%;*/
    top: 36%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #00387b;
    color: #fff;
    text-decoration: none;
   /* text-shadow: 0 0 1px #000;*/
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
  /*  -webkit-box-shadow: 0 0 4px #F0EFE7;
    -moz-box-shadow: 0 0 4px #F0EFE7;
    box-shadow: 0 0 4px #F0EFE7;*/
}
a.jcarousel-control-prev,
a.jcarousel-control-next {color: white;}

.jcarousel-control-prev {
    left: 15px;
}

.jcarousel-control-next {
    right: 15px;
}



/*
#strip {background-color: #509ea5; padding-top: 2.3em; padding-bottom: 2.3em;}
#strip h2 {font-size: 1.8em; color: white; line-height: 120%; margin-bottom: 0; text-transform: uppercase;}
#strip h2 strong {color: #040404;}
#strip p {color: white; font-size: 1.1em; margin-top: 0.5em; margin-bottom: 0.5em;}*/

/*
#services {padding-top: 5em; padding-bottom: 5em;}
#services ul {list-style-type: none; margin: 0; padding: 0;}
#services ul li {width:25%; float: left; display: block; text-align: center;}
#services ul li a{ display: inline-block; background-image: url("../images/pripojeni-internetu-telefon-televize.png");
    background-repeat: no-repeat; width: 66px; height: 66px; color: transparent;}
#services ul li a#internet {background-position: 0 0;}
#services ul li a#phone {background-position: -66px 0;}
#services ul li a#cell_phone {background-position: -132px 0; width: 46px;}
#services ul li a#tv {background-position: -178px 0;}
#services ul li a#internet:hover {background-position: 0px -66px;}
#services ul li a#phone:hover {background-position: -66px -66px;}
#services ul li a#cell_phone:hover {background-position: -132px -66px;}
#services ul li a#tv:hover {background-position: -178px -66px;}
#services h2 {color:#212020; font-size: 1.8em; font-weight: 400; text-transform: none; }

#introduction {background-color: #dbe795; width: 100%; margin: 0; padding-bottom: 5em; padding-top: 3.5em;}*/


.page {background-color: white; width: 100%; padding-top: 3em; padding-bottom: 5em;}
.page p {margin-top: 1em; margin-bottom: 1em; padding: 0; line-height: 150%;}
.page h2 {margin-top: 1em; margin-bottom: 1em;}
.page .left {width: 60%;}
.page .right {width: 40%;}
.page-text {}
.page .page-text p {font-size: 1.4em;}
.page .page-text a {text-decoration: none;}
.page-text ul {margin-top: 1em; margin-bottom: 1em;}
.page-text ul li {padding-left: 25px; line-height: 150%; font-size: 1.4em; background-image: url("../images/odrazka.png"); background-repeat: no-repeat; background-position: left top 4px;}



.page .products a.tt {font-size: 1em; color: #1f1f1f; text-decoration: none;}
.page .products a.tt h2 {margin-bottom: 0em; margin-top: 0em;}
.page .products a.tt:hover {text-decoration: underline;}
.products img{border: 3px solid #a3a5a6;}
.products .fancybox img {float: left; margin-right: 15px;}
.products .right {width: 15%; float: left; padding-top: 2.5em; padding-left: 1.5em; padding-bottom: 1.5em;}
.products .left {padding-bottom: 1.5em;}
.products ul {list-style-type: none;}
.products ul li {font-size: 100%; float: left; display: inline-block; width: 49%; background-image: none;padding-left: 0;}
.products ul li.prod:nth-child(2n+1){clear: both; padding-right: 0.5%;}
.products ul li.prod:nth-child(2n){padding-left: 0.5%;}
.products .product_img {float: left; height: 50px; width: 20%;}
.products .loga { margin: 0;}

ul.loga {list-style-type: none;}
ul.loga li {background-image: none; display: inline-block; float: left; width: 20%; margin:1%;padding:1%; border: 1px solid #a3a5a6; text-align: center; }
ul.loga li img {border: 0;}

.dodavatele ul {list-style-type: none;}
.dodavatele ul li {background-image: none; display: inline-block; float: left; width: 20%; margin:1%;padding:1%; border: 1px solid #a3a5a6; text-align: center; }
.dodavatele ul li h2 {font-size: 1.4em;}

.news_all ul {list-style-type: none;}
.news_all ul li {float: left; display: inline-block; width: 22%; padding:3em; margin-left: 3em; border: 10px solid #edefef; margin-top: 1.5em; min-height: 47em; }
.news_all ul li:nth-child(1n){}
.news_all ul li:nth-child(3n+1){clear: both; margin-left: 0;}
.news_all ul li:nth-child(3n){margin-right: 0;}
.news_all ul li:first-child{}
.news_all a h2 {color: #1f1f1f; font-size: 1.4em;  font-weight: 700; text-transform: uppercase;}
.news_all ul li a {text-decoration: none;}


.news {/*background-color: #e8d5a0; */padding: 3em; margin-left: 5em; border: 10px solid #edefef; margin-top: 1.5em;}
.news h2 {color: #da251c; font-family: 'Oswald', sans-serif; font-weight: 700; margin-top: 0; font-size: 1.8em; text-transform: uppercase; text-align: center; border-bottom: 1px solid;}
.news h3 {color: #1f1f1f; font-size: 1.4em; font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;}
.news p {color: #1f1f1f; font-size: 1.2em; }
.news img {margin-top: 1em;}

@media screen and (max-width: 600px) {
    .page .left, .page .right {float: none; width: 100%;}
    .page .right .news {max-width: 230px;}
}

@media screen and (max-width: 768px) {
    .hp .page .left, .hp .page .right {float: none; width: 100%;}
    .hp .page .right .news {max-width: 230px; margin: auto;}
}

@media screen and (max-width: 320px) {
    .news {margin-left: 0;}
    .jcarousel-pagination_1 {text-align: left;}
    .jcarousel-pagination_1 a{ padding-left: 5px; margin-left: 0;}
}

/*
.page a:link, .page a:visited {font-size: 1em;}
.page a:hover {}
.page .left a:link, .page .right a:link {font-size: 1em;}
.page ul {list-style-type: decimal; margin-left: 3%;}
.page ol {list-style-type: disc; margin-left: 4%;}
.page ul li {font-size: 1.4em; line-height: 150%; padding-left: 1%;}
.page ul li ol li {font-size: 1em; padding-left: 1%;}*/


.form1 {margin-top: 20px; margin-bottom: 20px;}
.form1 input:not([type=submit]){ font-size: 1.4em; line-height: 150%;  width: 100%; margin-bottom: 14px; padding-left: 5px; color:#828282;}
.form1 select {font-size: 1.4em; line-height: 150%; padding-left: 5px; margin-bottom: 14px; height: 28px; color:#828282; }
.form1 textarea {width: 100%; height: 200px; margin-bottom: 22px;}
.form1 label {font-size: 1.4em; line-height: 150%; padding-right: 10px;}
.form1 input[type=submit]{ color: white; display: block;
    text-decoration: none; background-color: #f14b3e; text-align: center;  line-height: 150%;
    padding-top: 0.5em; padding-bottom: 0.5em; margin: auto;  margin-top: 2.5em; text-transform: uppercase;
    cursor: pointer; border: 3px solid #f14b3e; padding-left: 2.5em; padding-right: 2.5em;
    -webkit-border-radius: 0.2em; -moz-border-radius: 0.2em; border-radius: 0.2em; font-size: 1.6em;}
.form1 input[type=submit]:hover {background: rgba(255,255,255,0.1); color: #f14b3e;}
.form1 input[type=checkbox]{width: auto;}



#contactform {text-align: center; background-color: #eeeeee; padding-bottom: 5em; padding-top: 3em;}
#contactform form {margin-top: 3em;}
#contactform form input:not([type=submit]){border: 0; background-color: transparent; border: 1px solid #b1ada1; padding: 1%;}
#contactform form input[type=text]{ height: 1em; font-size: 1.4em;  line-height: 100%; margin-bottom: 1em; color: black; width: 70% ;}
#contactform form input.cc{display: none;}
#contactform textarea {height: 5em; width: 70%; border: 1px solid #b1ada1; padding: 1%; font-size: 1.4em; font-family: 'Roboto', sans-serif;
    margin-bottom: 2em; background-color: transparent;}
#contactform input[type=submit] {color: white; text-decoration: none; background-color:#00387b; text-align:center; line-height: 250%;
    text-transform: uppercase; cursor: pointer; border: 0; padding-left: 1.5em; padding-right: 1.5em;}
#contactform input[type=submit]:hover {background: #6c8915;}
#contactform a:link, #contactform a:visited {text-decoration: none; color: white;}
#contactform a:hover {text-decoration: underline;}
#contactform h2 {margin: 0; line-height: 100%; text-transform: uppercase;}


#footer {width: 100%; background-color: #d0d1d5; padding-top: 5em; padding-bottom: 5em;  }
#footer ul li {display: block; float: left; width: 25%; line-height: 150%;}
#footer ul li ul li {display: block; float: none; width: 100%; }
#footer ul li header, #footer ul li header a {color: #222323; font-size: 1.2em; text-transform: uppercase;  padding-bottom: 1em;
    text-decoration: none; font-weight: 600;}
#footer ul li ul li a, #footer ul li ul li  {color: #575959; font-size: 1.1em; text-decoration: none;}
#footer ul li ul li a:hover {text-decoration: underline;}

#footer ul li.foo1 { width: 20%;}
#footer ul li.foo2 { width: 30%;}
#footer ul li.foo3 { width: 20%; padding-left: 5%;}
#footer ul li.foo4 { width: 19%; padding-left: 6%;}


@media screen and (max-width: 600px) {
    #footer ul li.foo1 { width: 100%;}
    #footer ul li.foo2 { width: 100%;}
    #footer ul li.foo3 { width: 100%; padding-left: 0;}
    #footer ul li.foo4 { width: 100%; padding-left: 0;}
    #footer ul li {text-align: center; margin-bottom: 2em;}
}




.webdesign {width: 100%; padding-top: 2.5em; padding-bottom: 2.5em; background-color: #00387b; text-align: center; }
.webdesign, .webdesign a {color: #e5e7e7; text-decoration: none; }
.webdesign p { margin: 0;font-size: 1.2em;}


.table_1{width: 100%;}
.table_1 tbody tr:hover {background: #ddd;}
.table_1{ border: none; border-collapse:collapse;}
.table_1 thead tr { border-bottom: 1px solid #c2c1c1; background: #c2c1c1; }
.table_1 thead th { border: 1px solid #999; padding: 10px; height: 25px; white-space: nowrap; line-height: 150%; }
.table_1{ border: none; border-collapse:collapse;}
.table_1 tbody tr { border-bottom: 1px solid #c2c1c1; cursor: pointer; }
.table_1 tbody td { border: 1px solid #c2c1c1; text-align:left; padding: 10px; vertical-align: middle; }
.table_1 tbody td.top {vertical-align: text-top;}
.table_1 tbody td p {margin: 0; padding: 0; font-size: 1.4em; line-height: 21px;}
.table_1 tbody td, .table_1 thead th {font-size: 1.4em; }
.table_1 tbody td a:link {font-size: 1em;}
.table_1 tbody td a.download:link {margin: 0; padding: 0; font-size: 0;}

/* =============== flashMessage =============== */
#flashmessage {color: black; background: #a09f43;}
div.flash { color: black; text-align: center; width: 100%; font-size: 1.4em; line-height: 150%; padding-top: 1em; padding-bottom: 1em;}

/* =============== KONEC flashMessage =============== */

@media print
{
  .noprint {display:none;}
}

/*===============navigace======================*/

ul.egmenu {
    position: relative;
    top: 1em;
    background: transparent;
    width: 100%;
    padding-left: 0;
}
@media screen and (max-width: 1024px) {
    ul.egmenu {
        background: transparent;
        width: 100%;
        padding-left: 0;

    }
}
@media screen and (min-width: 1025px) {
    ul.egmenu {

    }
}

ul.egmenu > li {
    float: left;
    position: relative;
    width: 10.28571428571429%;
    margin-left: 1%;
    margin-right: 1%;
    text-align: center;
   /*white-space: nowrap;*/
}
ul.egmenu > li:hover {}
ul.egmenu > li.menu1 {}
ul.egmenu > li.menu2 {}
ul.egmenu > li.menu6 {}


ul.egmenu ul {
    background: transparent;
    display: none;
    position: absolute;
    left: 0; top: 100%;
    width: 100%;
}
ul.egmenu .menu0 a { background-image: url("../images/home1.png");}
ul.egmenu .menu1 a { background-image: url("../images/nav_icon1.png");}
ul.egmenu .menu2 a { background-image: url("../images/nav_icon2.png");}
ul.egmenu .menu3 a { background-image: url("../images/nav_icon.png");}
ul.egmenu .menu4 a { background-image: url("../images/nav_icon7.png");}
ul.egmenu .menu5 a { background-image: url("../images/nav_icon4.png");}
ul.egmenu .menu6 a { background-image: url("../images/nav_icon5.png");}
ul.egmenu .menu7 a { background-image: url("../images/nav_icon6.png");}

ul.egmenu a {
    cursor: pointer;
    display: block;
    color:#262727;
    line-height: 30px;
   /* padding: 0 10px;*/
    text-decoration: none;
    font-size: 1.1em;
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-position: center 0;
    height: 51px;
    position: relative;
    /*width: 65px;*/

}

ul.egmenu a span {position: absolute; top: 51px; display: block; width: 100%; text-align: center;}

@media screen and (max-width: 800px) {
    ul.egmenu a {

        line-height: 15px;
        padding: 0 10px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

}
ul.egmenu a:hover {background-position: center -52px;}
ul.egmenu li#activetop a {background-position: center -52px;}
ul.egmenu li ul li a {border-top: none;}
ul.egmenu li { list-style: none; background-color: transparent; }
ul.egmenu li ul li {width: 100%;}


ul.egmenu li:hover {font-weight: bold;}
ul.egmenu li:hover ul { display: block;  }

@media all and (max-width: 480px) {
    ul.egmenu {  height: auto; }
    ul.egmenu > li {  float: none; width: 100%; }
    ul.egmenu a { line-height: 40px; }
    ul.egmenu ul { position: relative; }
}

@media all and (min-width: 481px) {
    ul.egmenu li:hover {font-weight: bold; }
    ul.egmenu li:hover ul { display: block;  }
}

@media all and (max-width: 480px) {
    ul.egmenu {  height: auto; }
    ul.egmenu > li {  float: none; width: 100%; }
    ul.egmenu a { line-height: 40px; }
    ul.egmenu ul { position: relative; }

    ul.egmenu li.tap { background: #E7E5E5;  }
    ul.egmenu li.tap ul { display: block;  }
}


/* =================== navigace newww =============*/




nav.menu {
    display: block;
    top: 1em;
    background: transparent;
    width: 100%;
    padding-left: 0;
}

nav.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: static; /*skryvani menu*/
    display: none;/*skryvani menu*/
}

nav.menu ul li {
    width: 100%;
}



nav.menu a {
    display: block;
    color: #262727;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 1.1em;
    line-height: 3em;
    padding: 0 15px;
    cursor: pointer;
    width: auto;

    text-transform: uppercase;
    position: relative;
}

nav.menu a {


}

nav.menu a span {position: relative; display: block; width: 100%; text-align: left;}

nav.menu a:hover {
   color: #da251c;
    background: rgba(0, 0, 0, 0.1);

}

nav.menu ul li#activetop a { color: #da251c;}


/*skryvani menu */
/*Display 'show menu' link*/
.show-menu {
    display:block;
    text-decoration: none;
    color: #fff;
    background: rgba(173, 172, 172, 0.9);
    text-align: left;
    font-size: 1.4em;
    font-family: sans-serif;
    line-height: 2em;
    padding: 0 15px;
    /*width: 40px;*/
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}
/*Pointer on Hover, so that the user knows of an active link*/
.show-menu:hover {
    cursor:pointer;
}
.show-menu {background-image: url("../images/menu-line.png"); background-repeat: no-repeat; background-position: left 10px center; padding-left: 40px;}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ nav.menu ul {
    display: block;
}
/*Center the text*/
li ul li a {
    text-align:center;
}



@media screen and (min-width: 601px) {
    nav.menu {
        background: transparent;
        position: relative;
    }

    nav.menu ul {display: block;}/*skryvani menu*/
    nav.menu ul li {
        width: auto;
        background: transparent;
        display: inline-block;
        height: 95px;
    }

    nav.menu .menu0 a { background-image: url("../images/home1.png");}
    nav.menu .menu1 a { background-image: url("../images/nav_icon1.png");}
    nav.menu .menu2 a { background-image: url("../images/nav_icon2.png");}
    nav.menu .menu3 a { background-image: url("../images/nav_icon.png");}
    nav.menu .menu4 a { background-image: url("../images/nav_icon7.png");}
    nav.menu .menu5 a { background-image: url("../images/nav_icon4.png");}
    nav.menu .menu6 a { background-image: url("../images/nav_icon5.png");}
    nav.menu .menu7 a { background-image: url("../images/nav_icon6.png");}

    nav.menu a {
        background-repeat: no-repeat;
        background-position: center 0;
        height: 51px;
        width: 120px;
        line-height: 30px;
        padding: 0;
    }


    nav.menu a span {position: absolute; top: 51px; display: block; width: 100%; text-align: center; padding-left: 0;}

    nav.menu a:hover {
        background-position: center -52px;
        background-repeat: no-repeat;
        background-color: transparent;
    }

    nav.menu ul li#activetop a { background-position: center -52px;}



    /* skryvani menu Style 'show menu' label button and hide it by default*/
    .show-menu {
        display: none;
    }

}
@media screen and (min-width: 601px) and  ( max-width: 1024px) {
    nav.menu a {width: 100px;}
}

.pagination { border:0; margin:0; padding:0;text-align:center; margin-top: 4em;}
.pagination li { border:0; display: inline-block;margin:0; padding:0;font-size:11px;list-style:none;margin-right:2px;}
.pagination li a { border:solid 1px #f14b3e; background-color:white; }
.pagination li.active a { background:#f14b3e;color:#FFFFFF;/*font-weight:bold;*/}
.pagination .previous-off,
.pagination .next-off, .pagination li.disabled a { border:solid 1px #DEDEDE;color:#888888; background-color:white;/*font-weight:bold*/;margin-right:2px;padding:3px 4px; }
.pagination li.disabled a {display:block;padding:3px 6px;text-decoration:none;}
.pagination .next a,
.pagination .previous a{ /*font-weight:bold;*/}
.pagination a:link,
.pagination a:visited { color:#f14b3e;display:block;padding:3px 6px;text-decoration:none;}
.pagination a:hover{ border:solid 1px #f14b3e;}

.page .pagination li {line-height: 100%; padding-left: 0;}


/* Trochu modernizace */

h1, h2, h3{
    letter-spacing: .3px;
}

h1{
    font-weight: 600;
}

h2{
    font-weight: 600;
    margin-bottom: .6em;
}

p{
    line-height: 1.6;
}

.navigace{
    background: #f1f1f1;
}

.navigace li a{
    font-size: 12px;
}

.navigace li a span{
    margin-top: 6px;
}
.navigace li a{
    border-width: 1px;
}

#da-slider{
    background-color: #f7f7f7;
}

#da-slider h2{
    letter-spacing: .4px;
}

a.button,
input[type=submit]{
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: .3px;
}
.division-split{
    max-width: 900px;
    margin: 0 auto;
}
.division-split__item{
    border-radius: 16px;
}

/* =========================
   AKČNÍ NABÍDKA – moderní karta
   ========================= */

.right .news{
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(0,0,0,.08);
    padding: 18px 18px 14px;
}

/* Nadpis karty */
.right .news h2{
    margin: 0 0 14px 0;
    padding: 0 0 12px 0;
    text-align: center;
    letter-spacing: .4px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Vnitřek carouselu – ať to není “nalepené” */
.right .news .jcarousel-wrapper_1{
    padding: 0 2px 26px; /* dole místo pro šipky */
}

/* Jeden slide (li) – vzdušnější */
.right .news .jcarousel_1 li{
    padding-bottom: 10px;
}

/* Texty uvnitř: zrušit pevný max/min, ať to působí moderně */
.right .news .jcarousel_1 li p{
    max-width: none;
    min-width: 0;
    margin: 10px 0 0;
    line-height: 1.55;
    color: #333;
}

/* Název aktuality */
.right .news .jcarousel_1 li h3{
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: .2px;
}

/* Obrázek – zaoblit, sjednotit */
.right .news .jcarousel_1 li img{
    border-radius: 12px;
    display: block;
    margin: 8px 0 10px;
    max-width: 100% !important; /* přebije inline max-width:40% */
    height: auto !important;
}

/* Odkaz "Číst dál" jako tlačítko (jemné, moderní) */
.right .news .jcarousel_1 li a{
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,.10);
    background: #f3f3f3;
    color: #00387b;
}

.right .news .jcarousel_1 li a:hover{
    background: #ededed;
}

/* Šipky – větší, měkčí, “floating” */
.right .news a.jcarousel-control-prev_1,
.right .news a.jcarousel-control-next_1{
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 18px;
    border-radius: 999px;

    background: #00387b;
    box-shadow: 0 10px 18px rgba(0,0,0,.18);
    opacity: .95;
    bottom: 8px;
}

.right .news a.jcarousel-control-prev_1:hover,
.right .news a.jcarousel-control-next_1:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(0,0,0,.22);
}

/* Pagination (pokud používáte textovou) – zjemnit hranatost */
.right .news .jcarousel-pagination_1 a{
    border-radius: 10px;
    border: 1px solid rgba(0,56,123,.25);
    box-shadow: none;
    background: #fff;
}

.right .news .jcarousel-pagination_1 a.active{
    background: #00387b;
    border-color: #00387b;
}

/* Akční nabídka – udělat dole prostor pro šipky */
.right .news .jcarousel_1 li{
    padding-bottom: 58px;   /* rezervovaný pruh pro šipky */
}

/* Ať CTA není u dna – bude vždy nad šipkami */
.right .news .jcarousel_1 li a{
    position: relative;
    z-index: 2;
}

/* Šipky: ukotvit úplně dolů do rezervy */
.right .news a.jcarousel-control-prev_1,
.right .news a.jcarousel-control-next_1{
    bottom: 14px;           /* sedí v rezervovaném pruhu */
    z-index: 1;             /* pod CTA */
}

/* Odsazení od stran – ať neleze pod tlačítko vlevo */
.right .news a.jcarousel-control-prev_1{ left: 12px; }
.right .news a.jcarousel-control-next_1{ right: 12px; }

.right .news .jcarousel_1 li p:last-of-type{
    margin-top: 12px;
}

.right .news .jcarousel_1 li p a{
    display: inline-block;
    margin-top: 6px;
}

/* Šipky – jemný čistý stín (nehranatý) */
.right .news a.jcarousel-control-prev_1,
.right .news a.jcarousel-control-next_1{
    box-shadow: 0 10px 18px rgba(0,0,0,.16) !important;
    filter: none !important;
}
.right .news .jcarousel-pagination_1 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 0;
}

.right .news .jcarousel-pagination_1 a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.2;
    background: #f4f6f8;
    color: #00387b;
    border-radius: 14px;
    border: 1px solid #d6dde6;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.2s ease;
}

.right .news .jcarousel-pagination_1 a.active {
    background: #00387b;
    color: #fff;
    border-color: #00387b;
}

.right .news .jcarousel-pagination_1 a.active {
    background: #e6eef8;
    color: #00387b;
    border-color: #00387b;
}
.right .news .jcarousel_1 li h3 {
    margin-top: 10px;
}

.hp .right .news { margin-top: 8em; }

.jcarousel-pagination_1 a {
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .page .content .left {
        margin-bottom: 2em;
    }
}

/* nabídka produktů */
#products .menu_products {
    background: transparent;
    border: 0;
    margin-bottom: 2em;
}

#products .menu_products ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 10px;
    margin: 0;
}

#products .menu_products ul li{
    width: auto;
    display: block;
    text-align: center;
}

#products .menu_products a{
    display: inline-block;
    line-height: 1.2;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dddfdf;
    font-size: 1.2em;   /* klidně 1.1em */
    color: #262727;
    text-decoration: none;
    transition: 0.2s;
}

#products .menu_products a:hover{
    color: #00387b;
    border-color: #00387b;
}

#products .jcarousel-wrapper{
    margin: 0 auto 3em;
    padding: 0 60px;   /* prostor pro šipky */
    max-width: 1000px; /* ať to není přetažené přes celou šířku */
}

#products .jcarousel{
    margin-left: 0;
}

#products .jcarousel li{
    padding: 10px 14px;
}

#products .jcarousel li a{
    display: block;
    background: #fff;
    border: 1px solid #e6e8ea;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

#products .jcarousel img{
    border: 0;
    border-radius: 10px;
    max-height: 120px;
    width: auto;
    margin: 0 auto;
}
#products .jcarousel p{
    width: auto;
    margin: 10px 0 0;
    text-align: center;
    color: #6b6d6e;
    font-size: 1.1em;
}

#products .jcarousel-control-prev,
#products .jcarousel-control-next{
    width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 22px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

#products .jcarousel-control-prev:hover,
#products .jcarousel-control-next:hover{
    filter: brightness(0.95);
}

@media screen and (max-width: 599px) {
    #products .jcarousel-wrapper{
        padding: 0 45px;
        margin: 0 auto 2em;
    }
}

/* menší vnitřní okraj karty */
#products .jcarousel li a{
    padding: 10px;            /* místo 14px */
}

/* obrázek ať je víc “na široko”, ale pořád bez deformace */
#products .jcarousel img{
    max-height: 120px;
    max-width: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}

/* menší padding karty */
#products .jcarousel li a{
    padding: 12px;
}

/* kontejner pro obrázek */
#products .jcarousel li a img{
    width: 220px;        /* doladíš podle oka */
    height: 120px;
    object-fit: cover;   /* vyplní, případně ořízne */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

a.button{
    color: #fff;
    text-decoration: none;
    background-color: #00387b;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;

    display: inline-block;
    padding: 0.85em 1.6em;
    line-height: 1.1;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: .03em;

    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

a.button:hover{
    filter: brightness(0.95);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

/* méně “bílé” kolem */
#products .jcarousel li a{
    padding: 10px;              /* bylo 12px */
}

/* přesně 3:2, když jsou všechny 300×200 */
#products .jcarousel li a img{
    width: 240px;               /* bylo 220px */
    height: 160px;              /* 3:2 */
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

#products .jcarousel li a{
    padding: 8px;
}

#products .jcarousel li a img{
    max-width: none;
    max-height: none;
}

#products .jcarousel li a{
    transition: transform .15s ease, box-shadow .15s ease;
}

#products .jcarousel li a:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,.12);
}

#products .jcarousel p{
    margin-top: 10px;
    color: #6b6d6e;
    font-size: 1.05em;
    line-height: 1.3;
}

#products .menu_products{
    margin-bottom: 1.5em;
}

/* FOOTER – finál */
#footer{
    width:100%;
    background:#e9eaed;
    padding:4em 0;
    border-top:1px solid rgba(0,0,0,.06);
}

#footer .content{
    padding-left:8%;
    padding-right:8%;
}

#footer ul{
    margin:0;
    padding:0;
    list-style:none;
}

#footer > .content > ul > li{
    float:left;
    box-sizing:border-box;
    padding:0 1.5%;
    line-height:170%;
}

/* šířky sloupců (vyvážené) */
#footer ul li.foo1{ width:22%; }
#footer ul li.foo2{ width:28%; }
#footer ul li.foo3{ width:22%; }
#footer ul li.foo4{ width:22%; }

/* vnitřní listy */
#footer ul li ul li{
    float:none;
    width:100%;
}

/* nadpisy */
#footer ul li header,
#footer ul li header a{
    color:#1f2021;
    font-size:1.05em;
    letter-spacing:.04em;
    text-transform:uppercase;
    font-weight:600;
    padding-bottom:.7em;
    text-decoration:none;
}

/* odkazy */
#footer ul li ul li,
#footer ul li ul li a{
    color:#5f6163;
    font-size:1.15em;
    text-decoration:none;
}

#footer ul li ul li a{
    display:inline-block;
    padding:.15em .35em;
    border-radius:6px;
    transition:background-color .15s ease, color .15s ease;
}

#footer ul li ul li a:hover{
    color:#00387b;
    background:rgba(0,56,123,.08);
}

/* mobil */
@media screen and (max-width:600px){
    #footer{ padding:3em 0; }
    #footer .content{ padding-left:6%; padding-right:6%; }
    #footer > .content > ul > li{
        width:100% !important;
        float:none;
        text-align:center;
        margin-bottom:2.2em;
        padding:0;
    }
}

/* spodní modrý pruh */
.webdesign{
    width:100%;
    background:#00387b;
    border-top:1px solid rgba(255,255,255,.12);
    padding:1.8em 0;
    text-align:center;
}

.webdesign, .webdesign a{ color:#e5e7e7; text-decoration:none; }
.webdesign p{ margin:0; font-size:1.05em; line-height:1.6; }

.webdesign a{
    text-decoration:underline;
    text-decoration-color:rgba(255,255,255,.35);
}
.webdesign a:hover{
    text-decoration-color:rgba(255,255,255,.7);
}

/* Footer: sjednocení odsazení + sloupce bez "ručních" posunů */
#footer .content{
    padding-left: 6%;
    padding-right: 6%;
}

/* zruš ruční posuny, které dělají divné mezery */
#footer ul li.foo3,
#footer ul li.foo4{
    padding-left: 0 !important;
}

/* jednotné vnitřní odsazení sloupců */
#footer ul li{
    box-sizing: border-box;
    padding: 0 1.5%;
}

/* nech původní šířky (nebo je sjednoť, ať to působí pravidelně) */
#footer ul li.foo1 { width: 22%; }
#footer ul li.foo2 { width: 28%; }
#footer ul li.foo3 { width: 22%; }
#footer ul li.foo4 { width: 22%; }

/* mobil beze změn (jen pojistka) */
@media screen and (max-width: 600px){
    #footer .content{ padding-left: 6%; padding-right: 6%; }
    #footer ul li{ padding: 0; }
}

/* FOOTER – zarovnání sloupců (override) */
#footer .content{
    padding-left: 8%;
    padding-right: 8%;
}

#footer ul li{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* odkazy: ať nezačnou "plavat" jako krabičky */
#footer ul li ul li a{
    display: inline !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* hover necháme jen jako podtržení / barvu (čisté zarovnání) */
#footer ul li ul li a:hover{
    color:#00387b;
    text-decoration: underline;
}

#footer ul li ul li a{
    display: inline-block;
    padding: 0 .25em;      /* jen malinko do stran */
    margin-left: -.25em;   /* vyruší vizuální posun doleva/napravo */
    border-radius: 6px;
}

/* footer – jemné doladění čitelnosti */
#footer ul li ul li,
#footer ul li ul li a{
    font-size: 1.08em;     /* klidně 1.05–1.12 podle oka */
    line-height: 1.75;
}

/* aby nadpis + seznam nebyly tak "nalepené" */
#footer ul li header{
    margin-bottom: .35em;
}

/* ať odkazy nejsou tak „šedé“ proti pozadí */
#footer ul li ul li a{
    color: #4f5153;
}

/* FOOTER – čisté a stejné sloupce */
#footer .content{
    padding-left: 8%;
    padding-right: 8%;
}

#footer ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer ul > li{
    float: left;
    box-sizing: border-box;
    padding: 0 2%;          /* stejné boční odsazení všude */
    line-height: 170%;
}

/* stejné šířky, ať se to chová konzistentně */
#footer ul > li.foo1{ width: 22%; }
#footer ul > li.foo2{ width: 28%; }
#footer ul > li.foo3{ width: 22%; }
#footer ul > li.foo4{ width: 22%; }

/* zrušíme původní “ruční” posouvání */
#footer ul li.foo3,
#footer ul li.foo4{
    padding-left: 2%;
}

/* MOBIL – sloupce pod sebe */
@media screen and (max-width: 600px){
    #footer ul > li{
        float: none;
        width: 100% !important;
        padding: 0;
        text-align: center;
        margin-bottom: 2.2em;
    }
    #footer .content{
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* Slider button – modernější styl, ale jen pro slider */
.da-slide .da-link{
    display: inline-block;
    background: #00387b;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;

    padding: .75em 1.6em;
    line-height: 1;
    width: auto;                 /* zruší pevnou šířku */
    border-radius: 999px;        /* pill */
    font-weight: 600;
    letter-spacing: .04em;

    box-shadow: 0 10px 22px rgba(0,0,0,.10);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.da-slide .da-link:hover{
    background: #285993;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,.14);
}

/* horní nenápadná lišta jen pro utility odkazy */
.topbar{
    background: #f3f4f6;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 12px;
    line-height: 1.2;
}

.topbar .content{
    padding-top: 6px;
    padding-bottom: 6px;
    display: flex;
    justify-content: flex-end;
}

.topbar #open_preferences_center{
    color: #7a7d80;
    text-decoration: none;
    opacity: .9;
}

.topbar #open_preferences_center:hover{
    color: #00387b;
    text-decoration: underline;
    text-decoration-color: rgba(0,56,123,.35);
}

/* mobil – ať je to pořád čitelné */
@media (max-width: 600px){
    .topbar .content{
        justify-content: center;
    }
}

.topbar .content{ padding-top: 4px; padding-bottom: 4px; }
.topbar #open_preferences_center{ font-size: 11px; opacity: .75; }

.topbar{
    background: #1f1f1f;            /* dej stejnou jako tvoje boční pozadí */
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 12px;
}

.topbar .content{
    padding: 6px 0;
    display: flex;
    justify-content: flex-end;
}

.topbar #open_preferences_center{
    color: rgba(255,255,255,.65);
    text-decoration: none;
}

.topbar #open_preferences_center:hover{
    color: rgba(255,255,255,.9);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
}

/* cookies top link - topbar */
#open_preferences_center{
    display: block;
    width: 100%;
    text-align: right;

    background: #222;              /* stejná jako boční pozadí */
    color: rgba(255,255,255,.65);  /* nenápadné */
    font-size: 12px;
    line-height: 28px;
    height: 28px;

    padding: 0 12px;
    text-decoration: none;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

#open_preferences_center:hover{
    color: rgba(255,255,255,.95);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
}

#open_preferences_center span{
    display:block;
    max-width: 1200px;     /* dej stejnou hodnotu jako používáš pro web */
    margin: 0 auto;
    padding: 0 12.5%;      /* pokud takhle řešíš .content */
    text-align: right;
}

/* AKČNÍ NABÍDKA – modernější grid + karty */
.news_all ul{
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5em;
}

@media (max-width: 1100px){
    .news_all ul{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px){
    .news_all ul{ grid-template-columns: 1fr; }
}

/* karta */
.news_all ul li{
    float: none;              /* vypnout staré floaty */
    width: auto;
    margin: 0;
    padding: 2.2em;

    background: #fff;
    border: 1px solid #edefef;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.1em;
}

/* nadpis */
.news_all a h2{
    margin: 0;
    color: #1f1f1f;
    font-size: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.news_all ul li a{ text-decoration: none; }

/* obrázek jako “card media” */
.news_all ul li > a img{
    width: 100%;
    height: auto;
    display: block;

    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.06);

    /* pokud chceš jednotné ořezy: */
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* text – ať to není obří stěna */
.news_all ul li p{
    margin: 0;
    line-height: 1.65;
    color: #555;
}

/* poslední odstavec s “Číst dál” posuneme dolů */
.news_all ul li p:last-of-type{
    margin-top: auto;
}

/* link “Číst dál” jako button */
.news_all ul li p:last-of-type a{
    display: inline-block;
    padding: .75em 1.3em;
    background: #00387b;
    color: #fff;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .95em;
    letter-spacing: .03em;
}
.news_all ul li p:last-of-type a:hover{
    background: #285993;
}

/* zkrácení textu na cca 5 řádků */
.news_all ul li p:first-of-type{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news_all ul li p:last-of-type a{
    padding: .5em .95em;
    font-size: .85em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: .85em;
    background: transparent;
    color: #00387b;
    border: 1px solid rgba(0,56,123,.35);
    border-radius: 999px;
}

.news_all ul li p:last-of-type a:hover{
    background: rgba(0,56,123,.08);
    border-color: rgba(0,56,123,.55);
}

.news_all ul li p:last-of-type{
    margin-top: 1.2em;
}

/* DETAIL aktuality – layout obrázek + text */
.page-text.products{
    overflow: hidden; /* pojistka proti floatům a přetékání */
}

.page-text.products .fancybox{
    float: left;
    width: 360px;         /* můžeš upravit (320–420) */
    max-width: 45%;
    margin: 0 24px 16px 0;
    text-decoration: none;
}

/* DETAIL aktuality – obrázek: hranatý rám + moderní stín */
.page-text.products .fancybox img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;

    border: 1px solid rgba(0,0,0,.18);   /* jemnější než původní 3px */
    border-radius: 3px;                  /* stále hranaté, jen “neřeže” */
    background:#fff;

    box-shadow: 0 10px 24px rgba(0,0,0,.10); /* moderní měkký stín */
    box-sizing:border-box;
}

/* hover (není nutné, ale hezké) */
.page-text.products .fancybox:hover img{
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}




/* text vedle obrázku a pod ním */
.page-text.products p,
.page-text.products div,
.page-text.products ul{
    overflow: visible;
}

/* mobil */
@media (max-width: 800px){
    .page-text.products .fancybox{
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px 0;
    }
}

.page-text.products h1{
    margin-bottom: 0.8em;
}

.page-text.products p{
    line-height: 1.7;
}










/* ============ DIVISION SPLIT (HP) - Soft UI (CLEAN) ============ */

.division-split-wrap{
    margin: 10px 0 0;
    padding: 14px 0;
    background: #f2f3f5;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.division-split{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* karta */
.division-split__item{
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 18px;
    min-height: 64px;

    border-radius: 18px;
    background: #f2f3f5;
    text-decoration: none;

    /* jemný červený ring pro obě (ladí s navigací) */
    border: 1px solid rgba(229,57,53,.28);

    /* neumorphism */
    box-shadow:
            10px 10px 20px rgba(0,0,0,.10),
            -10px -10px 20px rgba(255,255,255,.85);

    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

/* hover */
.division-split__item:hover{
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow:
            14px 14px 26px rgba(0,0,0,.12),
            -14px -14px 26px rgba(255,255,255,.88),
            0 0 0 3px rgba(229,57,53,.12); /* červený glow */
}

.division-split__item:active{
    transform: translateY(0);
    box-shadow:
            inset 6px 6px 14px rgba(0,0,0,.12),
            inset -6px -6px 14px rgba(255,255,255,.85);
}

/* Fokus */
.division-split__item:focus-visible{
    outline: 3px solid rgba(229,57,53,.22);
    outline-offset: 3px;
}

/* icon bubble */
.division-split__icon{
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 12px;
    background: #f2f3f5;

    border: 1px solid rgba(229,57,53,.22);

    box-shadow:
            inset 2px 2px 6px rgba(0,0,0,.06),
            inset -2px -2px 6px rgba(255,255,255,.9);

    position: relative;
}

/* samotný piktogram jako maska */
.division-split__icon::before{
    content:"";
    position:absolute;
    inset:7px;
    background:#e53935; /* výchozí červená */
    -webkit-mask-repeat:no-repeat;
    -webkit-mask-position:center;
    -webkit-mask-size:contain;
    mask-repeat:no-repeat;
    mask-position:center;
    mask-size:contain;
}

/* ložisko */
.division-split__icon--lozisko::before{
    -webkit-mask-image: url("../images/icon-lozisko2.png");
    mask-image: url("../images/icon-lozisko2.png");
}

/* bagr */
.division-split__icon--bagr::before{
    -webkit-mask-image: url("../images/icon-bagr2.png");
    mask-image: url("../images/icon-bagr2.png");
}

.division-split__text{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.division-split__title{
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: 15px;
    color: #1f1f1f;
}

.division-split__desc{
    font-size: 13px;
    color: rgba(0,0,0,.62);
}

/* tečky v popisku */
.division-split__dot{
    display:inline-block;
    width:7px; height:7px;
    border-radius:999px;
    margin-right:8px;
    vertical-align:middle;
}
.division-split__dot--red{ background:#e53935; }
.division-split__dot--blue{ background:#2f61ff; }

/* Mobil */
@media (max-width: 720px){
    .division-split{ grid-template-columns: 1fr; }
    .division-split__item{ min-height: 62px; }
}

.division-split__title{
    font-size: 16px;   /* místo 15px */
}

.division-split__item:hover .division-split__title{
    color:#e53935;
}

/* jemný nájezd rozdělovníku po loadu */
@keyframes divSplitIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.division-split-wrap{
    animation: divSplitIn .35s ease-out both;
}
