/*Base style*/
 body {
	 font-weight: 400;
     font-family: 'Museo Sans';
}
 .container {
	 max-width: 1200px;
	 margin: auto;
	 padding: 0 15px;
}

a, input {
    outline: none!important;
    transition: 300ms;
}

a:hover {
    color: #ef3239;
}

input {
    padding: 15px 30px;
}

img {
    max-width: 100%;
}

 body, a {
	 color: #333;
	 text-decoration: none;
}

 .btn.btn-default {
	 font-size: 16px;
	 color: #ef3239;
	 border: 1px solid #ef3239;
	 border-radius: 35px;
	 line-height: 20px;
	 display: inline-block;
	 padding: 6px 15px;
}

.btn-default:hover {
    background: #ef3239;
    color: #fff;
}

input[type="submit"] {
    cursor: pointer;
}

 .btn.btn-primary {
	 font-size: 18px;
	 background: #ef3239;
     color: #fff;
	 border: 1px solid transparent;
	 border-radius: 35px;
	 line-height: 20px;
	 display: inline-block;
	 padding: 10px 25px;
}

.btn.btn-primary.big {
    font-size: 20px;
    background: #ef3239;
    background: linear-gradient(180deg, rgba(231,31,38,1) 0%, rgba(180,13,19,1) 100%);
    border: none;
    border-radius: 70px;
    line-height: 20px;
    display: inline-block;
    padding: 30px 60px;
}

.btn.btn-primary.big:hover {
    background: linear-gradient(0deg, rgba(231,31,38,1) 0%, rgba(180,13,19,1) 100%);
} 

.container-fluid .slick-prev {
    left: 0;
    z-index: 1;
}

.container-fluid .slick-next {
    right: 0;
    z-index: 1;
}

.page-title {
    margin-bottom: 25px;
    color: #191919;
    font-size: 28px;
    font-weight: 900;
}

.btn-default {
    color: #ef3239;
    padding: 8px 35px;
    border: 2px solid #ef3239;
    display: inline-block;
    border-radius: 60px;
}

.slick-next, .slick-prev {
    top: 48%;
    width: 50px;
    height: 50px;
    z-index: 1;
}

.slick-next:before, .slick-prev:before, .slick-prev:focus:before, .slick-next:focus:before{
    font-size: 50px;
    opacity: .15;
    color: #090512;
}

.slick-next:hover:before, .slick-prev:hover:before, .slick-dots li button:focus:before {
    opacity: .25;
}

.slick-dots li button:before {
    opacity: .1;
    color: #000;
    font-size: 20px;
}

.slick-dots li.slick-active button:before, .slick-dots li button:hover:before {
    opacity: .99;
    color: #ed1c24;
}

/*page-header*/

.page-header {
    color: #fff;
    background-size: cover;
    height: 640px;
    position: relative;
    overflow: hidden;
}

.page-header-background {
    height: 640px;
    background: #030201 url(../images/screen1.jpg) 0 20% no-repeat;
    position: absolute;
    width: 100%;
    background-size: cover;
}

.page-header-items, .header-top-wrap, .header-bottom-wrap, .home-about-wrap, .home-form-container, .home-form-callme, .page-footer-container {
    display: flex;
    justify-content: space-between;
}

.page-header-items {
    flex-direction: column;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
    opacity: 0.99;
    width: 100%;
}

.page-header-items * {
    opacity: 0.99999;
    z-index: 10;
}

