@charset "UTF-8";
.container {
  width: 95%;
  max-width: 1450px;
  margin: 0 auto;
}

.container .ling-right {
  min-height: calc(70vh);
}

@media (max-width: 992px) {
  .container {
    width: 100%;
  }
}

.page_box a {
  text-decoration: none;
}

.page_box a:hover {
  color: #06C;
}

.page_box ul.page li.item:before,
.page_box ul.page li a span {
  color: #06C;
}

nav.bootsnav.lingnavbar .navbar-brand img {
  max-width: 300px;
}

@media (max-width: 1400px){
  .navbar-right~.navbar-right {
    width: 100% !important;
  }
  nav.bootsnav.lingnavbar ul.nav li a{
    padding: 10px 7px !important;
  }
  nav.navbar.bootsnav.lingnavbar ul > li.tws668 a {
    margin: 6px 5px !important;
    padding: 3px 6px !important;
  }
}

@media (max-width: 1080px){
  nav.bootsnav.lingnavbar ul.nav li a{
    font-size: 0.9em;
  }
}


nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .content ul.menu-col li a:hover,
.check-list li:before,
ul.cart-list > li > h6 > a,
.attr-nav > ul > li > a:hover,
.attr-nav > ul > li > a:focus,
.side .widget ul.link li a:hover,
.side .widget ul.link li a:focus,
nav.navbar ul li.dropdown.on > a,
nav.navbar ul.nav > li > a:hover,
nav.navbar ul.nav > li.active > a:hover,
nav.navbar ul.nav li.active > a,
nav.navbar li.dropdown ul.dropdown-menu > li.on > a,
nav.navbar li.dropdown ul.dropdown-menu > li a:hover,
nav.navbar li.dropdown ul.dropdown-menu > li ul.dropdown-menu > li a:hover {
  background-color: #E6E0F3;
  color: #543595;
}

@media (max-width: 992px) {
  nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .content ul.menu-col li a:hover,
  .check-list li:before,
  ul.cart-list > li > h6 > a,
  .attr-nav > ul > li > a:hover,
  .attr-nav > ul > li > a:focus,
  .side .widget ul.link li a:hover,
  .side .widget ul.link li a:focus,
  nav.navbar ul li.dropdown.on > a,
  nav.navbar ul.nav > li > a:hover,
  nav.navbar ul.nav > li.active > a:hover,
  nav.navbar ul.nav li.active > a,
  nav.navbar li.dropdown ul.dropdown-menu > li.on > a,
  nav.navbar li.dropdown ul.dropdown-menu > li a:hover,
  nav.navbar li.dropdown ul.dropdown-menu > li ul.dropdown-menu > li a:hover {
    background-color: inherit;
  }
}

nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li a:hover {
  background-color: #E6E0F3;
  color: #543595;
}

@media (max-width: 992px) {
  nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu > li > a {
    color: #fff;
  }
  nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li a {
    background-color: initial;
    color: #fff;
  }
  nav.navbar.bootsnav li.dropdown ul.dropdown-menu > li a:hover {
    background-color: initial;
    color: #fff;
  }
  nav.navbar.bootsnav.lingnavbar .navbar-collapse {
    background-color: #543595;
  }
}

nav.navbar.bootsnav.lingnavbar ul > li.tws668 a {
  color: red;
  border: 1px solid red;
  padding: 5px 15px;
  margin: 15px 5px;
  border-radius: 5px;
}

@media (max-width: 992px) {
  nav.navbar.bootsnav.lingnavbar ul > li.tws668 a {
    color: #fffb00;
    border: none;
    padding: 10px;
    margin: 0;
    border-radius: 0;
  }
  nav.navbar.bootsnav.lingnavbar ul > li.tws668 a::before {
    content: "\f291";
    font-family: 'FontAwesome';
    padding-right: 10px;
  }
}


.home_main_container .carousel-inner .item.main1 {
  background-color: #000;
}

.home_main_container .carousel-inner .item.main2 {
  background-color: #DF7788;
}

.home_main_container .carousel-inner .item.main3 {
  background-color: #FFD9E3;
}

.home_main_container .carousel-inner .item.main4 {
  background-color: #F9ECC4;
}

.home_main_container .item img.md-show {
  display: block;
}

.home_main_container .item img.sm-show {
  display: none;
}

.navbar-header{
  position: relative;
}


