/*
 * Copyright (c) 2012-2013 Thibaut Courouble
 * http://www.cssflow.com
 *
 * Licensed under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */

/* calendar style here */
.picker-container {
  position: absolute;
  z-index: 99;
}


.cal {
  background-color: white;
  display: block;
  width: 293px;
  -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  border-collapse: collapse;
  border-spacing: 0;
  margin:25px auto 0;
}

.cal a {
  text-decoration: none;
}

.cal tr, .cal th, .cal td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

.cal caption {
  line-height: 32px;
  font-weight: bold;
  color: #e2e2e2;
  text-align: center;
  text-shadow: 0 -1px black;
  background: #333;
  //background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid #333;
  border-bottom: 1px solid #313131;
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  caption-side: top;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.cal caption a {
  display: block;
  line-height: 32px;
  padding: 0 10px;
  font-size: 15px;
  color: #e2e2e2;
}
.cal caption a:hover {
  color: white;
}
.cal caption .prev {
  float: left;
}
.cal caption .next {
  float: right;
}
.cal th, .cal td {
  width: 30px;
  text-align: center;
  text-shadow: 0 1px rgba(255, 255, 255, 0.8);
}
.cal th:first-child, .cal td:first-child {
  border-left: 0;
}
.cal th {
  line-height: 25px;
  font-size: 10px;
  color: #696969;
  text-transform: uppercase;
  background: #f3f3f3;
  border-left: 1px solid #f3f3f3;
}
.cal td {
  font-size: 12px;
  font-weight: bold;
  border-top: 1px solid #c2c2c2;
  border-left: 1px solid #c2c2c2;
}
.cal td a {
  clear: both;
  display: block;
  position: relative;
  width: 41px;
  line-height: 38px;
  color: #666;
  -webkit-box-shadow: inset 1px 1px rgba(255, 255, 255, 0.5);
  box-shadow: inset 1px 1px rgba(255, 255, 255, 0.5);
}
.cal td a:hover, .cal td.off a {
  background: #f3f3f3;
}
.cal td.off a {
  color: #b3b3b3;
}
.cal td.active a, .cal td a:active {
  margin: -1px;
  color: #f3f3f3;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  background: #f3a664;
  border: 1px solid #f2bb8d;
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}
.cal td.active:first-child a, .cal td:first-child a:active {
  border-left: 0;
  margin-left: 0;
}
.cal td.active:last-child a, .cal td:last-child a:active {
  border-right: 0;
  margin-right: 0;
}
.cal tr:last-child td.active a, .cal tr:last-child td a:active {
  border-bottom: 0;
  margin-bottom: 0;
}

.event {
    cursor: pointer;
    position: relative;
}
.event:after {
    background-image:url(../images/ev1.png);
    bottom: 5px;
    display: block;
    content: '';
    height: 7px;
    left: 50%;
    margin: -4px 0 0 -4px;
    position: absolute;
    width: 7px;
}
.off.event:after {
    background-image:url(../images/ev2.png);
    bottom: 5px;
    display: block;
    content: '';
    height: 7px;
    left: 50%;
    margin: -4px 0 0 -4px;
    position: absolute;
    width: 7px;
}
.active.event:after {
    background-image:url(../images/ev3.png);
    bottom: 5px;
    display: block;
    content: '';
    height: 7px;
    left: 50%;
    margin: -4px 0 0 -4px;
    position: absolute;
    width: 7px;
}
@media(max-width:1150px){
	.cal{
		width:237px;
	}
	.cal td a{
		width:33px;
	}
}
@media(max-width:950px){
	
	.event:after, .active.event:after {
		bottom: 3px;
	}
	.cal td {
    	font-size: 11px;
	}
}
@media(max-width:780px){
	
	.cal td {
    	font-size: 10px;
	}
}
@media(max-width:767px){
	.cal{
		width:279px;
	}
	.cal td a{
		width:39px;
	}
	
}
