.row-fluid{width:100%;*zoom:1;}
.row-fluid:before,
.row-fluid:after{display:table;line-height:0;content:"";}
.row-fluid:after{clear:both;}
.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
.row-fluid [class*="span"]:first-child{margin-left:0;}
.row-fluid .controls-row [class*="span"] + [class*="span"]{margin-left:2.564102564102564%;}
.row-fluid .span12{width:100%;*width:99.94680851063829%;}
.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%;}
.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%;}
.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%;}
.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%;}
.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%;}
.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%;}
.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%;}
.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%;}
.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%;}
.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%;}
.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%;}
/*Qlib style*/
.quiz-list{
    list-style: none;
    margin-left:0px;
	margin-bottom: 20px;
	float: left;
	width:100%;
}
.view-huongdan{cursor:pointer;}
span.math-rendered{
    font-size: 20px;
}
.blanks .ch_keo{width: 25%;  float: left; }
#question .pd_chkeo{padding: 4px 2px;}
.blanks .ch_keo .ch_tren{ border:1px solid #ddd; padding:5px; text-align: center; margin-bottom: 2px;}
#question .blanks .ch_keo.theodong{width: 100%; }
#question .blanks .ch_keo.theodong .ch_tren{width: 50%; float: left; margin-right:2px; min-height:50px;}
#question .blanks .ch_keo.theodong .ch_duoi{width: 49%; float: left; min-height:50px;}
#question .jdropwords .blanks .ch_keo.theodong .ch_duoi .blank { height: 30px;}
#question .blanks .ch_keo .ch_tren p{text-align:center;}
#question .blanks .ch_keo .ch_tren p img{margin-left: 0px;}
#question .ch_keo .ch_tren img, #question .ch_keo .ch_duoi .cau-tl img, .words img, .ch_duoi .blank.ui-droppable img{max-height: 65px; max-width: 100%;}
#question .quiz-list li, #question .quiz-list li p, #question .quiz-list.loai4 .jdropwords .blanks p{ font-size:16px; margin-bottom: 0px; line-height: 20px;}
.blanks .ch_keo .ch_duoi{border:1px solid #ddd; text-align: center; min-height: 110px;}
.jdropwords .blanks .ch_duoi .blank{height: 60px;}
#question .quiz-list .word.ui-draggable{ margin-bottom:5px;}
#question .quiz-list .word.ui-draggable img, #question .quiz-list .blank.ui-droppable img{padding: 10px 0px;
    margin-left: 0px;}
.blanks .ch_keo .ch_duoi .cau-tl{ font-size:15px;}
.jdropwords .blanks .ch_keo .dropped span {
    padding: 0px 5px;
    line-height: 18px;
}
.loai4 .jdropwords .blanks {
    position: relative;
    border:none;
    padding: 0px; 
}
#take-quiz #toolbox{margin-top:20px;}
#question-panel #question{padding:5px 0px;}
#question .lala p{display: inline;}
#text-talk{cursor: pointer;
    background-color: #01abb3;
    width: 140px;
    padding: 2px 5px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
    border-radius: 4px;}
