html {
  background-color: #1fb5ca;
}
.undersea {
  background-image: url('../img/undersea.png');
  background-position: bottom;
  background-repeat: repeat-x;
  padding-bottom: 150px;
}
body {
  background-image: url('../img/background.png');
  background-repeat: repeat-x;
  background-position: top center;
  font-family: "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  margin: 0;
}

footer {
  background-color: #efefef;
  padding: 20px 40px;
  letter-spacing: .05em;
  width: 780px;
  margin: auto;
}

#icon {
 float: right;
 background: #1fb5ca;
 padding: 10px 30px;
 border-radius: 25px;
 margin-top: 35px;
 box-shadow: 1px 2px 3px 0px rgba(0,0,0,0.5);
 transition: all ease .5s;
}

#icon a {
 color: #fff;
 font-size: 1.3em;
 text-decoration: none;
 font-weight: bold;
}

#icon:hover {
  background: #1499ff;
  box-shadow: 2px 5px 12px 0px rgba(0,0,0,0.5);
}

.demo {
 width: 860px; 
 height: 860px;
 margin-right: auto;
 margin-left: auto;
}

.demo h1 {
  background: url('../img/title.png');
  float: left;
  width: 651px;
  height: 89px;
  text-indent: -9999px;
}

.img {
  width:160px;
  height:120px;
  text-align: center;
}

/*slider*/
#slider {
  box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.55);
}

#slider ul li a.caption {
  position: relative;
  display: block;
}

div.caption-txt {
  position: absolute;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  color: #fff;
  font-size: 1.25em;
  text-align: center;
  bottom: 0;
  width: 860px;
  padding: 10px 0;
}

div.caption-txt span {
  display: block;
  color: #f5d56f;
  font-size: 1.45em;
}

.flexslider {
  border: none;
  background: transparent;
  margin-bottom: 30px;
}

#carousel {  
 width: 860px; 
 height: auto;
 margin: auto;
}

#carousel ul li {
  box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.55);
}

#carousel ul li img {
  opacity: .7;
  transition: opacity .5s ease;
}

#carousel ul li img:hover {
  opacity: 1;
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
    content: '\f001';
    color: rgba(255, 255, 255, 1);
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
}

/*clear fix*/
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1; /*For IE 6&7 only*/
}