@media (max-width: 992px) {
  .navbar-header:before{
    content: "\f25a";
    font-family: 'FontAwesome';
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 11;
    font-size: 1.5em;
    color: red;
    animation-name: example;
    animation-duration: 2s;
    animation-direction: alternate; 
    animation-iteration-count:infinite;
  }
  @keyframes example {
    0%   {color:red; left:28px; top:48px;}
    25%  {color:blue; left:28px; top:42px;}
    50%   {color:red; left:28px; top:48px;}
    75%  {color:blue; left:28px; top:42px;}
    100%   {color:red; left:28px; top:48px;}
  }


  .navbar-header .navbar-toggle{
    animation-name: color-example;
    animation-duration: 2s;
    animation-iteration-count:infinite;
  }
  @keyframes color-example {
    0%   {color:#fff;background-color: red; border: none;}
    25%  {color:#fff; background-color: #543595; border: none;}
    50%   {color:#fff;background-color: red; border: none;}
    75%  {color:#fff; background-color: #543595; border: none;}
    100%   {color:#fff;background-color: red; border: none;}
  }

}


@media (max-width: 992px) {
  .home_main_container{
    min-height: 300px;
  }
  .home_main_container .item img.md-show {
    display: none;
  }
  .home_main_container .item img.sm-show {
    display: block;
  }
}

.home_main_container img, .box-6-category img {
  width: 100%;
}

.home_text img {
  width: 700px;
  margin: 0 auto 10px auto;
}

section.home .ling-right {
  min-height: calc(30vh);
}

.home_box {
  padding-bottom: 1em;
}

.home_box h2.pagetitle span {
  color: #333;
  display: block;
  font-size: 22px;
  margin: 0 auto;
  font-family: 'Oswald', sans-serif;
}

@media (max-width: 568px) {
  .home_box h2.pagetitle {
    font-size: 30px;
    font-weight: bold;
  }
}

.home_box .owl-theme .owl-controls .owl-dots {
  display: none !important;
}

.home_box .box-6-category img {
  -webkit-box-shadow: 2px 2px 6px #777;
          box-shadow: 2px 2px 6px #777;
  width: 100%;
}

.home_box .box-6-category .item, .home_box .box-6-newproducts .item {
  margin-bottom: 1em;
}

.home_box .box-6-category .item .thumbnail, .home_box .box-6-newproducts .item .thumbnail {
  border: 1px solid #BDACDF;
}

.home_box .box-6-category .item .thumbnail .caption, .home_box .box-6-newproducts .item .thumbnail .caption {
  padding: 2px 0;
}

.home_box .box-6-category .item .thumbnail h2, .home_box .box-6-newproducts .item .thumbnail h2 {
  color: #543595;
  font-size: 1em;
  margin: 0;
}

/* 首頁標題================================== */
.hi_box:before {
  width: 6px;
  height: 26px;
  display: inline-block;
  background: #D8D8D8;
  content: '';
  position: absolute;
  border-radius: 5px;
}

.hi_box:after {
  position: absolute;
  width: 6px;
  height: 10px;
  background: #543595;
  display: inline-block;
  content: '';
  top: 0;
  border-radius: 5px 5px 0 0;
}

.hi_box > h3 {
  padding-left: 25px;
}

.hi_box > h3 > span {
  color: #543595;
}

.hi_box .btn {
  color: #543595;
}

#left a.class1, #left a.class12 {
  padding-left: 38px !important;
}

#left a.class1:after, #left a.class12:after {
  content: '';
  display: block;
  background: url(../images/left_d.jpg) left top no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
}

.page_box .page-header {
  background: url(../images/page_item_d.jpg) left top no-repeat;
  padding: 9px 0 9px 30px;
}

.page_box .page-header h1 {
  color: #543595;
}

.page_box h3 {
  color: #623EAC;
  font-size: 20px;
}

.page-header.ling {
  margin-top: 25px !important;
}

.form-group {
  margin-bottom: 10px;
}

/* 最新消息 首頁+內頁 */
.about_box .text .btn {
  background-color: #543595;
  border: none;
  padding: 3px 15px;
}

.classify12_box #tb_box th.td-link-down:before, .classify12_box #tb_box td.td-link-down:before, .classify13_box #tb_box th.td-link-down:before, .classify13_box #tb_box td.td-link-down:before {
  content: 'Item';
}

footer {
  background: #543595;
  color: #fff;
}

footer a,
footer a:hover {
  color: #fff;
}

footer address div {
  font-size: 1em;
  font-weight: initial;
}

footer address div .h4 {
  font-size: 1.3em;
  font-weight: bold;
}

footer address div .webmt {
  color: gold;
}

.page_box.classify16_box.WP_Products .classify-text h3.text {
  font-size: 1.3em;
  color: blueviolet;
}

/* .page_box.classify16_box.WP_Products .classify-text h3.text a {
  text-decoration: underline;
  color: blue;
} */

.page_box.product1_box.oem_2_pic #tb_box tr small,
.classify16_box.WP_Products #tb_box tr small {
  display: block;
  font-size: 100%;
}

@media only screen and (max-width: 768px) {
  .page_box.product1_box.oem_2_pic #tb_box tr small,
  .classify16_box.WP_Products #tb_box tr small {
    display: inline;
  }
}

