.contacts {
    color: #003791;
    white-space: pre-line;
    text-align: right;
    display: inline-block;
    float: right;
    font-weight: bold;
    font-size: 15px;
    padding: 0 20px;
}

.popup_top {
    margin-bottom: 40px;
}

.full_width {
    width: 100%;
}

.col-md-6.personal_info_button,
input[type="button"].button.personal_info_button {
    height: 36px;
    width: 36px;
    float:right;
}

.full_label {
    padding: 0 20px;
}

.flex_container {
    display: flex;
}

@media (min-width: 801px) {
    .small_left_input {
        width: 40%;
        padding-right: 10px;
    }

    .small_right_input {
        width: 30%;
        float: right;
    }

    .col-xs-12.left_field {
        width: 60%;
    }

    .col-xs-12.right_field {
        width: 40%;
        float: right;
    }

    .full_name_field {
        width: 65%;
    }

    .sex_field {
        width: 15%;
    }

    .passport_field,
    .personal_date_field {
        width: 20%;
    }

    .medium_field {
        width: 40%;
    }

    .issued_by_field {
        width: 80%;
    }

    .right_button,
    .email_field {
        float: right;
    }

    .international_passport_field {
        width: 35%;
    }

    .small_blue_buttons {
        width: 50%;
        box-sizing: border-box;
    }

    .right_button {
        padding-right: 0;
    }

    .left_button {
        padding-left: 0;
    }
}

@media (max-width: 800px) {
    .right_button {
        padding: 0;
    }

    .left_button {
        padding: 0;
    }

    .contacts {
        padding-right: 40px;
    }
}

@media (min-width: 801px) {
    .full_name_field {
        padding-right: 10px;
    }

    .sex_field {
        padding-left: 10px;
    }

    .passport_field,
    .personal_date_field {
        padding-left: 0;
    }
}

@media (max-width: 639px) {
    .additional_header {
        padding-left: 0;
    }

    .col-md-6.personal_info_button,
    input[type="button"].button.personal_info_button {
        height: 44px;
        width: 44px;
        margin-left: 5px;
    }

    .bottom_buttons input[type="button"] {
        height: 40px !important;
    }

    input[type="checkbox"] + label.dropdown_button {
        height: 50px !important;
        font-size: 15px !important;
        line-height: 50px !important;
    }

    .contacts {
        font-size: 12px;
        padding-right: 30px;
    }

    #status_popup .b_form .exit.popup_close {
        width: 40px;
        height: 40px;
    }
}

.additional_header {
    font-weight: bold;
    font-size: 16px;
    color: #616265;
    padding-left: 20px;
    margin-bottom: 5px;
}

input[type="checkbox"] + label.dropdown_button {
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
    text-transform: none;
    border-radius: 0;
    height: 30px;
    width: 100%;
    background-color: #e7e7e7;
    color: #003791;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
}

.dropdown_button:focus,
.dropdown_button:hover {
    background-color: #e7e7e7;
    color: #003791;
}

.spoiler_content {
    margin-bottom: 10px;
}

.spoiler div.spoiler_content {
    display: none;
}

.spoiler:checked ~ div.spoiler_content {
    display: block;
}

.wrap .spoiler input[type="checkbox"] + label::before {
    padding-left: 5px;
    height: 15px;
    width: 15px;
    background-image: none;
    border: none;
    content: '►';
    margin-right: 5px;
}
.wrap .spoiler input[type="checkbox"]:checked + label::before {
    content: '▼';
    background-color: transparent;
    background-image: none;
}

.bottom_buttons input[type="button"] {
    height: 30px;
    line-height: 0;
}

.status_button {
    margin-top: 20px;
}

.blue_bottom_buttons input[type="button"],
.blue-submit-button input[type="button"]{
    background: #003791;
}

.blue_bottom_buttons input[type="button"]:not([disabled]):hover,
.blue_bottom_buttons input[type="button"]:not([disabled]):focus,
.blue-submit-button input[type="button"]:not([disabled]):hover,
.blue-submit-button input[type="button"]:not([disabled]):focus{
    background-color: #002c74;
}


