html {
	overflow-x: hidden;
	margin:0px;
	padding: 0px;
}

.main_h {
  position: fixed;
  top: 0px;
  max-height: 100px;
  z-index: 999;
  width: 100%;
  padding-top: 17px;
  background: none;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  top: -100px;
  padding-bottom: 6px;
 font-family: 'Open Sans', sans-serif;
}

@media only screen and (max-width: 766px) {
  .main_h {
    padding-top: 55px;
    max-height: 130px;
  }
}

.open-nav {
  max-height: 400px !important;
}
.open-nav .mobile-toggle {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.sticky {
  background-color: rgba(224, 41, 139, 0.95);
  opacity: 1;
  top: 0px;
  border-bottom: 1px solid gainsboro;
}

.logo {
  width: 90px;
  font-size: 25px;
  color: #8f8f8f;
  text-transform: uppercase;
  float: left;
  display: block;
  margin-top: 0;
  line-height: 1;

  

}

.logo img {
	width: 250px;

}

@media only screen and (max-width: 766px) {
  .logo {
    float: none;
  }

  .logo_inicio {
  	padding-top: 60px;
  }
}

nav {
  float: right;
  width: 85%;
}
@media only screen and (max-width: 766px) {
  nav {
    width: 100%;
  }
}
nav ul {
  list-style: none;
  overflow: hidden;
  text-align: right;
  float: right;
}
@media only screen and (max-width: 766px) {
  nav ul {
    padding-top: 10px;
    margin-bottom: 22px;
    float: left;
    text-align: center;
    width: 100%;
  }
}
nav ul li {
  display: inline-block;
  margin-left: 25px;
  line-height: 1.5;
}
@media only screen and (max-width: 766px) {
  nav ul li {
    width: 100%;
    padding: 5px 0;
    margin: 0;
  }
}



/*
nav ul a {
  -moz-box-shadow:inset 0px 1px 0px 0px #f5978e;
	-webkit-box-shadow:inset 0px 1px 0px 0px #f5978e;
	box-shadow:inset 0px 1px 0px 0px #f5978e;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f));
	background:-moz-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:-webkit-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:-o-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:-ms-linear-gradient(top, #f24537 5%, #c62d1f 100%);
	background:linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f',GradientType=0);
	background-color:#f24537;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #d02718;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:14px;
	font-weight:bold;
	padding:6px 12px;
	text-decoration:none;
	text-shadow:0px 1px 0px #810e05;
}

nav ul a:hover {
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537));
	background:-moz-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:-webkit-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:-o-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:-ms-linear-gradient(top, #c62d1f 5%, #f24537 100%);
	background:linear-gradient(to bottom, #c62d1f 5%, #f24537 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537',GradientType=0);
	background-color:#c62d1f;
}
.myButton:active {
	position:relative;
	top:1px;
}
*/
.btn {
  font-weight: 900;
	color: white;
	transition: 0.4s ease;
}

/* Style the active class (and buttons on mouse-over) */
.active, .btn:hover {
  color: black;
}


.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 22px;
  top: 0;
  width: 30px;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}
@media only screen and (max-width: 766px) {
  .mobile-toggle {
    display: block;
  }
}
.mobile-toggle span {
  width: 30px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 1000px;
  background: #ffffff;
  display: block;
}

.row {
  overflow: hidden;
  position: relative;
  width: 100%;
  /**max-width: 940px;**/
  margin: 0 auto;
  
}

.row-top {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding: 0 3%;
}

* {
  box-sizing: border-box;
}

body {
  color: #8f8f8f;
  background: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  margin:0px;
  padding: 0px;

}

a {
  text-decoration: none;
}

h1 {
  font-size: 30px;
  line-height: 1.8;
  font-family: 'Open Sans', sans-serif;
}

p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 2;
}

.content {
  margin: 0 auto;
  width: 100%;
  max-width: 940px;
  padding: 50px 2% 50px;
}

