/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  /* you need to set this to assign to the main element a min height of 100% */
  height: 100%;
}

h1,h2,h3{margin-top: 1em;color: #4e6361;}
h1 {font-size: 1.8em;text-align: center;}
h2 {font-size: 1.4em;text-align: left;}
h3 {font-size: 1.1em;text-align: left;}
p {
	font-size: .9em;
	padding-bottom: 15px;
	line-height: 120%;
}
b{ font-weight:600;}
hr{
	width: 80%;
}
body {
  font-size: 100%;
  font-family: "Titillium Web", sans-serif;
  color: #4e6361;
  background-color: #f5f4e9;
}

a {
  color: #6cac70;
  text-decoration: none;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}

/* -------------------------------- 

Main components 

-------------------------------- */
.cd-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  min-height: 100%;
  position: relative;
  background-color: #f5f4e9;
  z-index: 2;
  padding-top: 50px;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.cd-main-content.lateral-menu-is-open {
  /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
@media only screen and (min-width: 768px) {
  .cd-main-content {
    padding-top: 70px;
  }
}

header {
	position: fixed;
	top: 0;
	left: 0;
	height: 50px;
	width: 100%;
	background: #4e6361;
	z-index: 3;
	/* Force Hardware Acceleration in WebKit */
	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
	transition-property: transform;
	-webkit-transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

header.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
header.is-fixed {
  position: fixed;
}
@media only screen and (min-width: 768px) {
  header {
    height: 70px;/*70px*/
  }

  
}

#cd-logo {
	display: block;
	float: left;
	margin: 0 0 0 20px;
}
#cd-logo img {
  display: block;
  height:50px;
}
@media only screen and (min-width: 768px) {
#cd-logo img {
  height:70px;
}
}

#cd-top-nav {
  position: absolute;
  top: 0;
  right: 120px;
  height: 100%;
  display: none;
}
#cd-top-nav ul {
  height: 100%;
  padding-top: 18px;
}
#cd-top-nav li {
  display: inline-block;
  margin-right: 1em;
}
#cd-top-nav a {
  display: inline-block;
  padding: .5em;
  color: #FFF;
  text-transform: uppercase;
  font-weight: 600;
}
#cd-top-nav a.current {
  background-color: #242e30;
}
.no-touch #cd-top-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}
@media only screen and (min-width: 768px) {
  #cd-top-nav {
    display: block;
  }
}

#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: #64807d;
}
#cd-menu-trigger .cd-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #FFF;
  font-weight: 600;
  display: none;
}
#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #FFF;
  /* these are the upper and lower lines in the menu menu */
}
#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
  bottom: 5px;
}
#cd-menu-trigger .cd-menu-icon::after {
  top: 5px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: white;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media only screen and (min-width: 768px) {
  #cd-menu-trigger {
    width: 110px;
    padding-left: 1.25em;
  }
  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 70px;
  }
  #cd-menu-trigger .cd-menu-icon {
    left: auto;
    right: 1.25em;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 260px;
  background-color: #242e30;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(80px);
  -moz-transform: translateX(80px);
  -ms-transform: translateX(80px);
  -o-transform: translateX(80px);
  transform: translateX(80px);
}
#direcc-nav{
	display: block;
	font-size: .9em;
	line-height: 1.4em;
	padding: 10px 16px 0 32px;
	color: #aab5b7;
}
#cd-lateral-nav .cd-navigation {
  margin: 10px 0 16px;
}
#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 15px;
  display: none;
}
#cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 16px 0 32px;
  color: #aab5b7;
}
#cd-lateral-nav a.current {
  background-color: #3a4a4d;
  color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
  color: #FFF;
}
@media only screen and (min-width: 768px) {
  #cd-lateral-nav .cd-navigation {
    margin: 20px 0;
  }
}
#cd-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
}

/* style menu items which have a submenu  */
#cd-lateral-nav .item-has-children > a {
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  /* this is the right arrow to show that the item has a submenu  */
}
#cd-lateral-nav .item-has-children > a::after {
  content: '';
  display: block;
  height: 11px;
  width: 8px;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 1em;
  background: url("../img/cd-arrow.svg") no-repeat center center;
  background-size: 8px 11px;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}


#cd-lateral-nav .socials { padding-left: 32px;}
#cd-lateral-nav .socials a {float: left;padding: 2px; font-size:14px;}
#cd-lateral-nav .socials a img {width: 32px;}

