@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-bold'; /*a name to be used later*/
    src: url('../fonts/Cabin-Bold.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: 'cabin-bold-italic'; /*a name to be used later*/
    src: url('../fonts/Cabin-BoldItalic.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*/
}

*{
	margin:0;
	padding:0;
}

p{
	font-family:'cabin-regular';
}

.ggb_contenidoInterno{
    background:none;
}

.tab{
    position:absolute;
    width:97%;
    height:83%;
    border-radius:15px;
    overflow:hidden;
    display:none;
    background-image:url('../img/bg_1.png');
    background-color:#A1DBD6;
    background-size:cover;
}

#tab_1{
    overflow:hidden;
    display:block;
}

.tab_nav{
	position:absolute;
	bottom:0;
	width:16%;
	height:9.5%;
	left: 42%;
	z-index:1;
}

.tab_nav div{
	display:inline-block;
	float:left;
	height:100%;
}

.custom_btn{
	width:33%;
	height:100%;
	background: #EB7F26;
	color:#FFF;
	font-size:3em;
	text-align:center;
	border-bottom:solid 6px #89380F;
	bottom:0;
	position:absolute;
}

.custom_btn:hover{
	cursor:pointer;
	background:#EA9D63;
}

.custom_btn:active{
	transform:scaleY(0.8);
	background:#89380F;
}

.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;
}

.btn_help{
	border-radius:10px 0 0 0;
}

.popup{
	position:absolute;
	z-index:40;
	width:97%;
	height:83%;
	background:rgba(255, 255, 255, 0.7);
	border-radius:15px;
	background-image:url("../img/popup_1.png");
	background-size:60%;
	background-repeat:no-repeat;
	background-position:50% 50%;
	display:none;
}

#popup_help{
	display:block;
}

#popup_incorrect, #popup_correct{
	background-size:90% 80%;;
}

#popup_incorrect > div, #popup_correct > div{
	width:80%;
	left:10%;
	font-size:0.9em;
}

#popup_correct .btn_close, #popup_incorrect .btn_close{
	top:17%;
	left:88%;
}

.btn_close{
	width:5%;
	position:absolute;
}

.btn_close:hover{
	cursor:pointer;
	opacity:0.85;
	transform:scale(1.1);
}

.btn_close:active{
	transform:scale(0.95);
	opacity:1;
}

.popup .btn_close{
	top: 30%;
	left: 75%;
}

.popup div{
	position:absolute;
	top: 32%;
	height:37%;
	left:25%;
	width:50%;
}

.popup > div > p{
	color:white;
	font-family:'cabin-regular';
	text-align:center;
	font-size: 2.8em;
	margin:0;
	padding:0;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

#tab_1 .btn_help{
	border-radius:10px 0 0 0;
	left:34.3%;
}

.video{
	position:absolute;
}

#tab_1 .video{
	left:16.75%;
	top:10%;
	width: 66.5%;
	height:80%;
	border-radius:15px;
	box-sizing:border-box;
	border:solid 14px #272E2B;
	background: #768473; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #768473 0%, #768473 50%, #667663 50%, #667663 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#768473), color-stop(50%,#768473), color-stop(50%,#667663), color-stop(100%,#667663)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%); /* IE10+ */
	background: linear-gradient(155deg, #768473 0%,#768473 50%,#667663 50%,#667663 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#768473', endColorstr='#667663',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.video video{
	width:100%;
	height:100%;
	display:none;
	border:none;
	background:black;
}

.btn_play{
	position:absolute;
	width:10%;
	left:45%;
	top:50%;
	transform:translateY(-50%);
}

.btn_play:hover{
	cursor:pointer;
	opacity:0.9;
	transform:translateY(-50%) scale(1.1);
}

.btn_play:active{
	opacity:1;
	transform:translateY(-50%) scale(0.95);
}

.header, .footer{
	width:95%;
	height:12%;
	margin-left:2.5%;
	margin-top:1.5%;
	background:#8BC53F;
	box-sizing:border-box;
	border-radius:10px;
	border:solid 3px #0D262E;	
}

.header p, .footer p{
	font-size:1.6em;
	padding:0 1%;
	text-align:justify;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

.footer{
	display:none;
}

.container{
	width:95%;
	margin-left:2.5%;
	margin-top:0.8%;
	height: 57%;
	/* background:whitesmoke; */
}

.subcontainer{
	width:100%;
	height:auto;
	background:#A1DBD6;
}

.subcontainer:first-of-type{
	margin-bottom: 3%;
	margin-top:1%;
}

.subcontainer:first-of-type p{
	font-size:1.5em;
	text-align:justify;
	padding:0.5% 1.3%;
}

.subcontainer:last-of-type > div:first-of-type{
	width:100%;
	height:auto;
	/* background:purple; */
}

.subcontainer:last-of-type p{
	padding:0.5% 1%;
	font-family:'cabin-bold';
	font-size:1.4em;
}

.subcontainer:last-of-type div:not(:first-of-type){
	height: 84%;
	display:inline-block;
	float:left;
	width:29%;
	/* background:blue; */
}

.subcontainer:last-of-type div:not(:first-of-type) p{
	font-size:2em;
	font-family:'cabin-regular';
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

.subcontainer:last-of-type div:nth-of-type(2){
	margin-left:13%;
}

.subcontainer:last-of-type{
	height: 70%;
}

.subcontainer:last-of-type div:nth-of-type(2) p{
	text-align:right;
}

.input{
	width:80%;
	margin-left:10%;
	height:18%;
	border:none;
	outline:none;
	font-family:'cabin-bold';
	font-size:2em;
	text-align:center;
	box-sizing:border-box;
}

h3{
	color:black;
	margin:2%;
}

#tab_2 .input:first-of-type, #tab_4 .input:first-of-type{
	margin-top:18%;
	margin-bottom:2%;
}

#tab_2 .input:last-of-type, #tab_4 .input:last-of-type{
	margin-top:2%;
}

.input:focus{
	border:solid 2px #8BC53F;
}

.line{
	height: 2%;
	width:90%;
	margin-left:5%;
	background:#0E776E;
}

.footer p{
	text-align:center;
}

#tab_3 .input, #tab_5 .input, #tab_6 .input{
	margin-top:20%;
	height:25%;
}

#tab_3 .subcontainer:last-of-type{
	height:60%;
}

#tab_6 .btn_home{
	border-radius:0 10px 0 0;
}

.check{
	width:20%;
	height:10%;
	margin-left:40%;
	border-radius:10px;
	box-sizing:border-box;
	border:solid 5px #000000;
	background: #a44a99; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #a44a99 0%, #a44a99 50%, #8d1d80 50%, #8d1d80 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#a44a99), color-stop(50%,#a44a99), color-stop(50%,#8d1d80), color-stop(100%,#8d1d80)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, #a44a99 0%,#a44a99 50%,#8d1d80 50%,#8d1d80 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, #a44a99 0%,#a44a99 50%,#8d1d80 50%,#8d1d80 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, #a44a99 0%,#a44a99 50%,#8d1d80 50%,#8d1d80 100%); /* IE10+ */
	background: linear-gradient(169deg, #a44a99 0%,#a44a99 50%,#8d1d80 50%,#8d1d80 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a44a99', endColorstr='#8d1d80',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	position:absolute;
	display:none;
}

.check p{
	color:white;
	font-family:'cabin-bold';
	font-size:2.5em;
	text-align:center;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

.check:hover{
	transform:scale(1.05);
	cursor:pointer;
	opacity:0.85;
}

.check:active{
	transform:scale(1);
	opacity:1;
}