/*
Theme Name: rubik
Version: 1.35
Author: rubik
Author URI: https://rubik.com.ua/
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone,
img.alignnone {
    margin: 1.5em 0;
    border-radius: 6px;
}

.aligncenter,
img.aligncenter {
    display: block;
    margin: 1.5em auto;
}

.alignleft,
img.alignleft {
    float: left;
    margin: 0.3em 1em 0.5em 0;
    max-width: 40%;
}

.alignright,
img.alignright {
    float: right;
    margin: 0.3em 0 0.5em 1em;
    max-width: 40%;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}


@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Light.woff2') format('woff2'),
    url('fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Regular.woff2') format('woff2'),
    url('fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Medium.woff2') format('woff2'),
    url('fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Semibold.woff2') format('woff2'),
    url('fonts/Gilroy-Semibold.woff') format('woff');
    font-weight: 600;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Bold.woff2') format('woff2'),
    url('fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Extrabold.woff2') format('woff2'),
    url('fonts/Gilroy-Extrabold.woff') format('woff');
    font-weight: 800;
}

body {
    font-family: "Gilroy", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #030405;
    cursor: default;
    font-weight: 400;
    overflow-y: scroll !important;
    padding-right: 0 !important;
}

body.hidden {
    overflow: hidden !important;
}

blockquote{
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #030405;
}
blockquote > p:last-child{
    margin-bottom: 0px;
}
.body-mask {
    opacity: 0;
    position: fixed;
    left: -9999px;
    top: 0;
    background: rgba(35, 31, 31, 0.6);
    z-index: 990;
    transition: opacity 0.2s ease;
}

.body-mask.active {
    opacity: 1;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-open .modal {
    padding-right: 0 !important;
}

.pum-open {
    overflow-y: scroll !important;
}

html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {
    overflow-y: auto;
}

/*ColBack*/
.container-circle {
    position: fixed;
    bottom: 150px;
    right: 60px;
    z-index: 99;
}

@-webkit-keyframes spinfon {
    0% {
        -moz-transform: rotate(160deg);
        opacity: 0;
        box-shadow: 0 0 1px #A99D90;
    }
    50% {
        -moz-transform: rotate(145deg);
        opacity: 0.7;
    }
    100% {
        -moz-transform: rotate(-320deg);
        opacity: 0;
    }
}

@-moz-keyframes spinfon {
    0% {
        -moz-transform: rotate(160deg);
        opacity: 0;
        box-shadow: 0 0 1px #A99D90;
    }
    50% {
        -moz-transform: rotate(145deg);
        opacity: 0.7;
    }
    100% {
        -moz-transform: rotate(-320deg);
        opacity: 0;
    }
}

@keyframes spinfon {
    0% {
        -moz-transform: rotate(160deg);
        opacity: 0;
        box-shadow: 0 0 1px #A99D90;
    }
    50% {
        -moz-transform: rotate(145deg);
        opacity: 0.7;
    }
    100% {
        -moz-transform: rotate(-320deg);
        opacity: 0;
    }
}

@-webkit-keyframes spintell {
    0% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -ms-transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
    }
    50% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    75% {
        -ms-transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }
    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-moz-keyframes spintell {
    0% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -ms-transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
    }
    50% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    75% {
        -ms-transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }
    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes spintell {
    0% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -ms-transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
    }
    50% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    75% {
        -ms-transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }
    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.circle {
    animation: spinfon 1.4s infinite linear;
    -moz-animation: spinfon 1.4s infinite ease-in-out;
    -webkit-animation: spinfon 1.4s infinite linear;
    border-radius: 50%;
    height: 50px;
    margin: 0 auto;
    width: 50px;
    box-shadow: 0 0 8px 35px #0d6efd;
}

.circleout {
    animation: spintell 2s infinite linear;
    -webkit-animation: spintell 2s infinite linear;
    -moz-animation: spintell 2s infinite linear;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    line-height: 55px;
    height: 55px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: -52px;
    width: 55px;
    cursor: pointer;
    background-color: #0d6efd;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.circleout:hover {
    animation: spintell 0.5s infinite linear;
    -webkit-animation: spintell 0.5s infinite linear;
    -moz-animation: spintell 0.5s infinite linear;
}

/*END_ColBack*/

/*Reset*/
p {
    margin-bottom: 0;
}

