@charset "UTF-8";
/* Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body, html {width:100%; height:100%;}
body {
	line-height: 1;
	width:100%;
	height: auto;
}
body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	text-decoration:none;
	color:#333;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

/* Grid Styles */

.cbp-rfgrid {
	margin: 35px 0 0 0;
	padding: 0;
	list-style: none;
	position: relative;
	width: 100%;
}

.cbp-rfgrid li {
	position: relative;
	float: left;
	overflow: hidden;
	width: 25%; /* Fallback */
	width: -webkit-calc(100% / 4);
	width: calc(100% / 4);
}

.cbp-rfgrid li a,
.cbp-rfgrid li a img {
	display: block;
	width: 100%;
	cursor: pointer;
}

.cbp-rfgrid li a img {
	max-width: 100%;
}

/* Flexbox is used for centering the heading */
.cbp-rfgrid li a div {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background: rgba(5,5,5,0.7);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
}

.cbp-rfgrid li a:hover div {
	-webkit-transition: opacity 500ms ease-out;
    -moz-transition: opacity 500ms ease-out;
    -o-transition: opacity 500ms ease-out;
    transition: opacity 500ms ease-out;
	opacity: 1;
}

.cbp-rfgrid li a div h3 {
	width: 100%;
	color: #FFF;
	text-transform: uppercase;
	font-size: 1.4em;
	letter-spacing: 2px;
	padding: 0 20px;
	font-weight: 700;
}

/* Nav Styles */

nav a {
	position: relative;
	display: inline-block;
	margin: 15px 25px;
	outline: none;
	color:#CCC;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	font-size: 12px;
}

nav a:hover,
nav a:focus {
	outline: none;
}

/* Home Styles */

body {
	background:url(../images/moulin.png);
}

.main,
.container > header {
	margin: 0 auto;
	height: 110px;
	position:relative;
	width: 100%;
}

header.home {
	height: 75px;
}

.container > header h1 {
	font-size: 2.125em;
	line-height: 1.3;
	margin: 0;
	float: left;
	font-weight: 400;
}

.container > header span {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	padding: 0 0 0.6em 0.1em;
}

#logo {
  position: absolute;
  top: 20px;
  left: 60px;
}

#logo img {
	height:70px;
	width:auto;
}

.main-menu {
	float: right;
	margin-right:40px;
	margin-top:30px;
}

.main-menu a {
	display:block;
	margin-left: 15px;
	float: left;
}

/* Interior Template Styles */

#body {
	background:#FFF;
	width:100%;
	height:auto;
}

#body-nav {
	position: absolute;
	right: 150px;
}

#body-nav ul li {
	display: block;
	width: 40px;
	height: 40px;
	background: #000;
	margin-bottom:1px;
	position: relative;
	float: left;
}

#body-nav ul li#home img {
	position:absolute;
	top:4px;
	left: 6px;
}

#body-nav ul li#left-arrow img {
	position:absolute;
	top:8px;
	left: 9px;
}

#body-nav ul li#right-arrow img {
	position:absolute;
	top:8px;
	left: 9px;
}

#content {
	width: 1000px;
	margin:auto;	
	overflow:hidden;
}

h1 {
	padding-top:30px;
	padding-bottom:35px;
	font-size:50px  !important;
	text-transform:uppercase;
	font-weight: 100 !important;
	width:75%;
}
#content p {
	width:75%;
}

#content img.center {
	width: 75%;
	height:auto;
	clear:both;
	margin-bottom:20px;
}

#content img.left-align {
	width:40%;
	margin-right: 5%;
	height:auto;
	float:left;
	display:block;
	margin-bottom:30px;
}

#content img.right-align {
	width:40%;
	margin-left: 5%;
	height:auto;
	float:left;
	display:block;
	margin-bottom:30px;
}

p.sub-head {
	font-weight: 100;
	font-size: 25px;
	padding-bottom: 20px;
	line-height:1.3em;
}

p.main-body {
	font-size: 18px;
	line-height:1.4em;
	padding: 15px 0px;
	font-weight:100;
}

p.left {
	clear:right;
	float:left;
	width:30% !important;
}

p.right {
	float:left;
	width:30% !important;
}

div.left-align, div.right-align {
	width: 100%;
	clear:both;
}

/* Modal Window Styles */

.modal-container {
	background: #e74c3c;
	min-height: 100%;
}

a.md-trigger {
	cursor: pointer;
}
.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 100%;
	max-width: 1000px;
	height: 100%;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(143,27,15,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #fff;
	background: #e74c3c;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	padding-top:2%;
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
}

.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}

.md-content > div p {
	line-height: 1.3;
	max-width: 600px;
	margin-top: 10px;
}

p.about {
	margin:auto;
	clear:both;
}

.md-content > div ul {
	display:block;
	margin: auto;
	width: 300px;
}

#contact {
	margin-top:30px;
}

.md-content > div ul li {
	display:block;
	float:left;
	width:24%;
	height: auto;
	padding:1%;
}

.md-content > div ul li img {
	width:100%;
	height:auto;
	filter: none;
	-webkit-filter: grayscale(0%);
}

