/*
Theme Name: Agricola Vivarium
Theme URI: https://alesweb.it
Author: AlesWeb - Simone Alessandrini
Author URI: https://alesweb.it
Text Domain: dev
Description: The 2018 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featu#c69214-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700');

@-ms-keyframes scrollPageAnimation {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-moz-keyframes scrollPageAnimation {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-webkit-keyframes scrollPageAnimation {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-o-keyframes scrollPageAnimation {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@keyframes scrollPageAnimation {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-ms-keyframes scrollPageAnimation2 {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    70% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-moz-keyframes scrollPageAnimation2 {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    70% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-webkit-keyframes scrollPageAnimation2 {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    70% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@-o-keyframes scrollPageAnimation2 {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    70% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}
@keyframes scrollPageAnimation2 {
    0% {
        top:0;
        stroke: #c69214;
        opacity: 1
    }
    70% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
    100% {
        margin-top:50px;
        stroke: #ffffff;
        opacity: 0
    }
}

::selection {
    background-color: #777;
    color: white;
}

::-moz-selection {
    background-color: #777;
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #efefef;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .1);
}

::-webkit-scrollbar-thumb {
    background: #777;
    border-radius: 5px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .5);
}

a,
a:focus,
a:active,
a:visited,
a:hover {
    cursor: pointer;
    text-decoration: none !important;
}

a{transition: all .3s linear}

a.list-permalink{
    color:#3f3e3e;
}
a.list-permalink:hover{
    color: #5FE0B7; 
    color: #c69214 
}
label {
    cursor: pointer;
    font-weight: normal;
}

.appeareance-none {
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.appeareance-none::-ms-expand {
    display: none;
}
.small-text{
    font-size: 80%
}
.spaceTopFix{

}
.sectionContent{
    padding: 40px;
}
.g_map .sectionContent{
    padding: 0;
    overflow: hidden
}
header{
    position: fixed;
    top:0;
    width:100%;
    box-sizing: border-box;
    z-index:200;
    height: 90px;
    overflow-y: visible;
    transition: all .5s linear;
}
#siteLogo{
    transition: all .5s linear;
    height: 90px;
    box-sizing: border-box;
}
#siteLogo a{display: block;}
#siteLogo a img{
    height:90px;
    width:auto !important;
}
header.sticky{
    position: fixed;
    background: rgba(0,0,0,.87);
    top:0
}
#scrollToTop{
    position: fixed;
    bottom:40px;
    right:15px;
    color: #c69214;
    display: none;
    width: 50px;
    height:50px;
    line-height: 50px;
    font-size: 50px;
    cursor: pointer;
}
#loading{
    position: fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    width: 100%;
    height:100%;
    background-color: #ffffff;
    background-image: url('images/loading.gif');
    background-position: 50%;
    background-size: 150px auto;
    background-repeat: no-repeat;
    z-index: 3000;
    display: block;
}
header.sticky #siteLogo{
    display: block
}
body.single-magazines{
    padding-top:90px;
}
body.single-magazines header{
    background-image: url('images/magazine-header-bg.jpg');
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}
body.admin-bar header{
    top:32px;
}
.navbar {
    padding: 0;
}
div#header-menu-container {
    position: absolute;
    right: 0px;
    top: 100%;
    color: #000;
    background: rgba(0,0,0,0.87);
    width: 100%;
    max-width: 300px;
}
.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height:40px;
    box-sizing: border-box;
    transition: all .5s linear
}
header.sticky .header-menu{
    zoom: 1.3;
}
.header-menu > li {
    height:36px;
    margin: 0
}
.header-menu > li a{
    text-transform: uppercase;
    font-size:12px;
    height:36px;
    line-height: 36px;
    display: block;
    color: #ffffff;
    opacity: 1;
    font-weight: 400;
    transition: all .3s linear;
    padding:0 15px;
    text-align: left;
}

.header-menu > li.menu-item.active a,
.header-menu > li a:hover{
    color: #c69214;
    border-bottom:1px solid #c69214
}
/*
header.sticky .header-menu > li a{
    color:#FFFFFF
}
*/
.link_social,
header .socialLinks li,
.header-menu .socialLink{
    border-radius: 5px;
    width:36px; 
    height:36px;
    background: #c69214;
    text-align: center;
}
.link_social{
    width: 30px;
    height: 30px; 
    display: inline-block;
    text-align: center;
    color: #ffffff;
    line-height: 30px;
}
.link_social:hover{
    color: #242729;
}
.header-menu .socialLink.is{
    margin-left:5px;
}
header .navbar{width: 100%;}
body.single-magazines header.sticky .header-menu > li a{
    color:#ffffff
}
header .socialLinks {
    position: absolute;
    right: 120px;
    top: -3px;
    list-style-type: none;
    min-width: 90px;
    margin:0;
    padding:0;
    margin-top:20px;
    margin-right:-10px;
}
header nav{height:90px;}
header .socialLinks li{
    display: inline-block;
    line-height: 36px;
}
header .socialLinks li:first-child{
    background: transparent;
    width: auto;
    color: #FFFFFF;
    padding-right:25px;

}
header .socialLinks li:first-child div{
    line-height:18px;
    height:36px;
    position: relative;
    top: 10px;
}
header img.dark{display:none;}
header img.light{display:block;}

