@font-face{
	font-family: 'cabin-regular'; /*a name to be used later*/
    src: url('../fonts/Cabin-Regular.ttf'); /*URL to font*/
}

@font-face{
	font-family: 'cabin-italic'; /*a name to be used later*/
    src: url('../fonts/Cabin-Italic.ttf'); /*URL to font*/
}

@font-face{
	font-family: 'big-noodle'; /*a name to be used later*/
    src: url('../fonts/big_noodle_titling.ttf'); /*URL to font*/
}

.tab{
	width:97%;
	height:83%;
	border-radius:15px;
	position:absolute;
	display:none;
	background:url("../img/bg_6.png");
	background-size:cover;
}

#tab_1{
	display:block;
	background:url("../img/bg_5.png");
	background-size:cover;
}

#tab_2{
	background:url("../img/bg_6.png");
	background-size:cover;
}

#activity_description{
	height:44%;
	width:100%;
	background:#3E2E4E;
	margin-top:14%;
}

.tab_nav{
	position:absolute;
	bottom:0;
	width:16%;
	height:9.5%;
	left: 43%;
}

#tab_3 .tab_nav{
	left:79.5%;
}

.tab_nav div{
	display:inline-block;
	float:left;
	height:100%;
}


.custom_btn{
	width:33%;
	height:100%;
	background: #205C8E;
	color:#FFF;
	font-size:3em;
	text-align:center;
	border-bottom:solid 6px #19466B;
	bottom:0;
	position:absolute;
}


.btn_previous{
	border-radius:10px 0 0 0;
	left:1%;
}

.btn_home{
	border-radius:0;
	right:33%;
}

.btn_next{
	border-radius:0px 10px 0 0;
	right:0;
}


.custom_btn:hover{
	cursor:pointer;
	background:#3D80AD;
}

.custom_btn:active{
	transform:scaleY(0.8);
	background:#104366;
}

#tab_2 .btn_home{
	border-radius:10px 0 0 0;
}

#btn_close_d{
	position:absolute;
	right:1%;
	top:31%;
	width:5%;
}

#btn_close_d:hover, .btn_close:hover{
	cursor:pointer;
	transform:scaleX(0.9);
	opacity:0.85;
}

#btn_close_d:active, .btn_close:active{
	transform:scaleY(0.85);
}

#activity_description p{
	margin:0;
	font-family:'cabin-regular';
	font-size:1.8em;
	color:white;
	padding:1.8% 7% 0 2%;
	text-align:justify;
}

.header{
	width:100%;
	height:10%;
	background:rgba(62, 46, 78, 0.8);
	border-radius:15px 15px 0 0;
}

.header p{
	padding:1.1% 2.2%;
	font-family:'cabin-regular';
	font-size:1.6em;
	color:white;
	margin:0;
}

.character{
	position:absolute;
	height:80%;
	bottom:0;
	right:3%;
	-webkit-transition:all 0.5s ease;
	transition:all 0.5s ease;
	-moz-transition:all 0.5s ease;
	-ms-transition:all 0.5s ease;
}

#tab_2 .character:hover{
	cursor:pointer;
	opacity:0.85;
	height:85%;
	-webkit-filter: contrast(1) drop-shadow(9px -10px 20px rgba(76, 20, 102, 0.8)) saturate(1.4);
}

.video_header{
	width:70%;
	height:7%;
	background:#3E2E4E;
	margin-top:2%;
	border-radius:0 10px 10px 0;
}

.video_header p{
	text-align:center;
	color:white;
	font-family:'cabin-regular';
	font-size:1.5em;
	margin:0;
	padding:0.6%;
}

.video_container{
	width:68%;
	height:63%;
	margin:1.6% 0 0 2%;
	background:rgba(62, 46, 78, 0.3);
	border-radius:10px;
}

iframe{
	display:none;
	width:100%;
	height:100%;
}

#newspaper_1{
	position:absolute;
	height:88%;
	bottom:0;
	left:2%;
}

.popup{
	position:absolute;
	width:100%;
	height:100%;
	background:rgba(0, 0, 0, 0.5);
	display:none;
}	

.popup .btn_close{
	width:4%;
	top:30%;
	right:23%;
}

.popup div{
	width:50%;
	height:25%;
	margin-left:25%;
	margin-top:16%;
	background:#C7D9EB;	
	-webkit-box-shadow: 1px 2px 20px 0px rgba(76,20,102,0.75);
	-moz-box-shadow: 1px 2px 20px 0px rgba(76,20,102,0.75);
	box-shadow: 1px 2px 20px 0px rgba(76,20,102,0.75);
	border-radius:15px;
}