textarea,
input {
    font-family: "Gilroy", sans-serif;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

button,
a {
    outline: none !important;
    transition: all .2s ease;
}

a {
    color: #0d6efd;
}

a:hover {
    color: #0a58ca;
}

iframe {
    max-width: 100%;
}

::selection {
    background: #0d6efd; /* Safari */
    color: #fff;
}

::-moz-selection {
    background: #0d6efd; /* Firefox */
    color: #fff;
}

/*h*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    font-weight: 500;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

h1, .h1 {
    font-size: 30px;
}

h2, .h2 {
    font-size: 28px;
}

h3, .h3 {
    font-size: 26px;
}

h4, .h4 {
    font-size: 24px;
}

/*END_Reset*/
/*Section_Content*/
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

article p {
    margin-bottom: 1rem;
}

article > h1:first-child,
article > h2:first-child,
article > h3:first-child,
article > h4:first-child {
    margin-top: 0 !important
}

article dl,
article ol,
article ul {
    margin-bottom: 1rem;
    padding-left: 25px;
    list-style-position: inside;
}

/*END_Section_Content*/

/*Modal*/
.modal .modal-header .modal-title {
    font-size: 28px;
    font-weight: 500;
    padding: 0.6em;
}

.modal .modal-header {
    position: relative;
    padding: 0;
}

.modal .modal-header .close {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #f00;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #fff;
    border-radius: 50%;
    opacity: 1;
}

.modal .modal-header .close img {
    width: 14px;
}

/*END_Modal*/

/*Contact_Form_7*/
.wpcf7-form {
    position: relative;
}

.wpcf7-form-control:not(.wpcf7-submit),
.form-control {
    font-size: 18px;
    padding: 15px;
    height: initial;
    line-height: 1;
    /*border: none;*/
    width: 100%;
    outline: none;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 0;
    color: #030405;
    font-weight: 400;
}

.modal .wpcf7-form-control:not(.wpcf7-submit) {
    background: #f3f3f3;
}

.wpcf7-form-control:not(.wpcf7-submit):focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(3, 4, 5, 0.4)
}

.wpcf7-submit {
    font-size: 18px !important;
    padding: 0.8em 2em !important;
}

.modal-body .not-poblish,
.wpcf7-form .not-poblish {
    font-size: 12px;
    line-height: 1.2;
    padding-top: 1.2em;
    text-align: center;
    display: block;
}

.wpcf7-form textarea {
    resize: none;
}

.wpcf7-form .ajax-loader {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.7);
    width: 100% !important;
    height: 100% !important;
    background-repeat: no-repeat;
    background-position: center;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 10px;
    position: absolute;
    left: 15px;
    bottom: 0px;
    font-weight: 600;
}

.wpcf7-form .wpcf7-validation-errors {
    display: none !important;
}

.wpcf7 form .wpcf7-response-output {
    font-size: 0.8em;
    border-radius: 6px;
    text-align: center;
    color: #030405;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background: #13bfb3;
    margin: 1em 0 0;
    text-align: center;
    padding: 0.5em 1em;
    font-size: 15px;
    border: none;
    color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #ba2549;
    background: transparent;
    color: #ba2549;
}

.wpcf7-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.wpcf7-spinner::before {
    width: 35px;
    background: #222222;
    height: 35px;
    position: static;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #46b450;
}

/*END_Contact_Form_7*/

/*Owl_Carousel*/
.owl-carousel .owl-nav > button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav .owl-prev {
    left: -24px;
}

.owl-carousel .owl-nav .owl-next {
    right: -24px;
}

.owl-carousel .owl-nav > button svg {
    font-size: 30px;
    opacity: 0.5;
    color: #231f1f;
    transition: all .2s ease;
}

.owl-carousel .owl-nav > button:hover svg {
    opacity: 1;
}

/*END_Owl_Carousel*/

