/*fonts*/
@font-face{
    font-family: GillSans;
    src: url("./fonts/GillSans.ttf");
}
@font-face{
    font-family: GillSans-Light;
    src: url("./fonts/GillSans-Light.ttf");
}
@font-face{
    font-family: GillSans-Bold;
    src: url("./fonts/GillSans-Bold.ttf");
}
@font-face{
    font-family: GillSans-UltraBold;
    src: url("./fonts/GillSans-UltraBold.ttf");
}
/*General styles*/
html, body {
    height: 100%;
}
body{
    font-family: GillSans;
}
#front-wrapper{
    margin-top: 50px;  
}
/*Header styles*/
header {
    height: 230px;       
    position: relative;
    margin-bottom: -51px;
    z-index: 100;
    border-bottom: 1px solid #f58539;
}
header .header-content{
    position: absolute;
    top: 0px;
    bottom: 51px;
    left: 0px;
    right: 0px;
}
header a.site-brand{
    display: block;
    margin-top: -16px;
}
header a.site-brand img{
    height: 140px;
    width: auto;
    margin: auto;
}
header .contact-block {
    font-size: 20px;
    line-height: 48px;
    height: 100%;
    padding-left: 64px;
    margin-top: -24px;
}
.contact-phone a {
    text-decoration: none;
    color: black;
    font-weight: bolder;
    font-size: 30px;
    font-family: GillSans-Bold;
    white-space: nowrap;
}
.contact-mail {
    margin-top: -16px;
}
.contact-mail a {
    color: black;
}
.header-right {
    margin: 0px 36px;
    margin-bottom: 36px;
    color: gray;
    font-size: 16px;
    overflow: hidden;
}
.header-social {
    position: absolute;
    right: 0px;
    top: 36px;
    bottom: 40px;
    width: 28px;
}
.header-social a {
    font-size: 18px;
    display: block;
    width: 24px;
    height: 24px;
    background-color: #f58539;
    color: white;
    margin: 4px;
    text-align: center;
    line-height: 24px;
}
header .right-side, header .left-side{
    height: 100%;
    position: relative;
    padding: 36px;
}
header .left-side:before{
    content:"";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    border-left: 1px solid #EB8540;
}

/*Navbar styles*/
nav#front-nav{
    position: absolute;
    bottom: 0px;
    left: 0px;
    rigth : 0px;
    border: none;
    background-color: transparent; 
    width: 100%;
}
#front-nav.navbar{
    margin: 0px;
    border: none;    
}
#front-nav ul{
    float: none!important;
    margin: 0px -15px;
}
#front-nav ul li{
    /*width: 20%;*/
    text-align: center;
    font-size: 20px;

}
#front-nav ul.bordered li{
    border-right: 2px groove rgba(200,200,200,0.5);
}
#front-nav ul li a{    
    color: white;
    white-space: nowrap;
}
#front-nav ul li:hover a{
    background-color: black;
}
#navbar {
    border: none;
    padding: 0px;
}
/*Slider*/
.carousel{
    position: relative;
}
.carousel, .item, .active {
    height: 100%;

}
.carousel-inner {
    height: 100%;
    /*height: calc(100% - 280px);*/
}
.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.carousel-indicators{
    /*bottom: 10%;*/
}
.carousel-text{
    position: absolute;
    top: 20%;
    max-width: 45%;
    left: 15%;    
    background-color: rgba(0,0,0,0.4);
    color: #ddd;
    padding: 32px 64px;
    font-size: 18px;
    overflow: hidden;    
}
.carousel-control{
    width: 10%;
}
/*black line under the carousel*/
ul.black-line{
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    background-color: black;
    color: white;
    text-transform: uppercase;  
    text-align: center;
    border-bottom: 2px solid black;    
    margin-bottom: 16px;
    overflow: hidden;
    font-size: 12px;
}
ul.black-line li{
    display: inline-block;
    margin-left: 6px;
    margin-right: 12px;
    position: relative;    
}
ul.black-line li:before{
    content: '\f0de';
    font-family: fontawesome;
    position: absolute;
    left: -15px;
    top: 2px;
}
ul.black-line li:first-of-type:before{
    content: '';
}
/*footer*/
footer{
    position: relative;
    background-color: #e0e0e0;    
    color: #777;
    text-align: center;   
    font-family: GillSans-Light;
    padding-bottom: 8px;    
}
footer a {
    color: #777;
}
footer a:hover{
    color: black;
    text-decoration: none;
}
/*image line*/
div.image-line{
    height: 430px;
    position: relative;
    margin-top: -50px;
    z-index: 80;
    margin-bottom: 16px;
}
div.image-line-entry{    
    width: 20%;
    display: inline-block;
    height: 100%;
    margin: 0px;
    box-sizing: border-box;
}
div.image-line-text{
    z-index: 200;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    line-height: 430px;
    text-align: center;
    font-family: GillSans-Bold;
    font-size: 120px;
    letter-spacing: 24px;
    color: rgba(255,255,255,0.7);    
}
div.image-line-entry .color-layer{
    position: absolute;
    z-index: 90;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
div.image-line-entry .image-layer{
    position: absolute;
    z-index: 50;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-position: center;    
    background-repeat: no-repeat;
}
/*Section text*/
div.section-text{
    padding-top: 6%;
    padding-left: 12%;
    padding-bottom: 12%;
    font-size: 18px;
}
/*map*/
.map-holder{
    height: 100%;
    min-height: 100%;
    min-width: 100%;
}
/*Others*/
.border {
    border: 1px solid red!important; 
}
nav#front-nav .col-xs-15,nav#front-nav .col-sm-15,nav#front-nav .col-md-15,nav#front-nav .col-lg-15 {
    padding-right: 0px;
    padding-left: 0px;
}
.col-xs-15,.col-sm-15,.col-md-15,.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }

}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }

}
@media (max-width: 1200px) {
    #front-nav ul li{
        font-size: 16px;
    }
    .carousel-text{
        position: absolute;
        top: 120px;
        bottom: initial;
        left: 15%;        
        max-width: 45%;
        right: initial;        
        padding: 32px;
        font-size: 18px;
        line-height: 20px;
    }    
    div.image-line{
        height: 350px;        
    }
    div.section-text {
        padding-top: 32px;        
    }
    div.image-line-text{
        font-size: 60px;
    }

}
@media (max-width: 992px) {
    #front-nav ul li{
        font-size: 14px;
    }
    .carousel-text{
        position: absolute;
        top: 128px;
        bottom: initial;
        left: 15%;
        max-width: 70%;
        right: initial;        
        padding: 32px;
        font-size: 14px;
        line-height: 16px;
    }
    div.section-text {
        padding-bottom: 0px;
    }

}

