@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;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar:hover{
    cursor:pointer;
}
 
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(76, 75, 73, 1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 1); 
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(76, 75, 73, 1);
}

.tab{
    position:absolute;
    width:97%;
    height:83%;
    border-radius:15px;
    overflow:hidden;
    display:none;
    background-size:cover;
}

#tab_1{
	background-image:url('../img/bg_5_1.png');
    display:block;
}

#tab_2{
	background-image:url('../img/bg_5_2.png');
}

#tab_3{
	background-image:url('../img/bg_5_3.png');
}

#tab_4{
	background-image:url('../img/bg_5_4.png');
}

#tab_5{
	background-image:url('../img/bg_5_5.png');
}

#tab_6{
	background-image:url('../img/bg_5_6.png');
}

#tab_7{
	background-image:url('../img/bg_5_7.png');
}

#tab_8{
	background-image:url('../img/bg_5_8.png');
}

#tab_9{
	background-image:url('../img/bg_5_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.3%;
	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.3%;
}

.btn_home{
	border-radius:0;
	right: 32.5%;
}

.btn_next{
	border-radius:0px 10px 0 0;
	right:0;
}

#tab_1 .btn_next{
	border-radius:10px 10px 0 0;
}

#tab_4 .btn_home{
	border-radius:0 10px 0 0;
}

.popup{
	position:absolute;
	z-index:40;
	width:100%;
	height:100%;
	background:rgba(0, 0, 0, 0.6);
	border-radius:15px;
	background-size: 40% !important;
	background-repeat:no-repeat !important;
	background-position:50% 50% !important;
	background-image:url("../img/popup_4.png");
	display:none;
}


.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;
}

textarea{
	resize:none;
	background:#F6F1D1;
	box-sizing:border-box;
	border:solid 8px #626A01;
	border-radius:10px;
	padding:5px;
	outline:none;
	position:absolute;
	width:35%;
	height:56%;
	overflow-x:hidden;
	overflow-y:scroll;
	font-family:'cabin-regular';
	font-size:1.6em;
	left:57%;
	top:30%;
}

.figure{
	position:absolute;
	width:25%;
	left:30%;
	top:30%;
	display:none;
}

.figure:nth-of-type(1){
	display:block;
}

#counter_container{
	position:absolute;
	left:20%;
	top:31%;
	/* background:red; */
	height:28%;
	width:5%;
}

#counter_container > div{
	display:inline-block;
	float:left;
	width:100%;
	height:33%;
}

.count i{
	color:gray;
	font-size:2.5em;
	margin:0;
	padding:0;
	position:relative;
	top:50%;
	left:50%;
	transform:translateY(-50%) translateX(-50%);
}

.count.active i{
	color:#FFFFFF;
}

.count.active i:hover{
	cursor:pointer;
	transform:translateY(-50%) translateX(-50%) scale(1.05);
}

.count.active i:active{
	transform:translateY(-50%) translateX(-50%) scale(0.95);
}

.counter{
	box-sizing:border-box;
	background:#FFFFFF;
	border:solid 2px #626A01;
	border-radius:10px
}

.counter > p{
	font-family:'cabin-regular';
	font-size:2em;
	text-align:center;
	position:relative;
	top:50%;
	transform:translateY(-50%);
}

#tab_4 .popup .btn_close{
	left:66%;
	top:8%;
}