.qselect{
padding: 7px 0px;
border: solid 1px transparent;
cursor: pointer;
}
.qselect>.qsign{
    display: inline;
	float: left;
    padding-left: 5px;
}
.qselect>.qblock{
    //background-color: #4a6ff3;
    border-radius: 5px;
    //color: #fff;
    cursor: pointer;
    margin: 5px;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    display: inline-flex;
    margin: 10px;
}
.qselect>.qblock:hover{
    border: solid 1px #43a047;
    background-color: #f3fff3;
}
.qchecked>.qblock{
    border: solid 1px #43a047;
    background-color: #f3fff3;
}
.qselect>.qimage:hover{
    background: #a6ffaa;
}
.qchecked>.qimage{
    background: #a6ffaa;
}
.qselect>.qimage{
    padding: 10px 0px;
    padding: 10px 0px;
    text-align: center;
    margin: 10px;
    border-radius: 5px;
}
.qcorrect>.qimage{
    background: #a6ffaa;
}
.mark{
    line-height: 30px;
    height: 31px;
    width: 31px;
    text-align: center;
    border-radius: 18px;
    display: inline-block;
    border: solid 1px #eee;
    margin-right: 3px;
    background: none;
    color: #bdbdbd;
	float: left;
}
.qchecked>.qsign{ color: #40a044; }
.qchecked .mark{
    border: solid 1px #1d89c2;
    color: #fff;
    background-color: #37a5df;
}
.qchecked.qtlsai .mark{
    border: solid 1px #ca3927;
    background-color: #dd4b39;
}
.qchecked.qtlsai .qsign {
    color: #dd4b39;
}

/*NEW*/

.correctx{
    color: #8de04c;
}
.correctx:after{
    content: url(icons/correctx.png);
    position: absolute;
    margin-top: -10px;
    margin-left: 0px;
    z-index: 100;
}
.xcorrect:after{
    content: url(correct.png);
    position: absolute;
    margin-top: -10px;
    margin-left: 0px;
    z-index: 100;
}
.xwrong:after{
    content: url(wrong.png);
    position: absolute;
    margin-top: -10px;
    margin-left: 0px;
    z-index: 100;
}
.ocorrect{
    color: #48ad1f !important;
    border: 1px solid #14a51e !important;
    background: url(correct.png) no-repeat top right;
    z-index: 100;
}
.owrong{
    color: #ff5520 !important;
    border: 1px solid #ff7847 !important;
    background: url(wrong.png) no-repeat top right;
    z-index: 100;
}
.qcorrect .mark{
    border: solid 1px #2bc53e;
    color: #fff;
    background-color: #42a90e;
}
.admin-edit{
    float: right;
    padding: 0 10px;
}
.quiz-list>li{
    margin-top: 24px;
}
.limit{
    font-size: 14px;
    font-style: italic;
    color: #0088cc;
}
.limit-up{
    font-size: 14px;
    font-style: italic;
    color: #f70606;
    font-weight: 600;
}
/**/
#question p, #question{
	text-align: left;
    font-size: 18px;
}
#question p>img{
    margin-left: 10px;
    max-width: 500px;
}
/*Quiz*/
.abso{
    position: absolute;
}
.qcheckbox{
 //   background-color: #fafafa;
 //   border: 1px solid #cacece;
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 12px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    margin-right: 3px;
    top: 3px;
}
.qchecked>.qcheckbox:after{
    content: '\2714';
    font-size: 24px;
    position: absolute;
    top: -4px;
    left: 3px;
    color: #4caf50;
   // padding: 6px;
}
.qcorrect>.qcheckbox:after{
    content: '\2714';
    font-size: 24px;
    position: absolute;
    top: -4px;
    left: 3px;
    color: #4caf50;
   // padding: 6px;
}
.qiradio{
    -webkit-appearance: none;
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 12px;
    border-radius: 50px;
    display: inline-block;
    position: relative;
    margin-right: 3px;
    top: 3px;
}
.qchecked>.qiradio:after{
    content: ' ';
    width: 18px;
    height: 18px;
    border-radius: 50px;
    position: absolute;
    top: 3px;
    background: #4caf50;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3);
    text-shadow: 0px;
    left: 3px;
    font-size: 32px;
}
.qcorrect>.qiradio:after{
    content: ' ';
    width: 18px;
    height: 18px;
    border-radius: 50px;
    position: absolute;
    top: 3px;
    background: #24d44b;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3);
    text-shadow: 0px;
    left: 3px;
    font-size: 32px;
}
.qcorrect>.qsign{ color: #40a044; }
.qcorrect>.qblock {
    background: url(qcorrect.png) no-repeat, #f3fff3;
    background-position: right top;
    border: solid 1px #43a047;
}
.fill-me input{
    font-size: 22px;
    color: blue;
    text-align: center;
    background: #fff7da;
}
.guide-toggle{
    color: #a09a9a;
    text-decoration: none;
}
.guide{
    font-size: 14px;
    color: #a09a9a;
    margin-top: 15px;
}
.guide-more li{
    line-height: 26px!important;
}
.selectpoint{
    border: 2px solid #41b0e8!important;
}
.dragtext{
    border: 1px dotted #5cb1dc;
    background-color: #dff4ff;
    padding: 2px 4px;
    min-width: 40px;
    height: 30px;
    display: inline-flex;
    text-align: center;
    line-height: 30px;
}
.dragtext>.drag-select{
    width: 100%;
    height: 100%;
    line-height: 26px;
    padding-left: 5px;
}
.dragmore{
    border: 1px dotted #5cb1dc;
    background-color: #dff4ff;
    padding: 4px 4px;
    min-width: 40px;
    min-height: 25px;
    display: inline-block;
    text-align: center;
   // line-height: 30px;
}
.dragmore>.drag-select{
    width: 100%;
    height: 100%;
}
.item-drag>.drag-select{
    margin: 5px 5px;
    padding: 4px;
    display: inline-block!important;
}
.drag-select{
    cursor: move;
    display: inline-block;
    border: 2px dotted #aaa;
    background-color: #fff;
    z-index: 10;
}
.merge-two-columns{
    display: table;
    border-collapse: separate;
    border-spacing: 0 1em;
    padding: 0.35em 2em 0 2em;
    //width: 100%;
}
.two-column-row{
    display: table-row;
}
.two-column-left{
    display: table-cell;
    vertical-align: middle;
    width: 45%;
    padding: 0.7em 1em;
    background: transparent;
    text-align: center;
    border: 2px solid #1e9ad6;
    min-height: 2.7em;
}
.two-column-middle{
    padding: 0 2px;
    min-width: 2.5em;
    display: table-cell;
    vertical-align: middle;
}
.two-middle-line{
    border-bottom: 0.36em solid #1e9ad6;
    width: 100%;
    position: relative;
}
.two-middle-line:before,.two-middle-line:after{
    position: absolute;
    content: ' ';
    height: 0;
    width: 0;
    top: -0.15em;
    border: 0.4em solid #1e9ad6;
    border-radius: 50%;
}
.two-middle-line:before{
    left: -0.1em;
}
.two-middle-line:after{
    right: -0.1em;
}
.two-column-right{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 45%;
    border-color: #1e9ad6;
    background-color: #ffffff;
    border: 2px dashed #1e9ad6;
    min-height: 2em;
    min-width: 2em;
}
.two-column-right>.drag-select{
    width: 100%;
    height: 100%;
    padding-left: 8px;
}
.sortable-list{
    list-style: none;
}
.sortable-list .sortable{
    min-height: 40px;
    line-height: 30px;
    display: inline-table;
    //display: table;
   // padding-right: 10px;
   // width: 92%;
    font-weight: normal;
   // height: 1.5em;
}
.sortable-list .vertical{
    display: table;
    width: 96%;
}
.sortable-list .horizon{
    padding-right: 8px;
   // display: inline-block;
    min-width: 100px;
    text-align: center;
    float: left;
}
.ui-sort-highlight { height: 40px; line-height: 30px; }
.sortable{
    margin: 5px 5px 10px 3px;
    padding-left: 10px;
    height: 18px;
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
    cursor: move;
}
.question-board{
    width: 100%;
    //height: 300px;
    position: relative;
    //margin-left: 50px;
    //margin-top: 50px;
    min-height: 200px;
}
.canvas-board{
    position: absolute;
    //z-index: -99;
    //width: 100%;
    //height: 100%;
}
.text-board{
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    display: table;
    border-collapse: separate;
    border-spacing: 0 1em;
   // padding: 0.35em 2em 0 2em;
}
.row-board{
    display: table-row;
}
.row-board .boxlink{
    display: table-cell;
    vertical-align: middle;
    width: 40%;
    padding: 0.7em 1em;
    background: transparent;
    text-align: center;
    border: 1px solid #939393;
    min-height: 2.7em;
}
.row-board .middle{
    display: table-cell;
    width: 20%;
}
.row-board .boxlink:hover{
    background-color: #ddd;
}
.select-text{
    cursor: pointer;
}
.under-mark{
    border-bottom: 2px solid #3734e0;
    background: #d6d5fb;
    padding: 02px;
}
.group-item{
    list-style: none;
/*    display: -webkit-inline-box;
    display: inline-block;*/
    display: block;
    width: 100%;
    padding: 5px!important;
}
.group-item>li, .item-in>li{
    margin-right: 10px;
}
.item-drag{
    text-align: center;
    border: solid 1px #82b5ce;
    border-radius: 3px;
    padding: 5px;
    background: #bae1f5;
    display: block;
    min-height: 44px;
}
.a-item{
    padding: 4px;
    display: inline-block;
    float: left;
    position: relative;
}
.drop-into{
    background: #d9daff;
    margin-top: 20px;
    border: 1px solid #c3c5f9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.drop-into h2{
    color: #5f61c7;
    text-align: center;
    font-size: 24px;
}
.drop-into .item-in{
    min-height: 168px;
    background-color: #fff;
    margin: 8px 10px 10px 10px;
    padding: 5px;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
}
.drop-into .item-in li{
    margin-bottom: 5px;
}
.under-line{
    cursor: pointer;
}
.select-option{
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    font-size: 22px;
    color: #0088cc;
}
/*Merge - Matched*/
.merge-board{
    width: 100%;
    height: 100%;
}
.merge-row{
    display: block;
    width: 100%;
    margin: 20px;
}
.merge-row > .block{
    position: relative;
    display: inline-block!important;
    //vertical-align: middle;
    width: 45%;
   // padding: 0.7em 1em;
    background: transparent;
    text-align: center;
    //border: 1px solid #939393;
   // min-height: 2.7em;
   vertical-align: middle;
}
.merge-row>.right{
    margin-left: 15px;
    //background: #fff;
}
.merge-row>.left{
    margin-right: 15px;
    //background: #fff;
}
.merge-row .svg{
    position: absolute;
}
.merge-row .merge-ct{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    text-align: center;
    padding: 8px 20px;
    min-height: 50px;
}
.merge-hover{
    color: blue;
}
.left svg>.fill {
    fill: #ffd362;
}
.right svg>.fill {
    fill: #8ec8ff;
}
svg>.fill:hover{
    stroke: chocolate;
}

/*Spin*/
@keyframes lds-spin {
    0% {
    opacity: 1;
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
    }
    100% {
    opacity: 0;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    }
}
@-webkit-keyframes lds-spin {
0% {
opacity: 1;
-webkit-transform: scale(1.1, 1.1);
transform: scale(1.1, 1.1);
}
100% {
opacity: 0;
-webkit-transform: scale(1, 1);
transform: scale(1, 1);
}
}
.lds-spin {
position: relative;
}
.lds-spin div > div {
position: absolute;
width: 40px;
height: 40px;
border-radius: 50%;
background: #ffc53b;
-webkit-animation: lds-spin 1s linear infinite;
animation: lds-spin 1s linear infinite;
}
.lds-spin div:nth-child(1) > div {
left: 140px;
top: 80px;
-webkit-animation-delay: -0.875s;
animation-delay: -0.875s;
}
.lds-spin > div:nth-child(1) {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transform-origin: 160px 100px;
transform-origin: 160px 100px;
}
.lds-spin div:nth-child(2) > div {
left: 122.42640685999999px;
top: 122.42640685999999px;
-webkit-animation-delay: -0.75s;
animation-delay: -0.75s;
}
.lds-spin > div:nth-child(2) {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transform-origin: 142.42640686px 142.42640686px;
transform-origin: 142.42640686px 142.42640686px;
}
.lds-spin div:nth-child(3) > div {
left: 80px;
top: 140px;
-webkit-animation-delay: -0.625s;
animation-delay: -0.625s;
}
.lds-spin > div:nth-child(3) {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
-webkit-transform-origin: 100px 160px;
transform-origin: 100px 160px;
}
.lds-spin div:nth-child(4) > div {
left: 37.57359314px;
top: 122.42640685999999px;
-webkit-animation-delay: -0.5s;
animation-delay: -0.5s;
}
.lds-spin > div:nth-child(4) {
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
-webkit-transform-origin: 57.57359314px 142.42640686px;
transform-origin: 57.57359314px 142.42640686px;
}
.lds-spin div:nth-child(5) > div {
left: 20px;
top: 80px;
-webkit-animation-delay: -0.375s;
animation-delay: -0.375s;
}
.lds-spin > div:nth-child(5) {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
-webkit-transform-origin: 40px 100px;
transform-origin: 40px 100px;
}
.lds-spin div:nth-child(6) > div {
left: 37.57359314px;
top: 37.57359314px;
-webkit-animation-delay: -0.25s;
animation-delay: -0.25s;
}
.lds-spin > div:nth-child(6) {
-webkit-transform: rotate(225deg);
transform: rotate(225deg);
-webkit-transform-origin: 57.57359314px 57.57359314px;
transform-origin: 57.57359314px 57.57359314px;
}
.lds-spin div:nth-child(7) > div {
left: 80px;
top: 20px;
-webkit-animation-delay: -0.125s;
animation-delay: -0.125s;
}
.lds-spin > div:nth-child(7) {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
-webkit-transform-origin: 100px 40px;
transform-origin: 100px 40px;
}
.lds-spin div:nth-child(8) > div {
left: 122.42640685999999px;
top: 37.57359314px;
-webkit-animation-delay: 0s;
animation-delay: 0s;
}
.lds-spin > div:nth-child(8) {
-webkit-transform: rotate(315deg);
transform: rotate(315deg);
-webkit-transform-origin: 142.42640686px 57.57359314px;
transform-origin: 142.42640686px 57.57359314px;
}
.lds-spin div:nth-child(9) > div {
left: 140px;
top: 80px;
-webkit-animation-delay: 0.125s;
animation-delay: 0.125s;
}
.lds-spin > div:nth-child(9) {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-webkit-transform-origin: 160px 100px;
transform-origin: 160px 100px;
}
.lds-spin {
width: 168px !important;
height: 168px !important;
-webkit-transform: translate(-84px, -84px) scale(0.84) translate(84px, 84px);
transform: translate(-84px, -84px) scale(0.84) translate(84px, 84px);
}
/*End Spin*/

@font-face {
    font-family: 'TieuHoc';
    src: url('fonts/HP001_4_hang_normal.eot');
    src: url('fonts/HP001_4_hang_normal.eot') format('embedded-opentype'),
         url('fonts/HP001_4_hang_normal.woff2') format('woff2'),
         url('fonts/HP001_4_hang_normal.woff') format('woff'),
         url('fonts/HP001_4_hang_normal.ttf') format('truetype'),
         url('fonts/HP001_4_hang_normal.svg#HP001_4_hang_normal') format('svg');
         
}
@font-face {
    font-family: 'TieuHocLine';
    src: url('fonts/HP001_5_hang_1_o_ly.eot');
    src: url('fonts/HP001_5_hang_1_o_ly.eot') format('embedded-opentype'),
         url('fonts/HP001_5_hang_1_o_ly.woff2') format('woff2'),
         url('fonts/HP001_5_hang_1_o_ly.woff') format('woff'),
         url('fonts/HP001_5_hang_1_o_ly.ttf') format('truetype'),
         url('fonts/HP001_5_hang_1_o_ly.svg#HP001_5_hang_1_o_ly') format('svg');
}
/*Ubaplayer*/
#ubaplayer-fallback {
    display: none;
}

