/* 

Urbanic Template 

http://www.templatemo.com/tm-395-urbanic

*/

body, html { overflow-x:hidden; }

* {
      box-sizing: border-box;
    }

body {
    background-color: #ffffff;
    font-family:  'Microsoft JhengHei', 'Open Sans',  Arial, Helvetice Neue, sans-serif;
    font-size: 15px;
	margin: 0;
	/*font-weight: 300; */
	font-style: normal; 
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6, span, p { font-family: Microsoft JhengHei, 'Open Sans', Arial, Helvetice Neue, sans-serif; }

/** {
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}*/

.img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
	margin:0 auto;
}

.hidden-lg-up-bg, .hidden-lg-up, .hidden-lg-up2{
	margin:0 auto;
}

.templatemo-welcome > table, th, td {
	border: 2px solid;
}

.templatemo-welcome > table, ul {
	margin-left: -1.5em;
}

.templatemo-welcome > table, li {
	color: black;
	font-weight: 700;
}

table.b2024 {
	border: 2px solid #305494;
}

th.b2024 {
	border: 2px solid #305494;
}

td.b2024 {
	border: 2px solid #305494;
}

#footer {
  width: 100%;
  padding: 1em 0;
  /*display: flex;*/
  justify-content: center;
}

.footer-content {
  width: 90%;
  max-width: 1680px;
  display: flex;
}

.footer-left {
  font-size: 1.7em;	
  width: 85%;
  color: #434343;
  line-height: 150%;
  font-weight: bold;
  text-align: left;
}

.footer-right {
  width: 15%;
  color: white;
  text-align: right;
}

area {
	outline: none;
	border: 0px;
}
img {
	border: 0px;
}


.templatemo_clear {
	clear: both;
}

.height30 {
	height: 30px;
}

/* ------ Carousel ----- */

#templatemo-carousel {
    /*background: url('../images/banner.jpg') no-repeat center center; */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
    margin-bottom:0;
    height: 300px;
}

#templatemo-carousel .carousel-caption {
    z-index: 10;
}

#templatemo-carousel .item {
    height: 300px;
}
#templatemo-carousel .carousel-inner > .item > img {
    position: absolute;
    min-width: 100%;
    height: 300px;
    left: 0;
    top: 0;
}

/*手機版顯示字體設定*/

@media (max-width:767px){.hidden-md-computer{display:none!important} .hidden-table-computer{display:none!important}}

@media (min-width:768px){.hidden-md-mobile-footer{display:none!important} .hidden-table-mobile{display:none!important}}

@media (max-width:497px){.hidden-md-mobile{display:none!important} .hidden-md-mobile-footer{display:none!important}}

@media (min-width:498px){.hidden-md-mobile-s{display:none!important}}


/*手機版顯示字體設定*/

@media (min-width: 768px) {
    #templatemo-carousel .carousel-caption p {
        margin-bottom: 20px;
        line-height: 1.4;
        font-size: 21px;
    }

    #templatemo-carousel .carousel-caption {
        padding-bottom: 140px;
        right: 20%;
        left: 20%;
    }
}

@media (max-width: 768px) {
    #templatemo-carousel .carousel-caption {
        padding-bottom: 120px;
    }
}

@media (max-width: 1024px) {
    #templatemo-carousel {
        background: url('../images/templatemo_carousel_bg_s.jpg') no-repeat center center; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        overflow-x: hidden;
        margin-bottom:0;
        height: 500px;
    }
}

/* ------ End of Carousel ----- */

/* ------ Curtis ------ */

#about, #online_class, #free_test {
  padding: 30px 0px 0px;
  /*border-bottom: 1px solid #eee;*/
}

#about p,
#free_deliver p,
#free_test p,
#online_class p,
#lessons p {
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.5px;
}

.section-heading p {
  font-size: 17px;
  color: #777;
  text-align: left;
}

#lessons h2, #free_test h2, #online_class h2 {
  text-align: left;
  font-size: 40px;
  font-weight: 600;
  color: #7fcf9c;
  margin-bottom: 1em;
}

a.main-button, a.main-button-disabled {
  border-radius: 20px;
  padding: 8px 10px;
  background-color: rgba(224, 153, 47, 0.9);
  color: #fff;
  letter-spacing: 0.25px;
  line-height: 1.2em;
  transition: all 0.3s ease 0s;
}

.readmore {
  bottom: 1em;
}

.download {
  text-align: center;
  display: inline-block;
}

.service-item {
  background: #fff;
  font-size: 1.5em;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  min-height: 300px;
  transition: all 0.3s ease;
}

.service-item02 {
  background: #fff;
  font-size: 1.5em;
  /*padding: 40px 30px;*/
  border-radius: 10px;
  text-align: center;
  min-height: 250px;
  transition: all 0.3s ease;
}

