/* 기본 설정 */

html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

body {
    font-family: "Helvetica Neue", Helvetica, arial, "Apple SD Gothic Neo", "애플 SD 고딕 Neo", "NanumGothic", 돋움, Dotum, sans-serif;
    background: rgb(34,34,35);
    font-size: 100%;
    min-width: 320px;
    /* max-width: 880px; */
    margin: 0 auto;
    position: relative;
}

body::before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(34,34,35);
    background: linear-gradient(180deg, rgba(5,64,137,0) 0%, rgba(5,64,137,1) 100%);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;

    transition: height 0.4s;
}

ul, ol, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #fff;
}

h1, h2, h3, h4, h5 {
    padding: 0;
    margin: 0;
}

input,
select,
textarea {
    border: none;
    -webkit-appearance: none;
}
 
input:focus,
textarea:focus {
    outline: none;
}

.no-padding { padding: 0; }
.no-margin  { margin: 0;  }

.no-bottom-margin { margin-bottom: 0; }
.no-top-margin    { margin-top: 0; }

:root {
    --app-height: 100%;
}


/* header 설정 */

header {
    width: 100%;
    height: calc(var(--app-height) / 2);
    margin: calc(var(--app-height) / 2) 0 0;
    /* max-width: 880px; */
    z-index: 2;
    /* position: relative; */

    transition: background 0.2s, height 0.2s, margin 0.4s;
}

#logo {
    content: '';
    display: block;
    background-image: url('../img/logo-white.png');
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 175px;
    height: 180px;
    position: absolute;
    top: -190px;
    right: calc(50% - 87.5px);
}

.cover-items {
    max-width: 215px;
    margin: 0 auto 20px;

    transition: opacity 0.2s, margin 0.2s;
}

#site-title {
    text-align: center;
    color: #fff;
    font-size: 10px;
    line-height: 1.75em;
    letter-spacing: 0.18em;
    font-family: NanumSquare, sans-serif;
}

#member-buttons::after {
    display: block;
    content: '';
    clear: both;
}

#member-buttons button {
    width: calc(50% - 3px);
    height: 40px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-family: NanumSquare, sans-serif;
    font-weight: 700;
    cursor: pointer;
}

#member-buttons button#profile {
    margin-top: 10px;
    width: 100%;
    height: 55px;
    background-color: #539AD8;
    color: #fff;
    font-size: 16px;
    border: none;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.25);
}

button#signup {
    border: 2px solid #539AD8;
    background-color: transparent;
    color: #539AD8;
    float: left;
}

button#search {
    border: 2px solid #E57504;
    background-color: transparent;
    color: #E57504;
    float: left;
}

button#search:disabled {
    filter: grayscale(1);
    opacity: 0.75;
    pointer-events: none;
}

button#login,
button#logout {
    border: 2px solid #539AD8;
    background-color: transparent;
    color: #539AD8;
    float: right;
}

button#search::before { content: '회원 조회'; }
button#signup::before { content: '회원 등록'; }
button#login::before  { content: '로그인'; }
button#logout::before { content: '로그아웃'; }
button#profile::after { content: '프로필 보기'; }
button#profile::before{ 
    font-family: "Font Awesome 6 Free";
    content: "\f2c1";
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    margin-right: 0.35em;
}

#no-authorization {
    font-family: 'NanumSquare', sans-serif;
    font-weight: 600;
    width: 190px;
    height: 50px;
    padding: 30px 20px;
    line-height: 25px;
    text-align: center;
    color: #404040;
    font-size: 14px;
    background-color: #ffffff;
    position: fixed;
    left: calc(50% - 115px);
    z-index: 999999;
    box-shadow: 11px 11px 0px rgb(0 0 0 / 12%);
}

#no-authorization strong {
    font-weight: 800;
    text-decoration: underline;
}


.member-forms {
    display: none;
    max-width: 215px;
    margin: 0 auto;
    border: none;
    padding: 0;
}

