:root {
    --primary-color: #8C1A42;
    --secondary-color: #EA5444;
    --background-color: #EFF2F6;
    --border-color: #D6DFEA;
    --heading-color: #273647;
    --text-color: #505D72;
    --signature-color: #8791A2;
}

body{
    font-family: 'PT Sans', sans-serif;
    width: 100%;
    height: 100%;
    font-size: 13px;
    line-height: 20px;
    color: #768296;
    padding: 0;
    margin: 0;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover, 
a:focus {
    text-decoration: none;
}

.container,
.container-fluid,
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto  {
  padding-right: 16px;
  padding-left: 16px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1008px;
  }
}

.row {
  margin-right: -16px;
  margin-left: -16px;
}

.wrapper-header{
    background: #000;
    overflow: hidden;
}

.wrapper-header .header-hr{
    width: calc(100% + 32px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: -16px;
}

@media (min-width: 576px) {
    .wrapper-header .header-hr{
        width: 100%;
        margin-left: 0;
    }
}

header{
    padding: 16px 0;
}

@media (min-width: 768px) {
    header{
        padding: 20px 0;
    }
}

header > .header-top{
    gap: 20px;
}

.header-logo{
    display: inline-block;
    max-width: 286px;
}

.header-logo img{
    max-width: 100%
}

.header-phone{
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    line-height: 16px;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 768px) {
    .header-phone{
        font-size: 25px;
        line-height: 25px;
    }
}

.header-phone + div{
    margin-left: 33px;
}

header > *{
    white-space: nowrap;
}

.header-bottom{
    display: flex;
    gap: 4px;
    width: 100%;
    overflow-x: auto;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .header-bottom{
        margin-top: 20px;
    }
}

.header-bottom a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: #fff;
    background: #333;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 40px;
    text-decoration: none;
    padding: 0 12px;
}

footer {
    position: relative;
    background: #801733;
    text-align: center;
    padding: 33px 0 27px;
    z-index: 2;
}

footer:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    top: -4px;
    background: url(assets/images/wave.png) 0px 0px repeat-x;
}

.left_bx {
    float: left;
}

.right_bx {
    float: right;
}

footer .left_label_wrap {
    width: 140px;
    margin: 1px 0 0;
}

footer .left_label a {
    width: 106px;
    display: block;
    height: 39px;
    background: url(assets/images/mavt.png) 0 -46px no-repeat;
}

footer .left_label a:hover {
    background-position: 0 -86px;
}

footer .developer {
    text-align: right;
    margin: 10px 0 0;
    width: 150px;
}

footer .developer a {
    display: block;
    font-size: 12px;
    color: #bb8997;
}

footer .developer a:hover {
    color: #e0bdc7;
}

footer .developer a span {
    float: right;
    display: inline-block;
    width: 69px;
    height: 11px;
    background: url(assets/images/mavt.png) -15px -22px no-repeat;
    margin: 5px 0 0 15px;
}

footer .developer a:hover span {
    background-position: -15px -34px;
}

.scroll_top {
    position: absolute;
    top: 30px;
    left: 50%;
    display: inline-block;
    width: 41px;
    height: 41px;
    background: url(assets/images/mavt.png) -114px 0px no-repeat;
    cursor: pointer;
    margin-left: -20px;
}

.scroll_top:hover {
    background-position: -156px 0;
}

.left_label_wrap.left_bx.check_text_block {
    width: 100%;
    float: inherit;
    display: block;
    position: inherit;
    text-align: center;
    padding-top: 62px;
    margin-left: -15px;
}

.check_text {
    font-size: 13px;
    text-indent: 5px;
    color: #bb8897;
    letter-spacing: 0.6px;
}

.check_text .sel_yell {
    background: #ca5d7a none repeat scroll 0 0;
    color: #eedbe1;
    margin-right: 4px;
    padding: 0 5px 1px;
}

.check_text .comb_keys {
    color: #eee0e4;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-size: 14px;
    font-weight: 700;
    line-height: 18.12px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0 20px;
}

.btn--primary{
    color: #fff;
    background: var(--primary-color);
    border: 0;
}

.btn--primary:hover{
    background: #761734;
    border-color: #761734;
}

.btn--primary-border{
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color);
}

.btn--primary-border:hover{
    color: #fff;
    background: var(--primary-color);
    border-color: #761734;
}

