/*
Theme Name: Yavorsky
Text Domain: twentytwenty
Version: 2.0
Requires PHP: 5.2.4
Author: ADV

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

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.
*/

/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

html,
body {
    border: none;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td,
div {
    border: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

blockquote::before,
blockquote::after {
    content: "";
}


/* -------------------------------------------------------------------------- */


/*	1. Document Setup
/* -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    color: #000;
    font-family: 'Open Sans', sans-serif;
    text-align: left;
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}

*,
*::before,
*::after {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

#site-content {
    overflow: hidden;
}


/* Screen Reader Text ------------------------ */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal;
}

.screen-reader-text:focus {
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* GALLERIES */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 3em 0 3em -0.8em;
    width: calc(100% + 1.6em);
}

.gallery-item {
    margin: 0.8em 0;
    padding: 0 0.8em;
    width: 100%;
}

.gallery-caption {
    display: block;
    margin-top: 0.8em;
}


/* -------------------------------------------------------------------------- */


/*	3. Helper Classes
/* -------------------------------------------------------------------------- */


/* Layout ------------------------------------ */

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.screen-height {
    min-height: 100vh;
}

.admin-bar .screen-height {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .screen-height {
        min-height: calc(100vh - 46px);
    }
}

.screen-width {
    position: relative;
    left: calc(50% - 50vw);
    width: 100vw;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

.search-form {
    display: none;
}

/* Sections ---------------------------------- */

section {
    width: 100%;
}

.section-inner,
article.type-page {
    margin: 0 auto;
    max-width: 1170px;
}

@media (max-width: 1250px) {
    .section-inner,
    article.type-page {
        margin: 0 5%;
    }
}


.section-title {
    display: inline-block;
    position: relative;
    margin: 80px 0;
    padding-left: 50px;
    color: #6c6a6a;
    font-weight: normal;
    font-size: 24px;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .section-title {
        margin: 40px 0;
    }
}

.section-title .icon {
    position: absolute;
    width: 26px;
    height: 33px;
    top: 7px;
    left: 15px;
    background: url("assets/images/dark-tooth.png") no-repeat;
    background-size: cover;
}

.section-title:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: radial-gradient(ellipse at 100%, #3e3e3e, transparent);
}

.section-title:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 39px;
    width: 87%;
    height: 2px;
    background: radial-gradient(ellipse at 100%, transparent, #3e3e3e);
}

.section-inner.max-percentage {
    width: 100%;
}


.section-inner.no-margin {
    margin: 0;
}

article.type-page {
    font-size: 14px;
    padding-bottom: 50px;
}

article.type-page h1 {
    font-size: 22px;
}

/* Toggles ----------------------------------- */

.toggle {
    -moz-appearance: none;
    -webkit-appearance: none;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align: inherit;
    user-select: none;
}

button.toggle {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: inherit;
    padding: 0;
    text-transform: none;
    outline: none;
}

button.toggle .toggle-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 4px;
    background-color: #000;
}

button.toggle .toggle-icon:before,
button.toggle .toggle-icon:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #000;
    left: 0;
}

button.toggle .toggle-icon:before {
    top: -10px;
}

button.toggle .toggle-icon:after {
    bottom: -10px;
}


/* Hiding and Showing ------------------------ */

.js .show-js {
    display: block !important;
}

.js .hide-js {
    display: none !important;
}

.no-js .show-no-js {
    display: block !important;
}

.no-js .hide-no-js {
    display: none !important;
}


/* Hidden blocks -------------------------------------- */

.search-modal,
.search-toggle,
.widget_search {
    display: none;
}


/* Menu modal ----------------------------------------- */

.menu-modal {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    /*height: 100%;*/
    height: 100vh;
    background: #fff;
    z-index: 999;
    transition: all 0.5s ease;
}

.menu-modal.active {
    right: 0;
}

.mobile-nav-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
}

.menu-modal .menu-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10% 10% 15% 10%;
    justify-content: space-between;
    align-items: flex-end;
}

