/*Common fix */
.disable-click {
    pointer-events: none;
}
.margin-top-20 {
    margin-top: 20px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

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

.margin-left-25 {
    margin-left: 25px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.info-status.bg-green {
    background: green;
    color: white;
    border: none;
}

.remove-padding {
    padding: 0 !important;
}

.pointer {
    cursor: pointer;
}

.dl-info-access:hover {
    background-color: #d9ecff;
}

.syn-box {
    position: absolute;
    left: 1.5%;
    display: inline-block;
    margin-top: 16px;
    width: 13px;
    height: 13px;
}

.list-hira ul li {
    cursor: pointer;
}

.visiting-list td:nth-child(2) {
    padding: 10px !important;
}

#picked_day {
    background: #ffc;
    padding: 1px 0 0 0;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 400;
    color: #FF0000;
    border: none;
    margin: -3px 0 0;
    min-width: 80px;
}
@media screen and (orientation: portrait) and (max-device-width: 500px) {
    _::-webkit-full-page-media, _:future, :root #picked_day {
        margin: -5px 0 0;
    }
    _::-webkit-full-page-media, _:future, :root  #week_day_from_date {
        margin-top: -1px;
    }
}
#tab1 #picked_day {
    font-size: 19px;
    font-weight: 400;
}

/* Visit Info Reg Screen */

.detail-info .info-status.sync-completed {
    background: blue;
    border-color: blue;
    color: #fff;
}
.detail-info .info-status.sync-completed span:first-child{
    font-size: 18px;
}
.detail-info .info-status span:first-child{
    font-size: 18px;
}
.fixed-tb td:nth-of-type(2) {
    width: 45%;
}

.record-tb1-title.small {
    font-size: 87%;
}

#status_info_1 span {
    margin-left: 5px;
}

#choose_patient {
    padding: 2px;
    max-height: 18px;
}

#tab4 .notes {
   border-color:transparent;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    word-break: break-all;
}

#tab4 .notes.fixed-height {
    max-height: 200px;
    min-height: 200px;
    overflow: scroll;
}

#tab4 label {
    color: #3033cd;
}

.select-style {
    border: 1px solid gray;
    min-height: 30px;
    line-height: 30px;
    border-radius: 4px;
    background: white;
    width: auto;
}

#prev_visiting_record, #next_visiting_record, #btn_edit {
    visibility: hidden;
}

.select-style.full-width {
    width: 96%;
    overflow: hidden;
}

#btn_new, #btn_save, #btn_new {
    text-align: center;
}

.medical-insurance {
    text-align: center;
    padding: 10px;
}

/* Modal */

#modal_copy .modal-content {
    max-width: 74%;
    margin: auto;
}
@media (min-width:768px) {
    #modal_copy .modal-content {
        max-width: 500px;
        margin: auto;
    }
}

#modal_copy .modal-content.error {
    background: #f7cdcd;
}

/* Confirm */

#confirmBox, #confirmBoxDelete {
    display: none;
}

#confirmBox .modal-content, #confirmBoxDelete .modal-content {
    max-width: 74%;
    margin: auto;
    text-align: center;
    padding: 20px 20px 10px 20px;
}

#confirmBox .button, #confirmBoxDelete .button {
    /* background-color: #ccc; */
    /* display: inline-block; */
    /* border-radius: 3px; */
    /* border: 1px solid #aaa; */
    /* padding: 2px; */
    /* text-align: center; */
    /* width: 80px; */
    /* cursor: pointer; */
}

#confirmBox .button:hover, #confirmBoxDelete .button:hover {
    background-color: #ddd;
}

#confirmBox .message, #confirmBoxDelete .message {
    text-align: center;
    /* margin-bottom: 8px; */
}

#prev_visiting_record.gray-out {
    background: #d2d2d2;
}

#next_visiting_record.gray-out {
    background: #d2d2d2;
}

/* Patient Name*/

.visiting-list:not(.nursing-list) tr:not(.not-hover):hover {
    background: #00b81c;
}

.group-sub {
    min-height: 36px !important;
}

.btn-to-search {
    padding: 4.5px 18px;
}

#tab4 {
    margin-top: 0;
}

.content, #actions-sidebar {
    padding-bottom: 0;
}

.btn-refresh {
    padding: 7px !important;
}

.group-select {
    width: 250px;
}

input[readonly] {
    user-select: none;
}

.patient_search {
    text-align: center;
    padding-top: 5px;
}

.no-data {
    text-align: center !important;
    color: red;
    padding: 5px;
}

.w20 {
    width: 20px;
}

.mw30 {
    max-width: 25px !important;
}

#fixed_phrase {
    width: 60%;
    overflow: hidden;
    margin-left: 5px;
}

/*Fix bug On mobile*/

