@import url(bootstrap-icons.css);

/*common*/
*,::after,::before {
    box-sizing: border-box;
}

body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,select,table,td,textarea,th,ul {
    padding: 0;
    margin: 0;
}

body,button,input,select,table,textarea {
    font-size: 16px;
    line-height: 1.2;
    color: #202020;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
}

tbody,td,tfoot,th,thead,tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

.fade {
    transition: opacity .15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.d-block {
    display:block !important;
}

/*button*/
.btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #677788;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: #f8fafd;
}
.btn:hover {
    color: #2196fd;
    cursor: pointer;
}

.btn-close {
    --bs-btn-close-bg: url(../images/icon_close.png);
    box-sizing: content-box;
    width: 28px;
    height: 28px;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent var(--bs-btn-close-bg) center/28px auto no-repeat;
    border: 0;
    border-radius: 6px;
    opacity: 0.5;
    cursor: pointer;
}
.btn-close:hover {
    opacity: 1;
}

.btn-save {
    background-color:#000;
    color:#fff;
}
.btn-save:hover {
    background-color:#333;
    color:#fff;
}
.btn-delete {
    background: #fff0f0;
    color: rgb(214, 41, 62);
}
.btn-delete:hover {
    background: #fff;
    color: rgb(214, 41, 62);
}

/*table*/
.table {
    width: 100%;
    margin-bottom: 15px;
    color: #000;
    vertical-align: top;
    border-color: #495057;
    caption-side: bottom;
    border-collapse: collapse;
}

.table> :not(caption)>*>* {
    padding: 8px 8px;
    background-color: transparent;
    border-bottom: 1px solid;
    box-shadow: inset 0 0 0 9999px transparent;
}

.table>thead {
    vertical-align: bottom;
}

.table>tbody {
    vertical-align: inherit;
}

/*form*/
.form-label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-control {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #dfdfe3;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.form-control:disabled {
    background-color:#e9ecef;
    opacity: 1;
}

.form-text {
    margin-top: 4px;
    font-size: 14px;
    color: rgba(33, 37, 41, 0.75);
}

