/*!
Theme Name: Rosales & Leyes
Theme URI: http://underscores.me/
Author: Himalaya SEM
Author URI: https://himalayadigital.co/
Description: Theme diseñado y desarrollado para Rosales & Leyes Abogados S.A.S
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rosales-leyes
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* GENERAL */
:root{
    --amarillo: #f4991e;
    --verde: #005854;
    --negro: #000000;
    --blanco: #ffffff;
}
body {
    font-family: 'Poppins', sans-serif !important;
}


/* INICIO */
.banner-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cont-logo{
	position: absolute;
    top: 2.5rem;
    left: 4rem;
    width: 15%;
}
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 60px;
}
.banner-content h1 {
    font-size: 3rem;
    font-weight: 600;
}
.banner-content h1 span {
    color: var(--amarillo);
}
.collapse {
    width: 100%;
    max-width: 100%;
}
li.menu-item {
    background: var(--verde);
    width: 16.5%;
    text-align: center;
}
li.menu-item a.nav-link{
	color: var(--blanco)!important;
    padding: 20px 0px;
	border: solid var(--verde) 2px;
}
li.menu-item a.nav-link:hover, li.menu-item.active a.nav-link{
	border: solid var(--amarillo) 2px;
	color: var(--amarillo)!important;
}
#myCarousel-inicio .carousel-caption {
    right: 5rem;
    /* bottom: 25%; */
    left: 5rem;
}
.carousel-control-next, .carousel-control-prev {	
	position: relative !important;
	font-size: 3rem;
}
.flechas-slide {
    display: flex;
    justify-content: flex-end;
    position: absolute;
	right: 8rem;
    bottom: 2rem;
    z-index: 99;
}
.carousel-control-prev {
    left: -50px !important;
}
.h2-slide-inicio{
	text-align: left;
    font-size: 2.3rem;
    margin-bottom: 3.6rem;
    line-height: 0.9;
}
.h2-slide-inicio b {
    font-size: 3rem;
}
#myCarousel-inicio .btns-amarillos{
    margin-left: 1rem;
}
.btns-amarillos{
	background: var(--amarillo);
    color: var(--blanco);
    padding: 9px 25px;
    font-weight: 600;
    border-radius: 10px;
	display: inline-block;
}
.btns-amarillos:hover{
	background: var(--verde);
	color: var(--blanco);
	text-decoration: none;
}
.btns-amarillos.ver_todas {
    padding: 9px 45px;
}
.btns-blanco{
	background: var(--blanco);
    color: var(--verde);
	padding: 5px 15px;
    font-weight: 600;
    font-size: 0.7rem;
	border-radius: 20px;
}
.btns-blanco:hover{
	text-decoration: none;
	color: var(--verde);
}
.p-slide-inicio {
    font-size: 1rem;
    font-weight: 500;
    padding-left: 10rem;
}
.p-slide-inicio b{
	font-size: 4rem;
	font-weight: 600;
}
.h2_ttcono{
	font-size: 2.8rem;
    font-weight: 600;
	color: var(--amarillo);
}
.navbar{
    padding: 0.2rem 0.5rem !important;    
}
#myCarousel-inicio{
    padding-top: 0.1rem !important;    
    /* margin-top: 4.4rem; */
}
div#list-casos .item-caso{
    height: 300px;
}

.image-container {
    position: relative;
	overflow: hidden;
    height: 240px; /* Ajusta a la altura deseada */
	margin: 10px;
	border-radius: 30px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que las imágenes mantengan su relación de aspecto */
    transition: .3s ease;
}

.image-container .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: rgb(0 88 84 / 65%);/* Fondo verde difuminado */
    display: flex;
    flex-direction: column;
    padding-bottom: 20%;
    justify-content: flex-end;
    align-items: center;
}

.image-container .overlay .hidden-title {
    display: none;
}

