@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-size:cover !important;
}

#tab_1{
    display:block;
    background:url("../img/bg_1_2.png");
}

#tab_2{
    background:url("../img/bg_1_3.png");
}

#tab_3{
    background:url("../img/bg_1_4.png");
}

#tab_4{
    background:url("../img/bg_1_5.png");
}

#tab_5{
    background:url("../img/bg_1_6.png");
}

#tab_6{
    background:url("../img/bg_1_7.png");
}

#tab_7{
    background:url("../img/bg_1_8.png");
}

#tab_8{
    background:url("../img/bg_1_9.png");
}

.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{
	width:25%;
	position:absolute;
	left:70%;
	top:7%;
}

.btn_help:hover{
	cursor:pointer;
	transform:scale(1.1);
}

.btn_help:active{
	transform:scale(0.95);
}


#tab_1 .btn_next{
	border-radius:10px 10px 0 0;
}
.popup{
	position:absolute;
	z-index:40;
	width:100%;
	height:100%;
	background:rgba(255, 255, 255, 0.7);
	border-radius:15px;
	background-size:70% !important;
	background-repeat:no-repeat !important;
	background-position:50% 50% !important;
	display:none;
}

#tab_6 .popup{
	background-image:url("../img/popup_1.png");
	display:block;
}

.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: 19%;
	left: 78%;
}

.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%;
	top: 20%;
	width: 68%;
	height: 68%;
	border-radius:95px;
	background:#FF9900;
}

.video video{
	width:100%;
	height:100%;
	display:none;
	border:none;
	background:#000000;
	border-radius:70px
}

.btn_play{
	position:absolute;
	width:15%;
	left:50%;
	top:50%;
	transform:translateX(-50%) translateY(-50%);
}

.btn_play:hover{
	cursor:pointer;
	opacity:0.9;
	transform:translateX(-50%) translateY(-50%) scale(1.1);
}

.btn_play:active{
	opacity:1;
	transform:translateX(-50%) translateY(-50%) scale(0.95);
}


.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_8 .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;
}


.header{
	position:Absolute;
	top:2%;
	width:100%;
	height:18%;
	background-size:95% !important;
	background-repeat:no-repeat !important;
	background-position:50% 50% !important;
}

#tab_1 .header{
	background-image:url("../img/header_4.png");
}

#tab_2 .header{
	background-image:url("../img/header_5.png");
	background-size: 85% !important;
	height:24%;
}

.subheader{
	position:absolute;
	width:100%;
	height:10%;
	top:27%;
	background-position:50% 50% !important;
	background-repeat:no-repeat !important;
	background-size:90% !important;
	background:url("../img/subheader.png");
}

.items{
	position:absolute;
	width:85%;
	height: 48%;
	background:red;
	left:7.5%;
	top:38.5%;
}

#tab_3 .items{
	top:28%;
}

.items > .row{
	display:inline-block;
	float:left;
	width:100%;
	background:blue;
}

.items > .row:nth-of-type(1){
	height: 79%;
}
.items > .row:nth-of-type(2){
	height:21%;
}

.items .row:nth-of-type(1) > div{
	display:inline-block;
	float:left;
	height:100%;
	width:32%;
	margin-right:2%;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius:15px;
}

#tab_3 .row:nth-of-type(1) > div{
	width:18.4%;
	background:transparent;
}

.items > .row > div:last-of-type{
	margin-right:0;
}

#tab_2 .row > div > img{
	display:inline-block;
	float:left;
	height:85%;
	margin-top:3%;
	margin-right:-8%;
}

#tab_2 .row > div > img:nth-of-type(odd){
	margin-top:6%;	
}

#tab_2 .row > div:nth-of-type(1) > img:first-of-type{
	margin-left:20%;
}

#tab_2 .row > div:nth-of-type(2) > img:first-of-type{
	margin-left:9%;
}

#tab_2 .row > div:nth-of-type(3) > img:first-of-type{
	margin-left:15%;
}

