/**
Theme Name: Darelbhar
Author: Develoop
Author URI: https://develoop.net/
Description: https://develoop.net/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darelbhar
Template: astra
*/

/* Base */
body{
    font-family: Arial, Sans-Serif;
}
a {
    color: #111;
    text-decoration: none !important;
}
.blog-date, .home-teaser, h1, h2, h3, h4, h5, h6, #slidecaption {
    font-family: 'Roboto Condensed', Helvetica, sans-serif;
    font-weight: 300;
}
.ast-container{
    max-width: 1715px;
    width: 100%;
}
body:not(.home) .site-main article{
    background-color: #fff;
    max-width: 850px;
    margin: 30px auto 30px;
    padding: 25px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}
 .site-main article h1{
    font-size: 60px;
    line-height: 60px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    padding: 0 25px;
    font-weight: 300;
}
 .site-main article h2{
    font-weight: 300;
    margin-bottom: 15px;
}
.site-main article p{
    margin-bottom: 0;
    color: #666;
}
.site-main article form{
    max-width: 445px;
}
.site-main article form input[type="submit"]{
    background: #555;
    color: #fff;
}


body:not(.home){
background-attachment: fixed;
    background-clip: border-box;
    background-image: url(../../uploads/2025/09/piscina2.jpg);
    background-origin: padding-box;
    background-position: Top Left;
    background-repeat: no-repeat;
    background-size: cover;
}
.divider, hr{
    background: url(../images/divider.gif) repeat scroll 0 0 transparent;
    height: 8px;
    margin-bottom: 30px;
    border: none;
}
.site-main article hr{
    margin-left: -25px !important;
    margin-right: -25px !important;
    margin-top: 30px;
    margin-bottom: 30px;
}
  
/* HEADER */
.site-logo-img {
    -webkit-border-radius: 0px 0px 4px 4px;
    border-radius: 0px 0px 4px 4px;
    display: inline-block;
    float: left;
    margin-left: 0;
    position: relative;
    padding: 35px 15px 15px;
    background: #000;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
}
.site-logo-img img{
    border-bottom: 2px solid #131eed;
    padding-bottom: 10px;
}
.site-header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.site-header .ast-primary-header-bar{
    background-color: transparent;
}

.home-teaser {
    margin-top: 250px;
    opacity: 1;
    display: block;
}
.site-navigation ul{
    /* background-color: #000; */
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item{
    background-color: #000;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:hover{
    background-color: #131eed;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:last-child{
    margin-left: 5px;
    width: 40px;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:last-child a{
    font-size: 0;
}
.bg-slider-ctrl{
    display: none;
}
.site-navigation li a {
    display: block;
    line-height: 22px;
    padding: 30px 10px 17px !important;
    font-size: 13px;
    text-transform: uppercase;
    color: #fff !important;
}
.site-navigation li:hover{
    background-color: #131eed;
    color: #fff;
}
.site-header-primary-section-right {
    padding-right: 0px;
}
.hideall,.showall{
    cursor: pointer;
}
.hideall-container{
    max-width: 100%;
    width: 1715px;
}

/* .hideall-container .bg-slider-ctrl span{
    background: url(./images/full_scrt.gif) no-repeat scroll center 35px transparent;
} */

.bg-slider-ctrl {
    height: 67px !important;
}

.ctrl-show {
	display: none;
}

.hideall-container {
    z-index: 99999;
    margin-top: 3px;
}

/* Solo para el boton "hideall" */
.hideall {
    margin-top: 35px;
    margin-left: 13px;
}

.hideall span {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:last-child > a::before,
.hideall span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/full_scrt.gif) no-repeat center;
    background-size: contain;
    transform: rotate(0deg); 
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:last-child > a::before{
    background-size: 16px;
    top: 8px;
}
.hideall a {
    padding: 0 !important;
}

/* Solo para el boton "show all" */
.showall {
    margin-top: 35px;
    margin-left: 13px;
}

.showall span {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}

.showall span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/full_scrt.gif) no-repeat center;
    background-size: contain;
    transform: rotate(180deg);
}

.btn-show-all{
    margin-left: 0px !important;
    border-radius: 0 0 4px 0 !important;
}

.showall a {
    padding: 0 !important;
}

/* Solo para el boton "next" */
.next-slide {
    margin-top: 35px;
    margin-left: 13px;
}

.next-slide span {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}