/* contenido =================================================================================== */
/* Animación */
.my-mfp-zoom-in .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
}
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
}
.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}
.my-mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}
.my-mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}
/* slider =================================================================================== */
#slider10 h1{margin:0px; padding:0px; text-align:left; font-size:2.4em; color:#191919;}
#slider10>div>div{position:absolute; bottom:20%; left:40px; background-color:rgba(255,255,255,.9); padding:10px; border-radius:10px;}
#slider10 img{width:100%;}
#slider10 p{margin:0px; padding:0px; font-style:italic; font-size:1.8em;}
/* inicio =================================================================================== */

.mw800,.mw1000,.mw1200{width:100%; margin:0 auto; padding: 0% 5%;}
.mw800{max-width: 800px;}
.mw1000{max-width:1000px;}
.mw1200{max-width:1200px;}
.cd-main-content ul li {list-style: square; list-style-position: inside; line-height: 1.3em;}
.cd-main-content p{ text-align:justify;}
.ini_img{float:left; width:48%;}
.txt_ini_dcha{font-size:1.2em; padding:0 5px 10px 5px;}
.margizq{ padding:0 0 0 30px;}
.ini_img3{float:left; width:33%;}
.ini_img3 a img{width:100%; padding:5px;}
.ini_img3 a img:hover{ opacity:0.8;}
.ini_img3 p{ padding:12px;}
.ini_img a:hover{color:rgba(221,6,10,1.00)}
.box-slider2{height: 280px;background-color: transparent;}

#boton-contactar{max-width:300px; margin:0 auto;}
#boton-contactar img{width:100%;}
#boton-contactar img:hover{opacity:0.8;}

.empresa{max-width:800px; width:95%; margin:20px auto 0 auto; background-color:rgba(255,255,255,.85); padding:20px 7%;}
#logo{max-width:300px; width:100%; margin:0 auto;}
#logo>img{width:100%;}
.centrado{text-align:center;}
.justificado{text-align:justify;}
.centrado>img{max-width:300px; width:100%;}
.alinjustify{text-align:justify;}
.galeria{max-width:1200px; width:95%; margin:20px auto 0 auto; background-color:rgba(255,255,255,.85); padding:20px 2%;}
.video-container{position:relative; padding-bottom:56.25%; padding-top:30px; height:0; overflow:hidden;}
.video-container iframe, #galleria{position:absolute; top:0; left:0; width:100%; height:100%;}
#imgcab-terrariosstdr,#imgcab-terrariosamedida,#imgcab-acuaterrario,#imgcab-rackcubetas,#imgcab-rackcristal,#imgcab-contact{background-size: cover;background-position: 50% 0%;}
#imgcab-terrariosstdr{background-image: url(../images/ini/terrarios_para_reptiles.jpg);}
#imgcab-terrariosamedida{background-image: url(../images/ini/terrarios_para_serpientes.jpg);}
#imgcab-acuaterrario{background-image: url(../images/ini/atmracks_terrarios_estancos.jpg);}
#imgcab-rackcubetas{background-image: url(../images/ini/atmtracks_reproduccion_reptiles.jpg);}
#imgcab-rackcristal{background-image: url(../images/ini/reproduccion_de_reptiles.jpg);}
#imgcab-contact{background-image: url(../images/ini/terrarios_racks_barcelona.jpg);}

table caption{font-size:1.5em; padding-bottom:15px;}
table tbody{
	background-color: #EFECD9;
	text-align: center;
}
table th{background-color:#4e6361;padding:4px; color:#E8E8E8;}
table td{padding:4px;}

/* Contacto =================================================================================== */

#contacto{
	width: 100%;
	margin: 0px auto;
	padding: 0 5%;
	max-width: 1000px;
}

#contacto img{width: 100%; max-width:1000px;}
#contacto p{ text-align:left;}

#contacto a{text-decoration: none;color: #DD8500;}
#contacto a:hover{color:#808080;}

