/*
Theme Name:Factary_2017
Theme URI:http://underscores.me/
Author:Shaun Gardiner
Author URI:http://www.factary.com
Description:Description
Version:1.0.0
License:GNU General Public License v2 or later
License URI:LICENSE
Text Domain:factary_2017
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.

Factary_2017 is based on Underscores http://underscores.me/, (C) 2012-2016 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.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
	## Login
# Navigation
	## Links
	## Menus
		### Header
		### Small menu
		### Secondary
		### Footer
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
		### Posts
		### Post list
	## Comments
	## All pages
		### Frontpage
		### What We Do
			#### Data Screening
			#### Prospect Profiling
			#### New Trust Update
			#### New Prospects Report
			#### Consultancy & Training
			#### Interim Researcher
			#### Factary Phi
			#### Factary Atom
			#### GDPR
		### About
			#### Team
			#### Terms of Business
		### FAQ
		### Contact page
			#### Contact form
# Infinite scroll
# Media
	## Captions
	## Galleries
# New styles (Factary Europe page)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family:"Open Sans", sans-serif;
	-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:focus {
	outline:0;
}

abbr[title] {
	border-bottom:1px dotted;
}

b,
strong {
	font-weight:bold;
}

dfn {
	font-style:italic;
}
	
mark {
	background:#ff0;
	color:#000;
}

small {
	font-size:80%;
}

sub,
sup {
	font-size:75%;
	line-height:0;
	position:relative;
	vertical-align:baseline;
}

sup {
	top:-0.5em;
}

sub {
	bottom:-0.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;
	-moz-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-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance:none;
	-moz-appearance:none;
}

fieldset {
	border:1px solid #c0c0c0;
	margin:0 2px;
	padding:0.35em 0.625em 0.75em;
}

legend {
	border:0;
	padding:0;
}

textarea {
	overflow:auto;
}

optgroup {
	font-weight:bold;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

td,
th {
	padding:0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color:#404040;
	font-family:'open sans',sans-serif;
	font-size:16px;
	font-size:1rem;
	line-height:1.5;
}

/*h1,
h2,
h3,
h4,
h5,
h6 {
	clear:both;
}*/

h1 {
    color:#ffdb3f;
	font-size:3.1rem;
    font-style:italic;
    font-weight:lighter;
	margin:0;
    padding:0.5em 0 0.77em;
    text-align:center;
	letter-spacing:-1.5px;
	line-height:3.6rem;
	clear:both;
}

h2 {
    font-size:1.8rem;
    font-style:italic;
    font-weight:lighter;
	clear:both;
}

h3 {
	font-size:1.6rem;
    font-style:italic;
    font-weight:lighter;
    line-height:1.8rem;
    margin-bottom:0.2rem;
    margin-top:2rem;
	clear:both;
}

h4 {
	font-size:1.4rem;
    margin-bottom:0.1rem;
	font-style:italic;
	font-weight:lighter;
	clear:both;
}

h5 {
    font-size:1.1rem;
    font-style:normal;
    font-weight:lighter;
    margin-bottom:0.1rem;
	clear:both;
}

h6 {
	clear:both;	
}

p {
	margin-bottom:1.5em;
}

h2 + p,h3 + p,h4 + p,h5 + p,h6 + p {
	margin-top:0;
}

.colwrap h2,.colwrap h3,.colwrap h4,.colwrap h5,.colwrap h6 {
	display:inline-block;
}

dfn,
cite,
em,
i {
	font-style:italic;
}

blockquote {
	margin:0 1.5em;
}
.content-area blockquote {
	background-color:rgb(246,246,246);
	background-color:rgba(246,246,246,0.75);
	border-left:10px solid #7681A1;
	margin-bottom:1.5em;
	margin-top:1.5em;
	padding:0.5em 10px 0.5em 20px;
	quotes:"\201C""\201D""\2018""\2019";
	color:#384457;
}
	.content-area blockquote:before {
		color:#ccc;
		content:open-quote;
		font-size:4em;
		line-height:0.1em;
		margin-right:0.25em;
		vertical-align:-0.4em;
	}
	.content-area blockquote p {
		display:inline-block;
		margin:0 0 12px;
	}

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 http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing:inherit;
}


@media screen and (max-width:600px) {
	body {
		overflow-x:hidden
	}
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content:"";
}

blockquote,
q {
	quotes:"" "";
}

hr {
	background-color:#ccc;
	border:0;
	height:1px;
	margin-bottom:1.5em;
}

/*ul,
ol {
	margin:0 0 1.5em 2em;
    padding:0;
}*/

ul,
ol {
	margin:0 auto 1.5em;
    max-width:670px;
    padding:0 0 0 30px;
}

ul {
	list-style:disc;
}

ol {
	list-style:decimal;
}

ol  {
	counter-reset:li; /* Initiate a counter */
	margin:30px auto 1.5em; /* Remove the default left margin */
	/*padding-left:0; /* Remove the default left padding */
}

ol  > li {
	position:relative; /* Create a positioning context */
	margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
	padding:4px 8px; /* Add some spacing around the content */
	list-style:none; /* Disable the normal item numbering */
}

ol > li:before {
	content:counter(li); /* Use the counter as content */
	counter-increment:li; /* Increment the counter by 1 */
	/* Position and style the number */
	position:absolute;
	top:1px;
	left:-2em;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	width:2em;
	margin-right:8px;
	padding:3px 4px 4px;
	color:#fff;
	font-weight:bold;
	text-align:center;
	border-radius:50%;
	background:#06243c;
}

	blockquote ol > li:before {
		color:#384457;
	}

li ol,
li ul {
	margin-top:6px;
}
ol ol li:last-child {
	margin-bottom:0;
}

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%;
}

.textRight {
	text-align:right;
}

.center {
	text-align:center;
}

.floatLeft {
	float:left;
}

.floatRight {
	float:right;
}

.noFloat {
	float:none !important;
}

.btRtCurve {
	border-bottom-right-radius:15px;
}

.btLtCurve {
	border-bottom-left-radius:15px;
}

.strong {
	font-weight:bold;
}

.italic {
	font-style:italic;
}

.circle {
	border-radius:50%;
}

.noBorder,
.noBorder:hover,
.noBorder:active,
.noBorder:focus {
	border:none;
}

.ltBlueBg {
	background-color:#7681A1;
}

.dkBlueBg {
	background-color:#0D4779;
}

.yellowText {
	color:#FFDB3F;
}

.endnotes {
    border-top:1px dotted #fff;
    font-size:0.8rem;
    padding-top:15px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	-moz-border-bottom-colors:none;
    -moz-border-left-colors:none;
    -moz-border-right-colors:none;
    -moz-border-top-colors:none;
    border-image:none;
    border-radius:3px;
    border-style:none;
    color:rgb(0, 0, 0);
    color:rgba(0, 0, 0, 0.8);
    font-size:1rem;
    font-weight:bold;
    line-height:1;
    padding:0.5em 1em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color:#ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color:#aaa #bbb #bbb;
}

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,
select[name="product"] {
	color:#666;
	border:1px solid #ccc;
	border-radius:3px;
	padding:3px;
	width:100%;
}

select {
	border:1px solid #ccc;
}

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;
}

textarea {
	width:100%;
}

/*--------------------------------------------------------------
## Login
--------------------------------------------------------------*/
.tml {
	margin:0 auto;
}

.tml-user-links li {
    list-style:none;
    padding:10px 5px 15px;
    border-radius:10px;
    background-color:#0d4779;
	margin-bottom:5px;
}

.tml-user-links li a {
    display:block;
	width:100%;
	border-bottom:none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	border-bottom:2px solid #ffdb47;
    color:#19202b;
    text-decoration:none;
	transition:border 0.25s ease;
	position:relative;
}

a.noBorder {
	border:none;
}

a:visited {
	color:#7681A1;
	color:#19202b;
}

a:hover,
a:focus,
a:active {
	border-bottom:5px solid #ffdb47;
}

a:focus {
	outline:thin dotted;
}

a:hover,
a:active {
	outline:0;
}

a:active {
	top:2px;
}

