﻿.navbar-toggle {
  position: relative;
  float: right;
  padding: 15px;
  margin: 15px 0 0 0;
  width: 100%;
  margin-right: 0;
  background-color: #073e91;
  background-image: none;
  /* border-radius: 8px; */
  border: 0px;
  text-align: left
}

.navbar-toggle::after {
  content: '選單';
  font-family: "cwTeXYen", 'Noto Sans TC', sans-serif;
  white-space: nowrap;
  position: absolute;
  position: absolute;
  color: #fff;
  top: 12px;
  font-size: 20px;
  padding: 0 0 0 40px;
}

.navbar-material-blue .navbar-toggle:hover,
.navbar-material-blue .navbar-toggle:focus {
  background-color: #6fc62c;
}

.navbar-material-blue .navbar-collapse,
.navbar-material-blue .navbar-form {
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 0 3px rgba(0, 0, 0, .2)
}

.navbar-collapse {
  width: calc(100% - 0px);
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid transparent;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.navbar-material-blue .navbar-nav>.active>a,
.navbar-material-blue .navbar-nav>.active>a:hover,
.navbar-material-blue .navbar-nav>.active>a:focus {
  color: #333333;
  background-color: #a8bbd2;
}

.navbar-material-blue .navbar-nav>.disabled>a,
.navbar-material-blue .navbar-nav>.disabled>a:hover,
.navbar-material-blue .navbar-nav>.disabled>a:focus {
  color: #502960;
  background-color: transparent;
}

.navbar-material-blue .navbar-toggle .icon-bar {
  background-color: #fff;
}

@media screen and (max-width: 1350px) {
  .inner_banner {
    padding: 13% 0px 3% 0;
  }

  .navbar-nav>li>a {
    font-size: 18px !important
  }
}

@media screen and (max-width: 1230px) {
  .header {
    background: url(../images/web/bg_header.png) no-repeat top center;
  }
}
@media screen and (max-width: 1130px) {
.logo img {
    max-height: 96px;
  }
    .header .links_top ul li a{
      padding:16px 8px 8px 46px;
              font-size: 13px;
    }
}


@media screen and (max-width:960px) {
  /*.calendar{*/
  /*  display: none;*/
  /*}*/
  .left_menu {
    width: calc(100% - 40px);
  }
  #template_C .information ul li {
      width: 48%;
    }
        #template_C .information ul li:nth-child(3n+1){
          clear: none;
        }
                 #template_C .information ul li:nth-child(2n+1) {
                   clear: none;
                 }
  .header .screen::after {
    display: none
  }

  .feature_box {
    width: 100%;
  }

  .Userful_link_inside ul li {
    width: calc(34% - 3% - 0px);
    margin: 10px 1%;
  }

  .latest_awards {
    margin-bottom: 50px;
  }

  .latest_new,
  .latest_video,
  .latest_awards,
  .main_calenadr {
    width: 100%;
  }
}

@media screen and (max-width:576px) {

  .form-checkboxes .form-item{
    margin-bottom: 2px;
  }

#template_C .information ul li{
  width:100%;
}

  .sentense .title span {
    width: 98%;
  }

  .feature_box li.tablinks:nth-child(1) {
    width: 132px;
  }

  .sentense .title {
    width: 50vw;
  }

  .feature_box li.tablinks:nth-child(2) {
    width: 132px;
    left: 196px;
  }

  .Userful_link_inside ul {
    width: 100%;
  }

  /* .Userful_link_inside ul li {

    width: calc(50% - 2% - 4px);
    margin: 10px 1%;
  } */

  .sch_info ul {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  #albums_button .more_area,
  #videos_button .more_area {
    display: none;
  }

  .logo img {
    max-width: 310px !important;
  }


  .feature_box li.tablinks p {
    font-size: 20px !important;
  }

  .latest_gallery ul li {
    width: 100%;
  }

}

