@charset "utf-8";
/* CSS Document */

/* Fixes */
* {
	margin: 0;
	padding: 0;
}

img { 
	border: none;
}

article, 
aside, 
figure, 
footer, 
header, 
hgroup, 
nav, 
section {
	display: block;
}

textarea {
	resize: none;
}

/* Clases comunes */

.clear {
	width: 100%;
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.none {
	display: none;
}

.wrapper {
	display: block;
	margin: 0 auto;
	width: 90%;
	max-width: 1280px;
}

/* Firma Kábala */

#logoKabala {
	display: block;
	width: 50px;
	height: 13px;
	position: absolute; 
	bottom: 10px;
	left: 10px;
}

/* Layout */

body {
	margin: 0 auto;
	font-family: 'Source Sans Pro', sans-serif;
}

.half {
	width: 50%;
	height: 300px;
	margin: 50px 0;
	float: left;
}

.half img {
    padding-top: 20px;
}

.half p {
    font-size: 20px;
    line-height: 28px;
}

.last {
	width: 50%;
	height: 300px;
	margin: 50px 0;
	float: right;
}

.last img {
    padding-top: 20px;
}

.last p {
    font-size: 20px;
    line-height: 28px;
}

.mobile {
	display: none; 
}

header {
	width: 100%;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
}

header nav {
	height: 80px;
	display: block;
	background-color: #ffffff;
	border-bottom: 3px solid #cf3e41;
}

header nav img {
	float: left;
	width: 250px;
}

header nav ul {
    display: block;
    float: right;
    height: 28px;
    list-style: outside none none;
    margin-top: 25px;
}

header nav ul li {
	float: left;
	list-style: none;
	margin-left: 10px;
	margin-right: 10px;
}

header nav ul li a {
	text-decoration: none;
	font-size: 18px;
	color: #000000;
}

header nav ul li a:hover {
	color: #cf3e41;
}

header nav ul li a:active {
	color: #cf3e41;
}

#abrirMenu {
	display: none;
	position: absolute;
	font-size: 35px;
}

#abrirMenu:hover {
	color: #cf3e41;
}

/* Nosotros */

#nosotros {
	margin-top: 100px;
}

#nosotros h1 {
	margin: 25px 0 25px 0;
	text-align: center;
	font-size: 30px;
	font-weight: normal;
	color: #cf3e41;
}

#nosotros img {
	width: 100%;
	display: block;
	margin: 0 auto;	
}

#nosotros p {
    background-color: #cf3e41;
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    padding: 50px 25px;
    text-align: center;
}

/* Servicios */

#servicios h1 {
	margin: 25px 0 25px 0;
    color: #cf3e41;
    font-size: 30px;
    font-weight: normal;
    text-align: center;
}

.half > img {
	display: block;
	width: 70%;
	margin: 0 auto;
}

.half > ul {
    list-style: outside none none;
    padding-left: 25%;
}

.half span {
    font-size: 18px;
    line-height: 35px;
}

.last > img {
	display: block;
	width: 70%;
	margin: 0 auto;
}

.last > ul {
    list-style: outside none none;
    padding-left: 25%;
}

.last span {
    font-size: 18px;
    line-height: 35px;
}

.flecha {
    color: #cf3e41;
    font-size: 15px;
    margin-right: 10px;
}

/* Asociados */

#asociados {
	margin: 0 auto;
	height: 300px;
}


.asociados {
	float: right;
}

#asociados div {
    margin: 50px auto 50px;
}

#asociados h1 {
	margin: 25px 0 25px 0;
	text-align: center;
	font-size: 30px;
	font-weight: normal;
	color: #cf3e41;
}

#asociados img {
    margin-left: 20px;
    margin-right: 20px;
    width: 95px;
}

/* Contacto */

footer {
    background-color: #cf3e41;
    color: #fff;
    padding: 25px;
}

footer h1 {
	margin: 25px 0 25px 0;
	text-align: center;
	font-size: 30px;
	font-weight: normal;
	color: #ffffff;
}

footer #contacto {
	margin: 50px 0;
    height: 100px;
}

