/*
from Nicholas Moegly
remake by chou
*/

image-rendering:-moz-crisp-edges;          /* Firefox        */
image-rendering:-o-crisp-edges;            /* Opera          */
image-rendering:-webkit-optimize-contrast; /* Safari         */
image-rendering:optimize-contrast;         /* CSS3 Proposed  */
image-rendering:crisp-edges;               /* CSS4 Proposed  */
image-rendering:pixelated;                 /* CSS4 Proposed  */
-ms-interpolation-mode:nearest-neighbor;   /* IE8+           */

html {
	height:100%;
}

body {
	margin: 0;
	height:100%;
	background: #ffffff;
	font-family: Arial, sans-serif
}

.topimg {
  display:block;
  width: 1500px; 
  margin:auto;
}

a {
	text-decoration: none;
	color: #565656;
}

.textblock a:hover {
	opacity: .8;
}

p {
	margin: 0;
	padding: 0px;
}

hr {
	border: 2px solid;
	color: #f9cac8;
	margin: 9% 0px;	
}

.textblock {
	font-family: 'Noto Sans CJK', serif;
	color: #383234;
	font-size: 14px;
	letter-spacing: 1.5px;
	line-height: 24px;
}

.textblock p {
	margin: 0 0 15px 0;
	margin-right: 50px;
}

.textblock p a {
	color: #a38a4d;
}

.textblock p a:hover {
	color: #a38a4d;
	opacity: .8;
}

h1 {
    font-size: 24px;
    color: #1F1F1F;
    font-weight: bold;
	margin-bottom: 20px;
	letter-spacing: 0.15em; /* 增加字元間距 */
        }
h2 {
    font-size: 24px;
    color: #1F1F1F;
    font-weight: normal;
     margin-bottom: 45px;
        }
p {
    font-size: 14px;
    color: #1F1F1F;
    line-height: 1.6;
    margin: 0px 0px; /* 增加左右間距 */
    text-align: justify; /* 讓文字對齊兩側 */
	letter-spacing: 0.1em; /* 增加字元間距 */
	
        }
name {
            font-size: 12px;
            color: #1F1F1F;
            line-height: 0;
            margin: 10px 0;
        }

h3 {
	color: #BC7778;
	font-family: Arial, sans-serif
	font-size: 18px;
	font-weight: 400;
}

h4 {
	font-family: Arial, sans-serif
	color: #323538;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	font-size: 14px;
	margin: 0 0 10px 0;
}

h5 {
	color: #323538;
	font-family: Arial, sans-serif
	font-size: 24px;
	font-weight: 400;
	margin: 0px 0px 15px;
	line-height: 42px
}

.mobile {
	display: none;
}

.desktop {
	display: block;
}

.fade {
	opacity: 1;
	-webkit-transition:color .25s ease-in;  
   	-moz-transition:color .25s ease-in;  
   	-o-transition:color .25s ease-in;  
   	transition:color .25s ease-in; 
}

.fade:hover {
	opacity: .8;
}

ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

li {
	display: inline-block;
}

.standardlist li {
	display: block;
	line-height: 28px;
	color: #a38a4d;
}

#container {
	background: #fdfdfd;
	width: 100%;
	margin: 0 auto;
	height: auto;
	overflow: hidden;
}

.inside {
	width: 100% !important;
	max-width: 1234px;
	margin: 0 auto !important;
}

.insideheader {
	width: 100% !important;
	max-width: 1500px;
	margin: 0 auto !important;
}

.insidegutter {
	width: 84% !important;
	max-width: 1920px;
	margin: 0 auto 40px !important;
}


/* Header */

head {
	margin: 0px;
	padding: 0px;
	height: 0px;
}

#header {
	background: #1e1e1e;
    	height: 75px;
    	margin: 0 auto;
    	padding-top:15px;
    	width: 100%;
	position: fixed;
	display: block;
	font-family: 'Noto Sans CJK', sans-serif;
	color: #262a2d;
	font-weight: 200;
	font-size: 13px;
	z-index: 5000;
	-webkit-transition:height .25s ease-in;  
   	-moz-transition:height .25s ease-in;  
   	-o-transition:height .25s ease-in;  
   	transition:height .25s ease-in; 
}

.shrink {
	height: 45px !important;
}

.shrink .col {
	margin: 1px 0 0 !important;
}

