/*
Theme Name: Alva Guarniz & Abogados Custom
Theme URI: http://alvaguarniz.com/
Author: Roly Vásquez
Author URI: https://rolyvasquez.com/
Description: Plantilla personalizada desarrollada para Alvaguarniz & Abogados
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root {
	--color-principal: #004a2e;
	--color-secundario: #efb810;
	--color-alternativo: #02835e;
	--color-especial: #1e9253;
	--color-dorado: #efb810;
	--color-gray: #f9f9f9;
}

/********** Template CSS **********/

body {
	font-family: "Montserrat", sans-serif !important;
	color: #333;
	background: var(--color-gray) !important;
}
.monserrat-ag {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}

.lora-ag {
	font-family: "Lora", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}
/*** Spinner ***/
#spinner {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
	z-index: 99999;
}

#spinner.show {
	transition: opacity 0.5s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

.back-to-top {
	position: fixed;
	display: none;
	right: 45px;
	bottom: 45px;
	z-index: 99;
}

/*** Button ***/
.btn {
	transition: 0.5s;
}

.btn-square {
	width: 38px;
	height: 38px;
}

.btn-sm-square {
	width: 32px;
	height: 32px;
}

.btn-lg-square {
	width: 48px;
	height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
}

.bg-gray {
	background: var(--color-gray) !important;
}
.bg-white {
	background: #fff;
}
/*** Navbar ***/
.sticky-top {
	top: -150px;
	transition: 0.5s;
}
.menu-top {
	position: absolute;
}
.py-80 {
	padding-top: 80px;
	padding-bottom: 80px;
}

p {
	line-height: 1.8 !important;
}
.py-100 {
	padding-top: 100px;
	padding-bottom: 100px;
}

.title {
	font-size: 42px;
	letter-spacing: 1px;
	font-weight: 400 !important;
	line-height: 1.2;
	margin-bottom: 20px;
	background-image: linear-gradient(to right, var(--color-secundario) 0% 100%, transparent 100%);
	background-size: 30% 2px; /* 50% de ancho y 2px de alto */
	background-repeat: no-repeat;
	background-position: left bottom; /* 0 es la posición horizontal, 1.1em es la posición vertical (ajustar según la altura del texto) */
	display: inline-block;
	padding-bottom: 20px;
}
.subtitle {
	color: var(--color-especial);
	font-size: 18px;
	font-weight: 600 !important;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.subtitle i {
	color: var(--color-dorado);
}

.bg-badge {
	background-image: url(../montoya-theme/img/bagde.png);
	background-position: bottom right;
	background-repeat: no-repeat;
}

.bg-equipo {
	background-image: url(../montoya-theme/img/bg-about-us.jpg);
	background-position: top center;
	background-repeat: no-repeat;
}
.light {
	color: #fff !important;
}
.navbar {
	padding: 5px 0;
	font-size: 15px;
	text-transform: uppercase;

	background: none;
}

.leermas,
.leermas-light {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 500;
	margin-top: 20px;
}

.leermas-light {
	color: var(--color-secundario) !important;
}
.leermas-dorado {
	font-size: 14px;
	color: var(--color-dorado) !important;
	font-weight: 500;
}
.leermas-dorado i {
	font-size: 12px;
}

.box-equipo h3 {
	color: var(--color-principal);
	font-size: 20px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.box-equipo h4 {
	font-family: "Montserrat", sans-serif !important;
	font-size: 16px;
	text-align: center;
	font-weight: 500;
}
.box-servicio {
	position: relative;
	z-index: 9;
}
.box-servicio h3 {
	font-size: 24px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-principal);
}
.contacto-home {
	background: url("img/bg-contacto-full.jpg");
	background-position: center center;
	background-repeat: no-repeat;
}

.contacto-home p {
	color: white;
}

.btn-servicio {
	height: 50px;
	width: 50px;
	line-height: 50px;
	background-color: var(--color-secundario);
	display: block;
	position: absolute;
	right: 0px;
	text-align: center;
	color: #333;
	transition: all 0.5s ease;
	bottom: 0px;
}

#servicios {
	/* top: -200px;
	position: relative; */
	/* margin-top: -100px; */
}
.btn-servicio:hover {
	color: #fff;
	background-color: var(--color-alternativo);
	transition: all 0.5s ease;
}

/************************/
.navbar .navbar-nav .nav-link {
	margin-left: 30px;
	padding: 0;
	outline: none;
	color: var(--bs-white);
	padding: 8px 0px;
	font-weight: 500;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
	color: var(--color-secundario);
	border-bottom: 2px solid var(--color-especial);
}

.navbar .dropdown-toggle::after {
	border: none;
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	vertical-align: middle;
	margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
	color: var(--bs-white);
	background: var(--bs-primary);
}

@media (max-width: 991.98px) {
	.navbar .navbar-nav .nav-link {
		margin-left: 0;
		padding: 10px 0;
	}
}

