/* BOOTSTRAP CLASSES */
.container,.container-fluid{margin-right:auto;margin-left:auto;width:100%;padding-right:15px;padding-left:15px}*,::after,::before{box-sizing:border-box}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;min-height:1px;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.p-0{padding:0!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:none}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}

/* OVERRIDE */
/* --- bootstrap ---*/
.container {
    max-width: 1140px;
}

/* --- parent theme ---*/
#page {
	max-width: 100%;
}

#move-to-top {
    display: flex;
    align-items: center;
    bottom: 0;
    font-size: 2rem;
    border-radius: 0.3rem;
    background-color: rgba(0,0,0,0.3);
    height: 50px;
    width: 50px;
    margin: 15px 0;
    justify-content: center;
    padding: 0;
}

/*--- header ---*/
#header {
    background: #fff;
}
#header .container {
    max-width: 100%;
}
.regular_header #secondary-navigation {
    float: inherit;
}
#secondary-navigation {
    display: flex;
}
#secondary-navigation a.header-logo__link {
    padding: 0;
}


.article {
    width: 100%;
    max-width: 1200px;
    margin:0px auto;
    box-shadow: 0px 0px 0px;
    padding:15px;
    box-sizing: border-box;
}

@media (min-width: 865px) {

    .header-top {
        background: #fff;
    }

    /* Navigation */
    .navigation #menu-main-menu {
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    .navigation>ul {
        padding: 30px 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        max-width: 1200px;
    }

    #secondary-navigation .navigation ul li:hover, #secondary-navigation .navigation ul .current-menu-item {
        background: transparent;
        background-color: transparent!important;
    }
    #secondary-navigation .navigation ul .current-menu-item {
        color: #fff;
        background-color: transparent!important;
    }
    #secondary-navigation .navigation ul .current-menu-item a {
        color: inherit;
    }
    #secondary-navigation .navigation ul .current-menu-item a::after {
        content: "";
        display: block;
        width: 100%;
        position: relative;
        left: 0;
        height: 2px;
        background: #ae9364;
        transform-origin: left;
    }
    #secondary-navigation .navigation ul li:hover>a {
        background-color: transparent;
        color: #ffffff;
    }
    #secondary-navigation .navigation ul li:not(.current-menu-item) a::after {
        content: "";
        display: block;
        width: 100%;
        -webkit-transform: scale(0, 1);
        transform: scale(0, 1);
        position: relative;
        left: 0;
        transition: .3s ease transform, left .3s ease;
        height: 2px;
        background: #ae9364;
        transform-origin: left;
    }
    #secondary-navigation .navigation ul li:not(.current-menu-item):hover>a::after {
        background: #ae9364;
        height: 2px;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        transform-origin: center;
    }
    #secondary-navigation .navigation ul li a {
        /* height: 110px; */
        line-height: 1.9;
        display: inline-block;
        align-items: center;
        padding: 0 9px;
        transition: all .3s ease;
    }
    #secondary-navigation .navigation ul ul {
        width: auto;
        min-width: 12rem;
        background: #2081c7;
    }
    #secondary-navigation .navigation ul ul li {
        background: transparent;
        width: 100%!important;
    }
    #secondary-navigation .navigation ul ul a {
        height: auto;
        width: 100%!important;
        padding: 10px 20px 10px 14px!important;
        color: #fff!important;
        border: none;
        font-size: 14px;
    }
    #secondary-navigation .navigation ul li:hover ul li a {
        background: transparent;
    }
    #secondary-navigation .navigation ul ul li:hover>a {
        background-color: #021f45!important;
    }
    #secondary-navigation .navigation > ul > .menu-item-has-children > a {
        padding-right: 12px;
    }
    #secondary-navigation .menu-item-has-children > a:after {
        display: none;
    }

}

body #header #logo a {
    display: block;
    font-weight: bold;
}
@media screen and (max-width: 865px) {

    a#pull {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 0;
        padding: 0!important;
        height: 20px;
        width: 24px;
        background: transparent;
        border: 0;
        line-height: 1;
    }

    a#pull::after {
        display: none;
        color: #1870ab;
        top: auto;
        right: 0;
        font-size: 22px;
        font-weight: 400;
    }
    a#pull span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #867050;
    }
    a#pull span:nth-child(2) {
        width: 50%;
    }

}

@media screen and (max-width: 480px) {
    #secondary-navigation {
        height: auto;
    }
}

/* FOOTER */
footer {
    margin-top: 0;
}

footer .container {
    width: initial;
    padding-right: 15px;
    padding-left: 15px;
}

