main {
    margin-top: 0px !important;
    overflow: auto;
    height: 80vh;
    display: block;
}

.title {
    padding-top: 20px;
    width: 80%;
    text-align: center;
    margin: 0 auto;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.4rem;
}

.modal-footer button {
    margin: 0 10px;
}

/* 문제 관련 UI */
section.info {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.exam_no {
    font-size: 1.2rem;
}

.timer {
    font-size: 1.2rem;
    color: #00ff00;
}

section.exam {
    width: 100%;
    height: 49px;
    padding: 10px 0;
    /*margin: 0 auto;*/
    margin-top: 50px;
    margin-bottom: 50px;
    /*text-align: center;*/
    overflow: hidden;
}

div.exam_column {
    display: none;
    align-items: center;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.factor {
    font-size: 2.5rem;
    padding: 0 5px;
}

.factor19 {
    font-size: 2.8rem;
    padding: 0 5px;
    display: block;
    width: 4.4rem;
    text-align: center;
}

.operator {
    font-size: 2.0rem;
    padding: 0 5px;
}

.answer {
    width: 2.8rem;
    height: 2.2rem;
    background: #FFFFFF;
    border: 1px solid #000000;
    font-size: 2.0rem;
    text-align: center;
}

.answer19 {
    width: 3.8rem;
    height: 2.2rem;
    background: #FFFFFF;
    border: 1px solid #000000;
    font-size: 2.0rem;
    text-align: center;
}

/* 채점결과 UI */
.result {
    justify-content: center;
    align-items: center;
    margin: auto;
    overflow: hidden;
    display:none;
    flex-direction: column;
    width: 100%;
}

.result .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

#tblResult {
    width: 100%;
    text-align: center;
}

#tblResult > thead > tr > th {
    width: 50%;
    height: 2.4rem;
    font-size: 0.8rem;
    background: #2d3748;
    border-top:1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
}

#tblResult > thead > tr:nth-child(1) {
    border-right: 1px solid #FFFFFF;
}

#tblResult > tbody > tr > th {
    height: 2.5rem;
    font-size: 0.8rem;
    background: #2d3748;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
}

#tblResult > tbody > tr > td {
    height: 1.2rem;
    font-size: 0.8rem;
    background: #ffffff;
    color: #000000;
    border-bottom: 1px solid #2d3748;
    border-right: 1px solid #2d3748;
}

p.buttons {
    margin-top: 1.2rem;
}

/* 랭킹등록 UI */
#rankinfo {
    position: relative;
    width: 100%;
    height: 400px;
    padding: 20px;
    color: #FFFFFF;
    margin: auto;
    overflow-y: auto;
    font-size: 0.8rem;
    line-height: 1.2rem;
    text-align: justify;
    display: none;
}

.rank {
    text-align: center;
}

.rank > form {
    display: inline-flex;
    flex-direction: column;
}

.rank > form > .input-box {
    width: 100%;
    margin: 0px;
    float: left;
    height: 50px;
    border-bottom: 2px solid #FFFFFF;
}

.rank > form > .input-box input {
    width: 100%;
    height: 30px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.0rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0 35px 0 5px;
    margin-top: 20px;
}

#btnSubmit {
    font-size: 1.0rem !important;
    margin-top: 20px;
    width: 100%;
    height: 40px;
}

#rankinfo::-webkit-scrollbar {
    width: 5px;               /* width of the entire scrollbar */
}

#rankinfo::-webkit-scrollbar-track {
    background: transparent;        /* color of the tracking area */
}

#rankinfo::-webkit-scrollbar-thumb {
    background-color: transparent;    /* color of the scroll thumb */
    border-radius: 3px;       /* roundness of the scroll thumb */
    border: 1px solid #F1CAF1FF;  /* creates padding around scroll thumb */
}

/* 랭킹보기 UI */
#viewRanking {
    position: relative;
    width: 90%;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    border:1px solid #FFFFFF;
    padding: 20px;
    color: #FFFFFF;
    margin: auto;
    overflow: hidden;
    display:none;
}

#viewRanking h2 {
    display: inline-block;
    width: 100%;
    font-size: 1.5rem;
    text-align: center;
}

#viewRanking h3 {
    display: inline-block;
    font-size: 1.3em;
    width: 100%;
    text-align: center;
    padding: 10px 0 10px 0;
}

.start { width:100px; height:50px; }
.start1 { width:100%; text-align:center; }
.start1 button {
    margin: 0 10px;
}

.btnRegist { width:80px; height:40px; }

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: white;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: white;
}


#rankinfo::-webkit-scrollbar {
    width: 5px;               /* width of the entire scrollbar */
}

#rankinfo::-webkit-scrollbar-track {
    background: transparent;        /* color of the tracking area */
}

#rankinfo::-webkit-scrollbar-thumb {
    background-color: transparent;    /* color of the scroll thumb */
    border-radius: 3px;       /* roundness of the scroll thumb */
    border: 1px solid #F1CAF1FF;  /* creates padding around scroll thumb */
}


#rankinfo #btnRetry { width: 38%; font-size: 0.8rem; }
#rankinfo #btnHome { width: 38%; font-size: 0.8rem; }

/* 랭킹보기 및 채점결과 테이블  */

#tblRanking { width:100%; border:0px solid #F00; }
#tblRanking th {
    width: 20%;
    height:30px;
    background: #72034e;
    text-align: center;
    font-size: 0.68rem;
}
#tblRanking tbody td {
    text-align: center;
    border-bottom: 1px solid #fcf4fa;
    width: 20%;
    height: 30px;
    font-size: 12px;
    color : #fcf4fa;
}

#tblRanking td.rank_nicname {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tblRanking td.rank_date {
    font-size: 0.7rem;
}


#tblRanking td.in_answer {
    font-size: 0.6rem;
}

#tblRanking td.rightanswer {
    font-size: 0.6rem;
}
