/*
Theme Name: Mikestyle for Greg MacLeod House
Author: Mike Targett
Description: Mikestyle for Greg MacLeod House
Version: 1.0
*/

/*------------------------------------*\
	NORMALIZE
\*------------------------------------*/

html {
	-webkit-box-sizing: bordeher-box;
	   -moz-box-sizing: border-box;e
			box-sizing: border-box;
	-webkit-text-size-adjust: none;
		-ms-text-size-adjust: none;a
			font-size-adjust: none;
}
f
*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	   -moz-box-sizing: inherit;
	        box-sizing: inherit;
}

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 {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
h1,h2,h3,h4,h5,h6,
header,
hgroup,
menu,
nav,
section {
	display: block;
	clear: both;
}

/*------------------------------------*\
	BODY
\*------------------------------------*/

html,
body {
	height: 100%;
}

body {
    background: #fff;
	font-size: 1rem;
	line-height: 1;
	font-weight: normal;
	color: #222;
}

/*------------------------------------*\
	LINKS
\*------------------------------------*/

a,
a:hover,
a:focus,
a:active {
    color: inherit;
    text-decoration: none;
}

.entry-content p a {
    background-image: linear-gradient(to right, #007bbf 100%, transparent 100%);
    background-position: 0 1.15em;
    background-repeat: repeat-x;
    background-size: 1px 1px;
    font-weight: 700;
    color: #007bbf;
    -webkit-transition: 0.3s;
       -moz-transition: 0.3s;
         -o-transition: 0.3s;
            transition: 0.3s;
}

.entry-content p a:hover {
    background-image: linear-gradient(to right, #007bbf 100%, transparent 100%);
        background-size: 1px 2px;
}

/*------------------------------------*\
	BUTTONS
\*------------------------------------*/

.button {
    position: relative !important;
    display: inline-block !important;
    overflow: hidden !important;
    width: auto !important;
    height: auto !important;
    padding: 0.1875rem 0.75rem !important;
    background: #000  !important;
    border-style: solid !important;
    border-width: 3px !important;
    border-color: #000  !important;
    border-radius: 4px !important;
    font-size: 0.825rem !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    letter-spacing: 0.03125rem !important;
    text-transform: uppercase !important;
    text-align: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    color: #fff !important;
    -webkit-transition: 0.3s;
       -moz-transition: 0.3s;
         -o-transition: 0.3s;
            transition: 0.3s;
}

.button:hover,
.button:active,
.button:focus {
    background: #ffff00 !important;
    color: #000 !important;
    border-color: #ffff00 !important;
}

/*------------------------------------*\
	TITLES
\*------------------------------------*/

h1,h2,h3,h4,h5,h6 {
    display: block;
	clear: both;
	margin-bottom: 1.875rem;
	line-height: 1.25;
    font-weight: 700;
    color: #222;
}

@media (min-width: 40rem) {

    h1,h2,h3,h4,h5,h6 {
        line-height: 1.125;
    }

}

h1 a,
h1 a:hover,
h1 a:active,
h1 a:focus {
    color: #007bbf;    
}

h2 a, h3 a, h4 a, h5 a, h6 a,
h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active,
h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus {
    color: #222;
}

h1 { font-size: 1.50000rem; }

h2 { font-size: 1.37500rem; }

h3 { font-size: 1.12500rem; }

h4 { font-size: 1.06250rem; }

h5 { font-size: 1.03125rem; }

h6 { font-size: 1.00000rem; }

@media (min-width: 40rem) {
    
    h1 { font-size: 3.5rem; }

    h2 { font-size: 2.0rem; }
    
    h3 { font-size: 1.5rem; }

    h4 { font-size: 1.25rem; }

    h5 { font-size: 1.125rem; }

    h6 { font-size: 1.000rem; }

}

/*------------------------------------*\
	TABLES
\*------------------------------------*/

table,
th,
td {
	border: 1px solid #d1d1d1;
}

table {
	table-layout: fixed;
	width: 100%;
	margin: 0 0 1.5em;
	border-width: 1px 0 0 1px;
	border-collapse: collapse;
	border-spacing: 0;
}

th,
td {
	padding: 0.4375em;
	border-width: 0 1px 1px 0;
	font-weight: normal;
	text-align: left;
}

th {
	font-weight: 600;
    text-transform: uppercase;
}

/*------------------------------------*\
	VARIOUS
\*------------------------------------*/

.clear{
	clear: both;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

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

hr {
    clear: both;
	height: 3px;
    margin: 0 0 24px;
	margin: 0 0 1.5em;
	border: 0;
	background: #373737;
}

em,
i {
	font-style: italic;
}

b,
strong {
    font-weight: 700;
}

small {
	font-size: 80%;
}

big {
	font-size: 125%;
}

del {
	opacity: 0.8;
    text-decoration: line-through;
}

ins {
  	background: #ffc;
}

pre {
	max-width: 100%;
    overflow: auto;
    padding: 0.375rem 0.5rem 0.25rem;
	border: 1px solid #a79c93;
    border-radius: 2px;
    background-color: #f2f5f8;
    font-size: 0.75rem;
    line-height: 1;
    text-transform: uppercase;
    color: #a79c93;
	white-space: pre-wrap;
	word-wrap: break-word;
}

abbr,
acronym {
	border-bottom: 1px dotted #252525;
    text-decoration: none;
    cursor: help;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 0 1.5em;
}

dt {
	font-weight: 600;
}

dd {
	margin: 0 0 1.5em;
}

blockquote {
    position: relative;
    margin: 0 0 1.875rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid #ddd;
}

@media (min-width: 40rem) {
    
    blockquote {
        padding-left: 0.75rem;    
    }

}

/*------------------------------------*\
	LISTS
\*------------------------------------*/

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

ul {
	list-style: square;
}

ul ul {
    list-style: disc;
}

ol {
	list-style: decimal;
}

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

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

header,
#main,
footer,
article {
    position: relative;
    display: block;
    clear: both;
}

/*------------------------------------*\
	BANNER-BAR
\*------------------------------------*/

#banner-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    width: calc(100% - 2rem);
    padding: 1rem;
    background: #007bbf;
}

.page-application #banner-bar {
    display: none;
}

#banner-bar p {
    font-size: 1rem;
    line-height: 1;
    font-weight: 600;
    color: #ffff00;
    text-align: center;
    letter-spacing: 0.03125rem;
}

#banner-bar .button {
    margin: 0 1rem;
}