.shrink #logo {
	margin: -22px auto 0;
	background-size: 99px;
	background-position: center;
}

#header a {
	color: #FFF;
	letter-spacing: 2px;
	-webkit-transition:color .25s ease-in;  
   	-moz-transition:color .25s ease-in;  
   	-o-transition:color .25s ease-in;  
   	transition:color .25s ease-in; 
}

#header a:hover {
	color: #f9cac8;
	font-size: 14px;
}

#header .col {
	margin: 18px 0 0;
	text-align: center;
	-webkit-transition:all .25s ease-in;  
   	-moz-transition:all .25s ease-in;  
   	-o-transition:all .25s ease-in;  
   	transition:all .25s ease-in;
}

#logo {
	background: url("../images/logo-index.png") no-repeat scroll 0 0 / 150px auto rgba(0, 0, 0, 0);
   	height: 54px;
    	width: 150px;
	margin: 0 auto;
	-webkit-transition:all .25s ease-in;  
   	-moz-transition:all .25s ease-in;  
   	-o-transition:all .25s ease-in;  
   	transition:all .25s ease-in; 
}


.headerpad {
	width: 100%;
	height: 70px;
}


/* Container  */

.fullimage {
	width: 100%;
	padding: 50px 0px;
}

.fullimage img {
	width: 100%;
	height: auto;
}

.fullimagetext {
	
}

.rev_slider_wrapper {
	margin-bottom: -5px !important;
}


.homeintro {
	background: rgba(0, 0, 0, 0) url("http://www.nicholasmoegly.com/wp-content/uploads/2015/09/BGV2.jpg") repeat scroll 0 0 / 100% auto;
	width: 100%;
	margin-bottom: 60px;
	padding: 60px 0 65px 0;
    	color: #fff;
    	font-family: "Average",serif;
    	font-size: 24px;
   	 line-height: 44px;
   	 text-align: center;
	letter-spacing: 1px;
	display: none;
}

.homeintro b {
	font-family: "Lato", sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #a38a4d;
}

.homeintro span {
	color: #ffffff;
    	font-family: "Lato",sans-serif;
    	font-size: 18px;
    	font-weight: 600;
    	letter-spacing: 3px;
    	text-transform: uppercase;
	text-align: center;
}

.mailinglist {
	background: rgba(0, 0, 0, 0) url("http://www.nicholasmoegly.com/wp-content/uploads/2015/09/Mailing-List-BG.jpg") repeat scroll 0 0 / 100% auto;
    	height: 175px;
    	font-family: "Average",serif;
    	color: #fff;
    	text-align: center;
}

.whiteline {
	border-bottom: 3px solid #fff;
	width: 20%;
	margin: 0 auto;
}

.wide {
	width: 100%;
	height: auto;
}

.fullpad {
	padding: 80px 0 0px !important;
}

.fullpad img {
	width: 100%;
	height: auto;
}

.toppad {
	padding: 4% 0 0 0;
}

.btmpad {
	padding: 0%;
}

.titlewrapper {
        border-color: #f9cac8;
    	border-image: none;
   	border-style: solid none;
    	border-width: 3px 0;
    	padding: 10px 0;
	margin-bottom: 25px;
	height: 20px;
}

.titletext {
	color: #262a2d;
    	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 17px;
    	font-weight: 600;
	line-height: 20px;
    	letter-spacing: 3px;
    	text-transform: uppercase;
	float: left;
}

.titlewrapper2 {
        border-color: #fff;
    	border-image: none;
    	border-style: solid none;
    	border-width: 0 0 3px;
    	height: 20px;
   	margin: 0 auto 25px;
   	padding: 0 0 10px 0;
    	width: 20%;
}

.titletext2 {
	color: #fff;
    	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 17px;
    	font-weight: 600;
    	letter-spacing: 3px;
    	text-transform: uppercase;
	text-align: center;
}

.titlewrapper3 {
    	height: 100%;
   	margin: 0px auto;
   	padding: 0 0 10px 0;
    	width: 35%;
}

.titletext3 {
	color: #fdfdfd;
    	font-family: "Lato",sans-serif;
    	font-size: 17px;
    	font-weight: 600;
    	letter-spacing: 3px;
    	text-transform: uppercase;
	text-align: center;
	margin-bottom: 20px;
}

.titlesub a {
	font-family: 'Average', serif;
	color: #a38a4d;
	font-size: 14px;
	float: right;
	letter-spacing: 1px;
}