.md-content > div ul li img:hover {
	filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0	 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscalerayscale");
	filter: gray;
	-webkit-filter: grayscale(100%);
	-moz-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.md-content button {
	display: block;
	margin: 0 auto;
	background: none;
	border: none;
	color:#FFF;
	font-size:20px;
	font-weight:100 !important;
	cursor: pointer;
}

.md-effect-12 .md-content {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-12 ~ .md-overlay {
	background: #4D4D4D;
} 

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
	background: transparent;
}

.md-show.md-effect-12 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.md-close {
	position: absolute;
	top: 10px;
	right:10px;
}

.circular {
	width: 200px;
	height: 200px;
	background-size: cover;
	display: block;
	 border-radius: 100px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	margin:auto;
}

#about {
	 background-image: url(../images/about-photo.jpg);
}

.contact-1 {
	float:left;
	width: 50%;
}

.contact-1 h2, .contact-1 p {
	text-align: center;
}

.contact-1 p {
	width:100%;
}

.contact-container-1 {
	margin: auto;
	display:block;
	max-width: 400px;
	overflow:hidden;
	padding-top:20px;
}

.contact-1 p a {
	color: #90c43e;
}

/* Effect 3: bottom line slides/fades in */
.cl-effect-3 a {
	padding: 8px 0;
}

.cl-effect-3 a::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgba(250, 250, 250, 0.5);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	transform: translateY(10px);
}

.cl-effect-3 a:hover::after,
.cl-effect-3 a:focus::after {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

/* Example for media query: change number of items per row */

@media screen and (max-width: 1190px) {
	.cbp-rfgrid li {
		width: 25%; /* Fallback */
		width: -webkit-calc(100% / 4);
		width: calc(100% / 4);
	}
}

@media screen and (max-width: 945px) {
	.cbp-rfgrid li {
		width: 25%; /* Fallback */
		width: -webkit-calc(100% / 4);
		width: calc(100% / 4);
	}
	#content {
		width: 640px;
		margin:auto;
	}
	#body-nav {
		position: absolute;
		right: 100px;
	}
	#logo {
		left: 3%;
	}
	.circular {
		margin:auto;
		float:none;
	}
	#contact {
		clear:both;
		width: 100%;
	}
	.md-content > div ul {
		display: block;
		padding: 0;
		width: 300px;
		height: auto;
		margin: auto;
	}
	.md-content > div ul li {
		width: 25%;
	}
	.md-content > div p {
		margin: 20px 0px;
		width: 100%;
	}
	p.about {
		padding: 0;
	}
}

@media screen and (max-width: 660px) {
	.cbp-rfgrid li {
		width: 25%; /* Fallback */
		width: -webkit-calc(100% / 2);
		width: calc(100% / 2);
	}
	#content {
		width: 400px;
		margin:auto;
	}
	p.main-body {
		padding-top:5px;
	}
	#content img.center {
		margin-bottom:5px;
	}
	#content img.left-align, #content img.right-align {
		width:75%;
		height:auto;
		float:left;
		display:block;
		margin-bottom:10px;
	}
	p.left, p.right {
		width: 75% !important;
	}
	#body-nav {
		position: absolute;
		right: 50px;
	}
}

@media screen and (max-width: 400px) {
	.cbp-rfgrid li {
		width: 100%; /* Fallback */
		width: -webkit-calc(100% / 1);
		width: calc(100% / 1);
	}
	#logo img{
		height:auto;
		width: 80px;
		margin:auto;
		display:block;
	}
	#logo {
		width: 100%;
		height:auto;
		margin:auto;
		position:relative;
		left:0px;
	}
	.main-menu {
		width: 100%;
		margin:auto;
		position:relative;
		display:block;
	}
	.main-menu a {
		padding:22px 10px 5px 85px;
	}
	#content {
		width: 300px;
		margin:auto;
	}
	h1 {
		font-size: 40px !important;
	}
	p.sub-head {
		font-size: 20px !important;
	}
	#body-nav {
		position: absolute;
		right: 5px;
	}
	#content img.left-align, #content img.right-align {
		width:100%;
		height:auto;
		float:left;
		display:block;
		margin-bottom:10px;
		margin-left: 0px;
	}
	#content img.center {
		width: 100%;
	}
	p.left, p.right {
		width: 100% !important;
	}
	#content p {
		width: 100% !important;
	}
	p.main-body {
		width:100% !important;
	}
	.md-content > div {
		padding: 8px 40px 30px;
	}
	.md-content > div ul {
		width: 235px;
	}
	.md-content > div p {
		font-size: 14px;
	}
	.circular {
		width: 100px;
		height: 100px;
	}
	.md-content {
		padding-top: 0;
	}
	.md-content h3 {
		padding: 12px;
		font-size:20px;
	}
	a.md-trigger {
		width: 45px;
		height: auto;
		margin: auto;
		display: block;
		float: none;
		padding:36px 0px 0px 0px;
	}
}

@media screen and (max-width: 300px) {
	.cbp-rfgrid li {
		width: 100%;
	}	
}