﻿:root {
    --Color1: #444D95; /*blau Descoberta*/
    --Color2: #94C43A; /*verd Descoberta*/
    --ColorTaulaBorde: #98C21B;
    --ColorTaulaFons: #E5F0C6;
    /*content-visibility: auto;*/
}

@font-face {
    font-family: Font1;
    src: url('../fonts/Mark Simonson - Proxima Nova Alt Regular.otf');
}

@font-face {
    font-family: Font1B;
    src: url('../fonts/Mark Simonson - Proxima Nova Alt Bold.otf');
}

@font-face {
    font-family: Font1EB;
    src: url('../fonts/Mark Simonson - Proxima Nova Alt Extrabold.otf');
}

@font-face {
    font-family: Font1L;
    src: url('../fonts/Mark Simonson - Proxima Nova Alt Light.otf');
}

@font-face {
    font-family: AwesomeRegular;
    src: url('../fonts/fa-regular-400.ttf');
}

@font-face {
    font-family: AwesomeSolid;
    src: url('../fonts/fa-solid-900.ttf');
}

.CssColorBlanc {
    color:white !important;
}

.CssColor1 {
    color: var(--Color1) !important;
}

.CssColor2 {
    color: var(--Color2) !important;
}

.Contenidor{

    position:relative;
    margin:0 auto;
    width:100%;
    max-width:1200px;
}

.CssContenidor {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    overflow:hidden;
    min-height: 700px;
    margin: 0 auto;
    background-color: white;
}

.CssRelativa {
    position: relative;
    float: left;
    box-sizing: border-box;
    height: auto;
}


.Columna10 {
    width: 10%;
}

.Columna20 {
    width: 20%;
}

.Columna30 {
    width: 30%;
}

.Columna33 {
    width: calc(100% / 3);
}

.Columna40 {
    width: 40%;
}

.Columna50 {
    width: 50%;
}

.Columna60 {
    width: 60%;
}


.Columna70 {
    width: 70%;
}

.Columna80 {
    width: 80%;
}

.Columna90 {
    width: 90%;
}

.Columna100 {
    width: 100%;
}

.CssEsquerra {
    text-align: left;
}

.CssDreta {
    text-align: right;
}

.CssCentre {
    text-align: center;
}


.CssVisible {
    display: block;
}

.CssAmagat {
    display: none;
}

.CssNegreta {
    font-weight: bold;
}



/*Tipus per les taules ********************************************************************/

td.CelaDreta
{
    align-content:center;
    align-items:center;
}

td.ColumnaEsquerra
{
    width: 20%;
    height: 300px;
    border: 0px;
    background-color: white;
    padding: 0px;
    vertical-align: text-top;
    height:1000px;
}

td.ColumnaDreta
{
    width: 80%;
    border: 0px;
    background-color: white;
    padding: 0px;
    vertical-align: top;
    height:1000px;
}

td.TaulaContingut
{
    font-size: larger;
    vertical-align: text-top;
    font-family: Calibri;
    font-size: small;
    font-weight: initial;
    color: black;
    height:1000px;
}


td.ColumnaContingutEqrra
{
    width: 45%;
    border: 0px;
    padding: 0px 0px 0px 0px;
    vertical-align:top;
}

td.ColumnaContingutDreta
{
    position:relative;
    width: 55%;
    border: 0px;
    background-color: white;
    padding: 5px 0px 0px 0px;
    vertical-align: top;
    align-content:center;
    align-items:center;
}


td.Peu_Linea
{
    font-size:smaller;
    width: 1024px;
    height:50px;
    background-color:#396638;
    border-width:0px;
    align-content:flex-start;
}


/*panell per presentar la llista de cases*/
.PanellLlistaCases {
    position:relative;
    float:left;
    width:100%;
    height:auto;
    text-decoration:none;
    text-align:center;
    align-content:center;
    align-items:center;
    margin:0 0 80px 0;
    /*border:solid 1px black;*/
}



.ImatgeCasa {
    position:relative;
    float:left;
    width:auto;
    min-width:100%;
    height:250px;
    overflow:hidden;
    transition-duration:1s;
}

.ImatgeCasa:hover {
   transform:scale(1.1);
}

