body, html{
 height:100%;
 position:relative;
 width:100%;
 padding:0;
 margin:0;
 font-family:tahoma;
 font-size:12px;
}
*{
  box-sizing:border-box;
  -ms-user-select: none;

/**
 * Для мозилы
 */
-moz-user-select: none;

/**
 * Для конкверора
 */
-khtml-user-select: none;

/**
 * Для Сафари и Хрома
 */
-webkit-user-select: none;
}
.auth{
 margin:0 auto;
 width:400px;
 max-width:80%;
 padding-top:20%;
}
.auth form{
 margin:0;
 padding:15px;
 width:100%;
 border-radius:15px;
 border:1px solid #E5E5E5;
 box-shadow:#CCCCCC 0 0 24px 1px;
}
.auth input[type="text"], .auth input[type="password"]{
 border:none;
 border-bottom:1px solid gray;
 width:100%;
 font-size:18px;
 padding:10px;
 margin-bottom:15px;
 outline:none;
}
.auth input[type="submit"]{
  background:#E5E5E5;
  padding:15px;
  cursor:pointer;
  width:100%;
  border:none;
  border-radius:5px;
}
.auth input[type="submit"]:hover{
  background:gray;
}
.error{
 position:fixed;
 top:0;
 left:0;
 width:100%;
 padding:15px;
 background:red;
 color:#FFF;
 font-weight:bold;
 text-align:center;
}
.top{
  background:#E5E5E5;
  padding:15px;
  position:fixed;
  top:0;
  width:100%;
  z-index:100;
}
.top div{
 display:inline-block;
 width:33%;
 font-size:12px;
 white-space: nowrap;
 overflow: hidden;
}
.terminal{
 text-align:left;
}
.info{
 text-align:center;
}
.timer, .ttimer{
 text-align:right;
}
.menu{
 width:100%;
 padding:15px;
 margin:0;
 list-style:none;
}
.menu li{
 padding:10px 15px;
 float:left;
 font-weight:bold;
 color:#4a78b3;
 margin-right:15px;
 cursor:pointer;
}
.always{
 float:right!important;
 margin-right:0!important;
}
.active, .always{
  background:url("bbg.png") 0% 0 / 100% 100% no-repeat;
  border-radius:5px;
  color:#FFFFFF !important;
} 
#list-cards, #exam-div{
 clear:both;
}
#exam-div{
 padding:15px;
}
.card{
 padding:15px;
 width:20%;
 display:inline-block;
 position:relative;
}
.card-name{
 padding:10px 15px;
 display:block;
 font-weight:bold;
 cursor:pointer;
 white-space:nowrap;
 overflow:hidden;
 position:relative;
}
.per{
  height:36%;
  position:absolute;
  right:25px;
  top:32%;
  color:#FFF;
}
.per div{
 float:right;
 width:5px;
 height:100%; 
 margin-left:5px;
}
.section{
 float:left;
 width:25%;
 padding:5px;
 height:100%;
}
.green, .blue, .purple, .yellow{
 border-radius:15px;
 height:100%;
}
.green{
 border:3px solid green;
}
.blue{
 border:3px solid blue;
}
.purple{
 border:3px solid purple;
}
.yellow{
 border:3px solid yellow;
}
.quest{
 width:100%;
 height:20%;
 position:relative;
 border-left:3px solid #FFF;
 border-right:3px solid #FFF;
 border-top:3px solid #FFF;
 cursor:pointer;
 overflow:hidden;
}
.section .answered{
 background:none;
}
.answered .overlay{
 background:#000;
 opacity:0.6;
}
.overlay{
 width:100%;
 height:100%;
 position:absolute;
}
.quest:hover, .bsel{
 border:inherit!important;
 border-bottom:none!important;
}
.quest img{
  margin-left:10%;
  top:0;
  width:80%;
}
.quest_num{
 position:absolute;
 top:5px;
 left:5px;
}
.quest_text{
  display:block;
  line-height:20px;
  padding:5px;
  text-align:center;
  width:100%;
}

