/* CALENDAR OBJECT */
[cal_frame] {
    _font-family: Arial, Helvetica, ans-serif;
    box-shadow: 1px 1px 7px rgba(0, 0, 0, .3);
    z-index: 1;
    background: #f3f7f8;
    background: #fbfbfb;
    position: absolute;
    border: 1px solid #aaa;
    padding: 3px
}

[cal_frame] thead td {
    line-height: 1.2em;
    font-size: .9em !important;
    text-align: center;
}

[cal_days] {
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 1em;
    padding: 1px;
    min-width: 14.2em;
}

[cal_day],
[cal_dout] {
    background: #ffb;
    text-align: center;
    border: 1px solid #ddd;
    height: 2em;
    width: 2em;
    line-height: 1.5em !important;
    cursor: default;
}

[cal_day]:hover {
    background: #FFF;
}

[cal_day]:active {
    color: red;
    background: #aaa
}

[cal_dout] {
    color: #ddd;
    font-size: .9em
}

[cal_today] {
    _color: blue !important;
    font-wight: bold;
    background: lightgreen;


}

[cal_today]:hover {

    background: rgba(250, 205, 100, .8);


}

[ctrl_tb_wrapper] {
    width: 100%;
    display: table;
    _table-layout: fixed;
}

[cal_left_col],
[cal_right_col] {
    vertical-align: middle;
    display: table-cell;

}

[cal_right_col] {
    padding: 0 3px 1px 0;
}

[cal_left_col] {
    padding: 0 .3em 0 0;
}

[cal_frame] [today],
[cal_frame] [clock],
[cal_frame] [back],
[cal_frame] [next],
[next_btn],
[prev_btn] {
    display: inline-block;
    cursor: pointer;
    font-family: 'Bac';
    ;
    margin: 0em .3em;
    border: 1px solid #ccc;
    padding: .1em .3em;
}

[cal_frame] [today]:active,
[cal_frame] [clock]:active,
[cal_frame] [back]:active,
[cal_frame] [next]:active,
[prev_btn]:active,
[next_btn]:active {
    color: red;
    border: 1px solid red;
}

[cal_frame] [today]:before {
    content: "\e080";
}

[cal_frame] [clock]:before {
    content: "\e255";
    font-family: mtso;
    -webkit-font-smoothing: antialiased;
    vertical-align: bottom;
    font-weight: 300;
}

[cal_frame] [clock] {
    /* position: absolute; */
    display: inline-block;
    font-size: 1.25em;
    padding: 0;
    margin-bottom: 2px;
}

[clock_wrapper] {
    display: none;
}

[type=datetime] [clock_wrapper] {
    display: initial;
}


[cal_frame] [back],
[cal_frame] [next] {
    display: inline-block;
    margin: 0em .3em;
    vertical-align: top;
    height: 1.7em;
    width: 1.7em;
    text-align: center;
    user-select: none;
}

[cal_frame] [back]:before,
[prev_btn]:before,
[cal_frame] [next]:before,
[next_btn]:before {
    content: "\25B6";
    /* padding: 0 .1em 0 .1em; */
    display: block;
    transform: translateY(.6em);
    line-height: 0;
}

[cal_frame] [back],
[prev_btn] {
    transform: rotateY(180deg);
    /* color:red; */
}





[cal_frame] [month],
[cal_frame] [year] {
    display: inline-block;
    margin-left: .5em;
    border: 1px solid #ccc;
    padding: 0 .5em 0 .5em;
    font-family: monospace;
    font-weight: bold;
    font-size: 1.2em;
    /* line-height: 2em; */
    vertical-align: top;
}

[cal_frame] thead {
    _background: gray;
    _color: white;
    font-family: monospace
}


[cal_frame] [draggable] {
    height: 20px;
    transform: translateY(-10px);
    position: relative;
    border: 1px solid #ccc;
    border-radius: .2em;
    cursor: move;
    background: rgba(200, 200, 200, .7);
    width: 100%;
}


[cal_ico] {
    width: 17px;
    height: 16px;
    margin-left: -10px;
    margin-bottom: 5px;
    cursor: pointer;

}

[cal_ico]:hover {
    box-shadow: 0px 1px 3px black
}

[cal_ico]:active {
    transform: scale(1.2)
}