/* HTML */
html {
	scroll-behavior: smooth;
}

body {
	font: 300 16px/20px K2D, sans-serif;
	color: #262626;
	position: relative;
}
strong {
	font-weight: 700;
}

.error{
	color: #D80510 !important;
}

h1, h2, h3, h4 {
	margin-top: 0px;
}

h2 {
	font: 700 36px/40px 'K2D', serif;
	color: #D80510;
}

h3, h4 {
	margin-bottom: 5px;
	font: 700 24px/28px 'K2D', serif;
	color: #D80510;
}

label {
	font: 300 16px/20px 'K2D', sans-serif;
	color: #808080;
}

input {
	color: #fff;
	border-radius: 0;
	height: 38px;
	border: none !important;
}

input:focus, select:focus {
	/*box-shadow: none !important;
    border-color: #D80510 !important;*/
}

select:not([multiple]) {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-border-radius: 0;
	height: 38px !important;
	background-position: right 50%;
	background-repeat: no-repeat;
	background-image: url(../assets/unfold_more-24px.svg);
	padding: .5em;
	outline: none;
	border: none !important;
}

/* GENERIC */

.container {
	/*padding: 40px 20px;*/
	text-align: center;
}

.clear h2 {
	color: #fff;
}

.clear p {
	color: #fff;
	/*margin-bottom: 35px;*/
}

#acerca, #servicios, #beneficios, #contacto, #asesoria {
	height: 1px;
	position: absolute;
	top: -215px;
}

#mapnav {
	height: 1px;
	position: absolute;
	top: -190px;
}


/* NAV */

.navbar-brand {
	background-color: #fff !important;
	width: 100%;
	position: relative;
	display: block;
	text-align: center;
}

.floating-logo {
	height: 100px;
	margin: 10px auto 15px;
}

.mobile-logo {
	display: none;
}

.navbar {
	font: 500 16px K2D, sans-serif !important;
	margin-bottom: 0;
	background-color: #D80510;
	border: 0;
	display: block;
	padding: 0;
	text-align: right;
}

.navbar ul {
	margin: auto;
}

.navbar li {
	padding: 6px;
}

.navbar li a {
	color: #FFF !important;
}

.navbar-nav li a:hover {
	color: #262626 !important;
}

.navbar-nav li a.active {
	color: #262626 !important;
}

.navbar-toggler {
	border: none;
}

.navbar-toggler .material-icons {
	line-height: 2 !important;
}

#servicios {
	position: absolute;
	left: 0;
	bottom: 20%;
	width: 1px;
	height: 1px;
}

#contacto {
	position: absolute;
	left: 0;
	bottom: 70px;
	width: 1px;
	height: 1px;
}

/* SLIDER */

.carousel {
	padding-top: 180px;
}

.carousel-mask {
	background: url(../assets/mask_slider_bg.svg) no-repeat bottom center;
	background-size: cover;
	width: 100%;
	height: 75px;
	z-index: 10;
	position: absolute;
	bottom: 0;
}

.carousel-indicators li {
	background-color: #808080;
	border-radius: 50%;
	width: 10px;
	height: 10px;
	margin: -1px 5px 0px 0px !important;
}

.carousel-indicators .active {
	background-color: #D80510;
}

.carousel-inner img {
	width: 100%; /* Set width to 100% */
	height: 200px;
	margin: auto;
	object-fit: cover;
}

.carousel-caption {
	display: block !important;
	text-shadow: none;
	color: #262626;
	bottom: 30%;
	right: 15%;
	left: 15%;
	text-align: left;
}

.carousel-caption p {
	font: 300 17px K2D, sans-serif;
	margin-bottom: 20px;
}

.carousel-caption h3 {
	display: none;
}

.btn-slider {
	padding: 10px 20px;
	background-color: #D80510;
	border-color: #D80510;
	color: #FFF !important;
	border-radius: 0;
	transition: .2s;
}

.btn-slider a {
	color: #FFF !important;
	text-decoration: none !important;
	text-align: center;
}

.carousel-control-prev, .carousel-control-next {
	color: rgba(216, 5, 16, 100);
}

.carousel-control-next .material-icons, .carousel-control-prev .material-icons {
	font-size: 36px !important;
}

/* HEADER */

#header .carousel-caption {
	bottom: 20%;
	right: 25%;
	left: 25%;
}

#header .carousel-caption h1 {
	
}