/*Skroll_Top*/
.skroll_top {
    position: fixed;
    bottom: -30px;
    left: 30px;
    background: #152d3b;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    z-index: 99;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.skroll_top.fix {
    bottom: 30px;
    opacity: 0.5;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.skroll_top.fix:hover {
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.skroll_top a {
    color: #fff;
    font-size: 20px;
    display: flex;
    padding: 0;
    line-height: 0;
    width: 40px;
    height: 38px;
    text-align: center;
    align-items: center;
    text-decoration: none;
    justify-content: center;
}

/*END_Skroll_Top*/

/*Bootstrap and Basic styles*/
.container {
    max-width: 1440px !important;
}

.btn {
    border-radius: 6px;
    padding: 0.9em 1.5em;
    line-height: 1;
    font-size: 15px;
    font-weight: 500;
    border-width: 2px;
    transition: all 0.2s ease;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

.form-control:focus {
    border-color: #030405;
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #030405;
    border-color: #030405;
}

.btn-primary:hover {
    color: #030405;
    background-color: transparent;
    border-color: #030405;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: #030405;
    background-color: transparent;
    border-color: #030405;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #030405;
    box-shadow: none;
    background-color: transparent;
    border-color: #030405;
}


.btn-secondary {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}

.btn-secondary:hover {
    color: #030405;
    background-color: #fff;
    border-color: #fff;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    color: #030405;
    background-color: #fff;
    border-color: #fff;
}

.btn-secondary.focus,
.btn-secondary:focus {
    color: #030405;
    box-shadow: none;
    background-color: #fff;
    border-color: #fff;
}


.btn-light {
    color: #030405;
    background-color: #fff;
    border-color: #fff;
}

.btn-light:hover {
    color: #fff;
    background-color: #030405;
    border-color: #fff;
}

.btn-light:not(:disabled):not(.disabled).active:focus,
.btn-light:not(:disabled):not(.disabled):active:focus,
.show > .btn-light.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.show > .btn-light.dropdown-toggle {
    color: #fff;
    background-color: #030405;
    border-color: #fff;
}

.btn-light.focus,
.btn-light:focus {
    color: #fff;
    box-shadow: none;
    background-color: #030405;
    border-color: #fff;
}


/*Dropdown_Menu*/
.dropdown .dropdown-menu {
    display: block;
    left: -9999px;
    opacity: 0;
    margin: 0;
    padding: 0;
    min-width: 10px;
    transition: opacity 0.2s ease;
}

.dropdown:hover > .dropdown-menu {
    left: 0;
    opacity: 1;
}

header {
    height: 114px;
    transition: all .2s ease;
}

header.fixed {
    height: 62px;
}

.header-fixed {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 99;
    transition: all .2s ease;
}

.header-top {
    background: #030405;
    padding: 8px 0px 7px;
    transition: all .1s ease;
}

header.fixed .header-top {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.header-top__address svg {
    margin-right: 8px;
}

.header-top__address {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.1;
}

.header-top__address a {
    color: #fff;
    text-decoration: none;
}

.header-top__address a:hover {
    text-decoration: underline;
}

.header-top__time {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid #fff;
    line-height: 1.1;
}

.header-top__phone {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.header-top__phone:hover {
    color: #fff;
    text-decoration: underline;
}


#logo img {
    height: 75px;
    transition: all 0.2s ease;
}

header.fixed #logo img {
    height: 55px;
}

#top-nav-ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#top-nav-ul > li:nth-child(n+2) {
    margin-left: 45px;
}

#top-nav-ul > li > a {
    color: #030405;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 30px 0px 28px;
    display: block;
    line-height: 1.2;
    border-bottom: 3px solid transparent;
}

header.fixed #top-nav-ul > li > a {
    padding: 20px 0px 18px;
}

#top-nav-ul > li.current-menu-ancestor > a,
#top-nav-ul > li.active > a,
#top-nav-ul > li:hover > a {
    border-color: #030405;
}

#top-nav-ul > li > .dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    width: max-content;
    border: none;
    min-width: 200px;
}

#top-nav-ul > li > .dropdown-menu > li:nth-child(n+2) {
    border-top: 1px solid rgb(3, 4, 5, 10%);
}

#top-nav-ul > li > .dropdown-menu > li > a {
    text-decoration: none;
    padding: 8px 24px;
    color: #030405;
    font-weight: 400;
    font-size: 16px;
    display: block;
}

#top-nav-ul > li > .dropdown-menu > li.active > a,
#top-nav-ul > li > .dropdown-menu > li:hover > a {
    background: rgb(3, 4, 5, 5%);
}

.header-bottom {
    background: #fff;
}

.main-title {
    font-size: 50px;
    font-weight: 300;
    margin-top: 0;
    line-height: 1.2;
}

.main-title b {
    font-weight: 600;
}

.page-title {
    font-weight: 500;
}

.main-sign {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 300;
}

.main-sign-top {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 2rem;
}

.btn-show-search {
    background: transparent;
    padding: 0px;
    border: none;
    margin-left: 45px;
}

.modal-backdrop {
    z-index: 99;
}

.btn-search-submit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0px;
    border: none;
}

.search-form {
    margin-top: 15px;
}

