/* Красный цвет СВ e71133 */
/* @media only screen and (max-device-width:768px){

body.modal-open {
// block scroll for mobile;
// causes underlying page to jump to top;
// prevents scrolling on all screens
overflow: hidden;
position: fixed;
}
} */
.slider-handle {
    min-width: 50px;
    text-align: center;
    font-weight: bold;
    width: auto;
    color: #fff;
    padding: 3px 1px;
    background: #ff6d6d;
    height: 30px;
    box-shadow: none;
    top: -2px;
}
.slider.slider-horizontal {
    width: 98%;
}

.slider .first-number, 
.slider .last-number {
    color: #141414;
}
.wrapper_front{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: url(/images/front/bg.png) no-repeat 75% top;
}
.footer_front{
	position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}
.sticky{
    position: sticky;
    top: 20px;
}

.card, .alert {
    -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 2px 3px 5px rgba(0,0,0,0.1);
    -o-box-shadow: 2px 3px 5px rgba(0,0,0,0.1);
    box-shadow: 4px 5px 5px rgba(0,0,0,0.1);
}

@media (max-width: 991px){
.navbar_front .navbar-nav .nav-item, .navbar_front .navbar-nav .nav-item:last-child {
    text-align: center;
    padding: 7px 0;
}
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item, .sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    padding: 0.5rem 0.5rem;
}
.card-header-small {
    padding: 0.25rem 0.5rem;
}
.avatar_letter {
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
}
.badge100{
	font-size: 100%;
}
.fa-15x{
	font-size: 150%;
}
.text-sv-red{
	color: #B42041;
}
.text-sv-grey{
    color:#5a5454;
}
.list-group-item {
    padding: 0.5rem 0.5rem;
}
.btn:hover{
	
    -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    -o-box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}
.btn, .btn:active{
    -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    -o-box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.btn.set_dates{
    -webkit-box-shadow: 0px 0px 0px rgba(0,0,0,0);
    -moz-box-shadow: 0px 0px 0px rgba(0,0,0,0);
    -o-box-shadow: 0px 0px 0px rgba(0,0,0,0);
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
}
.table th, .table td {
    padding: 0.5rem;
    vertical-align: middle;
	font-size: 0.95rem;
}
.form-control:disabled, .form-control[readonly] {
    /* opacity: 0.4; */
}
.nav-pills .nav-link {
    background: #eaeaea;
}
.nav-pills .nav-item {
    margin-right: 0.25rem;
}
body.viewport-lg {
// block scroll for desktop;
// will not jump to top;
// will not prevent scroll on mobile
position: absolute; 
}
.modal { overflow-y: auto }
body {  
overflow-x: hidden;
overflow-y: scroll !important;
}
#wrapper #content-wrapper {
    background-color: #fff;
}
.suggestions-wrapper{
	    display: block!Important;
}
.container, .container-fluid {
    padding-bottom: 1.5rem;
}
.sidebar .nav-item .collapse {
    z-index: 5!important;
}
.bg-login-image {
    background: url(/images/logo.svg);
    background-position: center;
    background-size: cover;
}

.bg-sv-red{
    background:#b32932;
}
.text-red{
    color:#b32932;
}
.page-item.active .page-link {
    background-color: #b32932;
    border-color: #b32932;
}
.caps {
  text-transform: uppercase;
}
.page-link {
    color: #b32932;
}
.bg-sv-grey{
    background:#5a5454;
}

.bg-sv-grey-light{
    background:#D1D3D3;
}


.sidebar-brand-icon{
    top: 1px;
    position: relative;
    left: 7px;
    width: 70px;
}

.sidebar-dark .nav-item .nav-link:active, .sidebar-dark .nav-item .nav-link:focus, .sidebar-dark .nav-item .nav-link:hover {
    background:#b32932;
}

.nobr{
    white-space: nowrap!Important;
}

.has-float-label {
    display: block;
    position: relative;
}