.full_width_select .blue_bottom_buttons,
.full_width_select .blue_bottom_buttons .button {
    margin-bottom: 15px;
}

.full_width_select .red_button,
.full_width_select .red_button .button{
    margin-bottom: 15px;
}

.services_block {
    margin-bottom: 10px;
}

.one_line {
    display: inline-block;
    vertical-align: text-top;
    padding: 0 20px;
}

.one_line a {
    display: block;
    margin-bottom: 5px;
}

.grey_links a {
    color: #616265;
    text-decoration: underline;
    display: block;
    padding: 0 20px;
}

.grey_links a:hover,
.grey_links a:focus {
    color: #424345;
}

div.logo {
    min-width: 172px;
}

.personal_date_field label {
    white-space: nowrap !important;
    overflow: hidden;
}

.search_form {
    margin-top: 30px;
}

.clinic-info-column {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
}

.clinic-name {
    color: #003791;
}

.clinic_list_table tr {
    border-bottom: 1px solid gray;
}

.clinic_list_table td {
    padding: 0 10px;
}

.default_table thead th:last-child,
.default_table thead th:first-child,
.medical-table .default_table thead th{
    background: none #003791;
    color: #FFFFFF;
    text-shadow: none;
    border-radius: 0;
    border-top: 0;
}

.medical-table .default_table thead th {
    font-weight:normal;
    text-transform: none;
}

.medical-table .default_table tfoot td {
    background: none #003791;
    color: #FFFFFF;
    text-shadow: none;
    border-radius: 0;
    border-top: 0;
    font-weight:normal;
    text-transform: none;
}

.b_form .content .ui-helper-hidden {
    display: none;
}

.medical-table div.chosen-container-single .chosen-single,
.medical-table select + .ui-paginator-rpp-options,
.clinic_list_table div.chosen-container-single .chosen-single,
.clinic_list_table select + .ui-paginator-rpp-options {
    -webkit-appearance: none;
    display: none;
    border: 0;
    background: none;
    height: 0;
    width: 0;
    margin: 0;
    visibility: hidden;
}

.medical-table .chosen-container-single .chosen-single span {
    width: 20px;
    display: inline;
    font-size: 1.1em;
}

.medical-table div.chosen-container {
    width: auto !important;
    height: auto;
}

.one_line_item div.chosen-container {
    margin-bottom: 0;
    padding-left: 15px;
}

.one_line_item .chosen-container-single .chosen-single {
    height: 24px;
    line-height: 22px;
    font-size: 15px !important;
    margin-top: 3px;
}

.search_form input[type="button"] {
    font-size: 14px;
}

.ui-paginator.ui-paginator-bottom {
    background: none;
    border-radius: 0;
}

.ui-widget-header .ui-state-default {
    background: none #b1d0ff;
    border-radius: 0;
    border-color: #97c0ff;
    box-shadow: none;
    -webkit-box-shadow: none;
    color: #003791;
    text-shadow: none;
}

.ui-widget-header .ui-state-active {
    background: #003791;
    color: #FFFFFF;
    border-color: #003791;
}

.ui-widget-header .ui-state-hover {
    background: #97c0ff;
}

.ui-state-default a {
    text-shadow: none;
}

.medical-table select.hasChosen,
.clinic_list_table select.hasChosen {
    -webkit-appearance: menulist;
    position: relative;
    width: auto;
    height: auto;
    border: 1px solid #616265;
}