.search-form input {
    border: 2px solid #030405;
    border-radius: 6px;
}

.search-form input:focus {
    border-color: #030405;
    box-shadow: none;
    outline: none;
}

.btn-close {
    color: #030405;
    opacity: 1;
}

.btn-close:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.header-top__btn-form {
    margin-left: 45px;
}


/* HOME */
.main-banner img {
    filter: brightness(0.3);
}

.main-banner video {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.25);
}

.main-banner__content {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 5;
}

.main-banner__title {
    font-weight: 600;
    font-size: 75px;
    line-height: 1;
    margin-bottom: 0.7em;
    line-height: 1.2;
    margin-top: 0;
}

.main-banner__text {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 2.4em;
    line-height: 1.2;
}

.btn-banner {
    padding: 0.8em 2em;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-banner svg {
    margin-left: 6px;
}

.btn-banner svg path {
    transition: all 0.2s ease;
}

.btn-banner:hover svg path {
    fill: #030405;
}

.main-banner__advantages {
    margin-top: 13em;
    margin-bottom: 20px;
}

.advantages__number {
    font-weight: 500;
    font-size: 44px;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.advantages__number svg {
    position: absolute;
    left: -24px;
    top: -10px;
}

.advantages__text {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
}

/*Services*/
.services-text {
    line-height: 1.8;
}

.services-item {
    overflow: hidden;
    border-radius: 6px;
}

.services-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(3, 4, 5, 50%);
    text-decoration: none;
}

.services-link:hover {
    background: rgb(3, 4, 5, 70%);
}

.services-title {
    display: flex;
    align-items: center;
    font-size: 36px;
    font-weight: 500;
    justify-content: space-between;
    color: #fff;
    padding: 30px 30px;
}

.services-link .services-title svg {
    transition: all .2s ease;
}

.services-link:hover .services-title svg {
    transform: rotate(45deg);
}

.services-number {
    color: rgba(255, 255, 255, 0.15);
    font-size: 250px;
    line-height: 1;
    font-weight: 400;
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
}

/*Company*/
.section-company {
    background: #030405;
    color: #fff;
}

.company-desc {
    font-size: 18px;
    font-weight: 300;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.company-image img {
    border-radius: 6px;
}

/*Section Form*/
.section-form {
    background: #030405;
    color: #fff;
}

.form-zapis {
    background: #fff;
    padding: 24px;
    border-radius: 6px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.form-zapis .wpcf7-form-control:not(.wpcf7-submit) {
    border: none;
}

/*News*/
.news-item {
    margin-bottom: 48px;
}

.news-item .news-img {
    overflow: hidden;
    border-radius: 6px;
}

.news-item .news-img img {
    filter: brightness(0.8);
    transition: all 0.2s ease;
}

.news-item .news-img:hover img {
    transform: scale(1.05);
}

.news-item .news-title {
    text-decoration: none;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    color: #030405;
    margin-top: 0.8em;
    display: block;
    margin-bottom: 0.6em;
}

.news-item .news-title:hover {
    color: #0a58ca;
}

.news-item .news-tags a {
    text-decoration: none;
    font-weight: 400;
    color: #030405;
    font-size: 14px;
}

.news-item .news-tags a:hover {
    color: #0a58ca;
}

/*Instagram*/
.section-instagram {
    background: #030405;
    color: #fff;
}

.link-insta {
    border-radius: 7px;
    overflow: hidden;
}

.link-insta img {
    transition: all 0.2s ease;
}

.link-insta:hover img {
    transform: scale(1.05);
}

/*Description*/
.title-description {
    font-weight: 500;
    font-size: 38px;
    margin-top: 0;
}

.content-scroll {
    font-weight: 300;
    height: 550px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 10px;
}

/*scroll*/
.content-scroll::-webkit-scrollbar {
    width: 6px;
}

.content-scroll::-webkit-scrollbar-track {
    color: #030405;
    background: #F0F0F0;
    border-radius: 2rem;
}

.content-scroll::-webkit-scrollbar-thumb {
    background: #030405;
    border-radius: 2rem;
}

/* Safari */
.content-scroll::selection {
    background: #030405;
    color: #F0F0F0;
    border-radius: 2rem;
}

/* Firefox */
.content-scroll::-moz-selection {
    background: #030405;
    color: #F0F0F0;
    border-radius: 2rem;
}

/* HOME */

/* CATEGORY NEWS */
.tag-filter {
    top: 80px;
    background: #F0F0F0;
    border-radius: 6px;
    position: sticky;
}

.tag-filter__title {
    font-weight: 600;
    font-size: 20px;
    color: #382924;
    padding: 20px 12px;
    border-bottom: 2px solid #fff;
}

.tag-filter__items-link {
    font-weight: 600;
    font-size: 18px;
    color: #382924;
    padding: 20px 12px;
    display: flex;
    position: relative;
}

.tag-filter__items-link:hover {
    color: #382924;
}

.tag-filter__items-link:before {
    content: '';
    margin-top: 4px;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #030405;
    background: #fff;
    margin-right: 12px;
}

.tag-filter__items-link:after {
    content: '';
    width: 14px;
    min-width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #030405;
    position: absolute;
    left: 15px;
    top: 27px;
    opacity: 0;
    transition: all 0.2s ease;
}

.tag-filter__items-link.active:after,
.tag-filter__items-link:hover:after {
    opacity: 1;
}

.pagination {
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
}

.pagination > li {
    margin: 0px 6px 6px 6px;
}

.pagination li.active > span,
.pagination li > a {
    border: none;
    background: #F0F0F0;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #382924;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    width: 38px;
    height: 38px;
}

.pagination li.active > span,
.pagination li > a:hover {
    background: #030405;
    color: #FFFFFF;
}

.pagination li > a:focus {
    box-shadow: none;
    outline: none;
}

/* CATEGORY NEWS */

/* NEWS PAGE */
.article__main-img {
    border-radius: 6px;
    filter: brightness(0.8);
}

.article__content {
    font-weight: 500;
    line-height: 2;
    text-align: justify;
}

/* NEWS PAGE */

/*Section_Footer*/
footer {
    background: #030405;
    color: #fff;
    margin-top: 3rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.section-footer {
    padding-top: 50px;
    padding-bottom: 40px;
}

.title-footer {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 1em;
    line-height: 1.2;
}

.bottom-menu {
    flex-direction: column;
}

.bottom-menu li {
    margin-bottom: 0.3em;
}

.bottom-menu li a {
    display: inline-block;
    line-height: 1.2;
    font-size: 16px;
    font-weight: 300;
}

.item-contacts {
    line-height: 1.2;
    margin-bottom: 1em;
    font-size: 16px;
    display: flex;
    align-items: start;
}

.item-contacts-phone {
    font-size: 18px;
}

.item-contacts svg {
    margin-right: 8px;
    min-width: 18px;
}

.social {
    display: flex;
    align-items: center;
}

.social a {
    border: 1px solid #fff;
    display: flex;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
}

.social a svg {
    transition: all 0.2s ease;
}

.social a:hover svg {
    transform: scale(1.1);
}

.copyright {
    font-size: 14px;
    font-weight: 300;
    border-top: 1px solid #353637;
    padding: 10px 0px;
}

/*END_Section_Footer*/

/*Comment*/
.comment-form-cookies-consent {
    display: none;
}

.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 1.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #030405;
}

.comment-item {
    margin-bottom: 24px;
}

.coment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.coment-top .coment-name {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.coment-top .coment-name svg {
    margin-right: 12px;
    margin-bottom: 2px;
}

.coment-top .comment-rating {
    font-size: 15px;
    line-height: 0.8;
}

.comment-item p {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 300;
}

.comment-post-link {
    background: #030405;
    border-radius: 6px;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title-comment-link {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}

.comment-post-link .btn {
    padding: 0.7em 1.5em;
}

.breadcrumbs {
    color: rgb(3, 4, 5, 50%);
    font-size: 14px;
    font-weight: 300;
    padding-top: 0.8rem;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    text-decoration: none;
    color: rgb(3, 4, 5, 50%);
}

.breadcrumbs a:hover {
    text-decoration: underline;
    color: #030405;
}

#zayvkaOnline .flex-md-nowrap {
    flex-wrap: wrap !important;
}

#zayvkaOnline .col-md,
#zayvkaOnline .col-md-auto {
    flex: 0 0 auto;
    width: 100%;
}

#zayvkaOnline .wpcf7-form p {
    margin-bottom: 1rem;
}

/* DOCTOR */
.doctor__photo {
    border-radius: 6px;
}

.doctor__work-experience {
    font-weight: 500;
    font-size: 18px;
}

.doctor__work-experience b {
    font-weight: 600;
}

.doctor__specialty {
    border-radius: 3rem;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.1;
    color: #818182;
    border: 1px solid #818182;
}

.doctor__description {
    font-weight: 500;
}

.doctor__description b,
.doctor__description strong {
    font-weight: 600;
}

.doctor__description {
    line-height: 1.9;
}

.doctor__description li {
    margin-bottom: 10px;
}

.doctor__prices-image {
    border-radius: 6px;
}

.doctor__prices_service {
    background: #F2F2F3;
    border-radius: 6px;
    padding: 13px 12px;
}

.doctor__prices_service-name {
    font-weight: 500;
    font-size: 18px;
    color: #382924;
}

.doctor__prices_service-price {
    font-weight: 600;
    font-size: 18px;
    color: #382924;
    margin-left: 15px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.doctor__btn-youtube {
    border-radius: 6px;
    padding: 12px 24px 12px 24px;
    border: 1px solid #030405;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    color: #030405;
}

.doctor__btn-youtube span {
    color: #FF0000;
    margin-left: 4px;
}

.doctor__btn-youtube:hover {
    color: #fff;
    background: #030405;
}

.doctor-instagram #sb_instagram {
    padding-bottom: 0px !important;
    background: transparent !important;
}

/* DOCTOR */

/* SERVICES */
.services-links {
    background: #F0F0F0;
    border-radius: 6px;
}

.services-links__title {
    font-weight: 600;
    font-size: 20px;
    color: #382924;
    padding: 12px 12px;
    border-bottom: 2px solid #FFFFFF;
}

.services-links__link {
    font-weight: 600;
    font-size: 18px;
    color: #382924;
    padding: 16px 12px;
    display: flex;
    position: relative;
}

.services-links__link:hover {
    color: #382924;
}

.services-links__link:before {
    content: '';
    margin-top: 4px;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #030405;
    background: #fff;
    margin-right: 12px;
}

.services-links__link:after {
    content: '';
    width: 14px;
    min-width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #030405;
    position: absolute;
    left: 15px;
    top: 23px;
    opacity: 0;
    transition: all 0.2s ease;
}

.services-links__link.active:after,
.services-links__link:hover:after {
    opacity: 1;
}

.services-form-bg {
    background: #030405;
    border-radius: 6px;
    padding: 30px;
}

.services-form .main-title {
    font-size: 22px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.services-form .main-title b {
    font-size: 30px;
    margin-bottom: 10px;
}

.services-form .main-sign {
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #fff;
    margin-top: 26px;
}

.services-form .form-zapis {
    background: transparent;
    padding: 0px;
    margin-bottom: 0px;
}

.services-form .wpcf7-submit {
    width: 100%;
    border: 2px solid #FFFFFF;
}

.services-form .wpcf7-submit:hover {
    background: #fff;
}

.service-doctor__name {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: #030405;
}

.service-doctor__specialty {
    border-radius: 3rem;
    padding: 5px 12px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.1;
    color: #818182;
    border: 1px solid #818182;
    text-decoration: none;
}

.service-doctor__specialty:hover {
    border-color: #0a58ca;
    color: #0a58ca;
}

/* SERVICES */


/* SEARCH */
.search-img {
    max-height: 380px;
    object-fit: cover;
}

/* SEARCH */

/* CONTACTS */
.row-cont .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.row-cont .text {
    font-size: 17px;
    color: #030405;
}

.row-cont .text a {
    color: #030405;
    text-decoration: none;
}

.row-cont .text a:hover {
    color: #0a58ca;
}

/* CONTACTS */

/*............................................Media_Style...................................................*/
@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1604px;
    }
}

/*....FullHD....*/
@media (max-width: 1599px) {
    .container-fluid {
        padding-left: 50px;
        padding-right: 50px;
    }

    #top-nav-ul > li > a {
        font-size: 17px;
        padding-bottom: 29px;
    }

    .main-banner__advantages {
        margin-top: 9em;
    }

    .services-title {
        font-size: 30px;
        padding: 20px;
    }

    .comment-item p {
        font-size: 14px;
    }

    .main-title {
        font-size: 44px;
    }

    .main-sign {
        font-size: 24px;
    }

    .comment-post-link .btn {
        padding: 0.7em 0.6em;
    }
}