.member-forms .desc {
    margin: 50px -30px 30px;
    padding-top: 18px;
    border-top: 1px solid #fff;
    font-size: 13px;
    line-height: 1.55em;
    color: #fff;
    opacity: 0.45;
    text-align: justify;
}

/* .member-forms > input {
    opacity: 0;
    transition: opacity 0.4s;
} */

        /* User Registration 플러그인 설정 */
        .ur-frontend-form .ur-form-row { 
            display: initial;
        }
        .ur-frontend-form .ur-form-row .ur-form-grid { 
            padding: 0;
        }
        .ur-frontend-form * {
            box-sizing: initial;
        }
        .ur-frontend-form label.user-registration-error:not(#user_pass-error):not(#user_confirm_password-error) {
            display: none !important;
        }
        .ur-frontend-form .ur-button-container {
            margin-top: 20px;
            padding: 0;
        }
        .user-registration-password-strength {
            display: none !important;
        }
        .user-registration-password-hint {
            color: #ffeb3b;
            font-size: 12px;
            line-height: 1.5em;
        }
        #ur_register_pre_form_message {
            display: none;
        }

.member-forms .input {
    position: relative;
    margin: 0 !important;
}

.member-forms .input::before {
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: calc(50% - 20px);
    left: -25px;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    display: none;
}

.member-forms .input.hidden {
    display: none !important;
}

.member-forms .input.valid::before {
    font-weight: 900;
    content: "\f00c";
    display: block;
    color: #539AD8;
}

.member-forms .input.invalid::before {
    font-weight: 900;
    content: "\f06a";
    display: block;
    color: red;
}

.member-forms input:not([type="submit"]) {
    height: 20px !important;
    width: calc(100% - 20px) !important;
    padding: 15px 10px !important;
    font-size: 17px;
    color: #539AD8;
    background-color: #fff;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2) inset !important;
    border-radius: 2px !important;
    margin: 15px 0 0 !important;
    min-height: auto !important;
    line-height: initial !important;

    transition: all 0.3s;
}

.member-forms .smaller input {
    filter: grayscale(0.5);
    background-color: rgba(255, 255, 255, 0.12) !important;
    font-size: 12px;
    height: 12px !important;
    padding: 10px !important;
    margin-top: 5px !important;
}

.member-forms .smaller::before,
.member-forms .smaller::after {
    display: none;
}

.member-forms .invalid input{
    color: #0a3d7c;
}

.only-number::after {
    content: '숫자';
    font-size: 11px;
    position: absolute;
    top: calc(50% - 3px);
    right: 8px;
    color: #fff;
    background: #999;
    padding: 4px;
    height: 12px;
    line-height: 12px;
    border-radius: 3px;
}

.only-korean::after {
    content: '한글';
    font-size: 11px;
    position: absolute;
    top: calc(50% - 3px);
    right: 8px;
    color: #fff;
    background: #999;
    padding: 4px;
    height: 12px;
    line-height: 12px;
    border-radius: 3px;
}

.member-forms .input.user-login-data {
    display: none;
}

.member-forms input::placeholder {
    color: #aaa !important;
}

.member-forms input[type="submit"],
.member-forms button[type="submit"] {
    padding: 8px 10px;
    display: block;
    height: 36px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.15em;
    background-color: #539AD8;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin: 15px 0 0;
}

.member-forms button[type="submit"] {
    margin: 0 !important;
}

.member-forms button[type="submit"].disabled {
    opacity: 0.25;
    filter: grayscale(1);
    pointer-events: none;
}

.member-forms button[type="submit"]::before {
    content: "\f8cc";
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
}

.member-forms input[disabled=""] {
    opacity: 0.2;
}

body.sending::before {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
}

body.sending::after {
    font-family: 'NanumSquare', sans-serif;
    font-weight: 600;
    content: '처리중입니다...';
    width: 140px;
    height: 18px;
    padding: 25px 20px;
    line-height: 18px;
    text-align: center;
    color: #404040;
    font-size: 14px;
    background-color: #ffffff;
    position: fixed;
    top: calc(50% - 34px);
    left: calc(50% - 90px);
    z-index: 999999;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.12);
}

