/*!
 * IE10 viewport hack for Surface/desktop Windows 8 bug
 * Copyright 2014-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*
 * See the Getting Started docs for more information:
 * http://getbootstrap.com/getting-started/#support-ie10-width
 */
@-ms-viewport {
    width: device-width;
}
@-o-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}
/*fonts */

@font-face {
    font-family: 'Open Sans SemiBold';
    src: url('../fonts/OpenSans-Semibold-webfont.eot');
    src: url('../fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-Semibold-webfont.woff') format('woff'), url('../fonts/OpenSans-Semibold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-Regular-webfont.woff') format('woff'), url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans Light';
    src: url('../fonts/OpenSans-Light-webfont.eot');
    src: url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-Light-webfont.woff') format('woff'), url('../fonts/OpenSans-Light-webfont.ttf') format('truetype'), url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans Bold';
    src: url('../fonts/OpenSans-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html {
    font-size: 10px;
}
body {
    font-size: 1.4rem;
}
li {
    list-style: none;
}
a:hover {
    text-decoration: none;
}
footer {
    padding: 2rem 0 1rem;
    font-size: 11px;
    text-align: center;
}
img {
    max-width: 100%;
}
body {
    background-color: #fff;
}


header {   
    border-bottom: 1px solid #ccc;
    margin: 0 auto;
    padding: 20px 0;}




#programes_home h1 { font-size:3rem; margin-bottom:3rem; color:#000;}
#programes_home h2 { font-size:3rem; margin-bottom:3rem; color:#000;}
#programes_home h2 span { font-size:2.1rem;}
#programes_home strong, .subheader strong{ 	font-family: "Open Sans Bold", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:normal;
}

#programes_home h3, .subheader h3 {
    font-family: "Open Sans SemiBold", "Helvetica Neue", Helvetica, Arial, sans-serif; 
    font-size:1.7rem; 
    text-transform:uppercase; display:block; padding-left:25px;}

#programes_home h4 {

    font-size:1.6rem;
    line-height:2.3rem; 
    margin-top: 0px;
}


#programes_home .mesinfo  {
    font-family: "Open Sans SemiBold", "Helvetica Neue", Helvetica, Arial, sans-serif; 
    font-size:1.6rem; 
    padding-left:20px;
}

.subheader h2 { font-size:3rem; margin-bottom:1.5rem; padding-left:0px;}
.subheader h3 {		
    font-size:1.4rem;
    margin-top: 0; 
}
.btn_subheader {padding-top:5rem;}
.btn_subheader > div {display:inline-block; padding-left:19px;}

#programes_home a, .btn_subheader a {color:#000;}
#programes_home a:hover,.btn_subheader a:hover {color:#666;}

img.color_prg { position: absolute;}


#p_pedagogics, #p_divulgatius {padding:3rem 0 1rem; border-bottom:1px solid #CCC;}



#p_pedagogics .col-md-3,
#p_divulgatius .col-md-3
{margin-bottom:50px;
 min-height: 300px;
 max-width: 300px;}

#p_pedagogics .txtintro
{
    max-width: 100%;
    min-height: auto;
}

figure {
    width: 150px;
    height: 150px;
    margin: 0;
    padding: 0;

    overflow: hidden;
}
/*

#programes_home figure img {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
}
#programes_home figure:hover img {
        -webkit-transform: rotate(-10deg) scale(1.2);
        transform: rotate(-10deg) scale(1.2);
        

}

*/
#programes_home figure:hover img {
    opacity:0.5;


}




/*  COLORS   */


#programes_home { color:#868685;}  

/* 

#programes_home a, .btn_subheader a {
    color: #4D4D4D;
}
#programes_home h2 {
   color:#3D3D3F;
}
*/
#programes_home h4{ color:#6F7072;} 



.error{
    color: red;
    font-weight: bold;
}


#top {
    background-color: #BD2716;
    height: 38px;   text-align: right;
}



.nav {
    text-align:right;
    padding-left: 10px;
    padding-top:10px;
}
.btntrans {

    margin-bottom: 2px; margin-right:5px;
    width:155px; float:left;
}
.btntrans a {
    display: inline-block;
    position: relative;
    padding: 10px 0px;
    text-align:left;
    color: #868685;
    font-size: 1.3rem;
    text-transform:uppercase;
    line-height: 13px;
}



.btntrans img {

    float: left;
    margin-left: -0.4rem;
    margin: 0 5px 0 0;

}


.btntrans a:hover
{
    color: #000;
}

.btncerca {

    width:120px; 
}

.btndocu {

    margin-top:5px; 
}
.btndocu img {

    margin-top:-5px; 
}

.formConsultaInscripcions{
    font-weight: normal;
    font-size: 14px;
    margin-top:20px;
    margin-bottom:20px;
}

.botoInscripcio{
    margin-top:20px;
    margin-bottom: 50px;
}

.outInscripcioEntitats{
    font-weight : normal;
}

.panelInscripcio{
    display: block;
    margin-top: 50px;
    font-size: 12px;
}

