@charset "UTF-8";

html {
    font-size: 13px;
}

input[type="date"].alert-limit,
input[type="datetime-local"].alert-limit {
    border: none;
    color: #007bff;
    background: transparent;
    padding: 0;
    width: auto;
    margin-left: 4px;
}
input[type="date"].alert-limit::-webkit-inner-spin-button,
input[type="date"].alert-limit::-webkit-calendar-picker-indicator,
input[type="datetime-local"].alert-limit::-webkit-inner-spin-button,
input[type="datetime-local"].alert-limit::-webkit-calendar-picker-indicator {
    filter: invert(0.5);
    margin: 0;
    padding: 0;
}

.w-36px {
    width: 36px;
}
.w-100px {
    width: 100px;
}
.w-150px {
    width: 150px;
}
.w-165px {
    width: 165px;
}
.w-200px {
    width: 200px;
}
.w-250px {
    width: 250px;
}
.w-300px {
    width: 300px;
}
.w-435px {
    width: 435px;
}

.w-3em {
    width: 3em;
}

.w-6em {
    width: 6em;
}

.w-12em {
    width: 12em;
}

.w-24em {
    width: 24em;
}

.h-100px {
    height: 100px;
}

.h-150px {
    height: 150px;
}

.mh-3_5rem {
    min-height: 3.5rem;
}

.align-items-right {
    text-align: right;
}

.cursor-pointer {
    cursor: pointer;
}

.duplicate-doctor-entry:hover {
    opacity: 0.7;
}

.schedules-entry.schedules-entry-delete,
.sales-representative-entry .sales-representative-entry-delete,
.other-seminar-entry .other-seminar-entry-delete,
.doctor-entry .doctor-entry-delete,
.duplicate-cosponsor-name-entry .duplicate-cosponsor-name-entry-delete{
    margin-top: 25px;
}

.alerts .alert-input:first-child .alert-delete,
.cosponsor-name-entry:first-child .cosponsor-name-entry-delete,
.schedules-entry:first-child .schedules-entry-delete,
.member-entry:first-child .member-entry-delete,
.other-stage-person-entry:first-child .other-stage-person-entry-delete,
.sales-representative-entry:first-child .sales-representative-entry-delete,
.equipment-order-entry:first-child .equipment-order-entry-delete,
.other-seminar-entry:first-child .other-seminar-entry-delete,
.doctor-entry:first-child .doctor-entry-delete,
.cosponsor-name-entry:first-child .cosponsor-name-entry-delete{
    display: none;
    padding-top: 0;
    margin-top: 0;
}
.cosponsor-name-entry,
.schedules-entry,
.member-entry,
.other-stage-person-entry,
.sales-representative-entry,
.equipment-order-entry,
.other-seminar-entry,
.doctor-entry,
.cosponsor-name-entry{
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #dcdcdc;
}
.member-entry,
.other-stage-person-entry,
.member-entry{
    padding-top: 0;
}
.cosponsor-name-entry:first-child,
.schedules-entry:first-child,
.member-entry:first-child,
.other-stage-person-entry:first-child,
.sales-representative-entry:first-child,
.equipment-order-entry:first-child,
.other-seminar-entry:first-child,
.doctor-entry:first-child,
.cosponsor-name-entry:first-child{
    border-top: none;
}

.cosponsor-name-entry {
    padding-top: 20px;
    margin-bottom: 0;
    margin-top: 0;
}
.notification {
    cursor: pointer;
    position: relative;
    display: none;
}

.notification >.badge-notify{
    background:red;
    position:absolute;
    top: -3px;
    right: -7px;
    font-size: small;
    font-weight: bold;
    color: #FFF;
    border-radius: 0.7em;
    display: none;
}

.left-0 {
    left: 0;
}

#userMenuButton:after { display: none; }
#dropdownMenuButton:after { display: none; }
.nav__search-btn {
    border-radius: 0;
}

.container-login {
    margin: 100px auto 0;
    max-width: 600px;
}

.container-login .btn-login {
    margin: 0 auto;
    max-width: 300px;
}

.form-register {
    max-width: 600px;
}
.col_institute_name_en,
.col_institute_hp,
.col_institute_size,
.col_secretariat_name,
.col_secretariat_tel,
.col_secretariat_fax,
.col_secretariat_mail,
.col_secretariat_staff_name,
.col_secretariat_staff_tel,
.col_secretariat_staff_address,
.col_start_date,
.col_end_date,
.col_address,
.col_seminar_date,
.col_start_time,
.col_end_time,
.col_seminar_name,
.col_theme,
.col_place,
.col_place_tel,
.col_place_address,
.col_seats_number,
.col_product_name,
.col_requester,
.col_mp,
.col_mps,
.col_letter,
.col_bm_number,
.col_bm_name,
.col_bm_title,
.col_bm_division,
.col_bm_tel,
.col_cosponsor_name,
.col_cosponsor_staff_name,
.col_interpretation,
.col_numbered_ticket,
.col_questionnaire {
    display: none;
}