.page-header-items:before {
    content: '';
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.header-top.fade {
    opacity: 0;
}

.header-top {
    transition: 200ms;
}

.fix .header-top {
    position: fixed;
    width: 100%;
}

.page-header.fix .header-top .container {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
    max-width: 100%;
    padding: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
}

.page-header.fix .header-top .container > div {
    margin: 0 auto;
    max-width: 1200px;
    visibility: visible!important;
}

.page-header.fix .header-top .container * {
    color: #000;
}

.page-header.fix .header-top .container a:hover {
    color: #ef3239;
}

.page-header.fix .header-top .container a:hover i {
    color: #ef3239;
}

.page-header.fix .header-top-wrap {
    height: 68px;
    align-items: center;
}

.page-header.fix .header-logo {
    opacity: 0.08;
    display: none;
}

.header-nav {
    position: relative;
}

.header-logo {
    opacity: 0.08;
    margin-right: 8%;
}

.header-nav__link {
    font-size: 16px;
    color: #fff;
    padding: 10px;
    margin: 0 9px;
}

.fix .header-nav__link.active {
    color: #ef3239!important;
}

.header-nav__burger i {
    background: #333;
    width: 25px;
    height: 2px;
    display: block;
    margin: 7px 0;
}

.header-nav__burger.active i {
    background: #ef3239;
}

.page-header.fix .header-nav__link.top {
    display: initial!important;
}

.header-nav__burger {
    position: absolute;
    top: -73px;
    right: 5px;
    display: none;
    padding: 6px;
}

.header-contacts__phone {
    font-size: 20px;
    color: #fff;
    height: 50px;
    display: inline-block;
    line-height: 50px;
    /*padding-left: 60px;
    //background: url(../icons/phoneinvert.png) 4px 5px no-repeat;*/
}

.page-header.fix .header-contacts__phone i {
    display: none;
}

.page-header.fix .header-contacts__phone {
    /*background: url(../icons/phone.png) 17px 10px no-repeat;*/
}

.header-contacts__phone > i {
    font-size: 30px;
    padding-right: 4px;
    vertical-align: middle;
}

.header-top-wrap {
    height: 108px;
    align-items: center;
}

.header-bottom-title__sub {
    font-size: 22px;
    margin-bottom: 18px;
}

.header-bottom-title__title {
    font-size: 54px;
    font-weight: 900;
}

.header-bottom-wrap {
    margin-bottom: 80px;
    align-items: flex-end;
}

.header-bottom-link {
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    display: inline-block;
    position: relative;
}

.header-bottom-links {
    margin-bottom: 5px;
}

.header-bottom-link > i {
    position: absolute;
    font-size: 50px;
    left: -60px;
}


/*home-about*/

.home-about {
    padding: 65px 0;
}

.home-about-image {
    min-width: 30%;
}

.home-about-wrap {
    align-items: center;
}

.home-about-content {
    margin-left: 9%;
    font-size: 17px;
    line-height: 32px;
}

.home-about-content > p {
    margin-bottom: 30px;
}

.home-about-phone__item {
    font-size: 18px;
    color: #ed1c24;
    margin-left: 53px;
    border-bottom: 1px transparent;
    position: relative;
}

.home-about-phone__item i {
    position: absolute;
    top: 2px;
    left: -24px;
}

.home-about-phone__item:hover {
    border-bottom: 1px solid;
}

/*home-photo*/

.home-photo {
    background: #f2f2f2;
    padding: 60px 0;
}

.home-photo-link {
    width: 25%;
    height: 380px;
}

.home-photo-link img {
    height: 380px;
    object-fit: cover;
    border: 2px solid #FFF;
    width: 100%;
} 

.home-photo-container {
    display: flex;
    flex-wrap: wrap;
    margin: 60px 0 0;
}

.home-photo-link.b {
    width: 50%;
}

.home-photo-link img {
    height: 380px;
    object-fit: cover;
}

/*.home-reviews*/

.home-reviews {
    margin: 65px 0;
}

.home-reviews__item video {
    max-width: 100%;
    max-height: 220px;
    width: 100%;
}

.home-reviews__item {
    max-height: 220px;
    overflow: hidden;
}

.home-reviews-container {
    margin: 70px 0;
    padding-bottom: 40px;
}

.home-reviews .slick-dots {
    bottom: auto!important;
    top: -98px;
    right: 0;
    float: right;
    width: auto!important;
}

/*home-partners*/

.home-partners-container-wrap {
    display: flex!important;
    flex-wrap: wrap;
    margin: 50px 0 70px;
}

.home-partners .slick-dots {
    bottom: auto!important;
    top: -45px;
    right: 0;
    float: right;
    width: auto!important;
}

.home-partners-container img {
    max-width: 100%;
}

.home-partners__item {
    width: 25%;
    margin: 12px 0;
    filter: grayscale(100%);
    opacity: 0.3;
    transition: 300ms;
}

.home-partners__item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/*home-form*/

.home-form {
    height: 812px;
    background: #0b090a;
} 

.home-form-fon img {
    max-width: 600px!important;
}

.home-form-container {
    align-items: center;
    margin-right: 80px;
}

.home-form-subtitle {
    line-height: 28px;
    color: #9e9e9e;
}

.home-form-title {
    font-size: 54px;
    font-weight: 900;
    color: #fff;
    margin: 22px 0 36px;
}

.home-form-callme {
    padding-left: 40px;
}

.home-form-form {
    color: #fff;
    margin: 50px 0 70px;
    font-size: 20px;
    position: relative;
}

.home-form-form input.field {
    font-size: 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff !important;
    padding: 0 40px;
    width: 180px;
    margin-right: -50px;
    margin-bottom: -1px;
    border-radius: 70px 0 0 70px;
    height: 78px;
    box-shadow: none !important;
}

.home-form-content {
    padding-right: 80px;
    min-width: 45%;
}

.home-form-p {
    font-size: 20px;
    line-height: 34px;
    color: #fff;
}

.home-form-call__item-title {
    font-size: 22px;
    line-height: 40px;
    margin-bottom: 20px;
}

.home-form-call__item-phone {
    color: #fff;
}

.home-form-call__item {
    font-size: 20px;
    color: #fff;
    margin-right: 45px;
}

.home-form-call__social-link {
    font-size: 34px;
    margin-right: 20px;
    display: inline-block;
}

.home-form-call__social-link:last-child {
    margin-right: 0!important;
}

/*page-footer*/

.page-footer {
    height: 98px;
    background: #000;
}

.page-footer {
    height: 98px;
}

.page-footer-container {
    height: 98px;
    align-items: center;
}

.footer-politica-link {
    color: #fff;
    font-size: 18px;
    opacity: 0.1;
}

.footer-dev, .footer-dev a {
    font-size: 18px;
    color: #fff;
}

.footer-dev * {
    opacity: 0.1;
}

.footer-politica-dev {
    margin-left: 6px;
    border-bottom: 1px solid;
}

.footer-dev a:hover, .footer-politica-link:hover {
    opacity: 1;
    color: #fff;
}

/*Modal*/

.modal__window .btn {
    font-size: 20px;
    background: #ef3239;
    background: linear-gradient(180deg, rgba(231,31,38,1) 0%, rgba(180,13,19,1) 100%);
    border: none;
    border-radius: 70px;
    line-height: 20px;
    display: inline-block;
    padding: 30px 60px;
    color: #fff;
    width: 320px;
    margin: 6px 0;
}

.modal__window input[type="text"] {
    font-size: 20px;
    border: 1px solid #dbdada;
    border-radius: 70px;
    line-height: 20px;
    display: inline-block;
    padding: 30px 60px;
    color: #333!important;
    max-width: 310px;
    margin: 6px 0;
}

.modal__window form.home-form-container {
    flex-direction: column;
    align-items: center;
}

.modal__window.fancybox-content {
    padding: 50px;
    position: relative;
}

.modal__window .home-form-container {
    align-items: center;
    margin-right: 0;
}

/*other*/

.preloader {
    position: fixed;
    background: #fff url(../icons/loader.gif) center no-repeat;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.overflow {
    overflow: hidden;
}

form#ajax_form_a {
    position: relative;
}