.page_box.classify3_box.asn-Srh-asun_css a.btn.more,
.classify16_box.WP_Products #tb_box td.icon a.btn {
  padding: 3px 10px !important;
  font-size: 0.95em;
  background-color: #8261C7;
  border: none;
  color: #fff;
}

.classify16_box.WP_Products #tb_box td.icon a.detailin {
  background-color: #ff0040;
}

.classify16_box.WP_Products #tb_box td.icon a.detail:before {
  display: none;
}

.product1_box.oem_2_pic .classin {
  color: red;
  font-style: initial;
}

.page_box.classify18_box.link_classifys_ke #tb_box td.icon a.detail:before {
  display: none;
}

.page_box.classify18_box.link_classifys_ke #tb_box .pic:before {
  content: '圖片';
}

.page_box.classify18_box.link_classifys_ke #tb_box .pro_no:before {
  content: '授課地區';
}

.page_box.classify18_box.link_classifys_ke #tb_box .pro_name:before {
  content: '課程名稱';
}

.page_box.product1_box.oem_2_pic .page-header.h3 {
  color: #000;
}

.page_box.product1_box.oem_2_pic .page-header.h3 span {
  color: #543595;
}

.page_box.product1_box.oem_2_pic table.table-bordered.table-striped.school th {
  background: #ff8e01;
  color: #fff;
  text-align: center;
}

.page_box.product1_box.oem_2_pic table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #fff;
}

.page_box.product1_box.oem_2_pic #tb_box > table td:nth-last-child(4) a.btn,
.page_box.classify16_box.WP_Products #tb_box > table td:nth-last-child(5) a.btn,
table.school.school2 tr td a.btn {
  border: 1px solid mediumvioletred;
  background-color: #FAE4F1;
  color: mediumvioletred;
  font-size: 0.9em;
  padding: 2px 3px;
  margin-right: 3px;
}

@media only screen and (max-width: 568px) {
  .page_box.product1_box.oem_2_pic #tb_box > table td:nth-last-child(4) a.btn,
  .page_box.classify16_box.WP_Products #tb_box > table td:nth-last-child(5) a.btn,
  table.school.school2 tr td a.btn {
    padding: 0 3px;
    margin-left: 3px;
  }
}

.page_box.product1_box.oem_2_pic #tb_box > table td:nth-last-child(4) a.btn:before,
.page_box.classify16_box.WP_Products #tb_box > table td:nth-last-child(5) a.btn:before,
table.school.school2 tr td a.btn:before {
  content: "\f041";
  font-family: 'FontAwesome';
  display: inline-block;
  color: mediumvioletred;
}

.page_box.product1_box.oem_2_pic #tb_box > table td:nth-last-child(1) .btn,
.page_box.classify16_box.WP_Products #tb_box > table td:nth-last-child(2) .btn {
  border: 1px solid coral;
  background-color: coral;
  color: #fff;
  font-size: 0.9em;
  width: 100%;
  margin-bottom: 6px;
  width: auto;
  padding: 2px 3px;
  display: block;
}

@media only screen and (max-width: 768px) {
  .page_box.product1_box.oem_2_pic #tb_box > table td:nth-last-child(1) .btn,
  .page_box.classify16_box.WP_Products #tb_box > table td:nth-last-child(2) .btn {
    width: auto;
    margin-bottom: 0px;
    padding: 2px 6px;
    margin-right: 3px;
    display: initial;
  }
}

.page_box.product1_box.oem_2_pic table.table-bordered.table-striped.school th {
  white-space: nowrap;
}

.about_top {
  margin-top: -150px;
  height: 150px;
  position: absolute;
}

.bottom-information {
  border: 1px solid #70AD46;
  border-radius: 10px;
  max-width: 100%;
  width: 820px;
  margin: 30px auto;
  padding: 20px 15px;
  text-align: center;
}