.hero {
  position: relative;
  background: url(../assets/header-bg1.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  color: #fff;
  
  min-height: 500px;
  letter-spacing: 2px;
  font-family: 'Open Sans', sans-serif;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.3;
}
.hero h1 span {
  font-size: 25px;
  color: #e8f380;
  border-bottom: 2px solid #e8f380;
  padding-bottom: 12px;
  line-height: 3;
}

.hero img {
	margin: 0;
	padding: 0;
	width: 100%
	max-width:350px;
}

@media only screen and (max-width: 766px) {
  .hero{
    background: url(../assets/header-bg-1.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  }

  .logo_inicio {
    position: absolute;
    width: 100%;
    max-width:600px;
    margin: 0 auto; /* Will not center vertically and won't work in IE6/7. */
    left: 0;
    right: 0;
}
}



.logo_inicio {
	position: absolute;
	width: 100%;
	max-width:600px;
	margin: 0 auto; /* Will not center vertically and won't work in IE6/7. */
	left: 0;
	right: 0;
}

.mouse {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 46px;
  border-radius: 13px;
  border: 2px solid #e8f380;
  position: absolute;
  bottom: 40px;
  position: absolute;
  left: 50%;
  margin-left: -26px;
}
.mouse span {
  display: block;
  margin: 6px auto;
  width: 2px;
  height: 2px;
  border-radius: 4px;
  background: #e8f380;
  border: 1px solid transparent;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }
}

.contador {
    position: fixed;
	z-index:2000;
    right: 10px;
    top:20px;
    pointer-events: none;
	
}

@media only screen and (max-width: 766px) {
 .contador {
    top:5px;
    left: 10px;
	padding-left:  20px;
    width: 50px;
    pointer-events: none;
    }
}


/************* Geenrales ******************/
.titulos_seccion {
	text-align: center;
	font-weight: 900;
	font-size: 3em;
	color: #e6612f;
	padding-top:50px;
}

.subtitulos {
	text-decoration: underline;
	text-align: left;
}

.subtitulos2 {
  color: black;
  text-decoration: underline;
  text-align: center;
}

.icon {
  color: black;
  text-align: center;
  font-size: 45px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;

}


.flex-container div {
  width: 400px;
  margin: 10px;

}

.flex-container2 {
  margin-top: 110px;
  min-height: 280px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;

}


.flex-container2 div {
  text-align: center;
  width: 200px;
  margin: 10px;

}

.flex-container2 a {
  color:black;
}

.flex-container2 a:hover{
  color:white;
}


.rescala-foto {
	max-width: 100%;
}

.texto-general {
	font-size: .9em;
	line-height: 1.6em;
	font-family: 'Open Sans', sans-serif;
	text-align: justify;
}

/************* Sec 01 ********************/
.back-sec01 {
	background-color: #e8c04e;
	background-image: url(../assets/back-info1.png);
	height: 100%
	background-size: cover;
	background-position: center;
	overflow: hidden;
	color: black;
	text-align: center;
}



/************* Sec 02 ********************/
.content-galeria {
  margin: 0 auto;
  width: 100%;
  max-width: 1140px;
  
}

/************* Sec 05 ********************/
.back-sec05 {
  background-color: #f6c333;
  background-image: url(../assets/back-info1.png);
  height: 100%
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: black;
  text-align: center;
}

.back-sec02 {
	height: 100%
	background-size: cover;
	background-image: url(../assets/back-galeria.jpg);
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	color: black;
}

.flex-container-gal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-container-gal div {
  width: 275px;
  height: 200px;
  margin: 5px;
}

.item{
  overflow: hidden;
  margin-bottom: 0;
  background: black;
  opacity: 1;
}

.item .image{
  transition: 0.4s ease;
  cursor: pointer;
}



@media (min-width: 576px) {

  .zoom-on-hover:hover .image {
    transform: scale(1.3);
    opacity: 0.7; 
  }
}

/************* Sec 03 ********************/

.back-sec03 {
	background-color: #e65732;
	background-image: url(../assets/back-info.png);
	background-repeat: repeat-x repeat-y;
	background-position: center;

	position: relative;
	overflow: hidden;
	color: white;
	line-height: .7;
	text-align: justify;
  	text-justify: inter-word;

}

.imagen03 {
	text-align: center;
	padding-top: 40px;
}

/************* Sec 04 ********************/

.back-sec04 {
	background-image: url(../assets/back-galeria.jpg);
	height: 100%;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	color: black;
}

.flex-container-contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.flex-container-contacto div {
  width: 250px;
  margin: 10px;
  padding-bottom: 50px;
}

#redes {

  margin: 0 auto;
}

#redes i{
  padding-left: 6px;
	font-size: 2.2em;
	color: black;
	
	transition: 0.4s ease;
}

#redes a i:hover {
	color:#f7c333;

}

.btn_contacto {
	text-decoration: none;
	color: black;
	transition: 0.4s ease;
}

.btn_contacto:hover{
	color:#f7c333;
}


/************* Footer ********************/

.back-footer {
	padding: 30px;
	text-align: center;
	background-color: #f7c333;
	width: 100%;
	color: black;
	text-transform: uppercase;

}


/*************** animation ***************/

.fly {

  opacity:0;

  transition:all 600ms ease-in-out;

  transform: translateZ(100px) scale(1.05) translate3d(0,0,0);

}

 

.show-block {

  opacity:1;

  transform: translateY(0) scale(1) translate3d(0,0,0);

}


.clearfix:after {
  content: '.';
  line-height: 0;
  height: 0;
  overflow: hidden;
  display: block;
  clear: both;
  width: 100%;
  visibility: hidden;
}

/*--------------contenidodiv--------------*/

.alineados:{
            vertical-align: top;
            display: inline-block;
        }