/* tableau */
table.fullcalendar{
    width: 100%;
}
table.fullcalendar ul{
    padding-left:0;
    margin-left:0;
}
table.fullcalendar ul li {
  border-radius: 10px;
  font-size: 13px;
  line-height: 24px;
  list-style-type: none;
  margin-top: 10px;
  padding: 2px 10px;
}
table.em-calendar td.eventful a, table.em-calendar td.eventful-today a, 
table.em-calendar td.eventful-pre a, table.em-calendar td.eventful-post a {
  color: #fff !important;
  text-decoration: none !important;
}
table.fullcalendar td.eventless-pre,
table.fullcalendar td.eventless,
table.fullcalendar td.eventful,
table.fullcalendar td.eventless-today,
table.fullcalendar td.eventful-today
{
    width: 14%;
    height: 120px;
    vertical-align: top !important;
}
table.fullcalendar tr.days-names td, table.fullcalendar tr.days-names-mobile td{
    text-align: center;
    color: #959595;
    font-size: 12px;
    line-height: 14px;
    padding: 15px 0;
    margin: 5px 0;
    background-color: #e6e6e6;
    text-transform: uppercase;
}
table.fullcalendar td {
    border: 1px solid #e9e9e9 !important;
}
table.fullcalendar .day_number{
    float:right;
    font-size:14px;
    color:#000;
}

/* header */
.calendar-header{
    width: 100%;
    height: 35px;
    margin: 24px 0;
}
.calendar-header .nav-container, .calendar-header .today-container{
    margin:20px auto;
    text-align: center;
}
.calendar-header .nav{
    width: 70px;
    margin: 0 auto;
}
.calendar-header .nav div{
    width: 35px;
}
.calendar-header .nav div.prev{
    float:left;
    text-align: left;
    border-right: solid 2px #6aac8d;
}
.calendar-header .nav div.next{
    float:right;
    text-align: right;
}
.calendar-header .nav div a{
    color:#6aac8d;
}
.calendar-header .today a{
    font-size: 14px;
    line-height: 24px;
    color: #c3ded1;
    font-weight: bold;
}
.calendar-header .month_name{
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    text-align: center !important;
}
.calendar-header .range{
    width: 255px;
    float:right;
}
.calendar-header .range a{
    float:right;
    color:#6aac8d;  
    font-size: 14px;
    line-height: 24px;
    background-color: #fff;
    padding: 15px auto;
    width: 85px;
    text-align:center;
    text-decoration: none;
}
.calendar-header .range a.selected, .calendar-header .range a:hover{
    color:#fff;
    background-color: #6aac8d;
    text-decoration: none;
}
.calendar-header .range a.mois, .calendar-header .range a.semaine{
    border-right: solid 2px #6aac8d;
}
.calendar-header .range a.mois{
    border-radius : 30px 0 0 30px;
}
.calendar-header .range a.jour{
    border-radius : 0 30px 30px 0;
}

/* responsive */

table.fullcalendar tr.days-names td{
    display: table-cell;
}
table.fullcalendar tr.days-names-mobile td{
    display: none;
}
table.fullcalendar tr td a{
    cursor:pointer;
}

@media screen and (max-width: 980px) {
    table.fullcalendar ul li{
        font-size:10px;
        line-height: 12px;
    }
    table.fullcalendar td{
        width: 14%;
    }
    table.fullcalendar tr.days-names td{
        display: none;
    }
    table.fullcalendar tr.days-names-mobile td{
        display: table-cell;
    }
    table.fullcalendar td.eventless-pre,
    table.fullcalendar td.eventless,
    table.fullcalendar td.eventful,
    table.fullcalendar td.eventless-today,
    table.fullcalendar td.eventful-today
    {
        height: 60px;
    }
    div.fullcalendar-container{
        margin: 0 -15px;
    }
}
div.messagescroll{
    display: none;
}
@media screen and (max-width: 760px) {
    div.fullcalendar-container{
        clear: both;
        overflow-x:auto;
    }
    div.messagescroll{
        display: block;
        color: #fff;
        background-color:#5f6062;
        border: solid 1px #000;
        padding: 5px;
        font-size: 14px;
        width: 100%;
    }
}