.popup p{
	font-family:'cabin-regular';
	padding:2% 3%;
	text-align:justify;
	font-size:2em;
	position: relative;
  	top: 50%;
 	transform: translateY(-50%);
}

.btn_close{
	position:absolute;
}

#msg_1{
	right:17%;
	bottom:40%;
	width:40%;
	height:auto;
	position:absolute;
}

#msg_1 img:last-of-type{
	width:100%;
}

.btn_close{
	width:10%;
	top:0;
	right:5%;;
}

#pencil{
	height:85%;
	margin-top:8%;
}

#newspaper_2{
	position:absolute;
	height:88%;
	bottom:0;
	left:17%;
}

#tab_4 .tab_nav{
	width:100%;
	left:0;
}

#tab_4 .tab_nav div{
	width:5.3%;
}

#tab_4 .btn_home{
	border-radius:10px 10px 0 0; 
	left:85%;
}

#tab_4 .btn_previous{
	border-radius:10px 10px 0 0; 
	left:10%;
}

#newspaper_header{
	position:absolute;
	width:57.3%;
	left:21.5%;
	height:5.4%;
	top:21.3%;
}

#newspaper_body{
	position:absolute;
	height:72%;
	width:57.3%;
	left:21.5%;
	top:28%;
}

#newspaper_header h3{
	text-align:center;
	top:20%;
	font-size:1.4em;
	line-height:1.5em;
}

article p, article h3{
	margin:0;
	font-family:'cabin-regular';
}

#newspaper_body article{
	display:inline-block;
	float:left;
}

#newspaper_body p{
	font-size:1.15em;
	text-align:justify;
	padding: 0 5% 0 5%;
	margin:0 0 4% 0;
}

#newspaper_body article:last-of-type p:first-of-type{
	padding:0 0 0 45%;
	margin: 0 0 8% 0;
}

#newspaper_body i{
	font-family:'cabin-italic';
}

#newspaper_body article:first-of-type{
	width:50%;
	height:100%;
}

#newspaper_body article:last-of-type{
	width:50%;
	height:100%;
}

#newspaper_body b, #newspaper_header b{
	color:#3894B2;	
}

#newspaper_body b:hover, #newspaper_header b:hover{
	cursor:pointer;
	color:#1ABCE2;
}

.dropdown{
	position:absolute;
	width:20%;
	height:30%;
	display:none;
}

.dropdown p{
	margin:0;
	font-family:'cabin-regular';
}

.dropdown div{
	position:relative;
	-webkit-box-shadow: 1px 2px 8px 0px rgba(76,20,102,0.75);
	-moz-box-shadow: 1px 2px 8px 0px rgba(76,20,102,0.75);
	box-shadow: 1px 2px 8px 0px rgba(76,20,102,0.75);
	transition:all 0.5s ease;
	-ms-transition:all 0.5s ease;
	-moz-transition:all 0.5s ease;
	-webkit-transition:all 0.5s ease;
}

.dropdown div:not(.dropdown_number){
	width:100%;
	height:25%;
	border-radius:0 10px 10px 0;
}

.dropdown div:nth-of-type(2){
	z-index:2;
}

.dropdown div:nth-of-type(3){
	z-index:1;
}
.dropdown div:not(.dropdown_number):nth-of-type(2n){
	background:#C7D9EB;
}

.dropdown div:nth-of-type(3){
	background:#9CB9D5;
}

.dropdown div:not(.dropdown_number) p{
	color:white;
	font-size:1.5em;
	text-align:center;
	line-height:2em;
}

.dropdown div:not(.dropdown_number):hover{
	z-index:3;
	cursor:pointer;
	color:#3894B2;
}

.dropdown div:not(.dropdown_number):not(.correct):active{
	background:#BF465D;
	color:white;
}

.dropdown .correct:active{
	background:#46BC64;
	color:white;
}


.dropdown_number{
	width:25%;
	height:25%;
	background:#3894B2;
	border-radius:5px 5px 0 0;
}

.dropdown_number p{
	color:white;
	font-size:1.8em;
	text-align:center;
	line-height:1.6em;
}

#dropdown_1{
	top:26%;
	left:46%;
}

#dropdown_2{
	top:26%;
	left:63.5%;
}

#dropdown_3{
	top:43%;
	left:42.5%;
}

#dropdown_4{
	top:52.5%;
	left:42.5%;
}

#dropdown_5{
	top:67%;
	left:35.5%;
}

#dropdown_6{
	top:64%;
	left:38%;
}

#dropdown_7{
	top:64%;
	left:42%;
}

#dropdown_8{
	top:50%;
	left:68.4%;
}

#dropdown_9{
	top:54%;
	left:63%;
}

#dropdown_10{
	top:64%;
	left:66%;
}

#dropdown_11{
	top: 64%;
	left:51.6%;
}