/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

.navbar-toggler:focus,
.navbar-toggler:active {
	outline: none;
	box-shadow: none;
}

.autohide {
	background-color: #f5f5f5;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	z-index: 1030;
}
.scrolled-down {
	transform: translateY(-100%);
	transition: all 0.9s ease-in-out;
}
.scrolled-up {
	transform: translateY(0);
	transition: all 0.5s ease-in-out;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.mobile {
	display: none;
}

.sinpadding [class*="col-"] {
	padding: 0;
}

body {
	font-family: "DM Sans", sans-serif;
}
h1 {
	font-size: 30px;
	margin-top: 48%;
	letter-spacing: -1px;
	font-weight: 100;
}
h2 {
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 100;
}
h3 {
	color: #8ab4e1;
	font-size: 24px;
	line-height: 32px;
}
h4 {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #8ab4e1;
	font-weight: 900;
	margin-bottom: 80px;
}

h6 {
	font-size: 18px;
}
.navbar {
	background-color: #f5f5f5;
}

.navbar-nav {
	margin-top: 20px;
}
a.nav-link:link {
	color: #000000 !important;
	font-size: 16px;
	transition: 0.3s all;
}
a.nav-link:visited {
	color: #000000 !important;
}
a.nav-link:hover {
	color: #8ab4e1 !important;
}

.homes {
	background: #f5f5f5 url("../img/header.png");
	padding-top: 70px;
	background-repeat: no-repeat;
	background-position: 100% 100%;
	height: 700px;
}

#quienessomos {
	padding-top: 140px;
	margin-bottom: 140px;
}
#quienessomos .texto {
	font-size: 24px;
	margin-bottom: 110px;
}
#quienessomos ul {
	list-style: none;
	padding: 0;
	font-size: 18px;
	line-height: 30px;
}
#quienessomos li {
	padding-left: 1.3em;
	margin-bottom: 40px;
}
#quienessomos li:before {
	color: #8ab4e1;
	content: "+"; /* FontAwesome Unicode */
	display: inline-block;
	margin-left: -1.3em; /* same as padding-left set on li */
	width: 1.3em; /* same as padding-left set on li */
}

.ml-35 {
	margin-left: -35px;
}
.ml-22 {
	margin-left: -22px;
}
.ml-25 {
	margin-left: -25px;
}
.mt-25pl30 {
	margin-top: -25px;
	padding-left: 30px;
}
.pl22 {
	padding-left: 22px;
}
.pl95 {
	padding-left: 95px;
}
.p50150 {
	padding: 50px 150px;
}

.faq {
	background-color: #adcaea;
	padding: 120px 0;
}
.accordion-button {
	background-color: #adcaea !important;
}

#nosotros {
	background-color: #adcaea;
	background-image: url("../img/nosotros_circulo.jpg");
	background-repeat: no-repeat;
	background-position: 100% 17%;
	background-size: 40%;
}

.nosotros h2 {
	padding-top: 200px;
	padding-bottom: 40px;
}
.nosotros h4 {
	color: #000000;
	padding-top: 100px;
	margin-bottom: 50px;
}
.nosotros p {
	font-size: 24px;
	line-height: 34px;
}

#nosotros ul {
	list-style: none;
	padding: 0;
	font-size: 18px;
	line-height: 30px;
}
#nosotros li {
	padding-left: 1.3em;
	margin-bottom: 40px;
}
#nosotros li:before {
	color: #000000;
	content: "+"; /* FontAwesome Unicode */
	display: inline-block;
	margin-left: -1.3em; /* same as padding-left set on li */
	width: 1.3em; /* same as padding-left set on li */
}

.circulo_esquina {
	background-image: url("../img/esquina.png");
	background-repeat: no-repeat;
	background-position: 100% 100%;
	height: 400px;
	margin-top: -300px;
}

.equipo {
	padding-top: 100px;
	padding-bottom: 115px;
}
.equipo h5 {
	margin-bottom: 0px;
}
.equipo h6 {
	margin-top: 5px;
}
.equipo p {
	font-size: 24px;
	line-height: 32px;
}

#servicios {
	background-color: #f5f5f5;
	padding-top: 180px;
	padding-bottom: 200px;
}
#servicios .filas {
	margin-bottom: 100px;
}
#servicios .filas2 {
	margin-bottom: 185px;
}
#servicios h3 {
	font-weight: 100;
}