header.sticky img.dark{display:block;}
header.sticky img.light{opacity: 0; position: absolute;}

header .socialLinks li a{color: #ffffff;}
#main-header .openSearch:hover,
.header-menu > li a:hover{
    opacity:.7;
}
#menuOpener{
    background: transparent !important;
    color: #c69214;
    border: 1px solid #c69214;

}
button:active,
button:hover,
button:focus{
    outline: none !important;
}
#main-header .openSearch{
    width:60px;
    height:60px;
    border:none;
    background: transparent;
    color: #ffffff;
    margin: 15px 0;
    cursor: pointer;
    transition: all .5s linear
}
#main-header.sticky .openSearch{
    color:#3f3e3e
}
body.single-magazines #main-header.sticky .openSearch{
    color: #ffffff
}
#main-header.sticky .openSearch{
    font-size:130%
}
#main-header .navbar-toggler{
    margin-right:30px;
}
#searchOverlay{
    display: none;
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0.8);
    z-index:500;
}
a.closeSearchOverlay{
    position: fixed; 
    top:30px;
    right:30px;
    color: #ffffff !important;
    cursor: pointer;
    width: 50px;
    height:50px;
    line-height: 50px;
    font-size:80px;
    z-index: 501;
}
#searchOverlay .search-form{
    width:100%;
    max-width: 600px;
    height:60px;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
#searchOverlay .search-form label{width:100%}
#searchOverlay .search-form input.search-field{
    height:60px; 
    width: 100%;
    background: #3f3e3e;
    color:#cccccc;
    border: 2px solid  #3f3e3e;
    font-size:20px;
    padding-right:60px;
    box-sizing: border-box;
}
#searchOverlay .search-form input.search-field:focus{
    border-color: #c69214
}
#searchOverlay .search-form .search-submit{
    height:60px; 
    width: 60px;
    position: absolute;
    top:0;
    right:0;
    background: transparent;
    color:#c69214;
    border:none;
    font-size:40px;
    cursor: pointer;
}
#searchOverlay .search-form .search-submit:hover{
    color:#ffffff;
}
select {
    cursor: pointer;
}

select option {
    background-color: white;
    color: black;
}

.padding-top-100 {
    padding-top: 100px;
}

.padding-top-60 {
    padding-top: 60px;
}

.padding-top-40 {
    padding-top: 40px;
}

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-bottom-100 {
    padding-bottom: 100px;
}

.padding-bottom-60 {
    padding-bottom: 60px;
}

.padding-bottom-40 {
    padding-bottom: 40px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

body img {
    height: auto;
    max-width: 100%;
}

img.image-100 {
    height: auto;
    width: 100%;
}

body figure {
    margin: 0;
}

figure.img-contain img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

figure.img-cover img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body .table {
    display: table;
    margin: 0;
    table-layout: fixed;
}

body .table .center {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

textarea {
    resize: vertical;
}

.max-width {
    width: 100%;
    margin: 0 auto;
}

.lowercase {
    text-transform: lowercase;
}

.uppercase {
    text-transform: uppercase;
}

input.datepicker.hasDatepicker {
    cursor: pointer;
}

.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 15px;
}

.aligncenter {
    text-align: center;
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}
.borded-right{
    border-right: 1px solid #eaeaea
}
.btn-100 {
    width: 100%;
}

.hidden-xs-up {
    display: none !important;
}

/* START theme css*/

html,body{
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 16px;
    color: #3f3e3e;

}
html.scrollSectionsPage,
body.scrollSectionsPage{
    overflow: hidden;
    overflow: auto;
}
.bg-light{
    background-color: #eeeeee !important
}
.bg-red{
    background-color: #c69214;
}
.bg-lines{
    position: absolute;
    top:0;
    bottom:0;
    left:15px;
    right:15px;
    height:100%;
    width:100%;
    z-index:0;
}
.text-red{
    color: #c69214;
}

.btn{
    padding:10px 25px;
    font-size: 16px !important; 
    text-transform: uppercase;
    outline: none !important;
    text-decoration: none;
    border-radius: 0;
    background-image: url('images/button-arrow-left.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 40px 11px;
    padding:10px 50px 10px 25px;
    display: inline-block;
}

.btn.btn-primary-trasp{
    color: #ffffff;
    border: 2px solid #777777;
    /* background-color: transparent;*/
    background-color: rgba(0,0,0,.5);
}
.btn.btn-primary-red{
    color: #ffffff;
    border: 2px solid #c69214;
    background-color: #c69214;

}
.btn.btn-primary-trasp:hover{
    color: #ffffff;
    background-color: #c69214;
    border-color: #c69214
}
.btn.btn-primary-red:hover{
    color: #ffffff;
    border-color:#3f3e3e;
    background-color: #3f3e3e;

}
header{position: absolute}
.sectionBackground{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    overflow-y: auto
}

.sectionWrapper{

    width: 100vw;
    display: block;
    box-sizing: border-box;
}
.sectionBackground .sectionContent,
.sectionContent .gMapContent {
    min-height: 100vh;
    padding:0;
}
.acf-page-section .sectionBackground,

.acf-page-section .sectionWrapper{
    min-height: 30vh
}
.sectionContent.sezione_media{
    min-height: 30vh;
}
.page-section{position: relative;}
#sectionWrapper .logoBox{
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
    max-width: 825px;
    width:35%;
    background-size: 100% auto;
    margin:auto;
}

#sectionWrapper .logoBox.center{
    top:0;
    left:50%;
    transform: translate(-50%,0);
    width:40%;
}
#section_1 #sectionWrapper .logoBox.center{
    height:50%;
}
#section_1 #sectionWrapper .logoBox.center .logo{
    max-width: 300px;
    max-height: 300px;
    width: 100%;
    bottom:10%;
    top:auto;
    left:50%;
    transform: translate(-50%,0);
    margin-left:  auto !important;
    margin-bottom: 0;

}
#sectionWrapper .logoBox.right{
    top:0;
    left:auto;
    right:0;
}
#sectionWrapper .logoBox.right figure.logo{
    left: 26.1%;
}
#sectionWrapper .logoBox a{
    width: 100%;
    height:100%;
    display: block;
}
#sectionWrapper .logoBox .logo-bg{
    position: relative;
}
#sectionWrapper .logoBox .logo-bg img{
    width: 100%;
    height:auto;
}
#sectionWrapper .logoBox .logo{
    position: absolute;
    width: 45%;
    top: 5%;
    left: 10.1%;
}
#sectionWrapper .logoBox.center .logo {
    width: 140px;
    top: 60px;
    left: 50%;
    margin-left: -70px;
}
#section_5 #sectionWrapper{position: relative !important}
#section_5 #sectionWrapper .logoBox.center{
    position: absolute;
    width: 250px;
    height:203px;
    top: 30%;
    left: 50%;
    margin-top: -80px;
}
#section_5 #sectionWrapper .logoBox.center .logo {
    position: absolute;
    width: 250px;
    top: 0;
    left: 0;
    margin-left: 0;
    margin-top: 0;
}
#sectionWrapper .logoBox .logo img{
    width: 100%;
    height:auto;
    top:0;
    left:0;
}

