
table {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.cal {
    position: relative;
    font-weight: bold;
    background: #ffffff;
    display: inline-block;
    vertical-align: baseline;
    zoom: 1;
    *display: inline;
    *vertical-align: auto;
    width: 60%;
    border: 1px solid #b9b9b9;

}



.cal a {
    text-decoration: none;
}

.cal tr:first-child td {
    border-top: 0;
}

.cal td:first-child {
    /*border-left: 0;*/
}

.cal tr:first-child a {
    border-top: 0;
    margin-top: 0;
}

.cal tr:last-child a {
    border-bottom: 0;
    margin-bottom: 0;
}

.cal td:first-child a {
    border-left: 0;
    margin-left: 0;
}

.cal td:last-child a {
    border-right: 0;
    margin-right: 0;
}



.cal-table {
    position: relative;
    margin: 0 0 1px;
    border-collapse: separate;
    width: 100%;

}

.cal-caption {
    width: 100%;
    padding-bottom: 1px;
    line-height: 32px;
    color: white;
    text-align: center;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
    background: #C0C0C0;
}

.cal-caption a {
    line-height: 30px;
    /*padding: 0 10px;*/
    padding: 0 20px;
    font-size: 20px;
    font-weight: normal;
    color: white;
}

.cal-caption a:active ,
.cal-caption a:hover {
    background: #aaa;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.cal-caption .prev {
    float: right;
}

.cal-caption .next {
    float: left;
}

.cal-body td {
    width: 30%;
    font-size: 14px;
    /*border-top: 1px solid #eaeaea;*/
    /*border-left: 1px solid #eaeaea;*/
    font-family: Tahoma;
    font-weight: normal;
}

.cal-body a {
    display: block;
    position: relative;
    line-height: 45px;
    color: #ffffff;
    text-align: center;
    background: #89B215;
    margin: 2px;
}

.cal-body a:hover {
    background: #fafafa;
    color: #000;
}

.cal-off a {
    color: #A8A8A8;
    font-weight: normal;
    background: #C0C0C0;
}

.cal-today a {
    color: black;
    background: #737373;
    background-image: -webkit-linear-gradient(top, whitesmoke, white 70%);
    background-image: -moz-linear-gradient(top, whitesmoke, white 70%);
    background-image: -o-linear-gradient(top, whitesmoke, white 70%);
    background-image: linear-gradient(to bottom, whitesmoke, white 70%);
}

.cal-selected a, .cal-body a:active {
    color: #ffffff;
    background: #658870;
}

.cal-check a {
    color: #ffffff;
    background: #FF832C;
    overflow: hidden;
}

.cal-check a:before {
    content: '';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #ffffff;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.lt-ie8 .cal-table {
    *border-collapse: collapse;
}

.lt-ie8 .cal-body a {
    zoom: 1;
}

.days td a {
    background: #ffffff;
    color: #808080;
    font-size: 12px;
}
.days td {

    border: 0;
}