/******************************************************************

Theme Name: Eight Wire
Theme URI: https://eightwire.uk
Description: Web Design & Development
Author: Eight Wire
Author URI: https://eightwire.uk
Version: 0.0.1
Tags: design, marketing, web development, content management

******************************************************************/

html, body {
	margin: 0;
	padding: 0;
	max-width: 100vw;
	min-height: 100vh;
	overflow-x: hidden;
	font-family: 'Lato', Arial, sans-serif;
	color: #6d6d6d;
}
/*body {
	font-family: 'Lato', Arial, "Helvetica Neue", Helvetica, Gotham, sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 17px;
	color: #999;
	-webkit-font-smoothing: antialiased;
	background-color: #fff;
	overflow-y: scroll;
	max-width: 1335px;
	margin: 0 auto;
}
body.stickyfooter.flex.flexcol>header, body.stickyfooter.flex.flexcol>footer { flex-shrink: 0; }
body.stickyfooter.flex.flexcol>main { flex: 1 0 auto; }
p {
	font-size: 13px;
	line-height: 17px;
	margin: 0 0 1em 0;
	color: #999;
}
h1, h2, h3, h4, h5, h6 {
	text-rendering: optimizelegibility;
	font-family: 'Lato', Arial, "Helvetica Neue", Helvetica, Gotham, sans-serif;
	font-weight: 400;
	line-height: 1;
	margin: 0;
	color: #C1C19D;
} */
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	font-family: 'Poiret One', 'Lato', Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

p {
	margin-top: 0;
	font-size: 15px;
}

a, a:link, a:visited, a:hover, a:active {
	outline: none;
	text-decoration: none;
	/*color: #241412;*/
}
/*
a:focus {
	outline: 1px dotted #000;
}
a, a:visited {
	color: #C1C19D;
} */

a:hover, a:focus, a:visited:hover, a:visited:focus,
footer.footer a:hover {
	/*text-decoration: underline;*/
}

.transition-all, .ta, button, input, textarea,
a,
.ewmodal-btn-open {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
iframe {
	max-width: 100%;
}
input {
  border: 1px solid;
}
input:not([type="submit"]):not(.qty):not([name="coupon_code"]),
textarea {
  width: 100%;
  outline: none;
  padding: 8px;
}
input[type="submit"],
a.ew-btn,
span.ew-btn {
  padding: 12px 24px;
	background: #565356;
  color: #fff;
  font-family: 'Poiret One', 'Lato', Arial, sans-serif;
	text-transform: uppercase;
}
input[type="submit"]:hover,
a.ew-btn:hover,
span.ew-btn:hover {
	background: #fff;
  color: #565356;
}

input:not([type="submit"]):focus:invalid,
input.wpcf7-not-valid {
	border-color: #ea003d;
}
/* CLEARFIX */
.cf {
	zoom: 1;
}
.cf:before, .cf:after {
	content: ' ';
	display: table;
}
.cf:after {
	clear: both;
}

.wrapper {
	max-width: 100%;
	margin: 0 auto;
	/*overflow: hidden;*/
}

/*@font-face {
	font-family: "Socialico";
	src: url("fonts/Socialico.eot?") format("eot"), url("fonts/Socialico.woff") format("woff"), url("fonts/Socialico.ttf") format("truetype"), url("fonts/Socialico.svg#Socialico") format("svg");
	font-weight:normal;
	font-style:normal;
}*/

/* HEADER */
header.header,
footer.footer {
	position: relative;
	z-index: 3;
}

header.header {
	padding-bottom: 0;
}

header .strip-colour {
	min-height: 30px;
	background: #77b1b6;
}

header .strip-colour .login-wrapper {
	max-width: 1150px;
	margin: 0 auto;
}

header .strip-colour .login-wrapper > a {
	padding: 6px;
	float: right;
	color: #fff;
}
header .strip-colour .login-wrapper > a:hover {
	text-decoration: underline;
}

header .strip-colour .site-switcher {
	display: inline-block;
	margin-left: 12px;
	padding: 4px;
	float: right;
}

header .wrapper {
	/*position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 9;*/
	/*background: rgba(36, 20, 18, 0.3);*/
	/*padding: 16px;*/
	position: relative;
}

/*.header-logo {
	float: left;
}

.header-links {
	float: right;
}*/

.header-links a {
	display: inline-block;
	text-transform: uppercase;
	padding: 12px;
	margin-top: 8px;
	/*color: #fff;*/
}

/*.header-links .icon {
	width: 38px;
	height: 38px;
	margin-right: 8px;
	display: inline-block;
	vertical-align: middle;
}
.header-links .icon-account {
	background: url('assets/images/icons/account.png');
}
.header-links .icon-basket {
	background: url('assets/images/icons/basket.png');
}*/


/*.header-links a:first-of-type {
	margin-right: 30px;
}*/

/* MENUS */
.menu, .sub-menu {
	list-style: none;
	padding-left: 0;
}

.sub-menu {
	display: none;
	position: absolute;
	top: 96%;
	background: #fff;
	z-index: 9;
	text-align: left;
}

nav .menu li {
	display: inline-block;
	position: relative;
}

.menu li:hover .sub-menu {
	display: block;
}

.sub-menu > li {
	display: block;
	margin: 0;
}

.sub-menu > li > a {
	width: 160px;
}

.menu li a,
#menu-primary.menu li a:hover {
	/*color: #fff;*/
}