.sectionBackground .textOnlyContent{
    position: absolute;
    top:50%;
    left:0;
    transform: translate(0,-50%)
}
#section_1 .textOnlyContent{
    transform: translate(0,0)
}
#section_1 .sectionTitle{
    color:#ffffff;
    font-size:16px;
}
.main_visual .textOnlySectionDesign{
    position: absolute;
    top: 50%;
    width: 100%;
}
.main_visual .textOnlySectionDesign .sectionTitle{
    font-size:26px !important;
    color: #cccccc
}
.main_visual .textOnlySectionDesign .subHeading{
    color: #c69214 !important;
    font-size:18px;
}
.gMapContent .sectionTitle,
.textOnlyContent .sectionTitle{
    font-size: 30px;
    letter-spacing: 0px;
    margin:0;
    margin-bottom: 25px;
    font-weight: 400;
}
.sectionBackground .textOnlyContent .sectionTitle{
    margin-bottom: 0;
}
.gMapContent .sectionTitle.text-light,
.textOnlyContent .sectionTitle.text-light{
    color: #ffffff;
}
.gMapContent .sectionTitle span,
.textOnlyContent .sectionTitle span{
    color: #c69214;
    font-weight: 400;
}
.gMapContent .subHeading,
.textOnlyContent .subHeading{
    font-size: 18px;
    color: #cccccc;
    letter-spacing: 4px;
    margin-bottom:25px
}
.gMapContent .subHeading.text-light,
.textOnlyContent .subHeading.text-light{
    color: #cccccc !important;
}
.textOnlyContent .captionText{
    font-size:16px;
    color: #cccccc;
    text-align: left;
}
.textOnlyContent ul{
    list-style-type: none;
    margin: 10px 0;
    margin-bottom:15px;
    padding:0;
}
.textOnlyContent ul li{
    font-size: 110%;
    padding: 0
}
.gMapContent .mapContainer iframe{
    width: 100%;
    height: 100% !important;
    position: absolute;
    left: 0;
    top: 0;
    padding: 3px;
    border:1px solid #c69214
}
.gMapContent .mapContainer{
    position: absolute;
    top:0;       
    bottom: 0;
    height: 100%;
    width: 100%;
}
.gMapContent{
    position: relative;
    padding:0;
}


.iconBoxContent {
    position: absolute;
    top:0;
    bottom:0;
    left: 0;
    right:0;
    height: 100%;
}
.iconBoxContent .iconBox{
    position: absolute;
    top: 50%;
    transform: translate(0%,-50%);
}
.iconBoxContent .iconBox.icon1{left:0;}
.iconBoxContent .iconBox.icon2{right:0;}
.iconBoxContent .iconTitle{
    text-transform: uppercase;
    margin:8px 0 15px 0;
    font-weight: 400;
    letter-spacing: 4px;
}
.iconBoxContent .iconTitle span{
    color: #c69214;
    display: block;
    letter-spacing: 4px;
    font-weight: 400;
}
.blogSectionTitleBox{
    padding-top:7%;

}
.acfBlogContent .sectionTitle,
.blogContent .sectionTitle{
    font-size: 5vh;
    font-weight: 400;
    text-align: left;

}
.acfBlogContent .sectionTitle span,
.blogContent .sectionTitle span{
    color: #c69214;
    letter-spacing: 4px;
    font-weight: 400;
}
#contactSection{
    background: rgba(0,0,0,0.87);
    color: #ffffff !important
}
.contactItem{
    padding-left: 0 !important;
    padding-right: 30px !important;
    position: relative
}

