@keyframes loader5Animation{0% {tranform: rotate(0deg);}100%{transform: rotate(360deg);}}

@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:local("Open Sans"),local("Open Sans Regular"),url(/fonts/e514b4dc71dafcfb4bf5a6cce0598491.woff2) format("woff2"),url(/fonts/c0015a47d8fe0333e4aa70200087f1d7.woff) format("woff")}
@font-face{font-family:Open Sans;font-style:normal;font-weight:600;font-display:swap;src:local("Open Sans Bold"),url(/fonts/4c4f25fa006bc5d9ab2d5da783953d55.woff2) format("woff2"),url(/fonts/c0aa4130d9615e61666b5238a873a6a0.woff) format("woff")}
@font-face{font-family:Open Sans;font-style:normal;font-weight:300;font-style:italic;font-display:swap;src:local("Open Sans Light Italic"),url(/fonts/77d45022b3dfaf4ac7cb72eb4fffdffd.woff2) format("woff2"),url(/fonts/87055a89326386872bf858b029942eb2.woff) format("woff")}
@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:local("Roboto Regular"),url(/fonts/9a92647476e6be1f9499fc1d6467d048.woff2) format("woff2"),url(/fonts/8f04ed79233935cbc56efaa43a151a06.woff) format("woff")}
  
*, *::before, *::after {
  box-sizing: border-box; 
}
 
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  color: #000000;
  font-family: Open Sans,Arial,Helvetica,sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #4f4f4f;
  font-weight: 400;
  width: 100%;
  display: flex;
  flex-direction: column;
}

::placeholder, ::-webkit-input-placeholder {
  opacity: 0.3;
}

.d-none{
  display:none!important;
}

.d-flex{display:flex;}
.d-flex > * + *{margin-left:10px;}

.color-red{color:red!important;}

.hidden{
  visibility: hidden!important; 
}

.text-center{text-align:center!important} 
.text-left{text-align:left!important}
.text-right{text-align:right!important}

.ws-nowrap{white-space: nowrap;}
.xmdate{cursor:pointer;}

small{
  color: #6c757d;
  font-size: 10px;
  display: inline-block;
  line-height: 10px;
}

#container{
  background-color: #f2f2f2;
  width:100%;
  /*min-height: 100%;*/
  display: flex;
  flex:1;
}

#container > form {
  width:100%;
  display:flex;
  padding-left: 20px;
  padding-right: 20px;
  flex:1;
}

#container .left{
  width: 67%;
  padding-right:20px;
  padding-bottom:30px;
}

#container .right{
  background-color:#FFFFFF;
  width:33%;
  padding:10px;
}

#container .right .payment-type{
  margin-top:10px;
}

.calc__header {
  margin: 0;
  padding-bottom:5px;
  font-size: 25px;
  line-height: 30px;
  font-weight: 400;
}

.calc__sub-header{
  color: #175351;
  padding-bottom: 20px;
}

.calculation .left{
  padding-top:20px;
}

.row{
  display:flex;
  gap:30px;
}

#create_form .row{
  gap:10px;
}

.row.g-10{gap:10px;}

.row + .row, .object-item + .object-item{
  margin-top:10px;
}

.row + .switch-list__title, .switch-list__title + .switch-list__title, .life_risk + .switch-list__title{
  margin-top:20px;
}

.life_risk{
  margin-top: 20px;
  display:none;
}

.property_risk, .insured_passport, .birth_certificate{
  display:none;
}

#risk_types_life:checked ~ .left .life_risk, #risk_types_property:checked ~ .left .property_risk{
  display:block;
} 

.birth_certificate, .insured_passport, .exists_passport{
  margin-top:20px;
}

#create_form .contact_data{
  border-bottom: 1px solid #00000042;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

#exists_passport_0:checked ~ .left .birth_certificate,
#exists_passport_1:checked ~ .left .insured_passport{
  display:block;
}

.sticky{
  position: sticky;
  top: 0;
}

.cell{
  position: relative;
}

#container.create .cell{
  padding-right:0;
}

#container.create .cell + .cell{
  margin-left:30px;
}

/*.mortgage_agreement > .row:nth-child(2) .cell + .cell{
  margin-left:0;
  padding-left:30px;
}*/

.col{
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 100%;
  flex-basis: 100%;
  font-size: 14px;
  line-height: 20px;
}