nav.nav {
	clear: both;
	text-align: center;
}

#menu-primary {
	margin: 6px;
	padding-left: 360px;
	font-size: 0;
}

#menu-primary li > a {
	border-right: 1px solid #c1c1c3;
	padding: 12px 18px;
	display: block;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 16px;
	color: #313332;
}
#menu-primary li > a[href="#"],
.menu-item-has-children > a {
	pointer-events: none !important;
}
.mobile-nav .menu-item-has-children > a {
	pointer-events: all !important;
}
#menu-primary li:last-of-type > a,
#menu-primary .sub-menu li > a {
	border-right: 0;
}

#menu-primary li > a:hover,
#menu-primary li.current-menu-item > a,
#menu-primary .current-menu-ancestor > a,
#menu-primary .current-menu-parent > a {
	text-decoration: none;
	color: #77b0b5;
}

.footernav .menu li {
	margin-bottom: 1em;
}
/*
#menu-secondary > li:not(:last-child):after {
	content: "|";
	margin-left: 11px;
}

#responsive-menu .responsive-menu li li a {
	width: 100% !important;
	background: #C1C19D;
	border-top: 1px solid #8E9E82 !important;
}*/


/* MOBILE MENU */
header .wrapper .mobile-nav-open {
	display: none;
	/*color: #fff;*/
	text-align: right;
	padding: 16px 24px 12px;
}

.mobile-nav {
	position: fixed;
	width: 300px;
	max-width: 100%;
	height: 100%;
	background: #FFF;
	/*background: rgba(25, 25, 25, .9);*/
	/*color: #fff;*/
	top: 0px;
	left: -300px;
	overflow: auto;
	z-index: 999999;
	transition: left 0.7s ease;
	border-right: 1px solid #929295;
}
.mobile-nav.active {
	left: 0;
}

.mobile-nav .ewmodal-btn-close {
	position: fixed;
	width: 300px;
	max-width: 100%;
	top: auto;
	right: auto;
	bottom: 0;
	left: -300px;
	text-align: left;
	cursor: pointer;
	background: #444;
	color: #fff;
	/*border-top: 1px solid #fff;*/
	transition: left 0.7s ease;
	padding: 16px;
}

.mobile-nav.active .ewmodal-btn-close {
	left: 0;
}

.mobile-nav ul {
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav ul li {
	position: relative;
}

.mobile-nav ul a {
	display: block;
  padding: 16px;
	font-size: 18px;
	color: #313332;
}
.mobile-nav ul a:hover {
	background: #77b1b6;
	color: #fff;
}

.mobile-nav .sub-menu {
	display: block;
	position: initial;
}

.mobile-nav .sub-menu li {
	display: block !important;
}
/*.mobile-nav .sub-menu.active li {
	display: block;
}*/

.mobile-nav li.menu-item-has-children > a {
	padding-right: 56px;
}

.mobile-nav .sub-menu .sub-menu-toggle {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 54px;
	height: 54px;
	background: #77b1b6;
	color: #fff;
	/*font-size: 26px;*/
	line-height: 54px;
	text-align: center;
	cursor: pointer;
}
.mobile-nav .sub-menu .sub-menu-toggle:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 3px;
	background: #fff;
	transform: translate(-50%, -50%);
}
.mobile-nav .sub-menu:not(.active) .sub-menu-toggle:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 3px;
	height: 18px;
	background: #fff;
	transform: translate(-50%, -50%);
}