.menu-modal .menu-wrapper .modal-menu {
    list-style: none;
    text-align: right;
}

.menu-modal .menu-wrapper .modal-menu .menu-item {
    margin: 20px 0;
    position: relative;
}

.menu-modal .menu-wrapper .modal-menu .menu-item a {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #59616d;
    outline: none;
}


.menu-modal .menu-wrapper .modal-menu .menu-item a:active:before {
    position: absolute;
    content: '';
    width: 102%;
    height: 3px;
    bottom: -4px;
    left: -1%;
    background: radial-gradient(#000, #fff);
}

.toggle.close-nav-toggle .icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: block;
}

.toggle.close-nav-toggle .icon:before,
.toggle.close-nav-toggle .icon:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 4px;
    background-color: #000;
    transform: rotate(45deg);
    top: 12px;
}

.toggle.close-nav-toggle .icon:after {
    transform: rotate(-45deg);
}


/* Header ----------------------------------------- */

.header {
    background-color: #fff;
}

@media screen and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        width: 100%;
    }
}

.header .site-logo img {
    display: block;
}

@media screen and (max-width: 768px) {
    .header .site-logo img {
        width: auto;
        max-height: 50px;
    }
}

.header .header-titles-wrapper {
    padding: 20px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ececec;
}

@media screen and (max-width: 768px) {
    .header .header-titles-wrapper {
        border-bottom: 0;
        padding: 10px 0;
    }
}

.header .header-contacts-wrapper {
    display: flex;
    align-items: center;
}

.header .header-contacts-wrapper {
    font-size: 14px;
    color: #252525;
}

.header .header-contacts-wrapper a {
    color: inherit;
    text-decoration: none;
}

.header .schedule-widget,
.header .header-contacts {
    position: relative;
    margin: 0 15px;
    padding-left: 60px;
}

.header .schedule-widget::before,
.header .header-contacts::before {
    position: absolute;
    content: '';
    top: -2px;
    left: 0;
    width: 43px;
    height: 43px;
}

.header .schedule-widget::before {
    background: url("assets/images/schedule-icon.png") no-repeat;
}

.header .header-contacts::before {
    background: url("assets/images/contacts-icon.png") no-repeat;
}

.header-navigation-wrapper {
    padding: 40px 0 35px 0;
    display: flex;
    justify-content: space-between;
}

.header .primary-menu {
    display: flex;
    list-style-type: none;
}

.header .primary-menu .menu-item {
    margin: 0 20px;
    position: relative;
}

