/*------------------------------------*\
    RESET
\*------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/ 
    v2.0b1 | 201101 
    NOTE:WORK IN PROGRESS
    USE WITH CAUTION AND TEST WITH ABANDON */

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,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,figcaption,figure,
footer,header,hgroup,menu,nav,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{
    line-height:1;
}

blockquote,q{
    quotes:none;
}
blockquote:before,blockquote:after,
q:before,q:after{
    content:’’;
    content:none;
}


/* remember to highlight inserts somehow! */
ins{
    text-decoration:none;
}
del{
    text-decoration:line-through;
}

table{
    border-collapse:collapse;
    border-spacing:0;
}





/*------------------------------------*\
    $MAIN
\*------------------------------------*/
/* GO! */

/* Body & defaults */

body {
	background: #928d77 url(../images/celticcrossbg.jpg);
	color: #545454;
	font-family: Helvetica, Arial, "Helvetica Neue", sans-serif;
	}
	
h1, h2, h3 {
	font-family: 'Quattrocento', serif;
	line-height: 1.2em;
	}
	
h1 {
	font-size: 1.6em;
	margin-bottom: 10px;
	}

body.home h1 {
	color: #263d8d;
	font-size: 2.0em;
	margin-bottom: 15px;
}	
	
h2 {
	font-size: 1.4em;
	margin-bottom: 10px;
	}
	
h3 {
	font-size: 1.2em;
	color: #263d8d;
	margin: 20px 0 10px 0;
	}	
	
p {
	font-size: 1.0em;
	line-height: 1.5em;
	margin-bottom: 10px;
	}
	
p#tagline {
	font-size: 1.2em;
	font-weight: bold;
	font-family: 'Quattrocento', serif;
	}	
	
a {
	color: #545454;
	text-decoration: underline;	
	}
	
a:hover {
	text-decoration: none;	
	}
	
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

em {
	font-style: italic;
}

/* Making Images Responsive */

img,
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
#sidebar img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
	}	
	
img.aligncenter,
.wp-caption.aligncenter {
	display: block;
	margin: 0 auto 10px;
	max-width: 100%;
	height: auto;
}		

/* Wrapper & Skiplink */	
	
#wrapper {
	max-width: 980px;
	margin: 0 auto;
	background-color: #ffffff;
	-webkit-box-shadow: 0 3px 20px 5px rgba(90, 91, 71, 1);
	-moz-box-shadow: 0 3px 20px 5px rgba(90, 91, 71, 1);
	box-shadow: 0 3px 20px 5px rgba(90, 91, 71, 1);
	}
	
#skiplink {
	position: absolute;
	left: -9999px;
	}
	
li {
	margin-bottom: 10px;
	}

/* Header & Branding */

#masthead {
	padding: 30px;
	min-height: 165px;
	background: #ffffff url(../images/mastheadbg.jpg) no-repeat;
	}
	
#masthead p, #branding {
	float: left;
	font-size: 0.8em;
	text-align: center;
	margin-top: 20px;	
	}
	
#masthead span {
	color: #263d8d;
	}
	
#branding {
	margin: 0 45px 0 65px;	
	}
	
#branding p {	
	float: none;
	font-family: 'Quattrocento', serif;
	color: #263d8d;
	font-size: 2.5em;
	margin-top: 0;	
	}
	
/* Navigation */

nav#mainnav {
	background: #757360;
	min-height: 45px;
	position: relative;
}

nav#mainnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 55;	
	text-align: center; 
}

nav#mainnav ul::after {
	content: ''; 
	display: block;
	clear: both;
}

nav#mainnav ul li:hover {
	background-color: rgba(117,115,96,.9);
}

nav#mainnav ul li:hover > ul {
	display: block;	
}

nav#mainnav ul li a {
	font-family: 'Quattrocento', serif;
	display: block;
	color: #fff;
	font-size: 1.2em;	
	min-height: 45px;
	padding: 15px 20px;
	box-sizing: border-box;
	text-decoration: none;	
}

nav#mainnav ul li a:hover, #mainnav .current-menu-item {
	background-color: #545246;
}

nav#mainnav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	background-color: rgba(117,115,96,.9);	
	text-align: left;	
}

nav#mainnav ul ul li {
	position: relative;
	margin-bottom: 0;
}

nav#mainnav ul ul ul {
	left: 100%;
	top: 0;	
}

/* top level */

nav#mainnav > ul > li {
	/*float: left;	*/
	margin-bottom: 0;
	display: inline-block;	
}

nav#mainnav > ul  > li > a {	
	width: auto;		
}
	
/* Content */	

/* slideshow */

#slideshow {
    clear: left;	
	}
	
#slideshow ul, #slideshow li {
	margin: 0;
	padding: 0;
	}	

#content {
	padding: 0 30px;
	margin-top: 30px;	
	}
	
#content ul {
	margin: 0 0 20px 20px;
	}
	
/* boxouts & columns */	
	
.boxout {
	float: left;	
	max-width: 290px;
	min-height: 580px;
	margin: 30px 20px 0 0;	
	position: relative;	
	}
	