input#search-submit { background-color: #E57504 !important; }

.close-x {
    width: 13px;
    height: 13px;
    margin: 14px;
    left: 10px;
    top: 10px;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    position: absolute;
    transform: rotate(-235deg);

    transition: opacity 0.4s, transform 0.4s, width 0.4s, height 0.4s, margin 0.4s;
}

.close-x:before, 
.close-x:after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 1.5px;
    top: calc(50% - 1.5px);
    display: block;
    position: absolute;
}

.close-x::before { transform: rotate(45deg); }
.close-x::after  { transform: rotate(-45deg); }


/* sign mode 설정 */

body#sign-mode header,
body.login-failed header {
    height: calc(100vh - 100px);
    margin: 0px 0 100px;

    transition: height 0.4s, margin 0.4s;
}

body:not(#cover-mode) #logo,
body.login-failed #logo {
    background-image: url('../img/logo-blue.png');
    width: 35px;
    height: 45px;
    top: 10px;
    right: 10px;

    transition: top 0.4s, right 0.4s, width 0.4s, height 0.4s, background-image 0.4s, opacity 0.3s;
}

body:not(#cover-mode) .cover-items,
body.login-failed .cover-items {
    opacity: 0;
    margin-bottom: 0;
    z-index: -1;
    pointer-events: none;

    transition: opacity 0.2s, margin 0.2s;
}

body.login-failed form.form-login {
    display: block;
}

body:not(#cover-mode) .close-x,
body.login-failed .close-x {
    width: 31px;
    height: 31px;
    margin: 5px;
    opacity: 1;
    transform: rotate(0);
    cursor: pointer;
    pointer-events: initial;
}

p.error-message {
    display: none;
    color: #fff;
    font-size: 14px;
    line-height: 1.55em;
    padding-left: 22px;
    position: relative;
    margin: 0;
}

body.login-failed p.error-message {
    display: block;
}

p.error-message i {
    font-size: 15px;
    color: red;
    position: absolute;
    top: -1px;
    left: 0;
    line-height: 1.55em;
}

/* profile mode 설정 */

body#profile-mode::before {
    height: 0;
}

body#profile-mode #logo {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: logo_blink;
    animation-duration: 1.8s;
}

@keyframes logo_blink {
    50% {
        background-image: url(../img/logo-black.png);
    }
}

body#profile-mode .close-x {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: x_blink;
    animation-duration: 8s;
}

@keyframes x_blink {
    45% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body#profile-mode .close-x:before, 
body#profile-mode .close-x:after {
    background-color: #539AD8;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: x_blink_child;
    animation-duration: 1.8s;
}

@keyframes x_blink_child {
    50% {
        background-color: #222223;
    }
}

body#profile-mode header {
    height: 65px;
    margin: 0;
    position: fixed;

    transition: background 0.4s 0.4s, height 0.4s, margin 0.4s;
}

body#profile-mode footer {
    bottom: -82px;
    opacity: 0;
}

main {
    opacity: 0;
    top: 100vh;
    position: relative;
    height: 0;
    overflow: hidden;

    transition: opacity 0.4s;
}

body#profile-mode main {
    opacity: 1;
    top: 0;
    height: auto;
    overflow: initial;
}

#slides {
    width: 100%;
    height: calc(var(--app-height) - 120px);
    position: sticky;
    top: 0;
    left: 0;
    overflow: hidden;
}

#slides .swiper-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;

    transition: opacity 0.4s, filter 0.4s, transform 0.4s;
}
#slides .swiper-slide.swiper-slide-prev,
#slides .swiper-slide.swiper-slide-next {
    opacity: 0.2;
    filter: grayscale(0.75);
    /* transform: scale(1.1); */
}

/* 
#slides .swiper-slide:nth-child(1) { background-image: url('../img/sample/02.jpg'); }
#slides .swiper-slide:nth-child(2) { background-image: url('../img/sample/13.jpg'); }
#slides .swiper-slide:nth-child(3) { background-image: url('../img/sample/09.jpg'); } 
*/

