/*
Theme Name: Avila Law
Author: Andres J. Villar - Merit Designs
Author URI: https://meritdesigns.com
Description: Theme Wordpress
Version: 1.0
*/
:root {	
	--white: #ffffff;
	--blue: #302B3B;
	--brown: #AC7F43;
	--grey: #302B3B;
	--black: #031113;
}
@font-face {
    font-family: 'Aelita-Medium', sans-serif;
    src: url('fonts/Aelita-Medium.eot');
    src: url('fonts/Aelita-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Aelita-Medium.woff2') format('woff2'),
        url('fonts/Aelita-Medium.woff') format('woff'),
        url('fonts/Aelita-Medium.ttf') format('truetype'),
        url('fonts/Aelita-Medium.svg#Aelita-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
html, body{
	height: 100%;
}
body {
	background: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: #54595F;
	font-weight: normal;
}
.container, .container-fluid {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}
.clear, .clearfix {
	display: block;
	clear: both;
}
.height10 {
	height: 10px;
}
.height20 {
	height: 20px;
}
.height30 {
	height: 30px;
}
.height50 {
	height: 50px;
}
img {
	max-width: 100%;
	height: auto;
}
.black {
	color: var(--black);
}
.white {
	color: var(--white);
}
.blue {
	color: var(--blue);
}
.brown {
	color: var(--brown);
}
.grey {
	color: var(--grey);
}
.bg-black {
	background: var(--black);
}
.bg-white {
	background: var(--white);
}
.bg-blue {
	background: var(--blue);
}
.bg-brown {
	background: var(--brown);
}
.bg-grey {
	background: var(--grey);
}
.bg-gris {
	background: #f0f0f0;
}
.transition, a.boton, button {
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
a, a:hover, a:focus, a:active {
	text-decoration: none;
	color: var(--blue);
}
.readmore, .boton {
	text-transform: uppercase;
	display: inline-block;
	color: var(--white);
	background: var(--blue);
	border: none;
	padding: 12px 40px;
	font-weight: normal;
	font-family: 'Roboto', sans-serif;
	border-radius: 4px;
}
.readmore:hover, .boton:hover, .readmore:focus, .boton:focus {
	color: var(--white);
	background: var(--blue);
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Aelita-Medium', sans-serif;
	font-weight: normal;
	color: var(--black);
}


/**** HEADER ****/
.top {
	padding-top: 8px;
	padding-bottom: 8px;
	color: #fff;
	font-size: 15px;
}
.top img {
	margin-right: 3px;
	position: relative;
	top: -2px;
}
.top a {
	color: #fff;
}
.top .direccion, .top .telefono {
	margin-right: 10px;
}
.top .social {
	display: block;
	width: 100%;
	text-align: right;
}
.top .social a {
	background: #fff;
	color: var(--brown);
	width: 26px;
	height: 26px;
	text-align: center;
	display: inline-block;
	border-radius: 50%;
	line-height: 26px;
	margin: 0 2px;
}
.top .col-sm-9 span {
	position: relative;
	top: 3px;
} 
header {
	z-index: 100;
	position: relative;
	width: 100%;
	background: #fff;
}
header.normal {
	-webkit-box-shadow: 0px 1px 12px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 1px 12px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 1px 12px 0px rgba(0,0,0,0.15);
}
header .navbar-brand {
	padding: 3px 0px;
	min-height: none;
	height: auto !important;
	z-index: 9999 !important;
}
header .navbar-brand img {
    height: 35px;
}
.navbar-header {
    position: relative;
    z-index: 999;
}
.navbar-default {
    background-color: transparent !important;
    border-color: none;
    border: none;
    margin-top: 20px;
    margin-bottom: 10px;
}
.normal .navbar-default .navbar-nav li a {
	color: var(--blue);
	font-size: 16px;
	border: none;
	text-transform: none;
	font-weight: normal;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	font-family: 'Roboto', sans-serif;
	border:none;
	padding: 13px 15px;
}
.normal .navbar-default .navbar-nav li.active a, .normal .navbar-default .navbar-nav li a:hover,
.normal .navbar-default .navbar-nav li a:focus {
	background:none !important;
	color: var(--brown);
	border: none;
}
.normal .navbar-default .navbar-nav > .active > a, 
.normal .navbar-default .navbar-nav > .active > a:focus, 
.normal .navbar-default .navbar-nav > .active > a:hover {
    background:none !important;
	color: var(--brown);
	border: none;
}
.mini-header {
	background: var(--blue); 
	display:none; 
	top: 0; 
	position: fixed; 
	height:70px; 
	z-index:100000;
	-webkit-transition: margin-top .3s ease 0s;
	-moz-transition: margin-top .3s ease 0s;
	-ms-transition: margin-top .3s ease 0s;
	-o-transition: margin-top .3s ease 0s;
	transition: margin-top .3s ease 0s;
}
.mini-header .navbar-default {
    margin-top: 15px;
    margin-bottom: 10px;
}
.mini-header .navbar-default .navbar-nav li a {
	color: var(--white);
	font-size: 16px;
	border: none;
	text-transform: none;
	font-weight: normal;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	font-family: 'Roboto', sans-serif;
	border:none;
	padding: 13px 15px;
}
.mini-header .navbar-default .navbar-nav li.active a, 
.mini-header .navbar-default .navbar-nav li a:hover,
.mini-header .navbar-default .navbar-nav li a:focus {
	background:none !important;
	color: var(--brown);
	border: none;
}
.mini-header .navbar-default .navbar-nav > .active > a, 
.mini-header .navbar-default .navbar-nav > .active > a:focus, 
.mini-header .navbar-default .navbar-nav > .active > a:hover {
    background:none !important;
	color: var(--brown);
	border: none;
}





/**** HOME ****/
.carousel-home .item {
	height: 600px;
	background-repeat: no-repeat;
	background-position: bottom center;
}
.carousel-home img.imgcarousel {
	width: 100%;
}
.carousel-home .container-fluid {
    position: absolute;
    color: #fff;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
 	height:100%;
}
.carousel-home .row {
	height:100%;
} 
.carousel-home .col-sm-12 {
	height:100%;
}
.content-carousel {
	display: flex;
	height: 100%;
	align-items: center;
	color: #fff;
}
.content-carousel > div {
	text-align: left;
	width: 700px;
	max-width: 100%;
	margin: 0;
	font-size: 18px;
}
.content-carousel h1 {
	font-size: 54px;
	color: #fff;
}
h1 {
	font-size: 54px;
}
h2 {
	font-size: 42px;
}
.subtitle {
	color: var(--black);
}
.subtitle + h2 {
	margin-top: 10px;
	padding-top: 0;
}
.service-home {
	display: block;
	border:1px solid #CCCCCC;
	padding: 25px 20px 10px 20px;
	min-height: 300px;
	margin-bottom: 30px;
	text-align: center;
}
.service-home span.active, .service-home span.noactive {
	display: inline-block;
	padding: 8px;
	width: 70px;
	height: 70px;
}
.service-home .imagen span {
	-webkit-border-top-left-radius: 12px;
	-webkit-border-bottom-right-radius: 12px;
	-moz-border-radius-topleft: 12px;
	-moz-border-radius-bottomright: 12px;
	border-top-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
.service-home .noactive {
	border: #ccc;
	background: #fff;
	border: 1px solid #ccc;
}
.service-home .active {
	display: none !important;
	border: 1px solid var(--brown);
}
.service-home:hover .noactive {
	display: none !important;
}
.service-home:hover .active {
	display: inline-block !important;
	background: var(--brown);
}
.nosotros-home {
	position: relative;
	padding-top: 100px;
	padding-bottom: 100px;
}
.nosotros-home .image {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	background: url(images/home-img.png) no-repeat left top;
	width: 45%;
	height: 100%;
}
.div-equipo {
	position: relative;
	height: 400px;
}
.equipo {
	height: 400px;
	display: block;
	width: 100%;
}
.div-equipo .contenidos {
	background: var(--blue);
	text-align: center;
	padding-top: 10px;
	padding-left: 15px;
	padding-right: 15px;
	color: #fff;
	padding-bottom: 12px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}
.div-equipo h4 {
	margin-bottom: 5px;
	padding-bottom: 0;
}
.div-equipo .redes {
	margin-top: 10px;
	height: 0;
	overflow: hidden;
	-webkit-transition: all .2s;
	transition: all .2s;
}
.div-equipo:hover .redes {
	height: 40px;
}
.div-equipo .redes a {
	background: #fff;
	display: inline-block;
	width: 34px;
	height: 34px;
	line-height: 34px;
	border-radius: 50%;
	font-size: 14px;
	text-align: center;
	color: var(--blue);
	margin: 0 2px;
}
footer {
	padding-top: 40px;
	padding-bottom: 30px;
}
footer a {
	color: #fff;
}
.menufooter a {
	margin: 0 10px 5px 0;
}
p.contactos {
	margin-bottom: 5px;
	padding-bottom: 0;
	position: relative;
	padding-left: 26px;
}
p.contactos img {
	position: absolute;
	left: 0;
	top: 4px;
}
.borde-footer {
	width: 100%;
	height: 1px;
	border: 1px dashed var(--brown);
	margin-bottom: 30px;
}
.developer {
	text-align: right;
}
.cab {
	background: url(images/cab.jpg) no-repeat bottom center;
	background-size: cover;
	padding-top: 50px;
	padding-bottom: 60px;
	color: #fff;
}
.single-equipo {
	position: relative;
}
.single-equipo .imagequipo {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 45%;
}
.single-equipo .imagequipo::before {
  	content: '';
  	height: 100%;
  	width: 251px;
  	background: url(images/mask.png) no-repeat right top;
  	position: absolute;
  	top: 0;
  	bottom: 0;
  	left: 0;
  	background-size: cover;
}
.redesequipo {
	margin-top: 30px;
}
.redesequipo a {
	background: var(--blue);
	display: inline-block;
	width: 38px;
	height: 38px;
	line-height: 38px;
	border-radius: 50%;
	font-size: 15px;
	text-align: center;
	color: #fff;
	margin: 0 2px;
}
@media(min-width: 767px) {
	.floatright {
		float: right;
	}
}
.servicio {
	padding-left: 75px;
	position: relative;
}
.servicio .icono {
	position: absolute;
	left: 0;
	top: -7px;
}
.mapa iframe {
	width: 100%;
	height: 410px;
}
.formulario input, .formulario textarea {
	width: 100%;
	background: #e9e9e9;
	padding: 12px;
	margin-bottom: 15px;
	border: none;
	color: #111;
}
.formulario textarea {
	height: 90px;
}
.alert.alert-success {
	color: var(--blue);
}

@media(max-width: 1100px) {
	.top .direccion {
		display: none;
	}
}


@media(max-width:  767px) {
	.content-carousel h1 {
 		font-size: 38px;
  		color: #fff;
	}
	h1 {
		font-size: 38px;
	}
	h2 {
		font-size: 30px;
	}
	.carousel-home .item {
  		height: 396px;
  	}
  	.navbar-toggle {
	 	margin-top: 14px;
	 	padding: 0;
	 	border: none !important;
	 	background: none !important;
	 	text-align: right;
	 	margin-right: 0;
	}
	.navbar-nav {
  		margin: 7.5px 0;
  		overflow: hidden;
	}
  	.normal .navbar-default .navbar-toggle .icon-bar {
		background: var(--blue);
		height: 2px;
		border-radius: 0;
		float: right;
		margin-bottom: 5px;
	}
	.mini-header .navbar-default .navbar-toggle .icon-bar {
		background: var(--white);
		height: 2px;
		border-radius: 0;
		float: right;
		margin-bottom: 5px;
	}
	.navbar-collapse {
	  	border-top: 1px solid #fff !important;
	  	box-shadow: none !important;
	  	background: #fff;
	  	padding: 0;
	  	margin-top: 8px;
	  	background: #fff;
	  	margin-left: -15px;
  		margin-right: -15px;
	}
	.mini-header .navbar-collapse {
		margin-top: 12px;
	}
	.normal .navbar-default .navbar-nav li a,
	.mini-header .navbar-default .navbar-nav li a {
		color: var(--blue);
		font-size: 16px;
		border: none;
		text-transform: none;
		font-weight: normal;
		transition: all .2s ease-in-out;
		-webkit-transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-o-transition: all .2s ease-in-out;
		font-family: 'Roboto', sans-serif;
		border:none;
		padding: 13px 15px;
	}
	.normal .navbar-default .navbar-nav li.active a, .normal .navbar-default .navbar-nav li a:hover,
	.normal .navbar-default .navbar-nav li a:focus,
	.mini-header .navbar-default .navbar-nav li.active a, .mini-header .navbar-default .navbar-nav li a:hover,
	.mini-header .navbar-default .navbar-nav li a:focus {
		background:none !important;
		color: var(--brown);
		border: none;
	}
	.normal .navbar-default .navbar-nav > .active > a, 
	.normal .navbar-default .navbar-nav > .active > a:focus, 
	.normal .navbar-default .navbar-nav > .active > a:hover,
	.mini-header .navbar-default .navbar-nav > .active > a, 
	.mini-header .navbar-default .navbar-nav > .active > a:focus, 
	.mini-header .navbar-default .navbar-nav > .active > a:hover {
	    background:none !important;
		color: var(--brown);
		border: none;
	}
	.service-home {
		padding: 25px 20px 25px 20px;
		min-height: 10px;
	}
	.nosotros-home {
		padding-top: 60px;
		padding-bottom: 30px;
	}
	.nosotros-home .image {
		background: url(images/nosotros2.jpg) no-repeat center center;
		background-size: cover;
		position: relative;
		bottom: inherit;
		left: inherit;
		right: inherit;
		height: 200px;
		margin-top: 20px;
		margin-bottom: 20px;
		width: 100%;
	}
	.developer {
		text-align: left;
	}
	.single-equipo .imagequipo {
		position: relative;
		right: inherit;
		top: inherit;
		bottom: inherit;
		width: 100%;
		height: 400px;
		background-position: top center !important;
	}
	.single-equipo .imagequipo::before {
	  	content: none;
	}
	.imagequipo + .height50 {
		height: 30px;
	}

}

@media(max-width: 598px) {
	.top .email {
		display: none;
	}
}

@media(max-width: 498px) {
	.carousel-home .item {
 		height: 326px;
	}
	.content-carousel h1 {
  		font-size: 29px;
  		margin-top: -30px;
	}
	.cab {
		padding-top: 30px;
		padding-bottom: 90px;
	}
	.full498 {
		width: 100%;
		float: none;
	}
	.single-equipo .imagequipo {
		height: 300px;
	}
}