
@media (max-width: 1024px) and (min-width: 1024px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 1000px;
  }
} 
@media (min-width: 1200px) {
  #news .col-xl-2 {
      width: 20%;
  }
}
@media (max-width: 1200px) {
  header {
    position: relative;
    height: auto;
    margin-top: 10px;
    margin-bottom: 0;
  }
  #header-box {
    margin-bottom: 10px;
  }
  .logo img {
    height: 50px;
  }
  .fixed-top {
    position: relative;
  }
  .rwd-web {
    display: none;
  }
  .rwd-mobile {
    display: block;
  }
  /***nav***/
  .navbar-toggler-btn {
    display: flex;
    align-items: center;
    justify-content: end;
  }
  .navbar-toggler {
    font-size: 1.75rem;
  }
  .navbar {
    background: #93272c;
  }
  .navbar-collapse {
    padding-bottom: 10px;
  }
  .navbar .navbar-nav {
    padding-top: 20px;
    margin-right: 0;
    width: 100%;
  }
  .navbar .nav-item, .navbar .nav-item:last-child  {
    border: 0;
  }
  .navbar .nav-link {
    height: 55px;
    font-size: 1.125rem;
  }
  .navbar .nav-item:first-child .nav-link {
    border-radius: 0;
}
  .navbar .nav-item:last-child .nav-link {
    border-radius: 0;
  }
  .navbar .dropdown-toggle.open:after {
    margin-top: 3px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
  }
  .navbar .dropdown-menu {
    text-align: center;
  }
  .navbar .dropdown-menu .dropdown-item {
    color: #fff;
    font-size: 1.0625rem;
  }
  .navbar ul ul.dropdown-menu {
    margin: 10px 0;
    border: 1px solid var(--color-2);
    border-radius: 0;
  }
  .offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 320px;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: var(--color-1);
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
  .top-link-box {
    margin-left: 0;
    margin-top: 25px;
    padding-bottom: 30px;
  }
  .top-link-box ul {
    justify-content: center;
  }
  .top-link-box li.search {
    display: none;
  }
  .top-link-box .top-link a {
    font-size: 1.125rem;
    width: 40px;
    height: 40px;
  }
  .top-link-box .top-link i {
    font-size: 1.375rem;
  }
  .top-link-box li {
    margin: 0 8px;
  }
  #rwd-search-box {
    display: block;
    margin-top: 30px;
  }
  #search-box {
    width: 280px;
  }
  #search-box input.gsc-input {
    height: 40px !important;
  }
  #search-box .gsc-search-button {
    width: 65px;
    height: 40px;
  }
}
@media (max-width: 992px) {
  /***nav***/
  .navbar-toggler {
    font-size: 1.25rem;
  }
  /***home***/
  #home-bn .owl-carousel .owl-item img {
    height: auto;
  }
  .home-go-box a {
    display: none;
  }
  #home-link-box {
    padding: 70px 0 50px 0;
  }
  #home-link .list-box .content {
    width: 146px;
    height: 146px;
    padding: 10px 10px 3px 10px;
  }
  #home-link .list-box .icon {
    width: 75px;
    height: 75px;
    line-height: 75px;
  }
  #home-link .list-box .icon img {
    width: 50px;
  }
  #home-link .content .title h3 {
    font-size: 1rem;
  }
  #home-news-box {
    padding: 0 0 40px 0;
  }
  #home-news .image img {
    width: 70%;
    margin-top: 30px;
  }
  /***page***/   
  #content {
    padding: 30px 0;
  }
  #calendar iframe {
    width: 100%;
    height: 600px;
    min-height: auto;
  }
  /***options-tab***/
  #nav-tab {
    width: 20%;
    float: left;
  }
  #nav-tab .nav-item {
    width: 100%;
    margin-bottom: 2px;
    margin-right: 0;
    border-right: 0;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  #nav-tab .nav-link {
    width: 100%;
    border-right: 0;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: left;
  }
  .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-color: #43aa8b;
    background: #43aa8b;
  }
  #nav-tab .nav-link.active {
    color: #fff;
  }
  #tabContent {
    padding: 1rem;
    width: 80%;
    margin-left: 20%;
  }
  /***footer***/
  footer:before {
    left: 0;
    right: 0;
    opacity: 0.07;
  }
  .footer-menu {
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  .footer-menu .list-box {
    margin-bottom: 25px;
  }
  footer .copyright {
    text-align: left;
  }
}
@media (max-width: 768px) {
  /***nav***/
  .navbar-toggler {
    font-size: 1.25rem;
  }
  .top-link-box {
    margin-top: 20px
  }
  /***home***/  
  #home-news .image img {
    width: 95%;
  }
  /***options-tab***/
  #nav-tab {
    width: 25%;
  }
  #tabContent {
    width: 75%;
    margin-left: 25%;
  }
  footer .mark-group {
    margin-top: 1rem;
  }
}
@media (max-width: 640px) {
  .logo img {
    height: 30px;
  }
  /***home***/
  #home-link-box {
    padding: 60px 0 30px 0;
  }
  #home-link .content {
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
  }
  #home-news-box {
    padding: 0 0 10px 0;
  }
  #home-news {
    padding-bottom: 30px;
  }
  #home-news .title h3 {
    -webkit-line-clamp: 2;
  }
  #home-news .article {
    -webkit-line-clamp: 2;
  }
  /***page***/ 
  .body-top {
    height: auto;
    padding: 10px 0;
  }
  .top-title {
    text-align: center;
  }
  .gw-breadcrumb {
    text-align: left;
  }    
  #team-page .info-box {
    margin-bottom: 1.625rem;
    padding-bottom: 1.625rem;
    border-bottom: 1px dashed var(--color-4);
  }
  /***project***/
  #project-page .theme-box {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  #project-page .image {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 430px) {
  #home-link .list-box .content {
    width: 170px;
    height: 170px;
  }
  #home-link .list-box .icon {
    width: 85px;
    height: 85px;
    line-height: 85px;
  }
  #home-link .list-box .icon img {
    width: 55px;
  }
}
@media (max-width: 414px) {
  #home-link .list-box .content {
    width: 155px;
    height: 155px;
  }
  #home-link .list-box .icon {
    width: 75px;
    height: 75px;
    line-height: 75px;
  }
  #home-link .list-box .icon img {
    width: 50px;
  }
}
@media (max-width: 320px) {
  #home-link .list-box .content {
    width: 135px;
    height: 135px;
  }
  #home-link .list-box .icon {
    width: 65px;
    height: 65px;
    line-height: 65px;
  }
  #home-link .list-box .icon img {
    width: 45px;
  }
  #home-link .content .title {
    min-height: 40px;
  }
  #home-link .list-box .content .title h3 {
    font-size: 1rem;
  }
}
@media (orientation: landscape) and (max-width:992px) {
}