/* HOMEPAGE */
#page.homepage {
    padding-top: 0;
    max-width: 100%;
}
.hd-link {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #867050;
    display: inline-block;
    cursor: pointer;
}
.hd-link_arrow:hover::after {
    -webkit-transform: translateX(3px) scale(1.0, 1.0);
    transform: translateX(4px) scale(1.0, 1.0);
}
.hd-link_arrow::after {
    content: '\f178';
    font-family: FontAwesome;
    display: inline-block;
    margin-left: 5px;
    font-size: 16px;
    transition: all .4s ease;
    -webkit-transform: translateX(0px) scale(1.0, 1.0);
    transform: translateX(0px) scale(1.0, 1.0);
}
.hd-heading {
    margin-bottom: 30px;
    text-align: center;
}
.hd-heading__head {
    margin-bottom: 0;
    padding: 5px 0;
    color: #fff;
    font-size: 28px;
    font-style: normal;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}
.hd-heading__head::after {
    content: '';
    background-color: #fff;
    display: block;
    height: 1px;
    margin: 20px auto 0;
    width: 115px;
}
.hd-frame {
    /* margin-left: -20px;
    margin-right: -20px; */
    padding: 40px 0;
    position: relative;
}
.hd-frame::before {
    content: '';
    border: 10px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    display: inline-block;
    height: 100%;
    left: -30px;
    position: absolute;
    right: auto;
    top: 0;
    width: 100%;
    pointer-events: none;
}
.hd-section {
    padding: 60px 0;
}
.hd-section_grey-back {
    background-color: #f2f2f2;
}
.hd-btn {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid;
    padding: 10px 30px;
    transition: all 0.4s ease;
}
.hd-btn_primary {
    color: #867050;
    border: 1px solid #ae9364;
}
.hd-btn_primary:hover {
    background: #867050;
    color: #fff;
}
.hd-btn_second {
    color: #fff;
    background: linear-gradient(180deg, #7f7159 0%, #665a42 100%);
    border: 1px solid #ae9364;
}
.hd-btn_second:hover {
    background: linear-gradient(180deg, #fff 0%, #fff 100%);
    color: #867050;
}
.hd-head {
    margin-bottom: 5px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hd-subhead {
    margin-bottom: 5px;
    color: #867050;
    font-size: 20px;
    font-style: italic;
    line-height: 1.3;
    text-transform: capitalize;
}

@media (min-width: 865px) {
    .hd-section {
        padding: 80px 0;
    }
}










/* HEADER */
.bar-menu {
    display: flex;
    align-items: center;
}
.bar-list {
    display: none;
}
.logo-head {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-head__head {
    margin-bottom: 0;
}
.logo-head__link {
    display: block;
    padding: 10px;
}
.bar-buttons {
    border-top: 1px solid #d4d4d4;
}
.bar-buttons__inner {
    display: flex;
    align-items: center;
    height: 100%;
}
.bar-buttons__link {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 13px;
}
.bar-buttons__link:first-child {
    border-right: 1px solid #d4d4d4;
}

@media (min-width: 865px) {
    .main-header .container {
        background: transparent;
    }
    .top-bar {
        background-color: #2a2024;
    }
    .top-bar .col-lg-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .top-bar .col-lg-6.p-0 {
        padding-right: 15px;
        padding-left: 15px;
    }
    .bar-buttons {
        display: none;
    }
    .logo-head {
        justify-content: flex-start;
    }
    .logo-head__head {
        border-right: 1px solid rgba(255, 255, 255, 0.25);
    }
    .logo-head__link {
        padding-right: 15px;
    }
    .bar-list {
        display: block;
    }
    .bar-list .socials-list {
        margin-bottom: 0;
        height: 50px;
        align-items: center;
        justify-content: flex-end;
    }

    /* #header */
    #header {
        background: transparent;
        position: absolute;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.75);
    }
    #header.scrolled {
        background: rgba(255, 255, 255, 0.75);
        position: fixed;
        top: 0;
    }
    #header.scrolled #secondary-navigation > nav > ul > li:hover > a,
    #header.scrolled #secondary-navigation > nav > ul > li.current-menu-item > a,
    #header.scrolled #secondary-navigation a {
        color: #2a2024!important;
    }
	#header.scrolled #secondary-navigation li li a {
        color: #fff!important;
    }


    #header #secondary-navigation > nav > ul > li:hover > a,
    #header #secondary-navigation > nav > ul > li.current-menu-item > a,
    #header #secondary-navigation a {
        color: #2a2024!important;
    }
    #header #secondary-navigation li li a {
        color: #fff!important;
    }
}