.header .primary-menu .menu-item.current-menu-item:before,
.header .primary-menu .menu-item:hover:before {
    position: absolute;
    content: '';
    width: 102%;
    height: 3px;
    bottom: -4px;
    left: -1%;
    background: radial-gradient(#000, #fff);
}

.header .primary-menu .menu-item:first-of-type {
    margin-left: 0;
}

.header .primary-menu .menu-item a {
    text-transform: uppercase;
    color: #59616d;
    text-decoration: none;
    font-size: 16px;
}

.header .primary-menu .menu-item.current-menu-item a {
    color: #444958;
    font-weight: 600;
}


/* Social links ********************************************************************/

.social-links-menu {
    display: flex;
    list-style: none;
}

.social-links-menu .social-links-menu-item {
    margin: 0 5px;
}

.social-links-menu .social-links-menu-item a {
    font-size: 0;
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: left;
}

.header .social-links-menu .social-links-menu-item a.facebook-icon {
    background-image: url("assets/images/facebook.png");
}

.header .social-links-menu .social-links-menu-item a.instagram-icon {
    background-image: url("assets/images/instagram.png");
}

.footer .social-links-menu {
    margin: 10px 0;
}

.footer .social-links-menu .social-links-menu-item a.facebook-icon {
    background-image: url("assets/images/facebook-white.png");
}

.footer .social-links-menu .social-links-menu-item a.instagram-icon {
    background-image: url("assets/images/instagram-white.png");
}


/* Home banner ********************************************************************/
.home-banner-section {
    position: relative;
    background: url("http://www.yavorsky.com.ua/wp-content/uploads/2020/08/home-banner.png") no-repeat;
    background-size: cover;
    height: calc(100vw / 2.5);
}

.home-banner-section .home-banner {
    display: block;
    width: 100%;
}

/*.home-banner-section .home-banner-text {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    height: 72%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: flex-end;*/
/*    align-items: flex-end;*/
/*    margin: 0 15%;*/
/*    text-transform: uppercase;*/
/*    color: #5d636e;*/
/*    font-size: 24px;*/
/*    font-weight: 600;*/
/*    text-align: right;*/
/*}*/

.home-banner-section .home-banner-text {
    height: 100%;
    padding: 75px 40px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-transform: uppercase;
    color: #5d636e;
    font-size: 24px;
    font-weight: 600;
    text-align: right;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .home-banner-section {
        height: auto;
        overflow: hidden;
        background: url("assets/images/home-banner-mobile.png") no-repeat;
        background-size: cover;
    }

    .home-banner-section .home-banner-text {
        margin: 25px;
        padding: 10px;
        text-align: center;
        /*text-align: left;*/
        background: #f5f5f5;
        opacity: 0.8;
        font-size: 18px;
        align-items: center;
    }
}

.home-banner-section .home-banner-text .sub-text {
    margin: 20px 0 30px 0;
    font-size: 18px;
    font-weight: 100;
    color: #585e6e;
}

.button-order-call {
    position: relative;
    background: #65708f;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    padding: 13px 25px 15px 70px;
    border-radius: 30px;
    border: 1px solid #fff;
    cursor: pointer;
    outline: none;
}

.button-order-call .icon {
    position: absolute;
    width: 26px;
    height: 33px;
    top: 10px;
    left: 35px;
    background: url(assets/images/white-tooth.png) no-repeat;
    background-size: cover;
}

.button-order-call:before {
    position: absolute;
    content: '';
    bottom: 13px;
    left: 21px;
    width: 20px;
    height: 2px;
    background: radial-gradient(ellipse at 100%, #fff, transparent);
}

.button-order-call:after {
    position: absolute;
    content: '';
    bottom: 13px;
    left: 57px;
    width: 65%;
    height: 2px;
    background: radial-gradient(ellipse at -100%, #fff 55%, transparent);
}

.home-banner-section .button-order-call:after {
    width: 50%;
}

.button-order-call:hover {
    background-color: #5f6781;
}

.button-order-call:active {
    background-color: #5c637e;
}

/* Footer ********************************************************************/
.footer {
    background-color: #555861;
    border-top: 3px solid #fff;
    color: #fff;
    overflow: hidden;
}

.footer .footer-inner {
    padding: 30px 0 75px 0;
    border-bottom: 1px solid #86878c;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    color: #ececec;
}

@media screen and (max-width: 768px) {
    .footer .footer-inner {
        flex-direction: column;
    }
}

.footer .footer-inner h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 35px;
}

@media screen and (max-width: 768px) {
    .footer .footer-inner h4 {
        margin: 30px 0 15px 0;
    }

    .footer-contacts {
        display: flex;
        justify-content: space-between;
    }

    .social-links-wrapper {
        max-width: 130px;
        margin-top: 64px;
        text-align: right;
    }

    .social-links-menu {
        justify-content: flex-end;
    }

    .footer .footer-menu .menu-item {
        display: inline-block;
        margin: 0 5px;
    }

    .footer .footer-menu .menu-item:first-of-type {
        margin-left: 0;
    }

    .footer .footer-menu .menu-item:last-of-type {
        margin-right: 0;
    }
}

.footer .footer-copyright .site-description {
    max-width: 170px;
    margin: 10px 0 50px 0;
}

@media screen and (max-width: 768px) {
    .footer .footer-copyright .site-description {
        max-width: none;
        margin-bottom: 20px;
    }
}

.footer .footer-contacts p {
    margin-bottom: 20px;
}

.footer .footer-contacts .phone,
.footer .footer-contacts .email {
    padding-left: 20px;
    position: relative;
    color: inherit;
}

.footer .footer-contacts .phone:before {
    position: absolute;
    content: '';
    top: 5px;
    left: 0;
    width: 12px;
    height: 12px;
    background: url("assets/images/phone-footer.png") no-repeat;
}

.footer .footer-contacts .email:before {
    position: absolute;
    content: '';
    top: 6px;
    left: 0;
    width: 14px;
    height: 10px;
    background: url("assets/images/email-footer.png") no-repeat;
}

.footer .footer-menu {
    list-style: none;
}

.footer .footer-menu .menu-item {
    margin-bottom: 10px;
}

.footer .footer-menu a {
    color: inherit;
    text-decoration: none;
}

.footer .footer-menu a:hover {
    text-decoration: underline;
}

.footer .footer-order-call-form-wrapper .inputs-row {
    display: flex;
    margin: 20px 0;
}

.footer .footer-order-call-form-wrapper .inputs-row .wpcf7-form-control-wrap {
    width: 50%;
    margin: 0 5px;
}

.footer .footer-order-call-form-wrapper .wpcf7 form .wpcf7-response-output,
.modal-order-call .modal-order-call-content .wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
    border: 0;
    width: 450px;
}

@media screen and (max-width: 768px) {
    .footer .footer-order-call-form-wrapper .wpcf7 form .wpcf7-response-output {
        width: 100%;
    }
}

.footer .footer-order-call-form-wrapper .wpcf7 form.sent .wpcf7-response-output,
.modal-order-call .modal-order-call-content .wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
}

