.popup_calendar {
    display:none;
    position:absolute;
    left:0;
    top:40px;
    z-index:20;    
    background:#fff;
    border:1px solid #E3E3E3;
    width:253px;
    text-align:left;
    padding:15px 20px;
    box-shadow:0px 1px 5px #B8B8B8; 
    border-radius:4px;    
}

.popup_calendar h3 {
    color:#004580;
    font-size:150%;
}

.popup_calendar .month {
    line-height:22px;
    text-align:center;
    color:#004580;
    font-size:150%;
    text-align:center;
    margin-bottom:10px;
}

.popup_calendar .arrow_left,
.popup_calendar .arrow_right {
    width:22px;
    height:22px;
    position:absolute;
    top:16px;
}

.popup_calendar .arrow_left {
    background:url('/img/arrow_calendar_left.png') 0 0 no-repeat;
    left:21px;
}

.popup_calendar .arrow_right {
    background:url('/img/arrow_calendar_right.png') 100% 0 no-repeat;
    right:21px;
}

.popup_calendar table {
    border-collapse:collapse;
    border:none;
    width:100%;
    color:#656464;
    text-align:center;
    border-top:0;
}
   
.popup_calendar table tr th,
.popup_calendar table tr td {
    font-size:97.5%;
    width:27px;
    padding:0;
    border-bottom:0;
    border-top:0;
    text-align:center;
    border-right:1px solid #DFE8F0;
}

.popup_calendar table tr th {
    color:#374653;
    font-weight:bold;
}

.popup_calendar table tr td {
    color:#63717D;
    padding-bottom:3px;
    *padding-bottom:0;
}

.popup_calendar table tr th:last-child,
.popup_calendar table tr td.weekend + td.weekend {
    border-right:1px solid #fff;
}

.popup_calendar table tr td a {
    color:#D52932;
    display:block;
    padding:3px 0 !important;
    *padding:1px 0 !important;
    text-decoration: none;
}

.popup_calendar table tr td.noactive {
    color:#ACB7C1;
}

.popup_calendar table tr td a:link, 
.popup_calendar table tr td a:visited {
    color:#D52932;
}

.popup_calendar table tr td.active a,
.popup_calendar table tr td a:hover {
    color:#FFF;
    display:inline-block;
    *display:inline;
    *zoom:1;
    width:27px;   
    border-radius:3px;
    box-shadow:inset 0 0 5px #02529B;
    background:#1871BB;
}

.popup_calendar table tr td.active a,
.popup_calendar table tr td a:hover {
    color:#FFF;
    display:inline-block;
    *display:inline;
    *zoom:1;
    width:27px;   
    border-radius:5px;
    box-shadow:inset 0 0 5px #02529B;
    background:#1871BB;
}