.sep{
 border-bottom:2px solid gray;
}
#wrapper{
 width:100%;
 height:100%;
 padding-top:44px;
}
#content{
 height:100%;
}
#more{
 height:calc(100% - 44px);
 z-index:100;
 position:fixed;
 width:100%;
 background:#FFF;
 top:44px;
 left:0;
 overflow:hidden;
 padding:25px;
}
.text-only{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.text-img{

}
.smallQuests{
 width:100%;
 padding:15px;
}
.bigQuests{
 height:calc(100% - 50px);
}
.smallQuest{
 display:inline-block;
 border:2px solid #E5E5E5;
 padding:7px;
 margin-right:10px;
 border-radius:3px;
}
.big_quest_text{
 padding:10px;
 border-bottom:2px solid #000;
 text-align:center;
 font-size:16px;
 font-weight:bold;
}
.big_answers{
 margin:0 auto;
 width:1000px;
 max-width:100%;
 padding:0 10px;
}
.big_answer{
 border-bottom:2px solid #000;
 padding-bottom:40px;
 font-size:16px;
 padding-top:5px;
 cursor:pointer;
}
.big_answer:hover{
 background:#89ddff;
}
.big_img{
  margin:0 auto;
  width:980px;
  max-width:100%;
  display:block;
}
.qsel{
  background:#00b5ff!important;
}
.qans{
  background:#0085b9;
}
.button{
  background:#00b5ff;
  border-radius:10px;
  padding:15px 30px;
  text-align:center;
  font-size:16px;
  display:inline-block;
  background:url("bt.png") 0% 0 / 100% 100% no-repeat;
  height:75px;
  cursor:pointer;
}
.smallQSel, .answered{
 background:gray;
 border-color:gray;
}
#quest_num_count{
 position:absolute;
 top:10px;
 right:10px;
}
#instruction{
 height:100%;
 width:100%;
 position:fixed;
 top:0;
 left:0;
 background:#FFF;
 z-index:10000;
 cursor:pointer;
 overflow-y:auto;
}
.instruction{ 
  margin:0 auto;
  width:1280px;
  max-width:100%;
  padding:25px;
}
.isright, .iswrong, .noans{
  height:40%;
  left:20%;
  position:absolute;
  text-align:center;
  top:30%;
  width:60%;
  z-index:99;
  padding:10px;
}
.isright{
 background:green;
}
.iswrong{
 background:red;
}
.noans{
 background:yellow;
}
.isrighta{
  background:green;
}
.result{
 position:fixed;
 width:100%;
 height:100%;
 z-index:101;
 top:0;
 left:0;
 background:url('/cards/css/op.png');
}
.y div, .g div, .r div{
 height:30%;
 width:40%;
 left:30%;
 top:35%;
 z-index:102;
 padding:15px;
 cursor:pointer;
 position:fixed;
}

.y div{
 background:yellow;
}
.g div{
 background:green;
}
.r div{
 background:red;
}
.result H1{
 text-align:center;
 margin:0;
 padding:0;
 font-size:40px;
 font-weight:normal;
}
.result p{
 text-align:center;
 font-size:16px;
}
.home{
 text-decoration:none;
 font-weight:bold;
 color:navy;
}
.home:hover{
 color:red;
}
.success{
 background:green;
 color:#FFF;
 text-align:center;
 font-weight:bold;
}
.nov{
 display:none!important;
}
.failed{
 background:red;
 color:#FFF;
 text-align:center;
 font-weight:bold;
}
.wait{
 background:yellow;
 color:#FFF;
 text-align:center;
 font-weight:bold;
}
.comment{
 padding:15px;
} 
.tbl{
 width:100%;
 border-collapse:collapse;
}
.tbl td, .tbl th{
 padding:5px 10px;
 font-size:12px;
 border:1px solid #E5E5E5;
}
.left{
 float:left;
}
.right{
 float:right;
}
@media screen and (max-width: 480px) {
   .section{
    width:100%;
    height:auto;
   } 
   .green, .blue, .purple, .yellow{
    height:auto;
   }
   .quest{
    height:200px;
   } 
   .mob{
    display:none;
   }
   .terminal i{
    font-size:16px;
   }
   .terminal, .ttimer{
    width:15%!important;
   }
   .info{
    width:70%!important;
   }
   .mitem{
    width:100%;
   }
   .always{
    float:left;
    width:100%;
   }
   .card{
    width:100%;
   }
   #more{
    overflow-y: auto;
   }
   .tword{
    display:none;
   }
   .button{
    width:100%;
    display:block;
   }
   .left, .right{
    float:none;
   }
   .y div, .g div, .r div{
 
 width:100%;
 left:0;
 top:0;
 z-index:102;
 padding:15px;
 cursor:pointer;
 position:fixed;
 height:100%;
}
.section{
 width:100%!important;  
}
}