.mobile-nav .sub-menu > li > a {
	width: auto;
	padding-left: 28px;
	font-size: 16px;
}

.mobile-nav h5 {
	margin: 0;
	font-size: 18px;
}

.mobile-nav i.icon-close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.mobile-nav i.icon-close:before {
	font-size: 26px;
}


/* MAIN */
/*main.main article.article > .wrapper {
	padding: 14px 24px;
}

.heading {
	color: #7D8E6F;
	text-align: center;
	font-weight: 300;
	margin: 25px 0 22px;
}*/


/* BANNER */
.banner-container {
	overflow: hidden;
	max-height: 700px;
}

.flexslider,
.flexslider.banner {
	border: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	overflow: hidden;
}

.banner .slides img {
	filter: grayscale(1);
}

.banner .slides li .tagline {
	margin: 0;
	padding: 18px;
	background: rgba(96, 96, 96, 0.6);
	color: #fff;
	font-family: 'Poiret One', 'Lato', Arial, sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
}

.banner .flex-control-nav {
	display: none;
	bottom: 12px;
	z-index: 2;
}

.banner .flex-control-paging li a {
	width: 18px;
	height: 18px;
	background: none;
	border: 2px solid #c6e0e3;
	border-radius: 50%;
	box-shadow: none;
}
.banner .flex-control-paging li a:hover {
	background: rgba(198, 224, 227, 0.6);
}

.banner .flex-control-paging li a.flex-active {
	background: #c6e0e3;
}

/*.home.page .banner-container {
	max-height: 500px;
}

.flexslider, .flexslider.banner {
	border: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	overflow: hidden;
}

.banner-container .flex-direction-nav a {
	opacity: 0.6;
	top: 50%;
}

.flex-direction-nav a:before {
	content: none !important;
}

.banner-container .flex-direction-nav a:hover {
	opacity: 1;
}

.flex-direction-nav .flex-next {
	background: url('images/ar_right.png') center center no-repeat;
}
.flex-direction-nav .flex-prev {
	background: url('images/ar_left.png') center center no-repeat;
}

.banner:hover .flex-direction-nav .flex-next {
	right: 60px;
}

.banner:hover .flex-direction-nav .flex-prev {
	left: 60px;
}

#thumbSlider .flex-control-nav, #thumbNav {
	margin-top: 10px;
}

#thumbNav {
	position: relative;
}

#thumbNav .slides > li {
	opacity: 0.8;
}
#thumbNav .slides > li.flex-active-slide, #thumbNav .slides > li:hover {
	opacity: 1;
}

#thumbNav .slides > li:not(:last-of-type) {
	margin-right: 10px;
}

.caption {
	text-align: center;
	margin: 0 auto;
	background: #8E9E82;
	color: #fff;
	text-transform: uppercase;
	padding: 14px;
}*/

/* GALLERY */
/*.gallery .flexslider .slides > li {
	display: flex !important;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	box-pack: justify;
	justify-content: space-between;
	align-content: stretch;
}

.img-block {
	max-width: 260px;
	max-height: 260px;
}

.img-block:nth-of-type(-n+3) {
	margin-bottom: 20px;
}

.gallery .flex-direction-nav .flex-next {
	background: url('images/ar_right_g.png') center center no-repeat;
}

.gallery .flex-direction-nav .flex-prev {
	background: url('images/ar_left_g.png') center center no-repeat;
}

.gallery .flexslider .flex-direction-nav > li > a {
	opacity: 1 !important;
	background-color: #fff;
	border-radius: 50%;
}

.gallery-link {
	height: 160px;
}

.gallery-link a {
	font-size: 30px;
	line-height: 34px;
	text-align: center;
	display: block;
	margin-top: 50%;
	transform: translateY(-50%);
}
.gallery-link a:hover {
	text-decoration: none;
}*/


/* FRONT PAGE */


/* ARTICLE */
article.article,
main > .wrapper {
	padding: 48px;
}

.article > .wrapper {
	max-width: 1080px;
}

h1.heading {
	text-align: center;
	margin-top: 0;
}

.content-block p {
	font-size: 17px;
	line-height: 1.4;
}

.content-block a {
	color: #77b1b6;
}
.content-block a:hover {
	text-decoration: underline;
}

.content-thumbnail {
	min-width: 150px;
}