.titlesub a:hover {
	opacity: .8;
}

#mc_embed_signup {
	width: 525px;
	margin: 20px auto 0px;
	padding-right: 10px;
}

#mc_embed_signup input.email {
    	border: 0 none !important;
    	color: #c9c8c8;
    	display: block;
    	font-family: "Lato",sans-serif;
    	font-size: 14px;
   	font-weight: 600;
    	height: 34px;
    	letter-spacing: 1px;
    	margin: 0 !important;
    	min-width: 130px !important;
    	padding: 8px 0 !important;
    	text-indent: 20px !important;
    	text-transform: uppercase;
    	width: 350px !important;
	float: left !important;
}

#mc_embed_signup .button {
	font-family: "Lato",sans-serif !important;
    	border: 3px solid #fff !important;
    	border-radius: 0 !important;
    	clear: both !important;
    	color: #ffffff !important;
    	cursor: pointer !important;
    	display: inline-block !important;
    	font-size: 15px !important;
    	font-weight: bold !important;
    	height: 50px !important;
    	line-height: 32px !important;
    	margin: 0 5px 10px 0 !important;
    	text-align: center !important;
    	text-decoration: none !important;
    	text-transform: uppercase !important;
    	vertical-align: top !important;
    	white-space: nowrap !important;
    	width: auto !important;
	background: none !important;
	letter-spacing: 1px !important;
	padding: 0 30px !important;
	float: right !important;
	-webkit-transition:color .25s ease-in;  
   	-moz-transition:color .25s ease-in;  
   	-o-transition:color .25s ease-in;  
   	transition:color .25s ease-in; 
	-webkit-transition:background-color .25s ease-in;  
   	-moz-transition:background-color .25s ease-in;  
   	-o-transition:background-color .25s ease-in;  
   	transition:background-color .25s ease-in; 
}

#mc_embed_signup .button:hover {
	background: #fff !important;
	color: #a38a4d !important;
}

#mc_embed_signup .clear {
    	clear: none;
    	display: inline;
    	float: right !important;
}

#sb_instagram #sbi_images .sbi_item {
    -moz-box-sizing: border-box;
    display: inline-block;
    margin: 0 0 3% !important;
    padding: inherit !important;
    text-decoration: none;
    vertical-align: top;
}

/* FOOTER */

#footer {
	background: #f9cac8 none repeat scroll 0 0;
    	padding: 10px 0;
	text-align: center;
}

#footer span {
	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 11px;
    	font-weight: 600;
    	letter-spacing: 2px;
	color: #1E1E1E;
}



/* ABOUT */

.aboutphoto {
	margin: 65px auto 0px;
	width: 84%;
	max-width: 1920px;
}

.aboutphoto img {
	width: 100%;
	margin: 0 auto;
}

.about h5 {
	text-align: center;
	width: 70%;
	margin: 40px auto 0px;
}

.about .coltwo:first-child {
	margin: 0px !important;
}

.about .coltwo {
	margin: 0px 0 0 3%;
}

.about .titletext {
	color: #f9c5c2;
}

.line {
	border-bottom: 3px solid #f9cac8;
	margin: 40px auto 55px;
	width: 100%;
}


/* Contact Form  */

.wpcf7-text {
	background: #f9cac8;
  	border: 0 none;
    	color: #323538;
    	display: block;
    	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 14px;
    	font-weight: 600;
    	height: 34px;
   	letter-spacing: 1px;
   	margin: 0;
    	min-width: 130px;
    	padding: 8px 0;
    	text-indent: 20px;
    	text-transform: uppercase;
    	width: 100%;
}

.wpcf7-textarea {
	background: #f9cac8;
  	border: 0 none;
    	color: #323538;
    	display: block;
    	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 14px;
    	font-weight: 600;
	text-indent: 20px;
    	text-transform: uppercase;
    	width: 100%;
	font-size: 12px;
	padding: 20px 0px;
}