/* categories legendes */
/*
.categories-legende-container{
    margin-bottom:30px;
}
*/
ul.categories-legende{
    padding-left: 0;
}

ul.categories-legende li{
    /*
    display: inline;
    list-style: none;
    margin: 0 40px 10px 0;  
    float: left;        
    */
    font-size: 14px;
    line-height: 20px;
    color: #5f6062;
}
ul.categories-legende li a{
    color: #6aac8d;
}
ul.categories-legende li a:hover{
    color: #000;
}
ul.categories-legende .couleur {
  float: left;
  height: 10px;
  margin-right: 5px;
  margin-top: 5px;
  width: 10px;
}
ul.categories-legende.nav-tabs > li.active > a, 
ul.categories-legende.nav-tabs > li.active > a:focus, 
ul.categories-legende.nav-tabs > li.active > a:hover{
    background-color: #eee !important;
}

/* popover */
.popover-content{
    text-align: center;
    padding-bottom: 15px;
}
h3.popover-title{
    font-size: 20px;
    line-height: 28px;
    color: #000;
}
.date-cal {
  background-size: 11px 11px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  line-height: 20px;
  padding: 0 15px 0 30px;
  text-align: center;
  margin-bottom: 15px;
}
.categorie-cal-container{
  margin-bottom: 25px;  
}
.categorie-cal{
    background-size: 10px 13px;
    padding: 0 15px 0 30px;
    font-size:13px;
    line-height: 20px;
    color: #000;
}
.addtocalendar{
    width: 100%;
}
a.atcb-link{
    color: #6aac8d;
    font-size:14px;
    line-height:14px;
    text-decoration: none;
    border: 2px solid #6aac8d;
    border-radius: 20px;
    color: #6aac8d;
    margin: 15px 0;
    padding: 10px;
    text-align: center;
    height:35px;
    background-size: 12px 12px;
}
a.atcb-link:focus~ul,
a.atcb-link:active~ul,
a.atcb-link:focus,
a.atcb-link:active,
a.atcb-link:hover{
    text-decoration: none;
    background-color: #6aac8d !important;
    color: #fff !important;
    background-size: 12px 12px;
}
.addeventatc{
    font-size: inherit !important;
    background-image: none !important;
}


.modal {
  text-align: center;
  z-index: 90000000 !important;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  } 
  .calendar-header .nav-container, .calendar-header .today-container{
    margin:0;
    text-align: left;
  }
  .calendar-header .nav{
    margin:0;
    float:right;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  width: 300px !important;
}

a.atcb-item-link{
    color: #000 !important;
    background-color: #fff;
    font-size:14px;
    line-height:28px;
    font-weight: normal;
    padding: 2px 5px;
}
a.atcb-item-link:hover{
    color: #fff !important;
    background-color: #6aac8d;
    text-decoration: none;
}

 .em-booking{
     position: unset;
     margin: 5px 0 0;
 }
    
 .atcb-list{
     margin-left: 40px !important;
 }
 .atcb-link{
     margin-bottom: 0 !important;
 }
 
table.em-calendar a.btn.btn-success{
     background-color: #5cb85c;
}
table.em-calendar a.btn.btn-primary{
     background-color: #337ab7 !important;
}
table.em-calendar a.btn.btn-panier-action{
    font-size:12px;
}

#myModal-calendar .modal-header h4.modal-title,
#myModal-calendar .modal-header button{
    color:#fff !important;
}

#myModal-calendar .modal-body{
    font-size: 14px;
    line-height: 16px;
}

.num-semaine{
    float:right;
    color: #fff;
    background-color: #aaa;
    border-radius: 3px;
    padding:3px;
    font-size: 10px;
    
}
