/*
Theme Name: Hannah
Theme URI: http://underscores.me/
Author: Hannah Hayes
Author URI: http://www.hannahhayes.co.uk
Description: This is a custom theme built by Hannah for Hannah.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hannah
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Hannah is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
	## Header
	## Content
	## Footer
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets and Plugins
    ## Formidable and Progress Bar
# Content
    ## Posts and pages
    	### Home Page
    	### About and Contact Page
    	### Portfolio Page
    ## Asides
    ## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
	display: block;
}

audio,canvas,progress,video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,strong {
	font-weight: 700;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: .67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,kbd,pre,samp {
	font-family: monospace,monospace;
	font-size: 1em;
}

button,input,optgroup,select,textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,select {
	text-transform: none;
}

button,html input[type="button"],input[type="reset"],input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: 700;
}

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

td,th {
	padding: 0;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,button,input,select,textarea {
	color: #404040;
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
}

h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-family: serif;
	letter-spacing: 2px;
	font-weight: 300;
	text-transform: lowercase;
}

h2 {
	font-size: 24px;
	line-height: 30px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 14px;
}

p {
	margin-bottom: 1em;
	font-size: 16px;
}

dfn,cite,em,i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-size: 15px;
	font-size: .9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,kbd,tt,var {
	font-size: 15px;
	font-size: .9375rem;
}

abbr,acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,:before,:after {
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
/* Fallback for when there is no custom background color defined. */
	background: #FDFAF3;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: "";
}

blockquote,q {
	quotes: "" "";
}

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

ol {
	margin: 0 0 1.5em 3em;
}

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

ol {
	list-style: decimal;
}

li > ul,li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
/* Make sure images are scaled correctly. */
	width: 100%;
/* Adhere to container width. */
}

table {
	margin: 0;
	width: 100%;
}

.button {
	border: 1px solid #E5DBCD;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	padding: 12px 24px !important;
	font-size: 14px;
	margin-top: 1em;
	position: relative;
	overflow: hidden;
	outline: none;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}

.button::after {
	width: 0;
	height: 300%;
	background: rgba(255,255,255,0.4);
	z-index: 1 !important;
	right: 0;
	top: 0;
	margin: -5px 0 0 -5px;
	-webkit-transform-origin: 0 0;
	-webkit-transform: rotate(-20deg);
	-moz-transform-origin: 0 0;
	-moz-transform: rotate(-20deg);
	-ms-transform-origin: 0 0;
	-ms-transform: rotate(-20deg);
	transform-origin: 0 0;
	transform: rotate(-20deg);
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	box-sizing: border-box;
}

.button:hover::after {
	width: 120%;
}

