body, input, textarea, button, form, #countdown {
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
}
a{color: #222; text-decoration: none;}
header{background: url(../img/bgt2.png) repeat-x; box-shadow: 0px 0px 5px #999;}
section{padding-bottom: 30px;}
/* первое меню в синей полосе */
.lang_swicher_active:hover, .lang_swicher_nonactive:hover {
    color: #fff;
    background-color: transparent!important;
}
.st1bg{background: url(../img/bgt.png) repeat-x;}
.st1bg .navbar, .top-menu{padding: 0;}
.st1bg .navbar-light .navbar-nav .nav-link{ color: #fff; /*font-size: 90%;*/ padding: 9px 10px 10px; transition: .3s all}
.st1bg .navbar-light .navbar-nav .nav-link:hover, .st1bg .navbar-light .navbar-nav  .dropdown-menu{color: #fff; background-color: #6e8ebd;}
.st1bg .navbar-light .navbar-nav  .dropdown-menu a{color: #fff;}
.st1bg .navbar-light .navbar-nav  .dropdown-menu a:hover{color: #fff; background: url(../img/bgt.png) repeat-x;}
.for_mobile_menu{display: none;} /* когда размер экрана становится меньше 991px в див с этим классом, заезжает меню */
.this_menu_replase{} /* когда размер экрана становится меньше 991px меню с этим классом заезжает в див .for_mobile_menu */
/* когда размер экрана становится больше 991px меню переезжает обратно в див .top-menu */

.st1bg .navbar-light .navbar-nav .lang a{padding: 9px 0px 0px; position: relative; margin-right: 5px; margin-left: 5px;}
.st1bg .navbar-light .navbar-nav .lang a::before{content: ''; position: absolute; border-right: 2px solid #fff; height: 20px; left: -5px;}
.st1bg .navbar-light .navbar-nav .lang:first-child a::before{content: none;}
.st1bg .navbar-light .navbar-nav .yellow{color: #fff608; position: relative;}
.st1bg .navbar-light .navbar-nav .yellow::before{content: ''; position: absolute; bottom: 10px; width: 74%; border-bottom: 1px dotted #fff608;}
.st1bg .navbar-light .navbar-nav  .dropdown-toggle::after{content: none;}

/* наш город */
.my-cyti{text-align: right;}
.my-cyti span a{color: #E2001A; text-decoration: none; font-family: Helvetica,Arial,sans-serif;}
.exchange{    text-decoration: none;
    font-size: 10px;
    border-bottom: 1px;
    border-bottom-style: dotted;
    font-style: italic;
	color: #222;
	transition: .2s all;}
.my-cyti a:hover{text-decoration: none;}
.exchange:hover{text-decoration: none; color: #999;}
.pd20{padding-top: 18px;}

/* всея меню */
.top-menu .navbar-nav .dropdown.show, .top-menu .navbar-nav .dropdown:hover{background: #fff;}
.navbar-light .navbar-nav .nav-link{font-size: 0.9rem; color: #222}
.search{padding: 5px 0;
    box-shadow: 0px 0px 5px -4px #000;
    /*background: #3f79c2;*/
    background: url(../img/bgt3.png) repeat-x;
    background-size: cover;
    background-position: -150%;
}

/* слайдер */
.slider{position: relative; margin-top: 200px;}
.detail-city{position: relative; margin-top: 220px;}
.slider:after{    content: "";
    background: url(../img/shadow1.png) no-repeat center;
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 30px;
    width: 100%;}

.redE2001A{color: #E2001A;}
.plitstextcalc h1{font-size: 25px;}
.plitstextcalc h1 small{    font-size: 60%;
    border-left: 1px solid #999;
    padding-left: 10px;
color: #000;}
/* плитки  */
.plits .plit{border: 1px solid #aaa; border-radius: 4px; text-align: center; /*margin: 10px 0;*/}
/*.plits .plit a{color: #fff;}*/
.plits .plit a:hover{text-decoration: none;}
/*.plits .plit a i{color: #225daa; font-size: 135px; margin: 20px 0;}*/
.bg-blue{background: #4173b5 url(../img/bgt4.png) no-repeat;}
.plits .plit a i { color: #fff; font-size: 1.5em;  padding: 7px 9px; }
.plits .plit a .icon-city i {   font-size: 1.4em;}
.plits .plit .head-plit{ 
    
    background: #4173b5 url(../img/bgt4.png) no-repeat;
 color: #fff; font-size: 20px;
    padding-top: 4px;}

.label_calc{text-align: left;}
.row-fluid{display: flex; flex-wrap: wrap;}
.trselem1{padding-top: 1px}

/* наши заголовки на главной*/
.main-h4{    padding: 30px 0 0 0;
    color: #5676A5;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;}

.news, .ofices_rus{border-top: 1px solid #f3f3f3; background: #fbfbfb; padding-bottom: 30px;}
/* новости на главной */
.date-new{font-size: 14px; margin: 5px 0; font-style: italic;}
.href-new{font-size: 16px; text-decoration: underline; transition: .2s;} 
.href-new:hover{text-decoration: none; color: #999}

/* раздел о компании и списка зарубежных офисов, делаем полоску */
.company, .ofices_ofter{border-top: 1px solid #f3f3f3; position: relative;}
/* раздел о компании, добавляем треугольник к полоске */
.company:before {
    position: absolute;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    content: "";
    top: -30px;
    margin-left: -25px;
    border-width: 15px 25px;
    border-color: transparent transparent #f3f3f3 transparent;
}
.company:after{
    position: absolute;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    content: "";
    top: -30px;
    margin-left: -25px;
    border-width: 16px 25px;
    border-color: transparent transparent #fff transparent;
}
/* выделяем текст абзаца красной линией слева и серым воном */
.text-title-red{border-left: 3px solid #d12c02; background: #f3f3f3; color: #5676A5; padding: 5px 10px; font-weight: 600;}
/* списки городов на главной перед подвалом */
.ofices_rus a, .ofices_ofter a{color: #5676A5; text-decoration: underline; font-size: 14px;}
.ofices_rus a:hover, .ofices_ofter a:hover{text-decoration: none;}
/* наш подвал */
footer{    background: url(../img/bgb.png) no-repeat right;
    width: 100%;
    height: 162px;}
footer.fixedfooter{position: fixed; bottom: 0; left: 0;}
footer .container .f1red, footer .container-fluid .f1red{    text-align: center;
    color: red;
    font-size: 30px;}
footer .container .f1red .year{font-size: 40px;
    font-weight: 800;
    font-style: oblique;}

/* перерисуем шапку модалки */
.modal-content, .modal-content .modal-header{border-top-left-radius: 0; border-top-right-radius: 0; }
.modal-content .modal-header{background: url(../img/bgt.png) repeat-x; padding: 5px 15px; color: #fff;}
.modal-content .modal-header .close{color: #fff; opacity: 1;}
/* особые условия в модалке для списка городов */
.modal-body.cytis{padding: 0;}
.modal-body.cytis .nav-pills{background: #4a81d0;}
.modal-body.cytis .nav-pills .nav-link{color:#fff;}
.modal-body.cytis .nav-pills .nav-link img{width: 35px;}
.modal-body.cytis .nav-pills .active, .modal-body.cytis .nav-pills .nav-link:hover{background: #fff; color: #4a81d0;}
.modal-body.cytis .nav-pills .nav-link{border-radius: 0;}
.modal-cytis{list-style: 0; padding: 0;}
.modal-cytis li{display: inline-block; width: 24%; font-size: 14px;}


/* блоки для страницы города */
.contact-cyti ul {
    list-style: none;
    background: #fbfbfb;
    padding: 0;
    border-radius: 5px;
    margin: 0 20px 0 0;
}

/* блоки для текстовых страниц сайта */
.page-content{/*background: url(../img/6.jpg) repeat-x top center;*/ padding-top: 30px; margin-top: 195px;}
/* левый блок */
.vmenu{position: relative;}
/* добавляем градиентную полоску */
.vmenu:after{
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    background: rgba(255,255,255,0.07);
background: -moz-linear-gradient(top, rgba(255,255,255,0.07) 0%, rgba(209,209,209,1) 22%, rgba(201,201,201,1) 51%, rgba(201,201,201,1) 81%, rgba(255,255,255,0) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0.07)), color-stop(22%, rgba(209,209,209,1)), color-stop(51%, rgba(201,201,201,1)), color-stop(81%, rgba(201,201,201,1)), color-stop(100%, rgba(255,255,255,0)));
background: -webkit-linear-gradient(top, rgba(255,255,255,0.07) 0%, rgba(209,209,209,1) 22%, rgba(201,201,201,1) 51%, rgba(201,201,201,1) 81%, rgba(255,255,255,0) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,0.07) 0%, rgba(209,209,209,1) 22%, rgba(201,201,201,1) 51%, rgba(201,201,201,1) 81%, rgba(255,255,255,0) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,0.07) 0%, rgba(209,209,209,1) 22%, rgba(201,201,201,1) 51%, rgba(201,201,201,1) 81%, rgba(255,255,255,0) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0.07) 0%, rgba(209,209,209,1) 22%, rgba(201,201,201,1) 51%, rgba(201,201,201,1) 81%, rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
}


.table-unic th{font-size: 13px;}
.table-unic td{font-size: 14px;}
.table-unic td a{color: #0e4096;}


/* хлебные крошки немного кастамизируем */
.breadcrumb-item+.breadcrumb-item::before{    font-family: 'Font Awesome 5 Free';
    content: "\f105";
    color: #666;
    font-weight: 600;
    font-size: 12px;}
.breadcrumb{background: transparent; margin-bottom: 0px;}
.breadcrumb-item a{color: #666;    font-size: 14px; text-decoration: underline;}
.breadcrumb-item a:hover{text-decoration: none;}

.dropdown-item{font-size: 14px;}

#accordion1 .nav-link-down, #accordion1 .nav-link-right{position: relative; padding: .3rem 1rem;}
#accordion1 .nav-link-right::before{    font-family: 'Font Awesome 5 Free';
    content: "\f105";
    color: #E2001A;
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    left: 0px;}

#accordion1 .nav-link-down::before{    font-family: 'Font Awesome 5 Free';
    content: "\f107";
    color: #E2001A;
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    left: 0px;}
#accordion1 .active .nav-link-right {font-weight: 600;
    font-size: 15px;}

.content h1{font-size: 210%; color: #E2001A;}

/* кнопка поиска */
.search-btn{height: 38px;}

.label-search{margin-bottom: 0;}

/* Формы и их элементы */
.scrollblock{margin: 0;}
.scrollblock div{background: #5676a5;}
.scrollblock div a{color: #fff;}
.scrolltoblock{background: #5676a5; color: #fff; text-align: center; margin: 10px 0;}

.grouprow{margin: 10px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 3px;}

.form-control{
	border-radius: 4px;
    border: 1px solid #aaa;
}
.btn-outline-primary, .form-control.is-valid, .was-validated .form-control:valid{    color: #5676a5;
    background-color: transparent;
    background-image: none;
    border-color: #5676a5; background-color: #fff;}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #5676a5;
    border-color: #5676a5;
}
.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: #5676a5;
}

.btn{border-radius: 3px;}
.btn-primary{    color: #fff;
    background-color: #225daa;
    border-color: #225daa;}

.btn-vizcuriere{    color: #fff;
    background-color: #154b92;
    border-color: #225daa;
    border-bottom: 3px solid #e21d1a;
    
}
.btn-vizcuriere:hover{
    background-color: #c11411; border-bottom: 3px solid #fff; 
        color: #fff;}

.btn-rasch{    color: #fff;
    /*background-color: #154b92;
    border-color: #225daa;
    border-bottom: 3px solid #e21d1a;*/
    transition: background-position .3s ease-in;
background: #4173b5 url(../img/bgt4.png) no-repeat;
background-position-x: -10px;

}

.btn-rasch:hover{
    /*background-color: #c11411; border: 1px solid #c11411; border-bottom: 3px solid #154b92;*/
     background-position-x: -30px;
     border-bottom: 3px solid #e21d1a;
    color: #fff;}

.custom-control-label{color: #fff;}
.form-group .custom-control-label{color: #000;}

.tecxtplaska{font-size: 20px;
    font-weight: 300;
    padding-top: 3px;}

.lang_swicher_active {
    font-weight: 800;
    text-decoration: none;
}

.lang_swicher_nonactive {    
    text-decoration: none;
    border-bottom: 1px dashed #fff;
}

.soc_bl{margin-top: 25px;}
.social{list-style: none; padding: 0;}
.social li{display: inline-block; font-size: 2.5em; padding: 0 0.3em;}
.logoimg{width: 205px;}
.mobile_line .nav-item.lang{display: inline-block;}

/* Анимация плиточек на главной и странице города*/
    .hvr-bounce-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.hvr-bounce-to-right:hover, .hvr-bounce-to-right:focus, .hvr-bounce-to-right:active {
    color: white;
}
.plitcyti.hvr-bounce-to-right:before {
 background-position-x: -68px;
}
.hvr-bounce-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #4173b5 url(../img/bgt4.png) no-repeat;
    background-position-x: -85px;
   
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;}
.hvr-bounce-to-right:hover:before, .hvr-bounce-to-right:focus:before, .hvr-bounce-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.nav-tabs .nav-link.active{font-weight: 600;}


.small-pad{height: 28px; padding: .2rem .75rem;}
.selectedcyti a{color: #E2001A;}

/*

.nav-tabs .nav-link {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    
    position: relative;
    border-radius: 0;
    border-color: #dee2e6; 
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.nav-tabs .nav-link:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.nav-tabs .nav-link.active {
    color: white;
    background-color: #3f79c2;
}
.nav-tabs .nav-link.active:before {
    -webkit-transform: scale(0);
    transform: scale(0);
} */

.nav-tabs .nav-link {
    font-size: 1.1rem;
}


#searchnakl{border: 2px solid #fff;}
.search-btn{background: #fff;
    border-radius: 2px;
    color: #3f79c2;
    border: none;}
.input-group-append {
    margin-left: -3px;
}


.ui-autocomplete{padding: 0; list-style: none; border: 1px solid #999; background: #fff; max-width: 600px;}
.ui-menu-item{padding: 3px; cursor: pointer;}
.ui-menu-item:hover{background: #c8ddf5;}


.list-group-custom{border: none; list-style: none; padding-left: 0;}
.list-group-custom li{border: none; padding: 3px 20px; position: relative;}
.list-group-custom li::before{
	font-family: "Font Awesome 5 Free";
    content: '\f111';
    color: #E2001A;
    font-weight: 500;
    font-size: 12px;
    margin-right: 5px;
    position: absolute;
    left: 0;
    top: 6px;}




  .mobile_menu{    
    position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      background: #245daa;
      z-index: 10;display: none;}
  .mobile_menu ul{
      margin: 0;
      padding: 0;
      list-style: none;
      text-align: center;
    }
    .mobile_menu .level_0{display: none;}
    .mobile_menu ul li{padding: 5px 0;  border-bottom: 3px solid rgba(255, 255, 255, 0.2);}
    .mobile_menu ul li:last-child{border-bottom: none;}
    .mobile_menu a{color: #fff; font-size: 140%;}
    .mobile_line ul .lang a{color: #fff;padding: 8px 13px;}
    .mobile_line ul .lang:last-child{position: relative;}
    .mobile_line ul .lang:last-child a::before{content: '';
    position: absolute;
    border-right: 2px solid #fff;
    height: 20px;
    left: -5px;}
    .m_nav_activ{    background: rgba(255, 255, 255, 0.2);}
    .level_1{display: none; background: rgba(255, 255, 255, 0.1);}
    .city_mobile{display: inline-block;
    float: right;
    padding: 7px 15px;}
    .city_mobile a{color: #fff;}


.calc-result-text-size{font-size: 12px;}

#you_city_title { position: absolute;
    right: 15px;
    background: #fff;
    z-index: 100;
    padding: 5px;
    margin-top: 5px;
    border-radius: 2px;
    box-shadow: 0px 0px 3px #999;
    width: 15%;}

.svt{position: relative;}




/* фикс для города... */
@media (max-width: 1200px){
    .detail-city {    
    margin-top: 225px;
    }
    .btn-vizcuriere{font-size: 15px;}
}

/* мобильная часть */

@media (max-width: 1008px){
	header{    height: 150px;}
	.detail-city { margin-top: 165px;}
	.topmh{position: absolute;
    top: 45px;
    z-index: 0;
   }
   #you_city_title{z-index: 9;}
   
}

@media (max-width: 991px){
	header{    height: 150px;}
    .pd20{padding-top: 7px;
    padding-bottom: 10px;}
    
	.st1bg .navbar-collapse.show{background: #6e8ebd;}
	.for_mobile_menu{display: block;}
	.topmh{position: static;
    top: 45px;
    z-index: 0;
    /*left: calc(50% - 360px);*/}
    .st1bg .navbar, .top-menu{z-index: 2;}
    .nav-item.lang{display: inline-block;}
    .page-content{margin-top: 150px;}
    .slider{margin-top: 150px;}
    .hide_to_mobile{display: none;}
}



@media (max-width: 768px){
	.topmh{left: auto;}
    .logoimg{width: 100%; max-width: 205px;}
    .slider{display: none;}
    .plitstextcalc{padding-top: 160px;}
    .detail-city { margin-top: 0px; }
    footer {
        background: url(../img/bgb.png) no-repeat bottom right;
        background-size: 300%;
        width: 100%;
        height: 185px;
    }

#you_city_title{width: 180px;}
}

@media (max-width: 450px){
	.plitstextcalc h1 {
    font-size: 19px;
}

.plitstextcalc .left_plit_mobile{padding-right: 0;}
.plitstextcalc .right_plit_mobile{padding-left: 0;}
.plits .plit a i {  margin: 10px 0;}

.to_polet_strig {
    position: relative!important;
    display: inline-block;
    bottom: 0px!important;
    
} 

#you_city_title{width: 100%; right: 0;}


    footer {
        background: url(../img/bgb.png) no-repeat bottom right;
        background-size: 300%;
        width: 100%;
        height: 130px;
    }
    footer .container .f1red .year, footer .container-fluid .f1red .year{font-size: 31px;}
    
footer .container .f1red, footer .container-fluid .f1red{font-size: 20px;}
}