body {
  /*background: url(../img/bg.jpg) no-repeat center center fixed;*/
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
}

p {
  font-size: 1.2em;
  line-height: 1.5;
  /*color: #000;*/
  font-family: "Calibri", "Open Sans", sans-serif;
}

hr {
  border-color: #999999;
  max-width: 400px;
}

body {
  /*border-top:5px solid #C9BC9C;*/
  background: url(/img/bg/white_wall_hash.png) 0 0 repeat;
  position: relative;
  background-size: inherit;
}
/*
body:before{
    content: " ";
    background: -webkit-linear-gradient(top, #aaa, #aaa ,#F0ECDB 50%);
    background: -moz-linear-gradient(top, #aaa, #aaa ,#F0ECDB 50%);
    background: -o-linear-gradient(top, #aaa, #aaa ,#F0ECDB 50%);
    background: linear-gradient(top, #aaa, #aaa ,#F0ECDB 50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: -1;
}
*/

.brand,
.address-bar {
  display: none;
}

.navbar {
  z-index: 100;
}
.navbar-brand {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
}

.navbar-nav {
  text-transform: uppercase;
  letter-spacing: 0px;
  font-weight: 400;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a {
  transition: all 0.3s ease 0s;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:active {
  background-color: #868f58;
  color: #000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.sub_main_content section {
  padding-top: 30px;
}
.sub_main_content h3 {
  border-bottom: 2px solid #868f58;
  padding-bottom: 2px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #868f58;
}

.img-full {
  min-width: 100%;
}

.brand-name {
  font-weight: 700;
  font-size: 1.5em;
  text-transform: capitalize;
  letter-spacing: normal;
}

.tagline-divider {
  margin: 15px auto 3px;
  border-color: #999999;
  max-width: 250px;
}

.box {
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
  /*
  margin-bottom: 20px;
  padding: 0 0 20px 0;
  */
}

.carousel-inner > .item {
  max-height: 300px;
}

.intro-text {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25em;
  font-weight: 400;
}

.img-border {
  float: none;
  margin: 0 auto 0;
  border: #999999 solid 1px;
}

.img-left {
  float: left;
  margin: 0 auto 0;
}

footer {
  /*
  background: #fff;
  background: rgba(255,255,255,0.9);
  */
  margin-top: 20px;
}

footer .container {
  margin-top: 5px;
  /*border-top:2px solid rgba(201, 188, 156, 0.8);*/
}

footer .footer_cont {
  /*background-color:#C9BC9C;*/
}
footer .footer_cont p,
footer .footer_cont div {
  /* margin: 0; */
  /* padding: 15px 0; */
  /* font-size:0.9em; */
}

.container {
  overflow-x: hidden;
  transition: all 0.3s ease 0s;
}

.headline {
  /*background-color: #FFFFFF;*/
  color: #000000;
  font-family: "Open Sans", sans-serif;
  padding: 5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-top: 5px;
}
.headline a {
  text-shadow: none;
}

.headline .headline_title {
  display: inline-block !important;
  float: left;
}

.headline .slideText:before {
  content: "NEWS：";
  display: inline-block !important;
  float: left;
  color: #0e2801;
}

.slideText {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 1.5em;
  float: left;
  color: #333;
}

.slideText ul,
.slideText li {
  margin: 0;
  /*padding: 0 0 0 50px;*/
  list-style: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slideText ul {
  padding: 0;
  position: relative;
  /*margin-top:2px;*/
}

/*.slideText li {
 text-align: center;
}*/

.slideText li a {
  overflow: hidden;
  font-size: 1em;
  height: 1.5em;
  line-height: 1.5em;
  text-decoration: none;
}

.slideText li a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.main_content .item_caption {
  border: 2px solid #c9bc9c;
}

.item_caption .thumb_shadow {
  /*margin:0 10px 0 0;*/
  max-width: 38%;
}
.item_caption > a > .thumb_shadow {
  margin: 0 10px 10px 10px;
  max-width: 38%;
  box-shadow: none;
}

#environment .thumb_shadow {
  /*margin:0 10px 0 0;*/
  max-width: 30%;
}

.main_content .item_caption > h3 {
  /*font-family: 'Cantata One', '微軟正黑體',serif;*/
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2em;
  letter-spacing: 1px;
  color: #fff;
  background-color: #c9bc9c;
  margin-top: 0;
  position: relative;
  line-height: 2em;
  text-align: center;
}

.main_content .item_caption > h3:before,
.main_content .item_caption > h3:after {
  background-image: url("/img/f_icon.png");
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  display: inline-block;
  height: 2em;
  margin-right: 5px;
  vertical-align: middle;
  width: 2em;
  position: absolute;
}

.main_content .item_caption > h3:before {
  background-position: left center;
  left: 0;
}

.main_content .item_caption > h3:after {
  background-position: right center;
  right: 0;
}

.item_caption > p {
  /*font-family: 'Open Sans',sans-serif;*/
  font-family: "Calibri", "Open Sans", sans-serif;
  padding: 0 10px;
  margin-bottom: 0px;
}

.main_content > div {
  margin-top: 5px;
  padding: 0 3px;
}

.fix_menu {
  width: 100%;
  position: fixed;
  top: -70px;
  transition: top 0.5s ease 0s;
  border-bottom: 5px solid #868f58 !important;
  background-color: rgba(246, 246, 246, 1) !important;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
  -ms-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
  -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

.sub_menu.fix_menu {
  background-color: transparent !important;
}

.fix_menu .navbar-nav {
  float: none !important;
}

.move_menu {
  top: 0px;
}

.sub_main_content section h3 {
  font-size: 1.5em;
  padding-left: 10px;
  position: relative;
}

.sub_main_content section > h3:before {
  content: "";
  display: none;
  /*
    background-image: url("/img/f_icon_b.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    height: 2em;
    margin-bottom: -3px;
    margin-right: 5px;
    vertical-align: middle;
    width: 2em;
    */
}

.sub_main_content section.item_caption {
  /*margin-bottom:20px;*/
}

.sub_main_content section.item_caption article,
.sub_main_content section.item_caption div.listitem {
  padding-left: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
}
.sub_main_content section.item_caption article:last-child,
.sub_main_content section.item_caption div.listitem:last-child {
  border-bottom: none;
  box-shadow: none;
}

.sub_main_content figure.thumb_shadow {
  position: relative;
}
.sub_main_content figure.thumb_shadow figcaption {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  z-index: 100;
  -webkit-text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
  -moz-text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
  -ms-text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
  -o-text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.sub_main_content h4 {
  font-size: 1.1em;
  text-align: center;
  text-decoration: underline;
  padding: 5px 0px;
  font-weight: bold;
}
.sub_main_content h4 span {
  text-decoration: underline;
  display: inline-block;
  padding: 5px 0px;
  font-weight: bold;
}

.sub_menu.fix_menu {
  margin-top: 42px;
  background-image: url("/img/bg/white_wall_hash.png");
}

.bottom_banner {
  min-height: 140px;
}
.bottom_banner h3 {
  font-size: 1.65em;
  margin-top: 0px;
  letter-spacing: 0;
  font-weight: bold;
  -webkit-text-shadow: 1px 1px 4px #000000;
  -moz-text-shadow: 1px 1px 4px #000000;
  -ms-text-shadow: 1px 1px 4px #000000;
  -o-text-shadow: 1px 1px 4px #000000;
  text-shadow: 1px 1px 4px #000000;
}
.bottom_banner p {
  font-size: 1.5em;
  line-height: 1em;
  font-weight: normal;
  -webkit-text-shadow: 1px 1px 1px #000000;
  -moz-text-shadow: 1px 1px 1px #000000;
  -ms-text-shadow: 1px 1px 1px #000000;
  -o-text-shadow: 1px 1px 1px #000000;
  text-shadow: 1px 1px 1px #000000;
}

.about_us_img {
  display: block;
  height: auto;
  max-width: 40%;
  margin: 10px;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.popoverbox {
  color: #868f58;
  font-size: 1.5em;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1.2em;
  position: relative;
  text-align: center;
}

h2 .popoverbox {
  color: #868f58;
  font-size: 0.8em !important;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1.2em;
  position: relative;
  text-align: center;
}

.listitem h5,
.listitem h5 a {
  color: #868f58 !important;
  font-size: 1.2em !important;
  text-transform: none;
}

#coming_classes .listitem {
  overflow-x: auto;
}

/**
 * SM
 */
@media screen and (min-width: 750px) {
  .brand {
    display: inherit;
    font-weight: 700;
    font-size: 5em;
    line-height: normal;
    text-align: center;
    margin: 0;
    padding: 30px 0 10px;
    color: #fff;
    -webkit-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -moz-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -ms-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -o-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  .top-divider {
    margin-top: 0;
  }

  .img-left {
    float: left;
    margin-right: 25px;
    margin-bottom: 25px;
  }

  .address-bar {
    display: inherit;
    text-align: center;
    margin: 0;
    padding: 0 0 40px;
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    color: #fff;
    -webkit-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -moz-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -ms-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -o-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  .navbar {
    border-radius: 0;
    /*margin-bottom: 10px;*/
    margin-bottom: 0px;
  }

  .navbar-header {
    display: none;
  }

  .navbar {
    min-height: 0;
  }

  .navbar-default {
    background: #fff;
    background: rgba(255, 255, 255, 0.9);
    border: none;
  }
  .nav > li > a {
    padding: 10px;
  }

  .navbar-nav > li > a {
    line-height: normal;
  }

  .navbar-nav {
    float: none;
    margin: 0 auto;
    display: table;
    table-layout: fixed;
    font-size: 1em;
  }

  #environment .thumb_shadow {
    /*margin:0 10px 0 0;*/
    max-width: 100%;
  }
}

/**
 * mobile
 */
@media screen and (max-width: 750px) {
  body {
    border: none;
  }
  .navbar2 .nav.navbar-nav {
    text-align: center !important;
    width: auto !important;
    text-align: left !important;
  }
  .navbar-nav > li {
    display: block !important;
    float: none !important;
  }
  .navbar-collapse {
    max-height: none;
  }
  .navbar {
    margin-bottom: 0;
  }
  .item_caption h3 {
    margin-top: 0px;
  }
  .headline {
    border-radius: 0px;
    margin: 0;
  }
  .headline .headline_title {
    display: none !important;
  }
  .headline .slideText:before {
    content: "";
    display: none !important;
  }
  .slideText ul,
  .slideText li {
    padding: 0;
  }

  .sub_main_content .item_caption .thumb_shadow {
    float: none;
    margin: 10px auto;
    max-width: 80%;
  }

  .item_caption .thumb_shadow .img-responsive {
    display: block;
    height: auto;
    width: 100%;
  }

  .item_caption > h3 {
    position: static;
  }
  .item_caption > p {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.45em;
  }
  .item_caption:before,
  .item_caption:after {
    content: " ";
    clear: both;
    display: table;
    -moz-box-sizing: border-box;
  }
  article.item_caption {
    /*
	    border-bottom: 1px solid rgba(180, 180, 180, 0.50);
	    */
    margin-bottom: 10px;
    padding-bottom: 10px;
    /*
	    -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
       	-moz-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
        -ms-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
         -o-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
            box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
        */
  }

  article.item_caption:last-child {
    /*
	    border-bottom: 1px solid transparent;
	    */
    margin-bottom: 0px;
  }
  .main_content {
    margin-top: 0;
  }
  .fix_menu {
    border-bottom: none !important;
  }

  #environment .thumb_shadow {
    /*margin:0 10px 0 0;*/
    max-width: 100%;
  }

  .sub_main_content section h3 {
    font-size: 1.1em;
    letter-spacing: 0;
  }
  .sub_main_content figure.thumb_shadow figcaption {
    display: none;
  }

  #environment figure.thumb_shadow figcaption {
    display: block !important;
  }

  .sub_main_content section.item_caption article {
    padding: 0 20px;
  }
  .bottom_banner {
    padding: 10px !important;
    margin: 0 !important;
  }
  .bottom_banner {
    min-height: 110px;
  }
  .bottom_banner h3 {
    font-size: 1.3em;
  }
  .bottom_banner p {
    font-size: 1.2em;
    line-height: 1em;
  }

  #header .navbar2 {
    background-color: rgba(255, 255, 255, 1);
  }
  #header .navbar2 .navbar-nav {
    float: none;
    margin: 0 -15px;
  }

  #navbar .container {
    padding: 0 15px;
  }
  #navbar .container .collapse {
    padding: 0 15px;
  }

  .clinic_hours_fees {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.88);
  }

  .clinic_hours_fees div {
    margin-bottom: 5px;
  }
  .clinic_hours_fees div:last-child {
    margin-bottom: 0;
  }
  form .info input {
    width: 100%;
  }
  .set_calendar_w {
    padding: 0 !important;
  }

  .about_us_img {
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    display: block;
    height: auto;
    margin: 10px auto;
    max-width: 100%;
  }

  .popoverbox {
    color: #868f58;
    font-size: 1em;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1.2em;
    position: relative;
    text-align: center;
  }

  h2 .popoverbox {
    color: #868f58;
    font-size: 0.6em !important;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1em;
    position: relative;
    text-align: center;
  }
  .listitem h5 {
    color: #776a4a;
    font-size: 1.1em !important;
    letter-spacing: 1px;
  }
  #coming_classes .listitem {
    overflow-x: auto !important;
  }
  #coming_classes .listitem table {
    width: 600px !important;
    min-width: 600px !important;
  }
}