@media all and (max-width: 320px) {
    .medical-supplies-1 > select {
        max-width: 60%;
    }

    #patient_id {
        width: 14%;
    }

    #patient_id, #patient_name {
        font-size: 12px;
    }

    .detail-info .info-status span {
        margin-left: 3px;
    }

    .record-tb1 a {
        width: 18%;
    }
}

.tab-content {
    padding: 8px 3px 8px 10px;
}

.home-staff-name {
    background-color: #fff;
}

.search-top-group input {
    width: 79.51803%;
}

.detail-list-form input {
    text-align: left;
    padding: 0 5px;
}

.medical-insurance {
    min-width: 30px;
}

.search-top-group a {
    text-align: center;
    height: 25px;
}

.detail-list-form button {
    text-align: center;
    height: 25px;
    padding: 0px 10px;
}

.btn-search {
    border: 1px solid #595959;
    background: white;
    min-height: 27px;
    padding: 0px 10px;
}

.btn-search-active {
    background: #595959;
    color: white;
}

@media only screen and (max-width: 480px) {

    .search-top-group input {
        width: 79.51803%;
    }

    .detail-info {
        word-spacing: 5px;
    }

    .search-label {
        margin-left: 5px;
    }

    .btn-to-search {
        padding: 6px 18px;
    }
    .detail-info .info-status span:first-child{
        font-size: 100%;
    }
}

@media only screen and (max-width: 430px) {
    .search-top-group input {
        width: 75.51803%;
    }
}

@media only screen and (max-width: 325px) {
    .detail-info {
        word-spacing: 1px;
    }

    .search-top-group input {
        width: 72.51803%;
    }
}

@media only screen and (max-width: 335px) {
    .visiting-list th, .visiting-list td {
        padding: 4px;
    }

    .medical-insurance {
        min-width: 20px;
    }
}

@media only screen and (max-width: 500px) {
    .content {
        margin: 0 4px;
    }
}

@media only screen and (min-width: 501px) {
    .content {
        margin: 0;
    }
}

@media only screen and (max-width: 370px) {
    .detail-list-btn1 {
        width: 84.22184%;
        margin-left: 12%;
    }

    .detail-list-btn1 li {
        width: 23.13725%;
    }

    .detail-list-form button {
        height: 21px;
    }
}

#tab2 .input-auto {
    border: 1px solid gray;
    border-radius: 4px;
    padding: 2px;
    background: white;
}

#tab2 .awesomplete {
    width: 205px;
    float: left;
}

.search-label {
    font-weight: 500;
    color: #090;
    display: block;
    margin-top: 10px;
}

.detail-list-form input {
    width: 120%;
}

#pickDay_btn {
    height: 33px;
}

.search-top-group label {
    min-width: 50px;
}

#tab2 .input-control {
    width: 60px;
}

#tab2 textarea {
    width: 84%;
    border: 1px solid gray;
    border-radius: 2px;
    float: left;
}

#tab2 .text-area {
    line-height: 10px;
    margin-top: 10px;
}

.p0 {
    padding: 0 !important;
}

.medical-supplies-1 input {
    max-width: 20%;
    min-height: 22px;
    padding: 1px;
}

.w-group1 {
    width: 50%;
}

.w-group2 {
    min-width: inherit;
    width: 35%;
}

.btn-today {
    padding: 0;
}

.blue-text {
    word-spacing: 0;
}

.font-group-1 {
    font-size: 18px;
}
.record-tb1 .input-common {
    line-height: 19px;
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.record-tb1 .text-share-message {
    border-color: #41719c;
    max-width: 360px;
}
table.record-tb1 .tr-share-message td, table.record-tb1 .tr-special-message td{
    border-bottom: 0;
}
table.record-tb1 .tr-special-message td {
    border-top: 2px solid #9cf;
}
table.record-tb1 .tr-special-message td span {
    display: block;
    font-size: 12px;
}
@media only screen and (max-width: 480px) {
    table.record-tb1 .tr-special-message td span {
        font-size: 10px;
    }
}
#patient_id {
    padding: 4px 4px;
}

#patient_name {
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    padding: 4px 4px;
}

.radio-form {
    width: 97% !important;
}

.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}
.text-justify {
    text-align: justify !important;
}

.btn-clear {
    padding: 0px 3px;
    height: 25px !important;
}

#patient_info {
    height: 25px;
}

.del-text-js {
    margin-right: 10px;
}

/*for mobile */
@media only screen and (max-width: 640px) {
    .medical-supplies-1 input {
        width: 15%;
    }

    .font-group-1 {
        font-size: 16px;
    }

    #tab2 .input-control {
        width: 44px;
    }
}

@media only screen and (max-width: 370px) {
    #tab2 .awesomplete {
        width: 190px;
    }
}