@media screen and (max-width: 1024px) {
.button::after {
display: none;
}
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header {
	width: 84%;
	display: table;
	margin: 0 auto;
	padding-top: 3em;
	border-right: 1px solid #E5DBCD;
	border-left: 1px solid #E5DBCD;
}

.site-header img {
	display: table;
	margin: 2em auto;
	max-width: 500px;
}

@media screen and (max-width: 768px) {
	.site-header {
		width: 100%;
		border: 0;
	}

	.site-branding {
		padding: 0 3em;
	}
}

/*--------------------------------------------------------------
## Content
--------------------------------------------------------------*/
.content-area {
	width: 88%;
	display: block;
	margin: 0 auto;
	max-width: 1200px;
}

.page-id-7275 .content-area {
	margin: 4em auto;
}

.archive .content-area {
	display: table;
}

.site-content {
	width: 84%;
	margin: 0 auto;
	border-right: 1px solid #E5DBCD;
	border-left: 1px solid #E5DBCD;
}

.page .site-content,.archive .site-content,.error404 .site-content {
	background: url(http://www.hannahhayes.co.uk/wp-content/uploads/2016/03/criss-cross-pink.png);
	background-size: 8%;
}

.page .content-area,.archive .content-area,.error404 .content-area {
	background: #F8F7F3;
	padding: 5em;
	margin: 4em auto;
	border: 1px solid #E5DBCD;
}

.home .content-area {
	padding: 0;
}

.entry-header,.page-header {
	border-bottom: 1px solid #E5DBCD;
	padding-bottom: 2em;
	margin-bottom: 3em;
	text-align: center;
}

.blog-sidebar {
    display: block;
    margin: 0 auto;
    max-width: 1200px;
    width: 80%;
}
.blog-sidebar-inner {
	float: left;
    padding: 1em;
    border: 1px solid #E5DBCD;
width: 100%;
}

.blog-sidebar .widget {
	margin-bottom: 0;
}

.blog-sidebar .widget #s {
	width: 100%;
    border: 0;
	float: left;
    margin-right: 10px;
	border-radius: 0;
	outline: none;
}

@media screen and (max-width: 768px) {
	.site-content {
		width: 100%;
		border: 0;
	}

	.not-home .content-area,.archive .content-area,.page-id-7275 .content-area,.error404 .content-area {
		padding: 3em;
	}

	.blog-sidebar {
		width: 100%;
	}
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer {
	width: 84%;
	display: table;
	text-align: left;
	background: #EFE7E1;
	padding: 3em 0 2em;
	margin: 0 auto;
	border-right: 1px solid #E5DBCD;
	border-left: 1px solid #E5DBCD;
}

.site-footer h4 {
	font-size: 14px;
	margin-top: 0;
}

.site-footer a {
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	color: #404040;
	letter-spacing: 2px;
	font-weight: 400;
}

.site-footer .widget {
	margin: 0;
}

.constellation {
	width: 5%;
	margin: 0 auto;
	display: table;
}

@media screen and (max-width: 768px) {
	.site-footer {
		width: 100%;
		border: 0;
	}

	.constellation {
		width: 10%;
	}
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
}

input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,textarea:focus {
	color: #111;
}

input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #AD7460;
	text-decoration: none;
}

a:visited {
	color: #AD7460;
}

a:hover,a:focus,a:active {
	color: #AD7460;
}

a:focus {
	outline: 0;
}

a:hover,a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 4px;
	margin: 2em 0 0;
	border-top: 1px solid #E5DBCD;
	border-bottom: 1px solid #E5DBCD;
}

.menu-home-container {
	display: table;
	margin: 0 auto;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	margin: 1.5em 2em;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	outline: 0;
	color: #404040;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}

.main-navigation a:hover {
	color: #AD7460;
}

.current-menu-item a {
	color: #AD7460;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
}

.main-navigation li:hover > a,.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,.main-navigation .current-menu-item > a,.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle,.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	margin: 0 auto;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 14px;
	line-height: 1;
	padding: 1.2em 1em 1em !important;
	text-shadow: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 400;
	outline: 0;
}

.menu-toggle:hover,.menu-toggle:active,.menu-toggle:focus {
	box-shadow: none;
}

@media screen and (min-width: 800px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: block;
	}
}

@media screen and (max-width: 768px) {
	.main-navigation li {
		width: 100%;
		text-align: center;
		margin: 1em 0;
	}
}

.site-main .comment-navigation,.site-main .posts-navigation,.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,.posts-navigation .nav-previous,.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,.posts-navigation .nav-next,.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* 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: .875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
/* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after {
	content: "";
	display: table;
}

.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets and Plugins
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
## Formidable and Progress bar
--------------------------------------------------------------*/
.frm_ajax_loading {
	display: none;
}

div.wppb-progress {
	background: transparent;
	border: 1px solid #E5DBCD;
	height: 27px;
}

div.wppb-progress > span {
	box-shadow: none;
	-webkit-box-shadow: none;
}

.frm_form_field textarea {
	width: 100%;
	outline: none;
	border: 0;
	border-radius: 0;
	padding: .5em;
}

