#primary{
    margin-bottom: 5px!important;
}

/*-- trobber --*/
    #bloccocalhome img.trobber_img {
        content: url(trobber.gif);
    }

    img.trobber_img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        z-index: 11000;
    }
    div#throbber {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
    }
/*--trobber--*/

.bloccocalhome {
    width: 85%;
    /*box-sizing: border-box;*/
    float: right;
    background: #e3e3e3;
    /* padding: 20px 0 30px 0; */
    padding: 40px 0 30px 0;
    position: relative;
    z-index: 20;
    box-sizing: border-box;
    margin-top:-20px;
    height:440px;
}
.bloccocalhome:after {
    content: '';

    /*width: 50px;*/
    width: 40px;
    height: 100%;
    position: absolute;
    transform: skewX(5deg);
    /*border-left: 6px solid #fff;*/
    /*bottom: -35%;*/
    bottom: 0;
    /*left: -30px;*/
    left: -20px;
    background: #e3e3e3;
    border-bottom: 0 !important;
    z-index: -1;
}


.bloccocalhome table{
    background:transparent;
    border-spacing: 3px;
    border-collapse: separate;
    table-layout: fixed;
   /* width:300px;*/
    max-width:90%;
    /* margin:0 auto;*/
    margin:0 0 0 auto;
}
.bloccocalhome .ui-widget-content{
    border:none;
    background:transparent
}
.bloccocalhome table td{
    /*border:1px solid rgba(255,255,255,0.4);*/
    border:1px solid rgba(90,90,90,0.4);
    vertical-align:top;
    text-align:left
}
.bloccocalhome table td a{
    color:#000 !important
}

.bloccocalhome .ui-datepicker{
    width:100%; padding:0
}

.bloccocalhome .container-inline-date .form-item .form-item{
    float:none
}
.bloccocalhome .container-inline-date .date-padding{
    float:none
}

.bloccocalhome  .ui-state-disabled{
    opacity:1
}

.bloccocalhome .container-inline-date > .form-item{
    display:block;
    margin:0
}

.bloccocalhome table th{
    background:transparent;
    font-size:75%;
    text-transform:uppercase;
    font-weight:normal;
    color:#B20932;
}

.bloccocalhome .ui-datepicker td a:hover,
.bloccocalhome .ui-datepicker td a.ui-state-active{
   /* color:#b20932 !important;*/
    /* background:#FFF; */
    color:#FFF!important;
    background:#b20932 ;
}

.bloccocalhome .ui-datepicker-year,
.bloccocal .ui-datepicker-month{
    color:#B20932;
    font-weight:normal;
    font-size:120%;
    text-transform:none;
}

.bloccocalhome .ui-widget-header{
    background:none;
    padding:0;
   /* width:300px;*/
    max-width:90%;
    margin:0 auto;
    margin:0 0 0 auto;
    border:0;
    /*border-bottom:1px solid rgba(255,255,255,0.4);*/
    border-bottom:1px solid rgba(90,90,90,0.4);
    padding-bottom:10px;
    border-radius:0px;
}

.bloccocalhome .ui-datepicker-month{
    background:transparent;
    border:0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color:#B20932;
}

.bloccocalhome .ui-datepicker-month::-ms-expand {
    display: none;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute !important;

}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span{font-size:0; color:transparent}

.bloccocalhome .ui-datepicker-month option{
    color:#555;
}