@media only screen and (max-width: 360px) {
    #tab2 .input-control {
        width: 34px;
    }
}
@media only screen and (max-width: 350px) {
    #tab2 .awesomplete {
        width: 180px;
    }
}
@media only screen and (max-width: 340px) {
    #tab2 .awesomplete {
        width: 170px;
    }
}

@media only screen and (max-width: 414px) {
    .font-group-1 {
        font-size: 13px;
    }
}

input.search-input {
    height: 25px;
}

#btn_back {
    min-width: 40px;
}

.btn-tran img {
    width: 35px;
}

@media only screen and (min-width: 321px) {
    span.timespace {
        margin: 5px;
    }
}

@media only screen and (min-width: 768px) {
    span.timespace {
        margin: 28px;
    }
}

@media only screen and (min-width: 1024px) {
    span.timespace {
        margin: 42px;
    }
}

/*Main Screen Regist*/

.flex-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: center;
}

#status_info_2 .status-left, #status_info_2 .status-right {
    width: 50%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#status_info_2 .status-left {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

#status_info_2 .status-left span {
    margin-right: 15px;
}

#status_info_2 .status-right {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

#status_info_2 .status-right span {
    margin-left: 15px;
    text-overflow: ellipsis;
}

.regis-date {
    color: red;
}

#status_info_1.info-status.text-only {
    letter-spacing: 10px;
}

#status_info_1.info-status.bg-yellow {
    background: yellow;
    border: 1px solid yellow;
}

@media only screen and (max-width: 480px) {
    #status_info_2 .status-left span {
        max-width: 89px;
    }

    #status_info_2 .status-left span {
        margin-right: 5px;
    }

    #status_info_2 .status-right span {
        margin-left: 5px;
    }
    .btn-search {
        border: 1px solid #595959;
        min-height: 27px;
        padding: 0px 7px;
    }
}

/*Tab 1*/

#tab1 .items-medical-supplies-left {
    width: 90%;
    overflow: hidden;
    line-height: 28px;
}

#tab1 .item-medical-supplies {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

#tab1 .items-medical-supplies-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    width: 10%;
}

#tab1 .number-medical-supplies {
    width: 33px;
    padding: 0;
    line-height: 28px;
    background-color: #ffc;
}

#tab1 .items-medical-supplies-right span {
    margin-left: 5px;
    line-height: 28px;
}

#tab1 .check-box.visit-status {
    margin-right: 5px;
}

#tab1 .form-check-label-wraper {
    font-size: 0;
}

#tab1 .form-check-label-wraper .arrow-back {
    font-size: small;
    margin-left: 5px;
    color: blue;
}

#tab1 .bound-picked-day {
    display: inline-block;
    font-size: 19px;
    padding: 3px 10px;
    height: 23px;
}

#tab1 .bound-picked-day #picked_day {
    background: transparent;
    margin: 0;
    min-width: 0;
    width: 106px;
}

#tab1 .form-check-label {
    display: inline-block;
    min-width: 202px;
    text-align: center;
    border: 1px solid #00b0f0;
    padding: 7px 5px;
    margin-left: 5px;
    font-size: small;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #000;
    background: #fff;
}

#tab1 .form-check-label.col-3 {
    min-width: 129px
}

#tab1 .select-style.select-medical {
    margin-left: 5px;
    font-size: medium;
    min-width: 212px;
    min-height: 30px;
}

#tab1 .form-check-label input {
    display: none;
}

#tab1 .form-check-label.active {
    background: #00b0f0;
}

#tab1 .text-near-x-js.staff-retired {
    background: darkgray;
}

#tab1 .visit_time {
    display: inline-block;
    font-size: 19px;
    font-weight: 400;
    width: 80px;
}

#tab1 .visit_time.passage-minute, #tab1 .visit_time.passage-minute-plan {
    width: 60px;
}

#tab1 .visit_time.label-minute {
    width: 50px;
}

#tab1 .visit_time.blue-text {
    font-size: small;
    padding: 1px;
}

#tab1 .radio-form-custom {
    display: flex;
    justify-content: flex-start;
}

#tab1 .awesomplete {
    display: block;
    width: 175px;
    font-size: 16px;
    margin-left: 1%;
}

#tab1 div.radio-form-label.not-visiting-nurse {
    width: 30%;
}

#tab1 div.check-box.not-insurance {
    width: 90%;
}

#tab1 .not-insurance-wrap {
    display: flex;
    justify-content: flex-end;
    width: 47%;
}

#tab1 .form-check-label.k-emergency {
    min-width: 183px;
}

.input-auto {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
}

.list-tab li {
    margin-left: 1px;
    margin-right: 1px;
}

.awesomplete > ul > li {
    min-height: 16px
}