@media (max-width: 1399px) {
    #logo img {
        height: 55px;
    }

    #top-nav-ul > li > a {
        font-size: 16px;
        padding: 20px 0px 20px;
    }

    .header-top__btn-form {
        margin-left: 30px;
        padding: 0.9em 1em;
        font-size: 14px;
    }

    .btn-show-search {
        margin-left: 30px;
    }

    #top-nav-ul > li:nth-child(n+2) {
        margin-left: 40px;
    }

    header {
        height: 94px;
    }

    .advantages__number {
        font-size: 36px;
    }

    .advantages__text {
        font-size: 14px;
    }

    .main-banner__title {
        font-size: 60px;
        margin-bottom: 0.5em;
    }

    .main-banner__text {
        font-size: 26px;
        margin-bottom: 1.8em;
    }

    .main-banner__advantages {
        margin-top: 7em;
    }

    .main-title {
        font-size: 36px;
    }

    .services-text {
        line-height: 1.6;
        font-size: 14px;
    }

    .services-link .services-title svg {
        width: 15px;
    }

    .services-title {
        font-size: 24px;
        padding: 15px;
    }

    .services-number {
        font-size: 180px;
        bottom: -50px;
    }

    .main-sign-top {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    .main-sign {
        font-size: 20px;
    }

    .company-desc {
        font-size: 16px;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .btn-banner {
        font-size: 16px;
    }

    .section-reviews .comment-item:nth-child(n+6) {
        display: none;
    }

    .title-comment-link {
        font-size: 16px;
        line-height: 1.3;
    }

    .wpcf7-form-control:not(.wpcf7-submit), .form-control {
        font-size: 16px;
        padding: 12px;
    }

    .form-zapis {
        padding: 15px;
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .news-item .news-title {
        font-size: 18px;
    }

    .content-scroll {
        height: 450px;
        font-size: 15px;
    }

    .bottom-menu li a {
        font-size: 15px;
    }

    .title-footer {
        font-size: 20px;
    }

    .copyright {
        font-size: 13px;
    }

    .main-banner img {
        height: 550px;
        object-fit: cover;
    }

    .title-description {
        font-weight: 500;
        font-size: 30px;
        margin-top: 0;
    }
}

/*....Netbooks....*/
@media (max-width: 1199px) {
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
        margin-bottom: 0.3em;
    }

    .header-bottom {
        padding: 3px 0px;
    }

    #topnav {
        display: block;
        position: fixed;
        left: -500px;
        top: 0;
        bottom: 0;
        background: #fff;
        width: 350px;
        z-index: 998;
        padding-bottom: 100px;
        overflow-y: auto;
        transition: all .2s ease
    }

    #topnav.open {
        left: 0;
    }

    .mob-menu-header {
        padding: 12px;
        border-bottom: 1px solid rgba(35, 31, 31, 0.1);
    }

    .mob-menu-header .custom-logo {
        height: 50px !important;
    }

    #top-nav-ul {
        display: block;
    }

    #top-nav-ul > li:nth-child(n+2) {
        margin-left: 0;
    }

    #top-nav-ul > li {
        border-bottom: 1px solid rgba(35, 31, 31, 0.1);
    }

    #top-nav-ul > li > a {
        font-size: 18px;
        padding: 15px 12px !important;
        border: none !important;
    }

    #top-nav-ul > li.current-menu-ancestor > a,
    #top-nav-ul > li > a.active,
    #top-nav-ul > li.active > a,
    #top-nav-ul > li:hover > a {
        background: rgba(35, 31, 31, 0.1);
    }

    #top-nav-ul > li > .dropdown-menu {
        position: relative;
        display: none;
        left: initial;
        opacity: 1;
        width: 100%;
        box-shadow: none;
    }

    #top-nav-ul > li > .dropdown-menu > li > a {
        background: #f1f1f1;
    }

    .btb-menu {
        margin-left: 25px;
        padding: 8px 13px;
        font-size: 18px;
        background-color: #030405 !important;
        border-color: #030405 !important;
    }

    .advantages__number svg {
        left: -15px;
        top: -20px;
    }

    .main-banner img {
        height: 500px;
    }

    .services-text {
        font-size: 15px;
        margin-bottom: 1rem;
    }

    .content-scroll {
        height: 400px;
        font-size: 15px;
    }

    .services-form .main-title {
        display: block;
        margin-bottom: 0px;
    }

    .services-form-bg {
        border-radius: 0px;
    }

    .services-form .main-sign {
        margin-top: 15px;
    }

    .services-form .wpcf7-submit {
        padding: 0.5em 2em !important;
        height: 43px;
    }

    .services-form .wpcf7-submit:active,
    .services-form .wpcf7-submit:focus {
        border-color: #fff !important;
        background: #fff !important;
    }


}


