body {
    -webkit-animation-duration: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0.1s;
}

@-webkit-keyframes fontfix {
    from { opacity: 1; }
    to { opacity: 1; }
}

/*************************/
/***   FONTS        
/*************************/

@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow/Barlow-Medium.otf'); 
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}  
@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow/Barlow-Bold.otf'); 
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}  
@font-face {
    font-family: 'Barlow';
    src: url('fonts/Barlow/Barlow-Light.otf'); 
    font-style: normal;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}  




/*************************/
/***   GLOBAL  
/*************************/

html{
    width:100%;
    height: 100%;
    font-family: 'Barlow', Helvetica, sans-serif !important;
}

body {
    font-size: 15px;      
    line-height: 1.6;
    color: #1d1d1b;
    font-family: 'Barlow', Helvetica, sans-serif !important;
    margin: 0;
    width:100%;
    height: 100%;
}
body::-webkit-scrollbar {
    width: 1em;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #E8E8E8;
}

body::-webkit-scrollbar-thumb {
    background-color: #008188;
    outline: none;
}

.vertical-align {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

h1 {
    font-weight: 300;
    margin: 0.4em 0;
    margin-bottom: 0;
}

h1 span{
    padding: 0 12.5%;
}

a{
    text-decoration: none;
    color: #202020;
}

a:hover{
    color: #005C7A;
}

img{
    max-width: 100%;
    height: auto;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: normal;
    margin-right: 5px;
}

button, input, optgroup, select, textarea{
    margin-bottom: 5px;
}

#ajax-spinner {
    margin: 15px 0 0 15px;
    padding: 13px;
    background: white url('../images/spinner.gif') no-repeat 50% 50%;
    font-size: 0;
    z-index: 123456;
    display: none;
}

div.flash {
    color: black;
    background: #FFF9D7;
    border: 1px solid #E2C822;
    padding: 1em;
    margin: 1em 0;
}
div.flash.success{
    background: #b3e6b3;
    border: 1px solid #339933;
}
div.flash.danger{
    background: #ffb3b3;
    border: 1px solid #b30000;
}

div.error {
    background: white;
    border: 1px solid #e62e00;
}

.green-bottom{
    border-bottom: 10px solid #008E90;
}
.yellow-bottom{
    border-bottom: 10px solid #f3dd8d;
}

/*************************/
/***   LOGIN
/*************************/

.login-wrap{
    height: 100vh;
}
.login{
    display: inline-block;
    padding: 1rem 2rem;
    max-width: 500px;
    border: 1px solid #008e90;
}
.login img{
    margin-bottom: 1rem;
}

/*************************/
/***   BUTTONS
/*************************/
.btn-group .btn{
    margin-bottom: 0;
}
.btn-primary, .btn-secondary{
    border-radius: 0;
    border: none;
    padding: .375rem 2.25rem;
    padding-bottom: .1rem;
    position: relative; 
    min-width: 8rem;
}
.btn-primary:after, .btn-secondary:after{
    content: "";
    height: 3px;  
    width: 100%;
    position: absolute;
    bottom: -7px;
    left: 0;
    display: block;
    transition: all .15s ease-in-out;
}
.btn-primary:hover, .btn-secondary:hover{
    background: #cdcdcd;
    color: #008e90;
}
.btn-primary:hover:after, .btn-secondary:hover:after{
    background: #cdcdcd;
}

.btn-primary{
    background: #008e90;
    color: white;
}
.btn-primary:after{
    background: #008e90;
}
.btn-secondary{
    background: #f3dd8d;
    color: #015959;
}
.btn-secondary:after{
    background: #f3dd8d;
}

/*************************/
/***   COOKIES
/*************************/
#cookies_souhlas{
    background: #008188;
    padding: 1.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    text-align: center;
    display: none;
}
#cookies_souhlas p{
    color: white;
    margin: 0;
}
#cookie_souhlas_button{
    background: white;
    color: #008188;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
#cookie_souhlas_button:hover{
    background: #f3dd8d;
}

