/*
	Theme Name: Orchard Mortgages
	Version: 1.0
	Author: mediatube ltd

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}

.header {
	padding-bottom:50px !important;
	
}

body {
	font:300 14px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-family: 'Source Sans Pro', sans-serif;
	color:#444;
	background-color: #84B9EB;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:100%;
	width:100%;
	margin: 0 auto 0 auto;
	padding-bottom: 50px;
	position:relative;
	background-color: white;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

body {
	
	}

#page, main, header.header, footer.footer .site-info, .cta-wrapper, .home-news section {
	max-width: 940px;
	width: 95%;
	margin: 0 auto 0 auto;
	position: relative;
	}

.logo {margin: 20px 0 20px 0;}

.social-media {
	position: absolute;
	right: 220px;
	top: 20px;
	}

.social-media a img {margin-right: 20px;}

.telephone-home {
	position: absolute;
	right: 0;
	top: 20px;
	text-align: right;
	font-size: 33px;
	color: #40471F;
	margin: 0;
	font-weight: 500;
	}

.email-home {
	position: absolute;
	right: 0;
	top: 70px;
	text-align: right;
	font-size: 15px;
	color: #40471F;
	margin: 0;
	}


/* BANNER */

div.home-image {
	width: 100%;
	height: 380px;
	overflow: hidden;
	margin-bottom: 20px;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
	}

div.home-image section {
	margin: 0 auto 0 auto;
	max-width: 940px;
	width: 95%;
	padding-top: 190px;
	}

div.home-image h2 {
	max-width: 600px;
	width: 100%;
	color: white;
	line-height: 1.4em;
	font-size: 40px;
	font-weight: bold;
	margin: 0;
	text-shadow: 2px 2px 3px #000;
	}

div.home-image p {
	width: 460px;
	color: white;
	line-height: 1.4em;
	font-weight: bold;
	text-shadow: 2px 2px 3px #000;
	}

.page-banner {
	width: 100%;
	max-height: 300px;
	overflow: hidden;
	}

.page-banner img {
	width: 100%;
	}

/* CTA STUFF */

.col {
	width: 280px;
	float: left;
	position: relative;
	display: block;
	text-decoration: none;
	}

.mid {margin: 0 50px 0 50px;}

.col h3 {
	text-align: left;
	color: #535353;
	font-size: 25px;
	margin-top: 30px;
	margin-bottom: 6px;
	font-weight: normal;
	}

.col img {display: block;}

.col p {
	color: #fff;
	font-size: 14px;
	text-align: left;
	line-height: 1.3em;
	background-color: #86BAE9;
	padding: 8px;
	margin-top: 0;
	min-height: 142px;
	}

.home-news {
	background-repeat: no-repeat;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
  	margin-top: 0px;
  	padding: 50px 0 50px 0;
	}

.post-home {
	width: 280px;
	float: left;
	position: relative;
	display: block;
	margin: 0 50px 0 0;
	color: #666666;
	background-color: white;
	}

.home-news .post-home:last-child {margin: 0;}

.post-home h5 {
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	color: #59757F;
	font-family: 'Source Sans Pro', sans-serif;
	padding: 8px;
	}

.post-home p a {text-decoration: underline;}

.post-home p {
	color: #666666;
	font-size: 14px;
	margin-top: 5px;
	padding: 0 8px 0 8px;
	}

.post-home span.date {
	float: left;
	background-color: #555555;
	width: 60px;
	height: 87px;
	display: block;
	color: white;
	font-size: 18px;
	font-weight: 700;
	padding: 8px;
	text-align: left;
	}

span.image {
	float: right;
	width: 220px;
	height: 87px;
	display: block;
	overflow: hidden;
	position: relative;
	}

span.image img {position: absolute; min-height: 87px;}

/* FOOTER */

footer.footer {border-top: 17px solid #555555; clear: both;}

.site-info p {color: white;}

.site-info p span {
	float: right;
	}

.legal {
	max-width: 375px;
	text-align: right;
	}

.site-info p a {color: white;}

.site-info p span a {padding-left: 20px; color: white; text-align: right; float: right;}

.site-info p span a img {margin-left: 20px;}

/* NAVIGATION */

nav#site-navigation {
	position: absolute;
	right: 0;
	top: 100px;
	}