#slides .swiper-slide .shadow {
    width: 100%;
    height: 180px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

#slides .swiper-slide .shadow::before {
    content: '';
    background: rgba(34,34,35,0);
    background: linear-gradient(180deg, rgba(34,34,35,0) 0%, rgba(34,34,35,0) 33.3333%, rgba(34,34,35,0.35) 66.6666%, rgba(34,34,35,1) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

#slide-pagination {
    bottom: 35px;
}

#slide-pagination span.swiper-pagination-bullet {
    opacity: 1;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background-color: transparent;
    /* box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45) inset; */
}

#slide-pagination span.swiper-pagination-bullet-active {
    /* background-color: #003E8B; */
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: bullet_blink;
    animation-duration: 1.8s;
}

@keyframes bullet_blink {
    50% {
        border-color: #539AD8;
        background-color: #539AD8;
    }
}

#content {
    color: #fff;
    width: calc(100% - 70px);
    height: calc(100% - 100px);
    min-height: calc(100vh - 100px);
    margin: -65px 10px 0px;
    padding: 20px 25px 80px;
    border-radius: 18px 18px 0 0;
    position: relative;
    z-index: 9;

    transition: background 0.3s, color 0.3s, margin 0.6s, padding 0.6s, border-radius 0.6s;
}

#content::after {
    content: '';
    position: fixed;
    width: calc(100% - 20px);
    height: 80px;
    background-color: #fff;
    margin: 0 10px;
    bottom: -80px;
    left: 0;
    z-index: 3;

    transition: bottom 0s, margin 0.3s;
}

a.edit-profile {
    top: 8px;
    right: -35px;
    position: fixed;
    z-index: 999;
    font-size: 16px;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ccc;
    text-align: center;
    line-height: 32px;

    transition: right 0.3s;
}

#content.sticky a.edit-profile {
    right: 8px;

    transition: right 0.3s 0.3s;
}



#header {
    position: sticky;
    top: 0;
    padding: 30px 0 0;
    z-index: 2;
}

#header h2 {
    font-family: 'IropkeBatang', sans-serif;
    font-size: 32px;
    line-height: 1.05em;
    letter-spacing: 0.25em;
    text-align: center;

    transition: font-size 0.4s, color 0.4s;
}

#header h2:first-letter {
    margin-left: 0.25em;
}

#header h2 small {
    font-family: initial;
    font-size: 13px;
    font-weight: 400;
    display: block;
    letter-spacing: 0.05em;
    opacity: 0.5;

    transition: opacity 0.4s;
}

#header h2 small:first-letter {
    margin-left: 0.05em;
}

#social-links {
    text-align: center;
    width: 100%;
    padding: 8px 0 23px;
    opacity: 0;

    transition: opacity 0s;
}

#social-links a {
    width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 50%;
    display: inline-block;
    margin: 0;
    font-size: 18px;
    line-height: 36px;
    background-color: #539AD8;
    color: #fff;
    text-align: center;

    transition: margin 0.4s;
}

#social-links a.email {
    font-size: 1.25em;
}

#social-links a.phone {
    padding: 0;
    border: 3px solid #222223;
    background-color: #fff;
    color: #222223;
}

#social-links a.sns i::before {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

#social-links a.sns.facebook:hover  { background-color: #3b5998; }
#social-links a.sns.instagram:hover { background-color: #c32aa3; }
#social-links a.sns.twitter:hover   { background-color: #55acee; }
#social-links a.sns.blog:hover      { background-color: #f26522; }
#social-links a.sns.linkedin:hover  { background-color: #0a66c2; }
#social-links a.sns.youtube:hover   { background-color: #ff0000; }

#social-links a.sns.facebook  i::before { content: "\f39e"; }
#social-links a.sns.instagram i::before { content: "\f16d"; font-size: 1.2em; }
#social-links a.sns.twitter   i::before { content: "\f099"; }
#social-links a.sns.blog      i::before { content: "\f143"; font-weight: 900; font-family: "Font Awesome 6 Free"; }
#social-links a.sns.linkedin  i::before { content: "\f08c"; }
#social-links a.sns.youtube   i::before { content: "\f167"; }

