@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;
}

.ggb_contenidoInterno{
    background:none;
}

.tab{
    position:absolute;
    width:97%;
    height:83%;
    border-radius:15px;
    overflow:hidden;
}

#tab_1{
    background-image:url('../img/bg_1_1.png');
    background-size:cover;
    overflow:hidden;
}

.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.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:100%;
	height:100%;
	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;
}

.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:33%;
	height:37%;
	left:25%;
	width:50%;
}

.popup > div > p{
	color:white;
	font-family:'cabin-regular';
	text-align:center;
	font-size:3.6em;
	margin:0;
	padding:0;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

#tab_1 .btn_help{
	border-radius:10px 10px 0 0;
}

.video{
	position:absolute;
}

.video video{
	width:100%;
	height:100%;
	display:none;
	border:none;
	background:black;
}

#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 */
}

.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{
	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_2.png");
}

.items{
	position:absolute;
	width:90%;
	height: 49%;
	/* background:blue; */
	top: 22%;
	left:5%;
}

.row{
	display:inline-block;
	float:left;
	width:100%;
	/* background:whitesmoke; */
}

.row:first-of-type{
	height:20%;
	/* background:red; */
}

.row:first-of-type > div{
	display:inline-block;
	float:left;
	height:100%;
	width: 6%;
	background:rgba(0, 0, 0, 0.5);
	border-radius:100%;
	margin-right: 14.7%;
}

.row:first-of-type > div > p{
	color:white;
	font-family:'cabin-bold';
	font-size:3em;
	text-align:center;
	position:relative;
	top:50%;
	transform:translateY(-50%);

}

.row:first-of-type > div:first-of-type{
	margin-left: 5.4%;
}

.row:last-of-type{
	margin-top: 1%;
	height: 75%;
	/* background:purple; */
}

.row:last-of-type > div{
	display:inline-block;
	float:left;
	height:100%;
	width:17%;
	margin-right:3.75%;
	background:rgba(0, 0, 0, 0.5);
	border-radius:8%;
	box-sizing:border-box;
}

.row > div:last-of-type{
	margin-right:0;
}

.row:last-of-type > div > img{
	height:80%;
	position:relative;
	top:50%;
	left:50%;
	transform:translateY(-50%) translateX(-50%);
}

#tab_1 .btn_home{
	border-radius:10px 0 0 0;
}

#tab_5 .btn_home{
	border-radius:0 10px 0 0;
}

.footer{
	position:Absolute;
	width:100%;
	height:19%;
	background-size:90%;
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-image:url("../img/footer.png");
	bottom:10%;
}

.drag:not(.ui-state-disabled):hover{
	cursor:pointer;
	transform-origin: 0% 0% !important;
	transform:scale(1.1) translateX(-50%) translateY(-50%) !important;
}

.dragging{
	pointer-events:none;
	z-index:10;
}

.grabbing{
	cursor:-webkit-grabbing;
	cursor:-moz-grabbing;
}

.animation{
	transition:all 0.5s ease;
}

.highlight{
	border:dashed 2px gray;
}

.finished > div div{
	background: rgba(13, 83, 13, 0.4) !important;
}