#result_form_c {
    text-align: center;
    line-height: 30px;
    padding: 10px 0 0;
    margin: 30px auto 0;
    background: transparent;
    position: absolute;
    bottom: 28px;
    z-index: 100;
    background: #fff;
    width: 320px; 
}

#result_form_a {
    width: 100%;
    text-align: -webkit-left;
    line-height: 30px;
    padding: 35px 0 0;
    margin: 5px 0 0 38px;
    background: #0b090a;
    position: absolute;
    height: 60px;
}

.home-form-form__message2 {
    width: 310px;
    text-align: center;
    margin: 14px auto 0;
    line-height: 23px;
    opacity: 0.3;
}

.home-form-form__message2 a:hover {
    color: #000;
    text-decoration: underline;
}

.home-form-form__message2 a {
     color: #333;
}

.home-form-form__message {
    position: absolute;
    bottom: -28px;
    margin-left: 39px;
    font-size: 13px;
    line-height: 18px;
    opacity: 0.3;
    width: 150%;
}

.home-form-form__message a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .header-logo {
        margin-right: 0;
    }
    .home-form-form label {
        margin-right: 20px;
    }
    .header-bottom-title__title {
        font-size: 40px;
    }
    .page-header {
        height: 570px;
    }
    .header-nav__link {
        margin: 0px;
    }
    .home-about-wrap {
        flex-direction: column;
    }
    .home-about-content {
        margin-left: 0;
        font-size: 17px;
        line-height: 32px;
        margin-top: 40px;
        text-align: center;
    }
    .home-partners__item {
        width: 50%;
        margin: 12px 0;
        filter: grayscale(100%);
        opacity: 0.3;
        transition: 300ms;
    }
    .slick-next {
        right: 0;
    }
    .slick-prev {
        left: 0;
    }
    .slick-next:before, .slick-prev:before, .slick-prev:focus:before, .slick-next:focus:before {
        opacity: .35;
        color: #ffffff;
    }
    .slick-next:hover:before, .slick-prev:hover:before, .slick-dots li button:focus:before {
        opacity: .55;
    }
    .home-photo-link, .home-photo-link img {
        height: 300px;
    }
    div.home-form-container {
        flex-direction: column;
    }
    .home-form-fon {
        display: none;
    }
    .home-form {
        height: auto;
        padding-top: 60px;
        text-align: center;
        padding-bottom: 60px;
    }
    form.home-form-container {
        max-width: 500px;
        margin: auto;
    }
    .home-form-content {
        padding-right: 0;
        min-width: auto;
    }
    .page-footer-container {
        height: 50px;
        align-items: center;
        flex-direction: column;
        padding: 20px 0;
    }
    .header-contacts__phone {
        font-size: 17px;
    }
    
    .home-form-form__message {
        bottom: -49px;
        margin-left: 30px;
        width: auto;
    }
}