#about {
    font-size: 15px;
    line-height: 1.65em;
    text-align: justify;
    color: #222223;
    padding-bottom: 25px;
    opacity: 0;

    transition: opacity 0s;
}

#lauos {
    text-align: center;
    padding-bottom: 25px;
    opacity: 0;

    transition: opacity 0s;
}

#lauos::after {
    content: '';
    width: 2px;
    height: 25px;
    background-color: #003E8B;
    position: absolute;
    left: calc(50% - 1px);
    bottom: 0;
    z-index: -1;
}

#lauos span {
    background-color: #003E8B;
    display: inline-block;
    color: #fff;
    font-size: 13px;
    line-height: 2.4em;
    border-radius: 1.2em;
    padding: 0 1em 0 2.5em;
    position: relative;
}

#lauos span i {
    font-size: 24px;
    position: absolute;
    top: 3px;
    left: 3px;
    transform: rotate(0deg);

    transition: transform 0.2s;
}

#lauos span.move-up i { 
    transform: rotate(-90deg);
}

/* #lauos span i.rotate {
    transform: rotate(-90deg) !important;
} */

#history {
    text-align: center;
    position: relative;
    opacity: 0;
    padding-bottom: 10px;
    font-family: NanumGothic, sans-serif;

    transition: opacity 0.6s;
}

#history::before {
    content: '';
    width: 2px;
    height: calc(100% + 80px);
    background-color: #003E8B;
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
    z-index: -1;
}

#history::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0d7";
    font-size: 14px;
    color: #003E8B;
    position: absolute;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    left: calc(50% - 7px);
    top: calc(100% + 75px);
    z-index: -1;
}

#history li {
    padding-bottom: 15px;
    position: relative;
}

#history li::before {
    content: '';
    width: 6px;
    height: 6px;
    border: 2px solid #003E8B;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 5px);
    top: 6px;
    display: block;
}

#history li::after {
    content: '';
    display: block;
    clear: both;
}

#history li h3 {
    /* display: none; */
    font-size: 16px;
    line-height: 1.25em;
    word-break: keep-all;
    color: #003E8B;
    width: calc(50% - 15px);
    text-align: right;
    float: left;
}

#history li h3 small {
    display: block;
    font-weight: 400;
    font-size: 11px;
}

#history li a.link {
    color: #03A9F4;
    padding-right: 5px;
}

#history li .desc {
    /* display: none; */
    font-size: 13px;
    line-height: 1.45em;
    padding-top: 0.1em;
    width: calc(50% - 15px);
    text-align: left;
    word-break: keep-all;
    float: right;
}

#current {
    width: 100%;
    height: 80px;
    position: fixed;
    bottom: -80px;
    left: 0;
    z-index: 99;
    display: flex;

    transition: bottom 0.2s;
}

body#profile-mode #current {
    bottom: 0;
}

#current::before {
    content: '';
    position: absolute;
    width: calc(100% - 6px);
    height:calc(100% - 6px);
    padding: 3px;
    border: 0 solid #003E8B;

    transition: border-width 0.2s, padding 0.2s;
}

#current a.pdf {
    width: 49px;
    height: 74px;
    position: absolute;
    top: 3px;
    left: -52px;
    text-align: center;
    line-height: 80px;
    background-color: #E57504;
    color: #fff;
    font-size: 24px;
    opacity: 0;

    transition: opacity 0.3s, left 0.3s;
}

#current h3 {
    font-size: 13px;
    line-height: 1.45em;
    text-align: center;
    color: #fff;
    margin: auto;

    /* transition: color 0.3s, font-size 0.3s; */
}

/* 프로필 스크롤 설정 */

body.scroll-start #content {
    background-color: #fff;
    color: #222223;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.3);

    transition: background 0.6s, color 0.6s;
}

