/*
====================================
large Screen - Others
====================================
*/

@media screen and (min-width: 1921px) and (max-width: 3840px) {
   .dashboard-area {
      /* flex: 1 1 75%; */
      width: 75%;
      min-height: 100vh !important;
      /* max-height: 100vh;
      overflow: auto; */
   }

   .notice-area {
      /* flex: 1 1 25%; */
      width: 25%;
      /* padding-left: 90px; */
   }

   .chart-container {
      padding-left: 100px;
      padding-right: 100px;
   }
}

@media screen and (min-width: 1601px) and (max-width: 1920px) {
   .dashboard-area {
      /* flex: 1 1 75%; */
      width: 75%;
      min-height: 100vh !important;
      /* overflow: auto; */
   }

   .notice-area {
      /* flex: 1 1 25%; */
      width: 25%;
   }

   .dashboard-item-inner ul {
      margin-left: -30px;
   }

   .dashboard-item-inner2 {
      padding: 35px 20px 45px;
      display: flex;
      align-items: center;
      justify-content: space-between;
   }

   .dashboard-item-inner2 p {
      max-width: 25%;
   }

   .dashboard-item-inner2 img:nth-of-type(1) {
      display: block;
   }

   .dashboard-item-inner2 img:nth-of-type(2) {
      display: none;
   }

   .normal-screen-tab {
      display: block;
   }

   .small-screen-tab {
      display: none;
   }


   .LessonProper {
      /* top: 249px;
      left: 209px; */
      width: 100%;
      height: calc(100vh - 250px);
      /* box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
   border-radius: 5px; */
      border-radius: 7px;
      /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
      /* background-color: #F9FBFC; */
      opacity: 1;
      text-align: center;
   }

   /* .notice-area {
      padding-left: 90px;
   } */

   .chart-container {
      padding-left: 100px;
      padding-right: 100px;
   }
}

/* @media screen and (min-width: 1526px) and (max-width: 1600px) { */
@media screen and (min-width: 1401px) and (max-width: 1600px) {
   .dashboard-area {
      padding-left: 90px;
      padding-right: 5px;
      /* flex: 1 1 75%; */
      width: 75%;
      min-height: 100vh;
      /* max-height: 100vh;
      overflow: auto; */
   }

   .LessonProper {
      /* top: 249px;
      left: 209px; */
      width: 100%;
      height: calc(100vh - 250px);
      /* box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
   border-radius: 5px; */
      border-radius: 7px;
      /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
      /* background-color: #F9FBFC; */
      opacity: 1;
      text-align: center;
   }

   .dashboard-area-all {
      flex: 0 0 100%;
      padding-left: 90px;
      padding-top: 5px;
      padding-right: 10px;
      border-right: 1px solid #e2e1e6;
      min-height: 100vh;
      width: 100%;
      border: 1px;
      max-height: 100vh;
      overflow: auto;
   }

   .normal-screen-tab {
      display: block;
   }

   .small-screen-tab {
      display: none;
   }

   .dashboard-item-inner ul {
      margin-left: -30px;
   }

   .dashboard-item-inner2 {
      /* padding: 35px 20px 45px; */
      display: flex;
      align-items: center;
      justify-content: space-between;
   }

   .dashboard-item-inner2 img:nth-of-type(1) {
      display: block;
   }

   .dashboard-item-inner2 img:nth-of-type(2) {
      display: none;
   }

   .notice-area {
      /* flex: 1 1 25%; */
      width: 25%;
      /* padding-left: 90px; */
   }

   /* .notice-item-inner4 {
   padding-left: 25px;
   padding-right: 35px;
} */

   /* .notice-item-inner5 {
   padding-left: 25px;
} */

   .chart-container {
      padding-left: 100px;
      padding-right: 100px;
   }
}