a.close {
    background-color:rgb(0, 0, 0);
    background-color:rgba(0, 0, 0, 0.7);
    border-radius:50%;
    color:#ccc;
    font-size:1em;
    font-weight:bold;
    height:30px;
    line-height:1.8em;
    position:absolute;
    right:10px;
    text-align:center;
    text-decoration:none;
    top:10px;
    width:30px;
}

a.close {
	display:none;
}

.navigationContent a.close {
	display:block;
}

a.backToTop,
a.backToTop:active {
	background:#809fc2 none repeat scroll 0 0;
    border-bottom-right-radius:10px;
	border-bottom:none;
    border-top-right-radius:10px;
    bottom:1em;
    box-shadow:0 0 5px rgba(0, 0, 0, 0.1) inset;
    color:#fcfcfc;
    font-size:0.8rem;
    padding:1em;
    position:fixed;
    left:-40px;
    text-decoration:none;
    width:40px;
    z-index:999999;
	opacity:0;
	transition:all 1s ease;
	top:auto !important;
}

	.deepScroll a.backToTop {
		left:0;
		opacity:0.85;
	}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/



/*--------------------------------------------------------------
### Header
--------------------------------------------------------------*/

.site-header {
	background-color:#fff;
	position:relative;
	z-index:999999;
	box-shadow:0 0 16px rgba(0,0,0,0.2);
	transition:all 1s ease-in-out;
	top:0;
}
@media screen and (max-width:900px) {
	.site-header{
		position:fixed;
		width:100%;
		padding:5px 0 0;
	}
}
@media screen and (min-width:900px) {
	.site-header{
		position:fixed;
		width:100%;
		padding:10px 0 0;
	}
}
@media screen and (min-width:1000px) {
	.site-header{
		padding:7px 0 10px;
	}
}

.deeperScroll .site-header{
	/*overflow:hidden;*/
	top:-510px;
}

.deeperScroll .navigationContent {
	left:-100vw;
}

.site-header a {
	border:none;
}

.site-header a.twitter {
	background-image:url("/wp-content/themes/factary_2017/images/socialsprites.png");
    background-position:-188px center;
    background-size:auto 276%;
	background-repeat:no-repeat;
    display:inline-block;
    height:16px;
    margin-left:10px;
    overflow:hidden;
    position:relative;
    top:3px;
    width:20px;
}
	.site-header a.twitter span {
		left:-99999px;
		position:relative;
	}
	@media screen and (max-width:600px) {
		.site-header a.twitter {
			display:none;
		}
	}

.flexWrap {
    display:flex;
	justify-content:space-between;
}

.site-branding, .main-navigation {
    display:inline-flex;
    vertical-align:middle;
}
	@media screen and (max-width:600px) {
		.site-branding, .main-navigation {
			display:block;
		}
	}

.site-branding {
	transition:all 1s ease;
	position:relative;
	margin:10px 10px 0;
}

.main-navigation li.floatRight {
	margin-left:5px;
}

.main-navigation a {
	display:block;
	text-decoration:none;
}

.main-navigation ul ul {
	box-shadow:0 3px 3px rgba(0, 0, 0, 0.2);
	z-index:99999;
}

.main-navigation ul ul ul {
	left:-999em;
	top:0;
}

.main-navigation ul ul li {
	margin:0 0 -1px;
}

.noJs .main-navigation ul li:hover > ul,
.noJs .main-navigation ul li.focus > ul {
	left:auto;
}

.noJs .main-navigation ul ul li:hover > ul,
.noJs .main-navigation ul ul li.focus > ul {
	left:100%;
}

.main-navigation ul {
	list-style:none;
	margin:0;
	padding-left:0;
}

.main-navigation ul {
	display:none;
}

.main-navigation div > ul > li {
	display:inline-block;
    margin-left:10px;
    position:relative;
    vertical-align:middle;
	transition:all 1s ease;
}

div.menu-primary-navigation-container, div.menu-secondary-navigation-container {
    display:inline-flex;
}

div.menu-primary-navigation-container > ul a {
    background-color:#0d4779;
    color:#fff;
    padding:5px 8px;
	transition:all 1s ease;
}
	div.menu-primary-navigation-container > ul a:active {
		top:0;
	}
	.scroll .menu-primary-navigation-container > ul a {
		font-size:0.8em;
	}
	
div.menu-secondary-navigation-container {
    margin-left:20px;
    margin-right:10px;
}

div.menu-secondary-navigation-container > ul > li {
    margin-left:5px;
}
	.scroll div.menu-secondary-navigation-container > ul > li {
		margin-left:5px;
	}

li.loginLink {
	float:right;
    margin-top:0;
}

li.loginLink {
	float:right;
    margin-top:0;
	height:80px;
    width:80px;
    transition:all 1s ease 0s;
}

.loginLink.atom {
	display:none;
}

.loginLink a {
	background-color:#7681A1;
	border-radius:50%;
	color:#fff;
	display:block;
	height:100%;
	margin-top:0;
	text-align:center;
	text-decoration:none;
	width:100%;
	transition:all 1s ease 0s;
}

	.loginLink a:hover {
		background-color:#ffdb3f;
		color:#7681A1;
	}
	
.navigationContent {
	background-color:#2a507b;
    display:block;
    padding:0 10px 15px;
    position:absolute;
    width:100%;
	transition:all 1s ease;
	margin-top:0;
	left:-100vw;
}	

div#whatWeDoMenu.active {
	left:0;
}

div#faqMenu.active {
	left:0;
}

div#aboutUsMenu.active {
	left:0;
}

div#blogMenu.active {
	left:0;
}

div#contactUsMenu.active {
	left:0;
}


	@media screen and (min-width:1000px) {
		.navigationContent {
			margin-top:10px;
		}		
	}
	.navigationContent h2 {
		color:#ffdb3f;
		text-align:center;
	}
	@media screen and (max-width:1100px) {
		.navigationContent h2 {
			font-size:1.1rem;
		}
	}
	.navigationContent ul {
		text-align:center;
		margin:0;
		padding:0;
		max-width:100%;
	}
	.navigationContent li {
		display:inline-block;
		margin:5px 3px;
		height:150px;
		width:150px;
		vertical-align:top;
	}
	@media screen and (max-width:1100px) {
		.navigationContent li {
			display:inline-block;
			margin:5px 3px;
			height:100px;
			width:100px;
			vertical-align:top;
		}
	}
	.navigationContent li a {
		background-color:#0d4779;
		border-radius:5px;
		display:block;
		height:100%;
		padding-top:100px;
		position:relative;
		vertical-align:middle;
		width:100%;
		text-decoration:none;
		color:#fff;
		overflow:hidden;
		line-height:1.1em;
	}
	@media screen and (max-width:1100px) {
		.navigationContent li a {
			padding-top:57px;			
		}
	}
	.navigationContent li a span.item {
		position:relative;
		z-index:999;
		display:block;
		margin:0 auto;
		max-width:90%;
	}
	@media screen and (max-width:1100px) {
		.navigationContent li a span.item {
			font-size:0.85rem;
			line-height:1rem;
			max-width:95%;
		}
	}
	.navigationContent li a .fa-5x {
		height:100px;
		left:25px;
		opacity:0.5;
		position:absolute;
		top:18px;
		width:100px;
		z-index:9;
		transition:all 0.5s ease;
	}
	.navigationContent li a .fa-3x {
		height:50px;
		left:0;
		opacity:0.5;
		position:absolute;
		top:10px;
		width:100px;
		z-index:9;
		transition:all 0.5s ease;
	}
	.navigationContent li a:hover .fa {
		opacity:1;
	}
	.navigationContent li a:hover .fa-3x {
		top:5px;
	}
	.navigationContent li a:hover .fa-5x {
		top:10px;
	}
	@media screen and (max-width:1100px) {
		.navigationContent li a .fa-3x {
			display:block;
		}
		.navigationContent li a .fa-5x {
			display:none;
		}
	}
	@media screen and (min-width:1100px) {
		.navigationContent li a .fa-3x {
			display:none;
		}
		.navigationContent li a .fa-5x {
			display:block;
		}
	}
	
	.navigationContent a .slideDesc {
		background-color:rgb(6, 36, 60);
		background-color:rgba(6, 36, 60, 0.95);
		border-radius:5px;
		box-shadow:0 0 16px rgba(0, 0, 0, 0.4) inset;
		color:#fff;
		display:block;
		font-size:0.9em;
		height:150px;
		line-height:1.2em;
		max-height:150px;
		padding:10px;
		position:absolute;
		text-align:left;
		text-decoration:none;
		top:150px;
		vertical-align:middle;
		width:150px;
		z-index:999;
		transition:all 1s ease;
		transition-delay:0.5s;
		opacity:0;
	}
	@media screen and (max-width:1100px) {
		.navigationContent a .slideDesc {
			background-color:rgb(6, 36, 60);
			background-color:rgba(6, 36, 60, 0.95);
			border-radius:5px;
			box-shadow:0 0 16px rgba(0, 0, 0, 0.4) inset;
			color:#fff;
			display:block;
			font-size:0.7em;
			height:150px;
			line-height:1.2em;
			max-height:150px;
			opacity:0;
			padding:5px;
			position:absolute;
			text-align:left;
			text-decoration:none;
			top:0;
			transition:all 1s ease 0.5s;
			/*vertical-align:middle;*/
			width:100px;
			z-index:999;
		}
	}
	
		.navigationContent a:hover .slideDesc {
			top:0;
			opacity:1;
		}
	
