/* -------------------------------- 

Primary style

-------------------------------- */


*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #000;
  text-decoration: none;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  width: 90%;
  max-width: 768px;
  margin: 2em auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
/* -------------------------------- 

Main components 

-------------------------------- */

@media only screen and (min-width: 1024px) {
 
}
main p {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.6;
  margin: 2em 0;
}
@media only screen and (min-width: 1024px) {
  main p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.8) url(/imgs/icon/cd-top-arrow.png) no-repeat center 50%;
  visibility: hidden;

  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  border-radius:5px;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

*{
	/* A universal CSS reset */
	margin:0;
	padding:0;
}
body{
	font-size:14px;
	color:#666;
	background:#111 no-repeat;
	
	/* CSS3 Radial Gradients */
	background-image:-moz-radial-gradient(center -100px 45deg, circle farthest-corner, #444 150px, #111 300px);
	background-image:-webkit-gradient(radial, 50% 0, 150, 50% 0, 300, from(#444), to(#111));
	
	font-family:Arial, Helvetica, sans-serif;
}
#navigationMenu li{
	list-style:none;
	height:39px;
	padding:2px;
	width:15px;
	float:left;
	border-radius:5px;
}
#navigationMenu span{
	/* Container properties */
	width:0;
	left:0px;
	top:40px;
	padding:0;
	position:absolute;
	overflow:hidden;

	/* Text properties */
	font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
	font-size:18px;
	font-weight:bold;
	letter-spacing:0.6px;
	white-space:nowrap;
	line-height:39px;
	
	/* CSS3 Transition: */
	-webkit-transition: 0.25s;
	
	/* Future proofing (these do not work yet): */
	-moz-transition: 0.25s;
	transition: 0.25s;
		border-radius:5px;
}
#navigationMenu a{
	background:url('/imgs/icon/navigation3.jpg') no-repeat;
	height:39px;
	width:38px;
	display:block;
	position:relative;
		border-radius:5px;
}

/* General hover styles */
#navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; }
#navigationMenu a:hover{
	text-decoration:none;	
	/* CSS outer glow with the box-shadow property */
	-moz-box-shadow:0 0 5px #9ddff5;
	-webkit-box-shadow:0 0 5px #9ddff5;
	box-shadow:0 0 5px #9ddff5;
}
/* Green Button */
#navigationMenu .home {	background-position:0 0;}
#navigationMenu .home:hover {	background-position:0 -39px;}
#navigationMenu .home span{
	background-color:#7da315;
	color:#3d4f0c;
	text-shadow:1px 1px 0 #99bf31;
}
/* Blue Button */
#navigationMenu .about { background-position:-38px 0;}
#navigationMenu .about:hover { background-position:-38px -39px;}
#navigationMenu .about span{
	background-color:#1e8bb4;
	color:#223a44;
	text-shadow:1px 1px 0 #44a8d0;
}
/* Orange Button */
#navigationMenu .services { background-position:-76px 0;}
#navigationMenu .services:hover { background-position:-76px -39px;}
#navigationMenu .services span{
	background-color:#c86c1f;
	color:#5a3517;
	text-shadow:1px 1px 0 #d28344;
}
/* Yellow Button */

#navigationMenu .portfolio { background-position:-114px 0;}
#navigationMenu .portfolio:hover{ background-position:-114px -39px;}
#navigationMenu .portfolio span{
	background-color:#d0a525;
	color:#604e18;
	text-shadow:1px 1px 0 #d8b54b;
}
/* Purple Button */
#navigationMenu .contact { background-position:-152px 0;}
#navigationMenu .contact:hover { background-position:-152px -39px;}
#navigationMenu .contact span{
	background-color:#af1e83;
	color:#460f35;
	text-shadow:1px 1px 0 #d244a6;
}