.medical-table .ui-paginator .ui-paginator-rpp-options,
.clinic_list_table .ui-paginator .ui-paginator-rpp-options {
    padding: 1px 0 4px;
    color: #616265;
    background-color: #FFFFFF;
    font-weight:normal;
    border-color: #616265;
    height: 22px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.ui-datatable-tablewrapper {
    /*overflow: hidden;*/
}

.default_table .ui-widget-content .ui-datatable-odd {
    background-color: #f2f5f9;
}

.fixing_all_button input[type="button"] {
    background-color: rgba(0, 0, 0, 0);
    height: 50%;
    width: 100%;
    line-height: 40%;
    position: absolute;
    left: 0;
    top: 25%;
    padding-left: 20px;
}

.fixing_all_button input[type="button"]:hover {
    cursor: text;
    background-color: rgba(0, 0, 0, 0);
}

.hidden_element {
    visibility: hidden;
}

.ui-paginator > a,
.ui-sortable-column-icon:before {
    font-family: FontAwesome;
}

.ui-paginator a {
    width: 26px;
    height: 21px;
    vertical-align: center;
    padding: 0 !important;
}

.ui-sortable-column-icon.ui-icon {
    background-image: none;
    text-indent: 0;
    height: 20px;
}

.ui-paginator span span,
.ui-paginator a span {
    display: none;
}

.ui-paginator .ui-paginator-first:before {
    content: "\f048";
}

.ui-paginator .ui-paginator-prev:before {
    content: "\f04a";
}

.ui-paginator .ui-paginator-next:before {
    content: "\f04e";
}

.ui-paginator .ui-paginator-last:before {
    content: "\f051";
}

.clinic-info-column .schedule_cell::before,
.clinic-info-column .phone_cell::before {
    position: absolute;
    left: 0;
}

.clinic-info-column .phone_cell::before {
    content: "☎";
}

.clinic-info-column .schedule_cell::before {
    content: "🕐";
}

.clinic-info-column > .phone_cell {
    padding-left: 15px;
    position: relative;
}

.clinic-info-column > .schedule_cell {
    padding-left: 18px;
    position: relative;
}

.clinic_list_table .ui-datatable-tablewrapper {
    border-right: 1px solid #a8a8a8;
}

.clinic_list_table .ui-widget-content {
    border: none;
}
.common-warning {
    color: rgb(255, 75, 95);
}

.checkbox_wrap input[type="checkbox"] {
    display: none;
}

.wrap input[type="checkbox"]:checked ~ label:before {
    background-image: url(../greenlabs/images/icon/new_icon_checked_blue.png);
}

.checkbox_wrap input[type="checkbox"] ~ label:before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 2px solid #003791;
    position: absolute;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: 0;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

/*.checkbox_wrap input[type="checkbox"] ~ label:before{*/
/*    margin: 0;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    margin-right: -50%;*/
/*    transform: translate(-50%, 0)*/
/*}*/

.checkbox_wrap input[type="checkbox"] ~ label {
    padding: 0;
    display: block;
}

.checkbox {
    position: relative;
    padding-left: 0;
}

.one_line_item {
    position: relative;
    display: inline-block;
}

.blue-submit-button input[type="button"] {
    height: 24px;
    line-height: 0;
    font-size: 15px;
    font-weight:normal;
    text-transform: none;
    margin-bottom: 0;
}

.medical-table td {
    color: #003791;
}

tr .money-column {
    text-align: right;
}

.money-column {
    width: 12%;
}

#services_rendered_popup .b_form {
    width: 95%;
    max-width: none;
}

tr .red-cell-text span {
    color: rgb(255, 75, 95);
}

.ui-sortable-column .ui-icon-carat-2-n-s {
    background-image: url("../greenlabs/images/icon/icon-sort-updown-white.png");
    height: 21px;
    width: 21px;
}

.ui-sortable-column .ui-icon-triangle-1-n {
    background-image: url("../greenlabs/images/icon/icon-sort-up-white.png");
}

.ui-sortable-column .ui-icon-triangle-1-s {
    background-image: url("../greenlabs/images/icon/icon-sort-down-white.png");
}


.summaryTable {
    width: 100%;
    background: none rgb(0, 55, 145);
    text-shadow: none;
    border-radius: 0px;
    margin-bottom: 10px;
    border: 1px solid;
    border-top-width: 0;
    color: #fff;
    font-family: Arial, Helvetica, Arial, sans-serif;
    font-size: 13px;
}