.cell {
  font-size: 14px;
  line-height: 20px;
  /*flex-grow: 1;
  flex-basis: 100%;*/
  flex:1;
}

.cell.year, .cell.power{flex-basis:100px;flex-grow:unset;}
.cell.operation_period{flex-basis:150px;flex-grow:unset;}

.cell.line{
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*padding-top: 25px;*/
}

.cell legend{
  padding: 0;
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 15px;
  color: inherit;
  white-space: nowrap;
}

legend.description{
  white-space: unset;
}

.cell .error_text{
  color: #eb5757;
  line-height: 14px;
  font-size: 11px;
  left: 10px;
  z-index: 1;
  bottom: -6px;
  position: absolute;
}

.cell .dropdown .error_text{
  bottom: 1px;
}

input.error[name="local[doc_life]"] + span, input.error[name="local[doc_life]"] + span a, 
input.error[name="local[doc_property]"] + span, input.error[name="local[doc_property]"] + span a{
  color:red;
}

.w-10{width:10%!important;flex-basis: 10%!important;flex-grow:unset!important;}    
.w-20{width:20%!important;flex-basis: 20%!important;flex-grow:unset!important;}
.w-25{width:25%!important;flex-basis: 25%!important;flex-grow:unset!important;}
.w-40{width:40%!important;flex-basis: 40%!important;flex-grow:unset!important;}
.w-50{width:50%!important;flex-basis: 50%!important;flex-grow:unset!important;}
.w-60{width:60%!important;flex-basis: 60%!important;flex-grow:unset!important;}
.w-75{width:75%!important;flex-basis: 78%!important;flex-grow:unset!important;}
.w-100{width:100%!important;flex-basis: 100%!important;flex-grow:unset!important;}

input[type="text"], select, input[type="number"], input[type="date"]{
  width: 100%;
  position: relative;
  border-radius: 10px;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 5%);
  height: 49px;
  background: #fff;
  transition: background .2s;
  text-align: left;
  
  z-index: 1;
  padding: 15px;
  border: none;
  flex: 1 0 auto;
  font-size: 14px;
  outline: none;
  color: #175351;
}

input.i_currency, input[type="number"]{text-align:right;}
input.error, select.error, .switch-group__button input.error + span{box-shadow:0 0 4px 0 rgb(253 1 1);}

input[type="text"]:hover, select:hover, input[type="number"]:hover, input[type="date"]:hover{
  background: #f2f2f2;
}

#loader {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: solid #2196F3 4px;
  margin-left: auto;
  margin-right: auto;
  position: fixed;
  left: calc(50% - 50px);
  top: calc(50% - 50px);
  z-index: 100001;
  display: none;
  cursor: wait;
}

#loader:before {
  content: "";
  height: 42px;
  width: 4px;
  position: absolute;
  left: 44px; /*48*/
  top: 10px;
  background: #2196F3;
  border-radius: 2px;
  transform-origin: 2px 40px;
  animation: loader5Animation 2s linear infinite;
}

#loader:after {
  content: "";
  height: 27px;
  width: 4px;
  position: absolute;
  left: 44px; /*48*/
  top: 25px;
  background: #2196F3;
  border-radius: 2px;
  transform-origin: 2px 25px;
  animation: loader5Animation 12s linear infinite;
}

#overlay{
  z-index: 100000;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  background: #000000;
  opacity: 0.1;
  cursor: wait;
}

.switch-group{
  display: flex;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(0 0 0 / 5%);
}

#container.create .switch-group, button[type="submit"], #create_form .right .button{
  height:50px;
}

#create_form .right .button{
  width:100%;
}

#container.create .switch-group + button{
  font-family: Open Sans,Arial,Helvetica,sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  background-color: #771b1b;
}

.text-white {
  color: #fff;
}

.switch-group__button {
  flex: 1 0 auto;
  min-width: 0;
  max-width: 50%;
  user-select:none;
}

.border-focus, .border-focus-inset {
  outline: none;
}

.switch-group__input {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: none;
}

.switch-group__label {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  justify-content: center;
  background-color: #fff;
  color: #175351;
  margin-right: 1px;
  cursor: pointer;
  position: relative;
  transition: background .2s,color .2s;
  text-align: center;
}

.switch-group__button:first-child .switch-group__label {
  border-radius: 10px 0 0 10px;
}

.switch-group__button:last-child .switch-group__label {
  border-radius: 0 10px 10px 0;
  margin-right: 0;
}