.image-container .visible-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
    transition: .3s ease;
    text-align: center;
	z-index: 1;
	width: 85%;
}
.image-container:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0 0 0 / 50%); /* Fondo negro semi-transparente */
    transition: .3s ease;
}
.image-container:hover:before {
    background-color: rgba(0, 0, 0, 0);
}
.image-container .overlay p {
    color: white;
    font-size: 0.7rem;
    transition: .3s ease;
	text-align: center;
    padding: 0px 15px;
    line-height: 0.9rem;
	
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container:hover .visible-title {
    top: 25%;
}

.p_decr{
	color: var(--verde);
	font-size: 1.1rem;
}
.row-equipo .card-body {
    background: var(--verde);
    color: var(--blanco);
}
.row-equipo .card, .casos-exitos .card{
	border: none !important;
}
.casos-exitos .card img{
	border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.casos-exitos .card-body {
    background: var(--verde);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    color: var(--blanco);
}
.casos-exitos .card-body h5{
	font-weight: 500;
    font-size: 1.1rem;
}
.casos-exitos .card-body p {
    font-size: 0.7rem;
    margin-bottom: 0;
}
.h6_clientes {
    font-size: 1.09rem;
	color: var(--verde);
}
.h6_clientes b {
    font-size: 2.4rem;
    font-weight: 600;
}
.card.card-equi img{
	border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}
.card.card-equi .card-body{
	border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
} 
.card.card-equi .card-body h6{
	margin-bottom: 0;
    line-height: normal;
    font-size: 0.8rem;
}
.row-equipo{
	gap: 1%;
}
.form-control{
    height: calc(1.8em + 1.4rem + 2px) !important;
    padding: 0.375rem 1.3rem !important;
	border-radius: 0.5rem !important;
	background-color: #eee !important;
	font-weight: 500 !important;
    border: none!important;
}
.form-control:focus {
    color: var(--verde) !important;
	border-color: var(--verde) !important;
	box-shadow: 0 0 10px 1px rgb(9 105 100 / 54%) !important;
	background-color: #eee !important;
}
textarea.form-control {
    height: auto !important;
}
input[type=checkbox] {
    position: absolute;
    visibility: hidden;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
}
input[type=checkbox] + span:before {
    display: block;
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    top: 0px;
    left: 0px;
    border: 1px solid #9f9f9f;
}
input[type=checkbox] + span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 20px;
    width: 20px;
    top: -10px;
    left: 2px;
    visibility: hidden;
    font-size: 25px;
    text-align: center;
    line-height: 30px;
}
input[type=checkbox]:checked + span:before {
    background: transparent;
}
input[type=checkbox]:checked + span:after {
    visibility: visible;
}
span.wpcf7-list-item {
    display: inline-block;
    margin: 0% 5%;
}
.wpcf7 .wpcf7-list-item {
    display: block;
	font-size: 0.69rem;
    line-height: 1rem;
	color: #4d4d4d;
}
.wpcf7 .wpcf7-list-item a{
	color: #4d4d4d;
	text-decoration: revert;
}
.btn-enviar{
	background: var(--verde);
    padding: 10px 40px;
    color: white;
    border-radius: 30px;
    font-size: 0.8rem;
	border: none;
}
.site-footer{
	background-color: var(--verde);
}

.menu-footer li a {
    color: white;
    font-size: 1.05rem;
    font-weight: 500;
}
.menu-footer li a:hover{
	text-decoration: none;
	color: var(--amarillo);
}
.copyrights {
	display: flex;
	justify-content: flex-end;
  }
  
  .copyrights>a {
	font-size: 0.6em;
	color: #FFF;
	text-align: right;
  }
  
  .copyrights a:focus, .copyrights a:active {
	color: #FFF;
  }
  
  .copyrights a:hover {
	color: #FFF;
  }
  
  .logo-himalaya {
	width: 23%;
  }

/* SERVICIOS */
.banner-internas{
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 115vh;
    background-color: var(--verde);
}
.div-cont-banner p{
    background-color: var(--amarillo);
    margin: 0;
    font-size: 3rem;
    color: white;
    line-height: 1.1;
    padding: 2% 2% 2% 20%;
    font-weight: 600;
}
.p-desc-banner{
    margin: 0 !important;
    color: var(--blanco);
    padding-right: 5rem;
}
.s-banner{
    background: linear-gradient(to bottom, var(--verde) 50%, transparent 50%);
}
.cont-inicio{
	position: absolute;
    top: 7rem;
    left: 5rem;
    z-index: 9;
}
.cont-inicio, .cont-inicio a i.bi.bi-house-door{
    cursor: pointer;
}
.cont-inicio a {
    background: var(--verde);
    font-size: 2.8rem;
    height: 70px;
    width: 70px;
    border: 1px solid var(--verde);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarillo);
    box-shadow: 6px 6px 17px 0px #0000007a;
}
.cont-inicio a:hover{
    background-color: var(--amarillo);
    color: var(--verde);
}
.plus-card{
    right: 2rem;
    bottom: 0;
}
.plus-card span{
    font-size: 3rem;
    font-weight: 600;
    cursor: pointer;
}
.list-servi .card, .list-casos .card, .section-mas_casos .card{
    box-shadow: 0px 0px 5px 0px #0000009e;
}
.modal-servicio .modal-body img, .list-servi .card img {
    width: 50px;
}
.list-servi .card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    padding-right: 10rem;
    margin-bottom: 0;
    margin-top: 1.5rem;
}
.modal-servicio .modal-body p {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0;
}
.modal-servicio .modal-body .card{
    box-shadow: 0px 0px 5px 0px #0000009e;
    border-radius: 13px !important;
}
.modal-servicio .close {
    position: absolute;
    font-size: 3rem;
    right: 2rem;
    top: 1rem;
}
.list-casos .card h5{
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 !important;
}
.plus-card a {
    font-size: 3rem;
    font-weight: 600;
    color: #212529;
}
.plus-card a:hover{
    text-decoration: none;
    color: var(--verde);
}
.pagination-casos{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination-casos ul {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 2%;
    width: 100%;
    justify-content: center;
}
.pagination-casos ul li, .pagination-casos ul li a {
    font-size: 1.5rem;
    color: var(--verde);
}
.pagination-casos ul li .current{
    color: var(--amarillo);
}
.div-cont-banner p span {
    font-weight: 100;
}
.section-lideres{
    background-color: var(--amarillo);   
}
.section-lideres h6 {
    margin: 0;
}
.section-lideres div h6:nth-child(2) {
    font-weight: 100;
    font-size: 0.9rem;
}
.section-lideres h2, 
.section-lideres h6, 
.section-espec h2, 
.section-espec h6, 
.section-mas_casos h2{
    font-weight: 600;
    color: var(--verde);
}
.section-mas_casos h2{
    font-size: 1.7rem;
}
.section-mas_casos{
    background-color: #E8E8E8;
}
.section-mas_casos .card h5{
    font-size: 1rem;
    font-weight: 600;
    margin: 0 !important;
}
.section-mas_casos .plus-card {
    right: 0.5rem;
    bottom: -0.5rem;
}
.section-mas_casos .plus-card a {
    font-size: 2.5rem;
}
.page-template-theme_nuestros_clientes .div-cont-banner p {
    padding: 2%;
    text-align: center;
}
.page-template-theme_nuestros_clientes .banner-internas {
    height: auto;
}
#slider-casos .item-caso {
    height: 200px;
}
.cont-nclient p{
    font-size: 1.2rem;
    color: #707070;
    margin: 0;
}
.txt-bannerquienes p{
    margin: 0 !important;
    color: var(--blanco);
    padding-right: 5rem;
}
.caracts h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}
.caract_1{
    background-color: var(--amarillo) !important;
    color: var(--verde);
}
.caract_3{
    background-color: var(--verde) !important;
    color: var(--amarillo);
}
.caracts .card, .caracts .card img {
    border-radius: 50px !important;
    border: none !important;
}
.caract_4{
    background-color: var(--verde) !important;
    color: var(--blanco);
}
.caract_5{
    background-color: var(--amarillo) !important;
    color: var(--blanco);
}
.page-template-theme_contactanos main, .page-template-theme_gracias main{
    background-position: center;
    background-size: cover;
}
.page-template-theme_contactanos main .form-contact {
    margin-top: 2.5rem;
}
.page-template-theme_contactanos .cont-logo, .page-template-theme_gracias .cont-logo {
    transform: translate(-50%, -50%);
    left: 50%;
    top: 30%;
}
.page-template-theme_gracias .content_contact h1 {
    font-size: 4rem;
    color: var(--verde);
    margin-bottom: 2rem;
}
.page-template-theme_gracias .content_contact p {
    font-size: 1.5rem;
    color: var(--verde);
    margin: 0;
}
.page-template-theme_contactanos .form-contact .row div {
    padding: 0;
}
.page-template-theme_contactanos .form-contact .row .col-sm-6 {
    -ms-flex: 0 0 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
.page-template-theme_contactanos main h1 {
    color: var(--verde);
    font-weight: 700;
    font-size: 2.2rem;
}
.page-template-theme_contactanos main p {
    color: var(--verde);
    font-size: 1.7rem;
    line-height: 1.4;
    
}
.item-info {
    display: flex;
    align-items: center;
    margin: 1rem 0rem;
    color: #707070 !important;
}
.item-info i {
    font-size: 2.5rem;
}
.item-info h3 {
    font-size: 1.5rem;
    margin-left: 1rem;
    margin-bottom: 0;
}
.page-template-theme_contactanos .form-contact .form-control {
    background-color: #fff !important;
    border: none;
    box-shadow: 0px 0px 10px 4px #ced4da;
}
.page-template-theme_contactanos input::placeholder, .page-template-theme_contactanos textarea::placeholder {
    color: #cacaca !important;
}
.wpcf7-not-valid-tip{
    font-size: 1rem !important;
}
#myTab-historia.nav-tabs {
     gap: 5rem;
     width: 100%;
     border-bottom: 1px solid #b3b3b3 !important; 
}