/*************************/
/***   ADMIN
/*************************/
.main-header .navbar{
    padding: .5rem 1rem;
}
.skin-blue .main-header .logo{
    background: #367fa9 url(../img/logo_white_small.png) no-repeat center center;
    background-size: 85%;
}
.skin-blue.sidebar-collapse .main-header .logo{
    background: #367fa9 url(../img/logo_thumb_white_small.png) no-repeat center center;
    background-size: 55%;
}
.wysiwyg{
    position: relative;
}
.table>tbody>tr>td{
    vertical-align: middle;
}
.table>tbody>tr>td img{
    max-height: 5rem;
    max-width: 12rem;
}
.form-group img{
    display: block;
    max-height: 8rem;
    max-width: 16rem;
}
button.logout{
    background: transparent;
    margin: 0;
    color: white;
    padding: 0.15rem 0.5rem;
}
button.logout i{
    margin-right: 5px;
}
.toggler{
    color: white !important;
}
.bar-inner{
    background: #00a65a;
}
#other_images{
    margin: 1rem 0;
}
.other_image{
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 16rem;    
    height: 10rem;
    background: white;
    margin-right: 1rem;
    margin-bottom: 1rem;
}
.other_image img{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
}
.other_image .fa-times, .img-wrapper .fa-times{
    color: red;
    cursor: pointer;
    font-size: 125%;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 5;
}
.delete-video{
    color: red;
    cursor: pointer; 
    font-size: 125%;
}
.content-wrapper h1{
    margin-bottom: 0.5rem;
}
.box{
    padding: 0.5rem 1rem;
}
.note-editing-area{
    min-height: 8rem;
}
th.hidden, td.hidden{
    display: none;
}
.img-wrapper{
    position: relative;
}

/*************************/
/***   HEADER  
/*************************/
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.navbar{
    background: white;
    padding: 1.5rem 2rem;
    -webkit-transition: all .4s; 
    transition: all .2s;
}
.navbar-small{
    padding: 0.5rem 2rem;
}
.navbar-brand img{
    max-height: 40px;
    -webkit-transition: all .4s; 
    transition: all .2s;
}
.navbar-small .navbar-brand img{
    max-height: 30px;
}
.nav-item{
    margin-left: 0.5rem;
}
.nav-item .nav-link{
    font-weight: 300;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    font-size: 1.4rem;
}
.nav-item.active .nav-link, .nav-item .nav-link:hover{
    color: #008188;
    border-bottom: 2px solid #f3dd8d;
}
.navbar-toggler{
    color: #008188;
    box-shadow: none;
    outline: none !important;
    border: 1px solid #008188;
}
.navbar-toggler-icon{
    font-size: 150%;
    height: auto;
    width: auto;
}

/*************************/
/***   SLIDE  
/*************************/
#intro{
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}
#intro .caption{
    position: absolute;
    bottom: 0;
    z-index: 10;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
}
#intro .caption figcaption{
    color: white;
    padding: 1rem;
    background: rgba(0,0,0,0.6);
    font-size: 1.4rem;
}
#slides{
    margin: 0;
}
.slick-slide{
    position: relative;
    text-align: center;
}
.slick-slide img{
    margin: 0 auto;
}
.slick-prev, .slick-next{
    cursor: pointer;
    color: white;
    position: absolute;
    z-index: 20;
    font-size: 2rem;
    top: calc(50% - 21px);
    display: inline-block;
    width: 30px;
    height: 30px;    
    border-bottom: 2px solid white;
}
.slick-prev{
    left: 3rem;
    border-left: 2px solid white;
    transform:rotate(45deg);
}
.slick-next{
    right: 3rem;
    border-right: 2px solid white;
    transform:rotate(-45deg);
}
.slick-prev:before, .slick-next:before{
    content: '';
}

/*************************/
/***   FOOTER  
/*************************/

footer{
    background: #4a4a49;
    padding: 0 2rem;
    padding-top: 5rem;
    padding-bottom: 3rem;
}
footer li{
    list-style: none;
    color: white;
}
.bottom-menu{
    padding: 0;
}
.bottom-menu li{
    margin-bottom: 2rem;
}
.bottom-menu li a{
    color: white;
    font-size: 21px;
}
.bottom-menu ul{
    padding: 0;
}
.bottom-menu.category li{
    margin: 0;
}
.bottom-menu.category > li > ul{
    margin: 1rem 0;
}
.bottom-menu.category ul ul{
    margin-bottom: 1rem;
    margin-left: 1rem;
}
.bottom-menu.category ul ul li{
    font-weight: 300;
}
.bottom-menu.category ul ul li a{
    font-size: 18px;
}
footer .kontakt{
    text-align: right;
}
footer .kontakt p, footer .kontakt p a{
    color: white;
    font-size: 21px;
    font-weight: 300;
}

