#calendar{
    width: 100%;
    line-height: 1.2em;
    font-size: 15px;
    text-align: center;
    border: none !important;
    color: #534d45;
}
#calendar thead tr:last-child{
    font-size: small;
    color: #fff;
    border-bottom: 1px solid;
}
#calendar thead tr:last-child td {
    color: #6a6f7b;
    /*padding: 15px 10px;*/
}
#calendar thead tr td{
    padding: 16px 0px;
    color: #b4bfc7;
}
#calendar thead tr:nth-child(1) td:nth-child(2){
    position: relative;
    border: 1px solid #d9d9d9;
    border-top: 0;
}
#calendar thead tr td.prev,
#calendar thead tr td.next {
    border-bottom: 1px solid #d9d9d9;
}
#calendar thead tr:nth-child(1) td:nth-child(1):hover, #calendar thead tr:nth-child(1) td:nth-child(3):hover{
    cursor: pointer;
}
#calendar td{
    cursor: pointer;
    border: none;
    /* padding: 15px 0px; */
    font-size: 18px !important;
}
/*tbody:before {*/
/*content: '';*/
/*display: block;*/
/*height: 201px;*/
/*}*/
#calendar > thead > tr:first-child > td:nth-child(2) {
    color: #2a2a2a;
}
#calendar tbody td.today {
    background-color: #00297c;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.dropdown-menu.i-calendar {
    right: -40px;
    left: auto;
    padding: 5px 7px;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
#calendar tbody td.today:before ,
#calendar tbody td.today:after {
    content: '';
}
/*#calendar td .glyphicon{*/
/*top:-11px;*/
/*}*/
#calendar td,
#calendar tbody td{
    color: #303030;
}

#calendar tbody td a{
    text-decoration: none !important;
    color: inherit;
    padding: 15px 8px;
    display: block;
    /* border-radius: 10px; */
}

#calendar td:hover,
#calendar tbody td:hover{
    background-color: rgba(0, 41, 124, 0.06);
    color: #303030;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
#calendar tbody td:nth-child(n+6), #calendar .holiday{
    /*color: #fba493;*/
}
#calendar tbody td.today{
    color: #fff;
}
#calendar tbody td.today:hover{
    background-color: #8598bf;
}

#calendar tbody td.active{
    /*background: #fff;*/
    color: #fc8312;
    cursor: pointer;
}
#calendar tbody td.active:before{
    content: '';
    background-color: #fff;
    color: #fc8312;
    width: 34px;
    height: 34px;
    position: absolute;
    margin: -8px 0 0 -8px;
}
.calendarBox{
    position: relative;
    border: 1px solid #d9d9d9;
    border-radius: 16px;
    padding: 0 3px;
}
.calendarBox .calView{
    position: absolute;
    display: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 15px;
    background-color: rgba(252, 131, 18, 0.95);
    /*    color: #fff;
        font-size: smaller;*/
    padding: 30px 12px 0 25px;
    z-index: 50;
    width: 100%;
    height: 100%;
    color:#646060;
    font-size:14px;
    overflow: hidden;
}
.calendarBox .calView h2{
    font-size:16px;
    /*font-weight:normal;*/
    /*line-height:20px;*/
    margin: 0;
    color: #fff;
    font-family: "RalewayBold";
}
.calendarBox .calView li{
    list-style: none;
    color: #fff;
    border-bottom: 1px solid #fff;
    margin: 0 30px 0 0;
    padding: 10px 0 10px 0;
}
.calendarBox .calView li:last-child{
    /*border: none;*/
}
.calendarBox .calView li a{
    display: block;
    font-family: "RalewayRegular";
    color: #fff;
    line-height: 1.2;
}
.calendarBox .calView .closebtn{
    color: #fff;
    text-decoration: none;
    position: absolute;
    right: 5px;
    top: 3px;
    opacity: 2;
    font-size: 25px;
    outline: none;
}
.calendarBox .calView .closebtn:hover{
    color: #000;
}

@media (max-width: 768px) {
    #calendar thead tr:last-child td {
        padding: 15px 8px;
    }
    #calendar thead tr td {
        padding: 15px 5px;
    }
    #calendar td {
        padding: 10px 5px;
    }
}