#myTab-historia .nav-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--verde);
    border: none;
}
#myTab-historia .nav-link.active {
    border-bottom: solid 10px var(--amarillo);
}
input#equipo-search::placeholder{
    font-size: 2rem;
    color: #b8b8b8 !important;
}
input#equipo-search {
    width: 100%;
    border: none;
    border-bottom: solid 2px #b8b8b8;
    padding: 5px 0px;
    font-size: 2rem;
    color: #b8b8b8 !important;
}
input#equipo-search:focus-visible {
    outline: none;
}
#search-results h2 {
    font-size: 0.9rem;
    color: var(--verde);
    font-weight: 600;
    margin: 0;
}
#search-results .card {
    box-shadow: 1px 0px 10px 0px gray;
}

.modal-servicio .modal-body .row.mt-3.justify-content-center img, .section-lideres img {
    border-radius: 100%;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
    white-space: nowrap;
    overflow-x: hidden;
  }
  
  .timeline ol {
    font-size: 0;
    width: 100%;
    padding: 230px 0;
    transition: all 1s;
    display: flex;
    justify-content: center;
  }
  
  .timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 200px;
    height: 2px;
    background: #7e7e7e;
  }
  
  .timeline ol li:last-child {
    width: 30%;
  }
/*   
  .timeline ol li:not(:first-child) {
    margin-left: 14px;
  } */
  
  .timeline ol li::after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--verde);
  }
  
  .timeline ol li div {
    position: absolute;
    left: 5px;
    width: 300px;
    padding: 15px;
    font-size: 1rem;
    white-space: normal;
    color: black;
    background: white;
     /* box-shadow: 0px 0px 10px 0px #0000009c;  */
  }
  
   .timeline ol li div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .timeline ol li:nth-child(odd) div {
    top: -40px;
    transform: translateY(-100%);
  }
  
  .timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: transparent transparent transparent transparent;
  }
  
  .timeline ol li:nth-child(even) div {
    top: calc(100% + 40px);
  }
  
  .timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent transparent;
  }
  .timeline h3{
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--verde);
    line-height: 1;
    margin: 0;
  }
  .timeline p{
    font-size: 0.8rem;
    margin: 0;
  }
  .timeline time {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--amarillo);
  }
  
  .modal{
    z-index: 9999!important;
  }

#myCarousel-inicio .cont-logo-inicio{
    margin-bottom: 3rem;
}
#myCarousel-inicio .cont-logo-inicio a{
    display: flex;
}
#myCarousel-inicio .cont-logo-inicio a img{
    width: 30%;
    height: 30%;
    filter: brightness(0) invert();
}