.inpInscEnt{
    margin-left: 15px;
}

.ui-grid {
    border: 0 solid !important;
    clear: both;
    margin: 0;
    padding: 0;
}

.liniaVertical{
    border-left: 1px solid;
    height: 18px;
    padding-left: 12px;
}

.bold{
    font-weight: bold;
}

.seloneMenu .ui-selectonemenu-label { 
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    height: 40px;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 10px;
    text-decoration: none;
    width: 440px;
}

.ui-selectonemenu.seloneMenu{padding-right: 0px;}
.selonePanel .ui-selectonemenu-list { 

}

.taulaInscEntitats{
    margin-bottom:40px;
    font-size: 12px;
}

.fonsVerd{
    background-color: #5fe380 !important;
    background-image : none !important;
}

.fonsVermell{
    background-color: #ff4d4d !important;
    background-image : none !important;
}

.fonsTaronja{
    background-color: #ffbf80 !important;
    background-image : none !important;
}

.autorPanelGridEditLabel{
    width: 200px;
}
.autorPanelGridEditContent{
    width: 280px;
}

.textGeneral{
    font-size: 12px;
}

.inputActivitat{
    width: 615px;
}

.divCaixaPassos {

    border: 1px solid;
    border-radius: 10px;
    display: block;
    /*    height: 85px;*/
    margin-right: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: center;
    width: 300px;
    float: left;
}

.divCaixaPassosPart1{
    padding-left: 10px; 
    width: 50px;
}

.divCaixaPassosPart2{
    padding-left: 10px; 
    padding-right: 10px;
}

.divCaixaPassosPart3{
    width: 60px;
}

.caixaGeneraDoc{
    margin-left:200px;
    margin-top:20px;
    margin-bottom: 20px;
}

.panelGridSenseBorde tr, .panelGridSenseBorde td {
    background: none !important;
    border: none !important;
}

#programes_home_entitat a {color: #000;}
#programes_home_entitat a:hover {color:#666;}
#programes_home_entitat h1 { font-size:3rem; margin-bottom:3rem; color:#000;}
#programes_home_entitat h2 { font-size:2.5rem; margin-bottom:3rem; color:#000;}
#programes_home_entitat h2 span { font-size:2.1rem;}
#programes_home_entitat h3 { font-size:2rem; margin-bottom:3rem; color:#000;}
#programes_home_entitat strong, .subheader strong{ 	font-family: "Open Sans Bold", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:normal;}
#programes_home_entitat {
    color: #868685;
}

.paddingleft10{
    padding-left: 10px;
}


.inputLogin{
    margin-bottom: 10px;
}

.ui-dialog .ui-dialog-title{
    font-size: 16px !important;
}



/***** ENQUESTES ****/

.grid2x2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.grid2x2 > div {
    display: flex; 
    flex-basis: calc(25% - 40px);  
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    border: 1px solid;
    width: 160px;
    height: 85px;
}
.grid2x2 > div > div {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.grid2x2 > div > div.puntuacio {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.grid2x2 > div > div.desc {
    font-size: 16px;
    text-align: center;
}

.botoObritTancarInscripcions{
    margin-top: 9px;
}

.botoObritTancarInscripcions .ui-inputswitch-on {
    background: #5fe380 none repeat scroll 0 0;
    border: 0 none;
    left: 0;
    padding-right: 4px;
}



.fonsVerd{
    background-color: #bdf5cb !important;
    background-image : none !important;
}

.fonsVermell{
    background-color: #ffb3b3 !important;
    background-image : none !important;
}

.fonsTaronja{
    background-color: #ffd9b3 !important;
    background-image : none !important;
}

.fonsBlau{
    background-color: #b3e8ff !important;
    background-image : none !important;
}

.llegendaVermell{
    background-color: #ffb3b3; height: 10px; width: 50px; border: 1px solid; margin-bottom: 5px;  margin-right: 10px; float: left;
}

.llegendaVerd{
    background-color: #bdf5cb; height: 10px; width: 50px; border: 1px solid; margin-bottom: 5px;  margin-right: 10px; float: left;
}

.llegendaTaronja{
    background-color: #ffd9b3; height: 10px; width: 50px; border: 1px solid; margin-bottom: 5px;  margin-right: 10px; float: left;
}

.textVerd{
    color:green; font-size:18px;
}

.textOrange{
    color:orange; font-size:18px;
}

.textRed{
    color:red; font-size:18px;
}

.panelgridNoBorder.ui-panelgrid>*>tr,
.panelgridNoBorder.ui-panelgrid .ui-panelgrid-cell {
    border: none;
}

.avisEntitat{
    border: 1px solid red;
    padding: 10px;
    color: red;
    margin-bottom : 10px;
}

/***** FI ENQUESTES ****/

@media (max-width: 1199px) {	

}

@media (max-width: 991px) {


}

@media (max-width: 768px) {
    .nav {
        text-align: left;
    }
    .btncerca {

        width:100px; 
    }

    .btndocu {

        width:140px; 
    }
    .btncercaa {

        width:120px; 
    }
    .btnenti {

        width:160px; 
    }
    #p_pedagogics .col-md-3,
    #p_divulgatius .col-md-3
    {
        min-height: auto;
    }


}

.ui-datatable thead th,
.ui-datatable tbody,
.ui-datatable tbody tr,
.ui-datatable tbody td {
    border-style: none;
}



/*Footer*/

#footer .container {
    width: 100%;
    margin: 0 auto;
}
.footer-top .container, .footer-bottom .container {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
#footer .container {
    max-width: 1080px;
}
.footer-bottom .container {
    grid-template-columns: 1fr 1fr;
}
#footer {
    font-family: "Open Sans", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background: #000000;
    color: #ffffff;
    padding: 50px 0 10px;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    margin-top: 80px;
    text-align: left;
}
#footer address {
    font-style: normal
}
#footer a {
    color: #fff;
    text-decoration: none;
}
#footer p {
    margin-top: 0;
}
#footer a:hover, #footer a:focus, #footer a:active {
    color: #777;
    text-decoration: underline;
}
#footer .footer-top {
    padding-bottom: 20px;
}
#footer .footer-top .footer1_DDGI {
    margin-bottom: 20px;
    padding-right: 10px;
}
#footer .footer1_DDGI span {
    display: block;
}
#footer span.footer_titol {
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 4px;
}
#footer .footer_subtitol {
    font-size: 14px;
    margin-bottom: 20px;
}
#footer .footer2_DDGI img {
    max-width: 176px;
}
#footer .footer4_DDGI img {
    padding: 0 20px 20px 0;
}
#footer  ul {
    margin:10px 0;
    padding: 0;
}
#footer .footer_DGII_menu li {
    padding-bottom: 5px;
    list-style: none;
}
#footer .footer_DDGI_logo img {
    width: 100%;
}
#footer .footer_DDGI_logo {
    max-width: 350px;
}
#footer .footer-bottom {
    padding: 20px 0 0;
    border-top: 1px solid #FFF;
}
#footer .footer_DDGI_links {
    text-align: right;
    margin-top: 25px;
}