.frm_form_field .frm_primary_label {
	width: 100%;
	float: left;
	padding: .5em;
	background: #e5dbcd;
}

.single-line .frm_primary_label {
	width: 30%;
	float: left;
	padding: .5em;
	background: #e5dbcd;
}

.single-line,.frm_form_field {
	margin-bottom: 1em;
	position: relative;
	display: table;
	width: 100%;
}

.single-line input,.single-line textarea {
	width: 70%;
	outline: none;
	border: 0;
	border-radius: 0;
	height: 100%;
	position: absolute;
	padding: .5em;
}

.frm_other_input {
	border: none !important;
	border-radius: 0 !important;
	margin-left: 1em;
	outline: none;
}

#frm_field_100_container, #frm_field_152_container, #frm_field_154_container, #frm_field_103_container, #frm_field_123_container  {
	margin: 2em 0;
}

#frm_field_89_container {
	margin: 2em 0 0;
}

.frm_other_container .frm_primary_label {
	width: auto;
	float: none;
	padding: 0;
	background: none;
}

label input[type="checkbox"] {
	display: none;
}

.frm_checkbox label {
	height: 15px;
	line-height: 12px;
	overflow: hidden;
	display: inline-block;
	border-radius: 0;
}

label input[type="checkbox"] {
	z-index: 10;
	display: block;
	float: left;
	font-size: 12px;
	height: 200px;
	width: 15px;
	line-height: 16px;
	text-align: center;
	vertical-align: middle;
	position: relative;
	border-radius: 0;
	background-color: #FFF;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: none;
	margin: 0 5px 5px 0;
	border: none;
}

label input[type="checkbox"]:checked {
	background: url(images/cross.png) 0 0 no-repeat;
	background-size: 100%;
	border-radius: 0;
	background-color: #FFF;
	outline: none;
}

#frm_field_100_container .frm_opt_container, #frm_field_152_container .frm_opt_container, #frm_field_154_container .frm_opt_container, #frm_field_103_container .frm_opt_container, #frm_field_123_container .frm_opt_container {
	margin-top: 1em;
}

.frm_forms legend {
	display: none;
}

.simpleselect {
	display: block;
	float: left;
	width: 100% !important;
}

.simpleselect .placeholder {
	position: absolute !important;
	width: 100% !important;
}

.frm_form_field.drop-down {
	width: 50%;
}

.simpleselect .placeholder,.simpleselect .options {
	border: 0 !important;
	font-size: 14px;
}

.simpleselect .placeholder,.simpleselect .options .option,.simpleselect .options .optgroup .optgroup-label {
	box-sizing: border-box;
}

.simpleselect .options {
	width: 100% !important;
}

.simpleselect .placeholder::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 10px;
	top: 42% !important;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #CABC9D;
	background: none !important;
}

.frm_multiple_file {
	width: .1px;
	height: .1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.file-upload .frm_primary_label {
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background-color: #CABC9D;
	width: 80px;
	float: left;
	display: block;
	text-align: center;
}

.file-upload .frm_primary_label:hover {
	background-color: #E5DBCD;
}

.file-upload {
	margin-bottom: 3em;
}

.frm_uploaded_files {
	display: block;
	float: left;
	width: 100%;
	margin-top: 1em;
}

.frm_clear_file_link {
	margin-left: 1em;
	font-weight: 700;
}

#frm_loading {
	background: none !important;
}

.frm_loading_content {
	margin-top: 8em;
}

#frm_loading_content h3 {
	color: #404040;
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
}

.simpleselect .options {
	box-shadow: #e5dbcd 2px 2px;
}

.simpleselect .option.active {
	background: #CABC9D !important;
}

.frm_submit input:hover,.comment-form .submit:hover {
	background: #E5DBCD;
}