.form-check {
    display: block;
    min-height: 24px;
    padding-left: 24px;
    margin-bottom: 2px;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.form-check-input[type=checkbox] {
    border-radius: 0.25em;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    border: 1px solid #dee2e6;
    background-color: #fff;
    /* background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact; */
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-select {
    display: block;
    width: 100%;
    padding: 8px 36px 8px 16px;
    -moz-padding-start: calc(12px - 3px);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    /* background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px; */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/*modal*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 28px * 2);
    margin: 28px;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dfdfe3;
    border-radius: 8px;
    outline: 0;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #dfdfe3;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-header .btn-close {
    padding: calc(16px * .5) calc(16px * .5);
    margin: calc(-.5 * 16px) calc(-.5 * 16px) calc(-.5 * 16px) auto;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 20px;
}

.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: calc(16px - 8px * .5);
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.modal-footer>* {
    margin: calc(8px * .5);
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

/*layout*/
.wrap {
    width: 100%;
    height: 100%;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

.container {
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1vw;
    padding-right: 1vw;
    margin: 0 auto;
}

.content {
    width: 100%;
}

/*page content*/
/*top bar*/
.topbar {
    padding-bottom: 10px;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(231, 234, 243, .7);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.topbar-inner .title {
    font-size: calc(1.2rem + .2vw);
    font-weight: 700;
}

.topbar-inner .title:before {
    content: '';
    width: 19px;
    height: 26px;
    display: inline-block;
    background: url(../images/yc_logo.svg)no-repeat center;
    background-size: contain;
    vertical-align: text-bottom;
    margin-right: 8px;
}

.btn-user {
    font-size: 14px;
    font-weight: 600;
}

.btn-user:before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: sub;
    background: url(../images/icon_user.png)no-repeat center;
    background-size: contain;
    margin-right:5px;
}

.mycontent {
    background-color: #f8fafd;
    border: 1px solid rgba(231, 234, 243, 0.7);
    padding: 7px 15px;
}
.btn-user-name {
    display: inline-block;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    vertical-align: middle;
}
.btn-user-name:after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    margin: 0 5px;
    background-color: #dae1e6;
    vertical-align: -1px;
}
.btn-user-name:hover {
    color:#2196fd;
}
.btn-logout {
    font-size: 12px;
    color: #fff;
    background-color: #ccd0d4;
    border-radius: 14px;
    padding: 6px 10px 6px 11px;
}
.btn-logout:hover {
    color:#000;
}

/*card style*/
.gridbox {
    position: relative;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(231, 234, 243, 0.7);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(140, 152, 164, .075);
    margin-bottom: 15px;
}

.gridbox-header {
    padding: 20px;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 1px solid rgba(231, 234, 243, 0.7);
}

/*content admin*/
.content-admin {
    display: flex;
    align-items: center;
}
.content-admin .form-check-all {
    margin-right:10px;
}
.content-admin .btn {
    font-size: 14px;
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0);
    background: #0075ff;
    color: #fff;
}

.content-admin .btn:hover {
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.35);
    background: #3764a7;
}

.content-admin .btn:last-child {
    margin-left: auto;
}

.admin-data-item {
    border: 1px solid rgba(231, 234, 243, 0.7);
    border-radius: 6px;
    padding: 10px;
    margin:10px;
}
.admin-data-item .item-check-wrap {
    display: flex;
    align-items: center;
    justify-content:space-between;
    margin-bottom: 10px;
}
.admin-data-item .item-content {
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.admin-data-item .item-year {
    font-size: 14px;
    color: #677788;
    margin-bottom: 5px;
}
.admin-data-item .item-change {
    font-size: 20px;
    font-weight: 600;
    padding: 0 10px;
}

.modal-talents .user-data-list {
    margin: -20px;
}


/*content user*/
.content-user {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    color: #677788;
}

.content-user .user-name {
    font-size: 16px;
}

.content-user .user-name>span {
    font-weight: 600;
    margin-right: 10px;
    color: #000;
}

.content-user .user-talents>span {
    font-size: calc(20px + .2vw);
    font-weight: 600;
    color: #000;
    margin-right: 5px;
}

.user-data-item {
    display:flex;
    flex-flow: row wrap;
    align-items: baseline;
    letter-spacing: -.3px;
    border-bottom: 1px solid rgba(231, 234, 243, 0.7);
    padding:15px;
}
.user-data-item:last-child {
    border-bottom:0;
}
.user-data-item .item-date-wrap {
    width:100%;
    margin-bottom:5px;
}
.user-data-item .item-date {
    font-size:14px;
    color:#677788;
}
.user-data-item .item-btn {
    float:right;
    margin-top:-2px;
}
.user-data-item .btn-delete {
    padding:1px;
}
.user-data-item .item-text {
    flex:1 0 0%;
}
.user-data-item .item-count {
    text-align:right;
}
.user-data-item .item-count-change {
    font-size:20px;
    font-weight: 600;
    margin-bottom: 3px;
}
.user-data-item .item-count-total {
    font-size:14px;
    color:#677788;
}

/*talents table*/
.table-talents>thead>tr>* {
    font-size: 14px;
    font-weight: 400;
    color: #677788;
    text-align: left;
    background-color: #f8fafd;
    word-break:keep-all;
}

.table-talents>tbody td {
    letter-spacing: -.3px;
}

.table-talents> :not(caption)>*>* {
    padding: 7px;
    border-bottom-width: 0;
}

.table-talents>:not(:last-child)>:last-child>* {
    border-bottom: 1px solid rgba(231, 234, 243, 0.7);
}

.table-talents .td-inner-btn {
    padding: 3px 10px;
}

.btn-td {
    background-color: rgba(231, 234, 243, 0.7);
    border-radius: 50%;
    padding: 3px 6px;
}

.btn-td:hover {
    background-color: rgba(231, 234, 243, 1);
}

.btn-td.btn-details::before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url(../images/icon_details.png)no-repeat center;
    background-size: contain;
    vertical-align: text-bottom;
}

.btn-td.btn-modify::before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url(../images/icon_modify.png)no-repeat center;
    background-size: contain;
    vertical-align: text-bottom;
}