.switch-group__button:hover .switch-group__label {
  background: #f2f2f2;
}

.switch-group__input:checked~.switch-group__label, 
#risk_types_life:checked ~ * label[for="risk_types_life"] .switch-group__label,
#risk_types_title:checked ~ * label[for="risk_types_title"] .switch-group__label,
#risk_types_property:checked ~ * label[for="risk_types_property"] .switch-group__label,
#previouscontract_0:checked ~ * label[for="previouscontract_0"] .switch-group__label, #previouscontract_1:checked ~ * label[for="previouscontract_1"] .switch-group__label,
#exists_passport_0:checked ~ .left .insured_person label[for="exists_passport_0"] .switch-group__label,
#exists_passport_1:checked ~ .left .insured_person label[for="exists_passport_1"] .switch-group__label{
  color: #fff;
  background: #175351;
}

.switch-group__label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.switch-group__button:first-child .switch-group__label:before {
  border-radius: 10px 0 0 10px;
}

.switch-group__input:checked~.switch-group__label:before {
  box-shadow: inset -10px 0 15px rgb(0 0 0 / 15%), inset 10px 0 15px rgb(0 0 0 / 15%);
}

.switch-group__button:last-child .switch-group__label {
  border-radius: 0 10px 10px 0;
  margin-right: 0;
}

.switch-group__button:last-child .switch-group__label:before {
  border-radius: 0 10px 10px 0;
}

.i_box.data_life, .i_box.data_property, .doc_life_link, .doc_property_link{display:none;}
#risk_types_life:checked ~ * .i_box.data_life, #risk_types_property:checked ~ * .i_box.data_property,
#risk_types_life:checked ~ * .doc_life_link, #risk_types_property:checked ~ * .doc_property_link{
  display: block;
}

.property-address{display:none;}
#aiira_0:checked ~ * .property-address{display: flex;}

#coBorrowerBlock{
  position:relative;
}

#coBorrowerBlock button{
  position: absolute;
  left: 90%;
  top: 0;
  z-index: 40;
  width: 35px;
  height: 35px;
  line-height: 35px;
  margin: 0;
  color:#FFF;
}

#coBorrowerBlock .button{
  position: absolute;
  left: 90%;
  top: 0;
  z-index: 40;
  width: 35px;
  height: 35px;
  line-height: 35px;
  margin: 0;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

#coBorrowerBlock .button span{display:none;user-select:none;}
#coBorrower:checked ~ div #coBorrowerBlock .button span:last-child{display:inline-block;}
#coBorrower:not(:checked) ~ div #coBorrowerBlock .button span:first-child{display:inline-block;}
#coBorrower:not(:checked) ~ div #coBorrowerBlock .row{display:none;} 
#coBorrower:not(:checked) ~ div #BorrowerBlock .row:last-child{display:none;}
#BorrowerBlock .row:last-child{padding-bottom:10px;}

button, .button{
  color: #fff;
  background-color: #175351;
  background-position: 50%;
  background-size: cover;
  border-radius: 10px;
  transition: .2s;
  padding-left: 5px;
  padding-right: 5px;
  flex: 1 1 100%;
  margin: 10px auto;
  width:100%;
  outline: none;
  font-weight: 600;
  height: 40px;
  border:none;
  cursor:pointer;
}

.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 20px;
  flex: unset;
  text-decoration: none;
}

button:not([disabled]):hover, .button:not([disabled]):hover {
  background-color: #26a67a; 
  opacity: .85;
}

button[disabled], input[disabled], select[disabled]{
  background-color: #e5e5e5!important;
  cursor:no-drop;
}

.calculations{
  width:100%;
}

.calculations .item{
  display: flex;
  align-items: center;
  border: 2px solid #175351;
  padding: 10px 10px;
  border-radius: 12px;
  justify-content: space-between;
}

.calculations .item + .item{
  margin-top:10px;
}

.calculations .item span{
  flex:1;
  text-align: center;
  font-size: 20px;
}

.calculations .item button, .quest_create{
  flex: unset;
  width: 25%;
  background-color: #771b1b;
}

.calculations .item img{
  height:40px;
  border-radius:10px;
}