/* @media screen and (min-width: 1201px) and (max-width: 1525px) { */
@media screen and (min-width: 1201px) and (max-width: 1400px) {
   .dashboard-area {
      padding-left: 90px;
      padding-right: 5px;
      /* flex: 0 0 calc(100% - 27%); */
      width: 75%;
      /* flex: 1 1 75%; */
      min-height: 100vh !important;
      /* max-height: 100vh;
      overflow: auto; */
   }

   .LessonProper {
      /* top: 249px;
      left: 209px; */
      width: 100%;
      height: calc(100vh - 250px);
      /* box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
   border-radius: 5px; */
      /* border-radius: 7px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
      /* background-color: #F9FBFC; */
      opacity: 1;
      text-align: center;
   }

   .normal-screen-tab {
      display: block;
   }

   .small-screen-tab {
      display: none;
   }

   .dashboard-area-all {
      flex: 0 0 100%;
      padding-left: 90px;
      padding-top: 5px;
      padding-right: 10px;
      border-right: 1px solid #e2e1e6;
      min-height: 100vh;
      width: 100%;
      border: 1px;
      max-height: 100vh;
      overflow: auto;
   }

   .dashboard-item-inner ul {
      margin-left: -30px;
   }

   .dashboard-item-inner2 {
      padding: 35px 20px 45px;
      display: flex;
      align-items: center;
      justify-content: space-between;
   }

   .dashboard-item-inner2 img:nth-of-type(1) {
      display: block;
   }

   .dashboard-item-inner2 img:nth-of-type(2) {
      display: none;
   }

   .notice-area {
      /* flex: 1 1 25%; */
      width: 25%;
      /* padding-left: 90px; */
   }

   /* .notice-item-inner4 {
   padding-left: 25px;
   padding-right: 35px;
}

.notice-item-inner5 {
   padding-left: 25px;
} */

   .chart-container {
      padding-left: 100px;
      padding-right: 100px;
   }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
   .dashboard-area {
      /* flex: 1 1 100%; */
      /* width: 100%; */
      width: 75%;
      padding-left: 90px;
      padding-right: 5px;
      min-height: 100vh !important;
      /* max-height: 100vh;
      overflow: auto; */
   }

   .LessonProper {
      /* top: 249px;
      left: 209px; */
      width: 100%;
      height: calc(100vh - 250px);
      /* box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
   border-radius: 5px; */
      /* border-radius: 7px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
      /* background-color: #F9FBFC; */
      opacity: 1;
      text-align: center;
   }

   .dashboard-area-all {
      flex: 0 0 100%;
      padding-left: 90px;
      padding-top: 5px;
      padding-right: 10px;
      border-right: 1px solid #e2e1e6;
      min-height: 100vh;
      width: 100%;
      border: 1px;
      max-height: 100vh;
      overflow: auto;
   }

   .normal-screen-tab {
      display: none;
   }

   .small-screen-tab {
      display: block;
   }

   .dashboard-item-inner ul {
      margin-left: -30px;
   }

   .dashboard-item-inner2 h2 {
      font-size: 32px;
   }

   .dashboard-item-inner2 p {
      max-width: 25%;
   }

   .dashboard-item-inner2 img:nth-of-type(2) {
      max-width: 230px;
      top: -10px;
      right: 15px;
   }

   .notice-area {
      /* flex: 100%; */
      width: 25%;
      border-left: none;
      /* padding-left: 90px; */
      /* padding-right: 18px; */
   }

   .notice-area-topic {
      display: none;
      flex: 0 0 100%;
      border-left: none;
      /* padding-left: 90px; */
      /* padding-right: 18px; */
   }

   .chart-container {
      padding-left: 100px;
      padding-right: 100px;
   }
}

/*
====================================
Small Screen - Tablet
====================================
*/
@media screen and (min-width: 768px) and (max-width: 991px) {
   .dashboard-area {
      /* flex: 1 1 100%; */
      width: 100%;
      padding-left: 90px;
      padding-right: 5px;
      /* min-height: 100vh !important; */
   }

 
   .LessonProper {
      /* top: 249px;
      left: 209px; */
      width: 100%;
      height: calc(100vh - 250px);
      /* background-color: red; */
      /* box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
   border-radius: 5px; */
      /* border-radius: 7px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
      /* background-color: #F9FBFC; */
      opacity: 1;
      text-align: center;
   }

   .normal-screen-tab {
      display: none;
   }

   .small-screen-tab {
      display: block;
   }

   .dashboard-area-all {
      flex: 0 0 100%;
      padding-left: 90px;
      padding-top: 5px;
      padding-right: 10px;
      border-right: 1px solid #e2e1e6;
      /* min-height: 100vh; */
      min-height: calc(100vh - 62px);
      width: 100%;
      border: 1px;
   }

   .dashboard-item-inner form {
      margin-top: 35px;
   }

   .dashboard-item-inner form input {
      height: 54px;
   }

   .dashboard-item-inner ul {
      margin-left: -30px;
   }

   .dashboard-item-inner2 h2 {
      font-size: 24px;
   }

   .dashboard-item-inner2 p {
      font-size: 15px;
      max-width: 300px;
   }

   .dashboard-item-inner2 img:nth-of-type(2) {
      max-width: 200px;
      top: 10px;
      right: 15px;
   }

   .dashboard-item-inner3 {
      margin-top: 10px;
      margin-bottom: 10px;
   }

   .dashboard-item-inner3>h2 {
      font-size: 30px;
   }

   .dashboard-item-inner6 p {
      font-size: 14px;
   }

   .notice-area {
      /* flex: 0 0 100%; */
      border-left: none;
      padding-left: 90px;
      padding-right: 18px;
   }

   .notice-area-topic {
      display: none;
      flex: 0 0 100%;
      border-left: none;
      padding-left: 90px;
      padding-right: 18px;
   }

   .pdf-height {
      position: relative;
      height: calc(100vh - 420px);
   }

   .chart-container {
      padding-left: 0px;
      padding-right: 0px;
   }
}

