.content-site .as_h1 {
    font-size: 36px;
    color: #333;
}

.mitisi_page .item-views.sections.teasers .item .image img {
    border-radius: unset;
}


/*adaprive video youtube*/

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    #footerwrap {
        height: auto;
        position: static!important;
    }
    .mitisi_page .content-site {
        padding-left: 5px;
        padding-right: 5px;
    }
    .mitisi_page #services .block .h2,
    .mitisi_page #services .block {
        height: auto;
    }
}

@media (min-width: 320px) and (max-width: 600px) {
    .mitisi_page #headerwrap {
        position: absolute;
        bottom: 0;
        background: rgba(255, 255, 255, 0.75);
        padding: 15px;
        left: 0;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mitisi_page #headerwrap .slider_h1,
    .mitisi_page #headerwrap .subtitle {
        text-align: center;
        display: block;
    }
    .mitisi_page #headerwrap .slider_h1 {
        font-size: 2.3rem;
    }
    .main_slider__title {
        font-size: inherit;
    }
}

@media (min-width: 601px) {
    .mitisi_page #headerwrap {
        position: absolute;
        bottom: 35px;
        background: rgba(255, 255, 255, 0.7);
        padding: 20px 82px 20px 82px;
        right: 0;
    }
    .mitisi_page #headerwrap .slider_h1 {
        font-size: 38px;
        line-height: 50px;
        font-weight: 400;
        font-family: "Roboto Condensed Regular";
        text-align: left;
        margin-top: unset;
    }
    .mitisi_page #headerwrap .subtitle {
        font-size: 25px;
    }
    /* .embed-responsive {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    } */
}

@media (max-width: 1330px) and (min-width: 992px) {
    .mitisi_page #headerwrap .slider_h1 {
        font-size: 30px;
        line-height: 40px;
    }
}


.reviews-block{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.container .reviews-block iframe{
    margin-bottom: 20px;
}

@media (max-width:1199px){
    .reviews-block{
        justify-content: center;
    }
}


.container.px-0 .btn_container a{
    /*float: right;
    font-size: 1.5em;
    position: relative;
    top: 1rem;
    color: black;*/
	text-align:center;
}

.container.px-0 .btn_container a:hover{
    /*color: #b80f29;*/
}

.head_tg{
	display: flex;
}

.tg_button{
	margin:auto;
	text-align: center;
}

.phone_block {
	margin-left: auto;
}

.header__whatsapp__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 13.5rem;
    height: 4.588rem;
    border-radius: 12px;
    -webkit-box-shadow: 0px 0px 100px -1px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 100px -1px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 100px -1px rgba(34, 60, 80, 0.2);
    background-color: #fff;
    font-size: 13px;
    letter-spacing: 0.0375rem;
    position: relative;
    color: #282728;
    transition: var(--transition);
    padding-left: 1rem;
    padding-right: 1rem;
}

.header__whatsapp__link img,
.header__whatsapp__link svg,
.header__whatsapp__link path {
    width: 5rem;
    height: 5rem;
    margin-right: 0.75rem;
	fill: inherit;
	fill: #2AABEE;
}


.filing:hover {
    fill: #fff;
}

.header__whatsapp__link:hover {
    background-color: #2AABEE;
    border-color: #2AABEE;
    color: #fff;
}

.header__whatsapp__link:hover .filing {
    fill: #fff;
}

@keyframes shine2 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.header__whatsapp__link::after {
    width: 0.763rem;
    height: 0.663rem;
    border-radius: 50%;
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    background-color: #2AABEE;
    animation: shine2 1s cubic-bezier(1, 0, 0, 1) infinite;
}

.new_btn:hover {
	background-color: var(--hc);
    border-color: var(--hc);
	color: white;
}

.new_btn{
	width: fit-content;
	border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
	color: #fff;
    background-color: var(--mc);
    padding: 15px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    font-size: 16px;
}