@media screen and (min-width:1100px) {	
	.site-branding {
		width:220px;
		height:78px;
		margin:0 10px;
	}
		.scroll .site-branding {
			height:60px;
			width:172px;
		}
	
	div.menu-primary-navigation-container li {
		margin-top:24px;
	}
		.scroll div.menu-primary-navigation-container li {
			margin-top:14px;
		}
		
		.scroll li.loginLink {
			height:60px;
			width:60px;
		}
	
	.loginLink  a {	
		padding:2.3em 0 0;
		font-size:0.9em;
		line-height:0.9em;
	}	
		.scroll li.loginLink  a {	
			padding:2em 0 0;
			font-size:0.725em;
			line-height:0.85em;
		}
}

@media screen and (max-width:1100px) {
	div.menu-primary-navigation-container li {
		margin-top:12px;
	}	
	div.menu-primary-navigation-container > ul a {
		font-size:0.8em;
	}	
		.scroll .menu-primary-navigation-container > ul a {
			font-size:0.75em;
		}	
	
	div.menu-secondary-navigation-container > ul > li  {	
		height:60px;
		margin-left:5px;
		width:60px
	}
	
	.loginLink  a {	
		font-size:0.75em;
		line-height:0.75em;
		padding:2em 0 0;
	}
}

@media screen and (max-width:1000px) {	
	div.menu-secondary-navigation-container > ul > li  {	
		height:50px;
		margin-left:5px;
		width:50px
	}
	
	.loginLink  a {	
		padding:1.7em 0 0;
	}
		.loginLink  a span.lowRez {	
			display:none;
		}
		.loginLink  a span.lowRez {	
			display:none;
		}
}
@media screen and (max-width:850px) {
	.menu-secondary-navigation-container .loginLink {
		display:none;
	}
}
@media screen and (min-width:640px) and (max-width:850px) {	
	.menu-secondary-navigation-container .loginLink.ftp {
		display:inline-block;
	}
	/*.menu-secondary-navigation-container .loginLink.atom span {
		display:none;
	}
	.menu-secondary-navigation-container .loginLink.atom span.lowRez {
		display:block;
		text-transform:capitalize;
	}*/
}

@media screen and (min-width:720px) and (max-width:1100px) {
	.site-branding {
		width:170px;
		height:58px;
		top:-11px;
	}
		.scroll .site-branding {
			height:50px;
			top:-7px;
			width:137px;
		}
}

@media screen and (max-width:720px) {
	.site-branding {
		width:145px;
		height:53px;
		top:-11px;
	}	
		.scroll .site-branding {
			width:120px;
			height:44px;
			top:-6px;
		}
}
@media screen and (max-width:600px) {
	.site-branding {
		top:-5px;
	}	
	.scroll .site-branding {
			display:none;
		}		
}
@media screen and (max-width:800px) {
	div.menu-secondary-navigation-container .loginLink {
		display:none;
	}	
}

@media screen and (min-width:600px) {	
	.main-navigation ul ul {
		float:left;
		left:-999em;
		position:absolute;
		top:1.5em;
		margin-top:5px;
	}

	.main-navigation ul ul a {
		width:200px;
	}
}

@media screen and (max-width:600px) {
	.site-header {
		padding:0;
	}

	.flexWrap {
		display:block;
		width:100%;
	}
	
	.site-branding,
	.scroll .site-branding {
		width:100%;
		text-align:center;
	}
		
	.main-navigation{
		width:100%;
		transition:all 1s ease;
	}
		
	button.menu-toggle {
		background-color:#364255;
		background-image:url("/wp-content/themes/factary_2017/images/menugrip.png");
		background-position:center center;
		background-repeat:no-repeat;
		border:medium none;
		border-radius:0;
		height:40px;
		width:100%;
		transition:all 1s ease;
		z-index:999;
	}	
	
	div.menu-primary-navigation-container, div.menu-secondary-navigation-container {
		margin:0;
		display:block;
		position:absolute;
		width:100%;
	}
		div.menu-primary-navigation-container ul.sub-menu a {
			background-color:#fff;
			color:#0d4779;
		}
	
	.main-navigation div > ul > li {
		border-bottom:1px solid #7681A1;
		display:block;
		margin:0;
		text-align:center;
		width:100%;
	}
}

@media screen and (max-width:440px) {
.flexWrap {
		margin-top:24px;
	}	
}

	@media screen and (min-width:600px) {
		.main-navigation.toggled ul.content-area-menu {
			margin-top:40px;
		}
	}
	
	.scroll .main-navigation.toggled ul.content-area-menu {
		margin-top:0;
	}
	
	li.active ul.sub-menu {
		display:block;
	}
		
	ul.sub-menu li {
		height:29px;
		opacity:0;
		max-height:0;
		transition:all 1s ease;		
	}	
		li.active ul.sub-menu li {
			max-height:29px;	
			opacity:1;
		}
		
@media screen and (max-width:600px) {
	.menu-item-has-children > a::after {
		background-image:url("/wp-content/themes/factary_2017/images/menuarrow.png");
		background-position:center center;
		background-repeat:no-repeat;
		background-size:16px auto;
		content:"";
		display:inline-block;
		height:16px;
		position:relative;
		top:3px;
		width:20px;
		transition:0.5s all;
	}
		
	.menu-item-has-children > a:hover::after,
	.menu-item-has-children.active > a::after {
		transform:rotate(90deg);
		top:0;
	}
}

.popupBanner {
	background-color:#0d4779;
	color:#ffdb3f;
	overflow:hidden;
	transition:all 1s ease;
	position:realti
}

.popupBanner p:first-of-type {
	font-size:1.4rem;
	text-align:center;
	margin:18px 0;
	line-height:1.8rem;
}

.popupBanner p + p {
	font-size:1.1rem;
	line-height:1.5rem;
	font-style:normal;
	text-align:left;
	margin-left:10px;
	margin-right:10px;
}

.popupBanner a {
	/*position:absolute;
	top:0;
	right:0;
	left:0;
	bottom:0;*/
	z-index:99999;
	border-bottom:1px solid #cecece;
	color:#f6f6f6;
}
.popupBanner a:hover {
	color:#ffffff;
	border-bottom:2px solid #f6f6f6;
}

@media screen and (max-width:440px) {
	.promoBanner {
		height:80px;
		bottom:45px;
	}
	
	body.scroll .promoBanner {
		bottom:0;
	}
}

@media screen and (min-width:441px) and (max-width:719px) {
	.promoBanner {
		bottom:0;
	}	
}

@media screen and (max-width:719px) {
	.promoBanner {
		width:100%;
		position:fixed;
		height:80px;
	}
	
	.promoBanner p {
		margin:10px 0;
	}
	
	.promoBanner a span {
		margin-left:-9999px;
	}	
	
	body.deepScroll .promoBanner {
		bottom:-200px;
	}
}
@media screen and (min-width:720px) {
	.promoBanner {
		width:200px;
		height:200px;
		border-radius:50%;
		transform:rotate(10deg);
		position:fixed;
		bottom:10px;
		right:10px;
	}
	
	.promoBanner p {
		margin:18px 0;
	}
	
	.promoBanner a span {
		margin-left:-9999px;
	}
	
	.promoBanner span {
		display:block;
	}
	
	body.deepScroll .promoBanner {
		right:-200px;
	}
}