.contactItem .contactText,
.contactItem .backImage{
    position: absolute;
    bottom:10%;
    z-index:3
}
.contactItem .backImage svg{
    width: 80%;
    opacity:.15

}
.contactItem .backImage svg path{
    fill: #c69214 !important;
}
.contactItem .backImage{
    right:30px;
    left:0
}
.contactItem:before,.contactItem:after{
    content: "";
    display: none;
    position: absolute;
    z-index:0;
    top:0;
    bottom:0;
    height:100%;
    width: 1px;
    background: #eaeaea;
}
.contactItem:after{left: 0;}
.contactItem:before{left: 50%;}

.contactSectionTitleBox{
    position: absolute; 
    left:0;
    top:0;
    z-index:5;
    padding-top: 100px;
}
.contactSectionTitleBox .sectionTitle{
    font-size:30px;
    font-weight: 400;
    text-transform: uppercase;
}
.contactSectionTitleBox .subHeading{
    font-size:20px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom:25px;
}
.contactSectionTitleBox p{
    text-align: left;
    font-size: 24px;
}
.contactSectionTitleBox .sectionTitle span{
    color: #c69214;
    font-size:75%;
}
.contactSectionTitleBox .subHeading span{
    color: #c69214
}
.contactSectionTitleBox.infograficaTitle{
    left: -15px;
}
.archiveContent{padding-top:200px;}
.contactText{
    font-size: 18px; 
    font-weight: 400;

    text-align: left;
}

.contactText .socialLinks li{
    width:36px; 
    height:36px;
    background: #c69214;
    margin:5px;
    border-radius:5px;
    display: inline-block;
    font-size:18px;
    text-align: center;
}
.contactText .socialLinks li a{
    display: block;
    transition: all .3s linear; 
    color:#ffffff;
    line-height: 36px;
}
.contactText .socialLinks li a:hover{

}
.contactText label{
    font-size:16px;
    text-align: left;
    line-height: 60px;
    width: 100%;
    display: block;
}

#sectionsScroll{
    position: fixed;
    z-index:100;
    width: 30px;
    height: 50px;
    bottom:15px;
    left:50%;
    margin-left:-15px;
    overflow: hidden;
}

#sectionsScroll svg{
    color: #c69214
}
#sectionsScroll svg polyline{
    fill:none;
    stroke:#FFFFFF;
    stroke-width:20;
    stroke-miterlimit:10;
}
#sectionsScroll #arrow1 polyline{
    fill:none;
    stroke:#c69214 ;
    stroke-width:20;
    stroke-miterlimit:10;

}
#sectionsScroll #arrow2,
#sectionsScroll #arrow1{
    position: absolute; 
    top:0;
    left:0;
    -ms-animation: scrollPageAnimation 1s linear infinite;
    -moz-animation: scrollPageAnimation 1s linear infinite;
    -webkit-animation: scrollPageAnimation 1s linear infinite;
    -o-animation: scrollPageAnimation 1s linear infinite;
    animation: scrollPageAnimation 1s linear infinite;

}
#sectionsScroll #arrow2{
    -ms-animation: scrollPageAnimation2 1s linear infinite;
    -moz-animation: scrollPageAnimation2 1s linear infinite;
    -webkit-animation: scrollPageAnimation2 1s linear infinite;
    -o-animation: scrollPageAnimation2 1s linear infinite;
    animation: scrollPageAnimation2 1s linear infinite;
}

#sectionsDots{
    display: none;
    padding: 0;
    position: fixed;
    left:0px;
    top:50%;
    /* bottom:0; */
    z-index:100;
    width:40px;
    transform: translate(0%,-50%)
}
#sectionsDots .counter{
    display: none;
    color: #939191;
    transform: rotate(90deg);
    font-size: 30px;
}
#sectionsDots .dots{
    padding:0;
    margin:0;
    width: 40px;
    list-style-type: none;
}
#sectionsDots .dots .dot{
    text-align: center;
    width: 40px;
    height:40px;
    line-height: 40px;
    cursor: pointer;
}

#sectionsDots .dots .dot span{
    background-color: #f1f1f1;
    border-radius: 50%;
    border: 1px solid #c69214;
    width: 15px;
    height:15px;
    margin:auto;
    display: inline-block;
}
#sectionsDots .dots .dot:hover span,
#sectionsDots .dots .dot.current span{

    background-color: #c69214;
}