.frm_submit input,.comment-form .submit {
	border: 1px solid #E5DBCD;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	padding: 8px 10px !important;
	font-size: 14px;
	position: relative;
	overflow: hidden;
	outline: none;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	margin-top: 1em;
}

.frm_page_num_1 .frm_submit {
	margin: 0 auto;
	display: table;
}

@media screen and (max-width: 768px) {
	.single-line .frm_primary_label {
		width: 100%;
		display: block;
	}

	.single-line input,.single-line textarea {
		width: 100%;
		position: relative;
	}

	.frm_form_field.drop-down {
		width: 100%;
	}
}

/*--------------------------------------------------------------
## Contact Form 7
--------------------------------------------------------------*/
.ajax-loader {
	display: none;
}

.wpcf7 input,.wpcf7 textarea {
	border: 0;
	border-radius: 0;
	outline: none;
	max-width: 100%;
}

.wpcf7-submit {
	width: auto !important;
}

.wpcf7-submit {
	border: 1px solid #E5DBCD !important;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	padding: 8px 10px !important;
	font-size: 14px;
	position: relative;
	overflow: hidden;
	outline: none;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}

.wpcf7-submit:hover {
	background: #E5DBCD;
}

div.wpcf7-validation-errors,div.wpcf7-mail-sent-ok {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media screen and (max-width: 768px) {
	.wpcf7 input,.wpcf7 textarea {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,.updated:not(.published) {
	display: none;
}

.single .byline,.group-blog .byline {
	display: inline;
}

.page-content,.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.entry-content {
	font-family: 'Source Sans Pro',sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.5;
}

/*--------------------------------------------------------------
### Home Page
--------------------------------------------------------------*/
.home-section {
	width: 80%;
	margin: 0 auto;
	text-align: center;
}

/*--------------------------------------------------------------
### Blog Page
--------------------------------------------------------------*/

.postid-7041 .ppost {
	display: none;
}

.blog .site-content, .single .site-content, .search .site-content {
	padding: 4em;
}

.blog #primary, .search #primary, .single #primary {
	width: 80%;
}

.page-id-7275 #primary {
	float: none;
}

.widget-title {
	font-size: 18px;
}

.blog #secondary, .search #secondary {
	display: none;
	width: 80%;
	margin: 0 auto;
	background: #F8F7F3;
	padding: 1em;
	border: 1px solid #E5DBCD;
}

.entry-title a,.entry-meta a {
	text-decoration: none;
}

.entry-title,.page-title {
	margin-bottom: 0;
	margin-top: 0;
	font-size: 22px;
line-height: 28px;
}

.entry-meta,.comments-link {
	text-transform: uppercase;
	font-size: 12px;
}

.single .entry-header {
	margin-bottom: 1em;
}

.cat-links,.comments-link {
	display: block;
}

.cat-links a,.comments-link a {
	text-decoration: none;
}

.title-column {
	width: 60%;
	padding: 1em 0;
}

.post table {
	border-top: 1px solid #E5DBCD;
	border-bottom: 1px solid #E5DBCD;
}

.meta-column {
	padding: 1em;
	border-left: 1px solid #E5DBCD;
	text-align: center;
}

.content-column {
	width: 70%;
}

.blog-button {
	margin-top: 0;
}

.blog-button a {
	text-decoration: none;
}

.blog .hentry, .search .hentry {
	margin: 0 0 5em;
}

.cat-item-105 {
	display: none;
}

#secondary ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#secondary a {
	text-decoration: none;
}

.search-field {
	width: 100%;
	border-radius: 0 !important;
	border: 0 !important;
	outline: none;
}

article table {
	margin-top: 1em;
}

.blog h2 a, .search h2 a {
	color: #404040;
}

.read-small {
	display: none;
}

.blog article, .search article {
	border-bottom: 1px solid #E5DBCD;
}