footer #contacto p {
	text-align: center;
	font-size: 18px;
}

footer #contacto a {
	text-align: center;
	font-size: 18px;
	color: #fff;
}

footer #contacto a:hover {
	text-decoration: underline;
}

#direccion {
	text-align: center;
}

#direccion a {
	color: #ffffff;
}

#direccion a:hover {
	text-decoration: underline;
}

table, th, td {
    border: 1px solid #fff;
    border-collapse: collapse;
}
th, td {
    padding: 5px;
}

th {
	font-weight: 600;
}

#mapa {
	margin: 0 auto;
	display: block;
	width: 605px;
	margin-bottom: 15px;
}

iframe {
    border: medium none;
}

/* MediaQueries */

	/* 1300px */

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

		#asociados h1 {
		    margin: 55px 0 -50px;
		}


	}	

	/* 1024px */

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

		#nosotros {
			margin-bottom: 0px;
		}

		#nosotros p {
		    padding: 25px;
		}

		#servicios {
			margin-top: 0px;
		}

	}	

	/* 980px */

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


		#nosotros p {
		    font-size: 18px;
		    padding: 15px;
		}

		#asociados img {
		    margin-left: 5px;
		    margin-right: 5px;
		}

	}

	/* 800px */

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

		#servicios h1 {
		    font-size: 25px;
		    margin-bottom: 15px;
		}

		#nosotros h1 {
			font-size: 25px;
		}

		#nosotros p {
		    font-size: 18px;
		    padding: 15px;
		}

		.half-asociados {
			float: left;
			margin-bottom: 25px;
		}

		.last-asociados {
			float: left;
			margin-bottom: 25px;
		}

		#asociados h1 {
			font-size: 25px;
		}
	
	}

	/* 768px */

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

		#abrirMenu {
		    display: block;
		    float: right;
		    font-size: 35px;
		    margin-left: 86%;
		    margin-top: 2%;
		}

		#abrirMenu:hover {
			color: #cf3e41;
			cursor: pointer;
		}

		header nav {
		    background-color: #ffffff;
		    border-bottom: 3px solid #cf3e41;
		    display: block;
		}

		header nav ul {
			height: auto;
			background-color: #ffffff;
			display: none;
		    float: right;
		    margin-left: 5px;
		    margin-left: 80%;
		    margin-top: 85px;
		    position: absolute;
		}

		header nav ul li {
		    margin-left: 5px;
		    border-bottom: 1px solid #cbcecf;
			padding-bottom: 10px;
			padding-top: 10px;
		}

		header nav ul li a {
			font-size: 16px;
		}

		header nav ul li a:hover {
			color: #cf3e41;
		}

		#nosotros {
			margin-bottom: 0px;
		}

		#servicios {
			margin-top: 0px;
		}

		#asociados h1 {
		    margin: 115px 0 -50px;
		}

		#asociados img {
		    margin-left: 40px;
		}

		footer h1 {
			font-size: 25px;
		}

		.mobile {
			display: block;
		}

		.desktop {
			display: none;
		}
	}

	/* 640px */

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

		header nav ul {
		    margin-left: 78%;
		    margin-top: 90px;
		}

		header nav ul li {
		    float: none;
		    text-align: right;
			background-color: #ffffff;
		    width: 100%;
			margin-left: 0px;
			border-bottom: 1px solid #cbcecf;
			margin-left: 5px;
			margin-right: 0px;		
			padding-bottom: 10px;
			padding-top: 10px;
		}

		#abrirMenu {
		    margin-left: 85%;
		    margin-top: 3%;
		}

		.half {
			float: none;
			width: 100%;
		}

		.last {
			float: none;
			width: 100%;
		}

		#servicios {
		    margin-top: 0px;
		}

		.asociados {
		    float: none;
		}

		#asociados h1 {
			height: auto;
			margin: 0px;
		}

		#asociados img {
			display: block;
			float: left;
			margin: 0 auto;
		    width: 95px;
		}

		th, td {
		    padding: 0px;
		}

		.mobile {
			display: block;
		}

		.desktop {
			display: none;
		}

	}

	/* 480px */

	@media screen and (max-width: 480px) {
		
		.half {
			float: none;
			width: 100%;
			height: auto;
		}

		.last {
			float: none;
			width: 100%;
			height: auto;
		}

		#abrirMenu {
		    font-size: 30px;
		    margin-left: 84%;
		    margin-top: 5%;
		}
		
		header nav ul {
		    margin-left: 74%;
		    margin-top: 90px;
		}

		header nav ul li {
			background-color: #ffffff;
		    float: none;
		    text-align: right;
		    width: 100%;
			padding-bottom: 10px;
			padding-top: 10px;	
		    padding-left: 5px;		
			margin-left: 0px;
			border-bottom: 1px solid #cbcecf;
			margin-right: 0px;		
		}

		#servicios {
		    margin-top: 0px;
		}

		#asociados img {
		    display: block;
		    margin: 10px 10px auto;
		    width: 75px;
		}

		#asociados h1 {
			height: 0;
		}

		iframe {
		    width: 430px;
		}

		#mapa {
			width: 430px;
		}

		.mobile {
			display: block;
		}

		.desktop {
			display: none;
		}

	}

	/* 360px */

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

		#abrirMenu {
			font-size: 30px;
			margin-left: 81%;
			margin-top: 6%;
		}

		header nav ul {
		    margin-left: 68%;
		}
		
		header nav ul li {
			background-color: #ffffff;
		    float: none;
		    text-align: right;
		    width: 100%;
			padding-bottom: 10px;
			border-bottom: 1px solid #cbcecf;
			padding-top: 10px;	    
    		padding-left: 5px;			
			margin-left: 0px;
			margin-right: 0px;		
		}

		.half {
			float: none;
			width: 100%;
		}

		.last {
			float: none;
			width: 100%;
		}

		#servicios {
			margin-top: 0px;
		}

		#servicios h1 {
		    font-size: 22px;
		}

		#nosotros h1 {
			font-size: 22px;
		}

		#nosotros p {
			font-size: 16px;
		}

		#asociados img {
		    display: block;
		    margin: 10px 10px auto;
		    width: 75px;
		}

		#asociados h1 {
			font-size: 22px;
		}

		footer h1 {
			font-size: 22px;
		}

		iframe {
		    width: 300px;
		}

		#mapa {
			width: 300px;
		}

		.mobile {
			display: block;
		}

		.desktop {
			display: none;
		}

	}	

	/* 320px */

	@media screen and (max-width: 320px) {
		
		#abrirMenu {
			font-size: 30px;
			margin-left: 81%;
			margin-top: 6%;
		}

		header nav ul li {
		    float: none;
		    text-align: right;
		    width: 100%;
			padding-bottom: 10px;
			padding-top: 10px;
			border-bottom: 1px solid #cbcecf;
		    padding-left: 5px;		    
			margin-left: 0px;
			margin-right: 0px;		
		}

		.half {
			float: none;
			width: 100%;
			height: auto;
		}

		.last {
			float: none;
			width: 100%;
			height: auto;
		}

		#nosotros {
		    margin-bottom: 100px;
		}

		#nosotros h1 {
			font-size: 22px;
		}

		#nosotros p {
			font-size: 16px;
		}

		#servicios {
			margin-top: 0px;
		}

		#servicios h1 {
		    font-size: 22px;
		}

		.half ul {
			padding-left: 15%;
		}

		.half ul li span {
			font-size: 16px;
		}

		.last ul {
			padding-left: 15%;
		}

		.last ul li span {
		    font-size: 16px;
		}

		#asociados {
			height: 300px;
		}

		#asociados h1 {
			font-size: 22px;
			height: 10px;
		}

		#asociados img {
		    display: block;
		    margin: 10px 10px auto;
		    width: 75px;
		}
		footer h1 {
			font-size: 22px;
		}

		footer #contacto {
			border-top: none;
		}

		iframe {
		    width: 300px;
		}

		#mapa {
			width: 300px;
		}

		.mobile {
			display: block;
		}

		.desktop {
			display: none;
		}		

	}
