/** Customizacion calendario **/
:root {
    --gris-fosc: #d9d9d9;
    --transparent: #ffffff00;
}

.ui-datepicker-inline{
    width:100% !important;
}

.ui-widget-content {
    border:none !important;
    background-color: var(--transparent) !important;
}

.ui-widget-header {
    background: none !important;
}

.ui-datepicker-calendar .ui-datepicker table{
    font-size: 1em !important; 
}

.ui-widget-header {
    border: 0px !important;
    border-bottom: 2px solid var(--gris-fosc) !important;
    border-radius: 0px !important;
    padding:15px !important ;
}

.ui-datepicker td{
    padding: 5px !important;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{
    top:auto !important;
}

.ui-datepicker-calendar thead tr{
    border: none !important;    
}

.ui-datepicker .ui-datepicker-today a{
    font-weight:bold;
}

.ui-datepicker .ui-datepicker-today .firsttime{
    background-color: #fff !important;
    color: #333 !important;
}

.ui-datepicker .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border:none !important;
    padding:10px 0 !important;
    max-width:60px;
    max-height:60px;
    min-width:44px;
    min-height:44px;
    text-decoration: none !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active{
    color:#fff !important;
	/*SEGURAS*/
    background:#A99E8E !important;
}

.ui-datepicker .ui-datepicker-prev {
    background-image: url('../images/icons/24x24/left.png') !important;
    background-repeat:no-repeat;
}

.ui-datepicker .ui-datepicker-next{
    background-image: url('../images/icons/24x24/right.png')!important;
        background-repeat:no-repeat;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span{
    display:none;
}

.ui-datepicker .ui-datepicker-next-hover {
    border: none !important ;
    opacity:0.6  !important;
    cursor:pointer;
}

.ui-datepicker .ui-datepicker-prev-hover {
    border: none !important ;
    opacity:0.6  !important;
    cursor:pointer;
}

.ui-datepicker-calendar .ui-state-hover,
.ui-datepicker-calendar .ui-state-hover {
    color:#fff !important;
	/*SEGURAS*/
    background:#4D443D !important;
}

.ui-state-default{
    text-align:center !important;
}

/*CUSTOM CALENDAR ICONS*/
/*Sin espacio ese día*/
.datePickerSenseLloc span {
    background-color: #FF7E84 !important;
    background-image :none !important;
    color: #ffffff !important;
}

.datePickerSenseLloc a {
    background-color: #FF7E84 !important;
    background-image :none !important;
    color: #ffffff !important;
}

/*Día de puertas abiertas*/
.datePuertasAbiertas a {
    background-color: #B3E1C7 !important;
    background-image :none !important;
    color: #ffffff !important;
}

/*Día de puertas medio abiertas*/
.datePuertasMedioAbiertas a {
    background-color: #c1bee0 !important;
    background-image :none !important;
    color: #ffffff !important;
}

.opacitat-calendar{
    opacity: 0.35;
    filter: Alpha(Opacity=35); /* support: IE8 */
}

.leyend_calActiv{
    border:1px solid #ccc;margin: 0px 0px 20px 0px;font-size: 12px;padding: 5px;
}

.leyend_selec_day{
	/*SEGURAS*/
    background: #A99E8E;height:14px;width:14px;display: inline-block;margin: 0px 5px;
}

.leyend_open_day{
    background: #B3E1C7;height:14px;width:14px;display: inline-block;margin: 0px 5px;
}

.leyend_open_middle_day{
    background: #C1BEE0;height:14px;width:14px;display: inline-block;margin: 0px 5px;
}

.leyend_close_day{
    background: #FF7E84;height:14px;width:14px;display: inline-block;margin: 0px 5px;
}

.leyend_dot_comment{
    height:8px;width:8px;display: inline-block;margin: 0px 5px;border-radius: 50%;
}

.posIconCal {
    margin-bottom:6px;
}

.calComentariIcona{
    width:22px;
    height:22px;
    display: inline-block;
}

.dot-container {
    position: absolute;
    top: 60%;
    left: 0;
    width: 103%;
    display: flex;
    justify-content: center;
}
.dot-container-daysunselectable{
    position: absolute;
    top: 65%;
    left: 0;
    width: 105%;
    display: flex;
    justify-content: center;
}

.dot{
  width: 8px !important; 
  height: 8px !important;
  border-radius: 50%;
  display: inline-block;
  margin-right: 1.75px; 
}

/*-- SECCIO MEDIA QUERIES --*/
@media (max-width: 480px) { 
    .dot{
        width: 5px !important; 
        height: 5px !important;
        border-radius: 50%;
        display: inline-block;
        margin-right: 1.75px;
    }
    
    .ui-datepicker .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        margin-top: 5px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        margin-bottom: 5px !important;
        max-width: 40px !important;
        min-width: 30px;
        max-height: 40px !important;
    }
    
    .ui-datepicker td{
        padding: 0px !important;
    }
 }
