@charset "utf-8";

html, body { height: 100%; }
body { font-family: 'Rising Sun Regular', sans-serif; color: #4c5155; font-size: 0.95rem }

.dj_contentbox body {margin-top: 0!important}

/********** Arreglos genéricos, mejor no tocar ********/

p img{ max-width: 100%; } 
p img.pull-right { margin-left: 2rem; }
p img.pull-left { margin-right: 2rem; }
.click_a { cursor: pointer; }
.c-pointer { cursor: pointer; }
.custom-control-input.is-invalid ~ .custom-control-label a, .was-validated .custom-control-input:invalid ~ .custom-control-label a{ color: #dc3545; }
.custom-control-label a{ text-decoration: underline; }
.dropdown-toggle::after { display: none }
.grecaptcha-badge { visibility: hidden; }
#logout-session{ position: fixed; z-index: 9999; border-radius: 4px 4px 0 0 ; right: 1rem; bottom: 0; }

.swiper-button-next, .swiper-button-prev {color: #fff!important; text-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important}

/* ----- Custom Project ------ */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 300 }
h1, .h1 { font-size: 3rem; line-height: 3.4rem; font-weight: 400; }
h2, .h2 {  font-size: 2.4rem; line-height: 2.8rem; font-weight: 400;}
h3, .h3 { font-weight: 400; color: #63010e;}
h4, .h4 { color: #63010e;}
h5, .h5 { }

a { color: #830016; }
a:hover, a:focus { color: #63010e; text-decoration: none; }

 .click_a .wrap-img-cover-object { overflow: hidden }
.click_a .wrap-img-cover-object img, article .card-img { transform: scale(1); transition: 0.2s all; }
.click_a:hover .wrap-img-cover-object img, article:hover .card-img { transform: scale(1.05);}

.text-primary { color: #830016 !important;}
.text-secondary { color: #b68d60 !important;}
.bg-dark {background-color: #281c1c !important;}

.btn { border-radius: 25px; font-size: 0.8rem; letter-spacing: 0.6px; padding: .4rem .9rem; text-transform: uppercase; }
.btn-sm { border-radius: 25px; font-size: 0.7rem; padding: .25rem .7rem; }
.btn-primary { background-color: #830016; border-color: #63010e;}
.btn-primary:hover { background-color: #63010e; border-color: #63010e; }
.btn-outline-primary { color: #63010e; border-color: #b68d60; }
.btn-outline-primary:hover,
    .btn-outline-primary:not(:disabled):not(.disabled).active,
    .btn-outline-primary:not(:disabled):not(.disabled):active,
    .show > .btn-outline-primary.dropdown-toggle {
    background-color: #fff; border-color: #63010e; color: #63010e}
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(182, 141, 96, 0.5);}

.btn-outline-warning { color:#b68d60; border-color: #b68d60; }
.btn-outline-warning:hover,
    .btn-outline-warning:not(:disabled):not(.disabled).active,
    .btn-outline-warning:not(:disabled):not(.disabled):active,
    .show > .btn-outline-warning.dropdown-toggle {
     color: #6c5346; border-color: #b68d60; background-color: #fff;}

.form-control:focus {background-color: #fff;
    border-color: #fbe9c2;
    box-shadow: 0 0 0 .2rem rgba(255, 191, 0, 0.18);
}    
.row.picture .wrap-img-cover-object { height: 360px; }
/*.bbcode.wrap-img-cover-object, .row.picture .wrap-img-cover-object.wrap-img-cover-object { height: 200px; }*/

.icona-border {border: 2px solid #830016; background-color: #fff;border-radius: 35px; width: 70px; height: 70px; margin: 0 auto; position: relative; z-index: 1; margin-top: -35px}
.lletres-sin {background-color: #0099ff;
border-radius: 50px;
width: 3rem;
height: 3rem;
padding: 0.4rem 1rem;
color: #fff;
display: inline-block;
text-align: center;
margin-right: 0.5rem;}
.table .table-bordered {border-color:#b68d60 }

/* Layout */

/* Modal */
.modal-full { min-width: 100%; margin: 0; }
.modal-full .modal-header { border-bottom: 0; }
.modal-full .modal-content { min-height: 100vh; border-radius: 0; border: 0; padding-right: 0 !important; }
.modal-full.wrap-img .modal-content { background-color: rgba(255,255,255,0.8) }
.btn-close-icon { position: absolute; z-index: 1; right: 35px; top: 15px; width: 64px; height: 64px; opacity: 0.5; cursor: pointer }
.btn-close-icon:hover { opacity: 1; }
.btn-close-icon:before, .btn-close-icon:after { position: absolute; left: 30px; content: ' '; height: 65px; width: 2px; background-color: #333; }
.btn-close-icon:before { transform: rotate(45deg); }
.btn-close-icon:after { transform: rotate(-45deg); }
@media (max-width: 480px) {
    .btn-close-icon { width: 32px; height: 32px; }    
    .btn-close-icon:before, .btn-close-icon:after { left: 15px; height: 33px; }
 }


/* Header */
#wrap-content-header { height: 20rem; background-attachment: fixed}
#wrap-content-header .content-header { background-color: rgba(0,0,0,0.5); }

/* Menú principal */
    .navbar-brand img {
        max-height: 80px;    
        margin: 10px;
        transition: 0.2s all;
    }
    .sticked .navbar-brand img {
        max-height: 65px;
        margin: 3px 0 3px 30px;
    }
    .hvr-underline-reveal::before {
        background-color: #96001D;
    }
    .navbar-nav .nav-item.active > .nav-link, .navbar-nav .nav-item:active:focus > .nav-link, .navbar-nav .nav-item:active > .nav-link, .navbar-nav .nav-item:focus > .nav-link, .navbar-nav .nav-item:hover > .nav-link {
        color: #96001D;
    }
    .submenu.animated, dropdown-menu.animated {
        animation-duration: 0.4s;
    }
    .navbar-expand-lg .navbar-nav .nav-link, .navbar-nav .nav-link { padding: 40px .7rem; font-weight: 400; letter-spacing: 0.05rem; }
    .sticked .navbar-expand-lg .navbar-nav .nav-link, .sticked .navbar-nav .nav-link { padding: 25px .7rem;}
   .bsnav-mobile.in .navbar { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;padding: 4rem 1rem 0 0; }

/* Fi Menú principal */

.dropdown-item.active, .dropdown-item:active { background-color: #96001D;
}
/* Home */
    /*CAROUSEL HOME */
    #carousel-home .carousel-inner .wrap-img-cover-object {  height: calc(100vh - 5rem) ; min-height: 450px; margin-top: 5rem }
    #carousel-home .carousel-inner .wrap-img-cover-object::after {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        content: ' ';
        z-index: 0;
        background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 30%,rgba(0,0,0,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(180deg, rgba(0,0,0,0) 30%,rgba(0,0,0,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#60000000', GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        transition: all 0.2s ease-out;
        background-size:1px 100%;
    }    

        /* Zoom carousel */
        @-webkit-keyframes zoom {
          from {
            -webkit-transform: scale(1, 1);
          }
          to {
            -webkit-transform: scale(1.1, 1.1);
          }
        }

        @keyframes zoom {
          from {
            transform: scale(1, 1);
          }
          to {
            transform: scale(1.1, 1.1);
          }
        }
        #carousel-home .wrap-img-cover-object img {
          -webkit-animation: zoom 20s;
          animation: zoom 20s;
        }
        /*fi Zoom carousel*/
             
    /*FI CAROUSEL */

        /*.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
        .embed-container { position: relative; padding-bottom: 46%; height: 0; overflow: hidden; max-width: 100%; overflow: auto; margin-top: 6rem; }*/

        #vimeo-video { height: calc( 100vh - 80px ); margin-top: 5rem; background-color: #111111; }
        .hero-video { height: 100%; position: relative; }
        .hero-video svg { font-size: 20px; }
        .hero-video.openvideo{ overflow-x: hidden; overflow-y: auto; display: block; position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 9999; background-color: #000000; }

        .embed-container {
            position: relative;
            top: 0;
            left: 0;
            z-index: 1;
            overflow: hidden;
            width: 100%;
            height: 100%;
            max-height: 100vh;
        }
        
        #pa-video {
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            overflow: hidden;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .embed-container iframe{
            position: absolute;
            top: 45%;
            left: 50%;
            width: 100vw;
            min-width: 240vh;
            height: 59.25vw;
            min-height: 100vh;
            -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
            z-index: 2;
        }

        .openvideo .embed-container iframe {
            min-width: 0vh;
        }
        #vimeo-video .content-header { z-index: 98; }

.wrap-modules, .wrap-modules .wrap-img-cover-object,.wrap-modules .overlay-black{ min-height: 400px!important; }
.module-taps { height: 50vh; min-height: 530px; }
.bsnav-sticky{ top: 0; }


/* INTERIORES */
#wrap-contenido { min-height: 200px; }


/* Page */
/*#galeria .swiper-slide { width: 80% }*/
#galeria .wrap-img-cover-object { height: 300px; }
#galeria .swiper-slide { width: 27%!important;
}

/* List*/
.carousel-items-images .wrap-img-cover-object {height: 530px!important}
.categories .title-category {font-size: 1.5rem; line-height: 1.5rem; font-weight: 700;}
/*.list-categories img { max-height: 60vh}*/

/* Item */
.breadcrumb {background-color: white; border-bottom: 1px solid #eee}

/* Galeria */
#galerias_imagenes .wrap-img-cover-object { height: 250px; }


/* Contact */
.error-msg { color: #dc3545; font-size: 80%; }


/* Per a Firefox i navegadors estandarditzats */
input[type="date"] {
    cursor: pointer;
}

/* Per assegurar que es pot clicar a tot arreu en navegadors basats en WebKit (Chrome, Safari, Edge) */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    /*color: transparent;*/
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    /* Això fa que la icona invisible ocupi tot l'espai i obri el calendari en clicar a qualsevol lloc */
}

/* Share */
#share_zone > div { float: left; margin-right: 0.5rem; padding: 1rem 0; }
#share_zone .fb-share-button > span { height: 30px!important; }

.bg-dark { background-color: #1e1414!important; color: rgba(255,255,255,0.8);  }

/* Footer */

#footer { font-size: 0.95rem; background-color: #1e1414; color: rgba(255,255,255,0.8); line-height: 1.5rem; }
#footer a { color: #E6CB97; }
#footer a:hover { color: #fff; }
#footer .smallest { font-size: 75%; line-height: 1.3rem;}
#footer .btn-outline-warning:hover {background-color:rgba(0,0,0,0.5);}
#footer h3, #footer h4, #footer h5 { color: #E6CB97!important; font-weight: 200;}
.firma { background-color: #170f0f; font-family: sans-serif; }
.firma a.ico-ladeus { opacity: 0.4; background: url("https://www.ladeus.com/imatges/ico-color-bn-ladeus.png") no-repeat; background-position: left top; font-style: normal; font-weight: normal; color: #666; display: inline-block; font-size: 11px; height: 18px; line-height: 3px; padding: 7px 0 5px 24px; transition: all 0.15s; }
.firma a.ico-ladeus:hover { opacity: 1; background-position: left bottom; color: #999; text-decoration: none; }
.footer-links a, .footer-links li { color: #6c5357; }

/* Cookies */
#cookiescript_reportdate { display: none; }

.img-cart { max-width: 80px; }


/********** CSS Ladeus  ********/
.relative {position: relative}
.text-lg { font-size: 1.5rem; }
.ls-05 { letter-spacing: 0.04rem }
.ls-1 { letter-spacing: 0.1rem }
.ls-2 { letter-spacing: 0.2rem }
.ls-3 { letter-spacing: 0.3rem }
.fw-100 { font-weight: 100; }
.fw-200 { font-weight: 200; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.zi-1000 { z-index: 1000; }


.overlay-black { background-color: rgba(0,0,0,0.5) }
img.grayscale { 
    filter: url("data: image/svg+xml;utf8,&lt;svg xmlns=\'http: //www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
 }
.row:hover img.grayscale  { filter: none; }
 .table td, .table th { border-top: 1px solid #f0e9d5;}
.table-hover tbody tr:hover { background-color: rgba(183, 172, 147, 0.07);} 

    /* css dels Tinys */
    .linkupload { padding: 2px 5px 0px 50px; color: #454545; }
    .link-pdf { background: url(../images/ico/ico-pdf-red.png) no-repeat left 2px; }
    .link-word { background: url(../images/ico/ico-word.png) no-repeat left 2px; }
    .img-ico { max-width: 50px; }

    /* Cover img para el background-image */
    .wrap-img { background-position: center center; background-size: cover; background-repeat: no-repeat; }
    /* Cover img sin usar background */
    .wrap-img-cover-object.bbcode { display: block; height: 150px; margin: 15px 0; transition: 0.2s opacity }
    .wrap-img-cover-object.bbcode:hover { opacity: 0.8; }
    .wrap-img-cover-object { position: relative; width: 100%; height: 300px; }
    .wrap-img-cover-object img { width: 100%; height: 100%; object-fit: cover; font-family: 'object-fit: cover; object-position: 50% 50%;'; object-position: 50% 50%; transition: all 0.5s; }


/* Large desktop */
@media (min-width: 1200px)  {
    .container-xl.container-xxl { max-width: 100%!important;}
  
}  
@media (min-width: 1400px)  {
    .container-xl.container-xxl { max-width: 100%!important;}

}  
@media (min-width: 1800px)  {
    .container-xl.container-xxl { max-width: 90%!important;}
} 
@media (min-width: 1921px)  {
    .container-xl.container-xxl { max-width: 70%!important;}
    .container-fluid.container-xxl { max-width: 70%!important;}
    #galeria .wrap-img-cover-object { height: 400px;}    
}
@media (min-width: 1200px) and (max-width: 1400px) {
    .categories .title-category {font-size: 1rem; line-height: 1rem}      
}
@media (min-width: 980px) and (max-width: 1199px) {
    .categories .title-category {font-size: 1rem; line-height: 1rem}      
    
}

/* Large desktop */
@media (max-width: 1200px) {
    .navbar-brand img { max-height: 60px;}
    .embed-container { margin-top: 5rem; }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
        
}

@media (max-width: 992px) {
    #carousel-home .carousel-inner .wrap-img-cover-object { height: 600px!important; }
    
    #galeria .swiper-slide { width: 40%!important;}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
}

/* Extra small devices (portrait phones, less than 576px) A partir de aquí SM */
@media (max-width: 575.98px) {
    #carousel-home .carousel-inner .wrap-img-cover-object { height: 550px!important; }
    #galeria .swiper-slide { width: 80%!important;}
    .carousel-items-images .wrap-img-cover-object {height: 360px!important}
    .bbcode.wrap-img-cover-object, .row.picture .wrap-img-cover-object.wrap-img-cover-object { height: 135px; }
    #wrap-content-header { height: 16rem;}
 }

@media (max-width: 420px) {
    h1, .h1 { font-size: 2.4rem; line-height: 2.6rem}
    .carousel-title.h1 { font-size: 2rem; line-height: 2.1rem}
    .content-header .h2 {font-size: 2rem; line-height: 2.1rem}
    /*.list-categories img { max-height: 55vh; }*/
    .ls-1 { letter-spacing: 0.05rem }
    .wrap-modules, .wrap-modules .wrap-img-cover-object, .wrap-modules .overlay-black {
        min-height: 300px !important;
    }
    .home #wrap-content-home .content-header {
        padding-top: 220px;
        padding-bottom: 0px;
    }
 }

@media all and (transform-3d), (-webkit-transform-3d) {
    
}