/*******************************Calendar Top Navigation*********************************/
div#calendar {
  font-family: "Open Sans",sans-serif;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:60px;
    background:hsl(232, 34%, 22%) none repeat scroll 0 0 ; 
 margin-bottom: 13px;	
}
 
div#calendar div.header{
    line-height:40px;  
    vertical-align:middle;
    position:absolute;
    left:14px;
    top:9px;
    width:97%;
    height:40px;   
    text-align:center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    position:absolute;
    top:0px;   
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
}
 
div#calendar div.header span.title{
    color:hsl(41, 33%, 64%);
    font-size:26px;
	  font-weight: 600;
  text-transform: uppercase;
}
 
 
div#calendar div.header a.prev{
    left:0px;
}
 
div#calendar div.header a.next{
    right:0px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid #787878 ;
    border-top:none;
}
 
 
 
div#calendar ul.label{
    float:left;
    margin: 0px;
    padding: 0px;
}
 
div#calendar ul.label li{
    margin:0px;
    padding:0 0 0 17px;
    float:none;
    list-style-type:none;
    width:14.28%;
    height:86px;
    line-height:40px;
    vertical-align:middle;
    text-align:left;
    color:hsl(232, 34%, 22%);
    font-size: 15px;
    background-color: transparent;
	  display: table-cell;
	    font-weight: 600;
		text-transform: uppercase;
}
 
 
div#calendar ul.dates{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-left: 5px;
    margin-bottom: 5px;
}
 
/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0 0 0 17px;
    line-height:80px;
    vertical-align:middle;
    float:left;
    list-style-type:none;
    width:100%;
    height:86px;
    font-size:23px;
    background-color: hsl(42, 42%, 88%);
    color:hsl(0, 0%, 45%);
    text-align:left; 
	transition:all 0.3s ease 0s;
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
}     


.selected-date li {
  background: hsl(231, 34%, 22%) none repeat scroll 0 0 !important;
  color: hsl(0, 0%, 100%) !important;
}

/*custom calender*/

.custom-calendar .prev,.next {
  color: hsl(41, 33%, 64%) !important;
  font-size: 26px;
  font-weight: 600;
}

.box-content {
  background: hsl(44, 35%, 94%) none repeat scroll 0 0;
  border: unset !important;
  padding: 0 42px 42px;
}

.custom-calendar ul.dates {
  margin: 0 auto !important;
  text-align: center;
  width: 100%;
}

.custom-calendar .dates > a {
  float: left;
  padding: 2px;
  width: 14.28%;
}

.custom-calendar  ul.label {
  display: table;
  width: 100%;
}


@media(max-width:991px)
{
div#calendar div.header {
  left: 3%; width: 93%;
}
}
@media(max-width:991px)
{
div#calendar div.box {
  margin-bottom: 0;
}
}
@media(max-width:767px)
{

}
@media  (max-width: 640px){
.custom-calendar .prev, .next, div#calendar div.header span.title {
  font-size: 19px;
}

div#calendar ul.label li {
  padding: 3px;
  text-align: center;
  height: auto;
}

div#calendar ul.dates li {
  font-size: 21px;
  height: 67px;
  line-height: 63px;
  padding: 0;
  text-align: center;
}

.box-content {
  padding: 0 0px;
}
}

@media  (max-width: 480px) {
div#calendar div.header {
  height: 0;
  left: 4% !important;  
  line-height: 27px;
  width: 91%;
}   

.custom-calendar .prev, .next, div#calendar div.header span.title {
  font-size: 15px;
}

div#calendar ul.label li {
  font-size: 13px;
}

div#calendar ul.dates li {
  font-size: 16px;
  height: 36px;
  line-height: 37px;

}
div#calendar div.box {
  height: 45px;
}
}

/*div#calendar ul.dates li:hover {
  background: hsl(41, 33%, 64%) none repeat scroll 0 0;
  color:#fff;
}*/
/*custom calender*/
- See more at: http://www.startutorial.com/articles/view/how-to-build-a-web-calendar-in-php#sthash.E4fM46Gs.dpuf  
