#wrapper {
	width: 95%;
	margin: 45px auto 15px;
	border: 2px solid #fff;
	border-top: 1px solid #fff;
	-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	overflow: auto;
	overflow-y: hidden;
	overflow-x: hidden;
}

.hidden-on-tablet {
	display: none;
}
.home-cuadro > p.titulo {
	height: inherit;
	line-height: inherit;
	padding: 5px 9px;
}
.home-cuadro p.linea {
	height: inherit;
	line-height: inherit;
	padding: 5px 9px;
	text-align: center;
}

/* Only TABLETS */
@media only screen and (max-width: 660px) {
.home-cuadro p.linea {
	text-align: right;
}
}

.home-cuadro p.linea > span {
	/*width: inherit;
	display: inline-block;
	margin-right: 10px;*/
	text-align: left;
	float: left;
}

#home, #tour, #home_login {
	overflow: auto;
	/*background: none;*/
	min-height: 0px;
	overflow-y: hidden;
	overflow-x: hidden;
	
}
#home .paragraf {
}

.pre-footer {
	margin-top: 10px;
	position: static;
}
.home-cuadro > p.titulo-2 i{
	display: block;
	margin-left: 0px;
}

.cuadro-precios .precios-2 {
	line-height: inherit;
}
.registro-contenido input[type=text], .registro-contenido input[type=password] {
	width: 96%;
}
#join-here {
	/*background: none;*/
	min-height: inherit;
}
#upcoming-videos .col-izq, #upcoming-videos .col-der {
	width: calc(50% - 20px);
	margin-left: 10px;
	margin-right: 10px;
} 
#upcoming-videos .home-cuadro p.linea > span {
    	width: 130px;
}
ul.galeria {
	overflow: auto;
	padding-bottom: 10px;
	overflow-y: hidden;
}
ul.galeria li {
	width: calc(25% - 20px);
}

ul.galeria-fotos li{
	float: left;
	width: calc(33% - 26px);
	max-width: inherit;
}
ul.galeria-fotos {
	margin-left: 0px;
}

a.free-tour {
	margin-left: inherit;
	width: 50%;
	float: right;
	background-repeat: no-repeat;
	background-size: 100%;
}
a.free-tour:hover {
	background-size: 100%;
	background-repeat: no-repeat;
}
a.free-tour-2 {
	margin-left: inherit;
	width: 50%;
	float: right;
}
/*
a.free-tour {
	width: 400px;
	height: 174px;
	background: url(../images/responsive/mini_buton_freetour_repos_beach.png) center center no-repeat;
}
a.free-tour:hover {
	background: url(../images/responsive/mini_buton_freetour_repos_beach.png) center center no-repeat;
}*/
.tour-contenido img {
	width: 100%;
	height: inherit;
		/*margin-left: 50px;
		width: 273px;
	height: 55px;
		content:url(../images/responsive/buton_freetour_repos_beach.png);*/
		
	}
	
nav > ul > li > a {
	width: 110px;
}	
nav ul ul {
	width: 110px;
}
nav ul ul li {
	width: 110px;
}	
nav ul ul li a {
	width: 100%;
	font-size: 12px;
}
	
@media screen and (min-width : 1220px) and (max-width: 1300px) {
	.join-here-subtitulo {
		margin-bottom: 150px;
		
	}
}