.wpcf7-submit {
	background: none;
    	color: #a38a4d;
    	cursor: pointer;
    	font-size: 15px;
    	font-weight: bold;
    	line-height: 32px;
    	margin: 0 5px 10px 0;
    	padding: 0 30px;
    	text-align: center;
    	text-decoration: none;
	border: 3px solid #a38a4d;
   	border-radius: 0;
    	height: 50px;
    	letter-spacing: 1px;
	font-family: 'Noto Sans CJK', sans-serif;
	text-transform: uppercase;
	-webkit-transition:color .25s ease-in;  
   	-moz-transition:color .25s ease-in;  
   	-o-transition:color .25s ease-in;  
   	transition:color .25s ease-in; 
	-webkit-transition:background-color .25s ease-in;  
   	-moz-transition:background-color .25s ease-in;  
   	-o-transition:background-color .25s ease-in;  
   	transition:background-color .25s ease-in; 
}

.wpcf7-submit:hover {
	background: #a38a4d !important;
	color: #fff !important;
}	

div.wpcf7-mail-sent-ok {
    border: 0px !important;
    color: #323538;
    font-family: 'Noto Sans CJK', sans-serif;
    margin: 0 !important;
    padding: 0 !important;
}



/*  Work Updated  */

#workpage {
	padding: 25px 0% 40px;
}

#grid {
	width: 90%;
	max-width: 1920px;
	margin: 0 auto;
}

#grid[data-columns]::before {
	content: '3 .column.size-1of3';
}

/* These are the classes that are going to be applied: */
.column { float: left; }
.size-1of3 { width: 33.333%; }

.item {
	margin: 0 10px 20px;
	position: relative;
}

.item img {
	width: 100%;
	margin-bottom: -5px;
}

@media screen and (max-width: 510px){
	#grid[data-columns]::before {
		content: '1 .column.size-1of1';
	}
}

@media screen and (min-width: 511px) and (max-width: 980px) {
	#grid[data-columns]::before {
		content: '2 .column.size-1of2';
	}
}
@media screen and (min-width: 980px) {
	#grid[data-columns]::before {
		content: '3 .column.size-1of3';
	}
}

/* Again, you�胩e free to use and define the classes: */
.column { float: left; }
.size-1of1 { width: 100%; }
.size-1of2 { width: 50%; }
.size-1of3 { width: 33.333%; }

.worktitle {
	opacity: 0;
	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 18px;
    	letter-spacing: 5px;
	text-align: center;
	text-transform: uppercase;
	z-index: 2000;
	transition: 0.25s ease-in 0s;
	width: 75%;
	padding: 20px 0px;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.worktitle .project {
	font-family: 'Noto Sans CJK', sans-serif;
	font-size: 14px;
	letter-spacing: 0px;
	text-transform: none;
	font-style: italic;
	margin-bottom: 10px;
}

.workoverlay:hover + .worktitle {
    	opacity: 1;
}

.light {
	color: #fdfdfd;
}

.dark {
	color: #262a2d;
}

.workimage {
	filter: grayscale(0%);
	transition: 0.25s ease-in 0s;
}

.workoverlay:hover ~ .workimage {
    	filter: grayscale(100%);
}

.workoverlay {
    	height: 100%;
    	width: 100%;
	opacity: 0;
    	position: absolute;
    	z-index: 1000;
	transition: 0.25s ease-in 0s;
}

.workoverlay:hover {
	opacity: .8;
}



/* POSTERS */

#postergrid {
	width: 95%;
	max-width: 1920px;
	margin: 0 auto;
}

@media screen and (max-width: 510px){
	#postergrid[data-columns]::before {
		content: '1 .column.size-1of1';
	}
}

@media screen and (min-width: 511px) and (max-width: 3000px) {
	#postergrid[data-columns]::before {
		content: '2 .column.size-1of2';
	}
}
@media screen and (min-width: 2561px) {
	#postergrid[data-columns]::before {
		content: '3 .column.size-1of3';
	}
}




/*  Work  */

.box {
  	cursor: pointer;
  	position: relative;
  	overflow: hidden;
	margin-bottom: 6%;
}

.box img {
	height: auto;
    	left: 0;
    	margin-bottom: -10px;
    	padding: 0;
    	position: relative;
    	width: 100%;
  	-webkit-transition: all 300ms ease-out;
  	-moz-transition: all 300ms ease-out;
  	-o-transition: all 300ms ease-out;
  	-ms-transition: all 300ms ease-out;
  	transition: all 300ms ease-out;
}

.box .overbox {
  	background-color: rgba(28,42,45,.8);
  	position: absolute;
  	top: 0;
  	left: 0;
  	color: #fff;
  	z-index: 100;
  	-webkit-transition: all 300ms ease-out;
  	-moz-transition: all 300ms ease-out;
  	-o-transition: all 300ms ease-out;
  	-ms-transition: all 300ms ease-out;
  	transition: all 300ms ease-out;
  	opacity: 0;
  	width: 100%;
  	height: 600px;
  	padding: 43% 0 0 0;
}

