* {
    font-family: 'Noto Sans KR', sans-serif;
}
input, textarea {
    font-family: 'Malgun-gothic';
}
body {
    margin:0px;
    padding:0px;
    width:100%;
    height:100%;
}
.btn_style1, .btn_style2, .btn_style_gray {
    margin:8px 2px;
    padding:8px 18px;
    font-size: 14pt;
    box-shadow:0px 10px 15px rgb(220, 220, 220);
    border-radius: 8px;
    border:none;
    background:rgb(87, 180, 230);
    color:rgb(250, 250, 250);
    cursor:pointer;
}
.btn_style2 {
    background:rgb(5, 80, 125);
}
.btn_style_gray {
    background:rgb(134, 134, 134);
}
@media (max-width: 400px) {
    .btn_style1, .btn_style2 {
        font-size:12pt;
    }
}
.btn_small {
    padding:4px 9px;
    font-size:12pt;
    box-shadow: none;
}
.btn_mini {
    margin:0px 2px;
    padding:2px 8px;
    font-size:11pt;
    box-shadow: none;
    border-radius: 4px;
}
.alertSoftWrap { 
    position:absolute;
    padding:15px;
    font-weight:bold;
    font-size:12pt;
    background:rgb(128, 128, 128);
    color:rgb(255, 255, 255);
    border:1px solid rgb(128, 128, 128);
    box-shadow:0px 0px 10px rgb(128, 128, 128);
    border-radius:10px;
    text-align:center;
    line-height:180%;
}
#popup_back, #popup_back_secondary {
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    z-index:5000;
}
#popup_back_secondary {
    z-index:5002;
}
#popup_container, #popup_container_secondary {
    position:fixed;
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    top:200px;
    left:0px;
    width:100%;
    height:100%;
    z-index:5001;
    transition-duration: 0.5s;
}
#popup_container_secondary {
    z-index:5003;
}
#popup {
    width:calc(100% - 20px);
    height:calc(100% - 20px);
    background:rgb(5, 80, 125);
    text-align:center;
    box-shadow:0px 0px 20px rgb(62, 62, 62);
    border-radius: 4px;
}
#popup_title_wrap, #popup_title_wrap_secondary {
    display: flex;
    width:100%;
    height:40px;
    justify-content: space-evenly;
    align-items: center;
}
#popup_title, #popup_title_secondary {
    display:block;
    width:calc(100% - 80px);
    padding-left: 40px;
    text-align:center;
    font-size:12pt;
    font-weight:bold;
    text-shadow:1px 1px 2px rgb(0, 0, 0);
    color:rgb(255, 255, 255);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#popup_close_btn, #popup_close_btn_secondary {
    width:32px;
    height:32px;
    cursor:pointer;
}
#popup_close_btn img, #popup_close_btn_secondary img { 
    width:32px;
    height:32px;
}
#popup_content, #popup_content_secondary { 
    display:block;
    width:100%;
    height:calc(100% - 40px);
    overflow:auto;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;        
    background:rgb(255, 255, 255);
}
.balloon {
    display: none;
    position: absolute;
    width:100%;
    max-width: 240px;
    padding: 8px;
    left: 8%;
    border-radius: 8px;
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    font-size: 14px;
    text-align:left;
    z-index:4800;
}
.balloon:after {
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(51, 51, 51, 0);
    border-bottom-color: rgba(51, 51, 51, 0.9);
    border-width: 10px;
    pointer-events: none;
    content: ' ';
}
  
.balloon_title:hover + .balloon {
    display: block;
}
.loader, .loader:after {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}
.loader {
    /* position: absolute; */
    /* left:calc(50% - 30px); */
    /* top:calc(50% - 68px); */
    margin: 60px auto;
    font-size: 10px;
    text-indent: -9999em;
    border-top: 8px solid rgba(35, 62, 73, 0.3);
    border-right: 8px solid rgba(35, 62, 73, 0.3);
    border-bottom: 8px solid rgba(35, 62, 73, 0.3);
    border-left: 8px solid rgb(78, 137, 160);
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
.loader_small {
    /* left:calc(50% - 15px); */
    /* top:calc(50% - 30px); */
    width: 30px;
    height:30px;
    margin: 30px auto;
    border-top: 4px solid rgba(35, 62, 73, 0.3);
    border-right: 4px solid rgba(35, 62, 73, 0.3);
    border-bottom: 4px solid rgba(35, 62, 73, 0.3);
    border-left: 4px solid rgb(78, 137, 160);
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/* 토글 스위치 스타일 정의 */
.toggle_btn_wrap {
    padding:4px 0px 0px 0px;
    display: inline-block;
    text-align: left;
}
.toggle {
    background-color: rgb(220, 220, 220);
    width: 40px;
    height: 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.toggle-active {
    background-color: blue;
    width: 40px;
    height: 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.slider {
    height: 18px;
    width: 18px;
    background-color: white;
    border-radius: 16px;
    margin: 2px;
}
input:checked + .toggle {
    background-color: rgb(87, 180, 230);
}
input:checked + .toggle > .slider {
    align-self: flex-end;
}

/* 화면 전체를 덮는 상태 메시지창 스타일 정의 */
#status_box {
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    z-index: 5000;
    display:flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index:6000;
}
#status_box_msg {
    display:flex;
    justify-content: center;
    align-items: center;
    width:100%;
    height:100%;
    font-size: 14pt;
    color:rgb(255, 255, 255);
    text-align:center;
    text-shadow:1px 1px 2px rgb(0, 0, 0);
    z-index:6001;
}

/* LMS 폼 스타일 */
#lms_form_container {
    width:calc(100% - 20px);
    height:calc(100% - 20px);
    margin: 10px;
}
#lms_form_container input, #lms_form_container textarea {
    width:calc(100% - 30px);
    margin:5px 5px 5px 5px;
    padding:8px 8px;
    border:1px solid rgb(220, 220, 220);
    border-radius:5px;
    background:rgb(255, 255, 255);
    font-size:12pt;
    resize: none;
}
#lms_form_container textarea {
    height:160px;
}
#lms_form_container .lms_receiver_name {
    width:115px;
}
#lms_form_container .lms_receiver_number {
    width:233px;
}
#lms_form_container #lms_sender_number {
    width:195px;
}