@media screen and (max-width: 1100px) {
	.home-contenido, .tour-contenido {
	  margin-left: 570px;
	  padding-left: 0px;
	}
	a.free-tour, a.free-tour-2 {
		width: 40%;
		margin-right: 30px;
		height: 200px;
		/*margin-left: 570px;*/
	}
	.tour-contenido img {
		/*margin-left: 50px;
		width: 273px;
	height: 55px;
		content:url(../images/responsive/buton_freetour_repos_beach.png);*/
		
	}
	.cuadro-precios li, .cuadro-precios li:last-child {
	float: inherit;
	margin: 5px 0px;
	}
}
@media screen and (max-width: 1024px) {
	
	
	
	/*
	a.free-tour {
		width: 273px;
		height: 55px;
		background: url(../images/responsive/buton_freetour_repos_beach.png) center center no-repeat;
		
	}
	a.free-tour:hover {
		background: url(../images/responsive/buton_freetour_repos_beach.png) center center no-repeat;
		
	}*/
}
@media screen and (max-width: 980px) {
	#join-here {
		background: none;
	}
	#join-here .col-izq, #join-here .col-der {
    	float: inherit;
    	width: inherit;
    	padding: 10px;
    	margin: 0px;
    }
    #join-here .col-izq .join-here-titulo {
    	text-align: left;
    }
    #join-here .col-izq .join-here-subtitulo {
    	text-align: left;
    }
    #join-here .col-der > .titulo {
    	padding-left: 0px;
    }
    ul.galeria li {
		width: calc(33% - 20px);
	}
    .home-members-contenido {
    	padding: 10px;
    }
    #home-members {
    	background: none;
    	  min-height: inherit;
    }
    #home, #tour, #home_login {
		background: none;
	}
	.home-contenido, .tour-contenido {
	  margin-left: 30px;
	  margin-right: 30px;
	  padding: 50px 0px 0px;
	}
	
	a.free-tour, a.free-tour-2 {
		width: 70%;
		float: inherit;
		margin: 20px auto 0px;
		height: 252px;
	}
	/*
	a.free-tour {
		background: url(../images/responsive/buton_freetour_repos_beach.png);
		display: block;
		margin: 30px auto;
	}
	a.free-tour:hover {
		
	}*/
}


@media screen and (max-width: 1000px) {
	#header-members {
		display: none;
	}
	#header-members-mobile {
		display: block;
		background: #0179d0;
		overflow: auto;
		padding: 5px;
	}
	#header-members-mobile a {
		color: #fff;
		text-decoration: none;
		margin-left: 8px;
		font-weight: bold;
		font-size: 20px;
		display: block;
		float: left;
		margin-top: 6px;
		
	}
	#header-members-mobile img {
		width: 32px;
		height: 32px;
		margin-left: 5px;
		display: block;
		float: left;
	}
	nav {
		display: none;
	}
	.submenu {
		display: none;
		background: #363636;
	}
	
	.sb-slidebar > ul > li {
		border-bottom: 1px solid #ccc;
	}
	.sb-slidebar a {
		text-transform:lowercase;
	}
	ul.submenu > li {
		border-top: 1px solid #ccc;
	}
	.sb-slidebar li a{
		color: #fff;
		font-family: Arial, Helvetica, sans-serif;
		text-decoration: none;
		display: block;
		padding: 20px 10px;
	}
	.wrapper-members {
		margin-top: 15px !important;
	}
}

@media screen and (max-width: 800px) {
    #header .logo, #header-members .logo {
        width: 100%;
        background: url(../images/responsive/besttoplessbeach_logo.png) center center no-repeat;
          margin: inherit;
          position: static;
    }
    .cerrar-sesion {
    	display: none !important;
    	
    }
    .pre-footer {
    	height: inherit;
    	background: none;
    	max-height: inherit;
    	position: static;
    	padding: 0 10px;
    	width: calc(100% - 20px);
    }
    .tour-contenido img {
    	width: 100%;
    }
    ul.galeria-fotos li{
		float: left;
		width: calc(50% - 26px);
		max-width: inherit;
	}
	/*
	a.free-tour {
		width: 400px;
		height: 174px;
		background: url(../images/responsive/mini_buton_freetour_repos_beach.png) center center no-repeat;
	
	
	}
	a.free-tour:hover {
		background: url(../images/responsive/mini_buton_freetour_repos_beach.png) center center no-repeat;
		
		
	}*/
    
}