* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Verdana, sans-serif;
}

a, button, input[type=button] {
    cursor: pointer;
}

.btn-href {
    color: #3182ce;
    text-decoration: underline;
}

.alert-success, .alert-error {
    font-size: 18px;
    text-align: center;
    color: #00a65a;
    padding: 20px;
}

.alert-error {
    color: #d02424;
}

.d-body, .o-body {
    background-color: #f7f6f3;
}

.container {
    max-width: 768px;
    margin: 0 auto;
}

.o-body .container {
    max-width: 100%;
}

.d-error:focus {
    outline: none !important;
    border: 1px solid #d02424 !important;
}

.d-top, .o-top {
    height: 50px;
    text-align: center;
    background-color: #467aa6;
    color: white;
    line-height: 50px;
    font-weight: 500;
    font-size: 24px;
    padding: 0 15px;
}

.d-exit, .o-exit {
    height: 50px;
    text-align: right;
    background-color: #4f8bbd;
    line-height: 50px;
    padding: 0 15px;
}

.d-exit a, .o-exit a {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

h2 {
    font-weight: 500;
    font-size: 22px;
    padding: 10px 15px;
    color: #545454;
}

.d-body form {
    padding: 10px 15px;
}

.d-body form > div.d-div {
    padding-bottom: 10px;
}

.d-body .d-div label {
    display: flex;
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 2px;
}

.d-body .d-div label span {
    color: #d02424;
}

.d-i-title {
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 2px;
}

.d-body .d-div input {
    height: 48px;
    width: calc(100% - 20px);
    font-size: 18px;
    padding: 0 10px;
    border: solid 1px lightgrey;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.stv-radio-buttons-wrapper {
    clear: both;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}

.stv-radio-button {
    position: absolute;
    left: -9999em;
    top: -9999em;
}

.stv-radio-button + label {
    width: calc(50% - 14px);
    padding: 8px 6px;
    cursor: pointer;
    border: 1px solid lightgrey;
    margin-right: -1px;
    color: #000;
    background-color: #fff;
    height: 34px;
    line-height: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stv-radio-button + label.w33 {
    width: calc(33% - 13px);
}

.stv-radio-button + label.w25 {
    width: calc(50% - 15px);
}

.stv-radio-button + label.w9, .stv-radio-button + label.w6 {
    width: calc(33% - 13px);
}

.stv-radio-button + label.w6, .stv-radio-button + label.w6 {
    width: calc(33% - 13px);
}

.stv-radio-button + label:not(.w2x3):nth-of-type(1) {
    border-radius: 10px 0 0 10px;
    float: left;
}

.stv-radio-button + label.w25:nth-of-type(1), .stv-radio-button + label.w9:nth-of-type(1), .stv-radio-button + label.w6:nth-of-type(1) {
    border-radius: 10px 0 0 0;
}

.stv-radio-button + label.w33:nth-of-type(1) {
    border-radius: 10px 0 0 10px;
}

.stv-radio-button + label:not(.w2x3):nth-of-type(2) {
    border-radius: 0 10px 10px 0;
    display: flex;
}

.stv-radio-button + label.w25:nth-of-type(2) {
    border-radius: 0 10px 0 0;
}

.stv-radio-button + label.w9:nth-of-type(2) {
    border-radius: 0 0 0 0;
    float: left;
}

.stv-radio-button + label.w6:nth-of-type(2) {
    border-radius: 0 0 0 0;
    float: left;
}

.stv-radio-button + label.w33:nth-of-type(2) {
    border-radius: 0 0 0 0;
    float: left;
}

.stv-radio-button + label:not(.w2x3):nth-of-type(3) {
    border-radius: 0 10px 10px 0;
    display: flex;
}

.stv-radio-button + label.w25:nth-of-type(3) {
    float: left;
    border-radius: 0 0 0 10px;
}

.stv-radio-button + label.w9:nth-of-type(3) {
    float: left;
    border-radius: 0 10px 0 0;
}

.stv-radio-button + label.w6:nth-of-type(3) {
    float: left;
    border-radius: 0 10px 0 0;
}

.stv-radio-button + label:not(.w2x3):nth-of-type(4) {
    border-radius: 0 10px 10px 0;
    display: flex;
}

.stv-radio-button + label.w25:nth-of-type(4) {
    border-radius: 0 0 10px 0;
}

.stv-radio-button + label.w9:nth-of-type(4) {
    border-radius: 0 0 0 0;
    float: left;
}

.stv-radio-button + label.w6:nth-of-type(4) {
    border-radius: 0 0 0 10px;
    float: left;
}

.stv-radio-button + label.w9:nth-of-type(5) {
    float: left;
    border-radius: 0 0 0 0;
}

.stv-radio-button + label.w6:nth-of-type(5) {
    float: left;
    border-radius: 0 0 0 0;
}

.stv-radio-button + label.w9:nth-of-type(6) {
    display: flex;
    border-radius: 0 0 0 0;
}

.stv-radio-button + label.w6:nth-of-type(6) {
    display: flex;
    border-radius: 0 0 10px 0;
}

.stv-radio-button + label.w9:nth-of-type(7) {
    float: left;
    border-radius: 0 0 0 10px;
}

.stv-radio-button + label.w9:nth-of-type(8) {
    float: left;
    border-radius: 0 0 0 0;
}

.stv-radio-button + label.w9:nth-of-type(9) {
    display: flex;
    border-radius: 0 0 10px 0;
}

.stv-radio-button + label.w2x3 {
    width: calc(33% - 12px);
    float: left;
}

.stv-radio-button:checked + label {
    border: 1px solid #00a65a;
    font-weight: 600;
}

.d-div textarea {
    height: 200px;
    width: calc(100% - 20px);
    font-size: 18px;
    padding: 0 10px;
    border: solid 1px lightgrey;
}

.big-split {
    height: 60px;
}

#d-submit {
    height: 50px;
    width: 100%;
    border: none;
    background-color: #00a65a;
    font-weight: 600;
    color: white;
    font-size: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#d_percent_porojeniya, #kt_d_drugoe {
    display: none;
}

.o-body h2 {
    margin: 0 15px;
}

.table, .list {
    border: 1px solid lightgrey;
    border-top: 4px solid #467aa6;
    margin: 5px 30px;
    padding: 15px;
    background-color: white;
    border-radius: 5px 5px 0 0;
}

.list {
    margin-top: 20px;
}

.data-info {
    font-size: 12px;
    position: relative;
}

.data-info button, .route_sheet_plus {
    display: block;
    width: 36px;
    height: 36px;
    border: 1px solid lightgrey;
    border-radius: 3px;
    background-color: #f4f4f4;
    text-align: center;
    position: absolute;
    right: 0;
    top: -5px;
}

.data-info button img {
    max-width: 24px;
}

.route_sheet_plus img {
    margin-top: 7px;
}

.fl {
    float: left;
    margin-right: 20px;
}

.table table {
    width: 100%;
}

.table table label {
    display: block;
    font-weight: 600;
    color: #555555;
    font-size: 14px;
    padding-bottom: 2px;
}

.table table td {
    width: 25%;
}

.table table tr:first-of-type td {
    padding-bottom: 10px;
}

.table table input {
    border: 1px solid lightgrey;
    height: 32px;
    width: calc(100% - 40px);
    padding: 0 10px;
}

.table table select {
    border: 1px solid lightgrey;
    height: 32px;
    width: calc(100% - 20px);
}

#status_zayavki {
    width: 100%;
}

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

.table .btn {
    width: 100px;
    height: 28px;
    text-align: center;
    border: none;
    color: white;
    font-size: 12px;
    background-color: #467aa6;
}

.table .btn.reset {
    background-color: #d02424;
}

.list table {
    width: 100%;
    font-size: 14px;
}

.list table th, .list table td {
    padding: 5px;
}

.list table th {
    color: #777;
    font-weight: 500;
    padding: 25px 5px 15px;
    text-align: left;
}

.list table td a img {
    max-width: 16px;
}

.dblck {
    display: block !important;
}

.admin-table {
    width: 100%;
    font-size: 14px;
}

.admin-table th {
    color: #777;
    font-weight: 500;
    padding: 25px 5px 15px;
    text-align: left;
}

.admin-table td {
    border-top: solid lightgrey 1px;
    padding: 4px;
}

.pagination {
    text-align: right;
    margin: 10px 30px;
}

.pagination > a {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    text-decoration: none;
    color: black;
    line-height: 32px;
    font-size: 14px;
    border: 1px solid lightgrey;
    background-color: white;
}

.pagination > a.active {
    color: white;
    background-color: #467aa6;
    border: 1px solid #467aa6;
}

#application_status, #doctor_select, #srochno {
    width: 100%;
    height: 48px;
    font-size: 18px;
}

