.seo-block {
    height: 0;
    font-size: 0;
}

.form-group p {
    margin: 20px 0 0 100px;
}

.form-group p a:hover {
    text-decoration: none;
}

.scroll-top {
    z-index: 9;
}

.form-callback__overlay,
.form-callback__form_close,
.scroll-top {
    outline: none;
    border: none;
    background-color: transparent;
}



.grid-inner .content{
    display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	
	padding-bottom: 120px;
}

.grid-inner .item{
    display: inline-flex;
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	
    width: 23%;
    text-decoration: none;
    margin: 0 8px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 28px 22px;
    border: 2px solid #000000;
    background-color: #ffffff;
    margin-bottom: 16px;
}

.grid-inner .item:hover{
    border-color: red;
    -webkit-box-shadow: 0 3px 20px 0 rgba(34,34,34,.2);
    box-shadow: 0 3px 20px 0 rgba(34,34,34,.2);
}

.grid-inner .image-wrapper{
    line-height: 0;
    font-size: 0;
    margin-bottom: 8px;
    height: 342px;
    text-align: center;
}

.grid-inner img{
    max-width: 100%;
    height: 100%;
}

.grid-inner h3{
    color: #363636;
    font-family: "Source Sans Pro",sans-serif;
    text-transform: uppercase;
    margin: 0;
    margin-top: auto;
}

.catalog{
    padding-top: 80px;
}

.catalog .content{
    display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
    padding: 0 40px;
}

.catalog .image-wrapper{
    line-height: 0;
    font-size: 0;
    padding-right: 60px;
}

.catalog img{
    width: 100%;
}

.catalog h1,
.catalog h2,
.catalog h3,
.catalog h4{
   margin-top: 0;
}

.slider__text {
    display: flex;
    flex-direction: column;
    font-family: "Source Sans Pro", sans-serif;
    color: #fff
}

.grid-inner {
    padding-top: 120px;
}

.grid-inner .content {
    padding-bottom: 0;
}

.slider__title {
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
}

.slider__subtitle {
    margin: 0;
    padding: 0;
    font-size: 24px;
}

.grid_5 .header_1 {
    padding-top: 70px;
}

.grid_5 .grid_5-content {
    padding-bottom: 0px;
}

.btns-list {
    display: flex;
    margin: 0;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
    border-radius: 3px;
    overflow: hidden;
    max-width: 500px;
}

.btns-list__item {
    display: flex;
    max-width: 50%;
    width: 100%;
    min-height: 60px;
}

.btns-list__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    width: 100%;
    height: 100%;
    color: #fff;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    background-color: #ff3636;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color .2s linear;
}

.btns-list__btn:hover {
    background-color: #c32a2a;
}

.btns-list__btn.active {
    background-color: #c32a2a;
}

.reviews-main__iframe-wrapper {
    position: relative;
    max-width: 560px;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.reviews-main__iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-sizing: border-box;
}

.reviews-main__iframe-wrapper a {
    position: absolute;
    bottom: 8px;
    left: 0;
    display: block;
    padding: 0 16px;
    width: 100%;
    max-height: 14px;
    text-decoration: none;
    font-family: YS Text,sans-serif;
    font-size: 10px;
    color: #b3b3b3;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.reviews-main__content-item.hide {
    display: none;
}
		

.reviews-main__content-item.show {
    display: flex;
	flex-direction: column;
	animation-fill-mode: forwards;
	animation-name: tabAnimate;
	animation-duration: .6s;
	animation-timing-function: cubic-bezier(0, 0.1, 0.2, 1);
}

.header__callback a {
    display: block;
    width: 240px;
    height: 60px;
    color: #fff;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    line-height: 60px;
    text-transform: uppercase;
    text-align: center;
    background-color: #ff3636;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-size: 19px;
    width: 240px;
    height: 60px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    line-height: 60px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    border: none;
    border-radius: 3px;
    background-color: #ff3636;
    cursor: pointer;
    transition: background-color .2s linear;
}

.btn:hover {
    background-color: #c32a2a;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: #fff;
    transition: opacity .3s linear;
}
    
    
.preloader__wrapper {
    width: 40px;
    height: 40px;
    opacity: 0.75;
    animation: clockwise 500ms linear infinite;
}

    
.preloader.hidden {
    animation: fadeOut 1s;
    animation-fill-mode: forwards;
}

    
.preloader__item-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 40px;
    overflow: hidden;
}

.preloader__item {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border: 4px solid #ff3636;
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    animation: donut-rotate 1000ms cubic-bezier(.4,0,.22,1) infinite;
}

/* MEDIA */
@media only screen and (max-width: 1299px){
    .grid-inner .item{
        width: 30%;
    }
}

@media (max-width: 991px) {
    .menu-header__list-inner .menu-header__list_item-parent ul {
        position: relative;
    }
    .menu-header__list-inner .menu-header__list_item-parent:hover ul {
        left: 0;
    }
    .menu-header__list-inner .menu-header__list_item-parent ul li a {
        padding-left: 30px;
    }
    
    .grid-inner .item {
        width: 47%;
    }
}

@media (max-width: 767px) {
    .form-group p {
        margin-left:0
    }
    
    .main .main__content img {
        float: none !important;
        height: auto;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .main__content h1 {
        font-size: 29px;
    }
    
    .main__content h2 {
        font-size: 26px;
    }
    
    .main__content h3 {
        font-size: 24px;
    }
    
    .main__content h4 {
        font-size: 22px;
    }
    
    .grid-inner .item{
        width: 100%;
    }
    
    .catalog .content{
        flex-wrap: wrap;
    	-webkit-flex-wrap: wrap;
    	-ms-flex-wrap: wrap;
    	padding: 0;
    }
    .catalog .image-wrapper{
        width: 100%;
        padding-right: 0px;
        margin-bottom: 20px;
    }
    
    .slider__subtitle {
        font-size: 20px;
    }
    
    .btns-list__btn {
        font-size: 16px;
    }
    
    .footer__callback button {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 390px) {
    .form-callback__form {
        max-width: 100%;
    }
}

/* ANIMATE */
@keyframes tabAnimate {
    0% {
        opacity: 0;
        transform: translateX(-20%);
    }
    

    50% {
        transform: translateX(2%);
    }
    

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes clockwise {
    0% {
        transform: rotate(0deg);
    }
    
    
    100% {
        transform: rotate(360deg);
    }
}


@keyframes donut-rotate {
    0% {
        transform: rotate(0);
    }
    
    
    50% {
        transform: rotate(-140deg);
    }
    
    
    100% {
        transform: rotate(0);
    }
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}