@media only screen and (max-width: 480px) {
    .list-tab li {
        font-size: 92%;
    }

    #tab1 .form-check-label.k-emergency {
        min-width: 103px;
    }

    #tab1 .items-medical-supplies-left {
        width: 80%;
    }

    #tab1 .items-medical-supplies-right {
        width: 20%;
    }

    #tab1 .form-check-label {
        min-width: 145px;
    }

    #tab1 .form-check-label.col-3 {
        min-width: 91px;
    }

    #tab1 .select-style.select-medical {
        min-width: 156px;
        min-height: 30px;
    }

    #tab1 .visit_time {
        width: 60px;
        font-size: 19px;
    }

    #tab1 .visit_time.passage-minute, #tab1 .visit_time.passage-minute-plan {
        width: 35px;
    }

    #tab1 .visit_time.label-minute {
        width: 35px;
    }
}
@media only screen and (max-width: 400px) {
    #tab1 .visit_time {
        font-size: 16px;
        width: 50px;
    }
    #visitting_info .btn-tran img {
        width: 25px!important;
    }
}
@media only screen and (max-width: 380px) {
    #tab1 .visit_time {
        width: 50px;
        font-size: 18px;
    }
}

/* Fix table */

table.record-tb1 td.border-top {
    border-top: 2px solid #9cf !important;
}

table.record-tb1 td.border-bottom {
    border-bottom: 2px solid #9cf !important;
}

table.record-tb1 td.border-right {
    border-right: 2px solid #9cf !important;
}

table.record-tb1 td.border-left {
    border-left: 2px solid #9cf !important;
}

table.record-tb1 td.remove-border {
    border: none !important;
}

table.record-tb1 td.td-empty {
    border-right: none !important;
    border-left: none !important;
}

table.record-tb1 td.remove-border-bottom {
    border-bottom: none !important;
}

table.record-tb1 td.remove-border-top {
    border-top: none !important;
}

/* Custom Table */

table.record-tb1 td.medical-supplies {
    border-top: none;
    border-right: 2px solid #9cf;
    padding-left: 15px;
}

@media only screen and (max-width: 480px) {
    table.record-tb1 td.medical-supplies {
        padding-left: 10px;
    }
}

/*Table Tab 2*/

table.custom-table {
    border-collapse: collapse;
    border: 2px solid #d9ecff;
    width: 100%;
    margin-top: 10px;
}

table.custom-table td {
    border: 2px solid #d9ecff;
    padding: 5px;
}

table.custom-table td.tb-header {
    background-color: #cff;
    color: #000;
    font-weight: 700;
    text-align: center;
}

table.custom-table td.tb-header.blue-label {
    color: #03c;
    font-weight: normal;
}

table.custom-table .col-md-2 {
    width: 20%;
}

table.custom-table .col-md-6 {
    width: 60%;
}

table.custom-table .col-md-5 {
    width: 50%;
}

table.custom-table .col-md-3 {
    width: 30%;
}

@media only screen and (max-width: 480px) {
    table.custom-table .col-1 {
        width: 10%;
    }

    table.custom-table .col-2 {
        width: 20%;
    }

    table.custom-table .col-3 {
        width: 30%;
    }

    table.custom-table .col-4 {
        width: 40%;
    }

    table.custom-table .col-5 {
        width: 50%;
    }

    table.custom-table .col-6 {
        width: 60%;
    }

    table.custom-table .col-7 {
        width: 70%;
    }

    table.custom-table .col-8 {
        width: 80%;
    }

    table.custom-table .col-9 {
        width: 90%;
    }

    table.custom-table .col-10 {
        width: 100%;
    }
}

table.custom-table .btn-clear {
    float: right;
    margin-right: 2px;
    border: 1px solid gray;
    color: #fff;
    border-radius: 4px;
    padding: 2px 6px;
    background: gray;
    text-align: center;
    height: auto !important;
}

table.custom-table .awesomplete input {
    border: 1px solid gray;
    border-radius: 4px;
    padding: 2px;
    background: white;
}

.input-control {
    border: 1px solid gray;
    border-radius: 5px;
    padding: 5px;
    background: white;
}

/*Tab 1*/
#tab1 .record-tb1 .active.act-blue {
    background: #06f !important;;
    border: 1px solid #06f !important;;
}

#tab1 .record-tb1 .active.act-red {
    background: red !important;
    border: 1px solid red !important;;

}

/*Tab 3*/
#tab3 .detail-group-item .group-item {
    border: 1px solid #66b3ff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    width: 100%;
    overflow: hidden;
}

#tab3 span {
    max-height: 18px;
    line-height: 18px;
}

#tab3 .detail-group-item .group-item.blue {
    background: #203864;
    color: #fff
}