.footer .footer-order-call-form-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.footer .footer-order-call-form-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
.modal-order-call .modal-order-call-content .wpcf7 form.invalid .wpcf7-response-output,
.modal-order-call .modal-order-call-content .wpcf7 form.unaccepted .wpcf7-response-output {
    color: red;
}

.footer .footer-order-call-form-wrapper .wpcf7-not-valid-tip,
.modal-order-call .modal-order-call-content .wpcf7-not-valid-tip {
    color: red;
    font-size: 13px;
}

.footer .footer-order-call-form-wrapper input {
    padding: 15px;
    width: 100%;
    font-size: 14px;
    background-color: #e0e0e0;
    outline: none;
    border: 0;
}

.footer .footer-order-call-form-wrapper .inputs-row .wpcf7-form-control-wrap:last-of-type {
    margin-right: 0;
}

.footer .footer-order-call-form-wrapper .inputs-row .wpcf7-form-control-wrap:first-of-type {
    margin-left: 0;
}

.footer .footer-order-call-form-wrapper button,
.modal-order-call .modal-order-call-content button {
    width: 100%;
    color: #fff;
    background: #9d9fa5;
    border: 0;
    outline: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    padding: 15px 0;
}

.footer .footer-order-call-form-wrapper button span,
.modal-order-call .modal-order-call-content button span {
    position: relative;
    display: inline-block;

}

.footer .footer-order-call-form-wrapper button span:before,
.modal-order-call .modal-order-call-content button span:before {
    position: absolute;
    content: '';
    background: url("assets/images/button-bg-long.png") no-repeat;
    width: 134px;
    height: 27px;
    top: 0;
    left: -32px;
}

.footer .footer-order-call-form-wrapper button:hover,
.modal-order-call .modal-order-call-content button:hover {
    background-color: #86878a;
}

.footer .footer-order-call-form-wrapper button:active,
.modal-order-call .modal-order-call-content button:active {
    background-color: #777777;
}

/* Benefits panels ********************************************************************/
.benefits-panel-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 115px 0;
}

@media screen and (max-width: 768px) {
    .benefits-panel-wrapper {
        flex-direction: column;
        margin: 80px 0 50px 0;
    }
}

.benefits-panel {
    position: relative;
    max-width: 370px;
    min-height: 170px;
    padding: 55px 30px 10px 30px;
    background-color: #f5f5f5;
    color: #999999;
    font-size: 14px;
}

