﻿@charset 'utf-8';
/*
style.css
*/

body {
  position: relative;
  font-size: 62.5%;
  line-height: 1.8;
  margin: 0;
}

h1,h2,p,span,li,a {
	font-family: "新細明體";
	color: #FFF;
	font-size: 14px;
	text-align: center;
}

a, a.btn {
  /*
  link common animation
  */
  text-decoration: none;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

/*
content area
*/

.inner {
  position: relative;
  max-width: 1080px;
  min-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#wrapper {
  width: 100%;
}

#headerContainer {
  position: absolute;
  z-index: 100;
  width: 100%;
  background: rgba(24, 106, 182, 1);
}

#siteID {
  font-size: 3.0em;
  color: #fff;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 0 8px;
  padding: 12px 0 14px;
}

#siteID .small {
  color: #fff;
  font-size: 0.7em;
}

#navigation {
  position: absolute;
  right: 0;
  top: 0;
  overflow: hidden;
  z-index: 10;
}

#navigation ul,
#navigation li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#navigation li {
	float: left;
  margin: 1px 0 0 1px;
}
#navigation a {
  display: block;
  color: #fff;
  font-size: 1.6em;
  line-height: 1;
  text-align: center;
  padding: 20px 2em 21px;
  background: rgba( 255, 255, 255, 0.1);
}
#navigation a:hover {
  color: #333;
  background: rgba( 255, 255, 255, 0.8);
}

#footerContainer {
	position: relative;
	left: 0;
	bottom: 0;
  z-index: 100;
	width: 100%;
  background: rgba(24, 106, 182, 1);
  padding: 1em 0;
  behavior: url(PIE.htc);
}

#copyright{
  color: #fff;
	text-align: right;
  font-size: 1.4em;
  margin: 0;
}

/*
custom style
*/

#contentContainer {
  padding: 72px 0 40px;
  background: #ebebeb;
  min-height: 1200px;
}

#contentContainer p,
#contentContainer ul,
#contentContainer li {
  margin: 0;
  padding: 0;
}
#contentContainer ul,
#contentContainer li {
  list-style: none;
}

#contentContainer h1.contentTitle {
  font-size: 3.2em;
  line-height: 1.4;
}
#contentContainer h2.contentTitle {
  font-size: 2em;
  margin: 0 0 1em;
}

.loaderSymbol {
  position: fixed;
  top: 45%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: url(../img/loader.gif);
  behavior: url(PIE.htc);
}

/*
Masonry grid basic setting
*/

.grid_container {
  width: 100%;
  margin: 0 0 50px;
}

/*　1 column basic setting（column,grid)　*/

.grid_container .column {
  /* 無法使用CSS3的box-sizing的話，將width扣除padding和border的値 */
  width: 266px;
  padding: 5px;
  margin: 2px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #d9d9d9;

  /* Javascript無效時會載入noscript.css，此屬性會變成visible */
  visibility: hidden;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* 2 column(column, grid)的寬度*/
.grid_container .column.w2 {
  /* 無法使用CSS3的box-sizing的話，將width扣除padding和border的値 */
  width: 536px;
}

/* 3 column(column, grid)的寬度*/
.grid_container .column.w3 {
  /* 無法使用CSS3的box-sizing的話，將width扣除padding和border的値 */
  width: 806px;
}

.grid_container .column img {
  display: block;
  width: 100%;
  height: auto;
}
.grid_container .column .title {
	font-size: 12pt;
	font-weight: bold;
	line-height: 1.4;
	margin: 0.5em 0 0;
}


/*
sample3　fluid grid的額外設定
*/

#photoGalleryContainer .grid_sizer {
  /*　
      用%在masonry中設定基本的grid寬度，則必須用CSS selector指定
  */
  width: 25%;
}
#photoGalleryContainer.fluid .column {
  width: 24.5%;
  margin: 0.25%;
}
#photoGalleryContainer.fluid .column.w2 {
  width: 49.5%;
}
#photoGalleryContainer.fluid .column.w3 {
  width: 74.5%;
}

/*
sample4　colorbox的額外設定
*/

#photoGalleryContainer.withColorbox .column {
  background: #fff;
  -webkit-transition: background-color .4s linear;
  transition: background-color .4s linear;
}
#photoGalleryContainer.withColorbox .column:hover {
  background: #F0E247;
}


@media only screen and (max-width:767px) {
  .inner {
    max-width: 94%;
    min-width: 94%;
    width: 94%;
  }
  #headerContainer {
    position: relative;
  }
  #siteID {
    float: none;
    text-align: center;
  }
  #contentContainer {
    padding: 20px 0 40px;
    margin: 0 auto;
  }
  #copyright {
    text-align: center;
  }
  #contentContainer h1.contentTitle {
    font-size: 2.0em;
    line-height: 1.3;
  }
  #contentContainer h2.contentTitle {
    font-size: 1.2em;
    line-height: 1.2;
    margin: 0 0 1em;
  }
  #photoGalleryContainer .column {
    width: 100%;
  }
  #photoGalleryContainer.fluid .column {
    width: 49.5%;
  }
  .loaderSymbol {
    position: fixed;
    top: 50%;
    left: 45%;
  }

}