.sectionDesign{
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index:0;
    margin: auto;
    padding:0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-image: url('images/rombo.png');
    overflow: hidden;
}
.sectionDesign.textOnlySectionDesign{
    width:90%;
    height:100%;

}
.sectionDesign.iconBoxSectionDesign{
    width:33.33%;
    height:100%;
}
.sectionDesign.halfSectionDesign{
    width:50%;
    height:100%;
    background-position: center center;
}
.sectionDesign.iconBoxSectionDesign.pos_1.right{
    margin-left:0;
    background-position: center right;
}
.sectionDesign.iconBoxSectionDesign.pos_2.left{
    margin-right:0;
    background-position: center left;
}
.sectionDesign.halfSectionDesign.pos_1{
    margin-left:0;
}
.sectionDesign.halfSectionDesign.pos_2{
    margin-right:0;
}
.sectionDesign.textOnlySectionDesign.left{
    margin-left: 0;
}
.sectionDesign.textOnlySectionDesign.right{
    margin-right: 0;
}
#scrollToContacts{
    display: none;
    position: fixed;
    z-index:100;
    width: 40px;
    min-height:130px;
    top:50%;
    margin-top: -65px;
    right: 15px;
}
#scrollToContacts .socialLinks{
    width: 40px;
    padding:0;
    margin: 0;
    list-style-type: none;
}
#scrollToContacts .socialLinks li {
    width:40px;
    height:40px;
    position: relative;
}
#scrollToContacts .socialLinks li a{
    display: block;
    text-align: center;
    color: #fff;
    width: 30px;
    height:30px;
    line-height: 30px;
    margin:5px;
    border-radius: 50%;
    display: block;
    border: 1px solid #c69214;
    margin:auto;
    background-color: #c69214;
    opacity: .7
}

#scrollToContacts .socialLinks li a:hover {

    opacity: 1;
    border: 1px solid #ffffff;
}
#scrollToContacts a.goToContact{
    padding:8px 0;
    display: block;
}
#scrollToContacts a.goToContact img{
    width: 70%;
    height:auto;
}
.blogCarousel{
    position: absolute;
    height:60%;
    bottom:30px;
    height:400px;
}

.blogCarousel .owl-stage-outer{
    height:100%;
    max-height:100%;
    overflow: hidden;
}

.acfBlogContent article.item,
.blogCarousel article.item{
    height:400px;

}
.blogCarousel article.item .postTitle a{
    display: block;
    width:100%;
    height:100%;
    color: #3f3e3e;
}
.blogCarousel.text-light article.item .smallMore a,
.blogCarousel.text-light article.item .postTitle a{
    color: #eaeaea
}
.blogCarousel article.item .postTitle a:hover{
    color: #c69214;
}
.acfBlogContent article.item{
    position: relative;
    margin-bottom:60px;
}
.acfBlogContent article.item .postCover,
.blogCarousel article.item .postCover{
    position: absolute;
    bottom:90px;
    top:0;
    max-height:100%;
    width:100%;
    overflow: hidden;
}

.acfBlogContent article.item .postCover figure,
.blogCarousel article.item .postCover figure{
    position: absolute;
    bottom:0;
    width:100%;
    height:75%;
}
.blogCarousel article.item .postCover figure img{
    width: 100%;
    height:100%;
    object-fit: cover;
    object-position: center center;
}
.postCover .socialShareContainer{
    width: 100%;
    position: absolute;
    bottom:0;
    left:0;right:0;
}
.postCover .socialShareContainer .showSharer{
    position: absolute;
    bottom:10px; 
    left:10px;
    background-color: #ffffff;
    color: #777;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    min-height:15px;
    line-height: 15px;
    padding: 3px 6px;
    border:none;
    cursor:pointer;
}
#postContent figure.postCover{
    position:relative;
    max-height: 350px;
    overflow: hidden;
}
#postContent figure.postCover img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center
}
#postContent .postTitle{
    padding:40px 0;
    font-size:5.5vh;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase
}
#postContent .articleBody{
    padding-top: 120px;
    padding-bottom: 60px;
    padding-left: 0;
    padding-right:30px;
}
.relatedMagazines{
    padding-top:280px;
}
.relatedMagazines article{
    position: relative;
    margin-bottom: 40px;
    max-width: 300px;
    float: right
}
.relatedMagazines .sideTitle{
    font-size: 14px;
    text-transform: uppercase;
    color: #777777;
}
.relatedMagazines .postCover{position: relative;}
.relatedMagazines .postCover figure{
    height:250px;
}
.relatedMagazines .postCover figure img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.relatedMagazines .postTitle{
    padding:10px  0 25px 0 !important;
}
.relatedMagazines .postTitle h2{
    font-size:14px;
    text-transform: uppercase;
    text-align: right;
    font-weight: 400;
}
.postCover .socialShareContainer .socialSharer {
    list-style-type: none;
    display: inline-block;
    width: 0%;
    max-width: 300px;
    text-align: left;
    list-style-type: none;
    padding:0;
    margin:0;
    margin-bottom: 30px;
    float: left;
    overflow: hidden;
    transition: width .5s linear;
}
.postCover .socialShareContainer.open .socialSharer{
    width:100%;
}
.postCover .socialShareContainer .socialSharer li{
    width: 25%;
    text-align: center;
    float: left;
}
.postCover .socialShareContainer .socialSharer li a{
    color:#ffffff;
    display: block;
    font-weight: 400
}
.acfBlogContent article.item .postTitle ,
.blogCarousel article.item .postTitle {
    position: absolute;
    bottom:30px;
    width:100%;
}
.acfBlogContent article.item .postTitle h2,
.blogCarousel article.item .postTitle h2{
    font-size: 14px;
    text-transform: uppercase;
    text-align: right;
    font-weight: 400;
    letter-spacing: 3px;
    max-height: 60px;
    overflow: hidden;
    margin-bottom:0;
}

