body {
    margin-top: 196px;
    font-family: Arial,sans-serif;
    color: #333;
}
.img-center {margin: 0 auto;}
section {padding: 20px 0;}
a,
a:hover,
a:focus,
a:active,
a.active {
    outline: none;
}
a,
.btn {
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
}
.btn-default {
    background: #ad2b33;
    border-color: #ad2b33;
    color: #fff;
    border-radius: 9px;
    font-size: 14px;
}
.btn-default:hover,
.btn-default:active,
.btn-default:focus,
.btn-default:active:focus {
    background: #8c1f25;
    border-color: #8c1f25;
    color: #fff;
}
.section-heading {
    color: #ad2b33;
    margin: 10px 0 20px;
    font-size: 23px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.section-heading span {
    color: #0a001f;
}

.form-control {
    font-size: 14px;
    border-radius: 9px;
    height: 38px;
    border: 1px solid #d1d1d1;
    text-align: center;
    font-style: italic;
}
.form-control:focus {
    border-color: #008b50;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 139, 80, 0.7);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 139, 80, 0.67);
}
.col-lg-20 {
    width: 20%;
    float: left;
}

/* socials */

.social a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../img/icons/social.png) no-repeat;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    margin-right: 8px;
}
.social a.vk {
    background-position: 0 0;
}
.social a.ok {
    background-position: -40px 0;
}
.social a.fb {
    background-position: -80px 0;
}
.social a.tw {
    background-position: -120px 0;
}
.social a.vk:hover {
    background-position: 0 -30px;
}
.social a.ok:hover {
    background-position: -40px -30px;
}
.social a.fb:hover {
    background-position: -80px -30px;
}
.social a.tw:hover {
    background-position: -120px -30px;
}
.social a.insta {
    background-position: -160px 0;
}
.social a.insta:hover {
    background-position: -160px -30px;
}
.bottom-header .social a.insta {
    background-position: -160px -60px;
}
.bottom-header .social a.insta:hover {
    background-position: -160px -30px;
}

.social .header-region {
    text-align: right;
    float: right;
    font-size: 9pt;
    line-height: 15px;
    margin-top: 1px;
}


.center-header {
    text-align: center;
    font-size: 12pt;
    height: 30px;
    padding-top: 5px;
    background-color: #ccc;
    font-weight: 600;
    font-style: italic;
    color: #663333;
}

@media(max-width:1024px) {

}
@media(max-width:768px) {
    section {padding-top: 25px; padding-bottom: 25px;}
    .section-heading {font-size: 28px;}
    .center-header {display: none;}
}
@media(max-width:668px) {
    .col-lg-20 {width: 50%;}
    .center-header {display: none;}
}
@media(max-width:480px) {
    .section-heading {font-size: 20px;}
    .center-header {display: none;}
}

/* navabr */