.content-thumbnail a {
	display: block;
	height: 100%;
}

.content-thumbnail img {
	opacity: 0;
}

/*.content-block.has-sidebar {
	margin-right: 4%;
	max-width: 70%;
	display: inline-block;
}*/

.links-sidebar {
	margin-top: 12px;
	/*width: 25%;*/
	padding: 0;
	display: block;
	vertical-align: top;
	list-style: none;
}

.links-sidebar li {
	margin-bottom: 6px;
	transition: background 0.3s ease;
}

.links-sidebar li:nth-of-type(odd) {
	background: #77b1b6;
}
.links-sidebar li:nth-of-type(odd) a:hover {
	color: #c6e0e3;
}

.links-sidebar li:nth-of-type(even) {
	background: #c6e0e3;
}
.links-sidebar li:nth-of-type(even) a:hover {
	color: #77b1b6;
}

.links-sidebar li a {
	padding: 12px;
	display: block;
	color: #6d6d6d;
}


/* CONTACT PAGE & FORM */


/* BLOG */
.blog article.single-post .content-entry > a,
.archive article.single-post .content-entry > a {
	text-decoration: none;
	color: #6d6d6d;
}
.blog article.single-post .content-entry > a:hover,
.archive article.single-post .content-entry > a:hover {
	color: #77b0b5;
}

.blog .content-block,
.archive .content-block {
	background: #c6e0e3;
}

.blog .content-block .content-entry,
.archive .content-block .content-entry {
	margin: 24px;
	padding: 24px;
	background: #fff;
	z-index: 1;
}

.content-block .wp-post-image {
	margin-bottom: 18px;
}

.pagination-archive {
	text-align: center;
	font-size: 18px;
}

.pagination-archive .page-numbers {
	padding: 4px;
}

.pagination-archive a {
	color: #565356;
}
.pagination-archive a:hover {
	color: #77b1b6;
}

.pagination-archive a i {
	width: 26px;
	height: 26px;
	margin-top: -4px;
	display: inline-block;
	vertical-align: middle;
}

.pagination-archive a i:before {
	font-size: 26px;
}

.pagination-single {
	padding-top: 36px;
}

.pagination-single span > a {
	text-transform: uppercase;
	color: #6d6d6d;
}
.pagination-single span > a:hover {
	color: #77b0b5;
}

.pagination-single a.ew-btn {
	border: 1px solid;
}


/* NEWS SECTION */
section.news-preview {
  padding: 44px 44px 22px;
  background: #565356;
  color: #fff;
}

section.news-preview > h2 {
  margin-top: 0;
  text-align: center;
  text-transform: uppercase;
}

section.news-preview > .flex {
  max-width: 1280px;
  margin: 0 auto;
}

.news-preview-post {
  max-width: 660px;
  margin-bottom: 22px;
}

.news-preview-post > img {
  margin-right: 24px;
  filter: grayscale(1);
}

.news-preview-content {
  min-width: 200px;
}

.news-preview-content a {
  color: #fff;
	text-transform: uppercase;
}
.news-preview-content a:hover {
  color: #84c7ce;
}

.news-preview-content a > i:before,
article.single-post a > i:before,
.pagination-single span > a > i:before {
	font-size: 20px;
}

.news-preview-content h2 {
  text-transform: none;
  font-size: 22px;
	font-weight: 700;
}

.news-preview-post,
.news-preview-content h2,
.news-preview-content p,
.news-preview-content a {
  font-family: 'PT Sans', 'Lato', Arial, sans-serif;
}

.news-preview-content a i,
article.single-post a i,
.pagination-single span > a > i {
  vertical-align: sub;
  transition: padding 0.3s ease;
}
.news-preview-content > div a:hover i,
article.single-post a:hover i {
  padding-left: 12px;
}


/* FOOTER */
footer.footer {
  padding: 48px;
  background: #fff;
  text-transform: uppercase;
}

footer.footer a {
	color: #565356;
	font-size: 15px;
}
footer.footer a:hover {
	color: #77b0b5;
}

/*footer.footer > section {
	padding: 16px 48px;
	flex: 1;
}*/

footer.footer > section:not(:last-of-type) {
	border-right: 1px solid #565356;
}

footer.footer > section p,
footer.footer > section ul {
	margin-top: 0;
}

footer .footernav {
	align-content: flex-start;
}

footer .credit,
footer ul.menu {
	width: 100%;
}