@media (max-width: 768px) {

    header a.site-brand{
        width: auto;
        min-width: 1px;
        display: inline-block;
    }
    header a.site-brand img {
        height: 100px;
        width: auto;
        margin: initial;
    }
    header .contact-block {
        font-size: 14px;
        position: absolute;
        height: initial;
        bottom: 0px;
        padding: 0px;
        margin: 0px;      
    }
    header .contact-block .contact-phone{
        position: absolute;
        left: 0px;
        bottom: 0px;
    }
    header .contact-block .contact-mail{
        display: none;
    }    
    header{
        border-bottom: none;
    }
    .navbar-header button{
        position: absolute;
        right: 2px;
        top: -51px;
        margin: 0px;        
    }

    #front-nav ul {     
        margin: 0px 0px;
        position: absolute;
    }
    .contact-header{
        display: none;
    }
    .carousel-text{
        position: absolute;
        top: 32px;
        bottom: initial;
        left: 15%;
        max-width: 70%;
        right: initial;        
        padding: 16px;
        font-size: 12px;
        line-height: 14px;
    }
    div.image-line{
        height: 150px;        
    }
    div.section-text {
        margin: 0px;
        padding-top: 0px;        
    }
    div.image-line-text{

        font-size: 30px;
        line-height: 150px;
        letter-spacing: normal;
    }
    div.image-line-entry .image-layer{
        background-size: cover;
    }
}

#gallery_container{
    position: absolute;
    height: 32px;
    bottom: -32px;
    left: 0px;
    right: 0px;
    z-index: 100;
    text-align: center;
}
#gallery_container #btn_show{
    padding: 4px 32px;
    border: 1px solid black;
    background-color: black;
    color: white;    
}
.modal-cover {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 2000;
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
}
.modal-gallery{   
    z-index: 2100;
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 80%;        
}
.modal-gallery .img_holder{
    margin: 32px;
}
.modal-gallery .left, .modal-gallery .right{
    background-color: white;
    position: absolute;
    top: 32px;
    bottom: 32px;
    width: 32px;
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-gallery .left:hover, .modal-gallery .right:hover{
    background-color: #eee;
}
.modal-gallery .left:before,.modal-gallery .right:before{    
    font-family: fontawesome;    
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.modal-gallery .left:before{
    content: '\f0d9';
}
.modal-gallery .right:before{
    content: '\f0da';
}
.modal-gallery .left{
    left: 0px;    
}
.modal-gallery .right{
    right: 0px;
}
.modal-gallery .btn-close{
    color: black;
    position: absolute;
    bottom: 8px;
    right: 32px;
    font-size: 16px;
    cursor: pointer;
}
.modal-gallery .text-field{
    position: absolute;
    bottom: 8px;
    left: 32px;
    font-size: 16px;
}