.custom-navbar .navbar {
    margin-bottom: 0;
    border-radius: 0;
    background: #333;
}
.custom-navbar .top-menu,
.custom-navbar .bottom-menu {
    text-align: justify;
    width: 100%;
    font-size: 0;
    line-height: 0;
}
.custom-navbar .top-menu li,
.custom-navbar .bottom-menu li {
    display: inline-block;
    float: none;
    vertical-align: top;
}
.custom-navbar .top-menu li.helper,
.custom-navbar .bottom-menu li.helper {
    width: 100%;
    height: 0;
    visibility: hidden;
}
.custom-navbar .top-menu li a,
.custom-navbar .bottom-menu li a {
    position: relative;
    text-align: center;
    line-height: 18px;
    padding: 10px 5px;
}
.custom-navbar .top-menu li a {
    color: #999;
    font-size: 14px;
}
.custom-navbar .bottom-menu li a {
    color: #ad2b33;
    font-size: 14px;
    font-weight: 700;
}
.custom-navbar .top-menu li.active a,
.custom-navbar .top-menu li.active a:hover {
    color: #fff;
    background-color: transparent;
}
.custom-navbar .top-menu li.active a:after,
.custom-navbar .top-menu li a:hover:after{
    content: '';
    width: 24px;
    height: 2px;
    background: #ad2b33;
    display: block;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 8px;
}
.custom-navbar .top-menu li a .badge {
    background-color: #008b50;
    font-size: 13px;
    float: right;
    margin-top: -2px;
    margin-left: 5px;
}
.custom-navbar .bottom-menu li a:hover,
.custom-navbar .bottom-menu li a:focus,
.custom-navbar .bottom-menu li a:active,
.custom-navbar .bottom-menu li a:active:focus {
    background-color: transparent;
}
.custom-navbar .bottom-header {
    padding: 5px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.custom-navbar .bottom-header .logo {
    margin: 10px 0;
}
.custom-navbar .bottom-header .logo img {
    max-height: 70px;
}
.custom-navbar .bottom-header .bottom-menu {
    margin: 15px 0 0 0;
}
.custom-navbar .bottom-header .contacts {
    text-align: center;
    margin-top: 5px;
}
.custom-navbar .bottom-header .contacts .phone-seo ,
.custom-navbar .bottom-header .contacts .ya-phone .phone-seo {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 19px;
    height: 15px;
    /*margin-top: 5px;*/
}
.custom-navbar .bottom-header .contacts .phone-seo span ,
.custom-navbar .bottom-header .contacts .ya-phone .phone-seo span {
    color: #666;
    font-size: 15px;
}
.custom-navbar .bottom-header .contacts .payfree-title {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 9pt;
    /*margin-bottom: 10px;*/
    margin-top: 10px;
}

.custom-navbar .bottom-header .contacts .header-call {
    color: #663333;
}

.b24-web-form-popup-btn-1 {
    cursor: pointer;
}

.custom-navbar .bottom-header .contacts .newtoncall {
    margin-top: 15px;
    text-transform: uppercase;
    text-decoration: underline;
}

.custom-navbar .bottom-header .contacts a:hover, .custom-navbar .bottom-header .contacts .ya-phone a:hover {
    color:  #ad2b33;
    text-shadow: 0 0 1px rgba(0,0,0,0.5);
}

.custom-navbar .bottom-header .contacts .btn {

}
.bottom-header .social {
    transform: scale(0.8);
    margin: 0 auto;
    text-align: center;
}
.bottom-header .social a {
    margin: 0;
}
.bottom-header .social a.vk {
    background-position: 0 -60px;
}
.bottom-header .social a.ok {
    background-position: -40px -60px;
}
.bottom-header .social a.fb {
    background-position: -80px -60px;
}
.bottom-header .social a.tw {
    background-position: -120px -60px;
}
.bottom-header .social a.vk:hover {
    background-position: 0 -30px;
}
.bottom-header .social a.ok:hover {
    background-position: -40px -30px;
}
.bottom-header .social a.fb:hover {
    background-position: -80px -30px;
}
.bottom-header .social a.tw:hover {
    background-position: -120px -30px;
}

@media(max-width:1200px) {
    .custom-navbar .bottom-header .contacts .phone-seo, .custom-navbar .bottom-header .contacts .ya-phone .phone-seo{font-size: 15px;}
    .custom-navbar .bottom-header .contacts .payfree-title {font-size: 8pt;}
}
@media(max-width:992px) {
    .custom-navbar .top-menu li a {padding: 15px 10px;}
    .custom-navbar .bottom-menu li a {font-size: 12px;}
    .custom-navbar .bottom-header .bottom-menu {margin: 0;}
    .custom-navbar .bottom-header .contacts .phone-seo, .custom-navbar .bottom-header .contacts .ya-phone .phone-seo {font-size: 11px;}
    .custom-navbar .bottom-header .contacts .btn, .custom-navbar .bottom-header .contacts .phone-seo span, .custom-navbar .bottom-header .contacts .ya-phone .phone-seo span {font-size: 10px;}
    .custom-navbar .bottom-header .contacts .payfree-title {font-size: 6pt; margin-top: 5px;}
    .bottom-header .social {display: none;}
}
@media(max-width:668px) {
    body {margin-top: 0;}
    .navbar-fixed-top {position: relative;}
    .custom-navbar .top-menu li {float: left;}
    .custom-navbar .bottom-header .contacts .phone-seo, .custom-navbar .bottom-header .contacts .ya-phone .phone-seo {font-size: 14px;}
    .custom-navbar .bottom-header .contacts .btn, .custom-navbar .bottom-header .contacts .phone-seo span , .custom-navbar .bottom-header .contacts .ya-phone .phone-seo span {font-size: 12px;}
    .custom-navbar .bottom-header .contacts .payfree-title {font-size: 6pt; margin-top: 3px;}
    .custom-navbar .bottom-header {padding: 5px 0;}
}
@media(max-width:480px) {

}

/* start */

.start {
    text-align: center;
}
.start .section-heading {
    color: #4c4c4c;
    margin: 5px 0;
}
.start .section-lead {
    font-size: 16px;
    color: #fff;
    background: #ad2b33;
    display: inline-block;
    padding: 8px 30px;
}

/* slider */

.custom-carousel .arrow {
    fill: none;
    stroke: #898989;
    stroke-width: 2px;
    fill-rule: evenodd;
}
.custom-carousel .carousel-control,
.custom-carousel .carousel-control:hover {
    background-image: none;
    opacity: 1;
    width: auto;
}
.slider .custom-carousel .carousel-control {
    top: 190px;
    width: 15%;
}
.custom-carousel .carousel-control:hover .arrow {
    stroke: #ad2b33;
}
.carousel-inner{
    padding: 30px 0 10px;
}
#testimonials .carousel-inner {
    padding: 0;
}
.slider {
    padding: 0;
    position: relative;
}
.slider .item {
    height: 380px;
}
.slider .section-heading {
    text-align: left;
    font-size: 36px;
    line-height: 56px;
    padding: 125px 0;
    margin: 0;
}
.slider .section-heading span.red {
    background: #ad2b33;
    color: #fff;
    padding: 0 15px;
}
.slider .section-heading span.small {
    font-size: 20px;
    line-height: 24px;
    display: block;
}
.slider .slider-form {
    text-align: center;
    background: #fff;
    border: 10px solid #f3f3f3;
    padding: 50px 30px;
    max-width: 440px;
    float: right;
    position: absolute;
    margin-top: -30px;
}
.slider .slider-form .block-heading {
    font-size: 20px;
    font-weight: 900;
    line-height: 26px;
    color: #ad2b33;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.slider .slider-form .block-lead {
    font-size: 12px;
    color: #808080;
    margin-bottom: 20px;
}
@media(max-width:1440px) {
    .slider .custom-carousel .carousel-control {width: auto;}
}
@media(max-width:1024px) {
    .slider .slider-form .block-heading {font-size: 20px;}
    .slider .section-heading {font-size: 42px;}
}
@media(max-width:992px) {
    .slider .slider-form {position: relative;}
    .start .section-lead {font-size: 20px; padding: 10px;}
    .slider .section-heading {font-size: 30px; line-height: 42px;}
    .slider .section-heading .small {font-size: 16px;}
    .slider .slider-form {max-width: 300px;}
}
@media(max-width:767px) {
    .slider .slider-form {display: none;}
}
@media(max-width:480px) {
    .custom-carousel .carousel-control {display: none;}
    .start .section-lead {font-size: 14px; }
    .slider .section-heading {font-size: 21px; line-height: 30px;}
    .slider .item {height: auto;}
}

