/*
Copyright(c) 2019-2020 All Rights Reserved

Unauthorized copying, via any medium is strictly prohibited
Proprietary and confidential
*/

* {
    padding: 0;
    margin: 0;
} 

body {
    background: #fff;
    font: 1em sans-serif;
}

pre {
	font: 1em sans-serif;
    white-space: pre-wrap;
}

a {
	color: #666666ff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

input{
    width:10em;
}

textarea {
    width:10em;
}

button{
    padding-left: .5em;
    padding-right: .5em;
    margin-right: .5em;
}


.content {
    overflow:hidden;

    width: 100%;
/*    height: 100vh;*/
    height: 100%;
    flex-direction: column;
}

.menu-menu {
    position:fixed;
    left:0;    
/*    width:50%;*/
    width:15em;
    height:100%;
    top:0;
    overflow:auto;
    background-color: #ffffff;
    box-shadow: 0.1em 0.1em 0.5em 0 rgba(0, 0, 0, 0.4);
    z-index:3;
    
}

.menu-item-on {
    background-color: #f2f2f2ff;
    width:100%;
    height:3em;
    display: flex;
    align-items: center;
}

.menu-item-off {
    background-color: white;
    width:100%;
    height:3em;
    display: flex;
    align-items: center;
}

.menu-item-split {
    background-color: white;
    width:100%;
    height:1.5em;
    display: flex;
    align-items: center;
}

.menu-item-split-line {
    background-color: #dbdcdfff;
    width:100%;
    height:0.068em;
}

.menu-item-img {
    position:absolute;
    left:1.3em;    
    height: 1.4em;
}

.menu-item-text {
    position:absolute;
    left:3.5em;
    font-size: 1.1em;
	color: #666666ff;
}

.menu-bg {
    position:fixed;
    left:0;    
    width:100%;
    height:100%;
    top:0;
    background-color: #fafbffbb;
    z-index:2;
}


.menu-wrapper {
    position:fixed;
    left:0;    
    width:100%;
    height:100%;
    top:0;
    background-image: url("../images/logo-bg.png");
    background-repeat: repeat;
    background-size: 7em;
}

.header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    /*height:8vh;*/
    height:8%;
    box-sizing: border-box;
    /*border-bottom: 0.068em solid #dbdcdfff;*/
}

.header-transparent {
    background:none;
    display: flex;
    align-items: center;
    /*height:8vh;*/
    height:8%;
    box-sizing: border-box;
    /*border-bottom: 0.068em solid #dbdcdfff;*/
}

.header-menu-button {
    /* 66px in inkscape */
    height:1.5em;
    
    /* 70.53px in inkscape*/
    padding-left: 1.6em;
    
    /* 94.11px in inkscape*/
    padding-right: 2.139em;   
    z-index:1;
}

.header-back-button {
    /* 66px in inkscape */
    height:1.5em;
    
    padding-top:1.5em;
    
    /* 70.53px in inkscape*/
    padding-left: 1.6em;
    
    /* 94.11px in inkscape*/
    padding-right: 2.139em;   
    z-index:1;
}

.header-brand {
	font-size: 1.8em;
	color: #666666ff;
    font-weight:normal;
}

.header-debug {
    color: #666666ff;
    visibility:hidden;
}

.menu { 
	padding-top: 0em;
}
	
.middle-with-footer {
    overflow-y: auto;
	text-align: justify;
    height:85%;
    /*border-bottom: 0.068em solid #dbdcdfff;*/
    box-sizing: border-box;
}

.middle {
    overflow-y: auto;
	text-align: justify;
    height:92%;
    /*border-bottom: 0.068em solid #dbdcdfff;*/
    box-sizing: border-box;
}

.middle-no-left-margin{
    margin-left: 0;
}

.loading-fg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index:1000;
    background-color: #00000000;
}

.statistics {
    /*border-bottom: 0.068em solid #dbdcdfff;*/
    width:100%;
    display: table;
}

