#primary.page-section
{
    padding-left: 0;
}

#calendar
{
    position: relative;
}

/** azzero impostazioni foglio di stile di base  **/
.mostra_disp tr:nth-child(1n+1){background:transparent}
.mostra_disp tr:nth-child(2n+1) { background-color:transparent; }
.mostra_disp table { margin: 0 0 0 10px; }

.mostra_disp #calendar
{
    height: 550px;
}

div.arrow
{
    position: absolute;
    top: 220px;
    width: 40px;
    height: 30px;
    opacity: 0.5;
}


#next_img div.arrow
{
    /** background: url("/images/arrows.png") -40px 10px no-repeat transparent; **/
    background: url("/images/arrow_originale.png") 0px -5px no-repeat transparent;
    right: -5px;
}


#prev_img div.arrow
{
    /** background: url("/images/arrows.png") 0px 10px no-repeat transparent; **/
    background: url("/images/arrow_originale.png") 0px -75px no-repeat transparent;
    left: -2px;
}


#body_calendar
{
    padding: 5px;
    height: 90%;
}


#prev_img, #next_img
{
    position: absolute;
    width: 35px;
    z-index: 12;
    height: 100%;
    top: 0;
    background-color: rgba(192, 192, 192, 0.2);
    cursor: pointer;
}

#prev_img:hover, #next_img:hover
{
    background-color: rgba(192, 192, 192, 0.8);
}

#next_img
{
    left: 100%;
    margin-left: -35px;
}

.disp_opzioni
{
    position: relative;
    left: 45px;
    padding-top: 6px;
}

#legenda_calendar .occupato, #legenda_calendar .libero
{
    font-size: 13px;
}

#legenda_calendar, #body_calendar
{
    padding-top: 10px;
}

#cal_data_arrivo
{
    width: 70px;
}

.disp_opzioni span
{
    height: 20px;
    line-height: 20px;
    display: inline-table;
    width: 45%;
    text-align: center;
}

.cal_btn
{
    position: relative;
    padding: 0px;
    vertical-align: middle;
    clear: both;
    border-radius: 5px;
    border-width: 3px;
    box-shadow: 0 1px 1px #888;
    background-color: #E0E0E0;
    border: 2px solid #E0E0E0;
    min-width: 65px;
}

.cal_btn:hover
{
    border: 2px solid #003700;
    cursor: pointer;
}

table.tab_calendar
{
    font-size: 90%;
    margin-left: 45px;
    padding: 10px;
}

.tab_calendar td
{
    padding: 2px;
    margin: 2px 0 2px 0;
    border-bottom: 3px solid white;
}

.tab_calendar td.last_day
{
    border-right: 3px solid white;
}

td.nome_alloggio
{
    width: 125px;
    min-width: 125px;
    text-align: left;
    font-weight: bolder;
}

.rotate
{
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

td.giorno_settimana
{
    text-align: center;
    font-size: 9px;
    border-bottom: 0;
}

td.nome_mese, td.nome_anno
{
    text-align: center;
    font-weight: bolder;
    background-color: #F0F0E7;
    border-right: 3px solid white;
    font-size: 13px;
}

td.nome_anno
{
    font-size: 18px;
}

.libero,  td.libero
{
    background-color: rgba(0, 128, 0, 0.6);
    /* color: #ffffff; */
    font-size: 10px;
    padding: 0 1px 0 1px;
    color: white;
}

.occupato, td.occupato
{
    background-color: rgba(255, 62, 27, 0.5);
    /* color: #ffffff; */
    font-size: 10px;
    padding: 0 1px 0 1px;
}

.tab_calendar .bordo_festivo
{
    border-left: 2px solid #ff0000;
}

.tab_calendar .festivo
{
    background-color: #d5cfcf;
}

td.cld_today
{
    font-family:Georgia,serif;
    font-weight:bolder;
    text-align:center;
    color:black;
    background-color: rgba(255, 231, 54, 0.58);
    padding:0.1em 0.2em 0.3em 0.2em;
}

.cal_last_right
{
    border-radius: 0 0 10px ;
}
.cal_last_left
{
    border-radius: 0 0 0 10px ;
}

.boxed-layout .ui-widget-header .ui-icon
{
    background-image: url(/images/ui-icons_ef8c08_256x240.png);
}

.boxed-layout .ui-widget-header :hover
{
    cursor: pointer;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .disp_opzioni {
        left: 0;
        padding-left: 0;
        text-align: center;
    }
    
    .disp_opzioni span {
        width: 50%;
        display: inline-block;
    }
    
    #legenda_calendar {
        text-align: center;
    }
    
    table.tab_calendar {
        margin-left: 0;
        width: 100%;
    }
}