.login-form {
    max-width: 320px;
    margin: 30px auto;
}

.login-form input {
    border: 1px solid lightgrey;
    height: 48px;
    width: calc(100% - 22px);
    padding: 0 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    font-size: 16px;
}

.login-form input[type=submit]:nth-child(3) {
    background-color: #467aa6;
    border: 1px solid #467aa6;
    color: white;
    text-align: center;
    cursor: pointer;
}

#ber_ned_div, .vakcinaciya_da {
    display: none;
}

.br-lb {
    border-radius: 0 0 0 10px;
}

.br-rb {
    border-radius: 0 0 10px 0;
}

a.pagination_first_step {
    display: none;
}

a.pagination_last_step {

}

a.show {
    display: inline-block;
}

#rezult-area {
    border: 1px solid lightgrey;
    width: 100%;
}

#status_analiz {
    border: 1px solid lightgrey;
    height: 32px;
    width: 100%;
}

.right {
    text-align: right;
}

.btn-analiz {
    width: 100px;
    height: 28px;
    text-align: center;
    border: none;
    color: white;
    font-size: 12px;
    background-color: #059A5C;
    margin-top: 50px;
}

.applications-found {
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    font-style: italic;
    padding-bottom: 10px;
}

.add-new-record, .open-history {
    font-size: 15px;
    margin: 15px;
    height: 42px;
    line-height: 42px;
    border: solid 1px #4f8bbd;
    display: block;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #4f8bbd;
    font-weight: 500;
}