/*--------------------------------------------------------------
### Small menu
--------------------------------------------------------------*/
.menu-toggle,
.main-navigation.toggled > div > ul {
	display:block;
}


@media screen and (min-width:600px) {
	.menu-toggle {
		display:none;
	}
	.main-navigation ul {
		display:block;
	}
}

.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%;
    margin-bottom:6px;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float:right;
	text-align:right;
	width:50%;
    margin-bottom:6px;
}

body.single-post .nav-next::before {
	content:'Next:';
}

body.single-post .nav-previous::before {
	content:'Previous:';
}

/*--------------------------------------------------------------
### Secondary
--------------------------------------------------------------*/
.widget-area {
    background-color:#496585;
    color:#fefefe;
    margin:0;
    padding:10px 0 20px;
}
@media screen and (min-width:600px) {
	.widget-area {
		display:flex;
	}

	.widget-area section {
		margin:10px;
	}
}
@media screen and (max-width:600px) {
	.widget-area {
		margin:0 0 -30px;
	}
	
	.widget-area section {
		margin:30px 10px;
	}
}

.widget-area .widget_search {
    text-align:right;
}

.widget-area ul {
    display:block;
    margin:0;
    max-width:1000px;
    min-height:80px;
    min-width:320px;
    padding:0;
    position:relative;
    width:100%;
}
	.widget-area ul > li {
		bottom:0;
		left:0;
		/*position:absolute;*/
		right:0;
		top:0;
		width:100%;
		list-style-type:none;
	}
	
	.widget-area ul > li a,
	.widget-area .tagcloud a {
		color:#fff;
	}
	
.widget_tag_cloud h3 {
	text-align:center;
}

/*--------------------------------------------------------------
### Footer
--------------------------------------------------------------*/
footer.site-footer {
    background-color:#496585;
    color:#fff;
    font-size:0.8em;
    text-align:right;
}
	@media screen and (max-width:600px) {
		footer.site-footer {
			padding-top:60px;
		}
	}

footer.site-footer p {
    margin:45px 10px 10px 0;
}

footer.site-footer p + p {
    margin:25px 10px 10px 0;
}

.search-form > * {
    margin-top:5px;
}

.testimonials em {
    color:#ffdb3f;
}

.site-info {
	margin-right: 72px;
}
.site-info a {
    color:#fff;
}
aside.widget-area-sidebar {
    padding:0 40px 40px;
}

aside.widget-area-sidebar section {
    display:inline-block;
    vertical-align:top;
	margin-left:1%
}
@media screen and (min-width:900px) {
	aside.widget-area-sidebar section {
		width:23%;
	}
}
@media screen and (min-width:460px) and (max-width:900px) {
	aside.widget-area-sidebar section {
		width:47%;
	}
}
@media screen and (max-width:460px) {
	aside.widget-area-sidebar section {
		width:280px;
		margin-left:10px;
	}
}

aside.widget-area-sidebar section ul {
    list-style-type:none;
    margin-left:0;
    padding-left:10px;
}

aside.widget-area-sidebar section ul li {
    margin-bottom:8.5px;
}

.tagcloud {
    padding-left:10px;
	text-align:justify;
    text-align-last:center;
}

.tagcloud a {
    margin-right:5px;
    vertical-align:middle;
}

/*--------------------------------------------------------------
# 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;
	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;
	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
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display:block;
}

.byline,
.updated:not(.published) {
	display:none;
}

.single .byline,
.group-blog .byline {
	display:inline;
}

.page-links {
	clear:both;
	margin:0 0 1.5em;
}

.colwrap {
	text-align:center;
}

@media screen and (min-width:600px) and (max-width:800px){
	.colwrap {
		/*-webkit-columns:2 auto;
		   -moz-columns:2 auto;
				columns:2 auto;
		column-gap:10px;*/
		padding-left:10px;
		padding-right:10px;
		/*page-break-inside:avoid;
		-webkit-column-break-inside:avoid;
		break-inside:avoid;*/
	}
	
	.colwrap > p {
		display:inline-block;
	}
}
@media screen and (min-width:800px) {
	.colwrap {
		/*-webkit-columns:3 auto;
		   -moz-columns:3 auto;
				columns:3 auto;
		column-gap:10px;*/
		padding-left:20px !important;
		padding-right:20px !important;
		/*page-break-inside:avoid;
		-webkit-column-break-inside:avoid-column;
		break-inside:avoid-column;*/
	}
	
	.colwrap.threeColMax {
		/*-webkit-columns:3 auto;
		   -moz-columns:3 auto;
				columns:3 auto;
		column-gap:50px;*/
		padding-left:30px;
		padding-right:30px;
	}
	
	.colwrap.twoColMax {
		/*-webkit-columns:2 auto;
		   -moz-columns:2 auto;
				columns:2 auto;
		column-gap:10px;*/
		max-width:1000px;
		margin:0 auto;
	}
	
	.colwrap.fourColMax {
		/*-webkit-columns:4 auto;
		   -moz-columns:4 auto;
				columns:4 auto;
		column-gap:15px;*/
		max-width:1200px;
		margin:0 auto;
	}
	
	.colwrap > p {
		display:inline-block;
	}
}

.colwrap section {
	text-align:left;
}

@media screen and (min-width:600px) and (max-width:900px) {
	.colwrap section {
		display:inline-block;
		vertical-align:top;
	}
	
	.threeColMax section {
		width:49%;
	}

	.twoColMax section {
		width:49%;
	}
}
	
@media screen and (min-width:900px) {
	.colwrap section {
		display:inline-block;
		vertical-align:top;
	}
	
	.threeColMax section {
		width:33%;
	}

	.twoColMax section {
		width:49%;
	}
}


/*.colwrap section:first-child h2:first-child, .colwrap section:first-child h3:first-child {
    margin-top:0;
}*/


.section:nth-of-type(odd) .colwrap  h3  {
	border-left:2px solid #0d4779;
}

.section:nth-of-type(even) .colwrap  h3  {
	border-left:2px solid #ffdb47;
}

/*--------------------------------------------------------------
### Posts
--------------------------------------------------------------*/
/*body.single-post .entry-content ,*/
body.single-post .entry-footer,
body.blog .entry-content ,
body.blog .entry-footer,
.site-main .comment-navigation, 
.site-main .posts-navigation .nav-links, 
.site-main .post-navigation,
.comments-area,
.shareEntry,
.post-tags {
	margin-left:auto;
	margin-right:auto;
	max-width:670px;
	padding-left:10px;
	padding-right:10px;
}

.entry-meta {
    width:100%;
    background:rgb(0,0,0);
    background:rgba(0,0,0,0.4);
    color:#fff;
	margin-left:auto;
	margin-right:auto;
	font-size:0.8rem;
	padding-bottom:5px;
}
	.entry-meta a {
		border-bottom:1px solid #ffdb47;
		color:#fff;
		text-decoration:none;
	}
	.entry-meta .posted-on {
		margin-left:5px;
	}
	
.post .entry-footer {
	margin-top:1.5rem;
}
	
.entry-footer span {
	display:inline-block;
}

.navigation.post-navigation {
    margin-top:2rem;
	margin-bottom:0;
}

.navigation.posts-navigation {
    margin-top:2rem;
	margin-bottom:-6px;
	margin-left:0;
	margin-right:0;
	padding:10px 0 16px;
	background-color:rgb(56, 68, 87);
}

	.navigation.posts-navigation a {
		color:#fff;
	}

#comments {
    /*border-top:3px solid #7681a1;*/
}

#comments > .comment-list {
	margin-left:0;
	padding-left:0;
}

.comment-content {
    border-top:1px solid #ccc;
    margin:10px 0;
    padding:0 13px 18px;
    border-bottom:1px solid #ccc;
}

.comment-meta div {
    display:inline-block;
}

.avatar.photo {
    border-radius:50%;
}

.comment-author .fn {
    font-size:1.3rem;
    margin:0 15px;
}

.comment-meta .says {
	display:none;
}