#footer .footer_DDGI_links ul li {
    display: inline-block;
}
#footer .footer_DDGI_links ul li a {
    padding: 3px;
}
#footer .footer_DDGI_links li + li:before {
    font-size: 14px;
    color: #fff;
    content: "/";
    margin: 0 3px;
}


#footer .container:before, #footer .container:after {
    content: "";
    display: none;
}


@media (max-width: 1200px) {
    #footer {
        padding: 50px 30px 10px 30px;
    }
}
@media (max-width: 992px) {
    #footer .container {
        max-width: 960px;
    }
    .footer-bottom .container {
        grid-template-columns: 308px 1fr;
    }
    #footer .footer_DDGI_links {
        margin-top: 23px;
    }
    #footer .footer-bottom {
        padding-bottom: 30px;
        font-size: 11px;
    }
}
@media (max-width: 768px) {
    #footer .container {
        max-width: 720px;
    }
    .footer-top .container, .footer-bottom .container {
        grid-template-columns: 1fr;
    }
    #footer .footer_DDGI_links {
        margin-top: 10px;
    }
    #footer .footer_DDGI_logo {
        margin: 0 auto;
    }
    #footer .footer_DDGI_links {
        text-align: center;
    }
}
@media (max-width: 576px) {
    #footer .container {
        max-width: 540px;
    }
    #footer .footer_DDGI_links li + li:before {
        content: none;
    }
    #footer .footer_DDGI_links ul {
        display: grid;
    }
}
/*Fi footer*/


@media (max-width: 480px) {
}
@media print {
}




/*    canvis difusio set2022   */

.btntrans a {
    font-family: "Open Sans", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    display: inline-block;
   
    padding: 10px 10px;
   
    color: #000;
    font-size: 1.5rem;
    text-transform: none; 
  
    font-weight: bold;
}

.btntrans {
  float: none; 
  
    width: auto;
   
}

.btntrans a:hover {
    color: #be0926;
    text-decoration: underline; 
}
.nav {
 
    padding-top: 25px;
}
header{
  
    padding: 0px;
  
}
header .row {
  
    padding: 35px 0px 20px;
  
}
.container {
    position: relative;
   
}

.badge_DDGI {position:absolute; right:10%; z-index:9999; top:0;}  

.badge_DDGI img {margin-bottom: 0px !important; margin-top:-10px;  transition: all 0.3s ease;}  

.badge_DDGI a:hover img { margin-top:0px;}  

@media only screen and (max-width:999px) {
.badge_DDGI {    display: none  }
}				  



.header{
	z-index:999999;
    background-color: #fff;
    position: sticky;
    top: 0;
    width: 100%;
}

.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #fff;
    overflow: hidden;  
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px 40px;
}

.hamb-line {
    background: #000;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;   
}

.hamb-line::before,
.hamb-line::after{
    background: #000;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

 .side-menu:checked ~ .row .nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li{
        float: left;
    }
    
    .hamb{
        display: none;
    }

}