#comolohacemos {
	padding-top: 100px;
	padding-bottom: 140px;
}
#comolohacemos ul {
	margin-top: 50px;
	list-style: none;
	padding: 0;
	font-size: 24px;
	line-height: 32px;
}
#comolohacemos li {
	padding-left: -1.3em;
	margin-bottom: 40px;
}

#comolohacemos .posicion_numero_1 li:before {
	color: #8ab4e1;
	content: "+"; /* FontAwesome Unicode */
	display: inline-block;
	margin-left: -1.3em; /* same as padding-left set on li */
	width: 1.3em; /* same as padding-left set on li */
}

#comolohacemos .posicion_numero_2 li:before {
	color: #4f70b5;
	content: "+"; /* FontAwesome Unicode */
	display: inline-block;
	margin-left: -1.3em; /* same as padding-left set on li */
	width: 1.3em; /* same as padding-left set on li */
}

#comolohacemos .posicion_numero_3 li:before {
	color: #304594;
	content: "+"; /* FontAwesome Unicode */
	display: inline-block;
	margin-left: -1.3em; /* same as padding-left set on li */
	width: 1.3em; /* same as padding-left set on li */
}

.card {
	margin-top: 90px;
}
.card-title {
	margin-top: 30px;
}
.card-body a{
	cursor: pointer;
}
#contacto {
	background-image: url("../img/fondo_contacto.jpg");
	background-repeat: no-repeat;
	background-position: 0% 0%;
	background-size: cover;
	min-height: 940px;
	margin-bottom: 25px;
}

.contacto {
	padding-top: 140px;
	color: #ffffff;
}
.contacto h2 {
	margin-bottom: 70px;
}
.contacto p {
	font-size: 24px;
	font-size: 100;
}
.contacto .datos {
	margin-top: 90px;
	font-size: 18px;
	font-weight: 900;
}

.footer {
	margin-bottom: 90px;
}
.footer p {
	text-align: right;
	font-size: 24px;
	font-weight: 100;
	margin-top: -10px;
}

.derechos {
	font-size: 14px;
	font-weight: 100;
	color: #000000;
	margin-bottom: 45px;
}

.posicion_numero_1 {
	padding-top: 200px;
}
.posicion_numero_2 {
	padding-top: 100px;
}
.ojo {
	margin-top: 105px;
}
.ojo img {
	padding-left: 10px;
}
.ojo p {
	font-size: 24px;
	line-height: 32px;
	padding-top: 110px;
}

.modal-body p {
	font-size: 18px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 1.25dppx),
	(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

/* -------------------------------------------
                Estilos CSS del ejemplo del botón
        ----------------------------------------------*/

/* Ocultamos el input y le damos estilos al label */

input#abrir-cerrar {
	visibility: hidden;
	position: absolute;
	top: -9999px;
	color: #adcaea;
}

.toggle-button {
	display: block;
	width: 50px;
	height: 35px;
	color: #adcaea;
	position: relative;
	cursor: pointer;
	box-sizing: border-box;
}

/* Usamos los :before y :after del label para dibujar las tres rayitas */

.toggle-button:before,
.toggle-button:after {
	position: absolute;
	display: block;
	content: " ";
	width: calc(100% / 2);
	box-sizing: border-box;
	left: calc(100% / 4);
	transition: all 0.2s ease-out;
}

.toggle-button:before {
	top: calc(100% / 4);
	height: calc(100% / 4);
	border-top: 2px solid #adcaea;
	border-bottom: 2px solid #adcaea;
	background-color: transparent;
}

.toggle-button:after {
	height: 2px;
	background-color: #adcaea;
	bottom: calc(100% / 4);
}

/* Hacemos clic y el input queda como :checked, así que los centramos y giramos 45º en distinto sentido */

input#abrir-cerrar:checked + .toggle-button:before,
input#abrir-cerrar:checked + .toggle-button:after {
	top: calc(100% / 2);
	height: 2px;
	border-bottom: 0;
}

input#abrir-cerrar:checked + .toggle-button:before {
	transform: rotate(45deg);
}

input#abrir-cerrar:checked + .toggle-button:after {
	transform: rotate(-45deg);
}

/* Posicionamos y mostramos cuando procede los <span> que nos ayudarán con los tooltips */

.abrir,
.cerrar {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-indent: -9999px;
}

.abrir {
	display: block;
}

.cerrar {
	display: none;
}

input#abrir-cerrar:checked + .toggle-button .abrir {
	display: none;
}

input#abrir-cerrar:checked + .toggle-button .cerrar {
	display: block;
}
