/*
Theme Name: enrichResponsive
Theme URI: http://www.enrichdesign.co.uk/
Description: A simple responsive wordpress theme.
Version: 1.0
Author: Richard Nicholls - www.enrichdesign.co.uk
Author URI: http://www.enrichdesign.co.uk/
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Tags: clean, simple, elegant
Text Domain: enrichresponsive

This theme, like WordPress, is licensed under the GPL. It is essentially a stripped down
and slightly modified version of the Readly theme by those fine folks at Wpshower http://wpshower.com/
*/

/* =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, font, ins, kbd, q, s, samp,
small, strike, menu, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body, button, input, select, textarea {
	background: #ffffff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #424242;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.25em;
	-webkit-font-smoothing: antialiased;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}

h1 { font-size:1.6em; line-height:120%; color: #000; padding:0 0 10px 0;}
h2 { font-size:1.3em; line-height:120%; color: #000; padding:10px 0 10px 0;}
h3 { font-size:1.1em; line-height:120%; color: #000; }
h4 { font-size:1.0em; }
h5 { font-size:0.8em; }
h6 { font-size:0.8em; }

h3, h4, h5, h6 { padding:10px 0 10px 0; }

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: 600;
	color: #000;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	padding-left: 1.2em;
	border-left: 5px solid #5d9cff;
	font-style: italic;
	background: none repeat scroll 0 0 #f9f9f9;
	margin: 20px 0;
	line-height: 1.5em;
	overflow: auto;
	padding: 15px 15px 0 20px;	
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	max-width: 100%;
	white-space: pre;
	white-space: pre-wrap;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 85%;
}
big {
	font-size: 120%;
	line-height: 1.25em;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th, td {
	border-bottom: 1px solid #dcdcdc;
	padding: 0.25em 0;
}
th {
	font-style: italic;
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	outline: none;
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
        max-width: 100%;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Alignment */
.left, .alignleft {
	display: inline;
	float: left;
	margin: 0 1.5em 0.3em 0;
}
.right, .alignright {
	display: inline;
	float: right;
	margin: 0 0 0.3em 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Links */
a {     color: #385d99;
        font-weight: 600;
        text-decoration:none;
}
a:hover {
        text-decoration:underline;
}
a.more {
	background-color: #385d99;
	border-radius: 5px;
	color: #fff;
	font-size: 90%;
	margin-right: 10px;
	padding: 7px 10px;
	text-decoration: none;
}
#social a {
        opacity: 0.3;
        filter: alpha(opacity=30); /* For IE8 and earlier */
}
#social a:hover {
        opacity: 1.0;
        filter: alpha(opacity=100); /* For IE8 and earlier */
}


/* WordPress core
----------------------------------------------- */
.wp-caption, .gallery-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
.sticky, .bypostauthor {}


/* widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}
.widget p {
        font-size: 80%;
}
/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}
.widget h3 {
    font-weight: 600;
}


/* plugin overrides
-------------------------------------------------- */

/* shortcodes ultimate lists */
.su-posts-default-loop .su-post-meta, .su-posts-default-loop .su-post-comments-link {
    display: none;
}

.wpcf7-form p {
        font-size: 0.8em;
}
.wpcf7-submit {
	padding: 4px 12px !important;
	background: #eee !important;
	/* optional rounded corners for browsers that support it */
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}


/* structure
----------------------------------------------- */

#top {  width: auto;
	margin: 0 auto;
	max-width: 960px;
}
.contentwidth {
	width: 100%;
}
#header {
        margin: 15px 20px;
}
#logo { width: 100%;
        max-width: 960px;
}
#site-navigation-wrapper {
    background-color: #385d99;
    min-height: 2em;
    width: 100%;
} 
#main, #footer {
        padding: 0 20px;
}
#page-content {
        padding-bottom: 30px;
}
#copyright-info {
        font-size: 0.8em;
        color: #777;
}
#quiet {
        font-size: 0.6em;
        color: #aaa;
}



/* menu
----------------------------------------------- */

.menu-item {
	font-size: 110%;
}	
#site-navigation {
	padding: 0;
        z-index: 99999;
}
#site-navigation a {
	display: block;
}
#site-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#site-navigation-wrapper2 {
        padding: 0.5em 0 0 0.5em;
	float: left;
        z-index: 99999;
}
#site-navigation-wrapper2 > div > ul > li {
	float: left;
	position: relative;
	margin-right:  1em;
	line-height: 1em;
	padding-bottom: 1em;
}
#site-navigation-wrapper2 > div > ul > li > a {
	position: relative;
	padding-bottom: 0.3em;
	color: #eee;
}
#site-navigation-wrapper2 > div > ul > li.submenu-off > a:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	left: -moz-calc(50% - 6px);
	left: -webkit-calc(50% - 6px);
	left: calc(50% - 6px);
	border-top: 6px solid #dcdcdc;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
}
.sub-menu {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#site-navigation-wrapper2 > div > ul > li > .sub-menu {
	display: none;
}

/* mobile menu */
.menu-toggle {
	display: none;
	cursor: pointer;
}