#tab3 .detail-group-item .flex-group {
    margin-bottom: 5px;
}

#tab3 .detail-group-item.s-60 > li {
    margin-right: 0;
    width: 100%;
}

#tab3 .detail-group-item > li {
    margin-bottom: 10px;
}

#tab3 .detail-group-item .memo {
    display: none;
}

/* With 60 items */

#tab3 .detail-group-item.s-60 .flex-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

#tab3 .detail-group-item.s-60 .flex-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

#tab3 .detail-group-item.s-60 .title-green {
    text-align: center;
    width: 40%;
    float: left;
}

#tab3 .detail-group-item.s-60 .title-info {
    float: left;
    width: 190px;
    margin-left: 5px;
    margin-bottom: 5px;
    display: inline-block;
    letter-spacing: -1px;
    color: #0041c6;
    text-align: center;
}

#tab3 .detail-group-item.s-60 .flex-group .group-input {
    width: 190px;
    display: inline-block;
    margin-left: 5px;
}

#tab3 .detail-group-item.s-60 ul {
    clear: both;
}

#tab3 .detail-group-item.s-60 .flex-group .group-item {
    width: 40%;
    display: inline-block;
}

#tab3 .detail-group-item.s-60 .flex-group .group-input .memo {
    display: block;
    width: 83%;
    margin: 0 auto;
}

@media only screen and (max-width: 480px) {
    #tab3 .detail-group-item.s-60 .title-green, #tab3 .detail-group-item.s-60 .flex-group .group-item {
        width: 50%;
    }

    #tab3 .detail-group-item.s-60 .title-info, #tab3 .detail-group-item.s-60 .flex-group .group-input {
        width: 160px;
    }
}

.login-message {
    text-align: center;
    color: red;
    padding: 5px;
}

.staff-retired {
    background: darkgray;
}

.name-group {
    float: left;
    width: 55%;
}

.tel-group {
    float: right;
    width: 45%;
}

.doctor-tel-2 {
    color: blue;
}

.doctor-tel-2 a {
    color: blue !important;
    text-decoration: underline;
}

.clear {
    clear: both;
}

/* Table mobile first */
table.table-hoz {
    width: 100%;
    height: auto;
    color: #000;
}

table.table-hoz tr td {
    border: 2px solid #9cf;
}

table.table-hoz tr td:nth-child(odd) {
    border-bottom: 0 solid #9cf;
}

table.table-hoz tr td:nth-child(even) {
    border-bottom: 0 solid #9cf;
    border-left: 0 solid #9cf;
}

table.table-hoz tr:last-child td {
    border-bottom: 2px solid #9cf;
    box-sizing: border-box;
}

table.table-hoz .table-hoz-col {
    padding: 5px 5px 5px 10px;
    text-align: left;
    height: 20px;
}

table.table-hoz .table-hoz-col .table-hoz-row-items {
    margin-top: 4px;
    padding-left: 4px;
    position: relative;
}

table.table-hoz .table-hoz-col .table-hoz-row-items .read-only-input {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: block;
}

table.table-hoz .table-hoz-col .table-hoz-row-items:last-child {
    margin-bottom: 4px;
}

table.table-hoz .table-hoz-col.title {
    width: 25%;
    background-color: #cff;
    text-align: center;
    font-weight: 700;
}

table.table-hoz .table-hoz-col.empty-top {
    border-top: 0 solid #9cf !important;
}

table.table-hoz .table-hoz-col.empty-right {
    border-right: 0 solid #9cf !important;
}

table.table-hoz .table-hoz-col.empty-bottom {
    border-bottom: 0 solid #9cf !important;
}

table.table-hoz .table-hoz-col.empty-left {
    border-left: 0 solid #9cf !important;
}

table.table-hoz .table-hoz-col.fill-top {
    border-top: 2px solid #9cf !important;
}

table.table-hoz .table-hoz-col.fill-right {
    border-right: 2px solid #9cf !important;
}

table.table-hoz .table-hoz-col.fill-bottom {
    border-bottom: 2px solid #9cf !important;
}

table.table-hoz .table-hoz-col.fill-left {
    border-left: 2px solid #9cf !important;
}

table.table-hoz .table-hoz-col.fill-top-blue {
    border-top: 2px solid #4284d1 !important;
}

table.table-hoz .table-hoz-col .virtual-title {
    margin-left: 25%;
}

/*Custom Css Tab 6*/
#tab6 .input-control {
    width: 62px;
    min-height: 18px;
}

#tab6 .input-control.date {
    text-align: center;
}

#tab6 span.unit {
    color: blue;
    font-size: xx-small;
    font-family: monospace;
}

#tab6 label {
    color: blue;
    font-size: 85%;
}