.benefits-panel:hover {
    background-color: #e2e8ee;
}

.benefits-panel.atmosphere {
    margin: 0 5px;
}

@media screen and (max-width: 768px) {
    .benefits-panel.atmosphere {
        margin: 45px 0;
    }
}

.benefits-panel .title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #59617a;
    margin-bottom: 25px;
}

.benefits-panel .icon {
    position: absolute;
    top: -30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background-color: #65708f;
    border: 5px solid #fff;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.benefits-panel.equipment .icon {
    background-image: url("assets/images/equipment-icon.png");
}

.benefits-panel.atmosphere .icon {
    background-image: url("assets/images/atmosphere-icon.png");
    background-position: 15px 7px;
}

.benefits-panel.price .icon {
    background-image: url("assets/images/price-icon.png");
}

/* About us ********************************************************************/
.about-us-section {
    background: #ccd4dd url("assets/images/about-us-bg.png") no-repeat -120px -80px;
    background-size: 65%;
}

@media only screen and (max-width: 1680px) {
    .about-us-section {
        background: #ccd4dd url("assets/images/about-us-bg.png") no-repeat -195px -80px;
        background-size: 75%;
    }
}

@media only screen and (max-width: 1440px) {
    .about-us-section {
        background: #ccd4dd url("assets/images/about-us-bg.png") no-repeat -217px -75px;
        background-size: 80%;
    }
}

@media only screen and (max-width: 1366px) {
    .about-us-section {
        background: #ccd4dd url("assets/images/about-us-bg.png") no-repeat -325px -80px;
        background-size: 90%;
    }
}


.about-us-section .section-inner {
    display: flex;
    justify-content: flex-end;
}

.about-us-section .section-title {
    display: inline-block;
    position: relative;
    margin: 0 0 50px 0;
    padding-left: 50px;
    color: #fff;
    font-weight: normal;
    font-size: 24px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #8e8e8e;
}

.about-us-section .section-title .icon {
    position: absolute;
    width: 26px;
    height: 33px;
    top: 7px;
    left: 15px;
    background: url("assets/images/white-tooth.png") no-repeat;
    background-size: cover;
}

.about-us-section .section-title:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: radial-gradient(ellipse at 100%, #fff, transparent);
    box-shadow: 0 1px 1px 0 #a7a7a7;
}

.about-us-section .section-title:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 37px;
    width: 80%;
    height: 2px;
    background: radial-gradient(ellipse at -100%, #fff 55%, transparent);
    box-shadow: 0 1px 1px 0 #a7a7a7;
}

.about-us-wrapper {
    position: relative;
    width: 47%;
    padding: 50px 0 50px 30px;
    background-color: #ccd4dd;
    z-index: 1;
}

.about-us-wrapper:before {
    position: absolute;
    content: '';
    top: 0;
    left: -70px;
    height: 100%;
    width: 147px;
    background: #ccd4dd;
    transform: skewX(-15deg);
    z-index: -1;
}

.about-us-section .mobile-photo {
    display: none;
}

@media screen and (max-width: 768px) {
    .about-us-wrapper:before {
        display: none;
    }

    .about-us-wrapper {
        width: 100%;
        padding: 0 0 30px 0;
    }

    .about-us-section {
        background: #ccd4dd;
    }

    .about-us-section .section-inner {
        margin: 0;
    }

    .about-us-section .about-us-content{
        margin: 0 5%;
    }

    .about-us-section .about-us-title {
        display: flex;
        justify-content: center;
    }

    .about-us-section .about-us-title .section-title {
        display: inline-block;
        margin: 30px 0;
    }

    .about-us-section .mobile-photo {
        display: block;
        height: calc(100vw / 1.8);
        background: url("assets/images/about-us-bg-mobile.png") no-repeat;
        background-size: cover;
        margin-bottom: 20px;
    }
}

.about-us-wrapper p {
    color: #3e3e3e;
    font-size: 16px;
    font-style: italic;
}

.about-us-wrapper h1 {
    font-weight: 600;
    margin-bottom: 25px;
    font-style: italic;
}

