/*
 * Copyright (C) 2019 Tianjin KYLIN Information Technology Co., Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/&gt;.
 *
 */

@charset "UTF-8";

body, div, table {
    margin: 0;
    padding: 0;
}

body {
    font-size: 12px;
    background: #fff;
    -webkit-user-select: none;
    cursor: default;
    overflow: hidden;
    color: #444;
}

#header {
    width: 100%;
    height: 38px;
    background-image: url("images/header-bg.png");
    background-size: 100% 100%;
/*    border: 2px solid #155670;*/
/*    border-bottom: 0;*/
}

#container {
    position: absolute;
    top: 38px;
    bottom: 0;
    width: 100%;
    overflow: hidden;
/*    background: #f33;*/
/*    border: 2px solid #155670;*/
/*    border-top: 0;*/
}

#left_pane {
/*    width: 75%;*/
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

#right_pane {
/*    width: 110px;*/
/*    height: 300px;*/
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: #eff0f1;
    padding: 5px;
}

#calendar_table {
    padding: 5px;
    width: 100%;
    border-spacing: 0;
}

td {
    position: relative;
    left: 0;
    top: 0;
    border: 1px solid transparent;
    border-top: 1px solid #ddd;
    padding: 2px 12px;
    text-align: center;
/*    width: 44px;*/
}

td:hover {
    border: 1px solid #99b7e3;
}

td:active {
    background: #dae6f9;
}

#weekday_name td {
    border: 0;
}

#weekday_name td:hover {
    border: 0;
}

#weekday_name td:active {
    border: 0;
    background-color: transparent;
}

.day_this_month .solar_part { color: #000; font-size: 18px; }
.day_this_month .lunar_part { color: #aaa; font-size: 11px; }
.day_other_month .solar_part { color: #ccc; font-size: 18px; }
.day_other_month .lunar_part { color: #ccc; font-size: 11px; }
.day_today .solar_part { color: #fff; font-size: 18px; }
.day_today .lunar_part { color: #fff; font-size: 11px; }
.day_today {
    background: #F9C101;
    border: 1px solid #fb0;
}
.day_today:hover { border: 1px solid #fb0; }
.day_today:active { background: #f9c101; }
.day_weekend .solar_part { color: #f5412b; font-size: 18px; }
.day_weekend .lunar_part { color: #ccc; font-size: 11px; }

.day_highlight {
    background: #dae6f9;
    border: 1px solid #99b7e3;
}
.day_highlight .solar_part { color: #000; font-size: 18px; }
.day_highlight .lunar_part { color: #aaa; font-size: 11px; }

#selector_div {
    padding-top: 8px;
    padding-left: 30px;
    padding-right: 30px;
    height: 38px;
}

#holiday_button {
    float: right;
}

.effect_button {
    width: 64px;
    height: 20px;
    text-align: center;
    -webkit-appearance: none;
    color: #eee;
    vertical-align: middle;
    background: #7396cb;
    border: 1px solid #5b7ba3;
    float: left;
}

.effect_button:hover {
    border: 1px solid #5b7bff;
}

.effect_button:active {
    border: 1px solid #2a6f8c;
    background: #3183a4;
}

#selector_div #go_prev_month {
    margin-right: 10px;
    width: 15px;
    background-image: url("images/prev.png");
    background-repeat: no-repeat;
    background-position: center;
}

#selector_div #go_next_month {
    margin-left: 10px;
    width: 15px;
    background-image: url("images/next.png");
    background-repeat: no-repeat;
    background-position: center;
}

#selector_div #today_button {
    margin-left: 30px;
}

.hidden_div {
    display: none;
}

.visible_div {
    display: block;
    position: absolute;
    width: 64px;
    height: 170px;
    z-index: 2;
    background: #fff;
    border: 1px solid #2d7897;
    overflow-y: auto;
    overflow-x: hidden;
}

.no_style_list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.no_style_list li {
    text-align: center;
}

.no_style_list li:hover {
    background: #bee6fd;
}

#general_datetime_list {
    margin: 0;
    padding: 5px 5px 20px 5px;
    list-style-type: none;
    border-bottom: 1px solid #ddd;
}

#general_datetime_list li {
    margin: 0;
    padding: 0;
    text-align: center;
}

#general_datetime_list #day {
    font-size: 64px;
    color: #F9AA01;
}

#hl_table {
    width: 110px;
    height: 110px;
    padding: 5px;
    border: 0;
    text-align: center;
}

#hl_table td {
    padding: 0;
    margin: 0;
    border: 0;
    background: rgba(0, 0, 0, 0);
}

#sep {
    width: 90%;
    color: #ddd;
}

.worktime1 {
/*    display: block;*/
    position: absolute;
    top: 0;
    left: 0;
    font-size: 11px;
    background: #999;
    color: #fff;
}

.worktime2 {
/*    display: block;*/
    position: absolute;
    top: 0;
    left: 0;
    font-size: 11px;
    background: #f43;
    color: #fff;
}