.comment-metadata {
    position:relative;
}
	.comment-metadata a {
		border-bottom:1px solid #ccc;
	}
	@media screen and (min-width:600px) {
		.comment-metadata .edit-link {
			margin-left:32px;
		}
	}
	@media screen and (max-width:600px) {
		.comment-metadata .edit-link {
			margin-left:6px;
		}
	}
		.comment-metadata .edit-link a {
			color:#7681A1;
		}

.reply {
    margin-right:15px;
    text-align:right;
}

.form-submit .submit {
	background-color:#ffdb3f;
	width:100%;
}

#comments ol  > li {
	position:relative;
	margin:0;
	padding:0; 
	list-style:none;
}

#comments ol > li:before {
	content:counter(li); /* Use the counter as content */
	counter-increment:li; /* Increment the counter by 1 */
	/* Position and style the number */
	position:relative;
	top:0;
	left:0;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	width:0;
	margin-right:0;
	padding:0;
	color:#fff;
	background:none;
	font-weight:bold;
	text-align:center;
	border-radius:0;
}

ul.shareEntry {
	list-style-type:none;
	/*margin:0;*/
	padding-top:20px;
}

	ul.shareEntry li {
		display:inline-block;
		padding:0;
		margin-left:10px;
	}
	
	ul.shareEntry li:first-of-type {
		margin-left:0;
	}

	ul.shareEntry li a {
		display:block;
		height:48px;
		width:48px;
		overflow:hidden;
		border-radius:4px;
		border-bottom:none;
		background-image:url("/wp-content/themes/factary_2017/images/socialsprites.png");
		background-size:auto 100%;
	}
	
	.shareEntry li .shareTwitter {
		background-position:0 0;
	}
	
	.shareEntry li .shareFacebook {
		background-position:-48px 0;
	}
	
	.shareEntry li .shareLinkedin {
		background-position:-144px 0;
	}
	
	.shareEntry li .shareGoogleplus {
		background-position:-96px 0;
	}
	
	
	.shareEntry li a,
	.shareEntry li a:hover {
		border-bottom:none;
	}
	.shareEntry li a span {
		position:relative;
		left:-999px;
	}
	
.post-navigation-wrapper {
	background:#222934 none repeat scroll 0 0;
    /*color:#384457;*/
    color:#fff;
    padding-bottom:1.75em;
    padding-top:1.5em;
}
	.post-navigation-wrapper a {
		color:#fff;
	}
	
.welcome {
	font-size:1.6em;
    margin:0 20px;
    font-style:italic;
    font-weight:lighter;
    letter-spacing:-1px;
    line-height:2.4rem;
    margin:0;
    padding:0.5em 0 0.77em;
    text-align:center;
}

body.category-factary-phi-newsletter div.section:first-of-type h2 {
    color:#ffdb3f !important;
}

.category-factary-phi-newsletter div.section:nth-of-type(odd) h3  {
	border-left:2px solid #0d4779;	
    color:#ffdb3f !important;
}

.category-factary-phi-newsletter div.section:nth-of-type(even) h3  {
	border-left:2px solid #ffdb47;
}

.category-factary-phi-newsletter div.section:nth-of-type(odd) h4  {
    color:#ffdb3f !important;
}

.category-factary-phi-newsletter:not(.archive) div.section:nth-of-type(odd) a  {
    color:#fff;
}

/*--------------------------------------------------------------
### Post list
--------------------------------------------------------------*/
body.blog h2.entry-title,
body.category h2.entry-title,
body.search h2.entry-title,
body.tag h2.entry-title {
	text-align:center;
	max-width:100%;
}

body.blog h2.entry-title a,
body.category h2.entry-title a,
body.search h2.entry-title a,
body.tag h2.entry-title a {
	color:#fff;
}

body.blog .section {
	padding-bottom:30px;
	min-height:50vh;
}

body.blog .section:last-of-type {
	border-bottom:none;
}

body.tag .section {
	padding:0;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap:break-word;
}

.bypostauthor {
	display:block;
}

/*--------------------------------------------------------------
## All pages
--------------------------------------------------------------*/

body {
	background-attachment:fixed;
    background-position:center center;
    background-repeat:no-repeat;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
}
body:not(.group-blog) {
    background-color:#384457;
}

@media screen and (min-width:600px) {
	body:not(.scroll):not(.tag):not(.category):not(.author):not(.search) article:first-of-type .entry-header,
	body:not(.scroll):not(.tag) article:first-of-type .page-header,
	body:not(.scroll) main.site-main .page-header {
		/*margin-top:102px;*/
	}
	
	body.tag:not(.scroll) article .entry-header {
		margin-top:0;
	}
	
	
	body.home:not(.scroll) article:first-of-type .entry-header,
	body.home:not(.scroll) article:first-of-type .page-header {
		/*margin-top:102px;*/
	}
}

body.blog .entr-header {
    margin-top:0 !important;
}