.nav ul,
.nav div > ul {
	display: inline-block !important;
	text-align: left;
	width: 100%;
}
.nav ul {
	margin: 0;
	text-indent: 0;
}
.nav li a,
.nav li {
	display: inline-block;
	text-decoration: none;
}
.nav li a {
	border-bottom: 0;
	color: #414820;
	font-size: 16px;
	line-height: 2.15;
	text-transform: lowercase;
	white-space: nowrap;
}
.nav li a:hover,
.nav li a:focus {
	color: #000;
}
.nav li {
	margin: 0 0 0 20px;
	position: relative;
}
.nav li ul {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	z-index: 1;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.nav li ul li {margin-left: 0;}

.nav li ul ul {
	top: 0;
	left: 100%;
}
.nav ul li:hover > ul,
.nav ul li:focus > ul,
.nav .focus > ul {
	border-left: 0;
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}
.nav li ul li a {
	background: #84B9EB;
	display: block;
	font-size: 16px;
	line-height: 2.181818182;
	padding: 8px 10px;
	width: 180px;
	white-space: normal;
	color: white;
}
.nav li ul li a:hover,
.nav li ul li a:focus {
	background: #e3e3e3;
	color: #444;
}
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a,
.nav .current_page_ancestor > a {
	color: #636363;
	font-weight: bold;
}

/*------------------------------------*\
    PAGE
\*------------------------------------*/

main.page-bits section {float: left; max-width: 650px; width: 95%;}

main.page-bits aside {float: right; max-width: 240px; width: 95%;}

main.page-bits aside p.contact-p {
	background-color: #84B9EB;
	padding: 8px;
	font-size: 35px;
	color: white;
	font-weight: bold;
	}

main.page-bits aside p.contact-p span {font-size: 20px; display: block;}

main.page-bits aside form input, main.page-bits aside form textarea, main.page-bits aside form select {
	border: 1px solid #ddd;
	width: 100%;
	padding: 3px;
	}

main.page-bits aside form input:focus, main.page-bits aside form textarea:focus {background-color: #ccc;}

main.page-bits aside form textarea {
	height: 50px;
	-webkit-transition: height 1s; /* Safari */
    transition: height 1s;
   	}
	
main.page-bits aside form textarea:focus {height: 150px;}

main.page-bits aside form select {color: #666;}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #666;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #666;
   opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #666;
   opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #666;
}
:placeholder-shown { /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
  color: #666;
}


/*------------------------------------*\
    BLOG
\*------------------------------------*/

body.blog .blog-wrapper, body.single .blog-wrapper, body.archive .blog-wrapper {
	max-width: 940px;
	width: 95%;
	margin: 0 auto 0 auto;
}

body.blog main, body.single main, body.archive main {
	float: left;
	width: 60%;
	}

aside.sidebar {float: right; width: 35%; margin-top: 0;}

body.blog .wp-post-image {float: left; margin-right: 30px;}

/* sidebar */
form.search {
font-size: 1.0em;
}
input.search-input {
height: 20px;
border: 1px solid #ccc;
border-radius: 3px;
padding: 4px;
width: 65%;
}
button.search-submit {
-webkit-box-shadow: rgba(64, 64, 64, 0.0980392) 0px 1px 2px 0px;
-webkit-hyphens: auto;
background-color: rgb(230, 230, 230);
background-image: -webkit-linear-gradient(top, rgb(244, 244, 244), rgb(230, 230, 230));
background-repeat: repeat-x;
border-bottom-color: rgb(210, 210, 210);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(210, 210, 210);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(210, 210, 210);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(210, 210, 210);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-style: solid;
border-top-width: 1px;
box-shadow: rgba(64, 64, 64, 0.0980392) 0px 1px 2px 0px;
color: rgb(124, 124, 124);
cursor: pointer;
display: inline-block;
font-size: 12px;
font-weight: normal;
height: 29px;
line-height: 15px;
padding-bottom: 6px;
padding-left: 10px;
padding-right: 10px;
padding-top: 6px;
text-rendering: auto;
word-wrap: break-word;
float: right;
}
.sidebar-widget h3 {
font-size: 1.5em;
font-weight: 300;
color: black;
background-color: #48B5E3;
padding: 8px;
}
.sidebar-widget ul {
padding-left: 0;
}

.sidebar-widget li {
list-style: none;
padding-left: 0;
padding-bottom: 6px;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

.site-title, .site-description {display: none;}

h1, h2, h3, h4, h5, h6 {font-family: 'Pacifico', cursive;}

main section h1 {font-size: 40px; margin-top: 0;}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}