

@media (min-width:961px){
  .calendar-inner{
    width:300px;
  }
  #main_content{
    width: calc(100% - 346px);
  }
  
  #sidebar-nav{
    width: 300px;
  }
}

.sc-calendar {
  width: 500px;
  height: 500px;
  /* min-width: 300px; */
  text-align: center;
  font-family: "Microsoft Yahei";
  color: #4A4A4A;
  box-shadow: 2px 4px 5px #bdbdbd;
  border-width: 1px 0 0 1px;
  border-color: #E6E4E0;
  border-style: solid;
  float: left;
  margin-right: 20px;
  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  user-select: none;
  -webkit-text-size-adjust: none;
  font-size: 10px;
  border-radius: 30px;
  padding: 4px 16px 16px 16px;
  background-color: #ffffff;  
}
#main_content {min-height: 100px;}
#page h5 time::before { display:none}
.sc-header {
  height: 35px;
  border-bottom: 0;
  padding: 6px 0;
  display: flex;
  align-items: center;
}

.sc-body {
  /* height: 93%; */
  height: calc(100% - 58px);
  clear: both;
  /* box-shadow: 2px 4px 5px #bdbdbd; */
}

@media (min-width: 681px) and (max-width: 960px) {
  .sc-body {
    height: calc(100% - 78px);
  }
}

.sc-week {
  /* color: #4A4A4A; */
  color: #fff;
  /* margin-right: -8px; */
  display: flex;
  width: 100%;margin-bottom: 4px;
}

.sc-days {
  height: 88%;
  width: 100%;
}

.sc-item {
  position: relative;
  height: 20%;
  /* height: calc(20%); */
  float: left;
  font-weight: 600;
  color: #565555;
  width: calc(100% / 7);
  border-color: #fff;
  border-style: solid;
  box-sizing: border-box;
}

.sc-item a {
  color: #565555;
}

/* .item-nolunar {
  padding-top: 12px;
} */

.sc-item:nth-child(7n) .day,
.sc-item:nth-child(7n+1) .day {
  color: rgba(224, 8, 8, 0.74);
}

.sc-vocation {
  background-color: #FFEBEC;
}

/* .sc-mark {
  background-color: #FF005B;
  color: #FFFFFF;
} */

.sc-mark a {
  background: #FF005B;
  display: inline-block;
  /* border-radius: 50%; */
  border-radius: 5px;
  color: #fff;
  /* transform: translateY(-2px); */
  width: 92%;
  height: auto;
  width: 100%;
  height: 100%;
}

.sc-vocation:before {
  content: '休';
  display: block;
  position: absolute;
  font-size: 0.7em;
  width: 1.2em;
  font-weight: 100;
  color: white;
  background-color: #E00808;
  margin-top: -10px;
}

.sc-othermenth {
  color: #C1C0C0 !important;
  visibility: hidden;
}

.sc-othermenth .day,
.sc-othermenth .lunar-day {
  color: #C1C0C0 !important;
}

.sc-active-day,
.sc-selected {
  border-color: orange;
  z-index: 1;    border-radius: 8px;
}

/* .sc-today {
  background-color: orange;
  color: white;
  border: 1px solid orange;
} */

.sc-today a {
  /* background: orange !important; */
  /* background:none !important; */
  display: inline-block;
  /* border-radius: 50%; */
  border-radius: 5px;width: 100%;
  height: 100%;
}



.sc-url-active a {
  background: #086cc2;
  display: inline-block;
  /* border-radius: 50%; */
  border-radius: 5px;   width: 100%;
  height: 100%;
}

.sc-item .day {
  font-size: 1.4em;
  font-weight: 400;
}

.sc-today .day {
  /* color: white !important; */
  color:rgb(86, 85, 85) !important;
}

.sc-url-active .day {
  color: white !important;
}