/*------------------------------------*\
	HEADER
\*------------------------------------*/

header {
    display: block;
    width: calc(100% - 4rem);
    margin: 8rem auto 2rem;
    background: #fff;
    padding: 0 2rem;
    max-width: 50rem;
}

.page-application header {
    padding-top: 0;
}

/*------------------------------------*\
	SITE-TITLE
\*------------------------------------*/

.site-title {
}

.site-title h1 {
    margin-bottom: 0.125rem;
    color: #007bbf;
}

.site-title p {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    color: grey;
}

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

#main {
    display: block;
    width: calc(100% - 4rem);
    max-width: 50rem;
    padding: 2rem;
    margin: 0 auto;
}

/*------------------------------------*\
	ENTRY
\*------------------------------------*/

.entry {
    display: block;
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
    padding: 0;
}

.entry-title {
}

.content-block {
    margin-bottom: 2rem;
    padding: 1rem 0;
    background: #fff;
    border-bottom: solid 1px #d7d7d7;
}

@media (min-width: 40rem) {

    .content-block.has_image {
        display: flex;
    }
    
    .content-block.has_image .entry-image,
    .content-block.has_image .entry-content {
        width: 50%;
    }

}

.black-block {
    background: #3c424c;
}

.blue-block {
    background: #007bbf;
}

.yellow-block {
    background: #ffff00;
}

.entry-content p {
    margin-bottom: 1.875rem;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
}

@media (min-width: 40rem) {

    .entry-content p {
        font-size: 1.125rem;
    }

}

.entry-intro {
    margin-bottom: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: solid 1px #d7d7d7;
}

.entry-intro p {
    font-size: 1.25rem;
    line-height: 1.375;  
}

@media (min-width: 40rem) {

    .entry-intro p {
        font-size: 1.5rem;
        line-height: 1.375;  
    }

}

.entry-content ul,
.entry-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.9375rem;
}

.entry-content li,
.entry-content li li,
.entry-content blockquote p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25;
}

@media (min-width: 40rem) {

    .entry-content li,
    .entry-content li li,
    .entry-content blockquote p {
        font-size: 1rem;
        line-height: 1.5;
    }

}

.entry-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.entry-content ul ul li {
    margin-bottom: 0.125rem;
    font-size: 0.9375rem;
}

.black-block h3,
.black-block p,
.black-block li,
.blue-block h3,
.blue-block p,
.blue-block li {
    color: #fff;
}

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

.entry-image {
    max-width: 100%;
    width: auto;
}

.entry-image img {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0 0 2rem 0;
    padding: 0;
    line-height: 1;
    z-index: 1;
}

.black-block .entry-image img,
.blue-block .entry-image img,
.yellow-block .entry-image img {
    width: calc(100% - 1rem);
    border: solid #fff;
    border-width: 0.5rem;
}

@media (min-width: 40rem) {
    
    .entry-image img {
        width: calc(100% - 2rem);
        height: auto;
        margin: 0 2rem 2rem 0;
    }
    
    .black-block .entry-image img,
    .blue-block .entry-image img,
    .yellow-block .entry-image img {
        width: calc(100% - 4rem);
        border: solid #fff;
        border-width: 1rem;
    }

}

nav,
.entry {
    z-index: 9999;
}
    
}

img.alignright {
    display: inline;
    float: right; 
    margin: 0 0 1.5rem 1.5em;
}

img.alignleft {
    display: inline;
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

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

/*------------------------------------*\
	FOOTER
\*------------------------------------*/

footer {
    padding: 5rem;
    background: #222;
}

footer p {
    font-size: 1rem;
    line-height: 1.25;
    color: #555;
    text-align: center;
}

/*------------------------------------*\
	FONTS
\*------------------------------------*/

body,
input,
select,
textarea {
    font-family: 'Roboto', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Roboto Slab', serif;
}

/*------------------------------------*\
	ACCESSIBILITY
\*------------------------------------*/

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}