.summaryTable_td_itogo {
    text-align:right;
    width: 53%;
    margin-right: 2px;
}

.summaryTable_td {
    text-align:center;
    width: 12%;
}

.personal_data_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    column-gap: 20px;
    row-gap: 15px;
    margin: 0 0 30px 0;
}

.halva_mp_banner {
    background: url("../halva/halva_mp_banner.png") no-repeat left center;
    background-size: contain;
    width: 245px;
    height: 135px;
}

.first_column, .second_column {
    display: grid;
    grid-template-rows: 1fr 1fr;
    row-gap: 30px;
}

/*services table*/
#summaryTable td {
    text-align: center;
    padding: 5px;
}

.services_rendered_table_mobile {
    display: none;
}

.services_rendered_table_mobile thead {
    display: none;
}

.services_rendered_table_mobile tr {
    width: 100%;
    display: block;
}

.services_rendered_table_mobile tr td {
    width: 100%;
    display: block;
    color: black;
    text-align: left;
    min-height: 30px;
    border: 1px solid gray;
    padding: 5px 25px;
}

.services_rendered_table_mobile .mobile-cb-wrapper {
    display: inline-block;
    margin: 2px 7px 0 0;
}

@media screen and (max-width: 800px) {
    #services_rendered_popup .tablet-hidden {
        display: none !important;
    }

    #services_rendered_popup .tablet-visible {
        display: block !important;
    }
}

.guarant_letters_table tbody td:last-child, .text_page_wrap table tbody td:last-child {
    border-color: inherit;
    border-right: 1px solid;
}

#guarant_letters_popup .b_form {
    width: 95%;
    max-width: none;
}

/*services table end*/
#services_rendered_list .warn_box p.small {
    padding: 20px 24px;
    margin: 0;
}

 .dms_services_body .back_link {
    padding: 16px 0;
    margin-bottom: 16px;
}