@media screen and (max-width: 960px) {
  #tpl .dropdown {
  margin-top: -50px;
  }

  .menu_block ul li a:hover::after,
  .menu_block ul li a.current::after,
  .level4 a:hover::after,
  .level4 a.current::after {}

  li.open a::after {}

  .menu_block ul li.has-sub>a:after {
    top: 35% !important;
    left: 90%;
    transform: translate(0, 0%);
    position: absolute;
    width: 0;
    height: 0 !important;
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent #0143b0;
  }

  .sch_info>div:nth-child(3) img {
    height: 75px;
    width: auto
  }

  .menu_block ul li.has-sub>a::after {
    border-color: transparent transparent transparent #666 !important;
    z-index: 1;
  }

  .nav>li {
    width: 100% !important
  }

  html,
  body {
    font-size: 15px;
    line-height: 23px;
  }

  h1 {
    font-size: 28px;
    line-height: 32px;
  }

  h2 {
    font-size: 22px;
    line-height: 28px;
  }

  h3 {
    font-size: 18px;
    line-height: 22px;
  }

  h4 {
    font-size: 16px;
    line-height: 22px;
  }

  h5 {
    font-size: 16px;
    line-height: 22px;
  }

  h6 {
    font-size: 16px;
    line-height: 22px;
  }

  .menu_block {
    padding: 0;
  }

  .navbar-toggle {
    cursor: pointer;
  }

  .header::after {
    display: none;
  }

  .header .home {
    display: none;
  }

  .logo {
    float: left;
    padding: 50px 0 0 0;
    margin: 0;
  }

  .logo img {
    max-height: 90px;
    width: auto;
    max-width: 400px;
  }

  #table_img td {
    display: inline-block;
    padding: 5px;
    width: calc(100% - 10px) !important;
    height: auto !important;
  }

  .sch_info>ul:nth-child(2) {
    font-size: 19px;
  }

  .header .screen {
    padding: 0;
  }

  .header .links_top ul li.links_homework a:hover,
  .header .links_top ul li.links_notes a:hover {
    transform: translateY(-8px);
  }

  .header {
    height: auto;
     background: url(../images/web/bg-mobile.png) no-repeat top center;
        background-size: 100% 80%;
    padding-top: 0
  }

  .header .links_top {
    right: 0;
    margin: 0;
    top: 0px;
    padding: 0;
    width: 100%;
    position: absolute;
  }

  .header .links_top ul li {
    margin: 0px;
    width: 50%;
  }

  .header .links_top ul li+li+li {
    margin: 0px;
  }

  .header .links_top ul li a {
    text-align: center;
    background: #008fd5;
    padding: 10px 0 5px 0;
    border-radius: 0;
    border: 0;
  }

  .header .links_top ul li+li a {
    background: #7fc122;
  }

  .header .links_top ul li+li+li a {
    background: #fed400;
  }

  .header .links_top ul li span,
  .header .links_top ul li+li span,
  .header .links_top ul li+li+li span {
    background: none;
  }

  .header .links_top ul li+li+li+li a {
    background: #073e91;
  }



  .container {
    height: auto;
    /* min-height: 500px; */
    /*background:url(../images/web/wave.png) no-repeat bottom,linear-gradient(#afe4f7,#afe4f7);*/
    /* padding: 5px 0 */
  }

  .screen {
    min-width: 280px;
    padding: 0px 10px;
  }

  .container .screen {
    padding: 0px 10px;
  }


  /* .banner_slider {
    width: calc(100% - 14px);
    margin-right: 0;
  } */

  /* .sentense .title span{ height: 62px;
  background-size: auto 62px; } */
  .sentense .title span {
    left: 0;
    background-position: right;
  }

  /* .banner_area {
    padding: 15px 0 0 0
  } */

  #cover_sub {
    float: left;
    margin: 0 0px 15px 0;
    width: 100%;
  }

  #cover_sub img {
    max-width: 400px;
    width: 100%
  }

  .footer .screen {
    padding: 15px;
  }

  .sch_info {
    padding: 15px 0;
  }

  .sch_info>img:nth-child(1) {
    max-height: 90px;
    width: auto;
    max-width: 400px;
  }

  .sch_info>img:nth-child(1),
  .sch_info>ul:nth-child(2),
  .sch_info>div:nth-child(3) {
    width: 100%;
    margin: 5px 0;
  }

  .sch_info>div:nth-child(3) {
    justify-content: flex-start;
  }

  .footer .copyright,
  .footer .power {
    text-align: center;
    width: 100%;
  }

  #bs-example-navbar-collapse-animations ul.navbar-nav {
    float: none;
    margin: 0;
  }

  .navbar-nav>li>.dropdown-menu {
    margin-top: 0 !important
  }

  .navbar-collapse {
    float: none;
  }

  .navbar-material-blue .navbar-nav .open .dropdown-menu>li>a {
    color: #502960;
  }

  .navbar-material-blue .navbar-nav .open .dropdown-menu>li>a:hover,
  .navbar-material-blue .navbar-nav .open .dropdown-menu>li>a:focus {
    color: #ffd200;
    background-color: transparent;
  }

  .navbar-material-blue .navbar-nav .open .dropdown-menu>.active>a,
  .navbar-material-blue .navbar-nav .open .dropdown-menu>.active>a:hover,
  .navbar-material-blue .navbar-nav .open .dropdown-menu>.active>a:focus {
    color: #502960;
    background-color: #a8bbd2;
  }

  .navbar-material-blue .navbar-nav .open .dropdown-menu>.disabled>a,
  .navbar-material-blue .navbar-nav .open .dropdown-menu>.disabled>a:hover,
  .navbar-material-blue .navbar-nav .open .dropdown-menu>.disabled>a:focus {
    color: #502960;
    background-color: transparent;
  }

  /*.container #full h1 {*/
  /*  display: inline-block*/
  /*}*/

  .inner_banner {
    padding: 15% 0 5% 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-bottom: 15px;
  }

  .inner_banner h1 {
    padding: 5px 10px;
    font-size: 16px;
    line-height: 18px;
    margin: 0;
  }

  .non_banner {
    padding: 0px 0 !important;
  }

  .non_banner h1 {
    padding: 0px 0px;
    font-size: 23px;
    line-height: 28px;
  }

  #Inner_Type_D ul li {
    width: 48%
  }

  .site-map ul {
    margin: 0 0;
    padding: 0;
  }

  .site-map ul li {
    width: 100%;
    margin: 0 0 15px 0%;
  }

  .site-map ul li:nth-child(2n+1) {
    clear: both;
  }

  .boxing .title {
    padding: 5px 15px 5px 15px;
    margin: 15px 0;
    font-size: 21px;
  }

  #Inner_Type_A li,
  #Inner_Type_A2 li {
    width: 100%;
    margin: 0 0 10px 0;
  }

  #Inner_Type_A ul,
  #Inner_Type_A2 ul {
    margin: 0 0 15px 0
  }

  .inner_content {
    padding: 15px 0 50px 0;
  }

  .inner_content .main_content {
    width: calc(100% - 26px);
    padding: 0px 10px 20px 10px;
  }

  .sidebar-nav {
    width: 100%;
    /* border-bottom-right-radius: 8px;
border-top-right-radius: 8px; */
  }

  .sidebar-nav {
    margin-top: 20px;
  }

  #popup_this {
    width: 90%;
  }

  #popup_this .content {
    /* min-width: 300px;
    min-height: 240px;
    max-height: 420px; */
    padding: 30px 5px;
  }


  .video_theme {
    max-width: 100%;
  }

  .clipround_filter {
    width: 100%;
    position: relative;
    top: 5px;
  }

  .clipround::before {
    clip-path: none;
    display: none
  }

  .clipround_filter::before {
    display: none
  }

  .header .facebook {
    display: none
  }

  #facebook_m {
    display: block
  }



  .sentense {
    width: 100%;
  }

  .sentense .title,
  .sentense .area {
    display: grid;
    padding: 0;
    position: relative;
    margin: 2px;
  }

  .school_album {
    width: calc(100% - 8px - 20px);
    padding: 10px;
    margin: 0
  }

  .dncalendar-body {
    width: calc(100% - 2%) !important;
    float: none !important;
  }

    .main_calenadr ul{
          width: calc(100% - 2%) !important;
            float: none !important;
    }

  .sch_info ul li {
    margin: 5px;
    text-align: left;
  }

  .Userful_link_inside {
    padding: 10px 0;
  }

  /* .main_events_area { margin-top: 30px;} */

  .main_calenadr {
    padding: 10px;
  }

  #title_bgs .hero_date,
  #title_bgs .hero_title,
  #title_bgs .hero_organiser,
  #title_bgs .hero_cat,
  #title_bgs .hero_grade,
  #title_bgs .hero_class,
  #title_bgs .hero_student_name {
    width: 100%;
    margin: 0
  }

  .sentense .area {
    width: 100%;
    float: right;
  }

  .sentense .area p {
    padding: 10px;
  }

  #title_bgs .hero_date,
  #title_bgs .hero_title,
  #title_bgs .hero_organiser,
  #title_bgs .hero_cat,
  #title_bgs .hero_grade,
  #title_bgs .hero_class,
  #title_bgs .hero_student_name {
    text-align: left;
    padding: 5px 0;
  }

  #template_D .information .sch_album ul li {
    width: 95%;
    margin: 0 5%
  }

  #title_bgs .hero_date::before,
  #title_bgs .hero_title::before,
  #title_bgs .hero_organiser::before,
  #title_bgs .hero_cat::before,
  #title_bgs .hero_grade::before,
  #title_bgs .hero_class::before,
  #title_bgs .hero_student_name::before {
    padding-right: 10px;
  }


  #title_bgs .hero_date::before {
    content: "獲獎日期:";
  }

  #title_bgs .hero_title::before {
    content: "比賽名稱及項目:";
  }

  #title_bgs .hero_organiser::before {
    content: "主辦機構:";
  }

  #title_bgs .hero_cat::before {
    content: "科/組:";
    float: left;
    padding-top: 15px;
  }

  #title_bgs .hero_grade::before {
    content: "獎項:";
  }

  #title_bgs .hero_class::before {
    content: "班別:";
  }

  #title_bgs .hero_student_name::before {
    content: "學生姓名:";
  }

  .power b {
    display: none
  }

  .clipround {
    filter: none;
  }

  .menu_block ul li a:hover::after,
  .menu_block ul li a.current::after,
  .level4 a:hover::after,
  .level4 a.current::after {
    display: none
  }


  .menu_block {
    float: right;
    background: #0d3d91f2;
    position: absolute;
    right: 0;
    z-index: 9;
    top: auto;
    bottom: auto;
    width: 100%;
  }

  /* .dropdown-menu > li > a { color:#fff} */

  .navbar-nav>li>a {
    text-align: left !important
  }


  .menu_block ul li a::after,
  .level4 ul li a::after {}

  .menu_block ul li ul li a::after,
  .level4 ul li ul li a::after {}


  li.open a::after {
    background: none
  }


  /*.nav > li > a::after { position:absolute; content:'';top: 35% !important;
left: 95%;
transform: translate(0, 0%);
position: absolute;
width: 0;
height: 0 !important;
border-style: solid;
border-width: 6px 0 6px 6px;
border-color: transparent transparent transparent #fff;}
*/

  .menu_block ul li.has-sub>a::after {
    border-color: transparent transparent transparent #fff;
    z-index: 1;
  }

  .main_2 {
    margin: 0
  }


  iframe {
    max-width: 100%;
    width: auto;
    height: auto
  }



  .main_content table {
    width: 100% !important
  }

}



@media screen and (max-width: 600px) {
  .inner_banner {
    padding: 10% 0 2% 0;
  }
  #tpl .dropdown {
    margin-top: 0;
  }
}


@media screen and (max-width: 450px) {
  .main_events_area {
    margin-bottom: -5px !important
  }

  .modal-window>div {
    width: 68vw;
  }


}