.LblNomCasa {
    position: relative;
    float: left;
    width: auto;
    padding: 15px 15px 0 15px;
    text-decoration: none;
}

.LblNomCasa:visited {
    text-decoration:none;
}

.LblNomCasa:link {
    text-decoration:none;
}

.LblComarcaCasa {
    color: #333333;
    font-family: OpenSans;
    font-size: 0.7rem;
    position: relative;
    float: left;
    clear:both;
    width: auto;
    padding: 0 0 5px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

.LblComarcaCasa:visited {
    text-decoration:none;
}

.LblComarcaCasa:link {
    text-decoration:none;
}


.LblDescripcioCasa {

    position:relative;
    float:left;
    box-sizing:border-box;
    color:#333333;
    width:100%;
    text-align:left;
    text-decoration:none;
    padding:7px 20px 20px 15px;
}

.LblDescripcioCasa:visited {
    text-decoration:none;
}

.LblDescripcioCasa:link {
    text-decoration:none;
}

.TitolFitxaCasa {

    position:relative;
    float:left;
    box-sizing:border-box;
    width:100%;
    height:1rem;
    padding:2px;
    top:5px;
    text-align:left;

}

.Titol2FitxaCasa {

    position:relative;
    box-sizing:border-box;
    width:150px;
    height:auto;
    text-align:right;
    padding:2px;
    color:#98C21B;
    font-weight:bold;
    background-color:white;
}

.TexteFitxaCasa {

    position:relative;
    float:left;
    box-sizing:border-box;
    padding:5px 10px 0 0 ;
    top:5px;
    left:3px;
    width:100%;
    margin-bottom:10px;
}

.TitolFitxaCentre {

    position:relative;
    box-sizing:border-box;
    width:100%;
    height:1rem;
    padding:2px;
    color:#98C21B;
    font-weight:bold;
    text-align:center;
    background-color:white;
}

.PanellActivitatCentre {
    position:relative;
    display:inline-block;
    width:100%;
    height:auto;
    margin:10px 0;
    /*border:solid #98C21B;*/
    /*border-width:0 0 2px 0;*/
}

.PanellFotoActivitatCentre {
    position:relative;
    float:left;
    box-sizing:border-box;
    /*height:100%;*/
    width:30%;

}

.FotoActivitatCentre {
    width:100%;
    /*box-shadow:5px 5px 5px;*/
    border:solid 1px #98C21B;
    padding:5px;
}

.PanellDescripcioActivitatCentre {
    position:relative;
    float:left;
    display:inline-block;
    box-sizing:border-box;
    height:100%;
    width:70%;
    padding:0 25px;
}

.PanellReserva {
   position:relative;
   float:left;
   box-sizing:border-box;
   width:100%;
   height:150px;
   margin:10px 0 20px 0;
   border:solid darkgrey;
   border-width:1px;
   padding:5px;
   background-color:#F2F3F4;
   background-image:url('http://intranet.descoberta.cat/media/logo Descoberta 2.png');
   text-align:left;
   box-shadow:darkgrey 5px 5px;

}


.FormulariReserva
{
    position: relative;
    float: left;
    box-sizing:border-box;
    left:0;
    width:100%;
    height:auto;
    min-height: 500px;
    padding: 20px 10px 50px 10px;
    font-family:'OpenSans';
    text-align:left;
    margin-bottom:100px;
}

    .Reserva_Text
    {
        position:relative;
        box-sizing:border-box;
        border: 1px solid DarkGrey;
        font-family:Calibri;
        font-size:1.2rem;
        /*font-weight:bold;*/
        width:100%;
        height:2.2rem;
        padding:5px;
        border-radius: 3px;
        box-shadow:rgba(0,0,0,0.2) 2px 2px 2px;
    }

    .Reserva_Numeric {
        border-color:DarkGrey; /*verd*/
        border-style:solid;
        border-width:1px;
    }

    .Reserva_Data {
        border: 1px solid DarkGrey;
        background-color:white;
    }

    .ajax__calendar_title {
        background-color: DarkGrey;
    }
    .ajax__calendar_dayname {
        font-size:0.8rem;
        font-weight:bold;   
    }
    .ajax__calendar_day {
          font-size:0.8rem;
    }
    div.ajax__calendar_days table tr td{padding-right: 0px;font-size:0.8rem;}
    
    div.ajax__calendar_body{font-size:0.8rem;}
    div.ajax__calendar_container{font-size:0.8rem;}

.Formu_Camp {
    position:relative;
    float:left;
    box-sizing:border-box;
    color: #2E3031;
    margin: 0 0px 15px 0px;
    padding:0 10px;

}

.BtnReservar {
    color: DarkGrey; 
    font-weight: bold;
    cursor:pointer;
}

.NumSuma {
    font-size:1rem;
    height:1.3rem;
    width: 30px;
    text-align: center;
    padding: 0 3px;
    margin: 0 3px 0 0;
}

.Formu_Btn
{
    font-family:Arial;
    font-size:1.3em;
    font-weight:bold;
    height:30px;
    width:80px;
    color:Black;
    text-decoration:none;
    cursor:pointer;
}

.MarcActivitatCILlista {
    position:relative;
    float:left;
    box-sizing:border-box;
    left:5%;
    width:90%;
    border:solid 1px darkgrey;
    padding:20px;
    background-color:#EEEEEE;
}

/*.NomActivitatCI {
    color:#98C21B;
    font-family:Roboto;
    font-size:1.3rem;
    font-weight:bold;
}*/

.BotoIdioma {
    position:relative;
    float:right;
    text-decoration:none;
    color:white;
    font-size:0.8rem;
    font-family:Calibri;
    background-color:transparent;
    border:none;
    cursor:pointer;
}

.QuadreNosaltres {

    position:relative;
    float:left;
    box-sizing:border-box;
    width:25%;
    height:250px;
    border-style:solid;
    border-width: 0 1px;
    border-color: lightgrey;

    margin:10px auto;
    text-align:center;
    /*overflow:hidden;*/
}

.QuadreNosaltresText{
    text-decoration:none;
    font-family:Calibri;
    font-size:1.2rem;
    min-height:60px;
    color:#DD5500;
}


.QuadreNosaltresText_link {
    text-decoration:none;
}

.PanellActivitatLlistaLateral {

    position:relative;
    float:left;
    box-sizing:border-box;
    width:96%;
    height:auto;
    color:#202020;
    margin:0 2%;
    padding:7px 0;
    text-align:left;
    text-transform:uppercase;
    border-bottom:solid darkgrey 1px;
}


.PanellActivitatLlistaLateral:hover {
    color:var(--Color2);
    /*font-family:Font1B;*/
}

.PanellImatgeActivitat {
    position:relative;
    /*float:left;*/
    width:100%;
    aspect-ratio: 3 / 2;
    overflow:hidden;
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
}



.FotoActivitatCasa {
    position:relative;
    float:left;
    width:100%;
}

.NomActivitatCasa {
    position: relative;
    float: left;
    box-sizing: border-box;
    width: 100%;
    height:auto;
    max-height: 68px;
    text-align: left;
    padding: 0px 10px;
    margin: 10px 0 5px 0;
    text-transform: uppercase;
    overflow: hidden;
}

.DescripActivitatCasa {
    position: relative;
    float: left;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    max-height: 88px;
    text-align: left;
    padding: 0px 10px;
    margin-bottom: 5px;
    overflow: hidden;
}

.InfoActivitatCasa {
    position:relative;
    height:15px;
    left:10px;
    z-index:2;
}

.GrausEstudisActivitatCasa {
    position: absolute;
    left: 0;
    bottom: 5px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    color: white;
    text-transform: uppercase;
    height: 20px;
}


.PanellCentreLlistaLateral {

    text-decoration:none;
    margin:7px auto;
}

.PanellCentreLlistaLateral:visited {
    text-decoration:none;
}

.NomCentreLlistaCentre {
   text-decoration:none;
   /*color:#666666;*/
}

.NomCentreLlistaCentre:hover {
    color:#213B8A;
    text-decoration:none;
}


.MarcPagina {
    position: relative;
    /*float:left;*/
    max-width: 1024px;
    height: 100%;
    overflow:hidden;
    min-height: 1500px;
    margin: 0 auto; 
    padding-bottom:50px;

}

.Formu_Text {
    width: 100%;
    height: 25px;
    padding: 3px;
    border:solid 1px #2E3031;
    border-radius: 5px;
    box-shadow: rgba(0,0,0,0.4) 2px 2px 2px;
    color: #2E3031;
}

 .ProgramaTaula {
     width:100%;
}

 .ProgramaCelaDia {
    /*color:white;*/
    background-color:lightgrey;
    font-weight:bold;
    text-align:center;
}

.ProgramaCelaHora {
     background-color:lightgrey;
}

.ProgramaCela {
    background-color:#EEEEEE;
    /*text-align:center;*/
    font-size:0.9rem;
}

.ItemMenuLateral {
     position:relative;
     margin:10px 0;
     height:auto;
     padding:10px 3px;
     text-align:center;
     color:white;
     background-color:#213B8A;
     font-family:Font1B;
     font-size:15px;
     line-height:20px;
     border-radius:15px;
     cursor:pointer;
}

.ItemMenuLateral:hover {
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);  
        color:#98C21B;
}