.has-float-label label:not(.custom-control-label), .has-float-label > span {
    position: absolute;
    top: -.5em;
    left: 12px;
    cursor: text;
    font-size: 75%;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
    color: #000;
}

/* .has-float-label label:not(.custom-control-label) {
    height: 15px;
    overflow: hidden;
} */

.has-float-label label::after, .has-float-label > span::after {
    content: " ";
    display: block;
    position: absolute;
    background: white;
    height: 5px;
    margin: -3px 0 0;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1;
}

.has-float-label .form-control:placeholder-shown:not(:focus) + *::before {
    opacity: 0;
}

.has-float-label label:not(.custom-control-label)::before {
    content: '';
    height: 3px;
    width: 99%;
    display: block;
    position: absolute;
    bottom: 0; left: 0;
    /* background: #fff; */ 
}

.has-float-label > .form-control:disabled+span::after,
.has-float-label > .form-control[readonly]+span::after {
    background: #e9ecef;
}

.has-float-label .form-control::-webkit-input-placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control::-moz-placeholder {
    opacity: 1;
    transition: all .2s;
}

.has-float-label .form-control:-ms-input-placeholder {
    opacity: 1;
    transition: all .2s;
}

.has-float-label .form-control::placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-moz-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus):-ms-input-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus) + * {
    font-size: 15px;
    opacity: .6;
    top: 0.8em;
    left: 12px;
    z-index: 1;
}

.modal-body.has-float-label .form-control:placeholder-shown:not(:focus) + *,
.modal-body.has-float-label label, .has-float-label > span {
    left: 24px;
}

.input-group .has-float-label {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.input-group .has-float-label .form-control {
    width: 100%;
    border-radius: 0.25rem;
}

.input-group .has-float-label:not(:last-child), .input-group .has-float-label:not(:last-child) .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}

.input-group .has-float-label:not(:first-child), .input-group .has-float-label:not(:first-child) .form-control {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.form-control {
    position: relative;
    z-index: 2;
    background: none;
}
.form-control:focus,
.form-control:active {
    box-shadow: none;
}
.h_field{
	display:none;
}
.nobr{
	white-space:nowrap;
}


.error_top_text,
.success_top_text {
    position: fixed;
    display: block;
    top: -110px;
    right: 30px;
    z-index: 104400;
    box-shadow: 6px 6px 13px -3px #000;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.error_top_text.badge_shake4,
.success_top_text.badge_shake4 {
  top: 30px;

  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;

}

.custom_close {
	right: -15px;
    position: absolute;
    top: -15px;
}

#wait_new,
#wait_kurs,
#wait_zno,
#wait {
	position: fixed;
    top: 30%;
	text-align: center;
    width: 100%;
    color: #fff;
	z-index: 9999;
	display:none;
}

#overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.55;
  background-color: #000;
  display:none;
  transition: opacity ease 0.3s;
  z-index: 9999;
}

#overlay_error {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.55;
  background-color: #000;
  display:none;
  transition: opacity ease 0.3s;
  z-index: 9999;
}
.custom-checkbox .custom-control-label {
    cursor: pointer;
}

.custom-control-label::after,
.custom-control-label::before {
    top: 3px;
}

.has-float-label label.custom-control-label::after {
    width: 1rem;
    height: 1rem;
    margin: 0;
    top: 0.15rem; right: auto; left: -1.5rem;
    z-index: inherit;
    background: no-repeat 50% / 50% 50%;
}

.modal .has-float-label .custom-control {
    padding: 9px 0 0 0;
}

.modal .has-float-label .view .custom-control {
    padding: 0 10px 0 0;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #b32932;
    background-color: #b32932;
}

.form-group {
    position: relative;
}

#compliance_form .custom-control {
    display: inline-block;
    margin: 0 10px 0 0;
}

.kasko-calc .custom-control {
    margin: 0 10px 0 0;
}

.kasko-calc .input-group-append .custom-control {
    margin: 0 10px;
}

.kasko-calc .custom-control-label,
#compliance_form .custom-control-label {
    cursor: pointer;
}

