/* 부트스트랩 모달(modal) padding 문제*/
body { padding-right: 0 !important; }
.modal-open { padding-right: 0px !important; }
.modal { padding-right: 0px !important; }

/* 관리자 로그인 */
.code {
    display: none;
}

.modal-content{
    overflow-y: initial !important
}
.modal-body {
    height: auto;
    overflow-y: auto;
}

.row {
    padding: 10px 0px;
}

.form-control {
    font-size: 1em!important;
}

/* 테이블 가운데 정렬 */
.table_list th {
    background-color: #e2e2e2;
}
.table_list th, td {
    text-align: center;
    vertical-align: middle!important;
}

input {
    font-size: 1.2em;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nanum Gothic', sans-serif!important;
}

img {
    border: 0;
    width: 100%;
}

.title_btn {
    border: 1px solid white;
    background-color: #0d9ef5;
    width: 80%;
    margin-bottom: 10px;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0px 6px 7px rgba(0,0,0,0.2)!important;
}

.h2 {
    margin: 0;
    padding: 0;
    font-size: 5rem;
    font-weight: bold;
    font-weight: normal;
    text-align: center;
    color: white;
}

.h3 {
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
    font-weight: bold;
    font-weight: normal;
    text-align: center;
    color: white;
}

.h4 {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    color: white;
    line-height: 1.5;
}

.button {
    border: 1px solid white;
    border-radius: 15px;
    background-color: #0d9ef5;
    color: white;
    font-size: 1.6rem;
    padding: 5px;
    text-align: center;
    width: 90%;
}

footer {
    color: #98d9f9;
    text-align: center;
    margin-top: 30px;
    /*  position: fixed;
      text-align: center;
      color: #98d9f9;
      width: 100%;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);*/
}

.custom_modal {
    position: fixed;
    z-index: 1;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.custom_modal_1 {
    display: none;
}

.custom_modal_2 {
    display: none;
}

.custom_modal_select {
    display: none;
}

.in {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.4s;
}

.out {
    animation-name: zoom-out !important;
    animation-duration: 0.5s !important;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(1)}
    to {-webkit-transform:scale(2)}
}

@keyframes zoom {
    from {transform:scale(0.4)}
    to {transform:scale(1)}
}

@keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}

.form {
    /*    position: fixed;
        top: 15%;
        left: 50%;
        transform: translateX(-50%);*/
    background-color: white;
    border-radius: 8px;
    width: 90%;
    margin: 0 auto;
}

.form .opinion {
    padding: 14px 10px;
    border-bottom: 1px solid lightgray;
    color: #757575;
    font-weight: bold;
    font-size: 1.2em;
}

.form .group label {
    display: block;
    padding: 8px 5px 5px 8px;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0px;
}

.form .group input {
    margin: 5px 8px;
    padding: 5px;
    width: 94%;
    border: 1px solid lightgray;
    border-radius: 5px;
    font-size: 1em;
}

.form .group input::placeholder {
    letter-spacing: 2px;
}

.form .group textarea {
    margin: 5px 8px;
    padding: 5px;
    width: 94%;
    border: 1px solid lightgray;
    border-radius: 5px;
    resize: none;
}

.form .group textarea::placeholder {
    letter-spacing: 2px;
}

.form .group input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.upload {
    display: inline-block !important;
    padding: 6px 8px !important;
    color: #999999;
    font-size: inherit;
    line-height: normal;
    vertical-align: middle;
    background-color: #0d9ef5;
    border: 1px solid #0d9ef5;
    color: white;
    cursor: pointer;
    border-bottom-color: #e2e2e2;
    border-radius: 5px;
}

.fileupload {
    width: 71% !important;
    display: inline-block !important;
    padding: 6px 8px !important; /* label의 패딩값과 일치 */
    vertical-align: middle !important;
    background-color: #f9f9f9 !important;
    -webkit-appearance: none!important; /* 네이티브 외형 감추기 */
    -moz-appearance: none!important;
    appearance: none!important;
    margin: 5px 3px 5px 8px !important;
    letter-spacing: 1px;
}

.group button {
    width: 45%;
    display: inline-block;
    margin: 7px;
    text-align: center;
    border-radius: 6px;
    letter-spacing: 2px;
}

.group .cancel {
    background-color: #9dadb7;
}

@media screen and (max-width: 375px) {
    h4 {
        font-size: 0.9rem;
    }

    button {
        width: 85%;
        font-size: 1rem;
        border-radius: 10px;
    }
}

@media screen and (max-width: 320px) {
    h4 {
        font-size: 0.7rem;
    }

    button {
        width: 85%;
        font-size: 1rem;
    }

    footer {
        margin-top: 20px;
    }
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 15px 0;
    text-align: center;
}