.about-us-wrapper ul {
    margin-top: 25px;
    color: #3e3e3e;
    font-size: 16px;
    font-style: italic;
    list-style-position: inside;
    list-style-image: url("assets/images/smile.png");
}

.about-us-wrapper ul li {
    margin-bottom: 25px;
}

/* Services ********************************************************************/
.services-wrapper {
    padding-bottom: 125px;
    background: url("assets/images/services-bg.png") no-repeat bottom center;
    display: grid;
    grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
    grid-gap: 20px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .services-wrapper {
        background: none;
        display: flex;
        flex-direction: column;
        padding-bottom: 50px;
    }
}

.services-wrapper .service-item .title {
    position: relative;
    color: #535353;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 25px;
    padding-left: 65px;
}

.services-wrapper .service-item .title .icon {
    position: absolute;
    top: -14px;
    left: 0;
    width: 52px;
    height: 52px;
    background-color: #c4cbd4;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.services-wrapper .service-item.service-1 .title .icon {
    background-image: url("assets/images/service-1.png");
    background-position: 7px 2px;
}

.services-wrapper .service-item.service-2 .title .icon {
    background-image: url("assets/images/service-4.png");
}

.services-wrapper .service-item.service-2 {
    grid-area: 1/2/4/3;
}

.services-wrapper .service-item.service-3 .title .icon {
    background-image: url("assets/images/service-5.png");
}

.services-wrapper .service-item.service-4 .title .icon {
    background-image: url("assets/images/service-2.png");
}

.services-wrapper .service-item.service-5 .title .icon {
    background-image: url("assets/images/service-6.png");
}

.services-wrapper .service-item.service-6 .title .icon {
    background-image: url("assets/images/service-3.png");
}

.services-wrapper .service-item.service-7 .title .icon {
    background-image: url("assets/images/service-7.png");
}

.services-wrapper .service-item p {
    color: #6a6a6a;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Order call ********************************************************************/
.order-call-section {
    background: url("assets/images/order-call-bg.png") no-repeat;
    background-size: cover;
    overflow: hidden;
}

.order-call-wrapper {
    margin: 50px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .order-call-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .order-call-wrapper .button-order-call {
        margin: 20px 0;
    }
}


.order-call-wrapper p {
    font-size: 28px;
    font-style: italic;
    color: #494949;
}

.order-call-wrapper p span {
    color: #65708f;
    font-size: 30px;
    font-style: italic;
    font-weight: 600;
}


/* Team ********************************************************************/
.team-section {
    padding-bottom: 50px;
}

.team-section p {
    font-size: 16px;
    font-style: italic;
    color: #6a6a6a;
    text-align: center;
    margin-bottom: 10px;
}

.team-section .owl-carousel {
    margin: 50px 0;
}

.team-section .owl-carousel .owl-item .team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-section .owl-carousel .owl-item .team-item .photo {
    width: 280px;
    height: 280px;
    overflow: hidden;
    border-radius: 50%;
}

.team-section .owl-carousel .owl-item .team-item .photo img {
    display: block;
}

.team-section .owl-carousel .owl-item .team-item .name {
    margin: 30px 0 15px 0;
    text-align: center;
    color: #494949;
    font-size: 22px;
    font-weight: 600;
}

.team-section .owl-carousel .owl-item .team-item .specialisation {
    margin: 0;
    text-align: center;
    color: #6f6f6e;
    font-size: 18px;
    font-style: normal;
}

.team-section #team_slider.sa_owl_theme .owl-nav .owl-prev {
    left: -35px;
    top: 145px;
    outline: none;
    background: url("assets/images/icon-prev.png") no-repeat center center !important;
}

@media screen and (max-width: 768px) {
    .team-section #team_slider.sa_owl_theme .owl-nav .owl-prev {
        left: -10px;
    }
}

.team-section #team_slider.sa_owl_theme .owl-nav .owl-prev:hover {
    background: url("assets/images/icon-prev-hover.png") no-repeat center center !important;
}