.statistics-level {
    width:3.0em;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #666666ff;
    /*48.29268265pt*/
    font-size:1.68061019em;
    padding-left: 0.2em;
}

.statistics-bars {
    display: table-cell;
    vertical-align: middle;
    padding-right: 1em;
}

.titlescreen {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0%;
}

.titlescreen-box {
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;
}

.titlescreen-box2 {
    width:100%;
    text-align: center;  
}

.titlescreen-logo {
    max-height:50vh;
    max-width:100%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.titlescreen-login-padding {
    margin: 0.7em;
    display:block;
}

.titlescreen-green-button {
    width:100%;
    padding: 0.21em;
    border-radius: 16px;
    border:none;
    display:flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #b6b7ba9b;
    color: white;
    font-size:1.68061019em;
    background-color: #24cc00ff;
    box-sizing:border-box;
}

.titlescreen-grey-button {
    width:100%;
    padding: 0.21em;
    border-radius: 16px;
    border:none;
    display:flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #b6b7ba9b;
    color: white;
    font-size:1.68061019em;
    background-color: #888888ff;
    box-sizing:border-box;
}

.titlescreen-register-message{
    color: #666666ff;
    font-size:1.68061019em;
}

.ui-input {
    width:100%;
    padding: 0.21em;
    border-radius: 16px;
    border: 0.03em solid #dbdcdfff;
    display:flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #b6b7ba9b;
    color: #666666ff;
    font-size:1.68061019em;
    box-sizing:border-box;
}

.question {
    width:100%;
}

.question-padding {
    margin: 0.7em;
}

.question-padding-wrong {
    margin: 0.7em;
}

.question-box {
/*    min-height:33.6979167vh;*/
    min-height:20vh;
    padding: 0.21em;
    border: 0.03em solid #dbdcdfff;
    border-radius: 16px;
    display:flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: #666666ff;
    font-size:1.68061019em;
    background: white;
}

.question-box-short {
/*    min-height:33.6979167vh;*/
    min-height:10vh;
    padding: 0.21em;
    border: 0.03em solid #dbdcdfff;
    border-radius: 16px;
    display:flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: #666666ff;
    font-size:1.68061019em;
    background: white;
}

/*.sentence-legal {
    font-size:0.5em;
    text-align: right;
    color:#666666ff;
    padding-right:2em;
}*/

.question-text-clone{
    color: #666666ff;
    font-size:1.68061019em;
}

.question-answer {
/*    height:6.5vh;*/
    padding: 0.21em;
    border-radius: 16px;
    display:flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
}

.question-answers > .question-padding:nth-child(1) {
    margin-top: 0;
}

.question-padding:nth-child(1) > .question-answer {
    background-color: #24cc00ff;
}
.question-padding:nth-child(2) > .question-answer {
    background-color: #cc0000ff;
}
.question-padding:nth-child(3) > .question-answer {
    background-color: #00c3ccff;
}
.question-padding:nth-child(4) > .question-answer {
    background-color: #ab00ccff;
}

.question-padding > .sentence-legal {
    font-size:0.5em;
}

.question-padding-wrong > .sentence-legal {
    font-size:0.5em;
}

.question-padding-wrong > .question-answer {
    background-color: #dbdcdfff;
}

.question-answer-img {
    height: 1.3em;
    vertical-align: text-bottom;
}

.question-submit-button {
    padding: 0.21em;
    padding-top:0.35em;
    padding-bottom:0.35em;
    border-radius: 16px;
    display:flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #c6c6c6;
    color: white;
    font-size:1.68061019em;
    background-color: #24cc00ff;
}

.question-scramble-divider {
    margin:0.3em;
}

.question-scramble-divider-scramble-list {
    margin:0.3em;
    margin-top:2.5em;
    margin-bottom:2.5em;
}

.question-scramble-correct-answer {
    font-size:1.68061019em;
    color: red;
    margin:0.3em;
}

.question-scramble-word {
    padding: 0.35em;
    
    margin:0.2em;
    display:inline-block;
    border-radius: 0.4em;
    /*display:flex;*/
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #c6c6c6;
    color: white;
    font-size:1.68061019em;
    background-color: #24cc00ff;
}

.study-correct-answer{
    position:fixed;
    font-size:1.68061019em;
    color: red;
    top:-100em;
}

.study-tick-img {
    position:fixed;
    width:4em;
    clip-path: inset(0 4em 0 0);
    -webkit-clip-path: inset(0 4em 0 0);
}

.study-cross-img {
    position:fixed;
    width:4em;
    clip-path: inset(0 4em 0 0);
    -webkit-clip-path: inset(0 4em 0 0);
}

.study-play-img {
    width: 1.3em;
    vertical-align: text-bottom;
}

.study-not-ready-text {
    font-size: 1.5em;
	color: #666666ff;
}

.tutor-mode-text{
    margin: 0.5em;
    color: #666666ff;
    font-size:1.68061019em;
}

.footer {
    height:7%;
    display:flex;
    align-items: center;
    background-color: #ffffff;
}

.footer-table {
    display: table;
    table-layout: fixed;
    width:100%; 
}

.footer-cell {
    display: table-cell;
}

.footer-cell-center {
    display:flex;
    justify-content: center;
    text-align: center;  
}

.footer-cell-center-center {
    display:flex;
    justify-content: center;
}

.footer-button-img {
    display:block;
    height: 1em
}

.footer-button-text-on {
    color:#00875fff;
}

.footer-button-text-off {
    color:#666666ff;
}

.progressbar {
    /*1.002px*/
    border: 0.022730753em solid #666666ff;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    height:1.391725507em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.test-progressbar {
    /*1.002px*/
    border: 0.022730753em solid #666666ff;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    height:1.391725507em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.progressbar-progress {
    border-radius: 16px;
    position: absolute;
    height:100%;
    
}

.progressbar-text{
    color: #666666ff;
    /*28.17px*/
    padding-left:0.439047214em;
    /*36.09635353pt*/
    font-size:1.256171665em;
}

.progressbar-white {
    background: white;
    border-radius: 16px;
    position: absolute;
    height:100%;
    width:100%;
}

.progressbar-center {
    border-radius: 16px;
    position: absolute;
    height:100%;
    width:100%;
    text-align: center;
}

.progressbar-center-text{
    color: #666666ff;
    /*36.09635353pt*/
    font-size:1.256171665em;
}




.right {
	display:none;
}

.right ul {
	padding: 1.5em 0 1.5em 0px;
	margin:0;
}

.right li {
	margin-bottom:0.5em;
	list-style-type: none;
	color: #3B6EBF;
}

.middle h2 {
	color: #3B6EBF;
	font-size: 1.4em;
}

.topic {
    margin-bottom:0.5em;
}

.topic-left{
    color: #666;
    float:left;
    font-weight: bold;
    text-align:center;
    padding-right:1.0em;
}

.topic-left-mod{
    cursor:pointer;
}

.topic-status{
	color: #666;
    font-size:80%;
}

.topic-status-likes{
    font-size:120%;
}

.topic-status a {
	color: #666;
}

.topic-options{
	font-weight: bold;
}

.topic-comment-input{
    margin-left:1.5em;
}

.right h2 {
	color: #3B6EBF;
	font-size: 1.4em;
	margin-top: 0em;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index:1000;
    background-color: #fafbffbb;
    
    display:flex;
    justify-content: center;
    align-items: center;
}

/*.modal-dialog{
    width: auto;
    max-width: 100%;
    padding:0.5em;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    background-color: #fefefe;
    border: 0.001em solid black;
    overflow: auto;
    max-height:100%;
}*/

/*@media screen and (min-width: 28.75em) {
    .modal-dialog{
        width: auto;
        max-width: 50%;
        padding:0.5em;
        margin-top: 1em;
        margin-right: auto;
        margin-bottom: 1em;
        margin-left: auto;
        background-color: #fefefe;
        border: 0.001em solid black;
        overflow: auto;
        max-height:90%;
    }
}*/

.modal-dialog{
    
    width: auto;
    /*max-width: 10%;*/
    height:auto;
    /*max-height: 10%;*/
    
    padding:0.5em;
    
    background-color: #fefefe;

        
    /*border: 0.03em solid #dbdcdfff;*/
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;        
}

.modal-dialog-content{
    overflow: auto;
    max-width: 90vw;
    min-width: 12em;
    max-height: 80vh;
}

.modal-dialog-title{
    font-weight:bold;
}

.modal-dialog-textline{
    white-space: pre-wrap;
    /*font-size: 0.8em;*/
    font-size:1.256171665em;
    line-height: 1.2em;
}

.modal-close-button{
    float:right;
    margin-right:0;
}

.model-dialog-buttons{
    display: flex;
}

.modal-alert-ok-button{
    width: 100%;

    padding: 0.21em;
    border-radius: 16px;
    display:flex;
    justify-content: center;
    align-items: center;
    
    
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
    background-color: #188800ff;
}

.modal-confirm-ok-button{
    width: 50%;
    padding: 0.21em;
    border-radius: 16px;
    display:inline-block;
    justify-content: center;
    text-align: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
    background-color: #188800ff;
}

.modal-confirm-cancel-button{
    width: 50%;
    padding: 0.21em;
    border-radius: 16px;
    display:inline-block;
    justify-content: center;
    text-align: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
    background-color: #880000ff;
}

.admin-table td{
    border: 0.001em solid black;
    padding:0.5em;
}

.help-wrapper {
    padding: 0.6em;
    position:fixed;
    width:100%;
    /*height:100%;*/
    bottom:0;
    z-index:4;
    box-sizing: border-box;
}

.help {
    padding: 0.21em;
    border: 0.03em solid #dbdcdfff;
    border-radius: 16px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: #666666ff;
    font-size:1.11em;
    background-color: white;   
}

.help-contents{
    padding: 1.2em;
    padding-bottom: 0;
    display:block;
}

.help-contents-no-dots{
    padding: 1.2em;
    display:block;
}

.help-bg {
    position:fixed;
    left:0;    
    width:100%;
    height:100%;
    top:0;
    background-color: #fafbffbb;
    z-index:2;
}

.help-dots {
    display:block;
}

.help-dot {
    height: 0.4em;
    margin:0.2em;
    margin-bottom: 0.8em;
    margin-top: 0.8em;
    vertical-align: text-bottom;
}

.tutorial-arrow-left-img {
    position:fixed;
    height:2em;
    z-index:3;
}

.tutorial-arrow-down-img {
    position:fixed;
    width:2em;
    z-index:3;
}

.stats-wrapper {
    padding: 0.6em;
    width:100%;
    box-sizing: border-box;
}

.stats-border{
    padding: 0.21em;
    border: 0.03em solid #dbdcdfff;
    border-radius: 16px;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: #666666ff;
    font-size:1.11em;
    background-color: white;   
}

.stats-flex-column {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-graph-img{
    box-sizing: border-box;
    width:100%;
    height:10em;
    padding: 1.2em;
    padding-bottom: 0em;
}

.stats-flex-row {
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    padding:0.5em;
}

.stats-flex-row-levels {
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    padding:0.5em;
    padding-top: 0;
}

.stats-num{
    
    /*flex:1 1 0;*/
    text-align: right;
}

.stats-label{
    padding-left:0.5em;
    /*flex:4 1 0;*/
    text-align: left;
}

.stats-header-wrapper {
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    padding:0.5em;
    padding-bottom: 0;
}

.stats-level-table-header{
    text-align: right;
    padding-right: 0.5em;
}

.stats-header{
    font-size: 1.0em;
    padding-bottom: 0.5em;
}

.stats-sentence{
    font-size: 0.8em;
}

.leaderboard-table{
    width:100%;   
}

.leaderboard-table-td{
    vertical-align: top;
    white-space: nowrap;
}

.leaderboard-table-td:nth-child(1) {
    width:2em;
}

