html, body{
  height:100%;
  text-rendering: optimizeLegibility;
}

body {
	margin: 0;
	padding:0;
	background-color: #F8F9F9;
}

.tab-master {
	width: 100%;
	max-width: 898px;
	
	max-height: 100%; /* use this property to set the widget height*/
}

.tab-content {
	height: calc(100% - 42px); 
	border-left: 1px solid #C6CDD0;
	border-right: 1px solid #C6CDD0;
	border-bottom: 1px solid #C6CDD0;
	padding: 20px;
	overflow: auto;
}

.tab-pane {
	height: 100%; 
}

.nav-pills > li, .nav-pills-sm > li {
  width: calc(99.9% / 5); /* change the denominator here to equal the number of tabs */
}

/* class for equation descriptions in math course widgets */
.equationLabel {
width: 0; 
height: 0; 
display: inline-block; 
overflow: hidden;
}

/*home*/

.two_parts{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.two_parts p {
	width:50%;
}

.two_parts div{

	width:45%;
}

.two_parts img{
	width:100%;
}

.pictogram{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width:860px;
	height:350px;
}

.pictogram input{
	width:150px;
	height: 150px;
}

.pictogram input{
	 box-shadow: 0px 1px 1px 2px rgba(0,0,0,0.15);
     transition: all 0.4s ease-in-out;
}

.pictogram input ::after{
  opacity: 0;
  z-index: -1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: opacity 0.4s ease-in-out;
}

.pictogram input:hover, .pictogram input:focus {
  transform: scale(1.1, 1.1);
}

/* Fade in the pseudo-element with the bigger shadow */
.pictogram input:hover::after, .pictogram input:focus::after {
  opacity: 1;
}

/*part1*/
#overlay{
	display: none; 
    position: fixed; 
    width: 896px; 
    height: 498px; 
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4); 
    z-index: 1; 
    cursor: pointer; 
}

#text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.intro{
	background-color: white;
	border-radius: 10px;
	width: 600px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-content: center;
	box-shadow: 0 0 3px 5px rgba(0,0,0,0.1);
}

.defination h4{
	display: inline;
}

.defination img{
	width:50px;
}

.btn-close{
	margin-left: 33em;
}

.wrapper{
	margin:2em;
	margin-top:2em;
	position: relative;
}

.wrapper>div p{
	margin-bottom:.5em;
}

ul {
  margin-left:-1.8em;
}

/*part2*/

.wrapper2{
	position: relative;
}

#menu2 > div > p{
    margin-left:1.5em; 
    margin-bottom:.5em; 
}

.matching_title{
	height:30px;
	display: flex;
	flex-direction: row;
	text-align: center;
	justify-content: center;
}

.title1{
	width:400px;
	background-color: #DEEDDF;
	padding-top:5px;
	border-top-left-radius: 20px;
}

.title2{
	width:400px;
	background-color: #0E8515;
	padding-top:5px;
	color: white;
	border-top-right-radius: 20px;
}

.title3{
	width:850px;
	text-align: center;
	margin-left:1em;
}

.matching_game{
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.match_items{
	width:400px;
	height:320px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	background-color: #DEEDDF;
	align-items: center;
	border-bottom-left-radius: 20px;
}

.match_items input{
	width:102px;
	height:102px;
	border-radius: 100px;
	padding:5px 5px;
}

.match_items input:active{
	transform: translateY(2px);
}

.match_defination{
	width:400px;
	height:320px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background-color: #0E8515;
	border-bottom-right-radius: 20px;
	justify-content: space-around;
    align-items: center;
}

.match_defination input{
	width:102px;
	height:102px;
	border-radius: 100px;
	text-align: center;
	padding:3px 3px;
}

.sets{
	position:relative;
}

.sets input{
	background-color: #F8F9F9;

}

.match_defination input:active{
	transform: translateY(2px);
}

input:disabled{
   background-color: #e5e9ea;
   opacity: 0.5;
}

.correct, .incorrect{
   position:absolute;
   top:0;
   left:0;
}

.matching img{
	width:100px;
	height:100px;
	border-radius: 100px;
	text-align: center;
	padding:10px 10px;
}

.wrapper2 .show_me{
	float: right;
	margin-right:1.8em;
	margin-top: 1em;
	padding:7px 15px;
}

#menu2{
	margin-top:-.5em;
}

.answer{
	width:850px;
	height:300px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	margin-top:-1em;
}

.answer>div{
	width:220px;
	height:100px;
	display: flex;
	flex-direction: row;
}

.wrapper2 .retry{
	position: absolute;
	right:-1.2em;
	bottom:-8em;
	padding:7px 15px;
}

