@import url('reset.css');
@import url('fuentes.css');

/*Inicio contactenos*/
#img-contact{
	float:left;
	width:100%;
	margin:30px 0;
	display:flex;
	justify-content:center;	
	position:relative;
}
#img-contact #vert{
	float:left;
	display:flex;
	flex-direction:column;
	justify-content:center;	
}
.ctenos1{
	width:100%;
	margin:auto;
	border-radius:10px;
	box-shadow:1px 0px 2px #82ECFA;
	animation-name:zoomInDown-contact;
	animation-duration:5s;
	
}
@media screen and (max-width:440px){
	.ctenos1{
	width:100%;
	}
}
#img-contact #vert article {
	position:absolute;
	bottom:15px;
	width:100%;
	animation-name:zoomInDown-contact;
	animation-duration:5s;
}
#img-contact #vert p{
	position:absolute;
	bottom:15px;
	width:100%;
	text-align:center;
	color:rgba(243,243,243,1);
	font-family:Overlock-Regular;
	font-size:18px;
	background-color:rgba(0,0,0,.5);
	padding:.5em 0;
	font-weight:bold;
	animation-name:flash;
	animation-duration:3s;
	animation-delay:6s;
	animation-iteration-count:infinite;
}
@media screen and (max-width:880px){
	#img-contact #vert p{
	font-size:15px;
	}
}
@media screen and (max-width:440px){
	#img-contact #vert p{
	font-size:12px;
	}
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}
@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    transform: perspective(400px);
  }
}
@keyframes flash {
  from, 50%, to {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

@keyframes shake {
  from, to {
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    transform: translate3d(10px, 0, 0);
  }
}

@keyframes zoomInDown-contact {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}
@keyframes bounceIn-contact {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(.97, .97, .97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
.titulo-dycocet{
	float:left;
	width:60%;
	padding:10px 0;
	box-shadow:1px 0px 2px #82ECFA;
	margin-left:20%;
	display:flex;
	justify-content:center;
	border-radius:5px;
}
@media screen and (max-width:440px){
	.titulo-dycocet{
	width:100%;
	margin-left:0;
	}
}

#intro-contact{
	float:left;
	width:60%;
	height:auto;
	margin-top:10px;
	margin-bottom:20px;
	margin-left:20%;
	display:flex;
	justify-content:center;
}
@media screen and (max-width:440px){
	#intro-contact{
	width:100%;
	margin-left:0;
	}
}
.titulo-dycocet .horiz, #intro-contact #vert{
	float:left;
	display:flex;
	flex-direction:column;
	justify-content:center;	
}
.titulo-dycocet h2{
	color:#ff3300;
	font-size:20px;
	font-family:Overlock-Regular;
	text-align:center;
}
#intro-contact p {
	color:#fff;
	font-size:15px;
	font-family:Overlock-Regular;
	text-align:justify;
}

#contact-ofice{
	margin-top:20px;
	float:left;
	width:30%;	
	/* box-shadow:1px 0px 2px #82ECFA;  */
}
@media screen and (max-width:440px){
	#contact-ofice{
	width:80%;
	}
}

#contact-ofice p{
	color:#fff;
	font-size:15px;
	font-family:Overlock-Regular;
	line-height:150%;
}
#contact-ofice span{
	color:#ff3300;
	font-size:16px;
}
#escribenos{
	clear:both;
	float:left;
	box-shadow:1px 0px 2px #82ECFA;
	width:33.16%;
	margin-top:50px;
	border-radius:5px;
	padding:5px 0px;
}
@media screen and (max-width:880px){
	#escribenos{
	width:80%;
	margin-left:10%;
	}
}
@media screen and (max-width:440px){
	#escribenos{
	width:100%;
	margin-left:0;
	}
}
#escribenos p{
	color:#fff;
	font-size:15px;
	text-align:center;
	padding:5px 0;
	font-family:Overlock-Regular;
}
#escribenos span{
	color:#ff3300;
}


/*Seccion formulario contacto*/
.container {
  float:right;
  width:34%;/*Se encaja los cajones del formulario con la caja contenedora*/
  margin-top:20px;
  margin-bottom:20px;
  padding:2px;
  position: relative;  
}
.container p{
	width:100%;
	color:#ff3300;
	font-size:15px;
	font-family:Overlock-Regular;
	text-align:center;
	padding:7px 0px;
}
@media screen and (max-width:880px){
	.container {
	clear:both;
	float:left;
	width:50%;
	margin-top:40px;
	margin-left:25%;
	padding:0px;
	}
}

@media screen and (max-width:440px){
	.container {
	clear:both;
	float:left;
	width:100%;
	margin-top:40px;
	margin-left:0;
	padding:0px;
	}
	
}
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="text"],
#contact input[type="text"],
#contact textarea,
#contact button[type="submit"] {
  font-family:Overlock-Regular;
  font-size:15px;
}

#contact {
  background: #003448;
  padding: 0px;
  width:100%; /*antes tenía 330px*/
  margin: 0px;
  /* box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); */
  /* box-shadow:1px 0px 2px #82ECFA; */
}
fieldset {
  margin:2px 0px;
  padding:0;
  max-width:97%; /*antes tenía 330px*/
}
/*Formato a cada cajón*/
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="text"],
#contact input[type="text"],
#contact textarea {
  width: 100%;
  border: 1px solid #7f7f7f;
  border-radius:5px;
  background: #003448;
  padding: 5px;
  box-shadow:1px 0px 2px #000;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}
#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}
#contact button[type="submit"] {
  float:left;
  cursor: pointer;
  border: none;
  border-radius:5px;
  background:rgba(169,169,169,.5);
  color: #000;
  margin-left: 32.5%;
  padding: 10px 50px;
  font-size: 15px;
  margin-top:10px;
}

@media screen and (max-width:440px){
	#contact button[type="submit"] {
	margin-left:30%;
	}
}
@media screen and (max-width:880px){
	#contact button[type="submit"] {
	margin-left:30%;
	}
}

#contact button[type="submit"]:hover { /*boton de enviar*/
  background: #43A047;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}
::-webkit-input-placeholder {
  color: #fff;
}
:-moz-placeholder {
  color: #fff;
}
::-moz-placeholder {
  color: #fff;
}
:-ms-input-placeholder {
  color: #fff;
}
#map-ofice{
	clear:both;
	float:left;
	margin:30px 0;
	width:49.75%;
	height:385px;
	margin-right:0.5%;
}
#map-bodega{
	float:left;
	margin:30px 0;
	width:49.75%;
	height:385px;
}
#mofi,#mbod{
	width:100%;
	height:100%;
}
@media screen and (max-width:880px){
	#map-ofice{
	width:80%;
	margin-left:10%;
	}
	#map-bodega{
	width:80%;
	margin-left:10%;
	}
	#mofi,#mbod{
	width:100%;
	height:100%;
	}
	
}
@media screen and (max-width:440px){
	#map-ofice{
	width:100%;
	height:200px;
	margin-left:0;
	}
	#map-bodega{
	width:100%;
	height:200px;
	margin-left:0;
	}
	#mofi,#mbod{
	width:100%;
	height:100%;
	}
	
}

