/*!
Theme Name: ian Watson
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ian-watson
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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.

ian Watson is based on Underscores https://underscores.me/, (C) 2012-2017 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 https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

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

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

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

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #555555;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
    margin: 0;
    padding: 0;
    line-height: 1em;
    font-weight: normal;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.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 https://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. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	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;
}

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

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

.page div.wpcf7-response-output {
    padding: 15px;
    margin: 20px 0 10px;
    font-size: 1.250em;
}

.page span.wpcf7-not-valid-tip {
    text-align: left;
    font-size: 0.9em;
    margin-top: 5px;
}

.page .cf7sr-g-recaptcha-invalid span.wpcf7-not-valid-tip {
    text-align: center;
    font-size: 1.1em;
}

.wpcf7-form {
    margin-top: 5px;
}

fieldset {
    width: 50%;
    float: left;
    border: none;
    margin: 0;
    padding: 0 15px 0 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;        
}

fieldset:last-of-type {
    float: right;
    padding-right: 0;
    padding-left: 15px;
}

main button,
main input[type="button"],
main input[type="reset"],
main input[type="submit"] {
    display: inline-block;
    -webkit-appearance: none;
	border: none;
	border-radius: 0;
	background: #555555;
    color: #fff;
    font-size: 1.125em;
    text-transform: uppercase;
    cursor: pointer;
	padding: 15px 30px;
    margin-top: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;        
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

button i,
input[type="button"] i,
input[type="reset"] i,
input[type="submit"] i {
    font-size: 1.389em;
    color: #fff;
    position: relative;
    top: 2.5px;
    right: 2.5px;
}

main button:hover,
main input[type="button"]:hover,
main input[type="reset"]:hover,
main input[type="submit"]:hover {
	background-color: #000;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #999999;
    font-size: 1em;
	border: none;
	border-radius: 0;
	padding: 12.5px;
    width: 100%;
    background-color: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	margin-bottom: 30px;
}

.cf7sr-g-recaptcha {
    display: inline-block;
    margin-top: 30px;
}

.page span.wpcf7-list-item {
    margin: 0;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #8C8D80;
}

a:hover {
	color: #535353;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
    text-align: center;
}

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

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

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

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

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

.main-navigation li {
	display: inline-block;
	position: relative;
    font-size: 1.250em;
    text-transform: uppercase;
    margin-right: 20px;
}

.main-navigation li:last-of-type {
    margin-right: 0;
}

.main-navigation a {
	display: block;
	text-decoration: none;
    color: #EEEEEE;
}

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

.main-navigation li.current-menu-item a {
    color: #fff;
    font-weight: bold;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
	clip-path: none;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


/*--------------------------------------------------------
# General Typography Styles */

button, input, optgroup, select, textarea,
body {
    font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif;    
}

p {
    font-size: 1.250em;
    margin-bottom: 30px;
}

#services-section ul,
#info-page ol,
#info-page ul {
    margin: 0 30px 30px;
    padding: 0;
}

#services-section li,
#info-page li {
    font-size: 1.250em;    
}

#info-page h1,
h2 {
    display: block;
    text-align: center;
    font-size: 2.188em;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.25em;
}

#info-page h3 {
    margin-bottom: 20px;
    font-weight: bold;
}

#about-section h2 {
    margin-top: 10px;
}

#about-section p,
#about-section h2 {
    color: #fff;
    text-align: left;
}

#about-section p {
    font-size: 1.250em;
}

#contact-form h2,
#testimonials h2 {
    color: #545454;
}

#case-study h2 {
    color: #9A9D8D;
}

.single-testimonial h3,
.service h3,
.single-case-study h3 {
    margin-bottom: 20px;
    font-weight: bold;    
    font-size: 1.550em;    
}

.single-testimonial h3 {
    margin-top: 15px;
    font-size: 1.250em;
    margin-bottom: 0;
}

a.btn {
    display: inline-block;
    vertical-align: text-top;
    text-decoration: none;
	border: none;
	border-radius: 0;
	background: #9C9D8F;
    color: #fff;
    font-size: 1.125em;
    text-transform: uppercase;
    cursor: pointer;
	padding: 15px 30px;
    margin-top: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;        
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

a.btn i {
    font-size: 1.389em;
    color: #fff;
    position: relative;
    top: 2.5px;
    right: 2.5px;
}

a.btn:hover {
	background-color: #555;
}


/*--------------------------------------------------------
# Header Section Styles */

header {
    background-color: #9C9D8F;
}

header .center-content {
    height: 130px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;    
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box; 
    padding: 30px 15px;
}

header section,
header nav {
    position: relative;
    top: 50%;
    transform: translateY(-50%);    
}

#logo {
    float: left;
    width: 21%;
    min-width: 250px;
}

header nav {
    float: left;
    width: 63%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;     
}

