﻿body {
  background-image: url("../images/bg.jpg");
  background-repeat: repeat-x;
  background-attachment: fixed;
  background-position: 0% 100%;
}

.navbar-toggler span {
  display: block;
  background-color: #fff;
  height: 3px;
  width: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  position: relative;
  left: 0;
  opacity: 1;
  transition: all 0.35s ease-out;
  transform-origin: center left;
}
.navbar-toggler span:nth-child(1) {
  transform: translate(0%, 0%) rotate(0deg);
}
.navbar-toggler span:nth-child(2) {
  opacity: 1;
}
.navbar-toggler span:nth-child(3) {
  transform: translate(0%, 0%) rotate(0deg);
}
.navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: translate(15%, -33%) rotate(45deg);
}
.navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: translate(15%, 33%) rotate(-45deg);
}
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar {
  background: radial-gradient(circle farthest-corner at left, #0575e6, #91eae4, #86a8e7);
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1) !important;
}
.navbar-dark .navbar-nav .nav-link {
  padding: 30px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  transition: .5s;
}
.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 14px;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  background: rgba(255,255,255,0.2);
@media (max-width:991.98px) {
  background: transparent;
  }
}
@media (max-width: 991.98px) {
.navbar-dark .navbar-nav .nav-link  {
  padding: 10px;
  }
}

.dropdown-header {
  color: #696969; /*灰*/
}
.dropdown-menu {
  background: rgba(255,255,255,0.9);
  border: none !important;
@media (max-width:991.98px) {
  background: transparent !important;
  border: none !important;
  }
}
.dropdown-item {
  color: #2F4F4F; /*darkslategrey*/
@media (max-width:991.98px) {
  color: #F5F5F5 !important; /*whitesmoke*/
  }
}
a.dropdown-item:hover {
  background-color: rgba(77, 130, 209,0.2); /*藍*/
  color: #2F4F4F; /*darkslategrey*/
@media (max-width:991.98px) {
  background: transparent !important;
  }
}

/*--------------------------------------------------------------------------------*/