@media screen and (max-width: 768px) {
	.blog #primary,.single #primary, .search #primary {
		width: 100%;
	}

	.blog #secondary, .search #primary {
		display: none;
	}

	.blog .site-content,.single .site-content, .search .site-content {
		padding: 2em;
	}

	.read-large {
		display: none;
	}

	.read-small {
		display: block;
	}

	.read-small .button {
		float: left;
		margin-bottom: 2em;
	}

	.blog article, .search article {
		border-bottom: 0;
	}

	.meta-column {
		display: none;
	}

	.title-column {
		text-align: center;
	}
}

/*--------------------------------------------------------------
### About and Contact Pages
--------------------------------------------------------------*/
.about-img,.contact-img {
	width: 50%;
	float: left;
	padding-right: 2em;
	box-sizing: border-box;
}

.about-txt,.contact-txt {
	width: 50%;
	float: left;
}

.contact-img {
	padding-right: 0;
	padding-left: 3em;
}

@media screen and (max-width: 768px) {
	.about-img,.contact-img {
		width: 100%;
		padding: 0;
	}

	.about-img {
		margin-bottom: 1em;
	}

	.about-txt,.contact-txt {
		width: 100%;
		padding: 0;
	}
}

/*--------------------------------------------------------------
### Archive and Category Pages
--------------------------------------------------------------*/
.archive .post {
	float: left;
	width: 33.33333%;
	text-align: center;
}

.archive h2 {
font-size: 100%;
    overflow: hidden;
    color: #AD7460;
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
padding: 2em;
}

.archive h2 a {
display: table-cell;
vertical-align: middle;
font-size: 20px;
    color: #404040;
}

.image-overlay {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    z-index: 99;
    transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;

}

.image-overlay:hover {
    opacity: 1;
}


.image-box {
    position: relative;
    float: left;
    clear: none;
}

.archive .post img  
{
	float: left;

}


.posts-navigation {
	float: left;
width: 100%;
}

.archive .post:nth-of-type(3n+1) {padding-right:0.5em;}
.archive .post:nth-of-type(3n+2) {padding: 0 0.25em;}
.archive .post:nth-of-type(3n+3) {padding-left:0.5em;}
.archive .post { margin-bottom: 1em;}

@media screen and (max-width: 800px) {
.image-overlay { opacity: 0.8;}
.archive .post { width: 50%;}
.archive .post:nth-of-type(3n+1) {padding-right:0;}
.archive .post:nth-of-type(3n+2) {padding: 0;}
.archive .post:nth-of-type(3n+3) {padding-left:0;}
.archive .post:nth-of-type(even) {padding-left:1%;}
.archive .post:nth-of-type(odd) {padding-right:1%;}

}

@media screen and (max-width: 600px) {
.archive .post { width: 100%; padding: 0 !important;
}
}

/*--------------------------------------------------------------
### Portfolio Page
--------------------------------------------------------------*/
.post-type-archive-prefix_portfolio article, .tax-prefix_portfolio_categories article {
	border-bottom: 1px solid #E5DBCD;
	padding-bottom: 2em;
	margin-bottom: 2em;
	float: left;
}

.portfolio-txt {
	width: 50%;
	float: right;
	padding: 0 2em;
}

.portfolio-txt .entry-title {
margin-bottom: 1em;
}

.portfolio-excerpt,.portfolio-excerpt p {
	float: left;
	font-size: 12px;
}

.portfolio-category,.portfolio-category:visited,.cat-links,.cat-links:visited, .filter-button-group button {
	font-size: 9px;
	text-transform: uppercase;
	    margin-right: 0.5em;
	float: left;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	color: #404040;
outline: none;
	    margin-top: 1em;
}

.portfolio-category, .portfolio-category:visited, .filter-button-group button {
	padding: 5px;
	background: #E5DBCD;
}

.filter-button-group button.is-checked {
background: #CBB79B;
}

.filter-button-group button {
    border: 0;
    text-transform: none;
    padding: 0.5em;
    font-size: 15px;
    color: white;
}