.service-item03 {
  background: #fff;
  font-size: 1.5em;
  /*padding: 40px 30px;*/
  border-radius: 10px;
  text-align: center;
  min-height: 150px;
  transition: all 0.3s ease;
}

.service-item a.main-button {
  margin: 20px 5px 0 5px;
  display: inline-block;
}

.link-button {
  display: inline-block;
  width: 250px;
  padding: 16px;
  margin: 10px;
  border: 2px solid #005BAC;
  border-radius: 10px;
  background-color: #ebf3fa;
  color: #005BAC;
  font-size: 1.5em;
  text-align: center;
  line-height: 1.6;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.link-button:hover {
  background-color: #005BAC;
  text-decoration: none;
  color: white;
}

.GeneratedMarquee {
font-family:Microsoft JhengHei, 'Open Sans',  Arial, Helvetice Neue, sans-serif;
font-size:3em;
line-height:1.2em;
color:#0063ba;
padding-top:1em;
width:80%;
}

.GeneratedMarquee-m {
font-family:Microsoft JhengHei, 'Open Sans',  Arial, Helvetice Neue, sans-serif;
font-size:2em;
line-height:1.2em;
color:#0063ba;
padding-top:1em;
width:80%;
}

.GeneratedMarquee-s {
font-family:'Microsoft JhengHei', 'Open Sans',  Arial, Helvetice Neue, sans-serif;
font-size:1.5em;
line-height:1.2em;
color:#0063ba;
padding-top:1em;
width:80%;
}

.title-item {
	font-size: 30px;
	text-align: center;
	vertical-align: bottom;
	font-weight: 400;
	font-style: normal;
	font-family: 'Microsoft JhengHei', serif;	
}

.font6
	{color:#4F6228;
	font-size:22.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Wingdings;
	}
	
.font7
	{color:#4F6228;
	font-size:28.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Wingdings;
	}

.accordion-item {
  font-size: 30px;	
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  color: #ffffff;	
  background-color: #005BAC;
  padding: 1em;
  font-weight: bold;
  cursor: pointer;
}

.accordion-body {
  padding: 1em;
  background-color: #EBF3FA;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

.calendarLogo {
		  width: 30px;
	  }

.scheduleTD1 {
	font-size:2em;
	vertical-align:middle;
	color:#005BAC;
	padding-left: 0.5em;
	border-color: #ffffff;
}

.scheduleTR1 {
	background-color: #EBF3FA;
}

.scheduleTD2 {
	font-size:2em;
	vertical-align:middle;
	color:#4F6228;
	padding-left: 0.5em;
	border-color: #ffffff;
}

.scheduleTR2 {
	background-color: #FCFAF2;
}

.scheduleTD3 {
	font-size:2em;
	vertical-align:middle;
	color:#77AAAD;
	padding-left: 0.5em;
	border-color:#D8E6E7;
}

.scheduleTR3 {
	background-color: #ffffff;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #005BAC;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #003f7d;
}

/* 導覽列外框 */
    .navbar-custom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: relative;
    }

    /* 左邊 logo */
    .navbar-custom .logo img {
      height: 40px;
    }

    /* 右邊選單 */
    .navbar-custom ul {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .navbar-custom li a {
	  font-size: 1.5em;
      display: block;
      padding: 10px 15px;
      color: #333333;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s;
    }

    .navbar-custom li a:hover {
      background-color: #ffe599;
    }

    /* 漢堡按鈕 */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
	  margin: 0;
	  padding: 0;
    }

    .hamburger span {
      height: 3px;
      width: 25px;
      background: #333333;
      margin: 4px 0;
      transition: 0.4s;
    }

    /* 手機選單樣式 */
    @media (max-width: 768px) {
      .navbar-custom ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffe599;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 99;
      }

      .navbar-custom ul.show {
        display: flex;
      }

      .hamburger {
        display: flex;
      }	  
    }

/* ------ End of Curtis ------ */

/* ------ Welcome & Slogna ------ */
.templatemo-welcome {
    min-height: 230px;
}

.templatemo-slogan {
    font-family:  'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 42px;
    margin: 60px 0;
    color: #333333;
}

.templatemo-service {

}

.templatemo-service-item {
    font-family:  'Open Sans', sans-serif;
    margin-bottom: 10px;
    font-size: 20px;
	text-align: center;
}


.templatemo-service-item p {
    font-weight: lighter; 
    text-align: justify; 
    margin-top: 25px;
    font-size: 14px;
    color: #929292;
}

.subheader {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-top: 12px;
    font-size: 12px;
    color: #e67e22;
}


.btn-orange {
    background-color: #f2e567;
    border-bottom:2px solid #e1cc00;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color:#777777;
}

.btn-orange:hover, .btn-orange:focus, .btn-orange:active, .btn-orange.active, .open .dropdown-toggle.btn-orange {
    background-color: #e1cc00;
    color:#ffffff;
}