.box:hover .overbox { opacity: 1; }

.box .overtext {
  	-webkit-transition: all 300ms ease-out;
  	-moz-transition: all 300ms ease-out;
  	-o-transition: all 300ms ease-out;
  	-ms-transition: all 300ms ease-out;
  	transition: all 300ms ease-out;
	transform: translateY(40px);
  	-webkit-transform: translateY(40px);
}

.box .title {
    	border-top: 3px solid #fff;
	border-bottom: 3px solid #fff;
    	font-family: 'Noto Sans CJK', sans-serif;
    	font-size: 20px;
    	letter-spacing: 2px;
    	margin: 0 auto;
    	opacity: 0;
    	padding: 4.5% 0px;
    	text-align: center;
    	text-transform: uppercase;
    	transition-delay: 0.1s;
    	transition-duration: 0.2s;
    	width: 65%;
   	word-spacing: 5px;
}

.box:hover .title,
.box:focus .title {
  opacity: 1;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
}

.box .tagline {
    	font-size: 14px;
    	margin-top: 8px;
    	opacity: 0;
    	text-align: center;
    	transition-delay: 0.2s;
    	transition-duration: 0.2s;
	font-family: 'Noto Sans CJK', sans-serif;
}


.box:hover .tagline,
.box:focus .tagline {
  opacity: 1;
  transform: translateX(0px);
  -webkit-transform: translateX(0px);
}



/* CASE STUDY */

.casestudy .textblock {
	margin: 0 auto;
	width: 60%;
	max-width: 1000px;
	color: #fdfdfd;
	font-size: 18px;
	line-height: 36px;
}

.casestudy .textblock a {
	font-family: 'Noto Sans CJK', sans-serif;
	font-size: 12px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
}

.casestudy img {
	width: 100%;
	height: auto;
	margin-bottom: 5px;
}

.casestudy {
	padding-top: 20px !important;
}

.video-container {
    	position: relative;
    	padding-bottom: 56.25%;
    	padding-top: 30px; height: 0; overflow: hidden;
	margin-bottom: 10px;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100%;
}

.imagecaption {
	float: left;
	width: 20% !important;
	text-align: right;
	color: #a38a4d;
}

.imagecaption h4 {
	margin: 0px !important;
}

.sidebarimage {
	float: right;
	width: 77%;
}

#infobackground {
	background-size: cover;
	background-position: center center;
	padding: 100px 0px 100px;
	margin-bottom: 10px;
}




/**** STORE *****/

 .productprice {
    font-family: "Average",serif;
    font-size: 14px; 
    color: #a38a4d;
    text-align: center;
    margin-top: 6px;
  }

  .producttitle {
   	color: #262a2d;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	margin: 15px 0px 0px 0px;
	text-align: center;
	text-transform: uppercase;
  }

/**** GRIDS *****/


/*  SECTIONS  */
.section {
	clear: both;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF SEVEN  */
.span_7_of_7 {
	width: 100%;
}

.span_6_of_7 {
  	width: 85.57%;
}

.span_5_of_7 {
  	width: 71.14%;
}

.span_4_of_7 {
  	width: 56.71%;
}

.span_3_of_7 {
  	width: 42.28%;
}

.span_2_of_7 {
  	width: 27.85%;
}

.span_1_of_7 {
  	width: 13%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_7, .span_2_of_7, .span_3_of_7, .span_4_of_7, .span_5_of_7, .span_6_of_7, .span_7_of_7 { width: 100%; }
}



/*  GRID OF TWO  */
/*  COLUMN SETUP  */
.coltwo {
	display: block;
	float:left;
	margin: 0% 0 0% 3%;
}
.coltwo:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}
.span_1_of_2 {
	width: 50%;
}

.span_3_of_2 {
	width: 33%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 980px) {
	.coltwo { 
		margin: 0% 0 0% 0%;
	}
}



/*  GRID OF TWO SMALL PADDING */
/*  COLUMN SETUP  */

.col2small {
	display: block;
	float:left;
	margin: 0% 0 0px .7%;
	width: 49.65%;
}