.row:nth-of-type(2) > div{
	height:100%;
	width:33.33%;
	display:inline-block;
	float:left;
}

.select > select{
	height:80%;
	width:50%;
	margin-top:1.7%;
	margin-left:25%;
	font-family:'cabin-bold';
	font-size:1.5em;
}

.select > div{
	pointer-events:none;
	width:16.5%;
	height:17%;
	position:absolute;
	margin-left:8.5%;
	margin-top:0.5%;
}

#tab_3 .row:nth-of-type(1) > div > img{
	height:100%;
	position:relative;
	left:50%;
	transform:translateX(-50%);
}

#tab_3 .row:nth-of-type(2) > div{
	width:20%;
}

#tab_3 .header{
	background-image:url("../img/header_5.png")
}

.windows{
	position:absolute;
	width:80%;
	left:10%;
	top:10%;
	height:12.5%;
}

.windows > img{
	display:inline-block;
	float:left;
	height:100%;
	margin-right:5.4%;
	display:none;
}

.windows > img:last-of-type{
	margin-right:0;
}

#tab_5 .windows{
	height:30%;
	background:rgba(0, 0, 0, 0.5);
	border-radius:10px;
	top:3%;
}

#tab_5 .windows > img:not(:last-of-type){
	margin-right:13%;
}

.jars{
	position:absolute;
	width:70%;
	height:44%;
	left:28%;
	top: 41%;
	/* background:red; */
}

.jars > *{
	display:inline-block;
	float:left;
	width:30%;
}

.jars > *:not(:nth-of-type(3)), .jars > *:not(:nth-of-type(6)){
	margin-right:3.3%;
}

.btn_fill:not(.disabled):hover{
	cursor:pointer;
	transform:scale(1.1);
}

.btn_fill:not(.disabled):active{
	transform:scale(0.95);
}

#tab_7 input{
	position:absolute;
	width:15%;
	height:9%;
	left:76%;
	text-align:center;
	font-family:'cabin-bold';
	font-size:2em;
}

#tab_7 input:nth-of-type(1){
	top:23%;
}

#tab_7 input:nth-of-type(2){
	top:55%;
}

#tab_7 input:nth-of-type(3){
	top:88%;
}

.fill{
	position: absolute;
	background-size:100% !important;
	background-position:50% 100% !important;
	background-repeat:no-repeat !important;
	z-index:1;
	opacity:0.5;
	transition:all 0.1s ease;
}

#fill_1{
	width:45%;
	/*height: 70%;*/
	bottom: 11%;
	background:url("../img/fill_1.png");
	left:26%;
}

#fill_2{
	width:41%;
	/*height: 74%;*/
	bottom: 12%;
	background:url("../img/fill_2.png");
	left:24%;
}

#fill_3{
	width: 32%;
	/* height: 74%; */
	bottom: 13%;
	background:url("../img/fill_3.png");
	left: 31.5%;}

#fill_4{
	position:absolute;
	left: 4%;
	bottom:52%;
	width: 20%;
	height:0%;
	background:url("../img/fill_4.png");

	transition: all 0.5s ease;
}

.item{
	height: 74%;
	/* background:blue; */
	position:relative;
	left:0;
	top:0;
}

.item > img{
	width:100%;
}

.animation{
	transition:all 1s ease;
}

#filling{
	position:absolute;
	width:10%;
	left: 15%;
	top: 22%;
	height: 0%;
	background-size: 100%;
	background-repeat:no-repeat;
	background-position: 50% 0%;
	background-image: url("../img/filling.png");
	z-index:50;
	transition:all 0.2s ease;
}

#count{
	position:absolute;
	width:10%;
	height:10%;
	background:white;
	border-radius:10px;
	left:27%;
	top:30%;
}

#count > p{
	font-family:'cabin-bold';
	font-size: 2.4em;
	text-align:center;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

.disabled{
	-webkit-filter: grayscale(1);
}