@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url("/font/SpoqaHanSansNeo-Light.otf");
    font-weight: 300;
}
@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url("/font/SpoqaHanSansNeo-Regular.otf");
    font-weight: 400;
}
@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url("/font/SpoqaHanSansNeo-Medium.otf");
    font-weight: 600;
}
@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url("/font/SpoqaHanSansNeo-Bold.otf");
    font-weight: 800;
}

.flex-container {
    display: flex; 
    flex-direction: row;
}

.flex-container > * {
    margin: 0;
}

.flex-container > .aside-left {
    flex: 20%;
}

.flex-container > .aside-remain {
    flex: 80%;
}

.flex-container .headerblock {
    background: whitesmoke;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    margin: 0.5em;
}


* {
    box-sizing: border-box;
}

h2, h3, div, span, p {
    margin:0;
}

html {
    font-size: 14px; /* Default pixel size*/
}

body {
    margin: 0;
    background-color: #23272a;
    color:white;
    font-family: 'SpoqaHanSansNeo';
    font-weight: 400;
}

input, select {
    height: 2.5em;
    background-color: #44474a;
    border: 1px solid #606365;
    color: white;
    border-radius: 0.3em;
    padding-left: 1em;
}

/* buttons */

/* a.btn, button, input[type=submit] { */
.btn {
    display:inline-block;
    border:1px solid #4f5157;
    border-radius: 0.3em;
    background: #383c40;
    color:white;
    padding: 0.3em 1.25em;
    text-decoration: none;
    transition: background 0.25s;
}

/* a.btn:hover, button:hover, input[type=submit]:hover { */
.btn:hover {
    background: #4f5157;
    cursor:pointer;
}

.btn.blue {
    border: 1px solid #213aa1;
    background-color: #2d4dc8;
}
.btn.blue:hover {
    background-color: #4f6aeb;
}

.btn.lightshade {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}
.btn.lightshade:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.btn.white {
    border: 1px solid #dfdfdf;
    background-color: white;
    color: black;
}
.btn.white:hover {
    background-color: #dfdfdf;
}

/* 별도 기호가 있는 버튼 */

.btn.close {
    background-color: #292b2e;
    border: none;
    padding:0;
}
.btn.close::after {
    content: url("/img/btn/close.svg");
}

.btn.more {
    background-color: none;
    border: none;
    padding:0;
}
.btn.more::after {
    content: url("/img/btn/more-vertical.svg");
}


/* Common Header bar*/

header.common-headerbar {
    /* background-color: #2d4dc8; */
    background-color: #23272a;
    box-shadow: 4px 4px rgba(0,0,0,0.25);
    align-items: center;
    position: sticky;
    top: 0;
    height: 4em;
    display: flex;
    padding-left:2em;
}

header.common-headerbar > .title {
    font-size: 1.2em;
}

/* Header bar - rightside panel */
/* e.g. 프로필사항란, 로그아웃버튼 */
header.common-headerbar > div.rightside-panel {
    margin-left: auto;
    display: flex;
    height:100%;
    align-items: center;
}

/* header > div.rightside-panel a {
    display: flex;
    align-items: center;
} */

header.common-headerbar > div.rightside-panel div.rectblock {
    height:4em;
    width: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

header.common-headerbar > div.rightside-panel div.loginedWho {
    color: #ccc;
}
header.common-headerbar > div.rightside-panel div.loginedWho span.personal-name {
    color: white;
}


/* screen */

.screen-dark {
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0, 0.4);
    /* z-index는 각자 html에서 정해주기 바람 */
}


/* Gauge bars */

.gauge .line-bg {
    position: relative;
    height: 0.6em;
    width: 100%;
    background: #444;
    border-radius: 0.6em;
}

.gauge .line-bg .line-fg {
    height: 0.6em;
    width: 50%;
    background: #eee;
    border-radius: 0.6em;
}

.gauge-circular {
    position: relative;
    overflow: hidden;
}

.gauge-circular .bg {
    position: absolute;
    width:100%;
    height:200%;
    border-radius: 100%;
    background-color: #444;
}

.gauge-circular .fg {
    position: absolute;
    width:100%;
    height:100%;
    border-radius: 100%;
    background: linear-gradient(rgba(0,0,0,0) 50%, #eee 50%);
}

.gauge-circular .innermask {
    width:70%;
    height:140%;
    border-radius: 100%;
    background-color: #23272a; /* 각자 배경색으로 재조정바람 */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}


/* Gauge bars - LEGACY "progress line" */

.progress-line-bg {
    position: relative;
    height: 0.6em;
    width: 100%;
    background: #444;
    border-radius: 0.6em;
}

.progress-line-bg .progress-line-fg {
    height: 0.6em;
    width: 50%;
    background: #eee;
    border-radius: 0.6em;
}