#tab6 label input.input-control {
    font-size: 120%;
}

#tab6 label span {
    display: inline-block;
    min-width: 73px;
}

#tab6 label span.small {
    min-width: 55px;
}

#tab6 canvas.red {
    width: 10px;
    height: 10px;
    background: red;
}

#tab6 canvas.blue {
    width: 10px;
    height: 10px;
    background: blue;
}

#tab6 canvas.invisible {
    visibility: hidden;
}

#tab6 label.label-border {
    color: inherit;
    padding: 5px 7px;
    border: 2px solid #9cf;
    border-radius: 5px;
    display: inline-block;
    min-width: 128px;
    text-align: center;
    font-size: 100%;
}

label.form-check-label.disable {
    background: lightgray !important;
    border-color: darkgray !important;
}

#tab6 label.label-border.active {
    color: white;
    background: #203864;
    border-color: #203864;
}

#tab6 label.label-border input {
    display: none;
}

#tab6 label.label-border.label-parentsmall {
    min-width: 50px;
}

.input-inline {
    display: inline;
}

#tab6 .input-inline .input-control {
    min-width: 80px;
}

#tab6 .select-style {
    width: 40px;
    min-height: 30px;
}

#tab6 .select-style.auto-width {
    width: calc(100% - 92px);
}

#tab1 .input-control {
    width: 42%;
    font-size: initial;
}
@media (min-width: 485px) {
    #tab1 .input-control {
        width: 243px;
    }
}
#tab1 .input-control-1 {
    width: 185px;
    font-size: initial;
}
#tab1 .input-control.small {
    width: 44px;
}

#tab1 label.blue {
    color: blue;
    font-size: 80%;
    min-width: 51px;
    display: inline-block;
}

#tab1 .input-inline .btn-tran {
    min-width: 24px;
    width: auto;
}

.select-style.disable, .input-control.disable {
    background: lightgray;
}

#tab1 .visit-statu-end-block .select-style {
    width: 95px;
}
#tab1 .visit-statu-end-block .wrap-end-block {
    display: flex;
    align-items: center;
}
#tab1 .visit-statu-end-block .wrap-end-block label.blue {
    width: 55px;
}
#tab1 .visit-statu-end-block .visit-end-status-other {
    display: flex;
    align-items: center;
    width: calc(100% - 150px);
    min-width: auto;
}
#tab1 .visit-statu-end-block .visit-end-status-other span {
    padding: 0 3px;
}
#tab1 .visit-statu-end-block .visit-end-status-other input {
    width: calc(100% - 36px);
    max-width: 240px;
}

@media only screen and (max-width: 480px) {
    #tab1 .visit-statu-end-block .wrap-end-block label.blue {
        width: 51px;
    }
    #tab1 .visit-statu-end-block .visit-end-status-other {
        width: calc(100% - 146px);
    }
}

#tab1 #week_day_from_date {
    font-size: inherit;
    line-height: 23px;
    vertical-align: middle;
}

@media only screen and (max-width: 360px) {
    #tab6 .input-inline .input-control {
        min-width: 72px;
    }

    #tab1 .input-control {
        width: 33%;
    }
}

/* For Mobile L */
@media only screen and (min-width: 376px) {
    #tab6 label {
        font-size: 100%;
    }

    #tab6 label span {
        min-width: 85px;
    }

    #tab6 .select-style.auto-width {
        width: calc(100% - 106px);
    }

    #tab6 label input.input-control {
        font-size: 100%;
    }

    #tab6 .input-control.small {
        font-size: 100%;
    }
}

/* For Desktop */
@media only screen and (min-width: 480px) {
    #tab1 #patient_name {
        width: 59.69604%;
    }

    #tab6 .select-style.auto-width {
        width: calc(100% - 123px);
    }

    #tab6 .input-inline .input-control {
        min-width: 90px;
    }

    #tab6 .input-control {
        width: 71px;
    }

    #tab6 label.label-border {
        min-width: 150px;
    }

    #tab6 label span {
        display: inline-block;
        min-width: 100px;
    }
}
#tab1 [class^="visit-end-input-"].hidden {
    display: none;
}
#to_picked_day {
    background: #ffc;
    padding: 1px 0 0 0;
    font-size: 14px;
    font-weight: 400;
    border: none;
    margin: 0;
    min-width: 80px;
}

.bound-picked-day {
    background: #ffc;
    padding: 5px 1px;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    border: 1.4px solid #7e7e7e;
    text-align: center;
    border-radius: 4px;
    margin-right: 5px;
}
#visiting_list .bound-date-display {
    font-size: 14px;
    font-weight: 400;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    background: none;
    border: 0;
    border-radius: 0;
}
.bound-1 {
    padding: 3px 1px;
}