@media only screen and (min-width : 641px) {
	#site-navigation-wrapper2 > div > ul > li > .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 99999;
		padding: 0.5em 0;
/*		-webkit-box-shadow: 0px 0px 15px 3px rgba(227,227,224,1);
		-moz-box-shadow: 0px 0px 15px 3px rgba(227,227,224,1);
		box-shadow: 0px 0px 15px 3px rgba(227,227,224,1);*/
	}
	#site-navigation-wrapper2 > div > ul > li > .sub-menu:before {
		content: "";
		position: absolute;
		top: -6px;
		left: 50%;
		left: -moz-calc(50% - 6px);
		left: -webkit-calc(50% - 6px);
		left: calc(50% - 6px);
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
	}
	#site-navigation-wrapper2 > div > ul > li:hover .sub-menu {
		display: block;
                float: none;
	}
	.sub-menu {
		background: #f7f7f5;
	}
	.sub-menu:before {
		border-bottom: 6px solid #f7f7f5;
	}
	.sub-menu a {
		white-space: nowrap;
		color: #424242;
	}
	.sub-menu li {
		display: block;
		float: none;
		padding: 0 1em;
		font-size: inherit;
		text-align: left;
		line-height: 1.67em;
	}
	.sub-menu li li {
		padding: 0;
	}
}

@media only screen and (max-width : 640px) {            /* mobile menu */         
        #main, #footer {
	        padding: 0 20px;
	}
	#header {
		margin: 15px 0;
	}
	#site-navigation-wrapper2 {
		padding: 0;
                float: none;
                position: absolute;
                top: 0;
                width: 100%;
	}
        #logo {
                margin-top: 55px;
        }
	.menu-toggle {
		display: block;
		background: #424242;
		padding: 0 15px;
		color: #fff;
		font-style: italic;
		font-size: 16px;
		font-size: 1.6rem;
		line-height: 3em;
		text-shadow: none;
	}
	.menu-toggle i {                 /* icon */
                float: right;
                font-size: 2.5rem;
                padding-top: 12px;
	}
	#site-navigation-wrapper2 > div > ul {
		display: block;
		list-style: none;
		padding: 0;
		margin: 0;
		border-top: 1px solid #383837;
		text-shadow: none;
		-webkit-transition: max-height 400ms;
		overflow: hidden;
		max-height: 0;
	}
	#site-navigation-wrapper2 > div > ul > li {
		float: none;
		position: static;
		padding: 0;
		margin: 0;
		background: #424242;
	}
	#site-navigation-wrapper2 > div > ul > li a {
		display: block;
		padding: 0 0 0 20px;
		color: #fff;
		border-bottom: 1px solid #383837;
		font-style: italic;
		font-size: 16px;
		font-size: 1.6rem;
		line-height: 2.25em;
	}
	#site-navigation-wrapper2 > div > ul > li.submenu-off > a:after {
		border-top: none;
	}
	#site-navigation-wrapper2 > div > ul .sub-menu li a {
		padding-left: 40px;
	}
	#site-navigation-wrapper2 > div > ul > li > .sub-menu {
		display: block;
	}
}

        
/* galleries
----------------------------------------------- */
     
.gallery {
	width: 100%;
}

.gallery img {
	width: 100%;
	height: auto;
	background: #f3f3f3 none repeat scroll 0 0;
	border: 1px solid #e1e1e1;
	padding: 3px;
}

.gallery .gallery-item {
	display: inline-block;
	vertical-align: top;
	margin: 0 4.109589041% 4.109589041% 0;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 18px;
	line-height: 1.8rem;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
	margin-right: 0;
}

.gallery-columns-2 .gallery-item {
	width: 47.945205479%;
}

.gallery-columns-3 .gallery-item {
	width: 30.593607306%;
}

.gallery-columns-4 .gallery-item {
	width: 21.917808219%;
}

.gallery-columns-5 .gallery-item {
	width: 16.712328767%;
}

.gallery-columns-6 .gallery-item {
	width: 15.525114155%;
	margin-right: 1.369863014%;
}

.gallery-columns-7 .gallery-item {
	width: 13.111545988%;
	margin-right: 1.369863014%;
}

.gallery-columns-8 .gallery-item {
	width: 11.301369863%;
	margin-right: 1.369863014%;
}

.gallery-columns-9 .gallery-item {
	width: 9.893455099%;
	margin-right: 1.369863014%;
}

.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}


/* responsive grid - see http://webdesignerwall.com/tutorials/responsive-column-layouts
--------------------------------------------------------------------------------------- */
.col-wrapper {
	overflow: hidden;
}
.col {
	float: left;
	margin-left: 2.127659574468%;
	margin-bottom: 20px;
}
.fullwidth .col {
	width: 100%;
	float: none;
	margin-left: 0;
}
/* grid4 col */
.grid4 .col {
	width: 23.404255319149%;
}
/* grid3 col */
.grid3 .col {
	width: 31.914893617021%;;
}
/* grid2 col */
.grid2 .col {
	width: 48.936170212766%;
}
/* clear col */
.grid4 .col:nth-of-type(4n+1),
.grid3 .col:nth-of-type(3n+1),
.grid2 .col:nth-of-type(2n+1) {
	margin-left: 0;
	clear: left;
}

/* reset cols to 2-column */
@media screen and (max-width: 768px) {
	/* grid4 */
	.grid4 .col {
		width: 48.936170212766%;
	}
	.grid4 .col:nth-of-type(3n+1) {
		margin-left: 2.127659574468%;
		clear: none;
	}
	.grid4 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}

	/* grid3 */
	.grid3 .col {
		width: 48.936170212766%;
	}
	.grid3 .col:nth-of-type(3n+1) {
		margin-left: 2.127659574468%;
		clear: none;
	}
	.grid3 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
}

/* reset cols to fullwidth */
@media screen and (max-width: 500px) {
	/* grid4 */
	.col {
		width: 100% !important;
		margin-left: 0 !important;
		clear: none !important;
	}
}


/* clearfix
----------------------------------------------- */
.clearfix {
	clear: both;
}
.clear {
	clear: both;
	padding-bottom: 10px;
}