.bloccocalhome .ui-widget-header .ui-icon{background:transparent}
.bloccocalhome .ui-datepicker-prev{background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAZCAYAAADuWXTMAAAACXBIWXMAAAsSAAALEgHS3X78AAAAIGNIUk0AAHp2AACAjgAA9hAAAIQtAABw1wAA84IAADrDAAAVLZZ5QFwAAAEdSURBVHjapJS9bcMwEIU/XanGGcEbOIAGcFKkJOwRnAmsDcJsEE8Qr2CoTGMNwMITxNkgbtgyDYUICu/yx446fHq8d4+sUkpoq6sbDzwo5bdKg7u6mQOv6OtWjOLeqB1cDEdRVNfAUgEvQAsgBfDqG1XvYjgXYcADMwU8uRieho1MVK+BraHajjfyC5N2LoZjEe7qpgUWhkl++rFKKQ0mnY1e710MX04lo+NqYF8CAaSrmxtgZfS60QoCvBhgP8xUg+8MeJkzXoaz/Ye/ZFxGw78Y6msVzn15Sz2Ps6hMzuxJgWeln4uV3cna5uyX4Wze7qfmaVdSM2+R78BntgsPwgZ4Ni7J3MXwXnyGcpZ7w7y9qvzv1zPP/tEy72MAgHFnobYyhE0AAAAASUVORK5CYII=') no-repeat center center; width:32px; height:32px }
.bloccocalhome .ui-datepicker-next{background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAZCAYAAADuWXTMAAAACXBIWXMAAAsSAAALEgHS3X78AAAAIGNIUk0AAHp2AACAjgAA9hAAAIQtAABw1wAA84IAADrDAAAVLZZ5QFwAAAEnSURBVHjapJTBUQMxDEVffMOXpAPSQRhcQKAADykhVJB0wKYDUgHbQnADmwJ8SAVsCezFJ2bMxcuBtQQDunmsry99f3n2enXbA9fU4+BTbIQ7DLBFjqdg3VIE+xQ74KQUaDVmgD0wCDnrYN1GBPsUe6DR2IN1C4kZn+IzcBHA81px8+28V9h3wbobEVzEO/5WPFNJaBTxVsG6r+5mOedJRrBuC7wIBQZg6VN8rzHjU2yBsyJeKzIX9iXwpsx/L4JLgQ5YC9cf/2I2f/E0cPIpdkZg3SjtDqOZTAW4+IG1KbsgmmQuAC9lB6YOK97dKax7zZ5au8fi/Sm4eHaliDRZyVnOeRSpV2Z9LJat7nOrAM81IIAJ1t0BD8qsW+0D1EQ6jG9ai88BAF3uaKcuEGanAAAAAElFTkSuQmCC') no-repeat center center; width:32px; height:32px }

.bloccocalhome .ui-datepicker-prev:hover,
.bloccocalhome .ui-datepicker-next:hover{border:none;cursor:pointer; padding.0; margin:0;top:2px}

.bloccocalhome .ui-datepicker td a{
    text-align:left;
    /*padding:0 0 28px 5px !important;*/
    padding: 0 0 18px 4px !important;
    font-size:14px !important;
    font-weight:normal !important;
    margin:0 !important;
    border:0 !important;
    font-family: 'MetaPro';
}

/*-- blocco grigio a destra --*/
#bloccocalhome::before {
    content: '';
    width: 47px;
    height: 100%;
    position: absolute;
    bottom: 0px;
    background: #e3e3e3;
    right: -46px;
}
.front.domain-museicapitolini #primary,
.front.domain-centralemontemartini #primary,
.front.domain-mercatitraiano #primary,
.front.domain-museoarapacis #primary,
.front.domain-museosculturaantica #primary,
.front.domain-museociviltaromana #primary,
.front.domain-museodellemura #primary,
.front.domain-museocasaldepazzi #primary,
.front.domain-villadimassenzio #primary,
.front.domain-museorepubblicaromana #primary,
.front.domain-museodiroma #primary,
.front.domain-museonapoleonico-bbsitalia-com #primary,
.front.domain-casaalbertomoravia #primary,
.front.domain-galleriaartemoderna #primary,
.front.domain-macro #primary,
.front.domain-museobilotti #primary,
.front.domain-museopietrocanonica #primary,
.front.domain-museoromatrastevere #primary,
.front.domain-museivillatorlonia #primary,
.front.domain-planetario #primary,
.front.domain-museozoologia #primary{
    padding-bottom: 5px!important;
}

/*---- RESPONSIVE ----*/
@media (max-width:999px) {
    .bloccocalhome .ui-widget-header {
        background: none;
        padding: 0;
        padding-bottom: 0px;
        width: 300px;
        max-width: 90%;
        margin: 0 auto;
        border: 0;
        border-bottom-color: currentcolor;
        border-bottom-style: none;
        border-bottom-width: 0px;
        border-bottom: 1px solid rgba(90,90,90,0.4);
        padding-bottom: 10px;
        border-radius:0px;
    }
    .bloccocalhome{
        width: 100%;
        margin-bottom: 30px;
        padding: 20px 0 30px 0;
    }
    .bloccocalhome:before,
    .bloccocalhome:after{
        content: none!important;
    }
    .bloccocalhome table {
        background: transparent;
        border-spacing: 3px;
        border-collapse: separate;
        table-layout: fixed;
        width: 300px;
        max-width: 90%;
        margin: 0 auto;
    }
    #primary{
        margin-bottom: 20px!important;
    }
}