.cat-links a,.cat-links a:visited {
	margin-right: 0.5em;
	padding: 5px;
	background: #E5DBCD;
}

.portfolio-category:hover,.portfolio-category:focus,.portfolio-category:active,.cat-links:hover,.cat-links:focus,.cat-links:active {
	color: #fff;
}

.post-type-archive-prefix_portfolio h2, .tax-prefix_portfolio_categories h2 {


    position: relative;

padding: 0;
}

.post-type-archive-prefix_portfolio h2 a, .tax-prefix_portfolio_categories h2 a {
display: table-cell;
vertical-align: middle;

}

.portfolio-categories {
float: left;
width: 100%;
}

.web-address {
    text-transform: none;
    font-size: 16px;
}

.single-prefix_portfolio .entry-header {
	border-bottom: 0;
}

.browser-top {
	float: left;width:99.95%
}

.window { float: left;max-height:400px;overflow:scroll;margin-bottom: 2em;border: 1px solid #E5DBCD;border-top: 0; }

.window.small {
width: 50%;
max-height: 250px;
border-top: 1px solid #E5DBCD;
}

.window img {
	float: left;
}
.single-prefix_portfolio .hentry img, .post-type-archive-prefix_portfolio .hentry img {
margin-bottom: 0;
}

.single-prefix_portfolio .post-navigation {
    border-bottom: 1px solid #E5DBCD;
    padding-bottom: 2em;
    margin-bottom: 3em;
}

@media screen and (max-width: 900px) {
.window.small, .window { width: 100%;max-height:300px; }
.portfolio-txt { width:100%;padding:0;text-align:left; }
}

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

}

@media screen and (max-width: 500px) {
.window.small { max-height:200px; }
}
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-meta,.comment-content,.reply {
	float: left;
	width: 100%;
}

.avatar {
	display: none;
}

.comment-author {
	float: left;
	width: 100%;
}

.comment {
	float: left;
	padding: 2em 0;
	width: 100%;
	border-bottom: 1px dashed #E5DBCD;
}

.comment:nth-child(last) {
	border-bottom: 0;
}

.comments-title {
	font-size: 18px;
}

.comment-metadata {
	display: none;
}

.comment .url,.comment .fn {
	color: #404040;
	text-transform: uppercase;
	font-weight: 300;
}

.comment .says {
	display: none;
}

.comment-respond {
	float: left;
	width: 100%;
	outline: none !important;
}

.post-navigation {
	float: left;
	width: 100%;
}

.cat-links a {
	color: #404040;
}

.single .hentry {
	float: left;
	border-bottom: 1px solid #E5DBCD;
	padding-bottom: 2em;
	margin-bottom: 2em;
}

.comment-form input, .comment-form textarea {
	border: 0; 
	border-radius: 0;
	outline: none;
	box-sizing: border-box;
	max-width: 100%;
}

.comment-form label {
	width: 100%;
	display: block;
}

.depth-2,.depth-3 {
	border-bottom: 0;
	border-left: 2px solid #E5DBCD;
	padding: 1em 2em 0;
	margin: 1em 0 0;
}

.comments-area {
	float: left;
	width: 62%;
	background: #F9F7F5;
	padding: 2em;
	border: 1px solid #E5DBCD;
	box-sizing: border-box;
}

.comments-area label {
	display: none;
}

.comments-sidebar {
	float: right;
	width: 35%;
	padding-left: 1em;
}

.comments-sidebar td {
	border: 1px solid #E5DBCD;
	width: 50%;
	padding: 1em;
	text-align: center;
}


.collapseomatic:hover {
	text-decoration: none;
	background-image: none;
}

.collapseomatic {
	background-image: none;
	padding: 0;
}



.collapseomatic_content {
float: left;
width: 100%;
margin: 0px;
}

.colomat-close {

}