/* HERO-SLIDER * PRIMARY-SLIDER */
.primary-slider-container {
    float: none;
    width: 100%;
    margin: 0;
    max-width: 100%;
}

.hero-slider.owl-carousel .owl-stage-outer,
.hero-slider.owl-carousel .owl-stage,
.hero-slider.owl-carousel .owl-item,
.hero-slider__item {
    height: 100%;
}
.hero-slider__overlay {
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.60) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.60) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.60) 100%);
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.hero-slider__overlay_top {
    background: -moz-linear-gradient(bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.60) 100%);
    background: -webkit-linear-gradient(bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.60) 100%);
    background: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.60) 100%);
    top: 0;
    bottom: inherit;
}
.hero-slider.primary-slider .slide-caption {
    width: calc(100% - 30px);
    padding: 0;
    bottom: 55px;
    text-align: left;
    background: none;
    z-index: 1;
}
.hero-slider.primary-slider .owl-controls .owl-dots {
    width: calc(100% - 30px);
    left: 15px;
    bottom: 0;
    top: inherit;
    height: 50px;
    border-top: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider.primary-slider .owl-controls .owl-dot {
    display: flex;
    flex-direction: column;
}
.hero-slider.primary-slider .owl-controls .owl-dot::after {
    content: url(../assets/polygon.svg);
    display: inline-block;
    width: 21px;
    height: 23px;
}
.hero-slider.primary-slider .owl-controls .owl-dot.active::after {
    content: url(../assets/polygon-filled.svg);
}
.hero-slider.primary-slider .owl-controls .owl-dot span {
    display: none;
}
.hero-slider__item {
    background-position: center;
    background-size: cover;
}
.hero-slider__head {
    font-size: 22px;
    text-indent: -5px;
}
.hero-slider__link {
    color: #fff;
}

/* HD-BOOK */
.hd-book {
    display: none;
}

@media (min-width: 865px) {
    .hd-book {
        display: block;
    }
    .hd-book__inner {
        position: absolute;
        width: calc(100% - 30px);
        text-align: center;
        top: -20px;
        z-index: 10;
    }
    .hd-book__inner .hd-btn {
        display: flex;
        padding: 14px 30px;
        max-width: 220px;
        margin: auto;
        justify-content: center;
    }
}

/* HD-WELCOME */
.hd-welcome__item a {
    margin-top: 20px;
    margin-bottom: 20px;
}
.hd-welcome__item_content {
    padding-right: 55px;
}
.hd-welcome__title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (min-width: 865px) {
    .hd-welcome .hd-frame {
        display: flex;
    }
    .hd-welcome .hd-frame::before {
        left: 30px;
        z-index: -1;
    }
    .hd-welcome__item:nth-child(1) {
        flex: 0 0 60%;
        max-width: 60%;
    }
    .hd-welcome__item:nth-child(2) {
        flex: 0 0 40%;
        max-width: 40%;
    }
    .hd-welcome__title {
        margin-top: 0;
    }
    .hd-welcome__item_content {
        padding-right: 40px;
        padding-left: 40px;
    }
    .hd-welcome__item_content p {
        font-size: 14px;
    }
    .hd-welcome__item_content p:last-child {
        margin-bottom: 0;
    }
}

/* HD-SERVICES */
.hd-services__list {
    display: flex;
    overflow-x: auto;
}
.hd-services__item {
    position: relative;
    flex: 0 0 70%;
    margin-bottom: 40px;
    z-index: 2;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    height: 58vw;
}
/* .hd-services__link {
    display: block;
} */
.hd-services__link::after {
    content: '';
    position: absolute;
    display: block;
    border: 1px solid #ae9364;
    left: calc((100% - 40px) / 10 + 40px/2);
    width: calc((100% - 40px) / 10 * 8);
    top: 10%;
    height: 80%;
    pointer-events: none;
}
.hd-services__image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hd-services__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 150%;
    max-height: 150%;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: transform 0.4s ease-in;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}
.hd-services__overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: calc(100% - 40px);
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 20px;
}
.hd-services__content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.hd-services__title {
    margin-bottom: 0;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 16px;
    color: #fff;
    text-transform: uppercase;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    transition: transform 0.4s ease-in;
}
.hd-services__title + i {
    transition: opacity 0.4s ease-in;
    opacity: 0;
    display: block;
}
.hd-services__link:hover .hd-services__img {
    transition: transform 0.4s ease-in;
    -webkit-transform: translate(-50%, -50%) scale(1.2);
    transform: translate(-50%, -50%) scale(1.2);
}
.hd-services__link:hover .hd-services__title {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    transition: transform 0.4s ease-in;
}
.hd-services__link:hover .hd-services__title + i {
    opacity: 1;
}
.services-square__content {
    padding-left: 15px;
    padding-right: 15px;
}
.services-square__head {
    color: #4a4a4a;
}