#contacts {
    float: right;
    width: 14%;
    font-size: 1.375em;
    text-align: right;
    min-width: 175px;
}

#contacts i {
    font-size: 1.136em;
}

#contacts a:hover,
#contacts a,
header p a:hover,
header p a {
    color: #fff;
    text-decoration: none;
}

header p {
    margin: 0;
    padding: 0;   
    line-height: 1em;
}

header p.site-title {
    font-size: 2.500em;
    text-transform: uppercase;
}

header p.site-description {
    font-size: 1.313em;
    color: #fff;
    margin-top: 2.5px;
}


/*--------------------------------------------------------
# General Page Layout Section Styles */

main section {
    padding: 80px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;      
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;     
}

main section#all-case-studies article,
main section#why-use-ian article,
main section#case-study article,
main section#about-section article {
    float: left;
    width: 50%;
    padding-right: 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;      
}

main section#all-case-studies article:last-of-type,
main section#why-use-ian article:last-of-type,
main section#case-study article:last-of-type,
main section#about-section article:last-of-type {
    padding-left: 20px;
    padding-right: 0;
}

.center-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;      
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}

.single-testimonial :after,
.service:after,
.single-case-study:after,
.center-content:after {
    content: '';
    display: block;
    clear: both;    
}

.error-404 {
    text-align: center;
    height: 400px;
}

/*--------------------------------------------------------
# Services Section Styles */

.service img {
    float: left;
    width: 40%;
    padding-right: 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;       
}

#services-section .service ul {
    float: right;
    width: 60%;
    margin: 30px 0 0;
    padding-left: 45px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box; 
    text-align: left;
}

/*--------------------------------------------------------
# All Case Studies Section Styles */

#all-testimonials h2,
#services-section h2,
#all-case-studies h2 {
    border-bottom: 1px solid #f0f0f0;   
    margin-bottom: 0;
    padding-bottom: 30px;    
}

.single-testimonial,
.service,
.single-case-study {
    margin: 40px 0;
    padding: 0px 0 40px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.single-testimonial p,
.single-case-study p {
    margin-bottom: 0;
}

/*--------------------------------------------------------
# Home Page Specific Styles */

.home header {
    position: absolute;
    z-index: 2;
    width: 100%;
    background: none;
}

.home header .center-content {
    margin-top: 30px;
    padding: 0 15px;
    height: 70px;
}

/*--------------------------------------------------------
# About Ian Block Section Styles */

#about-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    height: 100vh;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;    
}

#about-section .center-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);    
}

#about-section article:first-of-type img {
    border: 9px solid #fff;
}

#about-buttons a.btn {
    margin-top: 0px;
}

#about-buttons a:first-of-type {
    margin-right: 40px;
    border: 2px solid #fff;
    background: none;
}

#about-buttons a:first-of-type:hover {
    background-color: #fff;
    color: #9A9D8D;
}

#about-buttons a:first-of-type:hover i {
    color: #9A9D8D;    
}

#about-buttons a:last-of-type {
    background-color: #fff;
    color: #9A9D8D;    
    border: 2px solid #fff;
}

#about-buttons a:last-of-type i {
    color: #9A9D8D;    
}

#about-buttons a:last-of-type:hover {
    color: #fff;
    border: 2px solid #fff;
    background: none;    
}

#about-buttons a:last-of-type:hover i {
    color: #fff;
}


a.down-arrow {
    width: 50px;
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 2.813em;
    margin: 0 auto;
    position: absolute;
    bottom: 15px;
    z-index: 2;
    left: 50%;
    margin-left: -25px;   
}


/*--------------------------------------------------------
# Why Use Ian Block Section Styles */

.table-head {
    background-color: #555555;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;   
    border: 2.5px solid #fff;
    height: 70px;   
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;    
    padding: 0 20px;
} 

#why-use-ian h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 2.188em;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);    
}

.why-use-ian-row {
    width: 100%;
    clear: both;
    display: block;
}

.why-use-ian-row:after {
    content: '';
    display: block;
    clear: both;    
}

.why-use-ian-col {
    float: left;
    width: 85%;
    border: 2.5px solid #fff;
    background-color: #EEEEEE;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box; 
    height: 60px;
    padding: 0 15px;    
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;     
}

.why-use-ian-col.icon-col {
    width: 15%;
    text-align: center;
    padding: 0;
}

.why-use-ian-col h4 {
    font-size: 1.375em;
    color: #000000;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);   
    line-height: 1.25em;
}

#why-use-ian i {
    font-size: 2.500em;
    color: #666666;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);      
}

#why-use-ian article:last-of-type img {
    border: 9px solid #909184;
}


/*--------------------------------------------------------
# Testimonial Block Section Styles */

#case-study {
    text-align: center;
}

#case-studies:after {
    content: '';
    display: block;
    clear: both;    
}

#case-study article p {
    font-size: 1.375em;
    padding: 0;
    margin: 15px 0 0;
}