.btn-green {
    background-color:#2ecc71;
    border-bottom:2px solid #27ae60;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color:#ffffff;
}

.btn-green:hover, .btn-green:focus, .btn-green:active, .btn-green.active, .open .dropdown-toggle.btn-green {
    background-color: #27ae60;
    color:#ffffff;
}

a:hover {
    color: #F2E567;
}

.templatemo-service-item-header {
    margin-left: -10px; 
    padding: 16px 20px 20px; 
    font-weight: bold;
    display: inline-block;
}

.templatemo-header-orange {
    background-color:#ff7600;
    min-width: 298px;
    height: 67px;
    color: #fff; 

}

.team_hr {
    border: 1px solid #fff; 
    width: 39.5%; 
    float: left;
}

.team_hr_left {
    margin-right: 30px;
    margin-left: 15px; 
}

.team_hr_right {
    margin-left: 30px;
}

.hr_gray {
    border: 1px solid #cccccc; 
}

.templatemo-team {
    background: url('../images/background.png') ; 
    font-family:  'Open Sans', sans-serif;
    min-height:590px;
    color:#ffffff;

}
.templatemo-line-header {
    margin-top:100px;
    margin-bottom:80px;
}

.member-thumb:hover .thumb-overlay {
    transition: all 0.3s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}

.member-thumb {
    position: relative;
    overflow: hidden;
}

.member-thumb .thumb-overlay {
    background-color: rgba(220, 157, 102, 0.8);
    position: absolute;
    visibility: hidden;
    padding-top: 35%;
    padding-left: 25%;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}

.thumb-overlay a {
    float:left;
    margin-right: 5px;
}



.team-inner {
    margin-top:10px;
}

.team-inner-header {
    font-family: 'Open Sans', sans-serif;
    font-weight:600;
    font-size:16px;
}

.team-inner-subtext {
    font-weight:normal;
    font-size:12px;
}

.row_team {
    margin-left:-50px;
    margin-top:70px;
}

.row_team li {
    list-style: none;
}

.templatemo-project-box {
    background-size: cover;
    position: relative;
    overflow: hidden;
    cursor:pointer;
    height: 200px;
    width: 200px;
}

.templatemo-project-box:hover .project-overlay {
    transition: all 0.3s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}

.project-overlay {
    background : rgba(0,0,0,.75);
    border : 2px solid #ff7600;
    visibility: hidden;
    position: absolute;
    text-align:center;
    padding-top:40px;
    color: #ffffff;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}


.project-overlay hr {
    width : 70%;
	
}

.templatemo-project-gallery li {
    margin:15px;
}

.txt_darkgrey {
    color: #333333;
}

.txt_orange {
    color: #e67e22;
}

.txt_slogan {
    font-size:14px; 
    color:#929292;
}

.templatemo-line-header span {
    font-size: 18px; 
    float :left; 
    margin-top: 10px;
}

.team_box  div {
    text-align: center; 
    padding-top: 100px;
}

.span_blog {
    margin-bottom: 80px;
}

.blog_post {
    /*color: #333333; */
	color: #4F6228;
    padding: 10px;
}

.blog_header {
    font-weight: bold; 
    font-size: 16px; 
}

.blog_text {
    text-align: justify; 
    font-size: 14px; 
    margin-top: 20px;
}

#templatemo-contact {
	margin-top:100px; 
	border-top: 1px solid #cccccc; 
	font-size:14px;
}
.templatemo-contact-map {
    margin-bottom: 15px;
    height: 378px;

}

.head_contact {
    padding-bottom:80px; 
    margin-bottom:0;
}

.contact_right img {
	margin-right:5px;
}

.contact_right form {
	padding-left:15px;
	padding-right:15px
}

.tweet_txt {
	border-left:2px solid #ffffff; 
	min-height:160px;
}

.twitter_user {
	color: #FFFF33; 
	font-size: 14px;
	float: right;
}

.templatemo-partners {
	border-top: 2px solid #cccccc;
}

.templatemo-partners .templatemo-partner-item {
    margin-bottom: 5px;
}

.templatemo-footer {
	border-top: 2px solid #cccccc; 
	margin-top: 100px;
}

.footer_container {
	margin-top:60px; 
	margin-bottom:20px;
}

.footer_bottom_content {
	margin: auto;
	margin-bottom: 30px;
	font-size: 14px;
	color:#333333;
}

