@charset "utf-8";
/* CSS Document */

/* Clear possible bootstrap box-sizing conflict */
.ds_calc * {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
}

.calendar_overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    color: #000000;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

#calendar_contain {
    position: relative;
    background:white;
    padding:0 15px 15px 15px;
}
#calendarinner{
    min-height: 150px;
}
.calendar_controls{
    background:#00446b;
    padding:10px;
    color:white;
    margin:0 -15px 15px -15px;
    text-align: center;
}
#cal_next, #cal_prev{
    color:white;
}
#cal_prev{
    float:left;
}
#cal_next{
    float:right;
}
#cal_heading{
    font-weight: bold;
}

.ds_calc {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    position: relative;
    table-layout: fixed;
    font-size: 12px;
    height: 550px;
    line-height: normal;
}

.ds_calc th {
    vertical-align: top;
    padding: 3px;
    text-align: center;
    background: #CEE2EA;
    color: #000;
    height: 15px;
    border:solid 1px #c1c2c4;
}

.ds_calc td {
    margin: 10px;
    vertical-align: top;
    padding: 3px;
    width: 14%;
    white-space: nowrap;
    border:solid 1px #c1c2c4;
}

.ds_calc td.cal_active, .ds_calc td.cal_empty {
    background: #fff;
}

.ds_calc td.cal_null {
    background: #EBEBEB;
}

.cal_wrap {
    position: relative;
}

.cal_contain {
    overflow: hidden;
}

.cal_active .cal_contain.hover, .cal_empty .cal_contain.hover {
    overflow: visible;
    position: absolute;
    top: -3px;
    left: -3px;
    padding: 3px 3px 9px 3px;
    z-index: 99;
    height: auto;
    width: 100%;
    background: #CEE2EA;
    color: #000;
    border-radius: 4px;
    box-shadow: 0px 0px 5px 0px #000;
}

.cal_lbl {
    display: block;
    font-weight: bold;
    padding: 2px;
}

.ds_calc td .event_wrap {
    display: block;
    overflow: visible;
    white-space: nowrap;
    position: relative;
}

.event_wrap a {
    text-decoration: none;
    display: inline-block;
    min-width: 97%;
    background: #333;
    color: #FFF;
    margin-bottom: 2px;
    padding: 2px;
    border-radius: 2px;
}

.event_wrap:hover a {
    overflow: visible;
}

.event_wrap a:focus {
    outline: none;
}

.c_selected {
    border: dashed 1px #fff;
    box-shadow: 0 0 8px 0px #fff;
    opacity: .6;
}

.dialog_content {
    display: none;
}

.cal_lbl_res {
    display: none;
    font-weight: bold;
    padding: 2px;
}

.cal_list .cal_lbl {
    display: none;
}

.cal_list .cal_lbl_res {
    display: block;
}

.cal_list td {
    display: block;
    width: 100%;
    height: auto;
}

.cal_list td .event_wrap {
    overflow: visible;
    white-space: normal;
}

.cal_list .cal_contain {
    height: auto;
    overflow: visible;
    position: relative;
}

.cal_list .cal_active .cal_contain.hover {
    position: relative;
    min-height: inherit;
    top: auto;
    left: auto;
    padding: 0px;
    box-shadow: none;
}

.cal_list th {
    display: none;
}

.cal_list td.cal_empty, .cal_list td.cal_null {
    display: none;
}

@media screen and (max-width: 500px) {
    .ds_calc * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    .ds_calc {
        height: auto;
    }

    .ds_calc td {
        display: block;
        width: 100%;
        height: auto;
        margin: 5px 0px;
    }

    .ds_calc td .event_wrap {
        overflow: visible;
        white-space: normal;
    }

    .ds_calc td .event_wrap a {
        padding: 10px;
    }

    .ds_calc .cal_contain {
        height: auto;
        overflow: visible;
        position: relative;
    }

    .ds_calc .cal_active .cal_contain.hover {
        position: relative;
        min-height: inherit;
        top: auto;
        left: auto;
        padding: 0px;
        box-shadow: none;
    }

    .ds_calc th {
        display: none;
    }

    .ds_calc td.cal_empty, .ds_calc td.cal_null {
        display: none;
    }

    .cal_lbl {
        display: none;
    }

    .cal_lbl_res {
        display: block;
    }
}