.ubaplayer-button {
    background: url("btn.png") no-repeat 0 7px;
    //display: block;
    cursor: pointer;
    margin: 0;
    padding: 0px 0px 10px 25px;
    position: relative;
    width: 200px;
}

.ubaplayer-button:hover {
    background-position: 0 -33px;
}

.ubaplayer-button.ubaplayer-playing {
    background-position: 0 -73px;
}

.ubaplayer-button.ubaplayer-playing:hover {
    background-position: 0 -113px;
}

.ubaplayer-button.ubaplayer-loading:after,
.ubaplayer-button.ubaplayer-loading:hover:after {
    background: url("loading.gif") no-repeat 0 7px;
    content: " ";
    height: 28px;
    left: 0;
    position: absolute;
    text-indent: 0!important;
    top: 0;
    width: 20px;
}

#ubaplayer {
    display: none;
}
.reading-in{
    display: block;
    border: solid #62db26 2px;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 5px;
    background: #edffe4;
}
/*Flashcard*/
.card {
  color: #f3e4d0;
  font-family: 'Fira Sans', sans-serif;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transform-origin: 100% 50%;
          transform-origin: 100% 50%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.49, 0.23, 0.58, 0.49);
  transition: -webkit-transform 0.6s cubic-bezier(0.49, 0.23, 0.58, 0.49);
  transition: transform 0.6s cubic-bezier(0.49, 0.23, 0.58, 0.49);
  transition: transform 0.6s cubic-bezier(0.49, 0.23, 0.58, 0.49), -webkit-transform 0.6s cubic-bezier(0.49, 0.23, 0.58, 0.49);
}
.card.flipped {
  -webkit-transform: translateX(-100%) rotateY(-180deg);
          transform: translateX(-100%) rotateY(-180deg);
}