.facebook {
	width: 25px;
	height: 25px;
	float: left;
	background: url(http://www.hannahhayes.co.uk/wp-content/uploads/2016/03/Facebook.png);
	background-size: 25px 25px;
	background-repeat: no-repeat;
	padding: 1px;
	margin-right: 5px;
	opacity: 1;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}

.facebook:hover {
	opacity: .6;
}

.instagram {
	width: 20px;
	height: 20px;
	float: left;
	background: url(http://www.hannahhayes.co.uk/wp-content/uploads/2016/05/instagram.png);
	background-size: 20px 20px;
	background-repeat: no-repeat;
	padding: 1px;
	margin-right: 12px;
	opacity: 1;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
	margin-top: 4px;
}

.instagram:hover {
	opacity: .6;
}

.twitter {
	width: 28px;
	height: 28px;
	float: left;
	background: url(http://www.hannahhayes.co.uk/wp-content/uploads/2016/03/Twitter.png);
	background-size: 28px 28px;
	background-repeat: no-repeat;
	padding: 1px;
	margin-right: 5px;
	opacity: 1;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}

.twitter:hover {
	opacity: .6;
}

.pinterest {
	width: 28px;
	height: 28px;
	float: left;
	background: url(http://www.hannahhayes.co.uk/wp-content/uploads/2016/03/Pinterest.png);
	background-size: 28px 28px;
	background-repeat: no-repeat;
	padding: 1px;
	margin-right: 5px;
	opacity: 1;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}

.pinterest:hover {
	opacity: .6;
}

.social-icons {
	display: table;
	margin: 0 auto;
}

.sbi {
	padding-bottom: 0 !important;
}

.sbi-td {
	padding: 0 !important;
}

@media screen and (max-width: 768px) {
	.comments-area {
		width: 100%;
		margin-bottom: 2em;
		padding: 10%;
	}

	.comments-sidebar {
		width: 100%;
		padding: 0;
	}
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,/* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,iframe,object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: .8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

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

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

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

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

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}




/*--------------------------------------------------------------
### Archive and Category Tabs
--------------------------------------------------------------*/
#tabs {
	float: left;
	width: 100%;
	border: 1px solid #E5DBCD;
	padding: 1em;
	margin-bottom: 2em;
}




#tabs a {
	padding: 0.5em;
	color: #FFFFFF;
}

#tabs ul {
	float: left;
	width: 100%;
}

.ui-tabs {
	position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
	padding: .2em;
}

.ui-tabs .ui-tabs-nav {
	margin: 0;
}

.ui-tabs .ui-tabs-nav li {
	float: left;
	position: relative;
	top: 0;
	border-bottom-width: 0;
	white-space: nowrap;
}

.ui-tabs-nav li {
	background: #E5DBCD;
	margin: 5px 5px 5px 0;
	padding: 4px 6px;
	border-radius: 0px;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}

.ui-tabs-nav li:hover {
	background: #cbb79b;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
	cursor: text;
}

li.ui-tabs-active, li.ui-state-active, .category-link .active {
	cursor: default;
	background: #cbb79b !important;
}

.ui-tabs-panel ul {
	list-style-type: none;
}

.ui-tabs .ui-tabs-panel {
	display: block;
	border-width: 0;
	background: none;
}

.ui-tabs-panel a {
	float: left;
	margin: 5px 5px 0 0;
	padding: 4px 6px;
	background: #E5DBCD;
	border-radius: 0px;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}

.ui-tabs-panel a.active {
	background: #CBB79B;
}


#tabs a:hover, #tabs a:focus, #tabs a:active {
background: #CBB79B;
}

.ui-corner-top a:hover, .ui-corner-top a:focus, .ui-corner-top a:active {
	background: none !important;
}

#tabs-2 li:nth-child(2) {
	display: none;
}

.category #tabs, .tax-prefix_portfolio_categories #tabs {
	float: left;
	width: auto;
	border: 0;
	padding: 0.5em 0.5em 0.4em 0;
	margin-bottom: 0;
}