/*.footernav {
	float: left;
}*/

/*footer .contact {
	float: right;
}*/


/* PRICING BOXES */
.pricing-boxes {
	margin-top: 24px;
}

.pricing-box {
	margin-bottom: 24px;
	width: 48%;
	text-align: center;
}

.pricing-box h3,
.pricing-box .pricing-description,
.pricing-box a,
.pricing-box h4 {
	padding: 18px 24px;
}

.pricing-box h3,
.pricing-box .pricing-description,
.pricing-box a {
	color: #fff;
}

.pricing-box h3,
.pricing-box a {
	background: #969396;
}

.pricing-box h3,
.pricing-box h4 {
	font-size: 24px;
}

.pricing-box h3,
.pricing-box h4,
.pricing-box ul {
	margin-bottom: 0;
}

.pricing-box .pricing-description {
	padding: 0;
	background: #77b1b6;
	text-align: left;
}

.pricing-box .pricing-description,
.pricing-box .pricing-description p {
	font-size: 18px;
}

.pricing-box .pricing-description hr {
	margin: 0;
	padding-top: 6px;
	border: 0;
	border-bottom: 1px solid #c6e0e3;
}

.pricing-box .pricing-description-inner {
	padding: 24px;
}

.pricing-box ul > li {
	padding-left: 12px;
	font-size: 16px;
}

.pricing-box ul > li:not(:last-child) {
	margin-bottom: 12px;
}

.pricing-box h4 {
	background: #c6e0e3;
	color: #313332;
}

.pricing-box a {
	display: block;
	font-family: 'Poiret One', 'Lato', Arial, sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	position: relative;
}

.pricing-box a:before {
	content: "";
	display: inline-block;
	position: absolute;
	margin-left: -30px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 12px;
	border-color: transparent transparent transparent #ffffff;
	/*margin-bottom: -3px;*/
}


/* NEWSLETTER SIGNUP */
section.newsletter-signup {
  padding: 48px;
	background: #77b1b6;
}

section.newsletter-signup h3 {
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-top: 0;
}

section.newsletter-signup input {
  font-family: 'Comfortaa', sans-serif;
}

section.newsletter-signup input:not([type="submit"]) {
  width: 31% !important;
  margin-right: 12px;
  border-color: #fff;
}

section.newsletter-signup input[type="submit"] {
  display: block;
  margin: 24px auto 0;
  border-color: transparent;
  background: #565356;
  color: #fff;
	font-family: 'Poiret One', 'Lato', Arial, sans-serif;
  letter-spacing: 3px;
}
section.newsletter-signup input[type="submit"]:hover {
	background: #fff;
	color: #565356;
}


/* STUDENT AREA */
.user-tabs {
	margin: 0;
	padding: 0;
	list-style: none;
}

.user-tabs li {
	display: inline-block;
	border: 1px solid;
	background: #565356;
}

.user-tabs li > a {
	display: inline-block;
	padding: 12px;
	text-decoration: none !important;
	color: #fff;
}

.user-tabs li.ui-tabs-active {
	border-bottom: 0;
	padding-top: 2px;
	background: #fff;
	transform: translateY(2px);
}

.user-tabs li.ui-tabs-active > a {
	color: #6d6d6d;
}

.tabbed-content {
	border: 1px solid;
	padding: 12px;
}

.user-resources li {
	margin-bottom: 12px;
}

.user-resource-icon {
	display: inline-block;
	max-width: 18px;
	margin-right: 12px;
	vertical-align: middle;
}

.page-template-template-students .acf-button {
	display: inline-block;
	text-decoration: none;
}

.page-template-template-students .screen-reader-text {
	visibility: hidden;
	border: 0;
  clip: rect(1px,1px,1px,1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal!important;
}


/* MODAL */
html.locked {
	overflow: hidden;
}

.modal-bg {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.4);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.4s ease;
	z-index: 9999;
	width: 100vw;
	height: 100vh;
}
.modal-bg.active {
	visibility: visible;
	opacity: 1;
}

.modal-window {
	background: #fff;
	position: fixed;
	top: -100vh;
	left: 50%;
	bottom: auto;
	transition: visibility 0.2s ease, top 0.4s ease;
	transform: translate(-50%, -50%);
	z-index: 99999;
	width: 80%;
	height: 80%;
	overflow-y: scroll;
	padding: 30px;
	padding-right: 70px;
	color: #000;
}
.modal-window.active {
	top: 50%;
	visibility: visible;
}

