
.overlay {
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
}

.overlay .spinner {
    height: 30px;
    width: 30px;
    animation: rotate .8s infinite linear;
    border: 3px solid #2b3e71;
    border-right-color: transparent;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    position: absolute;
}
.overlay-right {
    position: absolute;
    z-index: 10001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
}

.overlay-right .spinner {
    height: 30px;
    width: 30px;
    animation: rotate .8s infinite linear;
    border: 3px solid #2b3e71;
    border-right-color: transparent;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    position: absolute;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/*overlay spinner end*/

.ws-nowrap {
    white-space: nowrap;
}
/*.form-group.field-policyosgo-vehicle_type_id.required {
    max-width: 768px;
}*/
/*.d-none {*/
/*    display: none ;*/
/*}*/
/*.d-block {*/
/*    display: block ;*/
/*}*/
.series-with {
    max-width: 70px;
}
.series-number-with {
    max-width: 70px;
}
.btn-sm-with {
    max-width: 60px;
    display: block;
    margin-top: 15px;
    text-align: center;
}
.btn-sm-with .btn {
    min-width: auto;
}
.btn-sm-with .btn svg {
    margin: 13px auto;
}
.btn-sm-with .btn.clear {
    border: 2px solid #ff0000;
}
.btn-sm-with .btn.clear:hover {
    background: #ff0000;
}
.btn-sm-with .btn.clear svg path {
    fill: #ff0000;
}
.btn-sm-with .btn.clear:hover svg path {
    fill: #fff;
}
.btn-sm-with .btn:hover svg path{
    fill: #fff;
}
.search__icon {
    margin: 0 auto;
    display: block;
}
.check-button {
    width: 38px;
    height: 38px;
    text-align: center;

}
.check-button-top {
    width: 54px !important;
    height: 54px !important;
    text-align: center;
}
.accent-color {
    accent-color: var(--bs-primary);
}
.form-control::placeholder {
    color: #cecece !important;
}
.padding-for-button {
    padding: 6px 10px !important;
}
.check.btn-success.text-light > svg {
    fill: #fff;
}
.field.modal__field.modal__field-col.series-with {position: relative;}

.field.modal__field.modal__field-col.series-with+.modal__field-col .form-group label.control-label {visibility: hidden;}

.field.modal__field.modal__field-col.series-with label.control-label {position: relative;min-width: 320px;display:block;}

button.check-button.check svg.check-icon{
    display: block !important;
}
button.check-button.check svg.clear-icon{
    display: none !important;
}
button.check-button.clear svg.check-icon{
    display: none !important;
}
button.check-button.clear svg.clear-icon{
    display: block !important;
}

.pull-right {
    position: absolute;
    right: 0;
    background-color: #f1f1f1;
    border-radius: 5px;
    top: 0;
}

.remove-item-driver {
    width: 38px;
    height: 38px;
}

/* custom style */
.series-number-row-without-btn {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    
}
.series-number-row-without-btn .modal__field {
    margin-bottom: 0;
    max-width: 50% !important;
}

.policy-osgo form .check-button.btn.clear {
    background-color: red;
    border-color: red;
}
.policy-osgo form .check-button.btn.clear svg path{
    fill: #fff;
}

@media only screen and (max-width: 768px) {
    .modal__field-col {
        max-width: 100% !important;
    }
    .modal__container.series-number-row {
        flex-direction: row;
    }
    .modal__container.series-number-row .modal__field-col{
        max-width: initial !important;
    }
     .modal__container.series-number-row .modal__field-col:nth-child(2){
        padding-left: 5%;
        padding-right: 5%;
        width: 90% !important;
    } 
    .modal__container.series-number-row .modal__field-col:last-child{
        width: max-content !important;
    }
    .modal__field-col {
        max-width: 100% !important;
    }
    
    .series-number-row .modal__field-col {
        width: calc(50% - 15px) !important;
    }
    .series-number-row .modal__field-col.series-with {
        width: calc(15% - 15px) !important;
        min-width: 70px !important;
    }
    /* SERIES NUMBER */
    .series-number-row-without-btn .series-with{
        width: calc(15% - 15px) !important;
        min-width: 70px !important;
    }
    .series-number-row-without-btn .modal__field:last-child{
        width: 95%;
        padding-left: 5%;
    }
}

@media only screen and (max-width: 576px) {
    .table-box {
        min-width: 100%;
        width: 350px;
        overflow-x: scroll;
    }
}

.pass_series {
    max-width: 72px;
    min-width: 72px;
}
.ws-nowrap {
    white-space: nowrap;
}
.form-group.field-policyosgo-owner_pass_sery.has-error .help-block, .form-group.field-policyosgo-app_pass_sery.has-error .help-block {
    min-width: max-content !important;
    width: auto;
    display: block;
    white-space: nowrap;
    margin-top: 16px;
}
input[readonly] {
    background-color: var(--bs-form-control-disabled-bg);;
}

.calculator-card.position-sticky {
    top: 100px;
}

.select2.select2-container.select2-container--default {
    width: 100% !important;
}

@media (max-width: 500px) {
    .text-mb-wrap {
        white-space: wrap !important;
    }
}