.sc-item .lunar-day {
  font-size: 10px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

.sc-festival .lunar-day {
  color: #E00808;
}

/*.sc-item:last-child, .sc-item:nth-child(7n) {
  border-width: 0 1px 1px 1px;
}*/

.sc-week-item {
  padding: 2% 0;
  float: left;
  width: 14.285%;
  margin-left: -1px;
  border: 0;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  /* border-bottom: 2px solid rgb(0, 0, 0, 0.6) !important; */
  font-size: 16px;
  /* background: rgb(67, 69, 153, 0.56); */
 color: #666;
  border-bottom: 1px inset rgb(0, 0, 0, 0.2);
}

/* .sc-week-item:nth-child(1) {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.sc-week-item:nth-child(7) {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
} */

.sc-item-small {
  font-size: 14px !important;
  font-weight: 600;
}

.sc-week-item:last-child {
  border-width: 1px 1px 1px 1px;
}

.sc-week-item:nth-child(7n),
.sc-week-item:nth-child(7n+1) {
  color: rgba(224, 8, 8, 0.74) !important;
}

.sc-actions {
  float: left;
  width: 25%;
  height: 100%;
  box-sizing: border-box;
}

.sc-actions:last-child {
  float: right;
}

.sc-actions-big {
  width: 50%;
}

@media screen and (max-width : 500px) {
  .sc-actions {
    width: 50%;
  }
}

.sc-header select {
  border-color: rgba(0, 0, 0, 0);
  padding: 0.2em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: "Microsoft Yahei";
  color: #606060;
  font-size: 13px;
  height: unset;
  background-image: none;
  text-align: left;
  font-weight: 600;
  float: left;
  color: #16439c;
}

.sc-header input {
  border-color: rgba(0, 0, 0, 0);
  padding: 0.2em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: "Microsoft Yahei";
  color: #606060;
}

.sc-actions div {
  display: inline-block;
  /*border: 1px solid #ccc;*/
  vertical-align: bottom;
  width: 20px;
  padding-bottom: 5px;
  font-size: 1.5em;
  line-height: 0.9em;
  cursor: pointer;
  display: none;
}

.sc-return-today {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F5F9;
  border-radius: 2px;
  border: 0;
  width: 60px;
  font-size: 1.2em;
  height: 100%;
  cursor: pointer;
  float: right;
  color: #7c2427;
}

.sc-return-today:hover{
  background-color: #7c2427;
  color: #F5F5F9;
}

.sc-time {
  display: block;
  margin-top: 3px;
  font-size: 0.8em;
}

div.sc-actions:nth-child(1) {
  width: 24% !important;
}


.sc-actions:nth-child(4) {
  display: none;
}

.calendar-inner {
  width: 100%;
  height: auto;
  /* background-color: white; */
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
 
}


.hk_class {
  position: relative;
}

.hk_class:hover .editing a{
  display: block;
}


.homework_table {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #0d398f54 !important;
  width: 100%;
  border-collapse: collapse;
}

.homework_table tr:nth-child(odd) td, .homework_table th {
  background: #fff !important;
}

.homework_table thead tr th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.homework_table thead tr th:nth-child(1) {
  text-align: left;
}

.homework_table thead tr th:nth-child(2) {
  text-align: right;
}

.homework_table tr td:nth-child(2) {
  text-align: right;
}

.homework_table th, .homework_table td {
  border: 0;
  padding: 8px;
  text-align: left;
  width: 50%;
  max-width: 50%;
  overflow-wrap: break-word;
  white-space: normal;
}

.homework_table td{
  word-wrap:break-word;word-break:break-all;
}






.hk_class {
margin: 0px 0 30px 0
}

.hk_class ul {
padding: 0px;
list-style: none;
float: none;
clear: both;
margin: 0;
}

.hk_class ul li {
float: left;
margin: 0 10px 10px 0px;
}

.hk_class ul li a{
  position: relative;
  width: 186px;
  height: 50px;
  color: #BC8355;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 18px;
  background-color: #fff;
  cursor: pointer;
  display: block;
}

.hk_class ul li a::before{
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 186px;
  height: 50px;
  border: 1px solid #2E2E2E;
  z-index: 9;
}

.hk_class_body{
  display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
}

.ptg{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hwpt{
  display: flex;
}

.hwpt img{
  width: 100% !important;
}

.hk_class ul li a:hover {
  color: #fff !important;
  /* filter: hue-rotate(180deg) brightness(70%) saturate(150%); */
  background: #7F8AD5 !important;
}

.sc-mark a .day {
  color: #fff !important;
}












    .modal {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .modal.modal-show {
        animation: fadeIn 0.1s ease-in-out forwards;
    }

    .modal.modal-hide {
        animation: fadeOut 0.1s ease-in-out 0.1s forwards;
    }

    .modal-content {
        position: relative;
        background-color: #fff;
        margin: 2rem;
        padding: 2rem;
        border-radius: 0.25rem;
        width: 50%;
        max-height: 75%;
        overflow: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .modal.modal-show .modal-content {
        animation: fadeInDown 0.3s ease-in-out forwards;
    }

    .modal.modal-hide .modal-content {
        animation: fadeOutUp 0.2s ease-in-out forwards;
    }

    .modal-content h1 {
        text-align: center;
        margin-bottom: 2rem;
    }

    .modal-content p {
        margin: 1rem 0;
        line-height: 1.5rem;
    }

    .modal-close {
        position: absolute;
        top: 10px;
        right: 0;
        font-size: 1.75rem;
        font-weight: bold;
        padding: 0 0.75rem;
        color: rgba(0, 0, 0, 0.2);
        cursor: pointer;
        user-select: none;
    }

    .modal-close:hover,
    .modal-close:focus {
        color: rgba(0, 0, 0, 0.5);
    }



    @keyframes fadeIn {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes fadeOut {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    @keyframes fadeInDown {
        0% {
            opacity: 0;
            transform: translateY(-3rem);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeOutUp {
        0% {
            opacity: 1;
            transform: translateY(0);
        }

        100% {
            opacity: 0;
            transform: translateY(-3rem);
        }
    }

    @media(max-width: 992px) {
        html {
            font-size: 14px;
        }

        .modal-content {
            width: 80%;
        }
    }

    @media(max-width:767px) {
        html {
            font-size: 12px;
        }

        .modal-content {
            padding: 2rem 1rem 1rem 1rem;
            width: 90%;
        }

        .modal-content h1 {
            margin-bottom: 1.5rem;
        }
    }
	
	
.hk_class ul li a {
    position: relative;
    width: 186px;
    height: 50px;
    color: #BC8355;
    padding: 18px 32px;
    font-weight: 500;
    font-size: 18px;
    background-color: #fff;
    cursor: pointer;
    display: block;
}
.hk_class ul li a::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 186px;
    height: 50px;
    border: 1px solid #2E2E2E;
    z-index: 9;
}.hk_class_body {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}.hk_class ul li a:hover {
    color: #fff !important;
    /* filter: hue-rotate(180deg) brightness(70%) saturate(150%); */
    background: #7F8AD5 !important;
}.hk_class ul {
    padding: 0px;
    list-style: none;
    float: none;
    clear: both;
    margin: 0;
}.hk_class ul li {
    float: left;
    margin: 0 10px 10px 0px;
}