.ewmodal-btn-open {
	cursor: pointer;
}
.ewmodal-btn-open:hover {
	color: #77b1b6;
}

.ewmodal-btn-close {
	float: right;
	position: absolute;
	top: 8px;
	right: 8px;
	width: 58px;
	/*height: 52px;*/
	cursor: pointer;
	text-align: center;
	color: #5e5e5e;
	transition: color 0.2s ease;
}
.ewmodal-btn-close:hover {
	/*color: #000;*/
}

.ewmodal-btn-close span {
	font-size: 24px;
}

button.modal-open {
	margin-bottom: 10px;
	border-radius: 3px;
}

/* MISC */
a.button,
.ewbtn {
	display: block;
	padding: 8px;
	border: 1px solid;
	margin: 12px;
}

.social-links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
	vertical-align: middle;
}

.social-links li {
	display: inline-block;
}

.social-links a:hover {
	text-decoration: none;
}

i.icon {
	font-size: 0px;
}
i.icon:before {
	font-size: 38px;
}

.social-links i.icon:before {
	font-size: 28px;
}

.block-tight {
	margin: 0 auto;
	max-width: 480px;
}

.banner-deck {
	padding: 42px;
	background: #c6e0e3;
	text-align: center;
}

.banner-deck h2 {
	margin-top: 0;
	color: #6a9d9e;
	text-transform: none;
}

.banner-deck p {
	margin-bottom: 0;
	color: #6d6d6d;
	line-height: 1.3;
}

.internal-link {
	margin: 0 18px;
	padding: 36px 96px;
	background: #565356;
	text-align: center;
}

.internal-link h3 {
	margin-top: 0;
	color: #c6e0e3;
}

.internal-link span {
	color: #fff;
	font-weight: 300;
}

.block-ctas {
	padding: 42px;
	background: #77b1b6;
}

.block-cta {
	margin: 0 42px;
	padding: 18px;
	text-align: center;
}

.block-cta i {
	display: block;
	padding: 18px;
	background: #c6e0e3;
	color: #77b1b6;
	font-size: 0;
	transition: color 0.3s ease;
}
.block-cta i:before {
	font-size: 140px;
}
.block-cta:hover i {
	color: #fff;
}

.block-cta > span {
	margin-top: 18px;
	display: block;
	color: #fff;
	font-family: 'Poiret One', 'Lato', Arial, sans-serif;
	font-size: 22px;
}

.page.sitemap .content-block,
.page.contact .content-block,
.blog .content-block,
.archive .content-block,
.content-block.has-sidebar {
	column-count: 1 !important;
}


/* Media Queries */
@media screen and (min-width: 600px) {
	.header-logo {
		position: absolute;
		top: 12px;
		left: 96px;
		z-index: 3;
	}

	footer.footer section {
    padding: 0 40px;
	}
}

@media screen and (min-width: 720px) {
	.banner .slides li .tagline {
		position: absolute;
		right: 10%;
		bottom: 42px;
		max-width: 360px;
		text-align: left;
	}

	.banner .flex-control-nav {
		display: block;
		width: auto;
		right: 35%;
	}

	.content-block {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
		-webkit-column-gap: 54px;
		-moz-column-gap: 54px;
		column-gap: 54px;
	}

	.content-block.has-sidebar {
		margin-right: 4%;
		max-width: 70%;
		display: inline-block;
	}

	.links-sidebar {
		margin-top: 0;
		width: 25%;
		display: inline-block;
		float: right;
	}
}

@media screen and (min-width: 840px) {

	.page:not(.home) article.article .content-entry {
		max-width: 840px;
		margin: 0 auto;
	}

	article.article .content-thumbnail {
		max-width: 35%;
	}

	.blog .content-block > div:nth-of-type(2),
	.archive .content-block > div:nth-of-type(2) {
		margin-left: -100px;
		width: 100%;
	}
}

@media screen and (min-width: 960px) {
	.banner .slides li .tagline {
		right: 20%;
	}

	.news-preview-post {
    width: 48%;
	}
}

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

@media screen and (max-width: 1024px) {
	.header-logo {
		max-width: 220px;
	}

	#menu-primary {
		padding-left: 320px;
	}

	/*.cta-block {
		width: 100%;
	}

	.cta-block {
		max-height: 200px;
	}*/

	/*footer.footer > section {
		flex-basis: 50%;
	}*/

	/*footer.footer > section:nth-of-type(even) {
		border-right: 0 !important;
	}*/

	footer.footer > section:nth-of-type(-n+2) {
		/*border-bottom: 1px solid #eace76;*/
	}
}