.dropup, .dropright, .dropdown, .dropleft {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 0.8125rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0.2308rem; 
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  /*padding: 0.25rem 1.5rem;*/
  padding: 3.5px 21px;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration:none;
  font-size: 17px;
  line-height:normal;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #1e91cf;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.current-step{
  display: flex;
  align-items: center;
  padding-left: 5px;
  padding-right: 5px;
  justify-content: space-between;
  position: relative;
  height: 40px;
  background-color: #f2f2f2;
  margin: -10px -10px 10px -10px;
}

.current-step .item{
  padding: 5px 10px;
  color: inherit;
  text-decoration: none;
  min-width: 40px;
}

.svg-icon {
  fill: currentColor;
  display: inline-block;
  vertical-align: top;
}

.inline-message__icon {
  min-width: 49px;
  margin-right: 20px;
  fill: #f9a524;
}

.inline-message {
  padding: 25px 20px;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(0 0 0 / 5%);
}

.inline-message.smal{padding:15px 10px;margin:10px 0;}
.inline-message.smal p{font-size:12px;}
.inline-message.smal .inline-message__icon{min-width:25px;height:25px;margin-right:10px;}

.inline-message__content {
  flex: 1 0;
  min-width: 0;
}

.mb-30 {
  margin-bottom: 30px!important;
}

.mt-30 {
  margin-top: 30px!important;
}

.inline-message__icon {
  min-width: 45px;
  height: 45px;
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iNTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI3IDBDMTIuMDkgMCAwIDEyLjA5IDAgMjdjMCAxNC45MTMgMTIuMDkgMjcgMjcgMjcgMTQuOTEzIDAgMjctMTIuMDg2IDI3LTI3QzU0IDEyLjA5IDQxLjkxMiAwIDI3IDB6bTAgNDguOTM3Yy0xMi4xMTYgMC0yMS45MzctOS44Mi0yMS45MzctMjEuOTM3IDAtMTIuMTE2IDkuODItMjEuOTM3IDIxLjkzNy0yMS45MzcgMTIuMTE2IDAgMjEuOTM3IDkuODIgMjEuOTM3IDIxLjkzNyAwIDEyLjExNi05LjgyIDIxLjkzNy0yMS45MzcgMjEuOTM3em0uMDAyLTM3LjA5NmMtMS45MzQgMC0zLjM5NyAxLjAxLTMuMzk3IDIuNjR2MTQuOTVjMCAxLjYzMiAxLjQ2MyAyLjYzOCAzLjM5NyAyLjYzOCAxLjg4NiAwIDMuMzk3LTEuMDQ4IDMuMzk3LTIuNjM3VjE0LjQ4YzAtMS41OTEtMS41MS0yLjYzOS0zLjM5Ny0yLjYzOXptMCAyMy41OTZhMy4zNzUgMy4zNzUgMCAwMC0zLjM3IDMuMzcyIDMuMzc0IDMuMzc0IDAgMDAzLjM3IDMuMzY4IDMuMzcyIDMuMzcyIDAgMDAzLjM2OC0zLjM2OGMwLTEuODYtMS41MS0zLjM3MS0zLjM2OC0zLjM3MXoiIGZpbGw9IiNGRkJBNTEiLz48L3N2Zz4=);
  background-repeat: no-repeat;
  background-size: contain;
}

#container.create .left{
  padding-right:20px;
  padding-bottom:100px;
}

.i_box{
  display: block;
  padding: 20px;
  background: hsla(0,0%,94.9%,.7);
  box-shadow: 0 0 10px rgb(0 0 0 / 5%);
  margin-top:30px;
}

.switch-list__item {
  display: flex;
  margin-bottom: 30px;
}

.switch-list__desc {
  flex: 1 0;
  min-width: 0;
  padding-left: 20px;
}

.switch-list__title {
  font-size: 17px;
  line-height: 20px;
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: 400;
  margin-right: 5px;
}

.calc__sub-sub-header{
  /*padding-bottom: 20px;
  font-size: 17px;
  line-height: 25px;*/
  font-size: 20px;
}

h6 {
  padding-left: 20px;
  flex: 1 0;
}

h6 + input[type="text"], .cell.line .switch-list__title + input[type="text"]{
  width: 120px;
  flex: 0;
}

#container.create input[name="insuredProperty[property][buildingValue]"]{width:150px;}

.switch-list__text {
  font-size: 11px;
  line-height: 13px;
  margin: 0 10px 0 0;
}

#container.create .i_box + .i_box{
  margin-top:10px;
}

.company_info{
  display: flex;
  align-items: center;
  justify-content: center;  
}

