/* obecne*/
.uppercase {
    text-transform: uppercase;
}
.width-100 {
    width: 100%;
}
.height-auto {
    height: auto;
}
.anchortag {
    position: relative;
    top: -70px;
}
.size-23 {
    font-size: 23px;
}

/* zarovnani bootstrap cols */
.row.same-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.row.same-height > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.row.same-height .read-more:after {
    position: relative;
    bottom: 2px;
}

/* scroll to top */
#scrollToTop {
    position: fixed;
    width: 45px;
    height: 45px;
    background: #162f42;
    border: solid 1px #b1b1b1;
    bottom: 5%;
    right: 10%;
    cursor: pointer;
    color: white;
    line-height: 42px;
    text-align: center;
    font-size: 30px;
    z-index: 9999999;
}

/* galerie */
.gallery a {
    display: block;
    position: relative;
    overflow:hidden;
}
.gallery a img {
    position: absolute;
    top: -100%; 
    left: -100%; 
    right: -100%; 
    bottom: -100%;
    margin: auto;
    width: 100%;
}
.gallery.gallery-100 a {
    height:100px;
}
.gallery.gallery-120 a {
    height:120px;
}
.gallery.gallery-150 a {
    height:150px;
}
.gallery.gallery-170 a {
    height:170px;
}
.gallery.gallery-200 a {
    height:200px;
}

/* top-bar */
.top {
    font-weight: bold;
    color: #797979;
}
.top, .top-navigation > li > a {
    color: #797979;
}
.top-navigation > li > a:hover, 
.top-navigation > li > a:focus {
    color: #3a3a3a;
}
.top-navigation > li.lang a {
    padding-left: 3px;
    padding-right: 3px;
    color: #4ab9cf;
}
.lang-menu {
    margin-left: 17px;
}

/* header logo */
.header .header__logo a {
    position: relative;
    overflow: visible;
    z-index: 10;
    display: block;
    width: max-content;
    display: inline-block;
}
.footer .footer-logo-wrap span,
.header .header__logo a span {
    display: inline-block;
    font-size: 15px;
    vertical-align: bottom;
    margin-bottom: 25px;
    margin-left: 2px;
    color: #444444;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.05em;
}
.footer .footer-logo-wrap span {
    color: white;
    margin-bottom: 34px;
}
.header__widgets {
    margin-bottom: 20px;
}
@media (min-width: 550px) {
    .footer .footer-logo-wrap span,
    .header .header__logo a span {
        font-size: 25px;
        margin-left: 12px;
    }
}
@media (min-width: 992px) {
    .footer::before {
        width: 59px;
        height: 60px;
        top: -20px;
        -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
        right: calc(50% - 570px - 82px);
    }
    .header__widgets {
        margin-bottom: 1px;
    }
    .footer-top::before {
        width: 74px;
        height: 72px;
        bottom: -15px;
        -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
        transform: rotate(60deg);
        left: calc(50% - 470px - 187px);
    }
    .header .header__logo a span {
        margin-bottom: 15px;
    }
}
@media (min-width: 1200px) {
    .header__logo::after {
        height: 62px;
        width: 62px;
        -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
        transform: rotate(60deg);
        bottom: 11px;
        right: -41px;
    }
    .header_container::before, .header_container::after {
        width: calc(50% - 569px);
        /*bottom: 59px;*/
    }
    .header_container::before {
        /*bottom: 29px;*/
    }
}