body.scroll-start #content::before {
    content: '';
    position: absolute;
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(112, 112, 112, 0.2);
    position: absolute;
    top: 12px;
    left: calc(50% - 21px);

    transition: width 0.3s, left 0.3s;
}

body.scroll-start #content::after {
    bottom: 0;

    transition: bottom 0s 0.6s;
}

body.scroll-start #header h2 {
    font-size: 26px;
}

body.scroll-start #header h2 small {
    opacity: 0.75;
}

body.scroll-start #social-links {
    opacity: 1;

    transition: opacity 0.3s 0.6s;
}

body.scroll-start #social-links a {
    margin: 2px;
}

body.scroll-start #about {
    opacity: 1;

    transition: opacity 0.4s 0.6s;
}

body.scroll-start #lauos {
    opacity: 1;

    transition: opacity 0.4s 0.6s;
}

body.scroll-start #history {
    opacity: 1;

    transition: opacity 0.3s 0.6s;
}

body.scroll-start #current h3 {
    color: #003E8B;
}

/* 프로필 스크롤 상단 고정 */

#content.sticky {
    margin: -75px 0px 0px;
    padding: 20px 35px 80px;
    border-radius: 0;
}

body.scroll-start #content.sticky::before {
    width: 0;
    left: 50%;
}

body.scroll-start #content.sticky #header {
    background-color: #fff;
}

#content.sticky #current {
    background-color: #F4F4F4;
}

#content.sticky #current.highlight::before {
    border-width: 3px;
    padding: 0;
}

#content.sticky #current h3 {
    font-size: 16px;
}

#content.sticky #current a.pdf {
    left: 3px;
    opacity: 1;
}

/* 검색 목록 설정 */

main.list-mode #profile-content,
main.list-mode #acf-form {
    display: none;
}

main:not(.list-mode) #member-list {
    display: none;
}

#member-list {
    display: grid;
    padding: 65px 6px 6px;
    grid-gap: 4px;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

@media all and (max-width: 479px) {
    #member-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

#member-list a {
    width: 100%;
    height: 0;
    padding-top: 130%;
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(204, 204, 204, 0.25);
    position: relative;
}

#member-list h3 {
    font-family: 'IropkeBatang', sans-serif;
    background-color: rgba(83, 154, 216, 0.55);
    margin: 5px;
    width: calc(100% - 20px);
    padding: 10px 5px 7px;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    border-radius: 4px;
    font-size: 18px;
    text-align: center;
    line-height: 1.2em;
    letter-spacing: 0.2em;
    box-shadow: 0 -2px 10px rgb(0 0 0 / 20%);
}

#member-list small {
    font-family: initial;
    font-size: 11px;
    font-weight: 400;
    display: block;
    letter-spacing: initial;
    color: #fff38b;
}

/* 프로필 편집 설정 */

#acf-form {
    overflow-y: auto;
    top: 0;
    position: relative;
    z-index: 1;
    padding: 111px 0 100px;
    min-height: calc(100vh - 165px);
    background-color: #ececec;
    display: none;
}

main.edit-mode #acf-form { 
    display: block; 
}

#acf-form::before {
    content: '';
    width: 100%;
    height: 65px;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    display: block;
    background-color: #ececec;
}

#acf-form::after {
    content: '';
    width: 100%;
    height: 85px;
    position: fixed;
    z-index: 2;
    bottom: 0;
    left: 0;
    display: block;
    background: rgb(236,236,236);
    background: linear-gradient(0deg, rgba(236,236,236,1) 0%, rgba(236,236,236,1) 70%, rgba(236,236,236,0) 100%);
}

#acf-form > .acf-fields > .acf-field {
    background-color: #fff;
}


#acf-form > .acf-fields > .acf-tab-wrap {
    position: fixed;
    width: 100%;
    margin-top: -46px;
    background: #ececec;
}

#acf-form .acf-field .acf-label label {
    color: #5883ac;
    font-size: 87.5%;
}