.team-section #team_slider.sa_owl_theme .owl-nav .owl-prev:active {
    opacity: 0.6;
}

.team-section #team_slider.sa_owl_theme .owl-nav .owl-next {
    right: -35px;
    top: 145px;
    outline: none;
    background: url("assets/images/icon-next.png") no-repeat center center !important;
}

@media screen and (max-width: 768px) {
    .team-section #team_slider.sa_owl_theme .owl-nav .owl-next {
        right: -10px;
    }
}

.team-section #team_slider.sa_owl_theme .owl-nav .owl-next:hover {
    background: url("assets/images/icon-next-hover.png") no-repeat center center !important;
}

.team-section #team_slider.sa_owl_theme .owl-nav .owl-next:active {
    opacity: 0.6;
}

.team-section #team_slider.sa_owl_theme.autohide-arrows .owl-nav {
    display: block !important;
}

/* Information ********************************************************************/
.information-section {
    background: url("assets/images/info-bg.jpg") no-repeat;
    background-size: cover;
    overflow: hidden;
}

.information-wrapper {
    margin: 75px 0;
    padding: 45px;
    width: 75%;
    background-color: rgba(241, 246, 251, 0.85);
}

@media screen and (max-width: 768px) {
    .information-wrapper {
        width: 100%;
        padding: 30px;
        margin: 40px 0;
    }

    .information-wrapper .flex {
        flex-direction: column;
    }
}

.information-wrapper h3 {
    color: #4e4e4e;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.information-wrapper p {
    font-size: 14px;
    color: #717171;
}

.information-wrapper .information-item {
    position: relative;
    margin: 25px 10px 0 45px;
    flex: 1 1 100%;
}

.information-wrapper .information-item:before {
    position: absolute;
    content: '';
    width: 41px;
    height: 41px;
    top: 0;
    left: -45px;
    background: url("assets/images/check.png") no-repeat;
    background-size: cover;
}

.information-wrapper .information-item h4 {
    color: #686868;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}


/* Gallery ********************************************************************/
.gallery-section {
    padding-bottom: 50px;
}

.gallery-section .widget-title {
    display: none;
}

.gallery-section .bwg_container {
    margin: 0;
}

/* Modal order call ********************************************************************/
.modal-order-call {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.modal-order-call-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-order-call .modal-order-call-content {
    position: relative;
    background: #ffffff;
    margin: 20px;
    padding: 30px;
    text-align: center;
}

.modal-order-call .modal-order-call-content h4 {
    text-transform: uppercase;
}

.modal-order-call .modal-order-call-content p {
    margin: 20px 0;
}

.modal-order-call .modal-order-call-content .inputs-row {
    display: flex;
    flex-direction: column;
}

.modal-order-call .modal-order-call-content .inputs-row input {
    width: 100%;
    max-width: 300px;
    padding: 5px;
    margin: 5px 0;
    font-size: 18px;
}

.modal-order-call .modal-order-call-content button {
    max-width: 300px;
}

.modal-order-call .modal-order-call-content .wpcf7 form .wpcf7-response-output {
    width: auto;
    max-width: 400px;
    margin: 0 auto;
}

.modal-order-call .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.modal-order-call .close-button:hover {
    opacity: 0.7;
}

.modal-order-call .close-button:before,
.modal-order-call .close-button:after {
    position: absolute;
    content: '';
    top: 11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: rotate(45deg);
}

.modal-order-call .close-button:after {
    transform: rotate(-45deg);
}

/* 404 ********************************************************************/
.error404-content {
    text-align: center;
}

.error404-content p.digits {
    font-size: 200px;
    font-weight: bold;
}

.error404-content h1.entry-title {
    font-size: 30px;
}

.error404-content .intro-text {
    font-size: 20px;
    margin: 50px 0;
}

@media screen and (max-width: 768px) {
    .error404-content p.digits {
        font-size: 100px;
    }

    .error404-content h1.entry-title {
        font-size: 25px;
    }

    .error404-content .intro-text {
        font-size: 16px;
    }
}