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

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

.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. */
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #4D5C6E;
    cursor: default;
    font-weight: 400;
    overflow-y: scroll !important;
    padding-right: 0 !important;
}

body.hidden {
    overflow: hidden !important;
}

.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;
}

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

textarea,
input {
    font-family: 'Inter', Arial, 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: 600;
    margin-bottom: 0.5em;
    margin-top: 1em;
    color: #3A3285;
}

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: 24px;
    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: 18px;
    height: initial;
    line-height: 1;
    border: none;
    width: 100%;
    outline: none;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 0;
    color: #4D5C6E;
}

.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 rgb(35 119 218 / 0.5);
}

.wpcf7-submit {

}

.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;
    right: 15px;
    bottom: 5px;
    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;
}

.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: #f0f3f8;
}

.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;
}

/*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: #2e4c98;
    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: 8px;
    padding: 1em 4em;
    line-height: 1;
    font-size: 18px;
    font-weight: 500;
}

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

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

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

.btn-primary:hover {
    color: #fff;
    background-color: #3A3285;
    border-color: #3A3285;
}

.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: #fff;
    background-color: #3A3285;
    border-color: #3A3285;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    box-shadow: none;
    background-color: #3A3285;
    border-color: #3A3285;
}


/*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;
}

.header-fixed {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all .2s ease;
}
.header-top{
    background: #030405;
    padding: 7px 0px 6px;
}

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

.header-top__address{
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}
.header-top__time{
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid #fff;
}

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


#logo img{
    width:100px;
}

#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: 600;
    font-size: 18px;
    padding: 26px 0px 24px;
    display: block;
    border-bottom: 3px solid transparent;
}


#top-nav-ul > li.active > a,
#top-nav-ul > li:hover > a {
    border-color:#030405;
}
.header-bottom{
    background: #fff;
}
.main-title {
    font-size: 54px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
    color: #3A3285;
}
.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;
}
.btn-black{
    font-weight: 600;
    font-size: 15px;
    line-height: 1.1;
    color: #FFFFFF;
    padding: 13px 24px;
    background: #030405;
    border: 2px solid #030405;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-black:hover{
    color: #030405;
    background: transparent;
}
.header-top__btn-form{
    margin-left: 45px;
}






/* HOME */
.main-banner img{
    filter: brightness(0.3);
}
.main-banner__content{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
}

.main-banner__title{
    font-weight: 800;
    font-size: 75px;
    line-height: 1;
    margin-bottom:0.7em;
}
.main-banner__text{
    font-size: 30px;
    margin-bottom: 2.2em;
}
.btn-white-border{
    border: 1px solid #fff;
    padding: 14px 34px;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-white-border svg{
    margin-left: 6px;
}
.btn-white-border:hover{
    color: #030405;
    background: #fff;
}
.btn-white-border svg path {
    transition: all 0.2s ease;
}
.btn-white-border:hover svg path {
    fill: #030405;
}
.main-banner__advantages{
    margin-top: 13em;
    margin-bottom: 20px;
}
.advantages__number{
    font-weight: 600;
    font-size: 44px;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.advantages__number svg{
    position: absolute;
    left: -24px;
    top: -10px;
}

/* HOME */







/*Section_Footer*/

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

footer a:hover {
    color: #fff;
}

#bottom-nav {
    flex-direction: column;
}

#bottom-nav > li > a {

}

.copyright {
    font-size: 14px;
}

/*END_Section_Footer*/


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

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

@media (max-width: 1399px) {

}

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


/*....Tablets....*/
@media (max-width: 991px) {

}


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

    .skroll_top.fix {
        bottom: 15px;
    }

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


/*....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;
    }
}
