.btn{
    display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-danger {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
}
.btn-danger:hover {
color: #fff;
background-color: #c82333;
border-color: #bd2130;
}
.btn-primary {
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.btn-primary:hover {
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
.form-select {
    display: block;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da; 
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.wrap_in_form{
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    flex-direction: column;
}
.header_form{
    font-size: 1rem;
    font-weight: 400;
    color: #495057;
    font-family: -apple-system,BlinkMacSystemFont,"Open Sans","Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
.single_form_row{
    margin-bottom: 1rem;
    display: flex;
    max-width: 100%;
}
.single_form_row > div{
    padding-right: 5px;
    padding-left: 5px;
    width: calc(50% - 10px);
}
label{
    display: inline-block;
    margin-bottom: 0.5rem;
}
.center_flex{
    display: flex;
    justify-content: center;
    align-items: center;
}
#ts_massa, #ts_kol_mest{
    display: none;
}


.bootstrap-select.btn-group:not(.input-group-btn), .bootstrap-select.btn-group[class*=col-] {
    float: none;
    display: inline-block;
    margin-left: 0;
}


.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    text-align: left;
}
.bootstrap-select.btn-group .dropdown-toggle .caret {
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -2px;
    vertical-align: middle;
}
.dropdown-menu .inner{
    max-height: 161.8px;
    overflow-y: auto;
    min-height: 80px;
}
.lb_sear{
    margin-top: 13px;
    margin-right: 25px;
}
.filter-option{
    color: #333;
    background-color: #d4d4d4;
    border-color: #8c8c8c;
}
.owner-row{
    display:flex;
    justify-content: space-between;
}
.owner_part{
    /*display: none;*/
}
.wrap_driver_class{
    display: none;
    border: 2px solid gray;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.wrap_driver_class2{
    border: 2px solid gray;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.del_driver, .add_driver {
    cursor: pointer;
}
.doc_form_in {
    background: #1B2638;
    border: 1px dashed #B9B9B9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.task_yellow {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #FFC107;
    margin-top: 24px;
    margin-bottom: 10px;
}
.task_gray {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #EEEEEE;
    opacity: 0.6;
}
#upload_f {
    height: 38px;
    opacity: 0;
    position: absolute;
    left: 50%;
    cursor: pointer;
    max-width: 270px;
    margin-top: 55px;
    margin-left: -135px;
}
#change_file_doc {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #1B2638;
    cursor: pointer;
    width: 160px;
    height: 34px;
    background: #FFC107;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 23px;
    cursor: pointer;
}
#send_doc {
    margin-top: 32px;
}
.button_yellow {
    background: rgba(255, 193, 7, 0.4);
    width: 100%;
    padding: 12px 0px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #FFC107;
    cursor: pointer;
}
#doc_form{
    width: 400px;
    margin: auto;
}
.single_ufms{
    cursor: pointer;
    padding: 3px;
    margin: 3px;
    border: 1px solid gray;
    border-radius: 5px;
}
.single_ufms:hover{
    background: #8c8c8c;
    color: white;
}
.imageFile{
    display: none;
}
.single_doc{
    width: 400px;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    display: flex;
    border: 1px solid gray;
    border-radius: 5px;
    margin: 5px;
}
#modal-info{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -170px;
    margin-top: -12px;
}
#doc_auto_number, #gos_number, #doc_auto_number_sts_seria, #doc_auto_number_pts_seria{
    text-transform: uppercase;
}
#wrap_models{
    height: 280px;
    overflow: hidden;
}
.single_owner{
    cursor: pointer;
    padding: 2px;
    border-radius: 5px;
    margin: 2px;
}
.single_owner:hover{
    border: 1px solid gray;
}
footer{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
}
#wrap_foot_pol {
    display: flex;
    flex-direction: column;
}
#wrap_foot_pol > a:hover{
    text-decoration: underline;
}
#wrap_foot_social{
    display: flex;
    margin-right: 20px;
}
#wrap_foot_social img{
    width: 50px;
    margin-right: 20px;
}
#kooki{
    position: fixed;
    bottom: 0px;
    background: lightgrey;
    padding: 10px;
}
#close_kooki{
    cursor: pointer;
    font-weight: 600;
    position: absolute;
    top: 0px;
    right: 0px;
}
.get_who{
    cursor: pointer;
    border: 1px solid green;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
}
.get_who:hover{
    background: green;
    color: white;
}
#wating_s {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    width: 200px;
}
@keyframes spin {
    0% {
        transform:rotate(0deg); 
    }
    25% {
        transform:rotate(90deg); 
    }
    50% {
        transform:rotate(180deg);
    }
    75% {
        transform:rotate(270deg);
    }
    100% {
        transform:rotate(360deg);
    }
}
#wrap_pts, #wrap_sts, #wrap_epts{
    display: none;
}
.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.mark_list_elem, .model_list_elem{
    cursor: pointer;
    padding: 3px;
    margin: 3px;
}
.mark_list_elem:hover, .model_list_elem:hover{
    background: lavender;
}
#general_info{
    margin: 10px;
    padding: 10px;
    border: 2px solid black;
    border-radius: 10px;
}
.owner-row .form-control, .owner-row label{
    padding: 1px;
}
.owner_part{
    width: 70%!important;
}
.owner-row label {
    width: max-content;
}


/* адаптация */
@media screen and (max-width: 1000px) {
    .wrap_driver_class2 {     
        width: 100%;
        margin: auto;
        margin-bottom: 10px;
    }
    .single_form_row{
        flex-wrap: wrap;
    }
    .single_form_row > div {
        width: calc(100% - 10px);
    }
    #wrap_models{
        height: 100%;
    }
}

@media screen and (max-width: 640px) {
    .owner-row{
        flex-direction: column;
        align-items: unset!important;
    }
}