.relatedMagazines article.item .smallMore,
.acfBlogContent article.item .smallMore,
.blogCarousel article.item .smallMore{
    display: block;
    text-align: right;
    height: 30px;
    position: absolute;
    bottom:0;
    width:100%;
}
.relatedMagazines article.item .smallMore a,
.acfBlogContent article.item .smallMore a,
.blogCarousel article.item .smallMore a{
    color: #3f3e3e;
    font-size: 10px;
    line-height: 32px;
    text-transform: uppercase;
    padding-right: 35px;
    text-align: right;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 30px 10px;
    height: 30px;
    background-image: url('images/more-arrow-left.png')
}
.blogCarousel.text-light article.item .smallMore a{
    background-image: url('images/more-arrow-left-text-light.png')
}
.relatedMagazines article.item .smallMore a:hover,
.acfBlogContent article.item .smallMore a:hover,
.blogCarousel article.item .smallMore a:hover{
    color:#c69214
}

#magazineGallery {
    padding-top:100px;
    position: relative
}

#magazineGallery .owl-nav,
#magazineGallery .owl-dots,
.blogCarousel .owl-nav,
.blogCarousel .owl-dots{
    position: absolute;
    top: -80px;
    right:80px;
    text-align: right;
    height: 70px;
    padding:0px;
}
#magazineGallery .owl-nav,
#magazineGallery .owl-dots{
    top:20px;
}
#magazineGallery .owl-nav,
.blogCarousel .owl-nav{
    right:0;

    width: 80px;
    text-align: left;
    padding:0;
}
#magazineGallery .owl-nav button,
.blogCarousel .owl-nav button{
    width: 35px;
    height:80px;
    display: inline-block;
    outline: none !important;
}
#magazineGallery .owl-nav button span,
.blogCarousel .owl-nav button span{
    width: 100%;
    height: 100%;
    line-height: 60px;
    font-size:70px !important;
    display: block;
    color: #c69214
}
#magazineGallery .owl-dots button.owl-dot,
.blogCarousel .owl-dots button.owl-dot{
    width: 30px;
    height:50px;
    text-align: center;
    line-height: 50px;
    margin:10px;
}
#magazineGallery .owl-dots button.owl-dot span,
.blogCarousel .owl-dots button.owl-dot span{
    width: 30px;
    height:30px;
    line-height: 30px;
    font-weight: 400;
    border-radius: 5px;
    display: block;
    margin: 0px;
    color: #777777;
}

#magazineGallery .owl-dots button.owl-dot.active,
.blogCarousel .owl-dots button.owl-dot.active{
    width:50px;

}
#magazineGallery .owl-dots button.owl-dot.active span,
.blogCarousel .owl-dots button.owl-dot.active span{
    width: 50px;
    height:50px;
    line-height: 50px;
    margin: 0px;
    font-size: 20px;
    background: #c69214;
    color:#ffffff;
    /*box-shadow: 0px 0px 10px rgba(0,0,0,0.3);*/
}
#photoGallery{


}
#photoGallery .galleryItem {
    padding-left: 5px;
    padding-right: 5px;
    display: table-row
}
#photoGallery .galleryItem:first-child{
    padding-left: 0;
}
#photoGallery .galleryItem:last-child{
    padding-right: 0;
}

#magazineGallery .galleryItem ,
#photoGallery .galleryItem figure{
    position: relative;
    border: 1px solid #c69214;
    padding:10px;
    height: 100%;
    max-height: 350px;
}
#photoGallery .galleryItem.text-light figure{
    background: rgba(0,0,0,0.25) !important;
}
#magazineGallery .galleryItem {
    height:250px;
}
#photoGallery .galleryItem figure a,
#photoGallery .galleryItem figure img{
    height:100%;
    display: block;
    width: 100%;
}
#magazineGallery .galleryItem figure img,
#magazineGallery .galleryItem figure a,
#magazineGallery .galleryItem figure{
    height:100%;
    width:100%;
    display: block;
}
#magazineGallery .galleryItem figure img,
#photoGallery .galleryItem figure img{
    object-fit: cover;
    object-position: center center;
}
#pagelinks{
    padding:0;
    padding-bottom: 20px;
    margin:0;
    width: 100%;
    height:60px;
    display: inline-block
}
#pagelinks li{
    display: inline-block;
    height:40px;
    margin:0 2px;
    list-style-type: none;
}
#pagelinks li a{
    display: block;
    text-align: center;
    color: #3f3e3e;
    width: 30px;
    line-height: 30px;
    margin:5px 0;
}
#pagelinks li.active a{
    margin:0;
    width: 40px;
    line-height: 40px;
    background-color: #c69214;
    color:#ffffff;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgba(0,0,0,.3)
}
.galleyrWrapper{
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
}
.galleryItem{

    display: inline-block
}
.galleryItem figure{
    overflow: hidden;
}
.galleryItem figure a{display: block;width: 100%; height:100%}
.galleryItem figure img{
    width:100%;
    height:100%;
    object-fit: cover;
}