.company_info img{
  height:50px;
  border-radius: 10px;
}

.company_info span{
  font-size:22px;
  display:inline-block;
  margin-left:10px;
}


.modal_form {
  border-radius: 3px;
  background: #fff;
  position: fixed;
  top: 25%;
  left: 45%;
  display: none;
  z-index: 999;
  /*padding: 10px 10px;*/
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.modal_form {
  z-index: 99999;
  padding: 15px;
  padding: 10px 10px;
}

.modal_form .btn_close {
  font-family: Verdana;
  font-size: 20px; 
  font-weight: normal; 
  cursor: pointer;
  position: absolute;
  /*top: -14px;
  right: -7px;*/
  top: -2px;
  right: 5px;
}

.modal_form .btn_close {
  top: 2px;
  right: 7px;
  z-index: 1;
}

.modal_form .modal_header ~ .btn_close {
  top: -2px; right: 5px;
}

.modal_form .modal_header {
  font-size: 14px;
  font-weight: bold;
  margin-top: 0px;
  text-align: left;
  background: #f6f4f6;
  padding: 5px 10px;
  border-radius: 5px 5px 0px 0px;
  cursor: move;
  left: -10px;
  position: relative;
  top: -10px;
  width: calc(100% + 20px);
  height: 30px;
}

.mail-form{width:500px;} 
.mail-form .i_item{width:50%;}
.mail-form label{margin-bottom:5px;display:inline-block;}

.download-doc{
  width:100px;
  display:inline-block;
}

.download-doc img{
  width:100%;
}

#payment_success{
  min-height: calc(100% - 125px);
}

#payment_success .left{
  display: flex;
  align-items: center;
  justify-content: center;
}

#payment_success .left h2{
  font-size:34px;
  color:#00d500;
}

.contract_group{
  margin-top: 10px;
}

.contract_group .item{
  display: flex;
  align-items: center;
}

.contract_group .item .item-info{
  flex: 1;
}

.contract_group .item .item-info div:last-child{
  font-weight:bold;
}

.documents-header{
  margin:15px 0;
  text-align:center;
  font-weight:bold;
}

.documents{
  display: flex;
  flex-wrap: wrap;
  gap:10px;
}

.documents .document{
  cursor: pointer;
  /*margin-right: 10px;*/
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration:none;
  width: 30%;
  flex-basis: 30%;
}

.documents .document .title{
  text-align: center;
  font-size: 12px;
  line-height: normal;
}

.documents .document:last-child{
  margin-right:0;
}

.documents .document img{
  max-width:70px;
}

.calculation > input, .calculation .owner{
  display:none;
}

#product_flat:checked ~ .left label[for="product_flat"] .switch-group__label, 
#product_house:checked ~ .left label[for="product_house"] .switch-group__label{
  color: #fff;
  background: #175351;
}

#calculation_osago_content, #calculation_kasko_content{
  display:none;
}

#product_osago:checked ~ .right #calculation_osago_content,
#product_kasko:checked ~ .right #calculation_kasko_content,
#product_osagokasko:checked ~ .right #calculation_kasko_content{
  display:block;
}

#client_is_owner_0:checked ~ .left .owner{
  display:block;
}

input[id$="_replacement_license_0"]:checked ~ * .prev_license{
  visibility:hidden;
}

.calculation .driver a.add_driver, .calculation .driver a.remove_driver{
  position:relative;
  top:35px;
  user-select: none;
  outline: none;
}

.calculation .driver + .driver{
  margin-top:15px;
}

.calculation .driver .remove_driver img{
  height:23px;
}

/*.i_table{
  border-collapse: collapse;
  width:100%;
}

.i_table thead td{
  background-color: #103740;
  color:#FFFFFF;
  text-align:center;
  padding:7px 10px;
  white-space: nowrap;
}

.i_table tbody td{
  border-bottom:1px solid #000000;
  border-top:1px solid #000000;
  padding:7px 10px;
  position:relative;
}

.i_table tbody tr:hover{
  box-shadow:0px 0px 12px #757575;
}

.i_table tr > td:first-child{
  border-left:1px solid #000000;
}

.i_table tr > td:last-child{
  border-right:1px solid #000000;
  text-align:center;
}*/