@media (min-width: 992px) {
	.navbar .nav-item .dropdown-menu {
		display: block;
		border: none;
		margin-top: 0;
		top: 150%;
		opacity: 0;
		visibility: hidden;
		transition: 0.5s;
	}

	.navbar .nav-item:hover .dropdown-menu {
		top: 100%;
		visibility: visible;
		transition: 0.5s;
		opacity: 1;
	}
}

/*** Hero Header ***/
.hero-header {
	margin-top: -100px;
	padding-top: 150px;
	background: url(../img/hero-bg.jpg) top center no-repeat;
	background-size: cover;
}

.hero-header .breadcrumb-item + .breadcrumb-item::before {
	color: var(--light);
}

.header-carousel {
	position: relative;
	padding: 45px 90px 45px 0;
}

.header-carousel::before {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	width: calc(50% + 45px);
	height: 100%;
	background: var(--bs-primary);
	z-index: -1;
}

.header-carousel .owl-dots {
	position: absolute;
	top: 50%;
	right: 38px;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.header-carousel .owl-dot {
	position: relative;
	display: inline-block;
	margin: 5px 0;
	width: 15px;
	height: 15px;
	border: 2px solid var(--bs-white);
	transition: 0.5s;
}

.header-carousel .owl-dot.active {
	height: 30px;
	background: var(--bs-white);
}

/*** About ***/
.about-img {
	position: relative;
	overflow: hidden;
}

.about-img::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url(../img/bg-about-img.png) top left no-repeat;
	background-size: contain;
}

/*** Project ***/
.project-item img {
	transition: 0.5s;
}

.project-item:hover img {
	transform: scale(1.2);
}

.project-overlay {
	position: absolute;
	padding: 25px;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	background: linear-gradient(rgba(255, 255, 255, 0.1) 50%, var(--bs-dark));
	z-index: 1;
}

/*** Service ***/
.service-item {
	position: relative;
	padding: 30px 25px;
	transition: 0.5s;
}

.service-item.bg-primary:hover {
	background: var(--bs-light) !important;
}

.service-item.bg-primary p {
	color: var(--bs-light);
	transition: 0.5s;
}

.service-item.bg-primary:hover p {
	color: var(--bs-secondary);
}

.service-item.bg-light:hover {
	background: var(--bs-primary) !important;
}

.service-item.bg-light p {
	color: var(--bs-secondary);
	transition: 0.5s;
}

.service-item.bg-light:hover p {
	color: var(--bs-light);
}

.service-item .service-img h3 {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
	background: var(--bs-primary);
	color: var(--bs-white);
	transition: 0.5s;
}

.service-item.bg-primary:hover .service-img h3 {
	background: var(--bs-light);
	color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
	background: var(--bs-light);
	color: var(--bs-dark);
	transition: 0.5s;
}

.service-item.bg-light:hover .service-img h3 {
	background: var(--bs-primary);
	color: var(--bs-white);
}

/*** Our Team ***/
.team-item img {
	transition: 0.5s;
}

.team-item:hover img {
	transform: scale(1.2);
}

.team-overlay {
	position: absolute;
	padding: 30px;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	background: linear-gradient(rgba(255, 255, 255, 0.1) 50%, var(--bs-dark));
	z-index: 1;
}

.team-overlay small {
	display: inline-block;
	padding: 3px 15px;
	color: var(--bs-white);
	background: var(--bs-primary);
}

/*** Testimonial ***/
.testimonial-img {
	position: relative;
	padding: 45px 0 45px 90px;
}

.testimonial-img::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: calc(50% + 45px);
	height: 100%;
	background: var(--bs-primary);
	z-index: -1;
}

.testimonial-text h5 {
	position: relative;
	padding-left: 45px;
}

.testimonial-text h5::before {
	position: absolute;
	content: "";
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 40px;
	height: 2px;
	background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
	position: absolute;
	height: 17px;
	bottom: 0;
	right: 0;
	left: auto;
}

.testimonial-carousel .owl-dot {
	position: relative;
	display: inline-block;
	margin-left: 10px;
	width: 15px;
	height: 15px;
	background: var(--bs-white);
	border: 2px solid var(--bs-primary);
	transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
	width: 30px;
	background: var(--bs-primary);
}
.banner-home h2 {
	font-size: 30px;
	color: var(--color-secundario) !important;
	letter-spacing: 1px;
}

.banner-home h1,
.banner-interna h1 {
	font-size: 60px;
	color: white !important;
	letter-spacing: 1px;
	line-height: 80px;
	text-transform: uppercase;
}

.banner-home p {
	color: white !important;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Lora", serif !important;
	font-weight: 500;
}

