/** font **/
@font-face {font-family: "RalewayRegular";src: url("fonts/RalewayRegular/RalewayRegular.eot");src: url("fonts/RalewayRegular/RalewayRegular.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayRegular/RalewayRegular.woff") format("woff"), url("fonts/RalewayRegular/RalewayRegular.ttf") format("truetype"); font-style: normal; font-weight: normal }
@font-face {font-family: "RalewayThin";src: url("fonts/RalewayThin/RalewayThin.eot");src: url("fonts/RalewayThin/RalewayThin.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayThin/RalewayThin.woff") format("woff"), url("fonts/RalewayThin/RalewayThin.ttf") format("truetype");font-style: normal;font-weight: normal}
@font-face {font-family: "RalewayExtraLight";src: url("fonts/RalewayExtraLight/RalewayExtraLight.eot");src: url("fonts/RalewayExtraLight/RalewayExtraLight.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayExtraLight/RalewayExtraLight.woff") format("woff"), url("fonts/RalewayExtraLight/RalewayExtraLight.ttf") format("truetype");font-style: normal; font-weight: normal}
@font-face {font-family: "RalewayLight";src: url("fonts/RalewayLight/RalewayLight.eot");src: url("fonts/RalewayLight/RalewayLight.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayLight/RalewayLight.woff") format("woff"), url("fonts/RalewayLight/RalewayLight.ttf") format("truetype");font-style: normal;font-weight: normal}
@font-face {font-family: "RalewayMedium";src: url("fonts/RalewayMedium/RalewayMedium.eot");src: url("fonts/RalewayMedium/RalewayMedium.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayMedium/RalewayMedium.woff") format("woff"), url("fonts/RalewayMedium/RalewayMedium.ttf") format("truetype");font-style: normal;font-weight: normal}
@font-face {font-family: "RalewaySemiBold";src: url("fonts/RalewaySemiBold/RalewaySemiBold.eot");src: url("fonts/RalewaySemiBold/RalewaySemiBold.eot?#iefix") format("embedded-opentype"), url("fonts/RalewaySemiBold/RalewaySemiBold.woff") format("woff"), url("fonts/RalewaySemiBold/RalewaySemiBold.ttf") format("truetype");font-style: normal;font-weight: normal}
@font-face {font-family: "RalewayBold";src: url("fonts/RalewayBold/RalewayBold.eot");src: url("fonts/RalewayBold/RalewayBold.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayBold/RalewayBold.woff") format("woff"), url("fonts/RalewayBold/RalewayBold.ttf") format("truetype");font-style: normal;font-weight: normal}
@font-face {font-family: "RalewayExtraBold";src: url("fonts/RalewayExtraBold/RalewayExtraBold.eot");src: url("fonts/RalewayExtraBold/RalewayExtraBold.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayExtraBold/RalewayExtraBold.woff") format("woff"), url("fonts/RalewayExtraBold/RalewayExtraBold.ttf") format("truetype");font-style: normal;font-weight: normal}
@font-face {font-family: "RalewayBlack";src: url("fonts/RalewayBlack/RalewayBlack.eot");src: url("fonts/RalewayBlack/RalewayBlack.eot?#iefix") format("embedded-opentype"), url("fonts/RalewayBlack/RalewayBlack.woff") format("woff"), url("fonts/RalewayBlack/RalewayBlack.ttf") format("truetype");font-style: normal;font-weight: normal}

/** Scrollbar **/
::-webkit-scrollbar { width: 14px; background: #446d81 }
::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); border-radius: 10px }
::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); background: #254a5e }