.category #tabs a, .tax-prefix_portfolio_categories #tabs a {
	padding: 0.5em;
	background: #E5DBCD;
}

.category-link {
	display: inline;
	float: left;
}

.category-selector, .filter-button-group {
	float: left;
	padding: 1em;
	border: 1px solid #E5DBCD;
	margin-bottom: 2em;
	width: 100%;
}



.pricing .product {
    background: #E5DBCD;
    padding: 0.75em;
    border: 2px solid #F8F7F3;
}

.pricing .price {
background: #FFFFFF;
    padding: 0.75em;
    border: 2px solid #F8F7F3;
}


html {
    overflow-y: scroll;
}

.grid-sizer { width: 18%; margin: 1%;}
.grid-item { width: 18%; margin: 1%; }

@media screen and (max-width: 1224px) {
  .grid-sizer { width: 31.33%; margin: 1%; }
  .grid-item { width: 31.33%; margin: 1%; }
}

@media screen and (max-width: 720px) {
  .grid-sizer { width: 48%; margin: 1%; }
  .grid-item { width: 48%; margin: 1%; }
}

@media screen and (max-width: 480px) {
  .grid-sizer { width: 100%; }
  .grid-item { width: 100%; }
}




.slick-slider {
    width: 70%;
    margin: 0 auto 2em;
}

.slick-slide {
outline: none;
}

.img-left {width:50%;float: left;padding-right:0.3em;
}

.img-right {width:50%;float:right;padding-left:0.3em;
}

.hentry img {
margin-bottom: 0.6em;float:left;
}

.post-images {width: 100%; float: left; margin-bottom: 20px;}

@media screen and (max-width: 768px) {
.img-left, .img-right {width:100%;float:left;padding:0;
}

}

.outfit-details {
    float: left;
    width: 100%;
    margin-bottom: 2em;
    text-transform: uppercase;
    font-size: 10px;
}



.grid-sizer-2 { width: 48%; margin: 1%; }
.grid-item-2 { width: 48%; margin: 1%;padding: 1em 2em 1.5em 2em;border: 1px solid #E5DBCD;text-align:center;}

@media screen and (max-width: 720px) {
  .grid-sizer-2 { width: 100%; }
  .grid-item-2 { width: 100%; }
}


.tech-details .tech-content {
    display: none;
}
.tech-details .tech-header {

    cursor: pointer;
}


.masonry-content {
float: left;
    width: 100%;
}

.portfolio-categories .portfolio-category {
	margin-bottom: 0.5em;

}


@media screen and (max-width: 600px) {
.force-100 {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.left-1 {
	left: 1em !important;
}
}







.widget_wysija_cont {
    background: #EFE7E1;
    float: left;
    width: 100%;
    position: relative;
}

.wysija-paragraph {    float: left;
    width: 72%;
    margin: 3%;
}

.wysija-input {
    width: 100%;
    float: left;
    border: 0 !important;
    border-radius: 0 !important;
	font-size: 14px;
	outline: none;
}

.wysija-submit {
    width: 15%;
    float: left;
    margin: 3% !important;
    display: inline;
    border: 0;
    background: #DECDB4;
    color: white;
    padding: 3px 6px;
	font-size: 14px;
	outline: none;
}

.allmsgs {
	margin: 3%;
}

.formError .formErrorContent {
background: none repeat scroll 0 0 #F04855;
    border: 1px solid #F04855;
}
	
@media screen and (max-width: 768px) {
.wysija-paragraph {    
	width: 94%;
    margin: 3%;
}
.wysija-submit {
width: auto;
float: none;
}
}


.separator {
	border-top: 1px solid #E5DBCD;
    height: 1px;
    margin: 5em 0;
    float: left;
    width: 100%;
}

.wpcf7-captchac {
	width: auto !important;
}