@media (min-width: 865px) {
    .hd-services__list {
        flex-wrap: wrap;
        overflow-x: inherit;
    }
    .hd-services__item {
        position: relative;
        flex: 0 0 25%;
        margin-bottom: 40px;
        z-index: 2;
        min-height: 1px;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
        height: 200px;
    }
    .hd-services__item:nth-child(2) {
        margin-top: 80px;
        margin-right: 50%;
    }
    .hd-services__item_size-double {
        float: left;
        max-width: 33.33333%;
        flex: 0 0 33.33%;
        height: 275px;
        margin-left: 8.333%;
    }
    .services-square {
        position: absolute;
        top: 0;
        right: 0;
        width: 400px;
        height: 400px;
    }
    .services-square__inner {
        height: 100%;
        padding: 0;
        position: relative;
    }
    .services-square__inner::before {
        content: '';
        border: 10px solid rgba(134, 112, 80, 0.1);
        box-sizing: border-box;
        display: inline-block;
        height: 100%;
        left: -30px;
        position: absolute;
        right: auto;
        top: 0;
        width: 100%;
        pointer-events: none;
    }
    .services-square__content {
        height: 100%;
        padding: 0;
        position: relative;
        left: -30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 80%;
        margin: auto;
    }
    .services-square__head {
        font-size: 32px;
    }
}

/* HD-TESTI */
.hd-testi__carousel {
    margin-bottom: 80px;
}
.hd-testi__bottom {
    text-align: center;
}
.ts-carousel .slide-count {
    margin: 0 10px;
}
.ts-carousel__item {
    margin: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #d4d4d4;
}
.ts-carousel__head {
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ts-carousel__subhead {
    margin-bottom: 10px;
    color: #867050;
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.3;
    text-transform: capitalize;
}
.ts-carousel__para {
    margin-bottom: 10px;
}
.ts-carousel__navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -35px;
    width: 100%;
}
.ts-carousel__navigation i {
    color: #867050;
}

/* HD-GROUP */
.hd-group__image {
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
}
.hd-group__item {
    border-bottom: 1px solid #d4d4d4;
    display: block;
    margin-bottom: 20px;
}
.hd-group__content {
    padding: 20px 0;
}

/* HD-SHARE */
.hd-share__inner {
    margin: 0 auto;
    max-width: 280px;
}
.hd-share__heading {
    margin-bottom: 15px;
    text-align: left;
}
.hd-share__head::after {
    margin: 20px auto 0 0;
}
.hd-share__bottom {
    margin-top: 10px;
    text-align: center;
}
.socials-list {
    margin-bottom: 20px;
    display: flex;
}
.socials-list__item {
    margin-right: 10px;
    display: inline-block;
    line-height: 0;
}
.socials-list__link {
    display: inline-block;
    width: 36px;
    height: 36px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #ae9364;
}
.socials-list__link::before {
    font-family: FontAwesome;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.insta-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.insta-gallery__image {
    display: flex;
    flex-direction: column;
}
.insta-gallery__item {
    margin-bottom: 20px;
    display: flex;
    flex: 0 0 50%;
    max-width: 50%;
    max-width: 130px;
    max-height: 130px;
    overflow: hidden;
}

@media (min-width: 865px) {
    .hd-share__inner {
        max-width: 100%;
    }
    .insta-gallery {
        justify-content: flex-start;
    }
    .insta-gallery__item {
        margin-right: 20px;
    }
    .insta-gallery__item:last-child {
        margin-right: 0;
    }
}

/* MAIN-FOOTER */
.main-footer {
    padding-bottom: 30px;
}
.main-footer,
.main-footer p,
.main-footer a {
    font-size: 15px;
    color: #f2f2f2;
    letter-spacing: 0;
}
.main-footer p {
    margin-bottom: 10px;
}
.main-footer a {
    margin-bottom: 0;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}
.main-footer h3 {
    padding: 10px 0;
    font-size: 13px;
    letter-spacing: 1.4px;
    line-height: 16px;
    text-transform: uppercase;
    font-style: normal;
    margin-bottom: 0;
    color: #828387;
}
.main-footer__copyr {
    text-align: center;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 20px;
    padding-top: 15px;
}

@media (min-width: 768px) {
    .main-footer h3 {
        padding-top: 0;
    }
}