.col2small:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}
.span_1_of_2 {
	width: 50%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 980px) {
	.col2small { 
		margin: 0% 0 0% 0%;
		width: 100%;
	}
}



@media only screen and (max-width: 980px) {
	.span_2_of_2, .span_1_of_2 { 
		width: 100%;
	}

	.toppad {
		padding: 0%;
	}

	.about .coltwo {
		margin: 15px 0 0 0;
	}

}


/* HOME FEATURED PRODUCTS */

@media only screen and (max-width: 980px) {

	.homeproducts .coltwo {
		display: block;
		float:left;
		margin: 0% 0 0% 5%;
		width: 49%;
	}

	.homeproducts .span_1_of_2 {
		width: 47.5%;
	}

	.homeproducts .coltwo:first-child { margin-left: 0; }
	
	.toppad {
		padding: 4% 0 0;
	}

}

/* HOME FEATURED PRODUCTS */

@media only screen and (max-width: 480px) {

	.homeproducts .coltwo {
		margin: 0% 0 4% 0%;
		width: 100%;
	}

	.homeproducts .span_1_of_2 {
		width: 100%;
	}

	.homeproducts .coltwo:first-child { margin-left: 0; }
	
	.toppad {
		padding: 0%;
	}

}



/*  GRID OF THREE  */
/*  COLUMN SETUP  */
.col3 {
	display: block;
	float:left;
	margin: 0 0 0px .7%;
}
.col3:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF THREE  */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 65.83%; }
.span_1_of_3 { width: 32.86%; }

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col3 {  margin: 1% 0 1% 0%; }
	.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}

@media only screen and (max-width: 660px) {
.col3 {
	display: block;
	float:left;
	margin: 0 0 0px .7%;
	width: 100%;
}

.col3:first-child { margin-left: 0; }
}



/*  GRID OF FOUR  */

.col4 {
	display: block;
	float:left;
	margin: 0 0 1% .5%;
}

.col4:first-child { margin-left: 0; }
}

.span_4_of_4 {
	width: 100%;
}
.span_3_of_4 {
	width: 74.6%;
}
.span_2_of_4 {
	width: 49.2%;
}
.span_1_of_4 {
	width: 24.62%;
}


@media only screen and (max-width: 980px) {
	.span_1_of_4 { 
		margin: 0% 0 1% .5%;
		width: 49.75%;
	}

	.col4:nth-child(3) {
		margin-left: 0; 
	}

}


@media only screen and (max-width: 480px) {
	.span_1_of_4 { 
		margin: 0% 0% 0% 0% !important;
		width: 100%;
	}

	.col4 {
		display: block;
		float:left;
		margin: 0% 0% 0% 0% !important;
	}
}



/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
}