/*....Tablets....*/
@media (max-width: 991px) {
    .news-item-home:nth-child(n+3) {
        display: none;
    }

    .main-banner__advantages {
        margin-top: 5em;
    }

    .tag-filter {
        position: fixed;
        right: -100%;
        top: 0px;
        bottom: 0px;
        z-index: 9999999;
        width: 400px;
        transition: all 0.2s ease;
    }

    .tag-filter.active {
        right: 0px;
    }

    .tag-filter__title {
        font-size: 18px;
        padding: 15px 12px;
    }

    .tag-filter__items-link {
        font-size: 16px;
        padding: 15px 12px;
    }

    .tag-filter__items-link:before {
        margin-top: 3px;
    }

    .tag-filter__items-link:after {
        top: 21px;
    }

    .mask {
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        z-index: 999999;
        background: rgba(0, 0, 0, 0.5);
        display: none;
    }

    .mask.active {
        display: block;
    }

    .tag-filter__btn-show {
        padding: 0.6em 1.1em;
    }

    .tag-filter__btn-show svg {
        margin-right: 12px;
    }

    .tag-filter__btn-show svg path {
        transition: all 0.2s ease;
    }

    .tag-filter__btn-show:focus svg path,
    .tag-filter__btn-show:hover svg path {
        fill: #030405;
    }

    .doctor__work-experience {
        font-size: 16px;
    }

    .doctor__specialty {
        font-size: 14px;
    }

    .doctor__description {
        line-height: 1.6;
    }

    .doctor__prices_service-price,
    .doctor__prices_service-name {
        font-size: 16px;
    }

    .service-doctor__name {
        font-size: 20px;
    }

    .service-doctor__specialty {
        font-size: 13px;
    }
}