.ctaBox{
    position: absolute;
    top:0;
    bottom:0;
    width:65%;
    margin:auto;
}
.ctaBox.right{right:0;}
.ctaBox.left{left:0;}
.ctaBox.center{ 
    left: 50%;
    transform: translate(-50%,0)
}
.ctaContent{
    position: absolute;
    width:100%;
    top: 50%;
    transform: translate(0,-50%);
    text-align: center;
}
.ctaContent h5{font-size:5vh; text-transform: uppercase; }
.ctaContent h5.text-light{color:#eaeaea !important }
.ctaContent h3{font-size:8.5vh; text-transform: uppercase}
.ctaContent .iconTitle{margin-bottom:30px;}

.infografContent{
    position: relative;
    margin:auto;
    height: auto;
    padding-bottom:0px;
    padding-top:180px
}
.infografContent .infoTitle{
    color: #c69214;
    font-size:16px;
    text-transform: uppercase;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    text-align: left;
    width: 80%;
    padding:0 10px;
    box-sizing: border-box
}
.infografContent .infoTitle.text-right{
    left:auto;
}
.infografContent .grafIcoBox{
    max-height: 200px;
    padding-bottom: 40px;
    box-sizing: border-box;

}
.infografContent .grafIco{
    padding:0;
    width: 100%;
    position: relative;
    cursor: pointer;
}
.infografContent .grafIco img{
    width: calc(50% - 15px);
    height:auto;
    margin-right:15px;
}
.infografContent .infoPopup{
    display: none;
    box-shadow: 0px 0px 50px rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    z-index: 50;
    background: #ffffff;
    padding: 15px;
    text-align: left;
    font-size: 14px;
}
.infografContent div[class*="col"]{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.infografContent .grafIcoBox:hover .infoPopup{
    display: block
} 
.infografContent .infoPopup .popupTitle{
    font-size:16px;
    text-transform: uppercase;
    color: #c69214;
    font-weight: 400;
    padding-top:25px;
}
.backLines{
    position: absolute;
    top:0;
    left:15px;
    right:15px;
    bottom:0;
    width:100%;
    height:100%;
}
.iconBoxContainer{
    min-height:100vh;
    height:auto;
    position: relative;
}

.madiaBlock {
    padding:3px !important;
    box-sizing: border-box;
    border: 1px solid #c69214
}
.mediaContent{
    padding-left:0 ;
    padding-right:0 ;
}
.mediaContent .mediaTextBlock{
    padding: 40px ;
    text-align: left;
}
.mediaContent .mediaTextBlock .sectionTopTitle{
    font-size:14px;
    text-transform: uppercase;
}

.galleyrWrapper .sectionTitle,
.mediaContent .mediaTextBlock .sectionTitle{
    font-weight: 400;
    font-size:20px;
    padding-bottom: 0px;
    margin-bottom: 25px
}
.galleyrWrapper .sectionTitle span,
.mediaContent .mediaTextBlock .sectionTitle span{
    color: #c69214 !important;
}
.galleyrWrapper .subHeading,
.mediaContent .mediaTextBlock .subHeading{
    font-weight: 400;
    font-size:18px;
    color: #777;
    margin-bottom:25px
}
.gMapContent .spaceTopFix{

}
.madiaBlock iframe,
.madiaBlock figure.rowMedia{
    /* position: absolute;
     top:0;
     left:0;
     right:0;
     bottom:0;
    */
    position: relative;
    width: 100% !important;
    height:100% !important;
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat
}
.madiaBlock figure.rowMedia img{
    width:auto;
    height:100%;
    object-fit: cover;
    object-position: center;
    opacity:0;
}

footer,
footer #copy{
    min-height:115px; 
    font-size: 90%;
}
footer #copy p{margin:0;}
footer a{color:#ffffff !important;}
footer a:hover{opacity:.7}
footer .socialLinks{padding:0;padding-bottom:30px}

.socialSharer li.wa{
    display: none;
}
#menuHomeLink,
#menuCloser{display: none;}

.noScroll{overflow: hidden !important}

#section_8 .sectionTitle {
        margin-bottom:5px !important;
    }


    
@media screen and (min-width:1600px){
    .infografContent .infoPopup{
        font-size:18px;
    }
    .infografContent .infoPopup .popupTitle{
        font-size:22px;
    }

    .contactText{
        font-size: 26px
    }
    .contactText label{
        font-size:24px
    }

}
@media screen and (min-width:768px) and (max-width:1366px){
    .galleryItem figure{
        height:240px
    }

    #section_1 #sectionWrapper .logoBox.center .logo{
        bottom:0;
    }
    .gMapContent .sectionTitle{
        font-size: 30px;
    }
    .gMapContent .subHeading{
        font-size: 4vh;
    }
}
@media screen and (max-width:767px){
    .infografContent .grafIcoBox .grafIco,
    .infografContent .infoTitle{
        text-align: center !important;
    }
    .infografContent .infoTitle{
        width:100%;
        font-size:24px;
    }
    .infografContent .infoPopup{
        position: absolute;
        top: 50%;
        left:50%;
        max-width: 360px;
        transform: translate(-50%,-50%);
        z-index:20;
        width: 80%;
    }
    .socialSharer li.wa{
        display: block;
    }

    header{
        height:96px;
    }

    #siteLogo{
        left:15px;
        top:10px;
        text-align: left;
    }
    #siteLogo a{text-align: left !important;}
    #main-header .navbar-toggler,
    #main-header .navbar-toggler i{
        background-color: transparent !important;
        color: #c69214 !important;
    }

    #sectionsScroll,
    #sectionsDots{
        display: none;

    }
    .textOnlyContent.centerBlock{
        transform: translate(0,-50%) !important;
    }
    .textOnlyContent .sectionTitle{
        font-size:30px;
    }
    .textOnlyContent .subHeading{
        font-size:16px;
    }
    .iconBoxContent{
        padding:60px 0;
        position: relative;
    }
    .iconBoxContent .iconBox {
        position: relative !important;
        margin-bottom:60px;
        transform: none !important
    }
    .iconBoxContent .iconBox:first-child{
        margin-top:40px;
    }
    .owl-dots{display: none;}

    .blogCarousel{
        position: relative;
        margin-top:150px;
        margin-bottom:40px;
        max-width: 100%;
    }
    #magazineGallery .owl-nav, 
    .blogCarousel .owl-nav{
        width: 72px;
        left:50%;
        transform: translate(-50%, 0);
    }
    .contactSectionTitleBox{
        left:15px;
    }

    .contactItem .contactText, 
    .contactItem .backImage{
        position: relative !important;
    }
    .contactItem .contactText{
        padding: 0 15px;
        margin-top:-80px;
        margin-bottom:40px;
    }

    .contactItem.h-100{
        height:auto !important;
    }

    #main-footer p{line-height: 30px;padding-top:30px;}

    div#header-menu-container{
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        background: rgba(0,0,0,0.7);
    }
    #header-menu{
        margin-top: 60px;
    }
    #header-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    #header-menu li a{color: #FFFFFF;}
    #menuHomeLink,
    #menuCloser{
        display: block;
        position: absolute;
        top:0;
        right:0;
        width:60px;
        height:60px;
        background-color: transparent!important;
        border: none;
        font-size: 70px;
        margin-right: 0px !important;
        line-height: 60px;
        padding:0;
    }
    #menuHomeLink{
        left:0;
        right:auto;
        background-color: transparent;
        background-image: url(images/home-icon2X.png);
        background-size: 50% auto;
        background-repeat: no-repeat;
        background-position: 50%;

    }
    #main-header #menuCloser.navbar-toggler{
        color: #ffffff !important;
    }

    .madiaBlock iframe, .madiaBlock figure.rowMedia{
        position: relative;
    }
    .madiaBlock figure.rowMedia img{
        width:100%;
        height:auto;
    }

    .contactSectionTitleBox.infograficaTitle{
        left:0;
    }
}