/*
====================================
Small Screen - Mobile
====================================
*/
@media screen and (max-width: 767px) {

   .menu-icon-small {
      display: flex;
      /* justify-content: space-between; */
      /* padding-top: 5px; */
      padding-right: 10px;
      font-size: 30px;
      overflow: hidden;
      background-color: whitesmoke;
      top: 0;
      /* Position the navbar at the top of the page */
      width: 100%;
      /* Full width */
      position: sticky;
      z-index: 1001;
   }

   .menu-area2 {
      display: inline-flex;
   }

   .menu-area2_click {
      display: inline-flex;
      left: 0;
      transition: 0.5s all ease;
      -webkit-transition: 0.5s all ease;
      -moz-transition: 0.5s all ease;
   }

   .LessonProper {
      /* top: 249px;
      left: 209px; */
      width: 100%;
      height: calc(100vh - 200px);
      /* background-color: red; */
      /* box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.25);
   border-radius: 5px; */
      /* border-radius: 7px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
      /* background-color: #F9FBFC; */
      overflow-y: auto;
      opacity: 1;
      text-align: center;
   }

   .normal-screen-tab {
      display: none;
   }

   .small-screen-tab {
      display: block;
   }

   .menu-area {
      display: none;
   }

   .menu-item {
      overflow: scroll;
   }

   .menu-item-inner {
      padding-left: 25px;
      padding-top: 25px;
      padding-bottom: 35px;
   }

   .menu-item-inner a:nth-of-type(1) {
      display: block;
   }

   .menu-item-inner a:nth-of-type(2) {
      display: none;
   }

   .menu-item-inner2 {
      max-height: calc(100vh - 150px);
      overflow-y: hidden;
   }

   .menu-item-inner2 ul li a {
      padding: 25px 30px;
   }

   .menu-item-inner2 ul li a span {
      display: block;
   }

   .menu-item-inner3 {
      padding: 15px 25px 36px;
   }

   .menu-item-inner3 p span {
      margin-right: 0;
      display: block;
   }

   .menu-item-inner3 a {
      display: block;
   }

   .menu-item-inner3-logout {
      padding: 15px 25px 36px;
   }

   .menu-item-inner3-logout p span {
      margin-right: 0;
      display: block;
   }

   .menu-item-inner3-logout a {
      display: block;
   }

   .menu-item-inner3-logout:hover .logout {
      cursor: pointer;
      color: rgba(29, 6, 174, 0.904);
      font-size: medium;
      font-weight: normal;
      display: block;
   }

   .dashboard-area {
      width: 100%;
      /* flex: 1 1 100%; */
      padding-left: 10px;
      padding-top: 5px;
      padding-right: 5px;
      /* min-height: 100vh !important; */
   }

   .dashboard-area-all {
      flex: 0 0 100%;
      padding-left: 10px;
      padding-top: 5px;
      padding-right: 10px;
      border-right: 1px solid #e2e1e6;
      /* min-height: 100vh; */
      min-height: calc(100vh - 62px);
      /* width: 100%; */
      border: 1px;
   }

   .dashboard-item-inner>i {
      display: block;
   }

   .dashboard-item-inner ul li a {
      font-size: 18px;
   }

   .dashboard-item-inner ul {
      margin-left: -30px;
   }

   .dashboard-item-inner form {
      margin-top: 25px;
   }

   .dashboard-item-inner form input {
      height: 50px;
   }

   .dashboard-item-inner2 h2 {
      font-size: 28px;
   }

   .dashboard-item-inner2 img:nth-of-type(1) {
      display: block;
      margin-top: 30px;
      margin-left: auto;
      margin-right: auto;
   }

   .dashboard-item-inner2 img:nth-of-type(2) {
      display: none;
   }

   .dashboard-item-inner3 {
      margin-top: 10px;
      margin-bottom: 10px;
   }

   .dashboard-item-inner3>h2 {
      font-size: 28px;
   }

   .notice-area {
      flex: 1 1 100%;
      border-left: none;
      /* padding-bottom: 20px; */
      /* padding-top: 20px; */
      padding-left: 5px;
      padding-right: 5px;
   }

   .notice-area-topic {
      display: none;
      flex: 100%;
      border-left: none;
      /* padding-bottom: 20px; */
      /* padding-top: 20px; */
      padding-left: 5px;
      padding-right: 5px;
   }

   .notice-item-inner {
      padding: 15px 15px 35px;
   }

   .pdf-height {
      position: relative;
      height: calc(100vh - 420px);
   }

   /* .notice-item-inner4 {
      padding-left: 15px;
      padding-right: 15px;
   }

   .notice-item-inner5 {
      padding-left: 15px;
      padding-right: 15px;
   } */

   .ant-card {
      min-width: 230px !important;
   }

   .ant-table.ant-table-small,
   .ant-table.ant-table-medium {
      font-size: 14px !important;

      /* min-width: 500px !important; */
      /* white-space: pre-wrap !important; */
   }

   .chart-container {
      padding-left: 0px;
      padding-right: 0px;
   }
}