.acf-icon.small, .acf-icon.-small {
    height: 100%;
    line-height: 27px;
}

.acf-field p.description {
    font-size: 13px;
    word-break: keep-all;
}

#acf-form input[type="text"],
#acf-form input[type="number"],
#acf-form input[type="url"],
#acf-form textarea {
    background-color: aliceblue;
    box-shadow: 1px 1px 2px rgb(0 0 0 / 12%) inset;
    padding: 10px;
    font-size: 15px;
    border-radius: 4px;
}

#acf-form input[type="file"] {
    font-size: 11px;
    max-width: 100%;
    color: #999;
}

#acf-form .acf-form-submit input[type="submit"] {
    line-height: 55px;
    position: fixed;
    z-index: 3;
    /* left: 0; */
    bottom: -65px;
    height: 65px;
    width: 100%;
    background: #003E8B;
    font-size: 18px;
    color: #fff;
    border-radius: 0;

    transition: bottom 0.3s;
}

#profile-mode #acf-form .acf-form-submit input[type="submit"] {
    bottom: 0;
}

.social-links .acf-fields.-left > .acf-field > .acf-label {
    width: 40px;
    float: left;
    line-height: 41px;
    margin-bottom: 0;
}

.social-links .acf-fields.-left > .acf-field > .acf-input {
    width: calc(100% - 40px);
}

/* .acf-repeater .acf-row-handle .acf-icon,
.acf-repeater .acf-row-handle.remove {
    display: none !important;
} */

.acf-row-handle.order .acf-icon.small,
.acf-row-handle.remove .acf-icon.small {
    height: 20px;
    line-height: 16px;
}

.acf-repeater .acf-actions .acf-button.acf-repeater-add-row {
    padding: 10px 12px;
    background-color: #000;
    font-size: 14px;
    border-radius: 4px;
}

#message.updated {
    display: none;
}

#acf-form .acf-required::after {
    content: '필수입력';
    font-size: 11px;
}


/* form 필수 입력 에러시 */

.acf-notice.-error {
    display: none;
}

#acf-form.is-invalid .acf-tab-button i.fa-images,
#acf-form.is-invalid .acf-tab-button i.fa-person-running {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: error_tab_blink;
    animation-duration: 1.2s;
}

@keyframes error_tab_blink {
    50% {
        color: red;
    }
}

body.error-notice::after {
    font-family: 'NanumSquare', sans-serif;
    font-weight: 600;
    content: '필수입력사항을\A확인하세요!';
    white-space: pre;
    width: 138px;
    height: 40px;
    padding: 25px 20px;
    line-height: 20px;
    text-align: center;
    color: red;
    font-size: 14px;
    background-color: #fff0f0;
    border: 1px solid red;
    position: fixed;
    top: calc(50% - 46px);
    left: calc(50% - 90px);
    z-index: 999999;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.12);
}

.acf-field.acf-error {
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-name: error_blink;
    animation-duration: 1.2s;
}

@keyframes error_blink {
    50% {
        background-color: #fff0f0;
    }
}

/* footer 설정 */

footer {
    color: #fff;
    width: 100%;
    /* max-width: 880px; */
    margin: 0 auto;
    text-align: center;
    font-size: 10px;
    position: fixed;
    bottom: 0;

    transition: bottom 0.6s 0.2s, opacity 0.6s;
}

@media screen and (max-height: 599px) {
    footer {
        bottom: -90px;
    }
}

footer::before {
    content: '';
    width: 100%;
    height: 55px;
    display: block;
    background-image: url('../img/uos-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.65;
}

#copyright {
    margin: 2px 0 12px;
    opacity: 0.25;
}


/* @media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
    html {
        transform: rotate(-90deg);
        transform-origin: left top;
        width: 100vh;
        overflow-x: hidden;
        position: absolute;
        top: 100%;
        left: 0;
    }
    header {
        height: 50vw;
        margin: 50vw 0 0;
    }
    body#sign-mode header, 
    body.login-failed header {
        height: calc(100vw - 100px);
    }
} */