.header-mask {
	background: url("../assets/mask_header_bg.svg") no-repeat bottom center;
	background-size: cover;
	width: 100%;
	height: 75px;
	z-index: 10;
	position: absolute;
	bottom: 0;
}

.header-mask {
	bottom: 0 !important;
	z-index: 0;
}

/* ABOUT US */

.bg-acerca {
	background: url(../assets/acerca_bg_texture.svg), url("../imgs/servicio-tramites-pensiones.jpg");
	background-position: center top, center bottom;
	background-repeat: no-repeat, no-repeat;
	background-size: 100% !important;
	padding: 35px 0 40px;
}

.img-main {
	box-shadow: 0px -5px 15px 0px rgba(0, 0, 0, 0.20);
	width: 100%;
	height: auto !important;
	object-fit: cover;
	object-position: center;
	margin-top: 20px;
	margin-bottom: 50px;
}

/* SERVICES */

.bg-gray {
	background: url(../assets/header_bg_texture.svg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% !important;
	padding: 35px 0 40px;
}

.bg-gray h3 {
	text-align: left;
	margin-bottom: 20px;
	margin-left: 1em;
}

.bg-gray ul {
	text-align: left;
	list-style: none;
}

.bg-gray ul li::before {
  content: "\2022";
  color: #D80510;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.bg-gray li {
	margin-bottom: 8px;
}

.service {
	border: 10px solid transparent;
	/*margin: 20px 0px 50px 0px;*/
	width: 70%;
	height: auto;
}

.box-service {
	background-color: #fff;
	padding: 30px 40px;
	margin: 20px 0px;
}

.box-service a {
	font-weight: 500;
	color: #D80510;
	text-decoration: underline;
}

.box-service a:hover {
	color: #F6564F;
	text-decoration: none;
}

.img-circle {
	border-radius: 50%;
	margin-bottom: 10px;
}

/* BENEFITS */

.bg-beneficios {
	background: url(../assets/beneficios_bg.svg) no-repeat center top;
	background-size: cover !important;
	color: #fff;
	margin-top: 30px;
	margin-bottom: 40px;
}

.bg-beneficios img {
	box-shadow: 0px -5px 15px 0px rgba(0, 0, 0, 0.20);
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: center;
	margin-bottom: 0;
}
.bg-beneficios h2 {
	text-align: left;
}

.bg-beneficios ul {
	text-align: left;
	list-style: none;
	padding: 0;
	margin: 0;
}
.bg-beneficios i {
	color: rgba(216, 5, 16, 100);
	margin-right: 10px;
	font-size: 24px;
	display: block;
	float: left;
}
.bg-beneficios li {
	display: block;
	float: left;
	width: 100%;
	margin-bottom: 8px;
}
.bg-servicios .carousel-mask, .bg-servicios .header-mask {
	bottom: 0 !important;
	z-index: 0;
}

/* CONTACT US */

#contacto {
	text-align: center;
	color: #fff;
}

#map {
	border-radius: 50%;
	height: 320px; /* The height is 400 pixels */
	width: 320px; /* The width is the width of the web page */
	margin: 20px 0px 40px;
}

.bg-contacto {
	background: url(../assets/contacto_bg.svg) no-repeat center top;
	background-size: auto 80%;
	padding-bottom: 40px;
	position: relative;
}

.contacto-mask {
	background: url("../assets/mask_contact_bg.svg") no-repeat bottom center;
	background-size: cover;
	width: 100%;
	height: 75px;
	z-index: 10;
	position: absolute;
	top: -75px;
}

.gmnoprint {
	display: none;
}

.gm-fullscreen-control {
	background-color: #faeedd !important;
}

.details-container {
  height: 350px;
  position: relative;
}

.contact-details {
	padding: 0px;
	font-size: 15px;
	text-align: left;
	margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
	
}

.contact-item {
	margin: 10px;
	color: #fff;
	vertical-align: middle;
	list-style: none;
	line-height: 16px;
	
}

.contact-item:first-child {
	margin-bottom: 15px;
}

.contact-item span, .contact-item a {
	display: inline-block;
}

.contact-item a {
	color: #fff;
	text-decoration: underline;
}

.contact-item:first-child span {
		vertical-align: middle !important;
}

.contact-item i {
	color: rgba(255, 255, 255, 100);
	font-size: 36px;
	vertical-align: middle !important;
	display: inline-block;
	margin-right: 5px;
}

.contact-form {
	box-shadow: 0px -5px 15px 0px rgba(0, 0, 0, 0.20);
	background-color: #E5E5E5;
	padding: 35px 75px 40px;
}