.site-content {
	background:#fff; /* Old browsers */
	background:-moz-linear-gradient(top,  #384457 160px, #ffffff 160px); /* FF3.6-15 */
	background:-webkit-linear-gradient(top,  #384457 160px,#ffffff 160px); /* Chrome10-25,Safari5.1-6 */
	background:linear-gradient(to bottom,  #384457 160px,#ffffff 160px); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#384457', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

div.clear {
	height:0;
}

.scroll div.clear {
	height:78px;
}

@media screen  and (max-width:440px) {
	div.clear {
		height:102px;
	}
}

@media screen  and (min-width:440px) and (max-width:500px) {
	div.clear {
		height:121px;
	}
}

@media screen and (min-width:500px) and (max-width:600px) {
	div.clear {
		height:127px;
	}
}

@media screen and (min-width:600px) and (max-width:720px) {
	div.clear {
		height:102px;
	}
}

@media screen and (min-width:720px) and (max-width:1100px) {
	div.clear {
		height:102px;
	}
}

@media screen and (min-width:1100px) {
	div.clear {
		height:131px;
	}
}




h1.site-title,
h1.site-title a {
	display:block;
	width:100%;
	height:100%;
	margin:0;
	font-size:0;
}

h1.site-title a img {
	width:auto;
	max-height:100%;
}

p.site-info-header {
	/*margin:0;*/
    text-align:right;
    margin:0 10px 10px 0;
	position:relative;
	top:0;
	transition:all 1s ease;
}

.scroll p.site-info-header {
	/*display:none;*/
	margin-bottom:-24px;
    top:-30px;
}

.site-description {
    color:#0d4779;
    font-size:0.8em;
	transition:all 1s ease;
	visibility:visible;
	opacity:1;
	height:100%;
	max-height:20px;
	border-right:1px dotted #7681a1;
	padding-right:9px;
}

@media screen and (max-width:600px) { 
	.site-description {
		border-right:none;
	}
}
@media screen and (max-width:440px) { 
	.site-description {
		display:block;
		position:fixed;
		bottom:0;
		background:#fff;
		max-height:45px;
		width:100%;
		padding:5px 0;
	}
	
	body.scroll .site-description {
		bottom:-45px;
	}
}
@media screen and (max-width:600px) {
	p.site-info-header {
		width:100%;
		text-align:center;
		margin-bottom:5px;
	}
}

#catapult-cookie-bar {
    font-size:0.8em;
	text-align:justify;
    -moz-text-align-last:center;
    text-align-last:center;
	opacity:0.9;
}

#catapultCookie {
	background:#79ad7f url("/wp-content/themes/factary_2017/images/menutick.png") no-repeat scroll center center / 60% auto !important;
    border:0 none;
    border-radius:50% !important;
    color:#fefefe;
    display:inline-block;
    font-size:0.8rem;
    font-weight:normal;
    height:30px;
    overflow:hidden;
    width:30px;
	transition:all 1s ease;
}
	#catapultCookie:hover {
		background:#45ae52 url("/wp-content/themes/factary_2017/images/menutick.png") no-repeat scroll center center / 70% auto !important;
	}

h1.entry-title {
	background-attachment:fixed;
    background-position:center center;
    background-repeat:no-repeat;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
}

.entry-header,.page-header {
	background-color:rgb(56, 68, 87);
	background-attachment:fixed;
    background-position:center center;
    background-repeat:no-repeat;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
}

.section h1 {
	padding-left:10px;
	padding-right:10px;
}

.section h2,
.section h3,
.section h4,
.section h5,
.section h6,
.section p,
.section blockquote,
.section li,
.section > img,
.section table,
.section form {
	margin-left:auto;
	margin-right:auto;
	max-width:670px;
	padding-left:10px;
	padding-right:10px;
}

.section h2 {
	margin-top:0;
	padding-top:20px;
}

.section > img,
.section > table,
.section > form {
	width:calc(100vw - 40px);
}

.section table {
	border-collapse:collapse;
    border-spacing:0;
    color:#384457;
	background:rgb(246, 246, 246);
	background:rgba(246, 246, 246, 0.75);
}
	.section table tr {
		border-bottom:1px dotted #fff;
	}
		.section tr:nth-of-type(2n) {
			background:rgb(246, 246, 246) none repeat scroll 0 0;
			background:rgba(246, 246, 246, 0.25) none repeat scroll 0 0;
		}
		.section table tr:first-of-type,
		.section table tr:last-of-type {
			border-bottom:none;
		}
	.section table th {
		background:#496585 none repeat scroll 0 0;
		color:#fff;
		padding:10px;
	}
	.section table td {
		padding:10px;
		font-size:0.85rem;
	}

.responsiveTable {
	vertical-align:top;
	max-width:100%;  
	overflow-x:auto;
	white-space:nowrap;
	border-collapse:collapse;
	border-spacing:0;
}

@media screen and (max-width:600px) {
	.responsiveTable {
		display:inline-block;
	}
}

.responsiveTable,
.responsiveTable--flip tbody {
	background:radial-gradient(left, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 0 center,
			  radial-gradient(right, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 100% center;
	background-size:10px 100%, 10px 100%;
	background-attachment:scroll, scroll;
	background-repeat:no-repeat;
}

.responsiveTable td:first-child,
.responsiveTable--flip tbody tr:first-child {
	background-image:linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
	background-repeat:no-repeat;
	background-size:20px 100%;
}

.responsiveTable td:last-child,
.responsiveTable--flip tbody tr:last-child {
	background-image:linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
	background-repeat:no-repeat;
	background-position:100% 0;
	background-size:20px 100%;
}

.responsiveTable th {
	font-size:11px;
	text-align:left;
	text-transform:uppercase;
	background:#f2f0e6;
}

.responsiveTable th,
.responsiveTable td {
	padding:6px 12px;
	border:1px solid #d9d7ce;
}

.responsiveTable--flip {
	display:flex;
	overflow:hidden;
	background:none;
}

.responsiveTable--flip thead {
	display:flex;
	flex-shrink:0;
	min-width:min-content;
}

.responsiveTable--flip tbody {
	display:flex;
	position:relative;
	overflow-x:auto;
	overflow-y:hidden;
}

.responsiveTable--flip tr {
	display:flex;
	flex-direction:column;
	min-width:min-content;
	flex-shrink:0;
}

.responsiveTable--flip td,
.responsiveTable--flip th {
	display:block;
}

.responsiveTable--flip td {
	background-image:none !important;
	border-left:0;
}

.responsiveTable--flip th:not(:last-child),
.responsiveTable--flip td:not(:last-child) {
	border-bottom:0;
}

.section blockquote {
	padding-left:10px;
	padding-right:10px;
}
@media screen and (max-width:600px) {
	.section blockquote {
		margin-left:10px;
		margin-right:10px;
	}
}

.section ul.circles {
	padding:0;
	margin:0 0 60px;
	text-align:center;
	width:100%;
	max-width:100%;
}
		
	.section ul.circles li {
		background-color:#0d4779;
		border-radius:50%;
		color:#fff;
		display:inline-block;
		overflow:hidden;
		height:23vw;
		width:23vw;
		text-align:left;
		min-height:300px;
		min-width:300px;
		vertical-align:top;
		position:relative;
		margin-bottom:5px;
	}
	
	.section ul.circles.halfSize li {
		height:12vw;
		width:12vw;
		min-height:150px;
		min-width:150px;
	}
	
	.section ul.circles.halfSize  li h2, .section ul.circles.halfSize  li h3 {
		padding:0;
	}
	
	.section ul li.item {
		display:inline-block;
		overflow:hidden;
		height:23vw;
		width:23vw;
		text-align:left;
		min-height:300px;
		min-width:300px;
		vertical-align:top;
		position:relative;
		margin-bottom:5px;
		padding:0;
	}
	
	.section ul li.item:not(:first-child) {
		margin-left:5px;
	}

		.section ul.circles li a {
			bottom:0;
			left:0;
			right:0;
			top:0;
			text-decoration:none;
			border:none;
		}
		
		.section ul.circles h3 {
			color:#ffdb3f;		
		}
		
		.section ul.circles li a .slideDesc {
			color:#fff;
		}

		@media screen and (min-width:600px) {
			.section ul.circles li a {
				position:absolute;
			}
			
			.section ul.circles li h2,
			.section ul.circles li h3 {
				letter-spacing:-2px;
				margin:0;
				padding:0 40px;
				position:absolute;
				text-align:center;
				top:50%;
				transform:translate(0px, -56%);
				width:100%;
			}	
			
			.section ul.circles li h3 {
				font-size:2.5rem;
				line-height:2.3rem;
			}
			
			.section ul.circles li h2 {
				font-size:2.7rem;
				line-height:2.6rem;
				color:#ffdb3f !important;
			}
				
			.section ul.circles li a .slideDesc {
				background-color:rgba(6, 36, 60, 0.95);
				bottom:0;					
				font-size:1.1rem;
				left:0;
				line-height:1.6rem;
				padding:37% 10% 0;
				position:absolute;
				right:0;
				text-align:center;
				top:100%;
				transition:all 1s ease;
				opacity:0;
			}			
				.section ul.circles li a:hover .slideDesc {
					top:0;
					opacity:1;
				}
		}

		@media screen and (max-width:600px) {
			.section ul.circles li {
				border-radius:5px;
				height:auto;
				margin-bottom:5px;
				min-height:10px;
				min-width:150px;
				width:85%;
			}
			
			.section ul.circles li h3 {
				font-size:1.5rem;
				letter-spacing:-1px;
				line-height:1.4rem;
				margin:10px 10px 5px;
			}
			
			.section ul.circles li span.slideDesc {
				margin:5px 10px 12px;
				display:inline-block;
			}
		}	

.section {
	margin:0;
    background-attachment:fixed;
    background-position:center center;
    background-repeat:no-repeat;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
	padding:0 0 10px;
}
@media screen and (min-width:600px) {
	body:not(.category-factary-phi-newsletter) .section {
		min-height:calc(100vh - 70px);
	}
	
	body.category-factary-phi-newsletter .section {
		min-height:calc(60vh - 70px);
	}
}
@media screen and (max-width:600px) {
	.section {
		min-height:calc(70vh - 70px);
	}
}

body:not(.single-post):not(.blog) .section:last-of-type {
	margin-bottom:-5px;
}
body:not(.single-post):not(.blog):not(.tag):not(.category) .section:nth-of-type(odd),
body.category-factary-phi-newsletter:not(.archive) .section:nth-of-type(odd) {
	background-color:rgb(56, 68, 87);
	color:#fff;
}
.section:nth-of-type(2n),
.section.white{
	background-color:rgb(256,256,256);
	color:#1d2735 !important;	
    border-top:1px solid #1d2735;
    border-bottom:1px solid #1d2735;
}
.section  > h2 {
    font-size:2.4rem;
    font-style:italic;
    font-weight:lighter;
    letter-spacing:-2px;
    margin-bottom:20px;
    text-align:center;
	line-height:2.6rem;
}
div.section:nth-of-type(odd)  h2,
div.section:nth-of-type(odd)  h3,
div.section:nth-of-type(odd)  h4,
div.section:nth-of-type(odd)  h5,
div.section:nth-of-type(odd)  h6 {
	color:#ffdb3f;
}
body.blog div.section:nth-of-type(odd)  h2,
body.blog div.section:nth-of-type(odd)  h3,
body.blog div.section:nth-of-type(odd)  h4,
body.blog div.section:nth-of-type(odd)  h5,
body.blog div.section:nth-of-type(odd)  h6,
body.single-post div.section:nth-of-type(odd)  h2,
body.single-post div.section:nth-of-type(odd)  h3,
body.single-post div.section:nth-of-type(odd)  h4,
body.single-post div.section:nth-of-type(odd)  h5,
body.single-post div.section:nth-of-type(odd)  h6 {
	color:#0D4779;
}
div.section:nth-of-type(2n) h2,
div.section:nth-of-type(2n) h3,
div.section:nth-of-type(2n) h4,
div.section:nth-of-type(2n) h5,
div.section:nth-of-type(2n) h6,
div.section.white  h2,
div.section.white  h3,
div.section.white  h4,
div.section.white  h5,
div.section.white  h6 {
	color:#0D4779;
}
div.section:nth-of-type(2n) ul.circles h2,
div.section:nth-of-type(2n) ul.circles h3,
div.section:nth-of-type(2n) ul.circles h4,
div.section:nth-of-type(2n) ul.circles h5,
div.section:nth-of-type(2n) ul.circles h6 {
	color:#ffdb3f;
}
	@media screen and (max-width:600px) {
		div.section  > h2 {
			font-size:2rem;
			line-height:2.2rem;
			margin:0 0 36px;
		}
	}

body:not(.single-post):not(.blog):not(.tag):not(.archive) .section:nth-of-type(odd) a {
	color:#fff;
}
body:not(.single-post):not(.blog):not(.tag):not(.page-faq) .section:nth-of-type(even) a {
	color:#1d2735;
}
body:not(.single-post):not(.blog):not(.tag):not(.page-faq) .section:nth-of-type(even) h2 a,
body:not(.single-post):not(.blog):not(.tag):not(.page-faq) .section:nth-of-type(even) .entry-meta a {
	color:#fff;
}
	
.item a .centerDesc {
    color:#fff;
    display:block;
    height:70px;
    left:0;
    margin-top:-35px;
    overflow:visible;
    position:absolute;
    text-align:center;
    top:50%;
    width:100%;
}
	.item a .centerDesc:first-line {
		color:#ffdb3f;
	}
	@media screen and (max-width:600px) {
		.item a .centerDesc {
			position:relative;
			text-align:left;
			padding:5px 5px 10px;
			top:0;
			margin-top:0;
			height:auto;
		}
	}
	
body:not(.post) .entry-footer {
    font-size:0;
    line-height:0;
    padding:0;
}

.hashAnchor {
	position:relative;
	top:-200px;
}

/*--------------------------------------------------------------
### Frontpage
--------------------------------------------------------------*/
body.home {
    background-image:url("/wp-content/themes/factary_2017/images/suspension_bridge.jpg");
}
body.home .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/suspension_bridge.jpg");
}
body.home .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/suspension_bridge.jpg");
}
body.home .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/suspension_bridge_white.jpg");
}
	