.btn-td.btn-talents::before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url(../images/icon_talents.png)no-repeat center;
    background-size: contain;
    vertical-align: text-bottom;
}

/*login*/
.login-wrap {
    width: 100%;
    height: 100vh;
}

.login .logo.pc-show {
    display: none;
}

.login {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 10px 1px rgba(29, 58, 83, 0.2);
    border-radius: 20px;
    background: linear-gradient(to bottom, #3764a7 0%, #2196fd 100%);
    background-size: cover;
    margin-top: 5vw;
    margin-bottom: 6vw;
}

.login-flex-w {
    width: 100%;
}

.login-img {
    border-radius: 16px 16px 0 0;
    padding: 5vw 4vw;
}

.login-img img {
    width: 100%;
    height: auto;
}

.login-img .img-box {
    display: none;
    max-width: 445px;
}

.login-inner {
    border-radius: 0 0 16px 16px;
    background-color: #fff;
    padding: 5vw 4vw;
}

.login .logo {
    display: block;
    text-align: center;
}

.login .logo>img {
    width: 70px;
    height: auto;
}

.login-inner .title {
    font-size: 37px;
    font-weight: 900;
    color: #333;
    text-align: center;
    word-break: keep-all;
    margin-bottom: 40px;
}

.form-login .form-label {
    color: #333;
}

.form-login .form-control {
    width: 100%;
    border-width: 0 0 1px 0;
    border-color: #78b6d7;
    border-radius: 0;
    padding: 4px 0;
    margin-bottom: 20px;
}

.form-login .form-control::-webkit-input-placeholder {
    font-size: 14px;
    color: #ccc;
}

.form-login .form-control:-ms-input-placeholder {
    font-size: 14px;
    color: #ccc;
}

.btn-login {
    color: #fff;
    border: 0;
    border-radius: 28px;
    background: linear-gradient(to top, #3764a7 0%, #2196fd 100%);
    padding: 5px 20px;
    margin-top: 20px;
    cursor: pointer;
}

.btn-login:hover {
    background: #3764a7;
}

/*modal user infomation*/
.modal-talents .modal-title {
    font-size:calc(20px + .2vw);
}
.modal-talents .form-talents>div {
    margin-bottom: 18px;
}
.modal-talents .form-talents>div:last-child {
    margin-bottom: 0;
}
.modal-talents .form-talents-footer {
    text-align: right;
}
/*modal talents apply*/
.modal-talents .form-talents .txtbox {
    text-align: right;
    font-size: 16px;
    background: #f8fafd;
    border-radius: 8px;
    padding: 15px;
}
.modal-talents .form-talents .txtbox .studentCount, .modal-talents .form-talents .txtbox .studentName {
    font-size: calc(18px + .2vw);
    font-weight: 600;
    color: #000;
    margin-left:5px;
    margin-right:5px;
}
/*modal details view*/
.modal-talents .table-talents {
    font-size:14px;
    border:1px solid rgba(231, 234, 243, 0.7);
}
.modal-talents .table-talents .td-inner-btn .btn-delete {
    font-size: 14px;
    padding:5px 10px;
    word-break:keep-all;
}

/*media*/
@media (max-width:416px) {
    .topbar-inner .title {
        width:19px;
        height:26px;
        overflow: hidden;
    }
}
@media (min-width:576px) {
    .container {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .table-talents> :not(caption)>*>* {
        padding: 10px 20px;
    }

    .table-talents .td-inner-btn {
        padding: 3px 20px;
    }

    .modal-dialog {
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width:992px) {
    .modal-dialog {
        max-width: 800px;
    }

    .login .logo.pc-show {
        display: block;
        margin-bottom: 30px;
    }

    .login .logo.m-show {
        display: none;
    }

    .login {
        flex-direction: row;
    }

    .login-flex-w {
        width: 50%;
    }

    .login-img {
        border-radius: 16px 0 0 16px;
    }

    .login-img .img-box {
        display: block;
    }

    .login-inner {
        border-radius: 0 16px 16px 0;
    }
}