@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700|Open+Sans:300,400,700');

* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
a, a:visited{
	color:#8c323b;
}
a:hover, a:active {
	text-decoration: none;
	color:#4a4f55;
}
body{
	margin:0;
	padding:0;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	color: #666666;
}
section{
	overflow:hidden;
}
header .logo{
	margin-top: 45px;
	display: block;
}
header .logo img{
	margin: auto;
}
nav.main-nav{
	display: block;
}
nav.main-navmovile, .close-main{
	display: none;
}
nav.main-nav{
	text-align: center;
	margin-top: 52px;
}
nav.main-nav ul{
	list-style: none;
	margin: auto;
	width: 100%;
	margin-bottom: 30px;
}
nav.main-nav ul li{
	text-align: center;
	display: inline-block;
}
nav.main-navmovile .open-main{
	color: #4a4f55;
	font-size: 24px;
	margin:auto;
}
nav.main-nav ul li a{
	font-family: 'Montserrat', sans-serif;
	color: #4a4f55;
	font-size: 16px;
	text-decoration: none;
	padding: 0px 43px;
}
nav.main-nav ul li a.activo, nav.main-nav ul li a:hover{
	color: #8c323b;
}
p.just{
	text-align: justify !important;
}
p{
	line-height: 22px;
}
h2{
	font-family: "Montserrat", sans-serif;
	font-size: 22px;
	color:#4a4f55;
	font-weight: 400;
	text-align: center;
}
hr.h2{
	width: 100%;
	height: 2px;
	background-image:url("../img/hr.png");
	background-repeat: no-repeat;
	background-position: center;
	border: none;
	border-bottom: 1px solid #cccccc;
	padding: 0;
	margin: 0;
	margin-bottom: 60px;
}
h3{
	font-size: 14px;
}

.cbordo{
	color: #8c323b
}

.leyenda{
	/*background-image: url("../img/home.jpg");
	background-repeat: no-repeat;
	background-size: cover;*/
	background: transparent;
	min-height: 384px;
}
.leyenda img.interna{
	margin: auto;
	margin-top: 159px;
}

.centro{
	/*background-image: url("../img/centro.jpg");
	background-repeat: no-repeat;
	background-size: cover;*/
	background: transparent;
	min-height: 400px;
}
.centro img{
	margin: auto;
	margin-top: 159px;
}

#estudio, #areas, #clientes, #contacto{
	padding-top: 45px;
	padding-bottom: 45px;
}

#areas{
	background-color: #edf1fa;
}
#contacto{
	background-color: #333333;
	color: #fff;
}
#contacto h2{
	color: #fff;
}
#contacto p{
	text-align: center;
}
.centerimg {
	text-align: center;
}
#areas h3, #clientes h3{
	font-size: 16px;
	font-family: "Montserrat", sans-serif;
	color: #4a4f55;
	text-align: center;
	margin-top: 30px;
}
#clientes img{
	display: inline-block;
	padding: 40px;
}
form{
	display: block;
	max-width: 530px;
	margin: auto;
}
input, textarea, select{
	display: block;
	width: 100%;
	font-size: 14px;
	color: #cccccc;
	border: 1px solid #fff;
	padding: 7px 16px;
	margin-bottom: 19px;
	background-color: transparent;
}
textarea{
	height: 150px;
}

input[type="submit"]{
	background-color: #8d323c;
	border:none;
	color: #fff;
	width: auto;
	padding: 7px 34px 7px 34px;
	margin: auto;
	font-size: 18px;
}

.map-control {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 2px rgba(33, 33, 33, 0.4);
    font-family: 'Roboto','sans-serif';
    margin: 10px;
    /* Hide the control initially, to prevent it from appearing
       before the map loads. */
    display: none;
  }
  /* Display the control once it is inside the map. */
  #map .map-control { display: block; }

  .selector-control {
    font-size: 14px;
    line-height: 30px;
    padding-left: 5px;
    padding-right: 5px;
  }


#map{width:100%;height:430px;}

footer{
	background: transparent;
	padding-top: 65px;
	padding-bottom: 40px;
	font-size: 13px;
	min-height: 380px;
	color:#cccccc;
	font-size: 14px;
}
footer a, footer a:visited{
	color:#cccccc;
}
footer a:hover{
	color: #fff;
}
footer h3{
	color: #fff;
	font-size: 16px;
	font-family: "Montserrat", sans-serif;
}
.lhcontrol{
	line-height: 43px;
}
.menufoot{
	list-style: none;
}
.menufoot li{
	display: block;
	line-height: 33px;
}
#pie{
	height: 50px;
	background-color: #393640;
	color: #cccccc;
	font-size: 14px;
	line-height: 50px;
}
#pie a{
	text-decoration: none;
	color: #cccccc;
	font-size: 14px;
}
#pie a:hover{
	color: #fff;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: none;
    transform: none;
  }
}

@-webkit-keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  to {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInRight {
  from, 60%, 75%, 90%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  to {
    -webkit-transform: none;
    transform: none;
  }
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1);
    transform: scale3d(.1, .1, .1);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1);
    transform: scale3d(.1, .1, .1);
  }

  50% {
    opacity: 1;
  }
}

.anima.fadeIn.in-view {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-delay: 300ms;
    animation-delay: 300ms;
}
.anima.zoomIn.in-view {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

.anima.bounceInRight.in-view {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight;
}
.anima.bounceInLeft.in-view {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft;
}
.anima{
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


@media only screen and (max-width: 991px) {
	nav.main-nav ul li a {
	    font-size: 14px;
	    padding: 0px 23px;
	}
}
@media only screen and (max-width: 768px) {
	nav.main-nav ul li{
		display: block;
		border-bottom: 1px solid #ccc;
		line-height:70px;
	}
	nav.main-navmovile{
		    display: inline-block;
		    width: 100%;
	}
	nav.main-navmovile .open-main{
		text-align: center;
	}
	nav.main-nav{
		display: none;
		position: absolute;
		top:84px;
		left: 0;
		width: 100%;
		height: auto;
		background-color: #393640;
		overflow: auto;
		z-index: 150;
		margin: 0;
		padding: 0;
	}
	nav.main-nav ul li a{
		display: block;
		width: 100%;
		height: 70px;
		color: #cccccc;
	}
	nav.main-nav .close-main{
		display: block;
		padding: 20px;
		color: #ccc;
		width: 100%;
		text-align: right;
		border-bottom: 1px solid #ccc;
	}
	nav.main-nav ul li a.activo, nav.main-nav ul li a:hover{
		color: #fff;
	}
}
@media only screen and (max-width: 464px) {
	
}
@media only screen and (max-width: 320px) {
	
}