.boxoutright, .columnright {
	margin-right: 0; /* margin right not needed on this one */
	}
	
.boxout h1, h2, .column h1, .column h2 {
	color: #263d8d;
	}
	
.column h2 {
	margin-top: 30px;
	}
	
.columnright h2 {
	margin-top: 0;
	}	
	
.boxout img {
	border: 5px solid #a29f85;
	position: absolute;
	bottom: 0;
	right: 0;
	}	
	
.boxout img, .column img {
	border: 5px solid #a29f85;	
	}

#content .column {	
	/*max-width: 580px;*/
	float: left;
	width: 65%;
	margin-right: 20px;
	height: auto !important;
	height: 320px;
	min-height: 320px;		
	}
	
#content .columnright {
	/*max-width: 290px;*/
	width: 30%;
	margin-right: 0; /* margin right not needed on this one */	
	height: auto !important;
	height: 200px;
	min-height: 200px;		
	}	
	
	
/* Services Page */

.column .servicesthumb {
	float: left;
	margin: 0 10px 20px 0;
	border: 2px solid #a29f85;
	}
	
.servicebox {
	width: 33%;
	text-align: center;
	float: left;
	margin-top: 20px;
	margin-bottom: 20px;	
	}
	
.servicebox img {
	margin: 0;
	}
	
.servicebox h2 {
	margin: 0;
	font-size: 1em;
	padding-top: 5px;	
	}

#servicesmenu {
	border: 5px solid #a29f85;
	padding: 10px 20px 0 20px;
	}	
	
#servicesmenu h2 {
	margin-top: 0;
	}
	
#servicesmenu ul 	{
	list-style: none;
	margin-left: 0;
	}
	
#servicesmenu a {
	display: block;
	padding: 10px;
	border: 1px solid #757360;
	font-size: 1em;	
	text-decoration: none;	
	}	
	
#servicesmenu a:hover, #servicesmenu .current a {
	background-color: #757360;	
	color: #ffffff;
	}

/* Project Page */

a.fancybox {
	display: block;
	float: left;
	margin-bottom: 20px;
	width: 20%;
	text-align: center;
	}
	
.casestudy {
		overflow: hidden;
		margin: 20px 0 35px 0;
		padding-bottom: 35px;
		border-bottom: 1px solid #a29f85;
}
	
.caseimages {
	float: left;
	margin-right: 20px;
}
	
.caseimages a.fancybox {
	display: inline;
	float: none;
	width: auto;
}

.caseimages img {
	border: 2px solid #a29f85;
}

.casedate {
	font-size: 0.9em;
}

/* Footer */		

#footer {
	margin: 30px 0 10px 0;
	color: #ffffff;
	background-color: #757360;
	padding: 30px;
	min-height: 225px;
	}
	
#footer h2, #footer a {
	color: #ffffff;
	}
	
#footer ul {
	margin-left: 15px;
	}
	
.footerboxout, .footerboxoutright {
	float: left;
	width: 30%;
	margin-right: 20px;
	}
	
.footerboxoutright {
	margin-right: 0; /* margin right not needed on this one */
	}		
	
	
/* Credit */	

#logos {
	text-align: center;
	margin: 10px 0;
	}

#credit {
	padding-bottom: 20px;	
	}
	
#credit p {
	text-align: center;
	font-size: 0.8em;	
	}
	
#credit a {
	color: #545454;
	}
	
/*
-------------------------------
MEDIA QUERIES
-------------------------------
*/

/* INBETWEENY = 832px - 963px */

@media only screen
and (min-width : 832px ) and (max-width : 963px) {


/* Header & Branding */

	#masthead {
	padding: 30px;	
	background: #ffffff url(../images/mastheadbg.jpg) no-repeat;
	}
	
	#masthead p, #branding {
	float: none;	
	margin-top: 20px;	
	}	
	
	#masthead br {
	display: none;
	}
	
	#branding {
	margin: 20px 0 0 0;
	}
	
}	

/* TABLET = 501px - 832px */

@media only screen
and (min-width : 501px ) and (max-width : 832px) {

/* Wrapper & Skiplink */	
	
	#wrapper {
	max-width: 800px;
	}
	
/* Header & Branding */

	#masthead {
	padding: 30px;	
	background: #ffffff url(../images/mastheadbg.jpg) no-repeat;
	}
	
	#masthead p, #branding {
	float: none;	
	margin-top: 20px;	
	}	
	
	#branding {
	margin: 20px 0 0 0;
	}

/* Navigation */

	#navigation a {	
	display: block; 
	}		

/* Content */

	#content {
	margin-bottom: 30px;
	}

	
/* boxouts & columns */	
	
	.boxout {
	float: none;	
	max-width: 750px;	
	margin-right: 0;
	min-height: 100px;
	margin-bottom: 30px;
	}
	
	.boxout h1, .boxout h2, .column h1, .column h2 {
	text-align: center;
	}
	
	.boxout p {
	text-align: center;
	}	
	
	.column h2 {
	margin-top: 30px;
	}
	
	.boxout img {
	position: static;
	display: block;
	margin: 0 auto;		
	}	

	#content .column {
	float: none;
	margin: 0 0 30px 0;
	width: 100%;	
	}
	
	#content .columnright {	
	width: 50%;
	margin: 0 auto;
	clear: left;
	}	