hr {
    border: 0;
    padding-top: 2px;
    background: linear-gradient(to right, transparent, #696969, transparent);
}

.desktop-img {
  display: block;
}
.mobile-img {
  display: none;
}
@media (max-width: 700px) {
.desktop-img {
  display: none !important;
  }
.mobile-img {
  display: block;
  }
}

.carousel-indicators > button {
  width: 25px !important;
  height: 5px !important;
  background-color: #4d82d1 !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #A9A9A9; /*DarkGray*/
  border-radius: 15px;
}
.carousel-control-prev-icon {
  position: absolute;
  left: 10px;
}
.carousel-control-next-icon {
  position: absolute;
  right: 10px;
}
.carousel-indicators {
  bottom: -20px;
}

.owl-theme .item {
  height: auto;
  background:  #f0f0f0; /*灰藍*/
  margin: 0rem;
  padding: 0.5rem;
}
.btns{
  display: table;
  margin: 5px auto;
}
.customNextBtn, 
.customPreviousBtn {
  float: right;
  background: #bbbfc7;
  color: #fff;
  padding: 8px;
  border-radius:4px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
}
.customNextBtn:hover, 
.customPreviousBtn:hover {
  background: #4d82d1;
}
.zoom {
  transition: transform .2s; /* Animation */
  margin: 0 auto;
}
.zoom:hover {
  transform: scale(1.1);
  transition: all 0.5s ease-in-out;
}

/*--------------------------------------------------------------------------------*/

.courses {
  padding: 50px 0;
  background: #fafafa;
}
.courses h2 {
  margin: 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #504f50;
}
.courses p {
  margin: 18px auto 34px auto;
  font-size: 1 rem;
  text-align: center;
  color: #504f50;
  width: 100%;
}
.courses a:link,
.courses a:visited {
  color: #696969; /*灰*/
  text-decoration: none;
}
.courses a:hover,
.courses a:active {
  color: #4d82d1; /*藍*/
  text-decoration: none;
}

.course-intro {
  width: auto; 
  margin: auto; 
  text-align: center; 
  padding: 20px 0; 
  background: #ffffff;
  box-shadow: 1px 1px 4px #aaaaaa;
}
.course-intro h2 {
  position: relative; 
  margin: 0 -25px;
  padding:15px 0;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: #FFFFFF; 
  text-shadow: 1px 1px 0px #1A5D6E; 
  background: radial-gradient(circle farthest-corner at left, #0575e6, #91eae4, #86a8e7); 
  box-shadow: 0 0 10px #aaaaaa;
}
.course-intro h2:before {
  content: ""; 
  display: block; 
  position: absolute; 
  bottom: -25px; 
  width: 0; 
  height: 0; 
  border-style: solid; 
  border-color: #045fba transparent; /*深藍*/
  border-width: 25px 0 0 25px; 
  left: 0;
}
.course-intro p {
  margin: 0;
  padding: 22px;
  font-size: 1rem;
  color: #504f50; /*深灰*/
  text-align: left;
  text-indent: 2em;
}

.book {
  background:url("../images/book-icon.png") no-repeat 0px 0px;
  width:45px;
  height:45px;
  display:block;
  margin:0 auto;
}
.strip {
  background: #c2c2c2;
  padding: 1px;
  width: 40%;
  margin: 0 auto;
}

.more {
  padding:24px 0 20px 0;
}
.more a:link,
.more a:visited  {
  color: #ffffff;
}
.more a {
  background: #bbbfc7; /*灰藍*/
  padding:12px 25px;
  border-radius:4px;
  font-size: 14px;
  color: #ffffff;
  text-decoration:none;
}

.course-image {
  border: 1px solid #e8e8e8;
  padding: 15px; /*灰白之間距離*/
  background: linear-gradient(to bottom, #f0f0f0, #f8f8f8);
}
.course-image:hover{
  background: linear-gradient(#F0F0F0, #E0E0E0); /*漸變灰*/
  transition: .5s all;
  -webkit-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  -moz-transition: .5s all;
}
.course-image:hover div.course-intro p{
  color: #696969; /*文字淺灰*/
  transition: .5s all;
  -webkit-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  -moz-transition: .5s all;
}
.papers:hover div.more a,
.course-image:hover div.more a{
  background: #4d82d1; /*按鈕變藍*/
  color: #fff;
  text-decoration:none;
  transition: .5s all;
  -webkit-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  -moz-transition: .5s all;
}
.course-image:hover div.book{
  background:url("../images/book-icon.png") no-repeat 0px -45px;
  transition: .5s all;
  -webkit-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  -moz-transition: .5s all;
}
.course-image:hover div.strip{
  background: #5c5959;
  transition: .5s all;
  -webkit-transition: .5s all;
  -o-transition: .5s all;
  -ms-transition: .5s all;
  -moz-transition: .5s all;
}

/*-------------------------------------papers------------------------------------*/

.papers,.papers:before,.papers:after {
  background-color:#fff;
  border:1px solid #ccc;
  box-shadow:inset 0 0 30px rgba(0,0,0,0.1),0px 1px 3px rgba(0,0,0,0.2);
}
.papers {
  position:relative;
  width:100%;
  padding:10px;
  margin:0px auto;
  margin-top: 30px;
  font-size: 1rem;
}
.papers:before,.papers:after {
  content:"";
  position:absolute;
  left:-10px;
  top:10px;
  width:100%;
  height:100%;
  -webkit-transform:rotateZ(0deg);
  -o-transform:rotate(0deg);
  transform:rotateZ(0deg);
  z-index:-1;
}

/*-------------------------------------ribbon-------------------------------------*/

.papers h1 {
  position: relative;
  margin: 10px 30px 30px 30px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 1px 0px #1A5D6E;
  box-shadow: 1px 2px 4px #aaaaaa;
}
.papers h1:before,
.papers h1:after {
  position: absolute;
  z-index: 0;
  bottom: -10px;
  display: block;
  content: '';
  border: 1em solid #046bd4;
}
.papers h1:before {
  left: -27px;
  border-left-width: 15px;
  border-left-color: transparent;
}
.papers h1:after {
  right: -27px;
  border-right-width: 15px;
  border-right-color: transparent;
}
.papers h1 span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1rem 2rem;
  color: #fff;
  background: radial-gradient(circle farthest-corner at left, #0575e6, #91eae4, #86a8e7, #0575e6);
}
.papers h1 span:before,
.papers h1 span:after {
  position: absolute;
  bottom: -10px;
  display: block;
  width: 10px;
  height: 10px;
  content: '';
  border-style: solid;
  border-color: #045fba transparent transparent transparent; /*深藍*/
}
.papers h1 span:before {
  left: 0;
  border-width: 10px 0 0 10px;
}
.papers h1 span:after {
  right: 0;
  border-width: 10px 10px 0 0;
}

/*--------------------------------------------------------------------------------*/

.papers h2 {
  position: relative;
  display: inline-block;
  margin: 0.5rem 0 0.5rem -21px;
  padding: 0.5rem 1.5rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 1px 0px #1A5D6E;
  border-radius: 0 5px 5px 0;
  background-image: linear-gradient(to right, #0575e6 2px, #209cff 0%, #91eae4 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(#209cff), to(#91eae4));
  background-image: -webkit-linear-gradient(left, #0575e6 2px, #209cff 0%, #91eae4 100%);
  box-shadow: 1px 1px 4px #aaaaaa;
}
.papers h2:before {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  content: '';
  border-top: 10px solid #045fba; /*深藍*/
  border-left: 10px solid transparent;
}

.papers p {
  margin: 0;
  padding: 5px;
  font-size: 16px;
  color: #504f50; /*深灰*/
  text-align: left;
  text-indent: 0em;
}
.papers img {
  max-width:100%;
  margin-bottom: 5px;
}

.papers h5 {
  color: #4d82d1;
  width: 100%;
}

.papers h7 {
  font-size: 15px;
  margin-left: 1rem;
}

.papers a:link,
.papers a:visited,
.sidebar a:link,
.sidebar a:visited {
  color: #333333; /*黑*/
  text-decoration: none;
}
.papers a:hover,
.papers a:active,
.sidebar a:hover,
.sidebar a:active {
  color: #4d82d1; /*藍*/
  text-decoration: none;
}

/*--------------------------------------------------------------------------------*/

.sidebar {
  font-size: 15px;
  margin: 52px 0px 20px 0px;
}
.sidebar h4 {
  margin: 0rem 0.5rem;
  padding: 1rem 2rem;
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 1px 1px 0px #1A5D6E;
  background-image: linear-gradient(to right, #0575e6 1%, #209cff 20%, #91eae4 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(#209cff), to(#91eae4));
  background-image: -webkit-linear-gradient(left, #0575e6 1%, #209cff 20%, #91eae4 100%);
  box-shadow: 1px 1px 4px #aaaaaa;
}

/*--------------------------------------------------------------------------------*/

.table {
  font-size: 15px;
}
.table-blue {
  font-size: 1rem;
  text-align: center;
  color: white !important;
  text-shadow: 1px 1px 1px #919191;
  border:1px inset #aaaaaa;
  background:linear-gradient(to bottom, #91eae4, #86a8e7);
}
.table-responsive,
.navbar-dark .navbar-nav .nav-link {
  white-space: nowrap;
}

/*--------------------------------------------------------------------------------*/

.nav-tabs .nav-item .nav-link {
  background: linear-gradient(#F0F0F0, #E0E0E0);
  color: #696969;
}
.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link:hover {
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 1px #919191;
  background: linear-gradient(#91eae4, #86a8e7);
}
.tab-content {
  border: 0px solid #dee2e6;
  border-top: transparent;
  padding: 1px;
}
.tab-content .tab-pane {
  background-color: #fff;
  text-align: center;
}


/*--------------------------------------------------------------------------------*/

.blue {
  color:#4d82d1;
}
.red {
  color:#db350f;
}

:root {
  scroll-padding-top: 6rem;
}

html {
  scroll-behavior: smooth;
}

.sidebar li,
.course-intro li {
  list-style-type: "\1F4C3";
  line-height: 0.2rem;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 0;
  z-index: 99;
  color: white !important;
}

/*--------------------------------------------------------------------------------*/

.schedule {
  padding: 20px 0 5px 0;
  background: transparent;
}
.schedule h3 {
  margin: 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #504f50;
}
.schedule p {
  margin: 18px auto 34px auto;
  font-size: 1 rem;
  text-align: center;
  color: #504f50;
  width: 100%;
}

/*--------------------------------------------------------------------------------*/

footer {
  margin-top: 50px;
  padding: 50px 0px;
  font-size:14px;
  background: linear-gradient(#e8e8e8, #f8f8f8, #f5f5f5, #d8d8d8);
  box-shadow: 0px -1px 5px 2px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
}
footer a:link,
footer a:visited {
  color: #504f50; /*灰*/
  text-decoration: none;
}
footer a:hover,
footer a:active {
  color: #4d82d1; /*藍*/
  text-decoration: none;
}

/*--------------------------------------------------------------------------------*/

.btn-blue,
a.btn-blue {
  display: inline-block;
  margin: 0.5rem 0 0.5rem 0;
  padding: 0.5rem 1.5rem;
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 1px 0px #1A5D6E;
  border-radius: 5px;
  background: linear-gradient(#91eae4, #86a8e7);
  box-shadow: 1px 1px 3px #aaaaaa;
}
.btn-blue:hover,
a.btn-blue:hover {
  color: #fff;
  background: linear-gradient(#86a8e7, #91eae4);
}
.btn-bluegrey,
 select option:checked {
  background-color: #4d82d1 !important;
  color: white !important;
}
.btn-twitter {
  color: white !important;
  background-color: #000;
}
.btn-facebook {
  color: white !important;
  background-color: #1877F2;
}
.btn-instagram {
  color: white !important; 
  background: radial-gradient(circle at 20% 108%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 100%);
}
.btn-youtube {
  color: white !important; 
  background: #FF0000;
}
.fa.fa-twitter{
  font-family:sans-serif;
}
.fa.fa-twitter::before{
  content:"𝕏";
  font-size:2.2rem;
}

.map {
  overflow: auto;
}

.whats-app {
  position: fixed;
  width: 48px;
  height: 48px;
  bottom: 30px;
  left:0;
  right:unset;
  background-color: #25d366;
  color: white !important;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #c7c7c7;
  z-index: 100;
}

.my-float {
  margin: 10px;
}