.next-slide span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/full_scrt.gif) no-repeat center;
    background-size: contain;
    transform: rotate(90deg);
}
.btn-next-slide{
    margin-left: 0px !important;
    border-radius: 0 0 0 0 !important;
}

.next-slide a {
    padding: 0 !important;
}

/* Solo para el boton "prev" */
.prev-slide {
    margin-top: 35px;
    margin-left: 13px;
}

.prev-slide span {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}

.prev-slide span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/full_scrt.gif) no-repeat center;
    background-size: contain;
    transform: rotate(270deg);
}

.btn-prev-slide{
    margin-left: 0px !important;
    border-radius: 0 0 0 4px !important;
}

.prev-slide a {
    padding: 0 !important;
}

/* ***************************** */

.bg-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: transparent url(./images/bg_pattern_1.png) repeat top left;
    z-index: -8;
}
.slider-home{
    display: block !important;
    position: fixed !important;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: -999 !important;
    height: 100%;
    width: 100%;
}
.ast-primary-header-bar{
    border-bottom: none;
}
.progress-bar {
    width: 100%;
    height: 5px;
    padding-bottom: 20px;
    overflow: hidden;
    background: #000;
    position: absolute;
}

.progress {
    height: 3px !important;
    width: 0%;
    background: #131eed;
    display: block;
    transition: width linear;
    position: absolute;
    z-index: 9999;
}
.current_page_item a{
    background: #131eed;
}
.slider-home .slick-slide img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
#slidecaption {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  position: relative;
  display: inline-block;
}
.caption-enter {
  opacity: 0;
  transform: translateY(-20px);
}
.caption-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease;
}
.caption-exit {
  opacity: 1;
  transform: translateY(0);
}
.caption-exit-active {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

#slidecaptionnew {
    bottom: 50px;
    color: #FFFFFF;
    font-size: 60px;
    line-height: 70px;
    right: 5%;
    height: 70px;
    text-transform: uppercase;
    opacity: 0;
    background-color: #131eed;
    position: absolute;
    bottom: 80px;
    font-family: "Roboto Condensed", Helvetica, sans-serif;
    font-weight: 300;
    padding: 0 10px;
}
.ast-header-break-point .ast-primary-header-bar{
    border-bottom: none;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg{
    fill: #000;
}
.entry-header.ast-no-thumbnail{
    display: none;
}
/* Contact */
.g-map{
    margin: -25px -25px 0 !important;
}

/* Gallery */
.acf-gallery-pretty a {
  display: block;
  width: 100%;
  height: 126px;
  aspect-ratio: 1 / 1; /* cuadrado perfecto */
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}
.acf-gallery-pretty a:hover .hover-icon{
    top: 50% !important;
}

.acf-gallery-pretty img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta sin deformar */
  object-position: center;
  display: block;
}
.kk-overlay {
    background: #111;
    display: block;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.hover-icon {
    background: url(./images/circle-plus.png) no-repeat scroll 0 0 transparent;
    height: 40px;
    left: 50%;
    position: absolute;
    top: -25%;
    width: 40px;
    margin-left: -20px;
    margin-top: -20px;
    transition: all .3s ease;
}

.pp_top,.ppt,
.pp_bottom {
    display: none !important;
}

.ast-mobile-header-wrap .ast-mobile-header-content, .ast-desktop-header-content{
    background-color: transparent;
}

@media(max-width: 921px){
    .bg-slider-ctrl.ctrl-hide{
        display: none;
    }
    .site-navigation li a{
        color: #000 !important;
    }
}
@media(max-width: 768px){
    .site-navigation li a{
        color: #000  !important;
    }
    .site-header-primary-section-right{
        padding-right: 0;
    }
    #slidecaptionnew{
        display: none;
    }
    .site-header{
        position: initial;
    }
    .site-logo-img{
        margin: 0 auto;
    }
    .site-header .ast-builder-grid-row{
        grid-template-columns: auto;
    }
    .site-header .site-header-section{
        display: block;
    }
    .site-header .site-header-section button{
        margin: 0 auto;
    }
    .site-header .ast-builder-layout-element{
        text-align: center;
        display: block;
    }
    .home-teaser{
        width: 240px !important;
    }
    .acf-gallery-pretty {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .home-teaser{
        margin-top: 100px !important;
    }
   
}
@media(max-width: 452px){
    .acf-gallery-pretty {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}