#compliance_form .custom-control-label::after,
#compliance_form .custom-control-label::before {
    top: 3px;
}

.kasko-calc .custom-control-label:after,
.kasko-calc .custom-control-label:before {
    top: 1px;
}

#compliance_form .custom-checkbox,
.kasko-calc .custom-control {
    padding: 0 0 0 17px;
}

#compliance_form {
    color: #414141;
}

h3 {
    color: #414141;
}

.kasko-calc label {
    font-size: 14px;
}

.modal .view .input-group-text,
.kasko-calc .input-group-text {
    padding: 0;
}

.kasko-calc .input-group-text {
    position: relative;
    z-index: 10;
}

.modal .view .input-group-prepend.input-group-text,
.kasko-calc .input-group-prepend.input-group-text {
    margin: 0 -3px 0 0;
    z-index: 10;
    border-radius: 0.35rem 0 0 0.35rem;
}

.modal .view .input-group-prepend.input-group-text:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0; left: 0;
}

.modal .view .input-group-append .input-group-text,
.kasko-calc .input-group-append .input-group-text {
    margin: 0 0 0 -1px;
}

.modal .view .input-group-text .custom-control,
.kasko-calc .input-group-text .custom-control {
    left: 4px;
    margin: 0 2px 0 10px;
}

.modal .view .input-group-text .custom-control.special,
.kasko-calc .input-group-text .custom-control.special {
    left: 0;
}

.modal .view .input-group-text .custom-control label,
.kasko-calc .input-group-text .custom-control label {
    margin: 0 8px 0 0;
}

.modal .view .input-group-text .custom-control label:after,
.modal .view .input-group-text .custom-control label:before,
.kasko-calc .input-group-text .custom-control label:after,
.kasko-calc .input-group-text .custom-control label:before {
    top: 3px;
}

.view .form-control{
	height: inherit;
	min-height: calc(1.5em + 0.75rem + 2px);
}
.kasko-calc .input-group-text .btn.more {
    height: 36px;
    width: 40px;
    display: block;
    color: #333 !important;
    font-size: 16px;
    line-height: 36px;
    padding: 0 15px;
    border: none;
    bottom: 0;
    background: none;

    border-radius: 0;

}

.kasko-calc .radio_frm {
    margin: -5px 0 25px;
}

.kasko-calc .radio_frm label {
    margin: 0 0 5px;
}

.btn.more {
    width: 16px;
    height: 16px;
    font-size: 12px;
    font-weight: bold;
    color: #fff !important;
    line-height: 14px;
    text-align: center;
    padding: 0;
    position: relative;
    bottom: 2px;
    cursor: pointer;
    background: #FED86F;

    border-radius: 8px;

}

.kasko-calc .radio_frm label {
    margin: 0;
}

.kasko-calc .list-group {
    margin: 0 0 15px;
}

.kasko-calc .list-group li:first-child,
.kasko-calc .list-group li:last-child {
    border-radius: 0;
}

.kasko-calc .input-group .has-float-label:not(:first-child),
.kasko-calc .input-group .has-float-label:not(:first-child) .form-control {
    border-radius: 0.25rem 0 0 0.25rem;
}

.kasko-calc .input-group .form-group:first-child {
    width: calc(100% - 42px);
}
.editable_td {
	min-width: 100px;
	background: #f6f6f6;
}
.editable_td:hover, .hovered_td:hover{
	cursor:pointer;
	background-color: #ebffec;
}

.no_editable_td .edit_tariff{
    display:none;
	margin-bottom: 0px;
}
.editable_td .edit_tariff{
    display:none;
	margin-bottom: 0px;
}
.editable_td.active{
      background-color: #dff0d8!Important;
}

.active_editable_td{
	min-width: 300px;
	padding:0px!Important;
}

.active_editable_td:after{
      content:none;
}

.webui-popover {
    width: auto !important;
    max-width: 800px;
}