@media (max-width: 768px) {
	.testimonial-carousel .owl-dots {
		left: 0;
		right: auto;
	}

	.testimonial-carousel .owl-dot {
		margin-right: 10px;
		margin-left: 0;
	}
	.banner-home h2 {
		font-size: 20px;
	}

	.banner-home h1 {
		font-size: 30px;
		line-height: 40px;
	}
	.contacto-home {
		background-position: left top;
	}
	h2.title,
	h2.title-dorado {
		font-size: 36px !important;
	}
}

/*** Newsletter ***/
.newsletter {
	background: url(../img/hero-bg.jpg) bottom right no-repeat;
	background-size: cover;
}

@media (min-width: 992px) {
	.newsletter .container {
		max-width: 100% !important;
	}

	.newsletter .newsletter-text {
		padding-right: calc(((100% - 960px) / 2) + 0.75rem);
	}
}

@media (min-width: 1200px) {
	.newsletter .newsletter-text {
		padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
	}
}

@media (min-width: 1400px) {
	.newsletter .newsletter-text {
		padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
	}
}

/*** Footer ***/
.footer .btn.btn-link {
	display: block;
	margin-bottom: 10px;
	padding: 0;
	text-align: left;
	color: rgba(255, 255, 255, 0.5);
	font-weight: normal;
	transition: 0.3s;
}

.footer .btn.btn-link:hover {
	color: var(--bs-white);
	letter-spacing: 1px;
	box-shadow: none;
}

.footer .btn.btn-link::before {
	position: relative;
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 10px;
}

.footer .copyright {
	padding: 25px 0;
	font-size: 14px;
	border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
	color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
	color: var(--bs-white);
}

.footer .footer-menu a {
	margin-right: 15px;
	padding-right: 15px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
	margin-right: 0;
	padding-right: 0;
	border-right: none;
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.banner-home {
	background: url("img/bg-top-home.jpg");
	min-height: 700px;
	color: #fff !important;
	z-index: 1;
	background-position: center top;
	/* position: relative; */
}
.banner-interna {
	background: url("img/bg-top-home_.jpg");
	min-height: 250px;
	color: #fff !important;
}
.banner-home .banner-contenedor {
	/* position: absolute; */
	min-height: 700px;
}

.banner-interna .banner-contenedor {
	/* position: absolute; */
	min-height: 250px;
}

.navbar-brand img {
	height: 80px !important;
}

#top_header {
	height: 50px;
	background-color: var(--color-principal);
	color: var(--color-secundario);
}
#top_header a,
#top_header i {
	color: #fff !important;
	text-decoration: none;
	font-size: 13px;
	line-height: 50px;
}
#top_header i {
	font-size: 14px;
}
#top_header a:hover {
	color: var(--color-secundario) !important;
}

.navbar-toggler {
	background: var(--color-secundario);
}

.input-custom input {
	height: 50px !important;
	line-height: 50px !important;
	border-radius: 10px !important;
}

.input-custom textarea {
	border-radius: 10px !important;
}

.btn-enviar {
	background-color: transparent !important;
	border: 1px solid var(--color-especial) !important;
	color: var(--color-especial) !important;
	padding: 10px 25px !important;
	border-radius: 0.375rem !important;
}

h5 {
	font-size: 18px !important;
	color: var(--color-principal);
}

footer {
	background: var(--color-principal) !important;
	color: #fff;
	padding-top: 80px;
	padding-bottom: 15px;
}
.title-dorado {
	color: var(--color-dorado) !important;
	font-size: 42px;
	letter-spacing: 1px;
	font-weight: 400 !important;
	line-height: 1.2;
	margin-bottom: 20px;
}

.h3-dorado {
	color: var(--color-dorado) !important;
	font-size: 24px;
	letter-spacing: 1px;
	font-weight: 500 !important;
	line-height: 1.2;
}

.menu-footer,
.menu-footer li {
	list-style: none;
	padding-left: 5px !important;
}
.menu-footer li i {
	color: var(--color-dorado);
	padding-right: 5px;
}
.menu-footer li a {
	color: #fff !important;
	padding: 5px !important;
	display: inline-block !important;
}

footer h3 {
	font-size: 24px !important;
	text-transform: uppercase;
}
.copyright {
	padding: 10px;
	background: #033b26 !important;
	font-size: 14px !important;
	line-height: 24px !important;
}
.carousel-control-prev {
	border: 1px solid;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 50%;
	left: 10%;
}
.carousel-control-next {
	border: 1px solid;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 50%;
	right: 10%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
	filter: invert(1%) grayscale(100%) !important; /* Example: White icons */
	/* Or for a specific color, you might need to adjust filter values or use a different approach */
}

@media (max-width: 768px) {
	.carousel-control-prev {
		top: 85% !important;
		left: 5%;
	}
	.carousel-control-next {
		top: 85% !important;
		right: 5%;
	}
}
.navbar-brand {
	padding: 0px !important;
	margin: 0px !important;
}
.copyright a {
	color: var(--color-secundario);
	text-decoration: none;
}

.copyright a:hover {
	color: #f9d975;
	text-decoration: none;
}