/* produktove menu */
.main-navigation {
    padding-left: 25px;
}
.main-navigation > li:hover > a::after, .main-navigation > li:focus > a::after, .main-navigation > li[aria-expanded="true"] > a::after,
.main-navigation > .current-menu-item > a::after{ 
    background-color: #3385b4;
}
.main-navigation > li.navbar-search:hover > a::after {
    width: calc(100% - 16px);
    left: 8px; 
}
.main-navigation > li.navbar-search i {
    padding-left: 8px;
    padding-right: 5px;
}
.navbar-search .navbar-search-wrap {
    position: relative;
    left: -100px;
}
.navbar-search .navbar-search-panel {
    position: absolute;
    width: 250px;
    z-index: 10;
    display: none;
    background: white;
}
.navbar-search .navbar-search-panel .search-field {
    padding: 8px 10px;
    margin: 4px 0 4px 2px;
    width: calc(100% - 55px);                            
}
.navbar-search .navbar-search-panel .search-submit {
    width: 47px;
    height: 40px;
    background: #4ab9cf;
    outline: none;
    border: none;
    color: white;                            
}
.navbar-search .navbar-search-panel .search-submit:hover {
    filter: brightness(90%);
}
@media (min-width: 1200px) {
    .header__navigation {
        width: 100%;
        margin-left: 185px;
    }
    .header__logo {
        width: 173px;
    }   
    .header__widgets {
        width: calc(100% - 173px);
    }
    .main-navigation > li > a::before {
        display: none;
    }
    .main-navigation > li > a {
        padding: 18px 20px;
    }    
    .main-navigation .menu-item-has-children > a {
        /*padding: 18px 35px 18px 12px;*/
        padding: 18px 27px 18px 18px;
    }
    .main-navigation .menu-item-has-children:hover > a {
        /*padding: 8px 30px 18px 6px;*/
        padding: 8px 23px 18px 12px
    }
    .main-navigation .menu-item-has-children::after {
        right: 13px;
    }
}
@media (min-width: 992px) { 
    .header__navigation {
        width: 100%;
    }
    .main-navigation > .current-menu-item > a::after{
        width: calc(100% - 25px);
        left: 10px;
    }
    .main-navigation > li:hover > a::after, .main-navigation > li:focus > a::after, .main-navigation > li[aria-expanded="true"] > a::after {
        width: calc(100% - 25px);
        left: 10px;
    }
}

/* barva textu */
body,
.header .icon-box__title,
.widget_pw_icon_box .icon-box__subtitle,
.main-navigation .sub-menu > li > a {
    color: #444444;
}

/* search page */
.search-page-form .search-field {
    width: -webkit-calc(100% - 80px);
    width: -moz-calc(100% - 80px);
    width: calc(100% - 80px);
}
.search-page-form .search-submit {
    height: 59px;
    width: 59px;
    background: #4ab9cf;
    border: none;
    outline: none;
    color: white;
}
.search-page-form .search-submit:hover {
    filter: brightness(90%)
}

/* homepage vyhledavani */
.homepage-search {
    background-image: url(../images/blured.jpg);
    padding: 20px 0;
    /*margin-bottom: 20px; */
}
.homepage-search form {
    text-align: center;
} 
.homepage-search label { 
    font-size: 22px;
    color: white;
    display: inline-block;
    margin-right: 20px;
}
.homepage-search input[type='text']{
    margin-bottom: 0;
    display: inline-block;
    max-width: 600px;
    padding: 10px 20px;
}
.homepage-search button[type='submit']{
    background: white;
    border: none;
    outline: none;
    color: #1f425d;
    padding: 11px 23px;                
}
.homepage-search button[type='submit']:hover {
    background: #dedede;
}

/* homepage slideshow */
@media (min-width: 992px) { 
    .jumbotron-content {
        width: 700px;
    }
}

/* homepage - boxy */
.our-services {
    background: url(/images/laborator_bg_resize.jpg);
    padding-top: 20px;
}
.our-services .widget-title.lined > span {
    background: transparent;
}
.jumbotron-overlap a > img {
    width: 100%;
}
.row .widget_pw_icon_box,
.row .widget_pw_icon_box .icon-box {
    height: 100%;
    background-color: white;
}

/* homepage - novinky */
.widget_tag_cloud a.selected {
    background-color: #4ab9cf;
    color: white;
}
.news > .container > .row {
    background-color: white;
}
.widget_pw_latest_news {
    height: 100%;
}
.latest-news__date {
    background-color: #3485b2;
}
.latest-news__date::after {
    border-color: #3485b2 transparent transparent transparent;
}

/* homepage - core values */
.values {
    //background-image: none;
}

/* homepage - testimonials */
.testimonials {
    min-height: 400px;
}

/* homepage - counters */
.number-counter__icon {
    color: #4ab9cf;
}

/* novinky pagination */
.pagination .last {
    margin-left: 20px;
}
.pagination .first {
    margin-right: 20px;
}

