.index_calc_form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 20px 4px 20px;
}

.calc_form_item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calc_form_item i {
    font-size: 20px;
    margin-right: 5px;
    width: 27px;
    text-align: center;
}

.calc_form_item input {
    padding: 12px;
    border-radius: 3px;
    border: none;
    height: 51px;
    width: calc(100% - 32px);
}

.owner-breadcrumb-bg {
    background-image: url('../img/gruz-owner.jpg');
    background-size: cover;
}

.inner_page_title {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.inner_page_title::after {
    position: absolute;
    display: block;
    content: "";
    width: 80px;
    height: 3px;
    bottom: 0px;
    left: 50%;
    margin-left: -35px;
    background-color: rgb(0, 109, 183);
}

.snipper-breadcrumb-bg {
    background-image: url('../img/fura.jpg');
    background-size: cover;
}

.search_block {
    width: 100%;
    margin-top: 50px;
}

.input_group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.input_group input {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px 15px;
}

.input_group select {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px 15px;
}

.input_group_wrap {
    display: flex;
    flex-direction: column;
    width: 30%;
    margin-right: 10px;
}

.input_group_radius {
    width: 10%;
    margin-left: -5px;
}

.search_block_btn {
    width: 30%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 25px auto 30px;
}
.search_block_btn label {
    min-width: 80px;
}
.search_block_btn .btn-secondary.focus  {
    box-shadow: none;
}

/*owner map style */
.contain-calculator,
.calculator-before-result-text,
.calculator-result {
    padding: 20px 0 50px;
}

.text-align-right {
    text-align: right;
}

.result-text {
    font-size: 30px;
    font-weight: 600;
}

.calculator-before-result-text {
    display: none;
}

.calculator-before-result-text.active {
    display: block;
}

.calculator-result {
    display: none;
}

.calculator-result.active {
    display: block;
}

#pills-tab .nav-link.active {
    background-color: #58bed3 !important;
}

.nav-pills .nav-link {
    color: rgb(78, 88, 97);;
}

/*------------------*/
.search_result_map {
    display: none;
    width: 100%;
    height: 600px;
}

.search_result_map.active {
    display: block;
    width: 100%;
    height: 600px;
}

.search_result_table {
    display: none;
}

.search_result_table.active {
    display: block;
}

.road_map iframe {
    width: 100%;
    height: 600px;
}

.modal {
    padding-right: 0px !important;
}

.modal_form_group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.modal_form_group > input {
    width: 100%;
    padding: 8px 20px;
    margin-bottom: 15px;
    font-size: 16px;
}

.memory_pass_wrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.memory_pass_wrap > label {
    margin-left: 5px;
    margin-bottom: 0px;
}

.modal-footer {
    justify-content: space-between;
}

.modal_btn_group {
    font-size: 16px;
}

.modal-title {
    font-weight: 700;
}

/*.modal-footer>*/


/*------------------*/
.table-striped tbody tr {
    transition: ease-in-out 300ms;
}

.table-striped tbody tr:hover {
    background-color: rgba(88, 190, 211, 1);
    transition: ease-in-out 300ms;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
    transition: ease-in-out 300ms;
}

.table-striped tbody tr:nth-of-type(odd):hover {
    background-color: rgba(88, 190, 211, 1);
    transition: ease-in-out 300ms;
}

/*---calc-result---*/

.calc_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    padding: 10px 5px;
}

.calc_item_title {
    color: #808080;
    margin-top: 5px;
}

.calc_item_value > i {
    margin-right: 5px;
}

.calc_item_value {
    font-size: 20px;
}

.result_calc_form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
}

.input_group.colums {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.calc__info {
    margin: 25px 0;
}

.calc__info_head {
    min-height: 60px;
}

input.mega_input {
    position: relative;
    width: 100%;
    height: 120px;
    font-size: 95px;
    padding: 25px 70px 25px 25px;
    text-align: center;
}

#text-rub {
    position: relative;
}

#text-rub:before {
    content: 'руб';
    position: absolute;
    top: 105px;
    right: 25px;
    z-index: 2;
    font-size: 20px;
}

.calc__info_center_txt {
    margin: 15px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.input_group.m100 input {
    width: 100%;
    margin: 15px 0;
}

.calc__info_link a {
    font-size: 30px;
    font-weight: 600;
}

.calc__info_link a {
    font-size: 25px;
    font-weight: 900;
}

.calc__info_btn {
    margin: 15px 0 10px;
}

/*form styles*/
#msform {
    width: 100%;
    margin: 20px auto;
    text-align: center;
    position: relative;
    height: 890px;
}

#msform.reg-step-0 {
    height: 450px;
}

#msform.reg-step-1, #msform.reg-step-3 {
    height: 770px;
}

#msform.reg-step-4 {
    height: 810px;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.22);
    padding: 20px 30px;

    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: absolute;
    z-index: 100;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/

#msform input:not([type='radio']):not([type='checkbox']) , #msform textarea:not([type='radio']):not([type='checkbox']) {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 3px;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
    color: #2C3E50;
    font-size: 16px;
}

#msform select {
    margin-bottom: 3px;
    margin-top: 5px;
}

.input-wrap {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 11px;
    right: 7px;
}

.form-text {
    margin-top: 0;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #58bed3;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #58bed3;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

#progressbar li {
    list-style-type: none;
    /*color: white;*/
    /*text-transform: uppercase;*/
    float: left;
    position: relative;
    margin-top: 30px;
    width: 15%;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 32px;
    line-height: 32px;
    display: block;
    color: #333;
    background: white;
    border-radius: 32px;
    margin: -7px auto 5px auto;
    font-weight: 600;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #58bed3;
    color: white;
}

form#msform .form-group.col-md-6 label,
form#msform .form-group.col-md-12 label {
    display: flex;
    padding-top: calc(.375rem + 1px);
    /*padding-bottom: calc(.375rem + 1px);*/
    padding-left: 0;
    padding-right: 0;
}

.col-form-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
    text-align: left;
}

.form-text {
    color: #dc3545
}
.form-control-wrapper {
    display: flex;
    align-items: center;
    
}

.form-control-wrapper .btn {
  height: max-content;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  margin-top: 1px;
  margin-left: -1px;
  padding-left: 5px;
  padding-right: 6px;
}

.form-control-wrapper .form-control {
  border-top-right-radius: 0px!important;
  border-bottom-right-radius: 0px!important;
}

/*.form-check.form-group {
     display: flex;
    justify-content: flex-start;
    max-width: 320px;
    width: 320px;
    margin-left: calc(50% - 90px); 
}*/


.red_cc {
  width: 400px;
  height: 360px;
}