body {
    margin: 20px auto;
    max-width: 1200px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 10pt;
    background-color: #f8f8f8;
}

:not(select) {
    scrollbar-width: thin;
}

@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 9px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 9px;
    }

    ::-webkit-scrollbar-track {
        background: #f2f2f2;
    }

    ::-webkit-scrollbar-track:vertical {
        border-left: 1px solid #d9d9d9;
    }

    ::-webkit-scrollbar-track:horizontal {
        border-top: 1px solid #d9d9d9;
    }

    ::-webkit-scrollbar-thumb {
        background: #c2c2c2;
    }

    ::-webkit-scrollbar-thumb:vertical {
        border-left: 1px solid #9c9c9c;
    }

    ::-webkit-scrollbar-thumb:horizontal {
        border-top: 1px solid #9c9c9c;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #919191;
    }

    ::-webkit-scrollbar-thumb:hover:vertical {
        border-left: 1px solid #6a6a6a;
    }

    ::-webkit-scrollbar-thumb:hover:horizontal {
        border-top: 1px solid #6a6a6a;
    }
}

.hide{
    display: none;
}

.insured_name{
    color: red;
    background-color:#B2BEB5;
    float: right;
    padding: 5px 10px;
    display: none;
    border-radius: 3cm;
    text-align: center;
}
.msg-danger {
    border: 1px solid #f00;
    padding: 5px 10px;
    color: #f00;
    background-color: #f001;
}

.msg-success {
    border: 1px solid #0f0;
    padding: 5px 10px;
    color: #0f0;
    background-color: #0f01;
}

.col-form-label:not(span) {
    font-weight: bold;
    font-size: 9pt;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #f8f8f8;
}

.niid {
    display: none;
    float: right;
    cursor: pointer;
    color: #0095ff;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f8f8f8;
}

.heading {
    border-bottom: 1px solid #777777;
    height: 11px;
    margin: 25px 0;
    padding: 0 20px;
}

.heading > span {
    background-color: #ffffff;
    border: 1px solid #777777;
    padding: 3px 5px;
    border-radius: 2px;
    font-size: 8pt;
    font-weight: bold;
}

::placeholder {
    color: #cccccc;
    font-size: 8pt;
}

::-ms-input-placeholder {
    color: #cccccc;
    font-size: 8pt;
}

/* #section-head */
@media all {
    #section-head {
        display: grid;
        grid-template-columns: 125px auto 80px;
        grid-template-rows: 50px 50px;
        width: 100%;
        height: 105px;
        margin-bottom: 10px;
        /*border: 1px solid #cccccc;
        box-shadow: 1px 1px #bebebe;
        border-radius: 5px;*/
    }

    #section-head #logo {
        grid-row: span 2;
        overflow: hidden;
        padding: 10px;
        border-radius: 3px;
    }

    #section-head #logo img {
        width: 100%;
        height: auto;
    }

    #section-head #user2,
    #section-head #menu {
        display: flex;
        justify-content: right;
        padding: 10px 5px 0 0;
    }

    #section-head #user > *,
    #section-head #user2 > *,
    #section-head #menu > * {
        margin-right: 5px;
    }

    #section-head #user {
        padding: 15px 5px 0 0;
        text-align: right;
    }

    #section-head #menu {
        grid-column: span 2;
    }

    div.ellipsis {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* #section-policy */
@media all {
    #section-policy {
        display: none;
        width: 100%;
        /*height: 460px;*/
        margin-bottom: 10px;
        border: 1px solid #cccccc;
        box-shadow: 1px 1px #bebebe;
        border-radius: 5px;
        overflow: auto;
        padding: 10px;
        background-color: #ffffff;
    }

    #table-policy > th, #table-policy > td {
        white-space: nowrap;
    }
}

.form-group {
    margin-bottom: 0;
}

/* .button */
@media all {
    .btn-blue {
        background-color: #0095ff;
        border: 1px solid transparent;
        border-radius: 3px;
        box-shadow: rgba(255, 255, 255, .4) 0 1px 0 0 inset;
        box-sizing: border-box;
        color: #fff;
        cursor: pointer;
        display: inline-block;
        font-family: -apple-system, system-ui, "Segoe UI", "Liberation Sans", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.15385;
        margin: 0;
        outline: none;
        padding: 8px .8em;
        position: relative;
        text-align: center;
        text-decoration: none;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        vertical-align: baseline;
        white-space: nowrap;
    }

    .btn-blue:hover,
    .btn-blue:focus {
        background-color: #07c;
    }

    .btn-blue:focus {
        box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
    }

    .btn-blue:active {
        background-color: #0064bd;
        box-shadow: none;
    }

    .btn-red {
        background-color: #ff231e;
        border: 1px solid transparent;
        border-radius: 3px;
        box-shadow: rgba(255, 19, 49, 0.4) 0 1px 0 0 inset;
        box-sizing: border-box;
        color: #fff;
        cursor: pointer;
        display: inline-block;
        font-family: -apple-system, system-ui, "Segoe UI", "Liberation Sans", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.15385;
        margin: 0;
        outline: none;
        padding: 8px .8em;
        position: relative;
        text-align: center;
        text-decoration: none;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        vertical-align: baseline;
        white-space: nowrap;
    }

    .btn-red:hover,
    .btn-red:focus {
        background-color: #cc4b43;
    }

    .btn-red:focus {
        box-shadow: 0 0 0 4px rgba(255, 28, 35, 0.15);
    }

    .btn-red:active {
        background-color: #bd1610;
        box-shadow: none;
    }

    .btn-white {
        background-color: #e1ecf4;
        border-radius: 3px;
        border: 1px solid #7aa7c7;
        box-shadow: rgba(255, 255, 255, .7) 0 1px 0 0 inset;
        box-sizing: border-box;
        color: #39739d;
        cursor: pointer;
        display: inline-block;
        font-family: -apple-system, system-ui, "Segoe UI", "Liberation Sans", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.15385;
        margin: 0;
        outline: none;
        padding: 8px .8em;
        position: relative;
        text-align: center;
        text-decoration: none;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        vertical-align: baseline;
        white-space: nowrap;
    }

    .btn-white:hover,
    .btn-white:focus {
        background-color: #b3d3ea;
        color: #2c5777;
    }

    .btn-white:focus {
        box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
    }

    .btn-white:active {
        background-color: #a0c7e4;
        box-shadow: none;
        color: #2c5777;
    }
}

/* .select2 */
@media all {
    .select2-selection__rendered {
        font-size: 0.875em;
    }

    .select2-results__options li {
        font-size: 0.9em;
    }

    .select2-results__group {
        font-size: 0.9em;
    }
}