.ItemMenuLateral2 {
    position: relative;
    margin: 10px 0;
    height: auto;
    padding: 10px;
    text-align: center;
    color: white;
    background-color: #98C21B;
    font-family: Font1B;
    font-size: 15px;
    line-height: 20px;
    border-radius: 15px;
}


.ItemMenuLateral2:hover {
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);  
        color:#213B8A;
}



@keyframes ApareixerPerBaix {

    from {
        bottom:-100%;
    }
    to {
        bottom:0;
    }
}

.GridPresentacio
{
    color:#213B8A;
    background-color:#213B8A;
    border-color:#213B8A;
    border-style:solid;
    border-width:1px;
    Font-Size:Medium;
    Width:100%;
    font-family:'Roboto';
}

@keyframes Apareixer {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/*DropDownList **************************************************************/

.CssDropDownList {
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 200px;
    height: 30px;
    overflow: hidden;
    background: url('https://descoberta.cat/media/fix/Arrowhead-Down-01.png') no-repeat right white;
    background-color:white;
    border: 1px solid black;
    /*border-radius: 5px;*/
    -webkit-appearance: none;
    -moz-appearance: none;
    /*font-family: 'RobotoCond';
    font-size: 1rem;*/
    z-index: 3;
    cursor: pointer;
    /*visibility:hidden;*/
}

.CssDropDownList select {
    background: transparent;
    /*width: 180px;*/
    padding: 3px;
    font-size: 16px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    /*font-family: Calibri;*/
    color: #7d6754;
}

/*slider***************************************************************************/

input[type=range] {
    /*-webkit-appearance: none;*/ /* Hides the slider so that custom slider can be made */
    width: 100%; /* Specific width is required for Firefox. */
    background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    /* Hides the slider so custom styles can be added */
    background: transparent;
    border-color: transparent;
    color: transparent;
}

/*ckeckbox ****************************************************/
.CssCBCases {
    display: block;
    position: absolute;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow:hidden;
    background-color:white;
}

.CssCBCases input {
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;
    cursor: pointer;
    height: 20px;
    width: 20px;
    z-index: 9;
    margin:0 !important;
}


.CssCBMarca {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 20px;
    width: 20px;
    background-color: white;
    border: solid 1px grey;
}
    /* On mouse-over, add a grey background color */
    /*.CssCBCases:hover input ~ .CssCBMarca {
    background-color: #ccc;
}*/

    /* When the checkbox is checked, add a blue background */
    /*.container input:checked ~ .checkmark {
            background-color: #213B8A;
    }*/

/* Create the checkmark/indicator (hidden when not checked) */
.CssCBMarca:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.CssCBCases input:checked ~ .CssCBMarca:after {
    display: block;
}

/* Style the checkmark/indicator */
.CssCBCases .CssCBMarca:after {
    left: 4px;
    top: 0px;
    width: 8px;
    height: 12px;
    border: solid #98C21B;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color:transparent;
}



.CssCreixer01s {
    transition-duration: 0.1s
}

.CssCreixer01s:hover {
    transform: scale(1.02)
}

.CssImatgeDiv {
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    height:100%;
    border:solid 2px white;
    
}