.answer >div>div{
	border-radius: 100px;
	width:100px;
	height:100px;
	background-color: #DEEDDF;
}

.answer img{
	width:100px;
	height:100px;
}

.des{
	margin-top:3.5em;
	margin-left:-2em;
}

.items{
	margin-top:-.5em;
	margin-left:1.5em;
}



.bomb_matches,.gas_matches,.skull_matches,.health_matches,.exclamation_matches,.biohazardous_matches,.environmental_matches{
	margin-top:2em;
}

/*part3*/

.wrap3{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left_text{
	width: 50%;
	font-size: 13px;
	position: relative;
	margin-right: 3em;
}

.part2{
	display: none;
}

.next_text{
	position: absolute;
	background-color: #F8F9F9;;
	right:-40px;
	bottom: 8px;
	padding: 10px;
	color:#0E8A16;
	font-size: 13px;
}

.previous_text{
	position: absolute;
	background-color: #F8F9F9;;
	padding: 10px;
	color:#0E8A16;
	font-size: 13px;
	bottom: 0;
	left:0;
}

#menu3 > div > div.wrap3 > div.left_text > div.part1 > p:nth-child(2){
	margin-bottom: .2em
}

.right_image{
	width: 45%;
}

.right_image img{
	width: 85%;	
}

.wrap3 p, .wrp3 ul{
	margin-bottom: .5em
}

.btn_quiz{
   margin-top: 2em;
   margin-left: 13em;
}


.fa-check{
	color: #0E8515;
	font-size: 18px;
	text-rendering: optimizeLegibility;
}

.fa-times{
	color: #CB0101;
	font-size: 18px;
	text-rendering: optimizeLegibility;
}

.fa-arrow-right{
	color: #56656A;
	font-size: 18px;
	text-rendering: optimizeLegibility;
}

.fa-arrow-left{
	color: #56656A;
	text-rendering: optimizeLegibility;
}

.wrap3{
    position: relative;
}

.labels{
	width:850px;
	height:420px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.left{
	width:48%;
}

.buttons{
	text-align: right;
}

.statement{
	border:2px solid #0E8515;
	padding: 10px;
	border-radius:10px;
}

.right{
	width:38.5%;
	position: relative;
}

.right img{
	width: 100%;
	margin-top: -1em;
}

.back img{
	width: 125%;
	margin-top: -.5em;

}

.back{
	margin-right: 4em;
}


.right input{
	position: absolute;
	background-color: rgba(255,215,0, 0);
	border:1px solid #EF7E56;
}

.arrow1,.arrow2, .arrow3, .arrow4, .arrow5{
	position: absolute;
	font-size: 20px;
	right:-10px;
}

.arrow1{
	top:205px;
	left:-20px;
}

.arrow2{
	top:130px;
}

.arrow3{
	bottom:20px;
	left:-10px;
}

.arrow4{
	bottom:80px;
	left:-25px;
}

.arrow5{
	top:250px;
	left:-10px;
}

#one{
	top:-5px;
	right:-30px;
	width:135px;
	height:30px;
}

#two{
	top:48px;
	right:-38px;
	width:110px;
	height:125px;
}

#three{
	top:178px;
	left:28px;
	width:360px;
	height:20px;
}

#four{
	top:206px;
	left:28px;
	width:320px;
	height:18px;
}

#five{
	top:227px;
	left:20px;
	width:365px;
	height:65px;
}

#six{
	top:5px;
	left:35px;
	width:120px;
	height:65px;
}

#seven{
	top:120px;
	left:25px;
	width:250px;
	height:135px;
}

#eight{
	bottom:46px;
	left:130px;
	width:85px;
	height:78px;
}

#nine{
	bottom:15px;
	left:130px;
	width:75px;
	height:30px;
}

#ten{
	bottom:30px;
	right:10px;
	width:80px;
	height:50px;
}

.wrap4{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

 .right input:focus{
   border:1px solid #80BDFA;
 }


.btn_jeopardy{
	margin-left:35%;
	margin-top:2em;
}

.two_parts3{
	width: 45%;
}

.two_parts3 img{
	width: 100%;
}

.text3{
	width: 50%;
}

.text3 p:nth-child(2){
	margin-bottom: 0
}

.finish_message{
	font-size:16px;
	color:#0E8515;
	text-align: center;

}

.disabledTab {
        cursor: not-allowed;
    }
    /* Clicks are not permitted and change the opacity. */
    li.disabledTab > a[data-toggle="none"] {
        pointer-events: none;
        filter: alpha(opacity=65);
        -webkit-box-shadow: none;
        box-shadow: none;
        opacity: .65;
    }