.bottom-information label {
  font-size: 1.5em;
  font-weight: 400;
  margin-bottom: 15px;
}

.bottom-information a {
  color: #fff !important;
}

.bottom-information a.btn {
  font-size: 1em;
  border: none;
}

@media only screen and (max-width: 568px) {
  .bottom-information a.btn {
    margin: 0 0 6px 0;
    width: 100%;
  }
}

.bottom-information a.line {
  background-color: #00B900;
}

.page_box.classify16_box h2{  
  color: #543595;
}
@media only screen and (max-width: 768px) {
  #tb_box table tr td, #tb_box .table tr td {
    border-bottom: 1px dotted #543595;
    float: left;
    display: inline-block;
    width: 100%;
    color: #333;
    padding: 0;
  }
  #tb_box .table tr td.perty br {
    content: '';
  }
  #tb_box .table tr td.perty br:after {
    content: '/ ';
    display: inline-block;
  }
  #tb_box table tr td small, #tb_box .table tr td small {
    font-size: 100% !important;
  }
  .classify16_box.WP_Products #tb_box .icon:before {
    display: none;
  }
  #tb_box table tr td:nth-child(1) {
    border-top: none !important;
    border-bottom: 1px dotted #543595 !important;
    padding-top: 0 !important;
    font-size: 1.3em;
    font-weight: bold;
  }
  #tb_box table tr td:nth-child(1) span {
    font-size: 0.77em !important;
    font-weight: 400;
  }
  #tb_box table tr td:nth-child(1) small {
    color: #ff004c;
  }
  #tb_box table tr td span, 
  #tb_box .table tr td span {
    float: left;
    font-size: 1em;
    color: #543595 !important;
    background-color: #E0D8F1;
    padding: 3px 6px;
    margin-right: 6px;
    width: 100px;
  }
  #tb_box table tr td:last-child {
    border-bottom: none !important;
    border-top: 6px;
    padding-top: 0px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: left;
  }
  #tb_box table tr:nth-child(odd) {
      background-color: transparent !important;
  }
  #tb_box table tr td:last-child a.btn {
    padding: 6px;
    margin-left: 4px;
  }
  .page_box.classify16_box h2{
      border-top: 1px solid #543595;
      border-bottom: 1px solid #543595;
      text-align: center;
      background-color: seashell;
  }
  
}

.page_icon .btn-info {
  color: #fff;
  background-color: #8261C7;
  border-color: #8261C7;
}

.page_icon .btn-info:hover {
  background-color: #543595;
  border-color: #543595;
}

.marqee {
  height: 3em;
  margin: 0 auto 30px auto;
  overflow: hidden;
  position: relative;
  border: 1px solid #543595;
  border-radius: 25px;
  padding-left: 60px;
}

.marqee:before {
  content: '最新消息';
  font-size: 1.5em;
  position: absolute;
  top: 8px;
  font-weight: bold;
  color: #fff;
  left: 0;
  background: #543595;
  display: block;
  z-index: 22;
  height: 46px;
  padding: 8px 20px;
  top: 0;
}

.marqee > ul {
  padding-left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  -webkit-animation: marqee 30s linear infinite;
          animation: marqee 30s linear infinite;
  position: absolute;
}

.marqee > ul > li {
  white-space: nowrap;
  margin-right: 2em;
  font-weight: bold;
  padding: 8px 30px;
}

.marqee > ul > li a {
  width: 100%;
  margin: 0 auto;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  -webkit-animation: colorchange 10s infinite alternate;
}

.marqee > ul > li > a:nth-child(1) {
  color: #543595;
}

.marqee > ul > li > a:nth-child(1):before {
  content: "\f105";
  font-family: 'FontAwesome';
}

@-webkit-keyframes marqee {
  0% {
    left: 100%;
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  100% {
    left: 0;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@keyframes marqee {
  0% {
    left: 100%;
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  100% {
    left: 0;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@-webkit-keyframes colorchange {
  0% {
    color: #ff8e01;
  }
  10% {
    color: #543595;
  }
  20% {
    color: #ff8e01;
  }
  30% {
    color: #543595;
  }
  40% {
    color: #ff8e01;
  }
  50% {
    color: #543595;
  }
  60% {
    color: #ff8e01;
  }
  70% {
    color: #543595;
  }
  80% {
    color: #ff8e01;
  }
  90% {
    color: #543595;
  }
  100% {
    color: #ff8e01;
  }
}
