/*******************************Calendar Top Navigation*********************************/
div#calendar{
  margin:0px auto;
  padding:0px;
  /*width: 602px;*/
  width: 100%;
  
  font-family:"SourceSansProRegular";
}
 
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:40px;
    /*background-color:   #787878 ;      */
    padding-top: 10px;
}
 
div#calendar div.header{
    line-height:40px;  
    vertical-align:middle;
    position:absolute;
    top:0px;
    width:1400px;
    height:40px;   
    text-align:center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    position:absolute;
    top:0px;   
    height: 40px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#000;
}
 
div#calendar div.header span.title{
    color:#000;
    font-size:18px;
}
 
 
div#calendar div.header a.prev{
    left:9px;
}
 
div#calendar div.header a.next{
    right:9px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    
    border:1px solid #fff ;
    border-top:none;
    
}
 
 
 
div#calendar ul.label{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-top:5px;
    margin-left: 5px;
}
 
div#calendar ul.label li{
    margin:0px;
    padding:0px;
    margin-right:5px;  
    float:left;
    list-style-type:none;
    width:80px;
    height:40px;
    line-height:40px;
    vertical-align:middle;
    text-align:center;
    color:#000;
    font-size: 15px;
    background-color: transparent;
}
 
 
div#calendar ul.dates{
width: 100%;
overflow: hidden;
padding: 0px 1px;
    /*    
    float:right;

    margin: 0px;
    padding: 0px;
    margin-left: 5px;
    margin-bottom: 5px;
  
position: absolute;
left: 8%;
transform: translatex(-6%);    
*/    
}
 
/** overall width = width+padding-right**/

 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
}      
.firstcalendarlist{height: 30px;}
.calendarlist{height: 28px;}
.weekend{background-color:#73767b !important;}
.espai_name{background-color:#fff !important; color: #000 !important; width: 23.1% !important; text-align: left !important; padding-left: 15px !important;  }
.first-espai{border-top: 2px solid #000;}
.dates-espais{border-bottom: 2px solid #000;border-left: 2px solid #000;border-right: 2px solid #000;background: #000;}
.dates-espais li:not(.weekend):not(.activity):not(.manteniment):not(.activity-unconf):not(.activity-combined):not(.muntatge):not(.desmuntatge):not(.munttoact):not(.closedday):not(.expo) {
    background-color:#fff !important;
    /*width: 2.63% !important;*/
}

/*--------------------------------------------------*/

.dates-espais .closedday {background-color:#000 !important;}

.dates-espais .muntatge {background-color:#5ebdb3 !important;}
.dates-espais .desmuntatge {background-color:#5ebdb3 !important;}
.dates-espais .activity {background-color:#446b6c !important;}
.dates-espais .expo {background-color:#B10DC9 !important;}

.dates-espais .manteniment {background-color:#ec3342 !important;}

.dates-espais .munttoact{
  background:#ec3342;
  background: linear-gradient(to right bottom, #5ebdb3 50%, #446b6c 50%);    
}
.dates-espais .activity-combined{
  background:#ec3342;
  background: linear-gradient(to right top, #446b6c 50%, #3365b9 50%);    
}

.dates-espais .activity-unconf {background-color:#3365b9 !important;}


/*#nav-current-month{border-left: 1px solid #000; border-right: 1px solid #000; padding-right: 15px !important;}*/
#nav-current-month span {background: #fff;position:relative; top:-10px; padding: 10px; font-weight: bold;}
.black-line{background: #000; height:1px; margin-top:10px;}

.blackcell{background: #000 !important;color: #000 !important;}

#nav-months a{color: #000; }


#event-action{position: absolute;}
#event-action a{ color: #000; font-size: 12px; outline: none;}
#event-action a:hover, #event-action a:active, #event-action a span:hover, #event-action a span:active{color: #d02e38;}
#event-action a span{font-size: 45px; color: #000;}
#event-action-txt {padding-left: 50px; font-size: 12px;line-height: 1;padding-top: 17px;}




/*container 750*/
@media(min-width:768px){.espai_name{width: 19.82% !important;}}
/*container 970*/
@media(min-width:992px){.espai_name{width: 21.89% !important;}}
/*container 1170*/
@media(min-width:1200px){.espai_name{width: 23.1% !important;}}