@media screen and (max-width: 766px) {
   .dashboard-area {
      /* flex: 1 1 100%; */
      width: 100%;
   }

   /* .notice-area {
      flex: 1 1 100%;
      width: 100%;
   } */

   /* .ant-table {
      min-width: 600px;
   } */

   .dashboard-area-all {
      min-height: calc(100vh - 62px);
   }

   .dashboard-item-inner3 {
      margin-top: 10px;
      margin-bottom: 10px;
   }

   .chart-container {
      padding-left: 0px;
      padding-right: 0px;
   }
}

.input-columns {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   /* grid-template-columns: repeat(auto-fit, minmax(3fr, 1fr)); */
   gap: 1em;
}

.search-columns-4 {
   display: flex;
   flex-wrap: wrap;
   gap: 1em;
}

.search-columns-4>*:nth-child(1) {
   flex: 1 1 27%;
   min-width: 23ch;
}

.search-columns-4>*:nth-child(2) {
   flex: 1 1 27%;
   min-width: 23ch;
}

.search-columns-4>*:nth-child(3) {
   flex: 1 1 27%;
   min-width: 23ch;
}

.search-columns-4>*:nth-child(4) {
   flex: 1 1 14%;
   min-width: 15ch;
}

.search-columns-4-2 {
   display: flex;
   flex-wrap: wrap;
   gap: 1em;
}

.search-columns-4-2>*:nth-child(1) {
   flex: 1 1 30%;
   min-width: 23ch;
}

.search-columns-4-2>*:nth-child(2) {
   flex: 1 1 30%;
   min-width: 23ch;
}

.search-columns-4-2>*:nth-child(3) {
   flex: 1 1 16%;
   min-width: 15ch;
}

.search-columns-4-2>*:nth-child(4) {
   flex: 1 1 16%;
   min-width: 15ch;
}

.search-columns-3 {
   display: flex;
   flex-wrap: wrap;
   gap: 1em;
}

.search-columns-3>*:nth-child(1) {
   flex: 1 1 35%;
   min-width: 30ch;
}

.search-columns-3>*:nth-child(2) {
   flex: 1 1 35%;
   min-width: 30ch;
}

.search-columns-3>*:nth-child(3) {
   flex: 1 1 20%;
   min-width: 15ch;
}

.search-columns-3-2 {
   display: flex;
   flex-wrap: wrap;
   gap: 1em;
}

.search-columns-3-2>*:nth-child(1) {
   flex: 1 1 50%;
   min-width: 35ch;
}

.search-columns-3-2>*:nth-child(2) {
   flex: 1 1 20%;
   min-width: 15ch;
}

.search-columns-3-2>*:nth-child(3) {
   flex: 1 1 20%;
   min-width: 15ch;
}

.search-columns-2 {
   display: flex;
   flex-wrap: wrap;
   gap: 1em;
}

.search-columns-2>*:nth-child(1) {
   flex: 1 1 60%;
   min-width: 30ch;
}

.search-columns-2>*:nth-child(2) {
   flex: 1 1 20%;
   min-width: 20ch;
}

.button-columns-3 {
   display: flex;
   flex-wrap: wrap;
   gap: 1em;
}

.button-columns-3>*:nth-child(1) {
   flex: 1 1 30%;
   min-width: 17ch;
}

.button-columns-3>*:nth-child(2) {
   flex: 1 1 30%;
   min-width: 17ch;
}

.button-columns-3>*:nth-child(3) {
   flex: 1 1 30%;
   min-width: 17ch;
}

@media print {
   @page {
      size: portrait;
   }

   body * {
      visibility: hidden;
   }

   .section_to_print,
   .section_to_print * {
      visibility: visible;
   }

   .section_to_print {
      position: absolute;
      left: 0;
      top: 0;
   }
}

.ant-drawer-body {
   overflow: hidden !important;
}

.ant-drawer-content-wrapper {
   width: 400px !important;
   z-index: 1001 !important;
}