body.home header.entry-header {
	height:calc(100vh);
	display:block;
	position:relative;
}
@media screen and (max-width:500px) {
	body.home header.entry-header {
		height:calc(60vh);
	}
}

body.home h1.entry-title {
	margin:0 20px;
    font-size:2em;
}

@media screen and (min-width:600px) {
	body.home h1.entry-title {
		position:absolute;
		top:50%;
		transform:translate(0,-90%);
	}
}
	@media screen and (min-width:500px) and (max-width:800px) {
		body.home h1.entry-title {
			margin-top:30px;
		}
	}
@media screen and (max-width:500px) {
	body.home h1.entry-title {
		font-size:1.4em;
		line-height:1.6em;
	}
}


body.home p.frontPageDownArrow {
	display:none;
}

@media screen and (min-width:600px) and (min-height:450px) {
	body.home p.frontPageDownArrow {
		display:block;
		height:77px;
		margin:0 auto;
		padding:0;
		text-align:center;
		width:77px;
	}

	body.home p.frontPageDownArrow span, 
	body.home p.frontPageDownArrow a {
		display:block;
		height:100%;
		width:100%;
	}

	/*body.home p.frontPageDownArrow span {
		position:relative;
		top:5px;
	}*/
	
	p.frontPageDownArrow .fa-chevron-down span {
		font-size:1rem;
		opacity:0;
		position:absolute;
		text-align:center;
		top:0;
		transition:all 1s ease;
	}
	
	p.frontPageDownArrow:hover .fa-chevron-down span {
		opacity:1;
		top:-30px;
	}
}
@media screen and (min-width:600px) and (max-width:900px) {
	body.home p.frontPageDownArrow {
		bottom:10px;
		left:10px;
		position:absolute;
	}
}
@media screen and (min-width:900px) {
	body.home p.frontPageDownArrow {
		bottom:10px;
		left:calc(50% - 38.5px);
		position:absolute;
		opacity:0.8;
	}
}

/*--------------------------------------------------------------
### What We Do
--------------------------------------------------------------*/
body.page-what-we-do {
    background-image:url("/wp-content/themes/factary_2017/images/puzzle.jpg");
}
body.page-what-we-do .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/puzzle.jpg");
}
body.page-what-we-do .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/puzzle.jpg");
}
body.page-what-we-do .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/puzzle-white.jpg");
}

.parent-what-we-do .section:first-of-type > p:first-child ,
.page-what-is-prospect-research .section:first-of-type > p:first-child {
    font-size:1.5rem;
    font-style:italic;
    font-weight:lighter;
    text-align:center;
}

body.page-what-we-do section h3 + p {
	font-size:1.225rem;
    line-height:1.8rem;
    text-align:left;
    font-style:italic;
    font-weight:lighter;
}

/*body.page-what-we-do .section:not(:first-of-type) a::after {
    background:#0d4779 none repeat scroll 0 0;
    border-bottom:medium none;
    border-radius:50%;
    color:#fff;
    content:"»";
    display:inline;
    height:16px;
    margin-left:6px;
    padding:0 9px 3px;
    width:0;
}*/

/*--------------------------------------------------------------
#### Data Screening
--------------------------------------------------------------*/
body.page-database-screening {
    background-image:url("/wp-content/themes/factary_2017/images/binoculars.jpg");
}
body.page-database-screening .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/binoculars.jpg");
}
body.page-database-screening .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/binoculars.jpg");
}
body.page-database-screening .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/binoculars-white.jpg");
}

/*--------------------------------------------------------------
#### Prospect Profiling
--------------------------------------------------------------*/
body.page-prospect-profiling {
    background-image:url("/wp-content/themes/factary_2017/images/hot-air-balloons.jpg");
}
body.page-prospect-profiling .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/hot-air-balloons.jpg");
}
body.page-prospect-profiling .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/hot-air-balloons.jpg");
}
body.page-prospect-profiling .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/hot-air-balloons-white.jpg");
}


/*--------------------------------------------------------------
#### New Trust Update
--------------------------------------------------------------*/
body.page-new-trust-update {
    background-image:url("/wp-content/themes/factary_2017/images/library.jpg");
}
body.page-new-trust-update .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/library.jpg");
}
body.page-new-trust-update .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/library.jpg");
}
body.page-new-trust-update .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/library-white.jpg");
}

/*--------------------------------------------------------------
#### New Prospects Report
--------------------------------------------------------------*/
body.page-new-prospects-research {
    background-image:url("/wp-content/themes/factary_2017/images/balloon-inside.jpg");
}
body.page-new-prospects-research .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/balloon-inside.jpg");
}
body.page-new-prospects-research .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/balloon-inside.jpg");
}
body.page-new-prospects-research .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/balloon-inside-white.jpg");
}

/*--------------------------------------------------------------
#### Consultancy & Training
--------------------------------------------------------------*/
body.page-consultancy-training {
    background-image:url("/wp-content/themes/factary_2017/images/handshake.png");
}
body.page-consultancy-training .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/handshake.png");
}
body.page-consultancy-training .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/handshake.png");
}
body.page-consultancy-training .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/handshake-white.png");
}

/*--------------------------------------------------------------
#### Interim Researcher
--------------------------------------------------------------*/
body.page-interim-prospect-researcher {
    background-image:url("/wp-content/themes/factary_2017/images/working-computer.jpg");
}
body.page-interim-prospect-researcher .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/working-computer.jpg");
}
body.page-interim-prospect-researcher .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/working-computer.jpg");
}
body.page-interim-prospect-researcher .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/working-computer-white.jpg");
}

/*--------------------------------------------------------------
#### Factary Phi
--------------------------------------------------------------*/
body.page-phi-donations-database {
    background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.page-phi-donations-database .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.page-phi-donations-database .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.page-phi-donations-database .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/open-book-white.jpg");
}