/* advantages */

.advantages {
    text-align: center;
    padding-bottom: 0;
}
.advantages .icon {
    margin-bottom: 20px;
}
.advantages .text {
    font-size: 14px;
    max-width: 160px;
    min-height: 100px;
    margin: auto;
}
.advantages .text span {
    text-transform: uppercase;
    color: #ad2b33;
    display: block;
    font-weight: 700;
}
.advantages .quote {
    margin-bottom: 80px;
    padding: 30px;
    border: 10px solid #f3f3f3;
    font-size: 20px;
    position: relative;
}
.advantages .quote span {
    font-size: 16px;
    color: #a5a5a5;
    display: block;
    margin-top: 15px;
}
.advantages .quote:before {
    content: url(images/quote.png);
    position: absolute;
    left: 0;
    right: 0;
    top: -25px;
    margin: auto;
}

/* stats */

.stats {
    background: url(../img/bg/stats.jpg) center no-repeat;
    background-size: cover;
    text-align: center;
    padding: 80px 0;
}
.stats .number {
    font-size: 34px;
    font-weight: 900;
}
.stats .number span {
    font-weight: 700;
}
.stats .text {
    display:flex;
    justify-content:center;
    align-items:center;
    color: #fff;
    font-size: 16px;
    line-height: 18px;
    background: #ad2b33;
    padding: 	8px 20px;
    height: 52px;
    position: relative;
    margin: 0 20px;
}
.stats2 {
    text-align: center;
}
.stats2 .number {
    font-size: 40px;
    font-weight: 900;
    color: #ad2b33;
}
.stats2 .text {
    font-size: 20px;
}
.divider {
    background: url(../img/bg/divider.jpg);
    background-size: cover;
    height: 140px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.stats2 .icons div:nth-child(1) .bg {
    background: url(../img/icons/bg01.svg) center no-repeat;
    background-size: contain;
}
.stats2 .icons div:nth-child(2) .bg {
    background: url(../img/icons/bg02.svg) center no-repeat;
    background-size: contain;
}
.stats2 .icons div:nth-child(3) .bg {
    background: url(../img/icons/bg03.svg) center no-repeat;
    background-size: contain;
}
.stats2 .icons div:nth-child(4) .bg {
    background: url(../img/icons/bg04.svg) center no-repeat;
    background-size: contain;
}

@media(max-width:1024px) {
    .stats .text {margin: 0;}
}
@media(max-width:992px) {
    .stats .text {margin: 0 20px;}
}
@media(max-width:668px) {

}
@media(max-width:480px) {
    .stats2 .number {font-size: 30px;}
    .stats .text {margin: 0; font-size: 12px;}
}

/* partners */

.partners {
    background: #f9f9f9;
}
.partners .item {
    margin: 0 15%;
}
.partners .custom-carousel .carousel-control {
    top: 20%;
}
#partners .item img {
    max-height: 85px;
}