.bound-2 {
    padding: 4px 1px;
}

#week_day_from_date {
    font-size: 13px;
    color:#ff0000;
}

#week_day_to_date {
    font-size: 13px;
}

.report-doctor-box tr td:first-child {
    width: 125px;
}

.tbl-break-all-td td {
    word-break: break-all;
}
@media only screen and (max-device-width : 768px) {
    .report-doctor-box tr td:first-child {
        width: 113px;
    }
}
@media only screen and (max-device-width : 420px) {
    .report-doctor-box tr td:first-child {
        width: 102px;
    }
}
@supports (-webkit-overflow-scrolling: touch) {
    @media only screen and (max-device-width : 768px) {
        .report-doctor-box tr td:first-child {
            width: 120px;
        }
    }
    @media only screen and (max-device-width : 420px) {
        .report-doctor-box tr td:first-child {
            width: 102px;
        }
    }
}
@media only screen and (min-device-width: 769px){
    .zoom-by-height {
        zoom: 0.6;
    }
}
@media (max-device-width: 768px) and (min-device-height: 561px) {
    .zoom-by-height {
        zoom: 0.7;
    }
}
@media (max-device-width: 480px) and (min-device-height: 512px) {
    .zoom-by-height {
        zoom: 0.7;
    }
}
@media (max-device-width: 768px) and (max-device-height: 560px) and (min-device-width: 600px) {
    .zoom-by-height {
        zoom: 0.7;
    }
    .zoom-index .form-group .menu-input {
        font-size: 30px;
    }
    .img-flower {
        width: 18%;
    }
    .zoom-index .form-group-imlog {
        width: 40%;
        max-width: 40%;
        margin: 2% auto 2%;
    }
    .zoom-index .menu-group-btn {
        width: 40%;
        max-width: 100%;
    }
}
@media (max-device-width: 768px) and (min-device-height:561px) and (min-device-width:601px) {
    .zoom-by-height {
        zoom: 0.7;
    }
    .zoom-index .form-group .menu-input {
        font-size: 40px;
    }
    .img-flower {
        width: 18%;
    }
    .zoom-index .form-group-imlog {
        width: 40%;
        max-width: 40%;
        margin: 2% auto 2%;
    }
    .zoom-index .menu-group-btn {
        width: 40%;
        max-width: 100%;
    }
}
@media only screen and (max-device-width: 768px) {
    .zoom-by-height {
        max-width: unset;
    }
}

@media screen and (max-device-width: 768px) and (orientation: landscape) {
    .zoom-index .form-group .menu-input {
        font-size: 25px;
    }
}

input[name=visit_status_end_item_Other] {
    font-size: 16px !important;
}
input[name=Death_place_Other] {
    font-size: 15px !important;
    width: 168px !important;
}
input[name=Death_Date] {
    width: 82px !important;
}
input[name=Death_time] {
    width: 40px !important;
    font-size: 15px !important;
}
select[name=Death_place] {
    width: 76px !important;
    font-size: 14px !important;
}

.areaFzIOS {
    font-size: 28.5px !important;
    min-width: 675px !important;
    min-height: 810px !important;
}
.hostFzIOS {
    height: 811px !important;
}

.areaFzAndroid {
    font-size: 29px !important;
    min-width: 675px !important;
    min-height: 805px !important;
}
.hostFzAndroid {
    height: 806px !important;
}

.areaFz {
    font-size: 29px !important;
    min-width: 675px !important;
    min-height: 815px !important;
}
.hostFz {
    height: 816px !important;
}
.bound-date-display {
    height: 20px;
}
.bound-date-display .input-date-display {
    font-size: 18px !important;
    width: 120px!important;
    background: #ffc !important;
    border: 1px solid #7e7e7e !important;
    border-radius: 4px !important;
    padding: 0!important;
    margin-top: 0 !important;
    margin-right: 4px !important;
    text-align: center!important;
    height: 24px;
    min-height: auto!important;
    line-height: 20px;
}

.bound-date-display #week_day_from_date {
    width: 20px;
    background: #ffc;
    font-size: 16px;
    border: 1px solid #7e7e7e;
    height: 24px;
    padding: 0 2px;
    line-height: 24px;
    border-radius: 4px;
    margin-right: 0;
}
@media (max-width: 480px) {
    .access-list-btn li .access-btn {
        width: 30px;
    }
    .access-list-btn li .access-btn:nth-child(2) {
        width: 45px;
    }
    .bound-date-display .input-date-display {
        width: 107px!important;
    }
}
@media only screen and (max-width: 420px) {
    #tab6 label input.input-control {
        width: 54px;
        font-size: 88%;
    }
    #tab6 label span {
        font-size: 85%;
        min-width: 75px;
    }
}
@media only screen and (max-width: 375px) {
    #tab6 label input.input-control {
        width: 57px;
        font-size: 108%;
    }
    #tab6 label span {
        min-width: 68px;
    }
}