.route_sheet_list {
    display: block;
    margin: 0 15px 10px;
    padding: 10px;
    color: white;
    font-size: 12px;
    border-radius: 10px;
    background-color: #418CFD;
    font-weight: 400;
    line-height: 1.5;
    background-repeat: no-repeat;
    background-position: 95%;
    background-size: 52px;
}

.route_sheet_list strong {
    font-weight: 600;
}

.statistics {
    margin: 15px;
    border-radius: 25px;
    border: solid 1px lightgrey;
    font-size: 13px;
    background-color: white;
    padding: 0;
    line-height: 1.75;
}

.statistics > div {
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 0 15px;
}

.statistics .total {
    background-color: #00a65a;
    border-radius: 0 0 25px 25px;
    color: white;
    padding: 12px 15px;
}

.statistics > div:nth-child(1) {
    padding-top: 15px;
}

.statistics > div:nth-child(3) > div:nth-child(1),
.statistics > div:nth-child(3) > div:nth-child(1),
.statistics > div:nth-child(4) > div:nth-child(1),
.statistics > div:nth-child(5) > div:nth-child(1),
.statistics > div:nth-child(6) > div:nth-child(1) {
    padding-left: 10px;
}

.history-item {
    margin: 0 15px 10px;
    border-radius: 20px;
    border: 1px lightgrey solid;
    background-color: white;
    display: block;
    padding: 15px 10px;
    font-size: 13px;
    line-height: 1.75;
}

.red {
    color: #FD4A4A;
}

.bgr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.3;
    z-index: 2;
}

.custom-modal {
    background-color: white;
    position: absolute;
    margin: auto;
    max-width: 360px;
    width: calc(100% - 40px);
    border-radius: 10px;
    z-index: 3;
    top: 100px;
    left: 0;
    right: 0;
    padding: 15px 5px;
}

.cm-title {
    font-size: 12px;
    position: relative;
    height: 28px;
    text-align: center;
}

.cm-title a {
    position: absolute;
    right: 10px;
}

.cm-body, .cm-footer {
    background-color: #f7f8fa;
    border-radius: 10px;
    padding: 10px;
}

.cm-body > div {
    font-size: 12px;
    line-height: 2;
}

.cm-body > label, .cm-footer > label {
    font-weight: bold;
    font-size: 12px;
}

.cm-body a {
    display: block;
    text-align: center;
    color: #157ddd;
    border-radius: 10px;
    border: 1px solid #157ddd;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    margin-bottom: 12px;
}

.custom-modal h3 {
    font-size: 16px;
}

.custom-modal p {
    font-size: 10px;
    padding: 10px 0 15px;
    color: #8e8e8e;
}

.cm-footer {
    margin-top: 10px;
    display: block;
    text-decoration: none;
}

.cm-footer h3 {
    background-image: url("/img/right-arrow.png");
    background-repeat: no-repeat;
    background-position: right;
    color: black;
}

.first-step > a:last-child {
    color: #FD4A4A;
    border: solid 1px #FD4A4A;
}

.picker {
    margin-left: 15px;
    margin-right: 15px;
}

#picker-month, #picker-day {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

#picker-month > a, #picker-day > a {
    display: block;
    border: #e4e5e8 solid 1px;
    width: 40px;
    height: 42px;
    background-color: white;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    text-decoration: none;
    color: black;
}

#picker-month > a:nth-child(1), #picker-day > a:nth-child(1) {
    background-image: url("/img/date-prev.png");
}

#month_datepicker, #day_datepicker {
    width: calc(100% - 20px);
    border: #e4e5e8 solid 1px;
    margin: 0 10px;
}

#month_datepicker > input, #day_datepicker > input {
    width: 100%;
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
    border: none;
}

#picker-month > a:nth-child(3), #picker-day > a:nth-child(3) {
    background-image: url("/img/date-next.png");
}

@media (max-width: 414px) {
    .stv-radio-button + label {
        font-size: 11px;
    }

    .d-body .d-div input {
        font-size: 16px;
    }
}