.contact-form p {
	margin-bottom: 35px;
}

#servicio {
	border-radius: 0 !important;
	margin-bottom: 20px;
	font-weight: 300;
}
.form-group {
	margin-bottom: 10px;
	text-align: left;
}
.form-group p {
	font-size: 14px;
	color: #D80510;
	margin-bottom: 20px;
}
.form-control {
	border-radius: 0px;
	font-size: .9em;
}
.custom-control {
	text-align: left;
}
.custom-control-label {
	padding-left: 20px;
}
.custom-control-label::before {
	background-color: #fff;
}
.custom-control-label a {
	color: #808080 !important;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #D80510;
}
.form-group .invalid-tooltip {
	top: 53px;
	font-size: 11px;
	padding: 4px;
}
.custom-checkbox .invalid-tooltip {
	top: 30px !important;
	font-size: 11px !important;
	padding: 4px !important;
}
.form-control.is-valid, .was-validated .form-control:valid {
	border-color: #28a745;
	padding-right: calc(1.5em + .75rem);
	background-repeat: no-repeat;
	background-position: center right calc(.375em + .1875rem);
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.btn-primary, .btn-slider, .btn-secondary {
	font-size: 14px;
	padding: 8px 15px;
	background-color: #D80510;
	border-color: #D80510;
	color: #FFF;
	border-radius: 6px;
	transition: .2s;
}
.btn:hover, .btn:focus, .custom-control-label:focus, .custom-control:focus, .custom-checkbox:focus {
	border: 1px solid #D80510 !important;
	background-color: #F6564F !important;
	color: #FFF;
}
.btn-primary.focus, .btn-slider:focus, .btn-secondary:focus, .custom-control-label:focus, .custom-control:focus, .custom-checkbox:focus {
	box-shadow: 0 0 0 0.2rem rgba(179, 150, 88, .5) !important;
}

/* ICONS */

.material-icons.menu:before, .mi.menu:before {
	content: '';
}
.material-icons.chevron_left:before, .mi.chevron_left:before {
	content: '';
}
.material-icons.chevron_right:before, .mi.chevron_right:before {
	content: '';
}
.material-icons.check:before, .mi.check:before {
	content: '\e5ca';
}
.material-icons.expand_less:before, .mi.expand_less:before {
	content: '';
}
.list-group-item:last-child {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
/*.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
  }
  .thumbnail p {
    margin-top: 15px;
    color: #555;
  }*/
/*.modal-header, h4, .close {
    background-color: #333;
    color: #fff !important;
    text-align: center;
    font-size: 30px;
  }
  .modal-header, .modal-body {
    padding: 40px 50px;
  }
  .nav-tabs li a {
    color: #777;
  }
*/
/* FOOTER */
footer {
	background: url(../assets/footer_bg.svg) no-repeat center top;
	background-size: cover;
	position: relative;
	height: 110px;
	width: 100%;
	z-index: 1000;
}
footer a {
	color: #808080;
	text-align: center;
	display: block;
}
footer a:hover {
	color: #F6564F;
	text-decoration: none;
}
footer .footer-legal {
	color: #808080;
	text-align: center;
	display: block;
	font-size: 12px;
}
footer .footer-legal a {
	text-decoration: underline;
}
.btn-up {
	margin-top: 15px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.btn-up .material-icons {
	background-color: #D80510;
	font-size: 30px;
	width: 30px;
	height: 30px;
}
.btn-up span {
	font-size: 12px;
	text-align: center;
	display: block;
	color: #fff;
}
.modal-body {
	font-size: 12px;
}
.modal-body a {
	color: #D80510;
	text-decoration: underline;
}
/* #comentarios {
    border-radius: 0 !important;
  }*/

/* --------------------------------------- BREAKPOINTS --------------------------------------- */

/* EXTRA LARGE */

@media (min-width: 1200px) {
	
	.navbar {
		text-align: center;
	}
	
	.carousel-inner img { /* LARGE & EXTRA */
		height: 350px;
	}

	.carousel-caption p { /* LARGE & EXTRA */
		font-size: 20px;
		margin-bottom: 30px;
	}
	
	.carousel-caption h3 { /* ONLY MEDIUM */
		display: block;
	}
	
	#header .carousel-caption {
		bottom: 25%;
	}
	
	.btn-slider { /* LARGE & EXTRA */
		float: left;
	}
	.bg-acerca, .bg-gray { /* LARGE & EXTRA */
		padding-bottom: 50px !important;
	}
	
	.img-main { /* ONLY EXTRA LARGE */
		height: 280px;
	}
	
	.bg-servicios { /* ONLY EXTRA LARGE */
		padding-bottom: 50px;
	}
	
	.bg-beneficios { /* LARGE & EXTRA */
		/*background-position: right 20px;
		background-size: auto;*/
	}
	
	.bg-beneficios img { /* ONLY EXTRA LARGE */
		height: 340px;
	}
	
	.bg-beneficios h2 { /* ONLY EXTRA LARGE */
		margin-top: 70px;
	}
	
	#map {
		border-radius: 50%;
		height: 340px; /* The height is 400 pixels */
		width: 340px; /* The width is the width of the web page */
		margin: 20px 0px 40px;
	}
	.contact-item span {
		width: 70% !important;
	}
	
	footer .footer-legal { /* EXTRA LARGE & LARGE */
		float: left;
		padding-top: 70px;
		display: inline-block !important;
		text-align: left !important;
		color: #fff;
	}
	footer a { /* EXTRA LARGE & LARGE */
		color: #fff;
		display: inline-block !important;
	}
	.btn-up { /* ONLY EXTRA LARGE */
		float: right;
		margin-top: 10px;
	}
}

/* LARGE */

@media (min-width: 992px) and (max-width: 1199.98px) {
	
	.floating-logo { /* ONLY LARGE & EXTRA */
		height: 80px;
	}
	
	.navbar {
		text-align: center;
	}
	
	.carousel { /* ONLY LARGE & EXTRA */
		padding-top: 100px !important;
	}
	
	.carousel-inner img { /* ONLY LARGE & EXTRA */
		height: 350px;
	}
	
	.carousel-caption h3 { /* ONLY MEDIUM */
		display: block;
	}
	
	.btn-slider { /* LARGE & EXTRA & MEDIUM */
		float: left;
	}
	.bg-acerca, .bg-gray { /* LARGE & EXTRA & MEDIUM */
		background-size: contain !important;
		padding-bottom: 50px !important;
	}

	
	.img-main { /* ONLY LARGE */
		height: 300px;
	}
	.bg-beneficios { /* LARGE & EXTRA */
		/*background-position: right 20px;
		background-size: auto;*/
	}
	.bg-beneficios img { /* ONLY LARGE */
		height: 350px;
	}
	.bg-beneficios h2 { /* ONLY LARGE */
		margin-top: 65px;
	}
	/*.contact-item {
		text-align: center;
	}*/
	/*.contact-item i {
		float: none;
		display: inline-block;
	}*/
	/*.form-check {
    text-align: left;
  }*/
	footer .footer-legal { /* EXTRA LARGE & LARGE */
		float: left;
		padding-top: 70px;
		display: inline-block !important;
		text-align: left !important;
		color: #fff;
	}
	footer a { /* EXTRA LARGE & LARGE */
		color: #fff;
		display: inline-block !important;
	}
	.btn-up { /* ONLY LARGE */
		float: right;
		margin-top: 20px;
	}
}

/* MEDIUM */

@media (min-width: 768px) and (max-width: 991.98px) {
	
#acerca, #servicios, #beneficios, #contacto, #asesoria {
	height: 1px;
	position: absolute;
	top: -120px;
}
	
	.navbar-brand {
		display: none;
	}
	
	.mobile-logo {
		height: 60px;
		float: left;
		display: inline-block;
	}
	
	.navbar {
		padding: 10px 25px;
	}

	#contacto {
		bottom: 20px;
	}
	
	.carousel {
		padding-top: 80px;
	}
	
	.carousel-caption { /* ONLY MEDIUM */
		bottom: 20%;
		right: 10%;
		left: 10%;
	}
	
	.carousel-caption p { /* ONLY MEDIUM */
		font-size: 14px;
	}
	
	#header .carousel-caption {
		bottom: 12%;
	}

	.btn-slider { /* LARGE & EXTRA & MEDIUM */
		float: left;
	}
	
	.bg-acerca {
		background: url(../assets/acerca_bg_texture_tablet.svg), url(../imgs/servicio-tramites-pensiones.jpg);
		background-position: center top, center bottom;
		background-repeat: no-repeat, no-repeat;
	}
	
	.bg-gray {
		background: url(../assets/header_bg_texture_tablet.svg);
		background-position: center top;
		background-repeat: no-repeat;
	}
	
	.bg-beneficios { /* ONLY MEDIUM */
		background-position: right top;
		background-size: auto;
	}
	
	.bg-beneficios img { /* ONLY MEDIUM */
		height: 300px;
	}
	
	.bg-beneficios h2 { /* ONLY MEDIUM */
		margin-top: 30px;
	}
	.contact-item span { 
		width: 80%;
	}
	/*.contact-item i {
		float: none;
		display: inline-block;
	}*/
	.bg-contacto .contact-form {
		padding: 40px 60px 40px !important;
	}
	/*.form-check {
      text-align: left;
      padding-top: 10px;
    }*/
}