/* Services Page */	

	.servicebox h2 {
	margin: 0;	
	}

	#servicesmenu {
	clear: left;
	}
	
/* Project Page */	

	a.fancybox {
	width: 25%;
	}	

/* Footer */		

	#footer {
	margin: 0 0 10px 0;
	padding: 30px;	
	}
	
	.footerboxout h2, .footerboxout p, .footerboxout a, .footerboxout ul {
	text-align: center;
	}
	
	#footer ul {
	margin-left: 0;
	list-style: none;
	}
	
	.footerboxout {
	float: none;	
	width: auto;
	margin: 0 0 30px 0;		
	}
	
	.footerboxoutright {
	margin-bottom: 0;
	}
	
/* IFRAME */

	.iframecontainer {
    height: 0;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
	}

	.iframecontainer iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	} 
	
/* Credit */	

	#logos {
	margin: 0;
	}
	
	#logos img {
	margin: 10px; 
	}
	
}

/* INBETWEEN - FLIPPING THE MENU */	

@media only screen
and (min-width : 501px ) and (max-width : 770px) {
	
	/* Navigation */
	
	nav#mainnav {
	text-align: center;
	}
	
	nav#mainnav ul{
	margin-bottom: 0;
	}
	
	nav#mainnav > ul > li {
	display: block;
	}
	
	nav#mainnav ul li a {
	padding: 15px 10px;
	width: 100%;
	box-sizing: border-box;
	border-bottom: 1px solid #fff;
	}
	
	nav#mainnav > ul > li:last-child a {
	border: none;
	}
	
	nav#mainnav ul li:hover > ul {
	display: none;
	}	
	
}

/* PHONE = 50px - 500px */

@media only screen
and (min-width : 50px ) and (max-width : 500px) {

/* Wrapper & Skiplink */	
	
	#wrapper {
	max-width: 500px;
	}
	
/* Header & Branding */

	#masthead {
	padding: 30px;	
	background-image: none;
	}
	
	#masthead p, #branding {
	float: none;	
	margin-top: 20px;	
	}	
	
	#branding {
	margin: 20px 0 0 0;
	}

/* Navigation */

	nav#mainnav {
	text-align: center;
	}
	
	nav#mainnav ul{
	margin-bottom: 0;
	}
	
	nav#mainnav > ul > li {
	display: block;
	}
	
	nav#mainnav ul li a {
	padding: 15px 10px;
	width: 100%;
	box-sizing: border-box;
	border-bottom: 1px solid #fff;
	}
	
	nav#mainnav > ul > li:last-child a {
	border: none;
	}
	
	nav#mainnav ul li:hover > ul {
	display: none;
	}

/* Content */

	#content {
	margin-bottom: 30px;
	padding: 0 10px;	
	}

	body.home h1, p, ul {
	text-align: center;
	}
	
/* boxouts & columns */	
	
	.boxout {
	float: none;	
	max-width: 500px;	
	margin-right: 0;
	min-height: 100px;
	margin-bottom: 30px;
	}
	
	.boxout h1, .boxout h2, .column h1, .column h2 {
	text-align: center;
	}
	
	.boxout p, .column p, .column ul {
	text-align: center;
	}	
	
	.column h2 {
	margin-top: 30px;
	}
	
	.boxout img {
	position: static;
	display: block;
	margin: 0 auto;	
	max-width: 200px;	
	}	

	#content .column {	
	float: none;
	margin: 0 0 30px 0;
	width: 100%;	
	}
	
	#content .columnright {
	width: 100%;	
	clear: left;
	}	
	
	#content .columnright img {
	margin: 0 auto;	
	display: block;
	}
	
	/* Services Page */	

	.column .servicesthumb {
	float: none;	
	margin: 0 auto 20px auto;	
	display: block;
	}

	.servicebox {
	width: 50%;	
	}
	
	.servicebox h2 {
	margin: 0;	
	}

	#servicesmenu {
	clear: left;
	}

/* Project Page */	

	a.fancybox {
	width: 50%;
	}	
	
	.caseimages {
	float: none;
	margin-right: 0;
	text-align: center;
	}
	
/* Footer */		

	#footer {
	margin: 0 0 10px 0;	
	padding: 30px;	
	}
	
	.footerboxout h2, .footerboxout p, .footerboxout a, .footerboxout ul {
	text-align: center;
	}
	
	#footer ul {
	margin-left: 0;
	list-style: none;
	}
	
	.footerboxout {
	float: none;
	width: auto;
	margin: 0 0 30px 0;	
	}
	
	.footerboxoutright {
	margin-bottom: 0;
	}
	
/* IFRAME */

	.iframecontainer {
    height: 0;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
	}

	.iframecontainer iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	} 
	
/* Credit */	

	#logos {
	margin: 0;
	}
	
	#logos img {
	margin: 10px; 
	}
	
}