@media only screen and (max-width: 980px) {
	#header {
		display: none !important;
	}

	#logo {
		background: url("../images/logo-2.png") no-repeat scroll 0 0 / 120px auto rgba(0, 0, 0, 0);
   		height: 54px;
    		width: 120px;
		margin: 20px 0 0 30px;
		float: left;
	}

	.mobile {
		display: block !important;
	}
	
	#mobileheader {
		position: fixed;
		z-index: 1200;
		background: #1E1E1E;
		width: 100%;
		height: 100px;
	}

	.toppadnone {
		padding: 0% !important;
	}

	.btmpad {
		padding: 0 0 4.1% 0 !important;
	}

	.titlewrapper2 {
        	border-color: #fff;
    		border-image: none;
    		border-style: solid none;
    		border-width: 0 0 3px;
    		height: 20px;
   		margin: 0 auto 25px;
   		padding: 0 0 10px 0;
    		width: 50%;
	}

	.titlewrapper3 {
    		height: 20px;
   		margin: 0 auto 20px;
   		padding: 0 0 10px 0;
    		width: 60%;
	}

	.casestudy .textblock {
		margin: 0 auto;
		background: #f9cac8;
		width: 85%;
	}

	.fullimage p {
		width: 80%;
		margin: 0 auto;
	}

	.mailinglist {
		background: rgba(0, 0, 0, 0) url("http://www.nicholasmoegly.com/wp-content/uploads/2015/09/Mailing-List-BG.jpg") repeat scroll 0 0 / 160% auto;
    		height: 260px;
    		font-family: "Average",serif;
    		color: #fff;
    		text-align: center;
	}


	.homeintro {
		background: rgba(0, 0, 0, 0) url("http://www.nicholasmoegly.com/wp-content/uploads/2015/09/BGV2.jpg") repeat scroll 0 0 / 100% auto;
		width: 100%;
		margin-bottom: 60px;
		padding: 60px 0 65px 0;
    		color: #fff;
    		font-family: "Average",serif;
    		font-size: 24px;
   	 	line-height: 44px;
   	 	text-align: center;
		letter-spacing: 1px;
	}

	.featurework {
		margin-bottom: 4%;
	}

	#mc_embed_signup input.email {
    		border: 0 none !important;
    		color: #c9c8c8;
    		display: block;
    		font-family: "Lato",sans-serif;
    		font-size: 14px;
   		font-weight: 600;
    		height: 34px;
    		letter-spacing: 1px;
    		margin: 0 auto !important;
    		min-width: 130px !important;
    		padding: 8px 0 !important;
    		text-indent: 20px !important;
    		text-transform: uppercase;
    		width: 100% !important;
		float: none !important;
	}

	#mc_embed_signup .button {
		font-family: 'Noto Sans CJK', sans-serif !important;
    		border: 3px solid #fff !important;
    		border-radius: 0 !important;
    		clear: both !important;
    		color: #ffffff !important;
    		cursor: pointer !important;
    		display: inline-block !important;
    		font-size: 15px !important;
    		font-weight: bold !important;
    		height: 50px !important;
    		line-height: 32px !important;
    		margin: 0 auto !important;
    		text-align: center !important;
    		text-decoration: none !important;
    		text-transform: uppercase !important;
    		vertical-align: top !important;
    		white-space: nowrap !important;
    		width: auto !important;
		background: none !important;
		letter-spacing: 1px !important;
		padding: 0 30px !important;
		float: none !important;
		-webkit-transition:color .25s ease-in;  
   		-moz-transition:color .25s ease-in;  
   		-o-transition:color .25s ease-in;  
   		transition:color .25s ease-in; 
		-webkit-transition:background-color .25s ease-in;  
   		-moz-transition:background-color .25s ease-in;  
   		-o-transition:background-color .25s ease-in;  
   		transition:background-color .25s ease-in; 
	}

	#mc_embed_signup .clear {
    		clear: none;
    		display: block !important;
    		float: none !important;
		margin: 25px auto 0 !important;
		width: 137px;
	}

	#mc_embed_signup {
		width: 75% !important;
		margin: 20px auto 0px;
		padding-right: 10px;
	}

	.wpcf7-form {
		margin-top: 45px;
	}

	.box {
  		cursor: pointer;
  		position: relative;
  		overflow: hidden;
		margin-bottom: 4%;
	}
}

@media only screen and (min-width: 980px) {
	.nav-collapse {
		display: none !important;
	}
}


/* Responsive Navigation */

/* ------------------------------------------
  NAVIGATION STYLES
  (+ responsive-nav.css file is loaded in the <head>)
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: 25%;
    *width: 24.9%; /* IE7 Hack */
    _width: 19%; /* IE6 Hack */
  }
}

.nav-collapse a {
  color: #fff;
  text-align: center;
  font-family: 'Noto Sans CJK', sans-serif;
  text-decoration: none;
  width: 100%;
  background: #f9b7b7;
  border-bottom: 2px solid white;
  padding: 15px 0px;
  float: left;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-collapse a:hover {
  opacity: .8;
}

@media screen and (min-width: 980px) {
  .nav-collapse a {
    margin: 0;
    padding: 1em;
    float: left;
    text-align: center;
    border-bottom: 0;
    border-right: 1px solid white;
  }

.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

  .nav-collapse ul ul a {
    display: none;
  }
}



/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */


.nav-toggle {
  position: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  text-indent: -999px;
  position: relative;
  overflow: hidden;
  width: 95px;
  height: 70px;
  float: right;
}

.nav-toggle:before {
  color: #f9b7b7; /* Edit this to change the icon color */
  font-family: 'Noto Sans CJK', sans-serif;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  font-size: 70px;
  text-transform: none;
  position: absolute;
  content: "≡";
  text-indent: 0;
  text-align: center;
  line-height: 90px;
  speak: none;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-toggle.active::before {
  font-size: 50px;
  content:"x";
}



/* Target FireFox */

@-moz-document url-prefix() { 

  	.nav-toggle:before {
  		font-size: 50px;
		line-height: 107px;
		
  	}
}