#wb_Form1 {
	background-color: transparent;
	border: 0px #000000 none;
	width: 90%;
	min-width: 280px;
	max-width: 600px;
	margin:0px auto;
	display: block;
	position: relative;
}
#Form1{
	text-align:center;
}
.Editbox, #TextArea1 {
	width: 100%;
	background-color: rgba(255,255,255,0.75);
	border: 1px outset #B6B6B6;
	color: #333333;
	font-family: Arial;
	font-size: 14px;
	text-align: left;
	vertical-align: middle;
	display: block;
	padding: 3px 5px;
}
.Editbox {
	line-height: 23px;
	margin-bottom: 5px;
}
#TextArea1 {
	height: 150px;
	resize: none;
}
#Button1 {
	color: #000000;
	font-family: Arial;
	font-size: 13px;
	width: 96px;
	height: 25px;
	text-align: center;
	margin: 20px 0;
	
}
#google-maps {
	position: relative;
	padding-bottom: 50%; /* This is the aspect ratio */;
	height: 0;
	overflow: hidden;
}
#google-maps>iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
/* Redes sociales  =================================================================================== */
#redes_sociales {
	width: 40%;
	max-width: 200px;
	min-width: 150px;
	margin: 5% auto 2% auto;
}
#redes_sociales img {
	width: 22.5%;
	opacity: .75;
}
/* Pie de página =================================================================================== */
#pie_pag {
	font-size: .9em;
	text-align: center;
	padding: 10px 0 30px 0;
	/*background-color:rgba(0,0,0,.2);*/
	background-color: #253533;
}
#pie_pag p{
	color: #A0A0A0;
	font-style: italic;
}
#pie_pag a {
	text-decoration: none;
	color: #DD8500;
}
#pie_pag a:hover {
	text-decoration: none;
	color: #E4E4E4;
}
#pie_pag>#oficinas{max-width:600px;width:95%; margin:0 auto;}
#lnk a {
	text-decoration: none;
	color: #D1D0D0;
}
.direcc{
	float:left;width:50%;padding:3%;
}
.direcc>p>span{font-weight:bold;}
#small-dialog-legal {
	background: rgba(255,255,255,1);
	padding: 20px 30px;
	text-align: justify;
	max-width: 800px;
	margin: 40px auto;
	width: 90%;
	position: relative;
}
/* btn_scroll =================================================================================== */
#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	overflow: hidden;
	width: 44px;
	height: 44px;
	border: none;
	text-indent: 100%;
	background: url("../images/img_aux/top_move.png") no-repeat right top;
	z-index: 99999999;
}
/* politica cookies =================================================================================== */
#barritaloca {
	display: none;
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
	min-height: 20px;
	background-color: rgba(0,0,0,0.5);
	color: #dddddd;
	z-index: 99999;
}
#barritaloca div {
	width: 100%;
	position: absolute;
	padding: 2px 5px;
	font: 11px Arial;
/*top: 30%;*/text-align: center;
}
#barritaloca #ok {
	padding: 4px;
	text-decoration: none;
	color: #211d1e;
	background-color: rgba(247,215,7,0.80);
}
#barritaloca a {
	padding-left: 5px;
	text-decoration: none;
	color: #ffffff;
}
#barritaloca a:hover {
	color: #FF9900;
}
#small-dialog-cookies {
	background: white;
	padding: 20px 30px;
	text-align: left;
	max-width: 800px;
	margin: 40px auto;
	width: 90%;
	position: relative;
}
#small-dialog-cookies .subtitulo {
	color: #555658;
	font-size: 1.2em;
}
#small-dialog-cookies a {
	text-decoration: none;
	color: #eb1f28;
}
#small-dialog-cookies a:hover {
	color: #333;
}

/* Media Queries ============================================================================== */
@media only screen and (max-width: 1440px){
}
@media only screen and (max-width: 1366px){	
}
@media only screen and (max-width: 1280px){	
}
@media only screen and (max-width: 1024px){	
}
@media only screen and (max-width: 970px){
	/* Menu ==================================================================================== */	

	#idiomas {position: relative; margin:0px 0px 20px 0px; padding: 0px;}
	
}
@media only screen and (max-width: 768px){
}
@media only screen and (max-width: 640px){
	
	/* Slider ==================================================================================== */
	#slider10 p{font-size:1.0em;}
	#slider10>div>div{bottom:10%; left:30px;border-radius:8px;}
	.box-slider2{height: 150px;}
	#partners img{width:18.5%;}
	.ini_img,.ini_img3{width: 100%;}
	.margizq{ padding:30px 0 0 0;}
}	
@media only screen and (max-width: 480px){
	
	#google-maps {padding-bottom: 100%; /* This is the aspect ratio */}
	/* cookies ==================================================================================== */
	#barritaloca {width: 100%;min-height: 50px;}
	#barritaloca div {top: 5%;width: 100%;position: absolute;padding-right: 5px;margin: 0px auto 0px auto;}	
}

@media only screen and (max-width: 320px){

}