@media (max-width: 767px) {
    .header-top-wrap {
        height: auto;
        flex-direction: column;
    }
    .page-header-items, .page-header-background {
        position: static;
    }
    .page-header {
        height: 100%;
        display: flex;
        flex-direction: column-reverse;
    }
    .page-header-background {
        display: none!important;
    }
    .page-header {
        color: #333;
    }
    .header-nav__link {
        color: #333;
    }
    .header-logo {
        display: none;
    }
    .header-top-wrap {
        height: auto;
        align-items: flex-start;
        padding-left: 0px;
        padding-top: 10px;
        flex-direction: column-reverse;
    }
    .header-contacts__phone {
        color: #333;
        height: auto;
        display: block;
        line-height: 100%;
        margin: 30px 10px;
    }
    nav.header-nav__links {
        display: flex;
        flex-direction: column;
        padding: 15px 10px 20px;
    }
    .header-nav {
        width: 100%;
        margin-bottom: 25px;
        background: #f1f1f1;
        border-top: 1px solid #eee;
    }
    .header-bottom-title__sub {
        font-size: 22px;
        margin-bottom: 18px;
        line-height: 34px;
    }
    .header-bottom-title__title {
        font-size: 40px;
        line-height: 46px;
    }
    .header-bottom-links {
        display: none;
    }
    .header-bottom-wrap {
        margin-bottom: 30px;
    }
    .header-top .container {
        position: static;
    }
    .page-header-items, .page-header-background {
        position: static;
        margin: 0!important;
    }
    .page-header.fix .header-top-wrap {
        height: auto;
        align-items: center;
    }
    .home-about {
        padding: 15px 0 40px;
    }
    .home-about-content > p {
        margin-bottom: 15px;
        line-height: 30px;
    }
    .home-about-phone {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .home-about-phone__item {
        margin-left: 0;
        margin-top: 10px;
    }
    .home-about-phone__item i {
        display: none;
    }
    .home-form-title {
        font-size: 40px;
    }
    form.home-form-container {
        max-width: 100%;
        flex-direction: column;
    }
    .home-form-container {
        align-items: center;
        margin-right: 0;
    }
    .home-form-form input.field {
        font-size: 18px;
        padding: 22px 30px 22px;
        width: 230px;
        margin-right: 0;
        margin-bottom: 15px;
        border-radius: 70px;
    }
    .home-form-form .btn.btn-primary.big {
        font-size: 20px;
        padding: 24px 40px;
        width: 292px;
    }
    .home-form-p {
        font-size: 17px;
        line-height: 26px;
    }
    .home-form-title {
        margin: 15px 0 26px;
    }
    .home-form-callme {
        flex-direction: column;
    }
    .home-form-call__item {
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 50px;
    }
    .home-form-call__item:last-child {
        margin-bottom: 0!important;
    }
    .page-footer-container {
        height: 100px;
        padding: 20px 0;
    }
    .footer-dev {
        text-align: center;
        line-height: 28px;
    }
    .header-nav__burger {
        display: block;
        cursor: pointer;
    }
    .page-footer {
        height: auto;
    }
    nav.header-nav__links {
        display: none;
    }
    .header-nav__link {
        display: block;
    }
    
    .fix .header-top {
        position: static;
        width: 100%;
    }
    
    .modal__window.fancybox-content {
        padding: 30px;
    }
    .modal__window input[type="text"] {
        font-size: 18px;
        line-height: 20px;
        padding: 20px 30px;
    }
    .modal__window .btn {
        line-height: 20px;
        padding: 24px 40px;
        width: 307px;
        margin: 6px 0;
    }
    .home-form-callme {
        padding-left: 0;
    }
    .home-form-form__message {
        margin-left: 0;
    }
    .home-form-form__message2 {
        margin: 3px auto 5px;
    }
    .home-reviews__item {
        max-height: 185px;
        overflow: hidden;
    }
    .home-form-form input.field {
        height: 18px;
    }
    .page-header-items:before {
        background: rgba(0, 0, 0, 0);
    }
}


@media (min-width: 767px) {
    .header-bottom-title__sub br {
        display: none;
    }
}

@media only screen and (max-width : 768px) {
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}
}