* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #f30f30;
    text-decoration: none;
    cursor: pointer;
}

a:hover, .menu li a:hover {
    color: #f30f30;
}

._top {
    height: 60px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #333;
    margin-bottom: 10px;
}

.baidu {
    padding: 10px;
    background-color: #fff;
    display: inline-block;
}

.baidu img {
    float: left;
}

.baiduyx {
    float: right;
    width: 110px;
    height: 100%;
    line-height: 46px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    background-color: #4e6ef2;
    border-color: #4e6ef2;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #eff8ff;
    color: #333;
    font-size: 14px;
    margin: 0 auto;
}

.calendar-container {
    flex: 2;
    width: 70%;
    float: left;
}

.calendar-container, .details-container {
    padding: 15px;
    _box-shadow: 0 0 10px rgba(0,0,0,0.1);
    _border-radius: 5px;
    background-color: #ffffff;
    border: #b0d3ee 2px solid;
}
.details-ad{
    flex: 1;
    width: 29%;
    float: right;
    padding: 15px;
    background-color: #ffffff;
    border: #b0d3ee 2px solid;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 5px 20px;
    background:linear-gradient(180deg,#d65627,#fff);
}
.calendar-tops{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-table th {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
    border: 2px solid #ddd;
    font-weight: 600;
    font-size: 16px;
}

.calendar-table td {
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    height: 80px;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.calendar-table td:hover {
    background-color: #f0f0f0;
    border-radius:15px;
}

.clock {
    padding: 20px 20px 0 0;
    float: right;
    width: 265px;
    position: static;
    display: inline-block;
}

.content {
    margin: 0 auto;
    width: 1200px;
    position: relative;
    margin-bottom: 10px;
    border: 2px solid #b0d3ee;
    background-color: #fff;
}

.content_top {
    height: 70px;
}

.detail-info, .ji {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin: 0;
    transition: all 0.3s ease;
    width: 265px;
}

.detail-info:hover, .ji:hover {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    background-color: #f5f5f5;
    position: relative;
    z-index: 1;
    display: block;
    width: 265px;
}

.detail-item {
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
}

.detail-label {
    font-weight: bold;
    color: #666;
    display: inline-block;
    width: 45px;
}

.details-container {
    flex: 1;
    width: 29%;
    float: right;
    margin-bottom: 10px;
}

.details-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.head {
    position: relative;
    zoom: 1;
}

.head::after {
    content: "";
    display: block;
    clear: both;
}

.header {
    background: #fff;
    box-shadow: 0 1px 4px 0 rgba(238,238,238,0.5);
    position: relative;
    z-index: 100;
}

.header.fixed {
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.heads {
    width: 1200px;
    margin: 0 auto;
    border: #b0d3ee 2px solid;
    position: relative;
    display: flex;
    background-color: #fff;
    margin-bottom: 10px;
}

.holiday {
    color: red;
    font-weight: bold;
}

.icon {
    margin-bottom: 10px;
}

.icon_body {
    display: flex;
    margin: 0 auto;
    width: 1200px;
    border-style: solid;
    border-color: #b0d3ee;
    border-width: 0 2px 2px 2px;
    background-color: #ffffff;
    height: 109px;
}

.icon-container {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px;
    min-height: 100px;
}

.icon-container.active-container {
    display: flex;
}

.icon_header {
    width: 1200px;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    border: 2px solid #b0d3ee;
    background-color: #ffffff;
}

.icon-img {
    display: block;
    margin: 0 auto;
}

.icon-item {
    width: 89px;
    height: 89px;
    _background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    border: 2px solid #f0f0f0;
    text-align: center;
}

.icon-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.icon-item a {
    display: grid;
    color: #155788;
}

.icon-item img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.icon-item span {
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    display: inline;
}

.icon-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.icon-name {
    display: block;
    text-align: center;
    margin-top: 5px;
}

.jieqiinfo {
    color: #4CAF50;
    font-weight: bold;
}

.jieriinfo {
    font-weight: bold;
    color: #ff0000;
}

.legal-holiday {
    background-color: #fff9e6;
}

.logo {
    height: 60px;
    float: left;
    display: inline;
    overflow: hidden;
    position: relative;
    z-index: 99;
}

.logo a {
    width: 100%;
    height: 60px;
    display: table-cell;
    vertical-align: middle;
    transition: all ease .3s;
}

.logo a img {
    height: 50px;
    vertical-align: middle;
}

.logo a img:first-child {
    display: none;
}

.logo a img:last-child {
    display: block;
}

.logo.on a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0, rgba(255,255,255,0.5) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0, rgba(255,255,255,0.5) 100%);
    -webkit-transform: skewX(-17deg);
    -moz-transform: skewX(-17deg);
    -o-transform: skewX(-17deg);
    -ms-transform: skewX(-17deg);
    transform: skewX(-17deg);
}

.logo.on a:hover::before {
    -webkit-animation: shine 1s;
    -moz-animation: shine 1s;
    animation: shine 1s;
}

.logout-btn {
    padding: 5px 10px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    float: right;
}

.lunar-day {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    font-weight: 600;
}

.lunar-daytop {
    display: block;
    font-size: 12px;
    color: #ff0000;
    margin-top: 2px;
    font-weight: 600;
}

.main {
    display: inline;
    margin: 0 auto;
}

.menu {
    float: right;
    display: inline;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    height: 60px;
}

.menu li {
    float: left;
    display: inline;
    margin: 0 0 0 30px;
    position: relative;
    border-bottom-color: #F30F30;
}

.menu li a {
    font-size: 16px;
    position: relative;
    display: inline-block;
    color: #990000;
}


.menu li::before {
    content: "";
    width: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    opacity: .1;
    background: #f30f30;
    position: absolute;
    left: 50%;
    bottom: -18px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.menu li:hover::before, .menu li.on::before {
    width: 32px;
    margin-left: -16px;
    opacity: 1;
}

.menu li:hover a, .menu li.on a {
    color: #ff0000;
}

.menu ul {
    zoom: 1;
    padding-right: 15px;
}

.menu ul::after {
    content: "";
    display: block;
    clear: both;
}

.menu ul.nosch {
    padding: 0;
}

.nav-buttons {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.nav-buttons select {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: white;
}

.nav-buttons select:focus {
    outline: none;
}

.nav-buttons button {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: white;
}

.nav-buttons button {
    cursor: pointer;
}

.nav-buttons button:hover {
    background-color: #f0f0f0;
}

.next-month {
    color: #aaa;
    background-color: #fafafa;
}

.next-month.weekend {
    color: #ff7f7f;
    background-color: #fafafa;
}

.nextYear {
    margin-right: 10px;
}

.prev-month {
    color: #aaa;
    background-color: #fafafa;
}

.prev-month.weekend {
    color: #ff7f7f;
    background-color: #fafafa;
}

.rest-day, .work-day, .rest-day-pn, .work-day-pn {
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
}

.rest-day-pn::before {
    background-color: #f0594c;
    content: "休";
    padding: 0 2px;
}

.work-day-pn::before {
    background-color: #716968;
    content: "班";
    padding: 0 2px;
}

.rest-day::before {
    background-color: #f0594c;
    content: "休";
    padding: 0 2px;
}

.work-day::before {
    background-color: #716968;
    content: "班";
    padding: 0 2px;
}

.rili {
    _display: flex;
    max-width: 1200px;
    margin: 0 auto;
    _background-color: white;
    _box-shadow: 0 0 10px rgba(0,0,0,0.1);
    _border-radius: 5px;
    overflow: hidden;
}

.selected-date {
    background-color: #f2f2f2 !important;
    _box-sizing: border-box;
    border-radius:15px;
    _border: 1px solid #ff0000;
}

.solar-day {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.solar-term {
    display: block;
    font-size: 12px;
    color: #4CAF50;
    font-weight: bold;
    margin-top: 2px;
}

.solar-term-detail {
    color: #4CAF50;
    font-weight: bold;
}

.sortable-chosen {
    transform: scale(1.02);
}

.sortable-drag {
    opacity: 0.8;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.sortable-ghost {
    opacity: 0.5;
    background: #c8ebfb;
}

.status-message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.tab-btn {
    width: 25%;
    height: 50px;
    border: 1px solid #ffffff;
    background-color: #2cabef;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.tab-btn.active {
    width: 25%;
    height: 50px;
    border: 1px solid #ffffff;
    background-color: #990000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.tab-container {
    display: flex;
}

.today, .today.selected-date {
    background: linear-gradient(180deg,#ff5e50,#ff9793);
    color: #ffffff;
    border-radius: 15px;
}

.today-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 6px 12px;
}

.today-btn:hover {
    background-color: #45a049;
}

.top {
    border-bottom: 2px solid #b0d3ee;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    height: 60px;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.top_left {
    float: left;
}

.top_right {
    float: right;
}

.trbody {
    height: 30px;
}

.trhead {
    height: 20px;
}

.weekend {
    color: red;
}

.weather {
    position: relative;
    display: flex;
    align-items: center;
}

.weather_con {
    margin-right: 20px;
    display: inline-block;
    height: 95px;
}

.weather_left {
    position: relative;
    _width: 150px;
    float: left;
    display: inline-block;
    padding: 5px 20px 0;
}

.work-weekend {
    background-color: #fff0f0;
}

.wrap {
    margin: 0 auto;
    zoom: 1;
}

.wrapcontent{
    width: 1200px;
    margin: 0 auto;
}
.wrap::after {
    content: "";
    display: block;
    clear: both;
}

.yearline {
    width: 99.99%;
    display: flex;
}

.yearlinel {
    background: linear-gradient(270deg,#af0c23,#af0c2375);
    border: 1px solid #af0c2375;
    min-height: 10px;
}

.yearliner {
    background: linear-gradient(90deg,#197f1d,#197f1d75);
    border: 1px solid #197f1d75;
    min-height: 10px;
}

#icon-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px;
    min-height: 100px;
    height: 109px;
}

#kw {
    position: relative;
    left: 0;
    top: 0;
    width: 940px;
    box-sizing: border-box;
    line-height: 20px;
    font-size: 16px;
    padding: 9px 4px 9px 10px;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    border: 2px solid #4e6ef2;
    outline: none;
    height: 52px;
    float: left;
}

#month-select, #year-select {
    margin: 0;
}

#tb1_name, #tb2_name, #tb3_name, #tb4_name {
    line-height: 16px;
    width: 300px;
    border: 1px solid #eee;
}