/*************************/
/***   INDEX  
/*************************/
#main_banners{
    padding: 2rem 0;
}
#main_banners .ban{
    position: relative;
    text-align: center;
    display: inline-block;
}
#main_banners .ban .h2{
    font-size: 24px;
    font-weight: 300;
}
.absolute-link{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
}
.zoomable{
    transform: scale(0.9);
    transition: transform .2s; /* Animation */
}
#main_banners .ban:hover .zoomable, .zoomable:hover{
    transform: scale(1.0);
}
#main_banners .ban:hover .h2{
    text-decoration: underline;
    color: #008188;
}
.triangles{
    position: relative;
    overflow: hidden;
}
.triangle-line{
    position: relative;
    overflow: hidden;
}
.triangles .container{
    overflow: hidden;
}
.triangles .row{
    overflow: hidden;
    padding: 2rem 0;
}
.triangles .image-with-triangle{
    position: absolute;
    left: 50%;
    width: 50%;
    top: 0;
    bottom: 0;
}
.triangles .image-with-triangle img{
    display: none;
}
.triangles .image-with-triangle-wrap{
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center center;
}
.triangles .image-with-triangle-wrap:after{
    position: absolute;
    top: 0;    
    width: 95%;
    height: 70%;    
    z-index: 5;
    content: '';
}
.triangle-line:nth-of-type(odd){
    background: #008188;
}
.triangle-line:nth-of-type(even){
    background: #f3dd8d;
}
.triangle-line:nth-of-type(odd) .image-with-triangle-wrap:after{
    left: 0;
    background: linear-gradient(to bottom right, #008188 0%, #008188 50%, transparent 50%, transparent 100%);
}
.triangle-line:nth-of-type(even) .image-with-triangle-wrap:after{
    right: 0;
    background: linear-gradient(to bottom left, #f3dd8d 0%, #f3dd8d 50%, transparent 50%, transparent 100%);
}
.triangle-line:nth-of-type(even) .row{
    flex-direction: row-reverse;
}
.triangle-line:nth-of-type(even) .image-with-triangle{
    left: 0;
}
.triangle-line:nth-of-type(even) h2{
    text-align: right;
    color: #1d1d1b;
}
.triangle-line:nth-of-type(odd) h2{
    text-align: left;
    color: white;
}
.triangle-line:nth-of-type(even) p{
    color: #1d1d1b;
}
.triangle-line h2{    
    margin-bottom: 3rem;
}
.triangle-line p{
    font-weight: normal;
    color: white;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 20px;
    text-indent: 50px;
}
.triangle-line .buttons{
    text-align: center;
}
.triangle-line .col-md-5{
    min-height: 20rem;
}
.triangle-line .triangle-text{

}

#logos{
    padding: 6rem 0;
}
/*************************/
/***   breadcrumb  
/*************************/
.breadcrumb{
    padding: 0;
    font-weight: 300;
    background: none;
}
.breadcrumb * {
    font-weight: 300;    
}
.breadcrumb .fa-home{
    font-weight: 900;
}
.breadcrumb .arrow{
    display: inline-block;
    padding: 0 0.5rem;
}

/*************************/
/***   Sub banners  
/*************************/
#subbanners{
    padding: 3rem 0;
}
.sub-ban{
    display: inline-block;
    vertical-align: top;
    max-width: 200px;
}
.sub-ban .sub-ban-img{
    height: 200px;
    text-align: center;
}
.sub-ban .h2{
    font-weight: 300;
    font-size: 1.7rem;
    display: table-cell;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}
.sub-ban .sub-ban-title{
    height: 5.4rem;
    overflow: hidden;
    display: table;
    width: 100%;
}
.sub-ban:hover .sub-ban-title{
    background: #f3dd8d;
}