.new_btn::before {
    margin-left: -30px;
    content: " ";
    width: 1.5rem;
    height: 300px;
    background: #fff;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
    position: absolute;
    left: -40px;
    top: -70px;
    animation-timing-function: ease-in-out;
    transition: all 0.1s;
    animation-name: slideme;
    animation-duration: 3.5s;
    animation-iteration-count: infinite;
    transform: rotate(45deg);
    z-index: 5;
}

.new_btn span,
.new_btn div {
    position: relative;
    z-index: 3;
}

.new_btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    border-radius: 7px;
}

.new_btn:hover::after,
.new_btn:focus::after {
    opacity: 0.15;
}

.new_btn::after {
    z-index: 2;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 100ms linear;
}

.btn-icon-white {
	background-color: var(--hc);
    border-color: var(--hc);
}

.btn-icon-white:hover {
	background-color: #66000047;
    border-color: #66000047;
}

@keyframes slideme {
    0% {
        left: -30px;
        margin-left: 0px;
    }
    30% {
        left: 110%;
        margin-left: 80px;
    }
    100% {
        left: 110%;
        margin-left: 80px;
    }
}

.header_container .free-consultation{
    text-align: right;
}

.header_container .free-consultation a{
    color: #b51336;
    text-decoration: underline;
    text-transform: uppercase;
}

/* Модальные окна  */
.window__modal {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    top: -1000px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: scroll;
    padding: 60px 15px;
}

.modal__item{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal_active {
    position: fixed;
    top: 0;
    visibility: visible;
    opacity: 1;
    transition: .3s;
}

.modal-content {
    width: 100%;
    max-width: 1000px;
    padding: 50px;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 5px 15px black;
    border-radius: 25px;
    background: #ededed;
}

.modal__close-button{
    margin-left: 95%;
    position: relative;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 50%;
    background-color: #b51336;
    box-shadow: 0px 0px 3px #333;
    transition: box-shadow .2s;
}

.modal__close-button:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background-size: .75em;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/img/close.svg);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: background-size .2s;
}

.modal__close-button:hover{
    box-shadow: 1px 4px 10px #333;
}

.modal__close-button:hover:before{
    background-size: 1em;
}

.hidden-window{
    overflow: hidden;
}

body.hidden-window div.window__modal{
    background: rgba(0, 0, 0, 0.6);
} 

body.hidden-window .modal__content{
    background: #ededed;
} 

  /* Модальные окна  */


/* -- Форма -- Бстрая консульация -- Описание*/
.d-flex{
    display: flex;
    height: 100%;
}

.d-flex > div{
    width: 330px;
}

.d-flex.person > div{
    width: 50%;
}

.text-block .title{
    font-size: 1.3em;
    font-weight: bold;
}

.marker{
    line-height: 5rem;
    list-style-type: none;
    margin: 0;
}

.marker li{
    position: relative;
}

.marker li:before{
    content: "";
    position: absolute;
    height: 1.5em;
    width: 1.5em;
    background-color: rgba(109, 0, 29);
    border-radius: 50%;
    background-size: 0.75rem;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/img/marker.svg");
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
}

.image-block .person__photo{
    height: 100%;
    border-radius: 6rem;
    background-image: url("/img/consultaion.jpg");
    background-size: cover;
}

.image-block .person__info{
    padding-left: 20px;
}

.person__info > div{
    margin-top: 20px;
}

.person__info .name{
    font-size: 1.5em;
    font-weight: bold;
}

.person__info .post{
    font-size: 1.3em;
    font-weight: 600;
}

@media (max-width:800px) {
    .text-block{
        display: none;
    }
}

/* -- Форма -- Бстрая консульация -- */

.calc_btn{
    padding: 7% 0;
}

@media (max-width:990px) {
    .calc_btn{
        padding: 8% 0;
    }
}

@media (min-width:990px) and (max-width:1200px) {
    .calc_btn{
        padding: 4% 0;
    }
}