/*--------------------------------------------------------
# Testimonial Block Section Styles */

#testimonials,
#contact-form {
    background-color: #EEEEEE;
    text-align: center;
}

#testimonials i {
    font-size: 1.250em;
    color: #555555;
    position: relative;
    margin: 0 5px;
}

#testimonials p {
    font-size: 1.375em;
    margin: 0 0 30px;    
}

#testimonials h3 {
    color: #8C8D80;
    font-size: 1.250em;
    font-weight: bold;
    margin-bottom: 20px;       
}


/*--------------------------------------------------------
# Contact Form Block Section Styles */

#contact-form p {
    font-size: 1.250em;
    margin: 0;
}

#contact-form fieldset p {
    margin-bottom: 30px;
}


/*--------------------------------------------------------
# Footer Section Styles */

footer {
    background-color: #9C9D8F;
    padding: 40px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;     
}

footer section {
    float: left;
    width: 66.6%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;      
}

footer section:last-of-type {
    text-align: right;
    width: 33.3%;
}

footer p {
    color: #fff;  
    font-size: 1.063em;
    margin: 0;
    padding: 0;
}

footer a:hover,
footer a {
    color: #fff;
    text-decoration: none;
}


/*--------------------------------------------------------
# Tablet Break Point Styles */
@media screen and (max-width: 1260px) {
    #contacts {
        margin-right: 70px;
    }
    #about-section h2 {
        margin-top: 0;
    }
    #about-buttons a:first-of-type {
        margin-right: 20px;
    }
}


/*--------------------------------------------------------
# Phone Break Point Styles */
@media screen and (max-width: 900px) {
    #about-buttons a:first-of-type {
        margin-right: 0;
        margin-bottom: 30px;
    }
    main section#why-use-ian article:first-of-type {
        width: 60%;
    }
    main section#why-use-ian article:last-of-type {
        width: 40%;
    }    
    #services-section .service ul {
        margin-top: 0;
    }
    footer section,
    footer section:last-of-type {
        width: 100%;
        float: none;
        padding: 0;        
        text-align: center;
    }   
    footer section:last-of-type {
        margin-top: 5px;
    }    
    footer p {
        font-size: 0.938em;
    }    
    #about-buttons {
        display: none;
    }    
}


/*--------------------------------------------------------
# Phone Break Point Styles */
@media screen and (max-width: 600px) {
    header section, header nav {
        top: auto;
        position: static;
        transform: none;
    }
    .home header .center-content {
        height: auto;
    }
    #logo {
        min-width: 200px;
    }
    header p.site-title {
        font-size: 2em;
    }
    header p.site-description {
        font-size: 1em;
    }
    #contacts {
        margin-right: 0;
        text-align: left;
        width: 100%;
        margin-top: 10px;
        font-size: 1.1em;
    }    
    #mobile,
    #landline {
        display: inline-block;
        width: 50%;
        float: left;        
    }
    main section {
        padding: 60px 0;
    }
    #services-section .service ul,
    .service img,
    main section#all-case-studies article, main section#all-case-studies article:last-of-type,
    fieldset,
    fieldset:last-of-type,
    main section#why-use-ian article:last-of-type, main section#case-study article:last-of-type, main section#about-section article:last-of-type,
    main section#why-use-ian article, main section#case-study article, main section#about-section article, main section#why-use-ian article:first-of-type, main section#why-use-ian article:last-of-type {
        width: 100%;
        float: none;
        padding: 0;
    }
    main section {
        padding: 40px 0;
    }
    a.down-arrow {
        display: none;
    }
    #services-section .service ul,
    main section#why-use-ian article:last-of-type, main section#case-study article:last-of-type, main section#about-section article:last-of-type, main section#all-case-studies article:last-of-type {
        margin-top: 20px;
    }
    #services-section .service ul {
        padding-left: 25px;
    }
    #about-section {
        height: auto;
        transform-style: flat;
        padding-top: 150px;
    }
    #about-section .center-content {
        top: auto;
        transform: none;
        position: static;
    }
    #why-use-ian h3 {
        text-align: center;
    }
    header .center-content {
        height: auto;
    }
    #about-section h2 {
        text-align: center;
    }
    #about-section p {
        font-size: 1.150em;
        margin-bottom: 15px;
        line-height: 1.3em;
    }    
    a.btn,
    main button, main input[type="button"], main input[type="reset"], main input[type="submit"] {
        width: 100%;
    }
    #contact-form p,
    .why-use-ian-col h4 {
        font-size: 1.15em;
    }
    #why-use-ian h3,
    #why-use-ian i {
        font-size: 2em;
    }
    #case-study article p,
    #testimonials p {
        font-size: 1.275em;
    }
    #info-page h1, h2 {
        font-size: 2em;
    }
}


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

.hentry {
	margin: 0;
}

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

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

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

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## 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: 0.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;
}