/* novinky - prave menu */
.widget_recent_entries ul {
    list-style-type: none;
    padding-left: 0;
    padding-right: 0;
}
.widget_recent_entries ul span.news-date {
    font-style: italic;
    float: left;
    display: block;
    margin-right: 7px;
}
/* subpage - left menu */
.margin-left-30 {
    margin-left: 30px;
}
.widget_categories ul li {
    color: #aaaaaa;
}
.sub-menu[role='menu'] li.current-menu-item {
    font-weight: bold;
}

/* subpage - right menu */
.right-menu-overlay {
    display: inline-block;
    position: relative;
}
.right-menu-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(91, 214, 253, 0.2);
    z-index: 10;
}
.right-menu-overlay img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* stranka - switch menu */
.switch-row {
    background-color: #f5f5f5;
    font-size: 0;
    padding-left: 0px;
    margin-left: 15px;
}
.switch-row .btn {
    font-size: 14px;
    text-transform: uppercase;
}
.switch-row .btn:active {
    box-shadow: none;
}
.btn.btn-switch {
    background-color: #f5f5f5;
    border-right: solid 3px;
    border-color: white;
    color: #aaaaaa;
    margin: 0;
}
.btn.btn-switch:hover {
    color: #444444;
    text-decoration: none;
}
.btn.btn-switch.active {
    background-color: #4ab9cf;
    color: #ffffff;
    text-shadow: 0 1px rgba(0, 0, 0, 0.16);
}

/* stranka - ke stazeni  */
.download table {
    min-width: 600px;
}
.download table td {
    border: 1px solid #e0e0e0;
    padding: 8px 26px;
}
.download table td.size {
    font-weight: bold;
    background-color: #f5f5f5;
    width: 135px;
}

/* stranka - videa */
.youtube-wrap {
    margin-bottom: 20px;
}
.youtube-wrap .youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.youtube-wrap strong {
    display: table-cell;
    width: 100%;
    height: 50px;
    vertical-align: bottom;
}
.youtube-wrap .youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* custom button */
.btn.btn-custom:hover {
    filter: brightness(90%);
}

/* tabulka */
.cargopress-table thead td,
.cargopress-table tbody th{
    background-color: #4ab9cf;
    padding: 15px 20px;
    border-radius: 2px;
    color: #ffffff;
    border-right: 2px solid transparent;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    background-clip: padding-box;
}
.cargopress-table thead th:first-of-type {
    background-color: #4ab9cf;
}
.cargopress-table tbody td:first-of-type {
    box-shadow: 0 0 0 1px #eeeeee inset;
    background-color: #ffffff;
}
.cargopress-table ul li {
    margin-bottom: 5px;
}
@media (max-width: 993px) {     
    .cargopress-table tbody td,
    .cargopress-table tbody th,
    .cargopress-table thead td,
    .cargopress-table thead th {
        padding: 10px;
    }
    .cargopress-table ul {
        list-style-type: none;
        padding-left: 0;
    }
    .cargopress-table ul li:before {
        content: '- ';
        font-weight: bold;
    }
}

.page-kariera .cargopress-table td {
    width: 50%;
}

/* subpage responzivni obrazek */
/* vychozi .img-responsive ve style.css */
@media (max-width: 993px) { 
    .img-responsive {
        float: none!important;
        margin: 10px 0 10px 0!important;
    }
    .img-responsive-wrap {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}

/* kontakty */
.kontakt-blok {
    padding: 0 10px 35px 10px;
}
.kontakt-blok p {
   margin: 0 0 2px
}
.kontakt-blok h4 {
    color: #bbbbbb;
}

/* ke stazeni */
.download-page .file {
    min-height: 70px;
}
.download-page .fa-file {
    font-size: 50px;
    float: left;
    margin: 3px 12px 3px 3px;
    color:#1f425d
}
.download-page .file-link {
    margin-top: 8px;
    display: inline-block;
}

/* sticky menu */
@media (min-width: 992px) {
    .is-sticky-nav .header__navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 50;
        background-color: #1f425d;
        box-shadow: 0 0 10px rgba(0,0,0,.33);
        display: block;
        margin-top: 0;
        margin-left: 0;
    }
}