.p-info-tab-header {
    margin-bottom: 8px;
    border-bottom: 2px solid #03c;
    display: inline-block;
    width: 100%;
}
.p-info-tab-header a {
    display: inline-block;
    width: 15%;
    background: #d9ecff;
    text-align: center;
    height: 32px;
    line-height: 32px;
    border-radius: 7px 7px 0 0;
    border: 1px solid #03c;
    border-bottom: 0;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
}
.p-info-tab-header a.active {
    background: blue;
    color: #fff;
}
.p-info-tab-content .p-info-image {
    border: 2px solid #a6d2ff;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-info-tab-content .p-info-image img {
    max-width: 100%;
}
.p-info-btn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.p-info-btn span {
    width: 16%;
    display: inline-block;
    cursor: pointer;
    height: 35px;
    line-height: 35px;
    text-align: center;
    color: #fff;
}
.p-info-btn .input-file {
    background: #203864;
}
.p-info-btn .input-file input {
    display: none;
}
.p-info-btn .input-file label {
    cursor: pointer;
    text-align: center;
    line-height: 35px;
    color: #fff;
    display: block;
    width: 100%;
}
.p-info-btn .btn-del-image {
    background: red;
}
.patient-view #modal_copy .modal-content {
    margin-top: -12%;
}
.p-box-record1 .box-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.p-box-record1 .box-button span {
    margin-right: 5px;
}
.text-red {
    color: #C00000;
}
.button-default {
    display: inline-block;
    padding: 6px 10px;
    background: #2F5597;
    color: #fff;
}
@media only screen and (max-width: 480px) {
    .p-info-tab-header a {
        height: 28px;
        line-height: 28px;
        font-size: 92%;
        width: 14%;
    }
    .p-info-tab-header a[href="#pressure_uicer_plan"] {
        width: 19%;
    }
    #open-map {
        height: auto;
    }
    .p-info-btn span {
        height: 30px;
        line-height: 30px;
    }
    .p-info-btn .input-file label {
        line-height: 30px;
    }
}
@media only screen and (max-width: 420px) {
    .p-box-record1 .box-button span {
        font-size: 3vw;
    }
}
@media only screen and (max-width: 360px) {
    .p-info-tab-header a{
        float: left;
        margin-right: 2px;
    }
    .p-info-tab-header a:last-child {
        margin-right: 0;
    }
}
/* box search doctor info */
.box-search {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: -8px;
}
.box-search .detail-list-form {
    max-width: 220px;
}
.box-search label {
    width: 35px;
    min-width: 35px;
    margin-right: 10px;
}
.box-search input{
    width: calc(100% - 65px);
}
.box-search .detail-list-btn1 {
    justify-content: flex-start;
    margin: 0;
}
.box-search .detail-list-btn1 li {
    height: auto;
    width: auto;
    min-height: auto;
    max-height: none;
}
.box-search .btn-grey1 {
    margin-left: 10px;
    padding: 0 10px;
    padding: 5px 10px;
}
@media only screen and (max-width: 480px) {
    .box-search label {
        width: 28px;
        min-width: 28px;
        margin-right: 5px;
    }
    .box-search .btn-grey1 {
        padding: 5px;
        margin-left: 5px;
    }
}
#tab1 tr.row-addition td {
    padding:0 10px!important;
}
#tab1 .table-hoz-row-items {
    margin-bottom: 4px;
    margin-top: 4px;
}
#tab1 .row-addition .form-check-label {
    min-width: 150px;
    margin-left: 0;
}
#tab1 .row-addition .input-inline .input-control {
    width: 85px;
    min-width: auto;
}
#tab1 .row-addition .select-style.auto-width {
    width: calc(100% - 123px);
}
#tab1 .row-addition .label-sm {
    width: 100px;
    min-width: auto!important;
}
#tab1 .row-addition label.second-time {
    min-width: 125px;
}
#tab1 tr.row-addition label.blue {
    width: auto;
    min-width: auto;
}
@media only screen and (max-width: 400px) {
    #tab1 .row-addition .form-check-label {
        min-width: 130px;
    }
    #tab1 .row-addition label.second-time {
        min-width: 105px;
    }
}
@media only screen and (min-width: 379px) and (max-width: 480px) {
    .btn-mental-covid-sp {
        min-width: 115px !important;
    }
}
@media only screen and (min-width: 481px) and (max-width: 549px) {
    .btn-mental-covid-sp {
        min-width: 169px !important;
    }
}
@media only screen and (max-width: 378px) {
    .btn-mental-covid-sp {
        min-width: 100px !important;
    }
}