/* form section */

.form-section {
    text-align: center;
}
.form-section .section-heading {
    font-size: 24px;
    color: #4c4c4c;
    margin-bottom: 10px;
}
.form-section .section-lead {
    font-size: 20px;
    color: #4c4c4c;
    margin-bottom: 30px;
}
.form-section.first {
    background: url(../img/bg/form1.jpg) center no-repeat;
    background-size: cover;
}
.form-section.second {
    background: url(../img/bg/form2.jpg) center no-repeat;
    background-size: cover;
}
.form-section .form-control {
    border-color: #fff;
}

/* testimonials */

.testimonials {
    text-align: center;
    padding-bottom: 0;
}
.testimonials .text p {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 10px;
    position: relative;
}
.testimonials .name {
    font-size: 20px;
    font-weight: 700;
    color: #ad2b33;
}
.testimonials .desc {
    font-size: 12px;
    font-style: italic;
    color: #a5a5a5;
}
.testimonials .readmore {
    color: #ad2b33;
    display: block;
    margin-bottom: 20px;
}
.testimonials .preview {
    min-height: 80px;
    max-height: 80px;
    overflow: hidden;
}
.testimonials .preview:after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 30px;
    width: 100%;
    display: block;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}
.testimonials .preview.active {
    max-height: 9999px;
}
.testimonials .preview.active:after {
    display: none;

}
.carousel-indicators {
    position: relative;
    bottom: 0;
    margin-top: 10px;
}
.carousel-indicators li {
    background-color: #ccc;
    margin-right: 10px;
}

.carousel-indicators li.active {
    background-color: #ad2b33;
    margin-right: 10px;
}


/* cert */

/* news */

.news {

}
.news .section-heading {
    text-align: left;
    font-size: 24px;
}
.news .news-item {
    margin-bottom: 50px;
}
.news .news-item img {
    border: 1px solid #f0f0f0;
}
.news .news-item .date {
    color: #a5a5a5;
    font-size: 12px;
    font-style: italic;
}
.news .news-item .name,
.article .name {
    font-size: 20px;
    font-weight: 700;
    color: #4c4c4c;
    line-height: 22px;
    margin: 5px 0 10px;
}
.news .news-item .text,
.news .news-item .readmore,
.article .text,
.article .readmore {
    font-size: 13px;
    line-height: 20px;
    display: inline;
}
.news .news-item .readmore,
.article .readmore {
    color: #ad2b33;
}
.article img {
    margin: 10px 0 20px;
}
.news .btn-default {
    padding: 6px 30px;
}

/* footer */

.top-footer {
    padding: 25px 0;
    background: #333333;
}
.top-footer hr {
    border-color: #4d4d4d;
}
.top-footer p,
.top-footer a {
    color: #999999;
}
.top-footer a:hover {
    color: #fff;
}
.top-footer p {
    font-size: 13px;
}
.top-footer ul {
    padding: 0;
}
.top-footer ul li {
    font-size: 14px;
    line-height: 26px;
}
.top-footer .social {
    margin-top: 15px;
}
.top-footer .contacts {
    margin-bottom: 30px;
}
.top-footer .contacts:after {
    content: '';
    clear: both;
    display: table;
}
.top-footer .contacts .phones {
    margin-right: 35px;
}
.top-footer .contacts .phone-seo {
    display: block;
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.top-footer .contacts .phone-seo span {
    color: #999999;
    font-size: 12px;
}

.top-footer .contacts .payfree-title span{
    font-size: 8pt;
    margin-top: 5px;
}
.top-footer .contacts .payfree-title:hover{
    text-decoration: none;
}

.top-footer .contacts .btn {
    color: #fff;
}
.top-footer p.text-center {
    margin-bottom: 0;
}

.bottom-footer {
    text-align: center;
    color: #555555;
    background: #111111;
    padding: 25px 0;
}
.bottom-footer a {
    color: #555555;
    text-decoration: underline;
}

@media(max-width:1024px) {

}
@media(max-width:992px) {

}
@media(max-width:668px) {

}
@media(max-width:480px) {
    .news .section-heading {text-align: center;}
    .testimonials .text p, .news .news-item .text, .news .news-item .readmore, .article .text, .article .readmore {font-size: 14px; line-height: 16px;}
}

.icon-advantage {
    max-height: 130px;
}