@media screen and (max-width:991px){
    .ctaBox{
        width:100%;
    }
    .textOnlyContent .sectionTitle{
        font-size: 30px;
    }
    .infografContent .grafIcoBox{
        max-height:500px;
    }
    .sectionContent.infografica .backLines{
        display: none;
    }

    header.sticky{
        zoom:1
    }
}
@media screen AND (max-width: 1024px){

    .textOnlyContent .sectionTitle {
        font-size: 20px;
    }

    .ctaBox{
        width: 100%;
    }

    .infografContent {
        padding-top: 300px;
    }

    .acfBlogContent article.item,
    .blogCarousel article.item{
        height:300px;

    }
}

@media screen AND (max-width: 1366px){

    .textOnlyContent.centerBlock {
        transform: translate(0, -50%);
    }

    .acfBlogContent article.item .postCover figure img, 
    .blogCarousel article.item .postCover figure img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center
    }
}

/* Small devices (landscape phones, 576px and up) */
@media screen and (max-width: 576px) {
    .text-center-xs {
        text-align: center;
    }

    #photoGallery .galleryItem{
        padding: 0 0 0 0 !important;
        margin-bottom:10px;
    } 
}

/* Medium devices (tablets, 768px and up) */
@media screen and (max-width: 768px) {
    .text-center-md {
        text-align: center;
    }

}

/* Large devices (desktops, 992px and up) */
@media screen and (max-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media screen and (max-width: 1200px) {

}

@media (max-width: 575px) {
    .hidden-xs-down {
        display: none !important;
    }
}

@media (max-width: 576px) {
    body{font-size:90%}
    p{
        font-size: 14px;
    }
    .hidden-sm-up {
        display: none !important;
    }

    header .socialLinks li:first-child{
        display: none;
    }
    header .socialLinks{
        margin-top:31px;
    }
    .sectionContent{
        padding:40px 15px;
    }
    .main_visual .textOnlySectionDesign .sectionTitle{
        font-size: 20px !important;
    }
    .main_visual .textOnlySectionDesign .subHeading{
        font-size:16px;
    }
    .gMapContent .subHeading, 
    .textOnlyContent .subHeading{
        letter-spacing: 2px;
    }
    .galleyrWrapper{
        width: calc(100% - 30px);
    }
    #photoGallery {
        padding: 0 15px;
    }
    #section_8 .subHeading{
        font-size:14px;
        letter-spacing: 2px;
    }
    html.scrollSectionsPage, body.scrollSectionsPage{
        overflow-x: hidden !important;
    }
}

@media (max-width: 767px) {
    .hidden-sm-down {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-md-up {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hidden-md-down {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hidden-lg-up {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .hidden-lg-down {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .hidden-xl-up {
        display: none !important;
    }
}

.hidden-xl-down {
    display: none !important;
}

#sectionsScroll{display: none;}
#section_8 > *,
#section_8 .sectionTitle ,
#section_8 .subHeading ,
#section_8 .captionText ,
#section_8 p{
    text-align: center !important
} 