.col_required {
    color: red;
}

.link_in_page {
    color: black;
    padding: 20px;
}

.link_in_page::before {
    content: "";
    position: absolute;
    margin-left: -20px;
    margin-top: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #000000 transparent transparent transparent;

}

.modal-padding-bottom {
    padding-bottom: 15px;
}

.modal-padding-top {
    padding-top: 15px;
}

.checkbox-hide {
    display: none;
}
.checkbox-hide~input[type=url] {
    display: none;
}
.checkbox-hide~label, .checkbox-hide~a{
    display: inline-block;
}

.checkbox-hide:checked~label, .checkbox-hide:checked~a{
    display: none;
}
.checkbox-hide:checked~input[type=url] {
    display: block;
}

.col-sm-6-half {
    flex: 0 0 25%;
}

.alert-flex {
    flex: 0 0 20%;
}

.col-sm-9 {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}

.memo-padding-top {
    padding-top: 15px;
}

.alert-margin {
    margin: 0;
}

.column-width-max-container {
    flex: 0 0 100%;
    max-width: 100%;
}

.doctor-width-max-label {
    flex: 0 0 12%;
    max-width: 12%;
}

.delivery_hall-width-max-label {
    flex: 0 0 6%;
    max-width: 6%;
}

.doctor-width-max-input {
    flex: 0 0 86%;
    max-width: 86%;
}

.delivery_hall-width-max-input {
    flex: 0 0 93%;
    max-width: 93%;
}

.ml-7 {
    margin-left: 7rem;
}
/* remove top and bottom padding */
.note-color .dropdown-menu {
    min-width: 168px !important;
    padding: 0;
}

/* hide background color picker */
.note-color .note-palette:first-child {
    display: none !important;
}

/* hide background color */
.note-color .note-recent-color {
    background-color: inherit !important;
}

.note-editable p {
    margin-bottom: 0 !important;
}

/* hide forecolor 選択 picker */
.note-color .note-palette:last-child div:nth-child(4), 
.note-color .note-palette:last-child #foreColorPalette {
    display: none !important;
}

#container-fluid.opacity-low{
    position: relative;
    z-index: -1;
    opacity: 0.8;
}

.loader-container {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    z-index: 99;

}
.loader-container .loader-inner {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: #000000;
    border-radius: 7%;
    z-index: 99;
    opacity: 0.6;
}

.loader-container .loader-inner .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 5px solid #000000;
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Input Max-counter and Max input dispaly */
.input-counter {
    display: flex;
    font-size: 9px;
    opacity: 0.7;
    margin-bottom: -43px;
    margin-left: -37px;
    text-align: left;
}
.input-counter .current-input-count {
    display: inline-block;
    width: 3ch;
    text-align: right; /* Align numbers to the right */
}

/* doctor and user counter */
.input-register-counter .input-counter {
    font-size: 9px;
    opacity: 0.7;
    text-align: right;
}

.max-length-reached .current-input-count,
.max-length-reached .max-input-count {
    color: red;
}

/* Targeting input[type="number"] with sending-request-shipping-input */
input.sending-request-shipping-input[type="number"] {
    -moz-appearance: textfield;  /* Firefox */
    appearance: none;            /* Standard syntax for all browsers */
}

/* WebKit-based browsers (Chrome, Safari, Edge, Opera) */
input.sending-request-shipping-input[type="number"]::-webkit-outer-spin-button,
input.sending-request-shipping-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* project index memo  */
.project-memo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.project-memo-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 5px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.memo-save {
    padding: 5px;
    margin-top: 5px;
    text-align: center;
}

.ui-sortable-placeholder {
    visibility: visible !important;
    width: 0px !important;
    display: block;
}
/* Resizable table columns */
table#project_lists_head {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}
table#project_lists_head th{
    white-space: nowrap;
    position: relative;
    max-width: 100%;
    text-align: left;
    border: 2px solid #ccc;
    padding: 8px;
}
.editor-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#remarks {
  width: 100%;
  height: 150px;
  border: 1px solid #c7c7c7;;
  padding: 10px;
  resize: none;
  outline: none;
}

#dragBar {
  height: 10px;
  background-color: #f0f0f0;
  border: 1px solid #c7c7c7;
  border-radius: 0 0 3px 3px;
  cursor: ns-resize;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.handle-icon {
  width: 20px;
  height: 1px;
  background-color: #999;
}
                
.select2-container--default .select2-results__option[aria-selected="true"] {
    opacity: 1;
}

.select2-container--default .select2-selection--multiple {
    padding: 0px 15px !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.select2-selection--multiple .select2-selection__rendered {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.select2-selection--multiple .select2-search__field {
    flex: 0 0 auto;
    min-width: 50px;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    vertical-align: baseline !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    vertical-align: baseline !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear {
    left: 5px !important;
    right: auto !important;
}