@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400&display=swap');


html, body { height: 100%; background-color: #e9f2f9;  }
body { font-family: 'Noto Serif', serif; color: #22313f; }


/********** 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; }
/*.blank { padding: 20px; color: #444; margin: 0 auto; max-width: 1170px; } // Estilo para la página en blanco DEPRECATED des de bootstrap 4.4 amb el container-xl */
.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; }


/* ----- Custom Project ------ */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 300 }
h1, .h1 { font-size: 3.5rem; line-height: 3rem;  }
    .blank h1 { font-size: 2rem; line-height: 2rem; color: #666666; }
h2, .h2 { color: #111;  }
h3, .h3 { color: #111;  }
h4, .h4 { }
h5, .h5 { }

a { color: #5894CB; }
a:hover, a:focus { color: #6B5D4B; text-decoration: none; }

.text-primary { color: #5894CB !important;}
.btn-primary { background-color: #5894CB; border-color: #5894CB; }
.btn-primary:hover { background-color: #5894CB; border-color: #5894CB; }
.btn-outline-primary { color: #5894CB; border-color: #3399ff; }
.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: #5894CB; border-color: #5894CB;}
.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(51, 153, 255, 0.5);}

.row.picture .wrap-img-cover-object { height: 360px; }

.card:hover img.grayscale { filter: none; }


/* 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 .content-header { background-color: rgba(0,0,0,0.5); }


/* Menú principal */
#wrap-menu-principal { transition: 0.1s all; }
#wrap-menu-principal .navbar-brand img { max-height: 80px; margin-bottom: 10px; transition: 0.15s all; }
.scroll-down #wrap-menu-principal .navbar-brand img { max-height: 43px!important; }
.scroll-down #wrap-menu-principal { background-color: white!important; }


/* Home */
.carousel { height: 100%; }
#carousel-home .carousel-inner .wrap-img-cover-object::after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    content: ' ';
    z-index: 0;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+46,0.65+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 46%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 46%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 46%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}

element {

}
.justify-content-center {

    -ms-flex-pack: center !important;
    justify-content: center !important;

}
.d-flex {

    display: -ms-flexbox !important;
    display: flex !important;

}
.carousel-caption { bottom: 50%!important;}

/* INTERIORES */
#wrap-contenido { min-height: 200px; }


/* Page */
#galeria .wrap-img-cover-object { height: 200px; }

/* List */


/* Item */
.alignleft { float: left; margin-right: 1rem}
.alignright { float: right; margin-left: 1rem}
.alignnone {margin: 5px 20px 20px 0;}

.video-embed iframe {width: 100%!important;}

/* Galeria */
#galerias_imagenes .wrap-img-cover-object { height: 250px; }



/* Contact */
.error-msg { color: #dc3545; font-size: 80%; }

/* Share */
#share_zone > div { float: left; margin-right: 0.5rem; padding: 1rem 0; }
#share_zone .fb-share-button > span { height: 30px!important; }

/* Footer */
#footer { font-size: 0.90rem; background-color: #242424; color: #FFFFFF; line-height: 1.6rem; }
.firma { background-color: #111111; font-family:  'Open Sans', 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; }

    /* PGW */
    #footer .firma-pgw { background: #000000; margin-top: 40px; padding: 7px;font-size: 12px; color: #999; padding-bottom: 15px; }
    #footer .firma-pgw a.ico-pgw { background: url("https://www.petitesgranswebs.cat/frontend/images/ico-firma.png") no-repeat; background-position: left top; line-height: 3px; font-style: normal; font-weight: normal; color: #999; height: 18px; padding: 1px 0 1px 22px;  transition: all 0.15s; }
    #footer .firma-pgw a.ico-pgw:hover { background-position: left bottom; color: #fff; text-decoration: none; }

/* Cookies */
#cookiescript_reportdate { display: none;}


/********** CSS Ladeus  ********/
.relative {position: relative}
.text-lg { font-size: 1.5rem; }
.ls-1 { letter-spacing: 0.1rem }
.ls-2 { letter-spacing: 0.2rem }
.ls-3 { letter-spacing: 0.3rem }
.fw-100 { font-weight: 100; }
.fw-300 { font-weight: 300; }
.fw-700 { font-weight: 700; }

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 */
 }
.overlay-black { background-color: rgba(0,0,0,0.35) }

    /* 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: 150px; }
    .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) {
    
}    

@media (min-width: 980px) and (max-width: 1199px) {
    
    /* #modules .card > div { width: 60%; } */
    
}

/* Large desktop */
@media (max-width: 1200px) {

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    
    /* h1, .h1 { font-size: 4.5rem; } */
    
}

@media (max-width: 992px) {
    
    /*
    #wrap-menu-principal { min-height: 80px; }
    #wrap-menu-principal .navbar-brand img { max-height: 70px; margin-bottom: 0; }
    */
    #wrap-menu-principal .navbar-brand { top: -40px; }

 
/* 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 { height: 100%!important; }
    h1, .h1 { font-size: 2.5rem; line-height: 3rem; }
    #wrap-menu-principal .navbar-brand { position: inherit; top: auto; }
    #wrap-menu-principal .navbar-brand img { max-height: 45px; margin-bottom: 0; }
 }

@media (max-width: 420px) {
    h1, .h1 { font-size: 2rem; line-height: 2.1rem; }
.navbar-brand { font-size: 0.8rem;}
.carousel-caption { bottom: 30% !important; }
 }


@media all and (transform-3d), (-webkit-transform-3d) {
    
}