.dms_services_body h1 {
    color: #0F0F0F;
    font-size: 31px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.dms_services_body .buttons_block {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.guarant_letters_button input {
    background-color: #FFFFFF;
    color: #003790;
    float: right;
    width: 203px;
    height: 60px;
    padding: 20px 0 20px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #E6E9F0;
    margin-top: 3px;
}

.guarant_letters_button input[type="button"]:not([disabled]):hover{
    background-color: #3158B5;
    color: #FFFFFF;
}

.dms_services_table {
    margin-top: 32px;
}

.dms_services_table tbody tr:nth-child(odd),
.dms_services_table tbody tr td,
.dms_services_table thead tr,
.dms_services_table thead tr th,
.dms_services_table tfoot tr td {
    border: none;
}

.dms_services_table {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.dms_services_table thead {
    height: 52px;
    color: #607286;
    border-bottom: 1px solid #E6E9F0;
}
.text_right, .dms_services_table .ui-datatable thead th.text_right,
.dms_services_table .ui-datatable tfoot td.text_right {
    text-align: right;
}

.text_left, .dms_services_table .ui-datatable thead th.text_left {
    text-align: left;
}

.text_center, .dms_services_table .ui-datatable thead th.text_center {
    text-align: center;
}

.dms_services_table tbody tr:nth-child(even) td:first-child {
    border-top-left-radius: 12px;
}

.dms_services_table tfoot tr td:first-child {
    border-top-left-radius: 16px;
}

.dms_services_table tbody tr:nth-child(even) td:last-child {
    border-top-right-radius: 12px;
}

.dms_services_table tfoot tr td:last-child {
    border-top-right-radius: 16px;
}

.dms_services_table tbody tr:nth-child(even) td:first-child {
    border-bottom-left-radius: 12px;
}

.dms_services_table tfoot tr td:first-child {
    border-bottom-left-radius: 16px;
}

.dms_services_table tbody tr:nth-child(even) td:last-child {
    border-bottom-right-radius: 12px;
}

.dms_services_table tfoot tr td:last-child {
    border-bottom-right-radius: 16px;
}

.dms_services_table .table_desktop tbody tr:nth-child(even) {
    background-color: #F6F8FB;
}

.dms_services_table tfoot tr td {
    background: linear-gradient(180deg, #4D69FA 0%, #5FA0FC 100%);
}

.dms_services_table tbody tr td input[type="text"] {
    border-bottom: none;
    font-size: 14px;
}

.dms_services_table tfoot p.sum_footer {
    opacity: 0.6;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.dms_services_table tfoot p {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.dms_services_table .checkbox_wrap input[type="checkbox"] ~ label {
    padding: 0;
    display: block;
}

.dms_services_table .checkbox_wrap input[type="checkbox"] ~ label:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 2px solid #A1AFBF;
    position: absolute;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: 0;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.dms_services_table .checkbox_wrap input[type="checkbox"]:checked ~ label:before {
    background-image: url(../greenlabs/images/icon/svg/check.svg);
    background-color: #0F0F0F;
    border-color: #0F0F0F;
}

.dms_services_table .wrap input[type="checkbox"]:checked ~ label:before {
    background-image: url(../greenlabs/images/icon/checked_white.png);
}

.text_gray {
    color: #607286;
}

.service_accepted {
    color: #1FB881;
    background-color: #E9F8F3;
    border-radius: 40px;
    padding: 4px 12px 6px 12px;
    width: 80px;
    height: 30px;
}

.service_rejected {
    color: #FF4B5F;
    background-color: #FFEDEF;
    border-radius: 40px;
    padding: 4px 12px 6px 12px;
    width: 96px;
    height: 30px;
    white-space: nowrap;
}

.dms_services_table .ui-paginator {
    padding: 20px 16px 16px 16px;
    justify-content: center;
    align-items: flex-start;
    gap: 587px;
    border-radius: 16px;
    border: 0.774px solid #E6E9F0;
    background:  #FFF;
    height: 80px;
}

.dms_services_table  .ui-widget-header .chosen-container-single-nosearch {
    background: #FFF;
    padding: 10px 8px 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(221, 224, 233, 0.50);
    width: 72px !important;
    height: 40px;
    float: left;
    margin-left: 0px;
}

.dms_services_table  .ui-widget-header .chosen-container-active .result-selected{
    background-color: #F6F8FB;
    border-radius: 4px;
    margin: 2px;
}

.dms_services_table  .ui-widget-header .chosen-container-single-nosearch:after{
    content: "Элементов на странице";
    position: absolute;
    top: 10px;
    left: 75px;
    width: 161px;
    color: #607286;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.dms_services_table .chosen-container-single .chosen-single {
    border-bottom: none;
    overflow: visible;
    margin-top: -5px;
}

.dms_services_table .chosen-container-single .chosen-single span {
    overflow: visible;
    font-size: 14px;
    font-weight: 400;
    height: 28px;
    line-height: 28px;
}
.chosen-container-single .chosen-single div{
    background-image:  url(../greenlabs/images/icon/svg/arrow_drop_down.svg);
}
.chosen-container-active.chosen-with-drop .chosen-single div {

    background-image:  url(../greenlabs/images/icon/svg/arrow_drop_up.svg);
}

.dms_services_table .chosen-container-single .chosen-single div {
    left: 30px;
    top: 5px;
    width: 20px;
    height: 20px;
}

.dms_services_table .chosen-container-single .chosen-single div b {
    display: none;
}

.dms_services_table .ui-paginator .ui-paginator-prev,
.dms_services_table .ui-paginator .ui-paginator-next {
    background-color: white;
    background-repeat: no-repeat;
    height: 13px;
}
.dms_services_table .ui-paginator .ui-paginator-prev:before,
.dms_services_table .ui-paginator .ui-paginator-next:before {
    content: none;
}

.dms_services_table .ui-paginator .ui-state-disabled {
    opacity: 0.5;
}
.dms_services_table .ui-paginator .ui-paginator-prev {
    background-image: url(../greenlabs/images/icon/svg/left_arrow.svg);
    background-repeat: no-repeat;
}

.dms_services_table .ui-paginator .ui-paginator-next {
    background-image: url(../greenlabs/images/icon/svg/right_arrow.svg);
}

.dms_services_table .ui-widget-header .ui-paginator-page {
    width: 40px;
    height: 40px;
    background: white;
    color: #0F0F0F;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
}


.dms_services_table .ui-widget-header .ui-state-active {
    background: #0F0F0F;
    color: white;
    border-radius: 50%;
}
.dms_services_table .ui-paginator {
    text-align: right;
}

.status_popup_container {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    width: 300px;
}

.dms_services_table .status_popup {
    background-color: #FFFFFF;
    box-shadow: 0px 1.5479999780654907px 9.288000106811523px 0px #0000001F;
    height: 140px;
    border-radius: 16px;
}

.status_popup_content {
    padding: 24px;

    font-family: Roboto Medium;
    font-size: 16px;
    line-height: 24px;

    display: flex;
    position: absolute;
    width: 300px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.flex_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}

.popup_visible {
    visibility: visible;
}

.popup_hide {
    visibility: hidden;
}

input[type="button"].status_popup_close {
    background: url(../greenlabs/images/icon/svg/close.svg) no-repeat 50% 50%;
    border-radius: 48px;
    border: 1px solid #E6E9F0;
    height: 28px;
    width: 28px;
    padding: 0;
}

input[type="button"].status_popup_close:hover {
    background: url(../greenlabs/images/icon/svg/close_white.svg) no-repeat 50% 50%;
    background-color: #0F0F0F;
}

.status_popup_buttons {
    gap: 8px;
}

a.status_popup_button {
    background-color: white;
    display: flex;
    height: 48px;
    padding: 12px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 0 0;
    border-radius: 8px;

    font-family: Roboto Medium;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
a.status_popup_button:before {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 16px auto;
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-grid;
    content: ' ';
    border: none;
}

a.status_accepted_button {
    border: 1px solid #1FB881;
    color: #1FB881;
}

a.status_accepted_button:before {
    background-image: url(../greenlabs/images/icon/svg/check_green.svg);
}
a.status_accepted_button:hover:before {
    background-image: url(../greenlabs/images/icon/svg/check.svg);
}

a.status_accepted_button:hover {
    background-color: #1FB881;
    color:  white;
}

a.status_rejected_button {
    border: 1px solid #FF4B5F;
    color: #FF4B5F;
}

a.status_rejected_button:before {
    background-image: url(../greenlabs/images/icon/svg/close_red.svg);
}

a.status_rejected_button:hover:before {
    background-image: url(../greenlabs/images/icon/svg/close_white.svg);
}

a.status_rejected_button:hover {
    background-color:#FF4B5F;
    color:  white;
}

@media (max-width: 767px){
    #services_rendered_list .warn_box p.small .desktop {
        display: none;
    }

    p.small{
        width: auto;
    }
    #services_rendered_list .warn_box p.small .mobile {
        display: inline-block;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .dms_services_table tbody tr td input[type="text"] {
        margin-top: -14px;
    }
}

@media (min-width: 766px){
    #services_rendered_list .warn_box p.small .desktop {
        display: inline-block;
        padding-right: 24px;
    }

    p.small{
        width: 430px;
    }
    #services_rendered_list .warn_box p.small .mobile {
        display: none;
    }
}

@media (max-width: 571px){
    .dms_services_body .buttons_block {
        flex-direction: column-reverse;
        gap: 16px;
    }
    .guarant_letters_button input {
        width: 100%;
    }
}

@media (max-width: 351px) {
    .warn_box p:first-of-type span:first-of-type {
        background-position: top;
    }
}

@media (max-width: 1279px) {
    .dms_services_table .table_desktop {
        display: none;
    }

    .dms_services_table .table_mobile {
        display: block;
    }
}

@media (min-width: 1280px) {
    .dms_services_table .table_desktop {
        display: block;
    }

    .dms_services_table .table_mobile {
        display: none;
    }
}

.table_mobile tr td {
    width: 100%;
    display: block;
    color: black;
    text-align: left;
}

.table_mobile thead {
    display: none;
}

.table_mobile .service_card {
    border-radius: 16px;
    background: #F6F8FB;
    margin-bottom: 16px;
    gap: 16px;
}

.flex_column {
    display: flex;
    flex-direction: column;
}

.service_card .service_accepted,
.service_card .service_rejected {
    border-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 36px;
    width: 100%;
    padding: 8px 24px;
}

.service_card .service_data {
    padding: 0 24px;
    gap: 16px;
}

.service_card .service_data .service_data_header {
    display: block;
    color: #607286;
    margin-bottom: 8px;
}

.service_card .toggle_panel {
    padding-bottom: 8px;
}

.service_card .toggle_panel a {
    padding-left: 24px;
}

.service_card .toggle_panel a.drop_down {
    color: #607286;
}

.service_card .toggle_panel a.drop_up {
    color:#0F0F0F;
}

.service_card .toggle_panel a:after {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
    top: 3px;
    left: 4px;
    content: '';
}

.service_card .toggle_panel a.drop_down:after {
    background-image: url(../greenlabs/images/icon/svg/drop_down.svg);
}

.service_card .toggle_panel a.drop_up:after {
    background-image: url(../greenlabs/images/icon/svg/drop_up.svg);
}

.service_card .toggle_panel span:first-child {
    padding-bottom: 16px;
    display: block;
}

.table_mobile .checkbox_wrap input[type="checkbox"] ~ label:before {
    width: 20px;
    height: 20px;
}

.table_mobile .checkbox_wrap .checkbox {
    left: 24px;
    float: left;
    margin-top: 24px;
    padding-left: 20px;
}

.table_mobile .service_footer {
    border-radius: 16px;
    padding: 16px 56px;
}

.table_mobile .ui-datatable tfoot td {
    padding: 0;
}

.text_white {
    color: #FFF;
    opacity: 0.6;
}

.service_footer div:last-child p {
    margin: 0;
}

.wrap {
    overflow: visible;
}

.service_data_value {
    display: block;
    overflow-y: auto;
}


@media (min-width: 1279px) {
    .dms_services_table tfoot tr td {
        white-space: nowrap;
        height: 70px;
    }
}

@media (max-width: 1279px) {
    .ui-datatable thead th, .ui-datatable tbody td, .ui-datatable tfoot td, .ui-datatable tfoot th {
        padding: 0;
    }

    .status_popup_container {
        width: 100vw;
        border-radius: 0;
        bottom: -2px;
    }

    .status_popup_content  {
        width: 100%;
    }

    .dms_services_table .status_popup {
        border-radius: 0;
    }
}

@media (max-width: 320px) {
    .status_popup_container {
        display: inline;
    }
}

@media (max-width: 767px) {
    .service_data {
        display: flex;
        flex-direction: column;
    }
    .service_data_row {
        display: flex;
        flex-direction: row;
        width: 100% !important;
    }

    .service_data_header {
        width: 36%;
    }

    .service_data_value {
        width: 64%;
    }

    .dms_services_table tbody tr td input[type="text"] {
        margin-top: -23px;
    }
}

@media (max-width: 640px) {
    .dms_services_table .ui-paginator {
        border: none;
        height: 127px;
        text-align: center;
    }

    .dms_services_table .ui-widget-header .chosen-container-single-nosearch {
        margin-right: 300px;
        margin-top: 15px;
        margin-left: -15px;
    }

    .ui-paginator .ui-paginator-pages {
        display: inline-block;
    }

    #status_popup .b_form {
        width: 90%;
    }

    .status_popup {
        margin-bottom: 80px;
        margin-top: -8px;
    }
}

@media (min-width: 1200px) {
    .medical_scroll {
        overflow-x: hidden;
        height: 705px;
    }
}