/*************************/
/***   MAIN  
/*************************/
main{
    padding: 3rem 0;
}
main h1{
    margin-bottom: 3rem;
}
main p, main li, main p span{
    font-size: 20px !important;
    font-weight: 300 !important;
    font-family: 'Barlow' !important;
}
main p{
    text-indent: 50px;
}
main .gdpr p{
    text-indent: 0;
}
main.default{
    background: white url('../img/default-bg.jpg') repeat-y right top;
    background-size: 40vw auto;
}
main.default strong{
    font-weight: bold;
}
main.default small{
    font-size: 17px;
}
main .kontakty p{
    text-indent: 0;
}
.img-force-left{
    margin: 2rem 0;
    margin-left: calc(-50vw  + 1120px / 2);
    max-width: 60vw;
}
/*************************/
/***   FORM  
/*************************/
#form{
    background: #008188;
    padding-top: 2rem;
    border-bottom: 7rem solid white;
}
#form .h1{
    color: white;
    font-weight: 300;
    margin-bottom: 2rem;
}
#form form{
    padding: 1.5rem;
    padding-bottom: 1rem;
    background: #f3dd8d;
    margin-bottom: -4rem;
}
#form .form-control{
    border: none;
    border-radius: 0;
    color: #9f9f9f;
    font-weight: 300;
}
#form textarea{
    min-height: 8rem;
}
#form .btn-success{
    border-radius: 0;
    color: white;
    background: #008188;
    padding: 0.2rem 4rem;
}
#form .btn-success:hover{
    background: #cdcdcd;
    color: #008e90;

}
#form input[type="checkbox"]{
    width: auto;
    height: auto;
    display: inline-block;
}
#form label{
    color: #494948;
    font-weight: 300;
}
#form label a{
    text-decoration: underline;
    color: #494948;
}
#form label a:hover{
    text-decoration: none;
}
#form .checkbox{
    display: inline-block;
    position: relative;
    margin: 0;
}
#form .checkbox input{
    box-shadow: none;
}
#form .checkbox label{
    cursor: pointer;
    margin-right: 1rem;
}
#form .checker {
    display: block;
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #F2DC8E;
    background: white;
    transition: all .5s ease;
    cursor: pointer;
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 1;
}
#form .checker:after {
    opacity: 0;
    content: '';
    position: absolute;
    width: 12px;
    height: 5px;
    background: transparent;
    top: 6px;
    left: 4px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}
#form input[type=checkbox]:checked + .checker:after {
    opacity: 1;
}
#form .checkbox:hover .checker::after {
    opacity: 0.5;
}

/*************************/
/***   PRODUCT VIEW  
/*************************/
#products{
    padding: 3rem 0;
}
#products .row{
    padding-top: 1rem;
    padding-bottom: 3rem;
}
#products .product-text{
    padding: 1rem 0;
}
#products .product-text p{
    text-align: justify;
    font-size: 20px;
    font-family: 'Barlow';
    text-indent: 50px;
}
#products .product-text h2{
    margin-bottom: 3rem;
}
.main-image img{
    max-height: 400px;
}
.img-wrap{
    max-width: 200px;
    margin: 0 auto;
}
iframe{
    max-width: 100%;
}

/*************************/
/***   RESPONSIVE  
/*************************/
@media screen and (max-width: 800px){
    header{
        position: relative;
        top: auto;
        left: auto;
    }
}
@media screen and (max-width: 768px){
    .triangles .image-with-triangle{
        position: relative;
        left: auto;
        width: 100%;
        top: auto;
        bottom: auto;
    }
    .triangles .image-with-triangle img{
        position: relative;
        top: auto;
        bottom: auto;
        display: block;
    }
    .triangle-line .col-md-6{
        min-height: 0;
    }
    .triangles .image-with-triangle-wrap:after{
        position: relative;
    }
    #intro .caption{
        display: none;
    }
    footer .kontakt, .bottom-menu{
        text-align: center !important;
    }
    .bottom-menu.category ul ul{
        margin-left: 0;
    }
}

@media (max-width: 1200px){
    .img-force-left{
        margin-left: calc(-50vw + 940px / 2);
        max-width: 55vw;
    }
}
@media (max-width: 992px){
    .img-force-left{
        margin-left: calc(-50vw + 700px / 2);
    }
}
@media (max-width: 768px){
    .img-force-left{
        margin-left: calc(-50vw + 525px / 2);
    }
}
@media (max-width: 576px){
    .img-force-left{
        display: none;
    }
}