.kasko-calc .input-group .btn.more.popover_new {
    padding: 0 13px;
}

.modal-body.has-float-label .view.form-control:placeholder-shown:not(:focus) + *,
.modal-body.has-float-label .view label,
.has-float-label .view > span {
    left: 12px;
}

.has-float-label > span.select2 {
    width: 100% !important;
    position: inherit;
    top: 0; left: 0;
}

.select2-container--bootstrap .select2-selection {
    border-color: #d1d3e2 !important;
}

.select2-container--bootstrap .select2-selection--single {
    height: 38px !important;
    padding: 9px 24px 6px 12px !important;
}

.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection,
.select2-container--bootstrap.select2-container--open.select2-container--below .select2-selection {
    box-shadow: none !important;
}

.select2-container--bootstrap .select2-dropdown {
    margin-top: -38px !important;
    border: 1px solid #d1d3e2 !important;

    border-radius: 0.25rem !important;

}

.select2-search--dropdown {
    padding: 0 !important;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    height: 38px !important;
    border: none !important;
    border-bottom: 1px solid #d1d3e2 !important;
}

.select2.select2-container--open+label {
    z-index: 30000 !important;
}

.bg-danger {
    background-color: #e5293d !important;
}
.select2-container--bootstrap .select2-selection.red,
.red {
    border:2px solid #e5293d!Important;
}

.get_scans,
.badge_count {
    position: relative;
}

.get_scans:hover,
.badge_count:hover 
{
    color: #292C2F;
    text-decoration: none;
}

.get_scans.btn_sv_light_gray:hover,
.badge_count.btn_sv_light_gray:hover
{
    color: #fff;
}

.get_scans span,
.badge_count span
{
    width: 26px;
    height: 26px;
    display: block;
    font-size: 12px;
    color: #fff;
    line-height: 22px;
    text-align: center;
    letter-spacing: -0.5px;
    position: absolute;
    top: -14px; right: -16px;
    border: 2px solid #fff !important;

    border-radius: 13px;

}

.get_scans span.gray,
.badge_count span.gray
{
    color: #292C2F;
    background: #CFD0CF;
}

.get_scans span.red,
.badge_count span.red
 {
    background: #B42041;
}

.table .table .popover_new:hover {
    position: relative;
    z-index: 10000;
}

.kasko-calc .card {

    -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    -moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    -o-box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.15);

}