@media screen and (min-width: 1280px) {
	.page-template-page-secondary article .content-block,
	.blog article .content-block,
	.archive article .content-block,
	.single-post article .content-block,
	.woocommerce #content {
		max-width: 65%;
		margin: 0 auto;
	}
}

@media screen and (min-width: 1440px) {
	/*.internal-link {
		max-width: 228px;
	}*/
}

@media screen and (max-width: 960px) {
	header .wrapper > nav > ul {
		display: none;
	}

	header .wrapper .mobile-nav-open {
		display: block;
	}
}

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

	.header-logo {
		max-width: 180px;
	}

	footer.footer > section {
		border: 0 !important;
		flex-basis: 100%;
		display: block;
	}

	/*footer.footer > section.credit {
		text-align: center;
	}*/
}

@media screen and (max-width: 720px) {
	.cta-block {
		width: auto;
	}

	.blog article.article.single-post,
	.archive article.article.single-post {
		margin-bottom: 36px;
		padding: 0;
	}

	.blog article.article .content-block,
	.archive article.article.single-post {
		display: block;
	}

	.pricing-box {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	section.newsletter-signup .flex {
    display: block;
	}

	section.newsletter-signup input:not([type="submit"]) {
    width: 100% !important;
	}

	section.newsletter-signup .flex > input:not(:last-of-type) {
    margin-bottom: 12px;
	}

	footer.footer > section {
		flex-basis: 100%;
		border: 0 !important;
	}
}


/* FLEX - No styles below this */
.flex {
	display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
	display: box; /* for flexie.js IE6-9 */
	display: -ms-flexbox; /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Chrome */
	display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.flexcol {
	-webkit-box-orient: vertical;
	-moz-box-orient: vertical;
	box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.flexrow {
	-webkit-box-orient: horizontal;
	-moz-box-orient: horizontal;
	box-orient: horizontal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}
.flexdirection {
	-webkit-box-direction: normal;
	-moz-box-direction: normal;
	box-direction: normal;
}
.flexdirectionreverse {
	-webkit-box-direction: reverse;
	-moz-box-direction: reverse;
	box-direction: reverse;
}
.flexstretch {
	-webkit-box-pack: justify;
	-moz-box-pack: justify;
	box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: stretch;
	justify-content: space-between;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-box-align: stretch;
	-moz-box-align: stretch;
	box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}
.flexwrap {
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.flexorder {
	-webkit-box-ordinal-group: 1;
	-moz-box-ordinal-group: 0;
	box-ordinal-group:0;
	-webkit-order: 0;
	-ms-flex-order: 0;
	order: 0;
}
.flexi {
	-webkit-box-flex: 1;
	-moz-box-flex: 1 0 auto;
	box-flex:1 0 auto;
	-webkit-flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	word-wrap:break-word;
	-moz-transition: all ease-in-out 0.2s;
	-o-transition: all ease-in-out 0.2s;
	-webkit-transition: all ease-in-out 0.2s;
	transition: all ease-in-out 0.2s;
}
.flexone {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
	flex: 1 1 0;
}
.flexiq {
  flex: 1 0 25%;
}
.flexistretch {
	-webkit-align-self: stretch;
	-ms-flex-item-align: stretch;
	align-self: stretch;
}

.flexcenter {
	-webkit-justify-content: center;
	-moz-justify-content: center;
	justify-content: center;
}

.flexend {
	-webkit-justify-content: flex-end;
	-moz-justify-content: flex-end;
	justify-content: flex-end;
}

.flexvcenter {
	-webkit-align-items: center;
	align-items: center;
}

/* THEY ARE ONLY TO KEEP THEME CHECKER HAPPY */
/*.sticky {}
.gallery-caption {}
.bypostauthor {}*/

/*@media print {
	* {
		background: transparent !important;
		color: black !important;
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}
	a, a:link, a:visited {
		color: #444 !important;
		text-decoration: underline;
	}
	a:after, a:visited:after {
		content: " (" attr(href) ")";
	}
	a abbr[title]:after, a:visited 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;
	}
	.searchform,  nav {
		display: none;
	}
}*/