/* SMALL */

@media (min-width: 576px) and (max-width: 767.98px) {
	
#acerca, #servicios, #beneficios, #contacto, #asesoria {
	height: 1px;
	position: absolute;
	top: -100px;
}
	
	br {
		display: none !important;
	}
	
	.navbar-brand {
		display: none;
	}
	
	.mobile-logo {
		height: 48px;
		float: left;
		display: inline-block;
	}
	
	.navbar {
		padding: 8px 20px;
	}
	
	#contacto { /* ONLY SMALL & EXTRA SMALL */
		bottom: -230px;
	}
	
	.carousel {
		padding-top: 80px;
	}
	
	.carousel-caption {
		bottom: 15%;
		right: 10%;
		left: 8%;
	}
	
	.carousel-caption p {
		font-size: 12px;
		padding-right: 30px;
	}
	
	.carousel-inner img { /* ONLY SMALL & EXTRA SMALL */
		opacity: 0.5;
	}
	
	#header .img-circle {
		display: none;
	}
	
	#header .carousel-caption {
		display: none !important;
	}
	
	.bg-servicios .row { /* ONLY SMALL & EXTRA SMALL */
		margin: 0px !important;
	}
	.service { /* ONLY SMALL & EXTRA SMALL */
		width: 70% !important;
	}
	.bg-beneficios img { /* ONLY SMALL & EXTRA SMALL */
		margin-bottom: 40px;
	}
	.contact-item { /* ONLY SMALL & EXTRA SMALL */
		text-align: left !important;
	}
	.bg-contacto .contact-form {
		padding: 40px !important;
	}
	.custom-control { /* ONLY SMALL & EXTRA SMALL */
		margin-bottom: 15px;
	}
}