.kasko-calc .card .card-header {

    background: #5F696F;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#5F696F), to(#4d5459));
    background: -webkit-linear-gradient(#5F696F, #4d5459);
    background: -moz-linear-gradient(#5F696F, #4d5459);
    background: -ms-linear-gradient(#5F696F, #4d5459);
    background: -o-linear-gradient(#5F696F, #4d5459);
    background: linear-gradient(#5F696F, #4d5459);

}

.jumbotron.error-404,
.jumbotron.pay-info {
    width: 800px;
    font-size: 24px;
    line-height: 30px;
    color: #444A53;
    text-align: center;
    padding: 340px 50px 50px;
    margin: 100px auto 0;
    background: #fff url("../images/error-page-bg.png") no-repeat 50% 50px;

    -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    -moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    -o-box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.15);

}

.jumbotron.pay-info {
    padding: 320px 50px 50px;
    background: #fff url("../images/pay-icon.svg") no-repeat 50% -13px;
    background-size: 350px auto;
}

.jumbotron.error-404 .btn,
.jumbotron.pay-info .btn {
    padding: 12px 30px;
}

body.error-page {
    font-family: 'Montserrat', sans-serif;
    background: #DCDCDC;
}

.tag {
  font-size: 14px;
  padding: .3em .4em .4em;
  margin: 0 .1em;
}
.tag a {
  color: #bbb;
  cursor: pointer;
  opacity: 0.6;
}
.tag a:hover {
  opacity: 1.0
}
.tag .remove {
  vertical-align: bottom;
  top: 0;
}
.tag a {
  margin: 0 0 0 .3em;
}

.top_menu_bg .badge h4 {
    font-size: 16px;
    color: #B42041;
    padding: 0 10px;
}

.left_menu {
    background: #5D6970;
}

.top_menu_bg .badge {
    margin: 0 10px 0 0;
}




.site_bg {
    background: linear-gradient(to right, #1976D2, #BBDEFB); 
}

.login_card {
    color: #333;
    padding: 60px 50px 70px;
    position: relative;
    border-radius: 10px;
}

.login_card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login_card h1 {
    font-weight: bold;
    font-size: 22px;
    line-height: 28px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.login_card form {
    width: 100%;
}

form.user .btn-user {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    background: linear-gradient(to bottom, #6BA844, #B1DC73, #6BA844); 
    background-size: 100% 200%;
    box-shadow: none;
    transition: all 0.3s;
    border-radius: 5px;
}

form.user .btn-user:hover {
    background-position: 0 100%;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #FF5252;
    background-color: #FF5252;
}

form.user .form-control-user {
    height: 50px;
    font-size: 14px;
    background: none;
    border-radius: 5px;
    transition: background-color 5000s ease-in-out 0s;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 3px;
}

.logo {
    max-width: 300px;
    width: 100%;
}

.form-group input:-webkit-autofill:not(:placeholder-shown) ~ label, 
.form-group input:not(:placeholder-shown) ~ label, 
.form-group textarea:not(:placeholder-shown) ~ label, 
.form-group select:not(:placeholder-shown) ~ label {
    line-height: 22px;
}

form.user .form-control-user {
    padding-left: 20px;
    padding-right: 20px;
}

input:-webkit-autofill, 
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

form.user .custom-checkbox.small label,
form.user .custom-checkbox.small input:not(:placeholder-shown) ~ label.custom-control-label {
    padding: 0;
}

.show_password_btn {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 50%; right: 15px;
    z-index: 10;
    opacity: 0.25;
    background: url(/images/show_password_icon.svg) no-repeat;
    background-size: cover;
    transform: translateY(-50%);
}

.show_password_btn.active {
    background: url(/images/hide_password_icon.svg) no-repeat;
}

.depended_ceckbox {
	min-height: 50px!Important;
}
.depended_alert.active {
	background: #e8f4ff;
}

@media screen and (max-width: 900px) {

    .webui-popover {
        max-width: 600px;
    }

}

@media screen and (max-width: 840px) {

    .jumbotron.error-404,
    .jumbotron.pay-info {
        width: calc(100% - 40px);
        font-size: 20px;
        line-height: 26px;
        padding: 270px 20px 50px;
        margin: 100px 20px 0;
        background-size: 300px auto;
    }

}

@media screen and (max-width: 767px) {

    .depended_ceckbox {
        min-height: 40px!important;
    }

    .top_menu_bg {
        padding-bottom: 0;
    }

    .topbar #sidebarToggleTop {
        background-color: #EAECF3;
    }

    .webui-popover {
        max-width: 420px;
    }

    .left_menu {
        display: none;
    }

    .sidebar.toggled {
        display: none;
        width: 5rem !important;
        overflow: visible;
    }

    .sidebar {
        display: block;
        width: 80px;
    }

    .sidebar .nav-item .nav-link {
        width: auto;
        padding: 10px 5px;
    }

    .sidebar .nav-item .nav-link span {
        font-size: 9px;
    }

    .top_menu_bg .badge h4 {
        font-size: 12px;
    }

    .sidebar .nav-item .collapse {
        left: calc(80px + 1.5rem / 2);
    }

    .sidebar .nav-item .collapse .collapse-inner,
    .sidebar .nav-item .collapsing .collapse-inner {
        margin: 0 !important;
    }

}

@media screen and (max-width: 540px) {

    .webui-popover {
        max-width: 360px;
    }

    .webui-popover-content {
        max-height: 500px;
        overflow-y: scroll;
    }

}

@media screen and (max-width: 459px) {

    .webui-popover {
        max-width: 260px;
    }


}