/*--------------------------------------------------------------
#### Reputational Analysis
--------------------------------------------------------------*/
body.page-reputational-analysis {
    background-image:url("/wp-content/themes/factary_2017/images/office-building.jpg");
}
body.page-reputational-analysis .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/office-building.jpg");
}
body.page-reputational-analysis .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/office-building.jpg");
}
body.page-reputational-analysis .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/office-building-white.jpg");
}

/*--------------------------------------------------------------
#### Factary Atom
--------------------------------------------------------------*/
body.page-atom-network-mapping {
    background-image:url("/wp-content/themes/factary_2017/images/office-building.jpg");
}
body.page-atom-network-mapping .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/office-building.jpg");
}
body.page-atom-network-mapping .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/office-building.jpg");
}
body.page-atom-network-mapping .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/office-building-white.jpg");
}

/*--------------------------------------------------------------
#### GDPR
--------------------------------------------------------------*/
body.page-gdpr-resources {
    background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.page-gdpr-resources .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.page-gdpr-resources .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.page-gdpr-resources .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/open-book-white.jpg");
}
li.item .source, li.item  .resource {
    position:absolute;
    text-align:center;
    top:50%;
    width:100%;
}
li.item  .source {
    transform:translate(0,-77%);
}

li.item  .resource {
    font-style:italic;
}

li.item .summary {
	display:block;
	margin-bottom:10px;
}

body.page-gdpr-resources .section ul.circle li.item a {
	color:#ffdb3f;
}

.GDPRFactaryResources li {
	display:inline-block;
	margin-bottom:25px;
    /*background-color:#0d4779;
    border-radius:50%;
    display:inline-block;
    width:49%;
    display:inline-block;
    width:50%;
    vertical-align:top;
    height:23vw;
    width:23vw;
    min-height:300px;
    min-width:300px;
    overflow:hidden;
    padding:31px;*/
}

/*--------------------------------------------------------------
### About
--------------------------------------------------------------*/
body.parent-about-us {
    background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.parent-about-us .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.parent-about-us .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/open-book.jpg");
}
body.parent-about-us .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/open-book-white.jpg");
}

/*--------------------------------------------------------------
#### Team
--------------------------------------------------------------*/
.page-team img {
	margin-right:10px;
    width:160px;
}

/*--------------------------------------------------------------
#### Terms of Business
--------------------------------------------------------------*/

body.page-terms-of-business ol,
.terms-of-business ol {
  list-style-type:none;
  counter-reset:item;
  margin:0 0 0 5px;
  padding:0;
}

body.page-terms-of-business .section > ol,
.terms-of-business > ol {
  /*margin-left:50px;*/
  margin:0 auto;
  padding-left:45px;
}

body.page-terms-of-business ol > li,
.terms-of-business ol > li {
  display:table;
  counter-increment:item;
  margin-bottom:0.6em;
}

body.page-terms-of-business ol > li:before,
.terms-of-business ol > li:before {
  content:counters(item, ".") ". ";
  display:table-cell;
  padding-right:0.6em;
  background:none;
  left:-2.5em;
}

body.page-terms-of-business li ol > li,
.terms-of-business li ol > li {
  margin:0;
}

body.page-terms-of-business li ol > li:before,
.terms-of-business li ol > li:before {
  content:counters(item, ".") " ";
}

.noBullet > li {
    list-style-type:none;
    margin-left:-64px;
}

/*--------------------------------------------------------------
### FAQ
--------------------------------------------------------------*/

body.page-faq {
    background-image:url("/wp-content/themes/factary_2017/images/question.jpg");
}
body.page-faq .entry-header {
    background-image:url("/wp-content/themes/factary_2017/images/question.jpg");
}
body.page-faq .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/question.jpg");
}
body.page-faq .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/question-white.jpg");
}

body.page-faq ul {
	padding:0;
}

body.page-faq li.question {
	background:#06243c none repeat scroll 0 0;
    border-radius:18px;
    list-style-type:none;
    margin-bottom:10px;
    padding:6px 13px 9px;
    width:100%;
}
	body.page-faq li.question a {
		color:#fff;
	}

body.page-faq li.question .answer {
	max-height:0;
	height:auto;
	transition:all 1s ease;
	overflow:hidden;
	margin-top:5px;
}

body.page-faq li.question.active .answer {
	max-height:1000px;
}

body.page-faq .section:nth-of-type(2n+1) li.question, /*overrides link colouring for even numbered sections*/
body.page-faq .section:nth-of-type(2n+1) li.question a { /*overrides link colouring for even numbered sections*/
	color:#fff;
}

.toggleAll {
    background-color:#06243c;
    border-bottom:medium none;
    border-radius:18px;
    display:block;
    margin:0 auto;
    padding:10px;
    text-align:center;
    width:158px;
	transition:all 1s ease;
}
.toggleAll:hover,
.toggleAll:focus,
.toggleAll:active {
    border:5px solid #ffdb47;
}

/*--------------------------------------------------------------
### Contact page
--------------------------------------------------------------*/

body.parent-contact-us {
    background-image:url("/wp-content/themes/factary_2017/images/hands-holding-jigsaw.jpg");
}
body.parent-contact-us .entry-header {
	background-image:url("/wp-content/themes/factary_2017/images/hands-holding-jigsaw.jpg");
}
body.parent-contact-us .section:nth-of-type(odd) {
	background-image:url("/wp-content/themes/factary_2017/images/hands-holding-jigsaw.jpg");
}
body.parent-contact-us .section:nth-of-type(2n)  {
	background-color:rgb(256,256,256);
	background-image:url("/wp-content/themes/factary_2017/images/hands-holding-jigsaw-white.jpg");
}

body.parent-contact-us .item a .centerDesc strong {
		color:#ffdb3f;
	}

/*--------------------------------------------------------------
#### Contact form
--------------------------------------------------------------*/
.wpcf7-form {
    margin:0 auto;
    max-width:600px;
    min-width:300px;
    width:80%;
}

.wpcf7-form span:not(.your-message) {
	float:right;
}

.wpcf7-form .wpcf7-submit {
	background-color:#ffdb3f;
}

.wpcf7-response-output {
    margin:2em 0.5em 1em;
    padding:0.2em 1em;
    position:fixed;
    bottom:10%;
    background-color:#777;
    border-radius:10px;
    z-index:9999999;
    min-width:320px;
    text-align:center;
    width:50%;
}

/*--------------------------------------------------------------
# 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:0.8075em 0;
}

.wp-caption-text {
	text-align:center;
}
.wp-caption .wp-caption-text {
    font-size: 0.8rem;
    font-style: italic;
}

/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
# New styles (Factary Europe page)
--------------------------------------------------------------*/

body.page-europe .section h2 {
	margin-top: 60px;
	padding: 0;
	margin-bottom: 0;
}

body.page-europe .sectionRow {
	display: flex;
	height: calc(100vh - 70px - ( 2.6rem + 20px + 20px ) );
	justify-content: center;
}

body.page-europe .sectionCol {
	width: 80%;
	display: flex;
}

body.page-europe .section:nth-of-type(2n) .sectionCol {
	flex-direction: row-reverse;
}

body.page-europe .imageWrapper, body.page-europe .textWrapper {
	width: calc(50% - 20px);
	display: grid;
	/* flex: 1 1 150px; */
	place-items: center;
}

body.page-europe .textWrapper {
    flex-grow: 2;
}

body.page-europe .imageWrapper {
	height: 50%;
	margin: 80px;
    flex-grow: 1;
}

body.page-europe .image {
	aspect-ratio: 1 / 1;
	width: 80%;
	border-radius: 50%;
	background-color: rgba(0,0,0,.2);
}

body.page-europe .section.bio .image {
	background-image: url('https://factary.com/images/theteam/martine_godefroid_europe.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 0 calc(50% + 67px);
}

body.page-europe .section.contact .textWrapper {
	width: calc(100% - 20px);
}

body.page-europe .section.contact .wpcf7-form, body.page-europe .section form {
	width: calc(100%);
	max-width: 100%;
	padding: 0px;
	margin: 0px;
}

body.page-europe .section.contact .sectionCol {
	width: 100%;
	display: block;
}