/* EXTRA SMALL */

@media (max-width: 575.98px) {
	#acerca, #servicios, #beneficios, #contacto, #asesoria {
	height: 1px;
	position: absolute;
	top: -100px;
}
	
	br {
		display: none !important;
	}
	
	.navbar-brand {
		display: none;
	}
	
	.mobile-logo {
		height: 48px;
		float: left;
		display: inline-block;
	}
	
	.navbar {
		padding: 8px 15px 3px;
	}

	#contacto { /* ONLY SMALL & EXTRA SMALL */
		bottom: -230px;
	}
	
	.carousel {
		padding-top: 62px;
	}
	
	.carousel-caption { /* ONLY MEDIUM */
		bottom: 15%;
		right: 10%;
		left: 8%;
	}
	
	.carousel-caption p {
		padding-right: 30px;
	}
	
	.carousel-inner img { /* ONLY SMALL & EXTRA SMALL */
		opacity: 0.5;
	}
	
	#header .img-circle {
		display: none;
	}
	
	#header .carousel-caption {
		display: none !important;
	}
	
	.bg-acerca {
		background: url(../assets/acerca_bg_texture_mobile.svg), url(../imgs/servicio-tramites-pensiones.jpg);
		background-position: center top, center bottom;
		background-repeat: no-repeat, no-repeat;
	}
	
	.bg-gray {
		background: url(../assets/header_bg_texture_mobile.svg);
		background-position: center top;
		background-repeat: no-repeat;
	}
	
	.bg-servicios .row { /* ONLY SMALL & EXTRA SMALL */
		margin: 0px !important;
	}
	.service { /* ONLY SMALL & EXTRA SMALL */
		width: 70% !important;
	}
	
	.bg-beneficios img { /* ONLY SMALL & EXTRA SMALL */
		margin-bottom: 20px;
	}
	
	.contact-item { /* ONLY SMALL & EXTRA SMALL */
		text-align: left !important;
	}
	.contact-item span { 
		width: 80%;
	}
	.contact-item:nth-child(2) i {
		vertical-align: bottom !important;
	}
	.bg-contacto .contact-form {
		padding: 40px !important;
	}
	.custom-control { /* ONLY SMALL & EXTRA SMALL */
		margin-bottom: 15px;
	}
}