/*....Smartphones_Landscape_orientation....*/
@media (max-width: 767px) {
    .skroll_top {
        left: 15px;
    }

    .container-circle {
        right: 20px;
        bottom: -35px;
    }

    .skroll_top.fix {
        bottom: 15px;
    }

    .skroll_top a {
        font-size: 18px;
        width: 34px;
        height: 30px;
    }

    .main-banner__title {
        font-size: 50px;
        text-align: center;
    }

    .main-banner__text {
        font-size: 22px;
        text-align: center;
    }

    .title-comment-link {
        font-size: 15px;
    }

    .comment-post-link {
        padding: 12px;
    }

    .form-zapis .wpcf7-form p {
        margin-bottom: 1em;
    }

    .form-zapis .wpcf7-form-control:not(.wpcf7-submit) {
        border: 1px solid;
    }

    .title-description {
        font-size: 26px;
    }

    .social {
        justify-content: center;
    }

    .section-footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .services-item {
        margin-bottom: 24px;
    }

    .article__content {
        line-height: 1.5;
    }

    .services-form .main-title {
        display: flex;
    }

    .news-item {
        margin-bottom: 25px;
    }

    .services-form-bg {
        padding: 20px 20px 0px 20px;
    }
}


/*....Smartphones_Portrait_orientation....*/
@media (max-width: 575px) {
    .alignnone,
    img.alignnone,
    .aligncenter,
    img.aligncenter,
    .alignleft,
    img.alignleft,
    .alignright,
    img.alignright {
        float: none;
        max-width: 100%;
        margin: 1em auto;
        display: block;
    }

    .header-top__phone svg {
        display: none;
    }

    .header-top__address svg {
        display: none;
    }

    .header-top__address {
        font-size: 12px;
    }

    .main-banner img {
        min-height: 400px;
        height: calc(100vh - 94px);
    }

    .services-title {
        font-size: 30px;
        padding: 20px;
    }


    .services-item > img {
        object-fit: cover;
        max-height: 350px;
    }

    .services-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .comment-item {
        margin-bottom: 12px;
    }

    .comment-item p {
        margin-bottom: 0;
    }

    .main-title {
        font-size: 32px;
    }

    .main-sign {
        font-size: 18px;
    }

    .company-desc {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }

    .section-form .main-title {
        font-size: 28px;
    }

    .news-item {
        margin-bottom: 24px;
    }

    .news-item-home:nth-child(n+3) {
        display: block;
    }

    .title-footer {
        text-align: center;
    }

    .item-contacts {
        justify-content: center;
    }

    .news-item .news-title {
        font-size: 20px;
    }

    .tag-filter {
        width: 100%;
    }

    .article__content {
        line-height: 1.5;
    }

    .row-cont .title {
        font-size: 18px;
    }

    .row-cont .text {
        font-size: 16px;
    }
}