.i_table{border-collapse: collapse;width:100%;} 
.i_table:not(.nohover) > tbody > tr:hover:not(.nohover):not(.thead) > td{background-color: #e6f1ff;} 
.i_table > thead > tr > td, .i_table tr.thead > td {
  background: #efefef;
  padding: 7px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #DDDDDD;
}  

.i_table.i_sort thead td{cursor:pointer;}

.i_table > tfoot > tr > td {font-weight:bold;}

.i_table > thead.no-background > tr > td{background:none;}

.i_table > tbody > tr > td, .i_table > tfoot > tr > td {
  padding: 7px; /*cursor:default;*/
  border: 1px solid #DDDDDD;
  background-color: #FFFFFF;
}


.i_table.nowrap tr td{white-space:nowrap;}
.i_table.pointer > tbody > tr > td{cursor:pointer;}

.i_table.size-sm > thead > tr > td, .i_table.size-sm > tbody > tr > td{padding: 5px;font-size:12px;}
.i_table > thead > tr.filter > td{background-color:#e6f1ff;font-weight:normal;}
.i_table > thead > tr.filter select, .xm_table > thead > tr.filter input{width:100%;}

.calculation #product_kasko:checked ~ .left .content .i_box:first-child, 
.calculation #product_kasko:checked ~ .left .content .i_box:nth-child(2) .row:last-child,
.calculation #product_kasko:checked ~ .left .power, .calculation #product_kasko:checked ~ .left .operation_period,
.calculation #product_osagokasko:checked ~ .left .content .i_box:first-child, 
.calculation #product_osagokasko:checked ~ .left .content .i_box:nth-child(2) .row:last-child,
.calculation #product_osagokasko:checked ~ .left .power, .calculation #product_osagokasko:checked ~ .left .operation_period, 
.calculation .success-box{
  display:none;
}

.calculation.success .success-box{
  display:block;
}

.success-box .buttons{
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-top:20px;
}

.success-box .buttons button{
  width: 250px;
  flex: unset;
  margin: 0;
}

.success-box .inline-message{
  align-items: flex-start;
}

.uploading_documents input[name="upload[new_ts]"]{
  display:none;
}

.uploading_documents #new_ts_0:checked ~ .row label[for="new_ts_0"] .switch-group__label,
.uploading_documents #new_ts_1:checked ~ .row label[for="new_ts_1"] .switch-group__label{
  color: #fff;
  background: #175351;
}

.uploading_documents #new_ts_1:checked ~ .uploading-items > ol > li:nth-child(2){
  display:none;
}

.uploading_documents .upload {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-image: url(/image/upload_doc.png);
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 7px;
}

.uploading_documents .upload:hover {
  background-image: url(/image/upload_doc_active.png);
}

.uploading_documents ol{
  padding-left:20px;
}

.uploading_documents ol li > div{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
}

.uploading_documents ol li > div div:first-child{

}

.uploading_documents ol li > div div:last-child{
  display: flex;
  align-items: center;
}

.uploading_documents .info{
  border: 1px solid;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  font-size: 20px;
  line-height: 0 !important;
  font-weight: bold;
  cursor: pointer;
}

.uploading_documents .i_item {
  position: relative;
  width: 33%;
  display: inline-block;
}

.uploading_documents .i_item label{
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  text-align: left;
  color: #8c8c8c;
}

.uploading_documents .contact-data{
  margin-top: 30px;
}

.uploading_documents .contact-data > div{
  justify-content: center;
}

.uploading_documents .remove, .prev_docs .remove{
  width:15px;
  cursor:pointer;
}

.uploading_documents .error_text{
  color: red;
  font-size: 14px;
}

form#callback{
  width:300px;
}

form#callback button{
  margin-top:20px;
}

input[name="pts"], input[name="sts"]{
  text-transform:uppercase;
}

.upload_policy{
  margin:0;
  height: 49px;
}

#prev_doc_0:checked ~ .left .prev_doc .prev_doc_info{
  display:none;
}

#previouscontract_0:checked ~ * .previouscontract{
  display:none;
}

.object_add{
  width: 150px;
  flex-basis: 150px;
  max-width: 150px;
  margin: 0;
}

.object_remove{
  width: 15px;
  height: 15px;
  position: absolute;
  right: -18px;
  bottom: 18px;
  cursor: pointer;
}

.realestateobjects{
  padding-left:0;
  list-style: none;
}

.object-item{
  position:relative;
}

.object-item + .object-item legend{
  display:none;
}

.object-item::marker{
}

.policy_period{
  margin-top:20px;
}

.dropdown-toggle{
  margin:0;
}

