
#calendar {
    margin-top: 25px;
}

#calendar .ui-datepicker-multi-3 .ui-datepicker-group {
    width: auto;
}

#calendar .ui-widget-content {
    background: transparent;
    border: 0
}
#calendar .ui-datepicker-header {
    border-color: #111111;
    border-style: solid;
    border-width: 0;
    box-shadow: none;
    font-weight: normal;
    line-height: 29px;
    text-shadow: 1px -1px 0 #EFEFEF;
    text-shadow: none !important;
    background: none;
    color: #333;
    font-size: 12px;
}

#calendar .ui-datepicker thead {
    background: transparent;
    border-bottom: 0;

}

#calendar .ui-datepicker th {
    color: #5C5C60;
    font-size: 8pt;
    padding: 8px 0 13px;
    /*    text-shadow: 1px 0 0 #FFFFFF;*/
    text-transform: none;
}

#calendar .ui-datepicker tbody tr,
#calendar .ui-datepicker tbody td {
    border-color: #fff
}

#calendar .ui-datepicker td span, #calendar .ui-datepicker td a {
    font-size: 11px;
    font-weight: normal;
    height: 20px;
    line-height: 17px;
    text-align: center;
    width: 29px;
    cursor: default;
}

#calendar .ui-datepicker td a:hover {
    text-decoration: none
}

#calendar .ui-datepicker-calendar td:first-child .ui-state-active {
    margin-left: 0;
}

#calendar .ui-datepicker-calendar td:last-child .ui-state-active {
    margin-right: 0;
}

.cal_border {
    padding-bottom: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 0;
    width: 674px;
}

#claendar_css {
    /*margin-top: 10px;*/
    text-align: center;
}

#claendar_css .too_many span {
    display: block;
    margin: 5px 0 -1px;
    padding: 5px 0 0;
    text-align: center
}

#calendar .ui-datepicker {
    width: 53em !important;
    box-shadow: none;
    position: relative;
    margin: 0
}

#calendar .ui-datepicker-group {
    float: left;
    margin-left: 11px;
    /*width: 243px*/
    min-height: 200px;
}

#calendar .ui-datepicker-group:nth-child(3n+1){
    margin-left: 0
}

#calendar .ui-datepicker-calendar .ui-state-active {
    margin: 0;
    text-shadow: none
}

#calendar .ui-state-disabled {
    background-image: none;
    opacity: 0.35;
}

#calendar .ui-state-default {
    background: none repeat scroll 0 0 #D1E7D1 !important;
    border: medium none !important;
    color: green !important;
}

#calendar .zauzeto a,
#calendar .trenutno a,
#calendar .ui-datepicker-calendar .ui-state-active {
    text-shadow: none !important;
    box-shadow: none
}

#calendar .zauzeto a {
    background-color: #F1AAAA !important;
    color: red !important;
    border-color: #FFF !important
}

#calendar .trenutno a {
    background-color: #FED19A !important;
    color: green !important;
}

#calendar .zauzeto.trenutno a {
    color: #FFF !important;
    background-color: #FF2121 !important;
    text-shadow: none !important;
}

#calendar .zauzeto_dolazak a,
#calendar .zauzeto_odlazak a,
#calendar .trenutno_dolazak a,
#calendar .trenutno_odlazak a {
    background: url(../img/calendar/bg_availability.jpg) no-repeat 0 0 transparent !important;
}

#calendar .trenutno_dolazak a {
    background-position: 0 -177px !important;
    color: #489a40 !important;
}

#calendar .trenutno_odlazak a {
    background-position: 0 -199px !important;
    color: #489a40 !important;
}

#calendar .zauzeto_dolazak a {
    background-position: 0 -3px !important;
    color: green !important;
}

#calendar .zauzeto_odlazak a {
    background-position: 0 -155px !important;
    color: green !important;
}

#calendar .zauzeto_dolazak.trenutno_odlazak a {
    background-position: 0 -135px !important;
    color: green !important;
}

#calendar .zauzeto_odlazak.trenutno_dolazak a {
    background-position: 0 -68px !important;
    color: green !important;
}

#calendar .zauzeto_dolazak.trenutno_dolazak a {
    background-position: 0 -90px !important;
    color: green !important;
}

#calendar .zauzeto_dolazak.trenutno a {
    background-position: 0 -90px !important;
    color: green !important;
}

#calendar .zauzeto_odlazak.trenutno_odlazak a {
    background-position: 0 -112px !important;
    color: green !important;
}

#calendar .zauzeto_odlazak.trenutno a {
    background-position: 0 -112px !important;
}

#calendar .zauzeto.trenutno_odlazak a {
    background-position: 0 -47px !important;
    /*color: #fff !important;*/
}

#calendar .zauzeto.trenutno_dolazak a {
    background-position: 0 -25px !important;
    /*color: #fff !important;*/
}

.cal_legend {
    color: #3F3F3F;
    font-size: 11px;
    margin-top: 13px;
    padding: 8px 4px;
    text-align: center;
}

.cal_legend li {
    display: inline-block;
    margin-right: 10px;
}

.cal_legend span {
    margin: 0;
    padding: 2px 5px 1px 4px;
}

.cal_legend .f {
    background-color: #D1E7D1;
    color: green;
}

.cal_legend .t {
    background-color: #F1AAAA;
    color: red;
}

.cal_legend .s {
    background-color: #FED19A;
    color: green;
}

.cal_legend .m {
    background-color: #FF0000;
    color: #FFFFFF;
}

.cal_legend #instructions {
    margin-top: 10px;
    margin-bottom: 3px
}

#calendar .ui-datepicker-next {
    background-position: center -3px;
    float: right;
}

#calendar .ui-datepicker-prev, #calendar .ui-datepicker-next {
    background-image: url("../img/calendar/arrow_cal.png");
    height: 15px;
    margin-top: 7px;
    width: 15px
}

#calendar .ui-datepicker-prev {
    background-position: center -21px;
    float: left;
}