.card-front,
.card-back {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  background: -webkit-repeating-linear-gradient(315deg, rgba(0, 0, 0, 0.3), transparent 1px, rgba(0, 0, 0, 0.3) 2px);
  background: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent 1px, rgba(0, 0, 0, 0.3) 2px);
  background-size: 3px 3px;
  background-color: #f89406;
  border-radius: 1px;
  box-shadow: 0px -6px 8px 0px rgba(0, 0, 0, 0.1), 0px 6px 8px 0px rgba(0, 0, 0, 0.1), 6px 0px 8px 0px rgba(0, 0, 0, 0.1), -6px 0px 8px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 100%;
  left: 0;
  padding: 5%;
  position: absolute;
  top: 0;
  width: 100%;
}

.card-back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.card-back .layer {
  background: -webkit-repeating-linear-gradient(315deg, rgba(76, 71, 31, 0.3), transparent 1px, rgba(76, 71, 31, 0.3) 2px);
  background: repeating-linear-gradient(135deg, rgba(76, 71, 31, 0.3), transparent 1px, rgba(76, 71, 31, 0.3) 2px);
  background-size: 3px 3px;
  background-color: #f3e4d0;
  color: #302f34;
  height: 100%;
  position: relative;
  width: 100%;
}
.card-back .layer:after {
  background: -webkit-linear-gradient(315deg, rgba(0, 0, 0, 0.2), transparent);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent);
  content: '';
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.card-front .layer {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
              text-align: center;
  position: relative;
  width: 100%;
}
.card-front .layer .corner {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-right: 2px solid #f3e4d0;
  border-top: 2px solid #f3e4d0;
  height: 12px;
  position: absolute;
  width: 12px;
}
.card-front .layer .corner:nth-of-type(1) {
  right: 0;
  top: 0;
}
.card-front .layer .corner:nth-of-type(2) {
  left: 0;
  top: 0;
  -webkit-transform: rotateZ(-90deg);
          transform: rotateZ(-90deg);
}
.card-front .layer .corner:nth-of-type(3) {
  bottom: 0;
  left: 0;
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}
.card-front .layer .corner:nth-of-type(4) {
  bottom: 0;
  right: 0;
  -webkit-transform: rotateZ(90deg);
          transform: rotateZ(90deg);
}
.card-front .footer{
    font-size: 10px;
    text-align: center;
    bottom: 16px;
    position: relative;
}
.layer>div{padding: 10px;}
.cardwrap{
  -webkit-box-align: center;
  -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.cardwrap::-webkit-scrollbar {
  display: none;
}
.flashcard {
  //height: 271.76471px;
  //max-width: 420px;
  height: 280px;
  max-width: 460px;
  -webkit-perspective: 600px;
          perspective: 600px;
  position: relative;
  width: 100%;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}
/*End flashcard*/
.theory>h2{
    color: #e84f46;
}
.theory-in>h2{
    color: #f89406;
}
.theorycal{
    float: right;
}
.theorycal>.right {
    background: #11af33;
    color: #fff;
    padding: 4px 15px;
    border-radius: 30px 0px;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)  {
    .ubaplayer-button {
        background-position: 0px -70px;
        background-size: 20px 250px;
    }

    .ubaplayer-button:hover {
        background-position: 0 -107px;
    }

    .ubaplayer-button.playing {
        background-position: 0 -144px;
    }

    .ubaplayer-button.playing:hover {
        background-position: 0 -180px;
    }
}
/*End Ubaplayer*/
/*Simple Player*/
.simple-player-container {
    display: inline-block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    //padding: 0 0px 5px 5px;
}
.simple-player-container > div > ul {
    margin: 0;
    padding-left: 0;
}
.simpleplayer-play-control {
    background-image: url('images/play.png');
    display: block;
    width: 20px;
    height: 20px;
    bottom: -1px;
    position: relative;
}
.simpleplayer-play-control:hover {
    background-image: url('images/playing.png');
}
.simpleplayer-stop-control {
    background-image: url('images/stop.png');
    display: block;
    width: 20px;
    height: 20px;
    bottom: -1px;
    position: relative;
}
.simpleplayer-stop-control:hover {
    background-image: url('images/stoped.png');
}
/*End Simple Player*/

/*Katex*/
.katex .rlap>.inner {
    left: 13px;
}