#navigationMenu .gallery { background-position:-190px 0;}
#navigationMenu .gallery:hover { background-position:-190px -39px;}
#navigationMenu .gallery span{
	background-color:#de2929;
	color:#460f35;
	text-shadow:1px 1px 0 #de2929;
}
#navigationMenu .login { background-position:-228px 0;}
#navigationMenu .login:hover { background-position:-228px -39px;}
#navigationMenu .login span{
	background-color:#0ce6ca;
	color:#460f35;
	text-shadow:1px 1px 0 #0ce6ca;
}
#navigationMenu .facebook { background-position:-266px 0;}
#navigationMenu .facebook:hover { background-position:-266px -39px;}
#navigationMenu .facebook span{
	background-color:#4a6ea9;
	color:#460f35;
	text-shadow:1px 1px 0 #4a6ea9;
}
/* The styles below are only needed for the demo page */
#main{
	margin:180px auto;
	position:relative;
	width:340px;
	background:#9F3;
	float:left;
}
h1{
	color:#fff;
	font-size:30px;
	font-weight:normal;
	padding:60px 0 20px;
	text-align:center;
}
h2{
	font-weight:normal;
	text-align:center;
}
h1,h2{
	font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
}
a, a:visited,a:active {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}
a:hover{
	text-decoration:underline;
}
a img{
	border:none;
}
p.note{
	color:#707070;
	font-size:10px;
	text-align:center;
	margin:50px;
}
#about_text1{
	width:1000px;
	height:auto;
	background:;
	float:left;
	margin-bottom:20px;}
.about_text1-boximg{
    width:300px;
    height:300px;
    background:;
    float:left;}
.about_text1-boxtext
{
    width:700px;
    height:300px;
    background:;
    float:left;}    	
#about_text1 h3{
	margin-top:5px;
	margin-left:10px;
	font:14px 'Oswald', Helvetica, sans-serif;
    color: #636161;
    line-height: 20px;
	}
#about_text1 h6{
    width:100%;
	margin-left:0px;
	background-color:;
	font:18px 'Oswald', Helvetica, sans-serif;
    color: #333;
	text-align:center;
	padding-top:4px;
	padding-bottom:4px;	
}
.albumbox{
    width: 220px;
    height: auto;
    background: #FFF;
    float: left;
    margin-left: 190px;
    margin-top: 23px;
	border:1px dotted #333;}
.albumbox:hover{
	border:1px dotted #6B024E;}	
.albumbox img{
	width:90%;
	margin-bottom:20px;
	margin-left:12px;
	border-radius:8px;}
.detail-img{
    width: 280px;
    height: auto;
    background:;
    float: left;
	}
	.detail-odnow{
    width: 300px;
    height: 20px;
    background:;
    float: left;
	}	
.detail-img img{
    width: 100%;
    border-radius:15px;}	

    /* home transition */
#transition {
	width: 100%;
	height: 250px;
	float: left;
	background-color:;
	/*background-image:url('/imgs/img/slide/01.jpg');*/
	background-image: url('/imgs/ban4.jpg');
	animation: myani 20s infinite;
	-webkit-animation: myani 20s infinite;
	-moz-animation: myani 20s infinite;
	background-repeat: no-repeat;
	background-position: center;
	border: 15 groove #900;
}

@keyframes myani {
	0% {
		background-image: url('/imgs/ban4.jpg');
	}

	100% {
		background-image: url('/imgs/ban4.png');
	}
}

@-webkit-keyframes myani {
	0% {
		background-image: url('/imgs/ban4.jpg');
	}

	100% {
		background-image: url('/imgs/ban4.png');
	}
}

@-moz-keyframes myani {
	0% {
		background-image: url('/imgs/ban4.jpg');
	}

	100% {
		background-image: url('/imgs/ban4.png');
	}
}

/*@keyframes myani{
0%{background-image:url('/imgs/img/slide/01.jpg');}
25%{background-image:url('/imgs/img/slide/02.jpg');}
50%{background-image:url('/imgs/img/slide/03.jpg');}
75%{background-image:url('/imgs/img/slide/04.jpg');}
100%{background-image:url('/imgs/img/slide/05.jpg');}
}
@-webkit-keyframes myani{
0%{background-image:url('/imgs/img/slide/01.jpg');}
25%{background-image:url('/imgs/img/slide/02.jpg');}
50%{background-image:url('/imgs/img/slide/03.jpg');}
75%{background-image:url('/imgs/img/slide/04.jpg');}
100%{background-image:url('/imgs/img/slide/05.jpg');}
}
@-moz-keyframes myani{
0%{background-image:url('/imgs/img/slide/01.jpg');}
25%{background-image:url('/imgs/img/slide/02.jpg');}
50%{background-image:url('/imgs/img/slide/03.jpg');}
75%{background-image:url('/imgs/img/slide/04.jpg');}
100%{background-image:url('/imgs/img/slide/05.jpg');}

}*/



	
	