/** Common **/
body { -webkit-box-sizing: border-box; box-sizing: border-box; font-family: 'RalewayRegular'; font-size: 18px; color: #000; margin: 0 }
h1, h2, h3 { margin: 0; text-transform: uppercase; font-family: "RalewayExtraBold"; }
h1 em, h2 em, h3 em, h4 em, h5 em { font-style: normal;}
a { color: #63b7ff; text-decoration: none; }
a:hover { color: #77ecf0; text-decoration: none; }

/** theme button **/
.btn-theme {
    color: #fff;
    background-color: #edb053;
    border-radius: 0;
}
.btn-theme:focus {
    outline: none;
    box-shadow: none;
}

/** single content **/
.container-bordered { border: 20px solid #daf1ee; padding: 0 20px; position: relative; }
.container-bordered h1, .container-bordered h2, .container-bordered h3, .container-bordered h4 { 
    margin: 0 -20px;
    text-align: center; font-size: 24px; padding: 30px 0 40px; margin-bottom: 16px;  background: #daf1ee;
}

.container { max-width: 1200px;margin: 0 auto}
.page-title { text-align: center; font-size: 24px; padding: 0 0 40px;}
.shadow-box { background-color: #fff; box-shadow: 0 0 15px 0 rgb(0 0 0 / 7%); padding: 30px 15px;}

/** Header **/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-image: url(../img/header.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 16px 0 16px;
    min-height: 112px;
    transition: all .5s;
}
.header+div,
.header+section,
.header+main,
.header+h1,
.header+.footer { margin-top: 132px; }
.header .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.header.shadow {top: -90px;}
.header.shadow #navbarContent {border-color: transparent;}

/** Main Menu **/
#main_menu {
    display: flex;flex-wrap: wrap;flex-grow: 1;align-content: center;justify-content: space-around;
    text-transform: uppercase;font-family: "RalewayMedium"; }
#main_menu li { margin-left: 0; padding-left: 0;}
#main_menu > li { display: flex; align-items: center; position: relative; height: 70px;}
#main_menu > li > ul { position: absolute; top: 70px; left: -15px;background: #fff;border: 1px solid #d6d6d6; border-radius: 10px; padding: 12px 1rem; min-width: 326px; margin-top: 0; opacity: 0; pointer-events: none; transition: all .5s; }
#main_menu li ul a { font-size: 18px; line-height: 26px; text-decoration: none; color: #000; display: inline-block; border-bottom: 2px solid transparent;}
#main_menu ul li { padding-top: 0; color: #000;}
#main_menu ul ul li::before {display: inline;content: ' - ';}
#main_menu .toggle {display: none;}
#main_menu > li > a .toggle { display: inline-block; transition: color .5s; position: relative; padding-left: 10px; margin-right: -24px;}
#main_menu > li ul a:hover { border-color: #d4a54d; }
#main_menu li>a { color: #fff;font-size: 20px;text-decoration: none;border-bottom: 2px solid #fff; white-space: nowrap;transition: border .5s;}
#main_menu>li>a:hover,
#main_menu>li.active > a { border-color: #d4a54d;}

/** Navbar Toggler **/
.navbar-toggler { position: relative; line-height: 60px; height: 60px; cursor: pointer; color: #000; background: transparent; border: none; padding: 0; }
.navbar-toggler:hover span, .navbar-toggler:hover span:before, .navbar-toggler:hover span::after { background: #d4a54d; }
.navbar-toggler:hover span:before { top:-15px; }
.navbar-toggler:hover span::after { top: 15px; }
.navbar-toggler span { position: relative; display: block; }
.navbar-toggler span:after,
.navbar-toggler span:before { content: ""; position: absolute; left: 0; top: -20px; transition: .3s all ease; }
.navbar-toggler span:after { top: 20px }
.navbar-toggler span,
.navbar-toggler span:after,
.navbar-toggler span:before { width: 60px; height: 3px; background: #fff; backface-visibility: hidden; border-radius: 2px; }
.navbar-toggler[aria-expanded="true"] span {  background: transparent; }
.navbar-toggler[aria-expanded="true"] span:after,
.navbar-toggler[aria-expanded="true"] span:before { top: 0;}
.navbar-toggler[aria-expanded="true"] span:before { transform-origin: center; transform: rotate(-45deg) }
.navbar-toggler[aria-expanded="true"] span:after { transform-origin: center; transform: rotate(45deg) }
.navbar-toggler:focus { outline: 0 }

/** Header Address */
.top_address { display: flex; flex-direction: column; justify-content: center; color: #d4a54d; font-size: 16px; font-weight: 400; line-height: 22px; width: 270px; height: 80px; margin-left: 4rem; flex-grow: 1; }
.top_address>* { padding: 0 0 0 2rem; height: 80px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-around; text-align: right; white-space: nowrap; -webkit-transition: all .5s; transition: all .5s; }
.top_address .phone { background-image: url(../img/telephone.png); background-repeat: no-repeat; background-position: left center; background-size: 22px; }
.top_address a { text-decoration: none; color:#d4a54d; border: none;}
.top_address .map .icon {background-repeat: no-repeat; background-position: left center; background-size: 16px; padding-left:24px; }
.top_address .map .icon-viber {background-image: url(/images/viber.png); }
.top_address .map .icon-mail {background-image: url(/images/envelope.svg); }

/** Header Logo **/
.logo { border: 0 !important; display: flex; flex-direction: column; align-items: center; position: absolute; top: 0; width: 186px; height: 80px; left: -200px; }
.logo img { width: 100%; max-height: 20px; }

/** Siblings Menu **/
.menu-siblings { border-bottom: 3px solid #d4a54d; }
.menu-siblings a { border-radius: 0; padding: 12px 12px 6px; text-transform: uppercase; color: #000; font-size: 14px; font-family: 'RalewayBold'; border-bottom: 1px solid #e5c27e !important; background-color: rgba(225,202,158,0.6); }
.menu-siblings a:hover, .menu-siblings a.active { background-color: #e5c27e; }
.menu-siblings a.active { pointer-events: none;}

/** Bottom Menu **/
.bottom_menu { margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; line-height: 22px; font-family: "RalewayBold"; text-transform: uppercase }
.bottom_menu__item { padding-left: 26px; padding-bottom: 20px; position: relative; }
.bottom_menu__item::before {
    content: '';
    -webkit-transition: color .5s;
    transition: color .5s;
    display: block;
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url(../img/bottom_menu.png);
    background-position: center center;
    background-repeat: no-repeat
}
.bottom_menu__item__link { color: #fff; border-color: #fff; }
.bottom_menu__item__link:hover { color: #fff; border-color: #d4a54d }
.bottom_menu__item .active { color: #fff; border-color: #d4a54d; pointer-events: none; cursor: default }
.bottom_menu .title { color: #c59d5f }
.bottom_menu .title::before { background-color: #94774a; border-radius: 50%; background-image: url(../img/bottom_menu_title.png) }

/** Footer **/
.footer { padding: 82px 0;background-image: url(../img/footer.jpg);background-size: cover;background-position: center center;background-repeat: no-repeat;color: #fff}
.footer h3 {padding-bottom: 22px}
.footer .container { display: flex; flex-wrap: wrap}
.footer_info {
    font-size: 14px;
    padding-left: 0;
    background-repeat: no-repeat;
    background-position: 0 50%;
    margin-bottom: 20px;
    line-height: 18px
}
.footer_info>div { display: flex;align-items: center;margin-bottom: 20px;}
.footer_info .fa { margin-right: 1rem;}

/** Scroll Button **/
.scroll_top {
    cursor: pointer;
    position: relative;
    max-width: 120px;
    margin: 40px auto 0;
    text-transform: uppercase;
    -webkit-transition: all .5s;
    transition: all .5s;
    color: #c59d5f
}
.scroll_top::before {
    content: '';
    -webkit-transition: color .5s;
    transition: color .5s;
    display: block;
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;
    background-image: url(../img/arrow_top.png);
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    background-color: #94774a;
    transition: all .5s
}
.scroll_top:hover { color: #edb053}
.scroll_top:hover::before { background-color: #edb053}
.scroll_top:active { color: #fed390}
.scroll_top:active::before {background-color: #edb053}

.card-theme {
    border-radius: 0;
    border: none;
    overflow: hidden;
}
.card-theme .card-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
    border: none;
    transition: all .5s;    
}
.card-theme .card-header {
    position: relative;
    background: none;
    background-color: #50819a;
    color: #fff;
    text-align: center;
    border-radius: 0;
    border-bottom: 6px solid transparent;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.card-theme .card-body {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    align-items: flex-end;
    min-height: 400px;
    z-index: 0;
    transition: all .5s;
    background-color: #50819a;
}
.card-theme .card-body:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(8,28,38,0.68);    
    transition: background-color .5s;
    z-index: 2;   
}
.card-theme .card-body > img {
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -100%;
    margin: auto;
    z-index: 1;
}
.card-body .card-text {color: #fff; opacity: 1;   transition: all .5s; z-index: 3;}
.card-theme:hover .card-header {background-color: #1f3c4c;border-color: #d4a54d;}
.card-theme:hover .card-body::before {display: none;}
.card-theme:hover .card-body { transform: scale(1.1)}
.card-theme:hover .card-text { transform: scale(1.1); opacity: 0;}


@media (min-width:1849.98px) {    
    .header .container {
        flex-wrap: nowrap;
        overflow: visible;
    }
    .header+div,
    .header+section,
    .header+main,
    .header+h1,
    .header+.footer {
        margin-top: 112px;
    }
    #navbarContent {
        min-width: 1170px;
    }    
    #main_menu {
        max-width: 1200px;
    }
    .top_address {
        order: 3;
    }
    .logo { left: -250px; }
}
@media (max-width:1850px) {
    .header { background-image: url(../img/header2.jpg); }
    .header+div,
    .header+section,
    .header+main,
    .header+h1,
    .header+.footer { margin-top:184px; }
    .header .logo,
    .header .top_address { position: static; }
    #navbarContent { border-top: 2px solid #d4a54d; width: 100%; }
    .top_address {
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        flex: 1 0 66%;
        max-width: 66%;
        justify-content:  space-between;
    }

    .top_address > * {
        padding-left: 50px;
        background-size: auto !important;      
    }
    .top_address .map {
        transition: all .5s
    }
}
@media (min-width: 992px) { 
    #main_menu > li:hover > ul {
        opacity: 1;
        pointer-events: auto;
    }
    #main_menu > li:hover > ul li {
       line-height: 2;
    }    
}
@media (max-width: 991.98px) { 
    .header { min-height: 112px; padding: 16px 0; }
    .header+div,
    .header+section,
    .header+main,
    .header+h1,
    .header+.footer { margin-top: 112px;}
    .top_address { flex-direction: column;flex: 0 0 auto; margin-left: 1rem; }
    .logo {margin-right: 0;}

    #navbarContent { position: fixed; display: block !important;left: -400px; top: 112px; margin: 0; padding: 0; border: none; height: 100%; max-width: 400px; background-image: url(../img/mobile-menu.png); background-repeat: no-repeat; background-size: cover; background-position: center center; overflow-x: hidden; overflow-y: auto; transition: left .5s; }
    #navbarContent.collapsing { position: fixed; height: 100%; overflow: hidden; transition: height 0s, left .5s; }
    #navbarContent.show { left: 0; }

    #main_menu { padding: 15px; display: block; }
    #main_menu li { color: #fff; padding: 0; }
    #main_menu ul li { color: #fff; } 
    #main_menu > li { display: block; height: auto; padding: 0; margin-bottom: 14px;}
    #main_menu > li:last-child { margin-bottom: 112px; }
    #main_menu li a { display: inline-block; }
    #main_menu li ul a  { display: inline-block; color: #fff; font-size: 14px;  }
    #main_menu > li > a .toggle { position: absolute; margin: 6px 0 0 0; padding: 2px 12px; border-radius: 10px; border: 1px solid #fff; right: 0; }
    #main_menu a .toggle::before { display: block; transition: all .5s; }    
    #main_menu a .toggle:hover { color: #d4a54d; border-color: #d4a54d; transition: none;}    
    #main_menu a .toggle.open::before { transform: rotate(180deg); }
    #main_menu > li > ul { padding: 0; position: static; top: 0; left: 0; border: none; pointer-events: auto; border-radius: 0; max-height: 0; overflow: hidden; opacity: 1; background: transparent; }
    #main_menu > li > ul.show { max-height: 500px; }
    #main_menu ul ul a { border-bottom: 2px solid #fff; }
    #main_menu > li > ul > li { padding-top: 12px; }

    .card-theme .card-body {min-height: 406px;}
    .card-icon { min-width: 33%;}
}
@media (max-width: 767.98px) { 
    .navbar-toggle { flex-grow: 1;}
    .card-theme .card-body {min-height: 406px;}
    .card-icon { min-width: 50%;}
}
@media (max-width: 575.98px) { 
    .top_address { display: none;}
    .header .container {flex-wrap: nowrap;}
    .card-theme .card-body {min-height: 300px;}
}
@media (max-width: 575.98px) { 
    .top_address { display: none;}
    .header .container {flex-wrap: nowrap;}
    .card-theme .card-body {min-height: 300px;}
    .card-group { display: flex; flex-wrap: wrap; }
}
@media (max-width: 399.98px) { 
    .card-icon { min-width: 100%;}
}

/** owlCarousel */
.owl-stage { display: flex; overflow: hidden; }
.owl-stage-outer { overflow: hidden; }
.owl-drag {flex-direction: column !important; overflow: hidden;  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
.owl-nav.disabled, .owl-dots.disabled {display: none;}
.owl-item .card { max-width: 100%; width: 100%;}

.card-carousel { position: relative; }
.card-carousel .card-image { width: 100%; text-align: center;}
.card-carousel .card-body { 
    max-width: 80%;
    min-width: 350px;
    height: auto;
    position: absolute;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(4,13,22,0.5);
    border-radius: 10px;
    color: #fff; 
}
#dynamicslideshow { z-index: 0; }

/** Content */
.page-content { padding-bottom: 90px; position: relative; }
.page-content > p, .page-content > ul, .page-content > ol, .page-content > .block, .page-content > figure {
    background-color: #fff;
    padding: 20px 1.5rem;
    margin-bottom: 0;
    font-size: 20px;
    font-family: 'RalewayRegular';
}
.page-content > ul, .page-content > ol { padding-left: 2.5rem;}
.page-content > h1, .page-content > h2, .page-content > h3 { text-align: center; font-size: 24px; padding: 30px 0 20px; }
.page-content a { border-bottom: 1px solid #63b7ff; }
.page-content a:hover { border-bottom: 1px solid #77ecf0; }

/** Page Back **/
.pageBack {
    background-color: #daf1ee;
    -webkit-box-shadow: 0 2px 2.88px .12px rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 2.88px .12px rgba(0, 0, 0, 0.35);
    width: 98px;
    height: 40px;
    color: #000;
    border: none;
    display: block;
    padding: 8px 10px 6px 14px;
    position: absolute;
    top: -20px;
    left: 0;
    cursor: pointer;
    -webkit-transition: all .5s;
    transition: all .5s
}
.pageBack:before { content: '<< '}
.pageBack:hover { background-color: #8eb3ae; color: #000; border: none }
.pageBack:active { background-color: #a6dddb }

.fa-angle-down {
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.fa-angle-down:before {
    content: "a";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 320 512'%3e%3cpath d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px 18px;
    color: transparent;
}

/** modal **/
#modal-popup .modal-content {
    background-image: url(/images/modal.jpg);
    background-position: center center;
    background-size: cover;
    min-height: 38px;
}
#modal-popup .close {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 32px;
    height: 32px;
    font-size: 2rem;
    font-weight: 100;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    background-color: #edb053;
    border: 2px solid #fff;
    border-radius: 16px;
    opacity: 1;
}
#modal-popup .close:focus {
    outline: none;
}