.social-icon-fb {
    background: url('../images/social-icon-fb.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-fb {
    background: url('../images/social-icon-fb-over.png') no-repeat;
}

.social-icon-rss {
    background: url('../images/social-icon-rss.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-rss {
    background: url('../images/social-icon-rss-over.png') no-repeat;
}

.social-icon-twitter {
    background: url('../images/social-icon-twitter.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-twitter {
    background: url('../images/social-icon-twitter-over.png') no-repeat;
}

.social-icon-linkedin {
    background: url('../images/social-icon-linkedin.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-linkedin {
    background: url('../images/social-icon-linkedin-over.png') no-repeat;
}

.social-icon-dribbble {
    background: url('../images/social-icon-dribbble.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-dribbble {
    background: url('../images/social-icon-dribbble-over.png') no-repeat;
}

ul.templatemo-project-gallery  li  a img:hover {
    border: 3px solid #ff7600;
}

.templatemo-gallery-category a {
	color:#333333; 
}

.templatemo-gallery-category a.active {
	color:#e67e22; 
	text-decoration:none;
}

.templatemo-gallery-category a:focus {
	color:#e67e22;
	text-decoration:none;	
}

.templatemo-gallery-category a:hover {
	color:#e67e22; 
	text-decoration:none;
}

.link_orange:hover {
    text-decoration:none;
}
.templatemo-project-gallery {         
    margin:0 0 0 0;
    margin-top:30px;
    margin-left: -40px;
}
.templatemo-project-gallery li {     
    list-style:none;
    margin-bottom:25px;           
}
.templatemo-project-gallery li img {
  cursor: pointer;
}

.templatemo-tweets {
    background-color: #8996a0;
    min-height:200px;
    font-family:  'Open Sans', sans-serif;
    font-size:20px;
    color:#ffffff;
    margin-top:100px;
}

.form-control {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-style: italic;
}

.btn_loadmore {
	margin-top:30px; 
	margin-bottom:80px;
}

.blog_box {
	margin-left: -12px;
}


@media (min-width:1200px) {
    #footer{
		width: 1140px;
	}
}

@media (max-width:1200px) {
    #footer{
		width: 100%;
	}
}

@media (min-width:991px) and (max-width:1200px) {
    .templatemo-project-box, .project-overlay {
        height:170px;
        width:170px;
    }

    .templatemo-project-gallery {
        margin-left: -70px;
    }

    .templatemo-service-item-header {
        padding: 16px 10px 20px;
    }

    .templatemo-header-orange {
        min-width: 230px;
    }

    .team_box,  .team_box_over {
        height:220px;
        width:220px;
    }
	
}


@media (max-width:991px) {
    .team-inner {
        margin-top: 20px;
        margin-bottom: 20px;
    }
	
    .templatemo-btn-read-more {
        float:right;
        margin-bottom :40px; 
    }
	:target:before {
		content: "";
		display: block;
		height: 80px;
	}
}


@media (min-width:768px) and (max-width:990px) {
    .member-thumb .thumb-overlay {
        padding-left: 30%;
    }
    .templatemo-project-box , .project-overlay {
       height:130px;
       width:130px;
       padding-top: 0px;
    }

    .templatemo-project-gallery {
       margin-left: 10px; 
    }

    .blog_box{
       /*margin-right: -140px;*/
    }
}

@media (min-width:768px) and (max-width:1024px) {
	.container {
		width: 100%;
	}
}

@media (max-width: 768px) {
    .member-thumb .thumb-overlay {
        padding-left: 40%;
       
    }
    .templatemo-btn-read-more {
            float:right;
            margin-bottom :40px; 
      }
}

@media (max-width: 656px){
	h2, .h2 {
		font-size: 20px;
	}
}

@media (max-width: 380px) {
    .member-thumb .thumb-overlay {
            padding-left: 30%;

    }
	.templatemo-service-item-header {
		font-size: 16px;
		
		padding: 23px 10px 22px;
	}
	.templatemo-header-orange {
		min-width: 0px;
	}
	
}

@media (min-width:991px) and (max-width: 1200px) {
	 .team_hr {
		width: 37%; 
	}
}

@media (min-width:683px) and ( max-width: 991px) {
	 .team_hr {
		width: 33%;
	}
}

@media (min-width:585px) and ( max-width: 683px) {
        .member-thumb .thumb-overlay {
            padding-left: 25%;

        }
	 .team_hr {
		width: 30%;
	}
}

@media (min-width:536px) and ( max-width: 585px) {
	 .team_hr {
		width: 28%;
	}
}

@media  (min-width:410px) and  ( max-width: 536px) {
	 .team_hr {
		width: 21%;
	}
}

@media  ( max-width: 410px) {
	 .team_hr {
		width: 11%;
	}
}

@media (max-width:991px){
	.hidden-lg-up-bg{
		display:none!important
	}
}

@media (min-width:992px){
/*@media (min-width:1386px){*/
	.hidden-lg-up{
		display:none!important
	}
}

@media (min-width:498px){
	.hidden-lg-up2{
		display:none!important
	}
}
	
@media (max-width:497px){
	.hidden-lg-up{
		display:none!important
	}
}