@media screen and (max-width: 1400px) and (min-width: 992px) {
  .bottom_banner {
    min-height: 130px;
  }
  .bottom_banner h3 {
    font-size: 1.4em;
  }
  .bottom_banner p {
    font-size: 1.2em;
    line-height: 1em;
  }
}

@media screen and (max-width: 992px) and (min-width: 750px) {
  body {
    width: 100%;
  }
  .navbar-nav {
    font-size: 11px;
    letter-spacing: 0px;
  }
  .nav > li > a {
    padding: 10px 7px;
  }
  .item_caption .thumb_shadow {
    margin: 0 10px 20px;
  }
  .item_caption > h3 {
    font-size: 1em;
  }
  .item_caption > p {
    line-height: 1.45em;
  }
  .sub_menu.fix_menu {
    margin-top: 40px;
  }
  .sub_main_content section h3 {
    font-size: 1.3em;
  }

  .main_content .item_caption > h3 {
    font-size: 1em;
  }
  .sub_main_content figure.thumb_shadow figcaption {
    display: none;
  }
  #environment figure.thumb_shadow figcaption {
    display: block !important;
  }
  .bottom_banner {
    min-height: 110px;
  }
  .bottom_banner h3 {
    font-size: 1.2em;
  }
  .bottom_banner p {
    font-size: 1.2em;
    line-height: 1em;
  }
}

.carousel-inner > .item {
  max-height: 850px;
}

/* > 1400px */
@media screen and (min-width: 1400px) {
  .carousel-inner > .item {
    /* max-height: 550px; */
    max-height: 850px;
  }
  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    min-width: 940px;
  }
}