.btn-light {
  color: #212529!important;
  background-color: #fff!important;
  border-color: #dedede!important;
}

.btn-light:hover {
  color: #212529!important;
  background-color: #ececec!important;
  border-color: #c4c4c4!important;
}

.bootstrap-select>.dropdown-toggle{
  height:49px;
}

.bootstrap-select.spicker{
  width:100% !important;
}

.bootstrap-select .dropdown-menu li a{
  font-size:14px;
}

.spicker ~ .dropdown-menu{
  max-width: 500px !important;
  min-width: unset !important;
}

.bootstrap-select .dropdown-toggle .filter-option{
  display: flex;
  align-items: center;
  font-weight: normal;
  padding:10px 20px!important; 
}

.i_divisioncode + .dropdown-menu a, .i_divisionname + .dropdown-menu a{
  max-width: 530px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.sports-items{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sports-item{
  display: inline-flex;
  /* padding: 7px 10px; */
  border: 1px solid #000;
  border-radius: 15px;
  align-items: center;
  height: 30px;
  padding: 0 10px;  
}

.sports-item span{
  line-height: 28px;
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; 
}

.sports-item .remove{
  width: 20px;
  margin-left: 10px;
  cursor:pointer;
}

.limit{
  margin-top:20px;
}

.irs--flat .irs-bar{
  background-color:#175351!important; 
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single,
.irs--flat .irs-handle>i:first-child{
  background-color:#26a67a!important;
}

.irs--flat .irs-single:before{
  border-top-color:#26a67a!important;
}

.irs--flat .irs-handle{
  top: 21px;
  width: 20px;
  height: 20px;
  background-color: #26a67a!important;
  border-radius: 50%;
  cursor:pointer;
}

@media (min-width: 960px){

  .shadow-block {
    box-shadow: 0 0 10px rgb(0 0 0 / 5%);
  }
  
}

@media (max-width:640px){

  .calc__header{padding-bottom:15px;}
  #container > form{flex-direction: column;}
  #container .left, #container .right{width:100%;}
  #container .left > .row{flex-direction: column;}
  #container .left .row .w-50{width:100%;flex-basis:100%;}
  .cell{padding-right:15px;}
  #container .left .row .col > .cell{padding-right:0;}
  #container .left .row > .col{margin-top:10px;}
  #container .left > .row > .col > .row > .w-50{padding-right:0;width:50%;flex-basis:50%;}
  #container .right{margin-top:30px;}
  #container .right{background-color: #f2f2f2;padding:0;}
  #container .right .current-step{display:none;}
  
  .mail-form{width:100%;}
  .modal_form{width:90%!important;left:5%!important;}
  .modal_info .d-flex{flex-direction: column;margin-bottom:15px;}
  .d-flex > * + *{margin-left:0;margin-top:15px;}
  .mail-form .i_item{width:100%;} 
  
  .calculation label[for="product_osago"]{
    display:none;
  }
  
  .calculation label[for="product_kasko"] .switch-group__label{
    border-radius: 10px 0 0 10px;
  }
  
  #container .calculation .left{
    padding-right:0;
    padding-bottom: 0;
  }
  
  .calculation .content .i_box > .row, .calculation .i_box > .row, .driver .row{
    flex-direction: column;
  }
  
  .calculation .content .i_box > .row .cell, .calculation .i_box > .row .cell, .driver .row .cell{
    padding-right:0;
    width:100%!important; 
  }
  
  .calculation .success-box .inline-message__icon, .calculation .success-box .user-content > p{
    display:none;
  }
  
  .calculation .success-box .buttons{
    margin-top:0;
    flex-direction: column;
  }
  
  .success-box .buttons button{
    width:100%;
  }
  
  .calculation .inline-message{
    background: unset;
    padding: 0;
    box-shadow: unset;
  } 
  
  .uploading_documents .contact-data > div{
    flex-direction: column;
  }
  
  .uploading_documents .i_item{
    width: 100%;
  }
  
  .uploading_documents .send_upload_docs{
    margin-top: 20px;
  }
  
  #container{
    padding-bottom:50px;
  }
  
  .spicker ~ .dropdown-menu{
    width:100% !important;
  }
  
  .sports-items{
    flex-direction: row!important; 
  }
  
  .sports-item{
    width:auto;
    max-width:100%;
  }
  
  .sports-item span{
    max-width: 100%;
  }
} 