.btn--primary.btn--light-hover:hover{
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.btn--secondary{
    color: #fff;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn--secondary:hover{
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn--small{
    height: 35px;
}

.btn--big{
    height: 48px;
}

.btn--white{
    color: var(--primary-color);
    background: #fff;
    border: 0;
}

.title {
    font-size: 25px;
    font-weight: bold;
    color: var(--heading-color);
    line-height: 25px;
    text-align: left;
    margin-bottom: 16px;
}

@media(min-width: 768px){
    .title {
        font-size: 30px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 60px;
    }

    .title > div {
        position: relative;
        max-width: 626px;
        display: inline-block;
    }
    
    .title > div:before, 
    .title > div:after {
        top: 19px;
        content: "";
        position: absolute;
        width: 135px;
        height: 4px;
    }

    .title > div:before {
        left: -175px;
        background: url(assets/images/icon-wave-left.png) no-repeat;
    }

    .title > div:after {
        right: -175px;
        background: url(assets/images/icon-wave-right.png) no-repeat;
    }
}

.form-inner{
    background: var(--background-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

@media(min-width: 576px){
    .form-inner{
        background: transparent;
        padding: 0;
        margin-bottom: 16px;
    }
}

.form-group {
    margin: 0 0 16px;
}

.form-inner .form-group:last-child{
    padding: 0;
}

.form-inner .form-group input,
.form-inner .form-group textarea,
.form-inner .form-group .cusel{
    height: 40px;
    background: #fff;
}

@media(min-width: 576px){
    .form-inner .form-group input,
    .form-inner .form-group textarea,
    .form-inner .form-group .cusel{
        height: 34px;
        background: #f1f3f6;
    }
}

@media(min-width: 768px){
    .form-group {
        margin: 0 0 20px;
    }
}

label {
    margin: 0 0 3px;
    font-size: 13px;
    color: #7c889c;
    display: inline-block;
    cursor: pointer;
}

.input {
    position: relative;
    display: block;
}

.input input, 
.input textarea, 
.cusel {
    width: 100%;
    height: 34px;
    outline: none;
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    color: var(--heading-color);
    background: #f1f3f6;
    border: 1px solid #e1e5ea;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 6px 11px;
}

.cusel, 
.input_number {
    width: 100% !important;
    position: relative;
    cursor: pointer;
    position: relative;
}

.cuselText{
    display: flex;
    align-items: center;
    height: 100%;
}

.cusel:after {
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 10px;
    content: '';
    display: block;
    width: 7px;
    height: 12px;
    background: url(assets/images/mavt.png) -302px 0px no-repeat;
}

.cusel.cuselOpen:after{
    background-position:-312px 0;
}

.input.checkbox input {
    opacity: 0;
    position: absolute;
    visibility: hidden;
}

.input.checkbox label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding-left: 22px;
    line-height: 15px;
}

.input.checkbox label:before {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: url(assets/images/ch.png) 0 0 no-repeat;
}

.input.checkbox input:checked + label:before {
    background-position: -15px 0;
}

.select_form {
    margin: 0;
}

div.error, label.error {
    position: absolute;
    color: red;
    top: 0;
    right: 0;
    white-space: nowrap;
}

.form div.error {
    font-size: 11px;
    color: #bb4359;
    top: -23px;
}

label .sof-req {
    color: #921c40;
}

.cusel .cusel-scroll-wrap .cusel-scroll-pane{
    position:absolute;
    top:33px;
    left:-1px;
    right:-1px;
    max-height:211px;
    height:auto !important;
    background:#FFF;
    border:1px solid #e1e5ea;
    z-index:4;
}

.cusel .cusel-scroll-wrap span{
    display:block;
    padding:7px 11px;
    border-top:1px solid #d5dde6;
}

.cusel .cusel-scroll-wrap span:not(.cuselActive):hover{
    background:#801939;
    color:#FFF;
}

.cusel .cusel-scroll-wrap span.cuselActive{
    background:#f1f3f6;
}

.cusel .cusel-scroll-wrap span:first-child{
    border-top:none;
}

.input-errortext{
    position: absolute;
    top: -17px;
    right: 0;
    line-height: 11px; ;
    font-size: 10px;
    color: #bb4359;
}

.mt-20 {
    margin-top: 20px;
}

div.fancybox-opened .fancybox-skin {
    box-shadow: none;
    background: #FFF;
    border-radius: 2px;
}

.fancybox-skin .fancybox-close {
    cursor: pointer;
    width: 45px;
    height: 45px;
    top: 0;
    right: 0;
    background: url(assets/images/mavt.png) -108px -45px no-repeat;
}

.fancybox-skin .pag_wrap {
    position: absolute;
    left: 50%;
    bottom: 25px;
}

.fancybox-skin .pagination {
    font-size: 0;
    line-height: 0;
    text-align: center;
    margin: 0 0 0 -100%;
}

.fancybox-skin .pagination>span {
    display: inline-block;
    margin: 0 0 0 10px;
    vertical-align: top;
    cursor: pointer;
    width: 9px;
    height: 9px;
    border: 2.3px solid #8090a3;
    border-radius: 50%;
}

.fancybox-skin .pagination>span:first-of-type {
    margin-left: 0;
}

.fancybox-skin .pagination>span.active {
    background: #8090a3;
    cursor: default;
}

.fancybox-skin .fancybox-nav {
    top: 50%;
    margin-top: -10px;
    display: block;
    visibility: visible;
    background: url(assets/images/mavt.png) -24px 0px no-repeat;
    width: 12px;
    height: 21px;
}

.fancybox-skin .fancybox-nav span {
    display: none;
}

.fancybox-skin .fancybox-prev {
    left: -29px;
}

.fancybox-skin .fancybox-next {
    right: -29px;
    background-position: -37px 0;
}

.fancybox-skin .fancybox-prev:hover {
    background-position: -50px 0;
}

.fancybox-skin .fancybox-next:hover {
    background-position: -63px 0;
}

.fancybox-opened .fancybox-title {
    bottom: auto;
    top: 21px;
    margin: 0;
}

.fancybox-title-float-wrap {
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-bottom: -35px;
    z-index: 8050;
    text-align: center;
}

.fancybox-opened .fancybox-title span {
    background: none;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.1em;
    color: var(--heading-color);
    text-shadow: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    display: block;
    width: 12px;
    height: 21px;
    background: url(assets/images/mavt.png) 0px 0px no-repeat;
}

.owl-carousel .owl-nav button.disabled{
    display: none;
}

.owl-carousel .owl-nav button span{
    display: none;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -24px;
    background-position: -24px 0;
}

.owl-carousel .owl-nav button.owl-prev:hover {
    background-position: -50px 0;
}

.owl-carousel .owl-nav button.owl-next {
    right: -24px;
    background-position: -37px 0;
}

.owl-carousel .owl-nav button.owl-next:hover {
    background-position: -63px 0;
}

.owl-carousel .owl-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.owl-carousel .owl-dots .owl-dot{
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    width: 9px;
    height: 9px;
    border: 2.3px solid #8090a3;
    border-radius: 50%;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #8090a3;
    cursor: default;
}
