
/*
Theme Name: Steve Spangler
Author: Glass Mountains Digital
Version: 1.0
*/


* {
vertical-align: baseline;
border: 0 none;
outline: 0;
padding: 0;
margin: 0;
}
body {
font-family: 'Lato', sans-serif;
font-size: 1.05em;
font-weight: 400;
color: #1e1e1e;
background: #fff;
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
}
body.noscroll {
overflow: hidden;
}


/* Color theme 
....................................................................... */
.has-accent-one-color,
.wp-block-button__link.has-accent-one-color {
color: #ff8a3d;
}
.has-accent-one-background-color,
.wp-block-button__link.has-accent-one-background-color {
background-color: #ff8a3d;
}
.has-accent-two-color,
.wp-block-button__link.has-accent-two-color {
color: #3d9cd2;
}
.has-accent-two-background-color,
.wp-block-button__link.has-accent-two-background-color {
background-color: #3d9cd2;
}
.has-dark-color,
.wp-block-button__link.has-dark-color {
color: #333;
}
.has-dark-background-color,
.wp-block-button__link.has-dark-background-color {
background-color: #333;
}
.has-medium-color,
.wp-block-button__link.has-medium-color {
color: #666;
}
.has-medium-background-color,
.wp-block-button__link.has-medium-background-color {
background-color: #666;
}
.has-light-color,
.wp-block-button__link.has-light-color {
color: #999;
}
.has-light-background-color,
.wp-block-button__link.has-light-background-color {
background-color: #999;
}
.has-very-light-color,
.wp-block-button__link.has-very-light-color {
color: #e6e6e6;
}
.has-very-light-background-color,
.wp-block-button__link.has-very-light-background-color {
background-color: #e6e6e6;
}
.has-ultra-light-color,
.wp-block-button__link.has-ultra-light-color {
color: #f7f7f7;
}
.has-ultra-light-background-color,
.wp-block-button__link.has-ultra-light-background-color {
background-color: #f7f7f7;
}
.has-black-color,
.wp-block-button__link.has-black-color {
color: #1e1e1e;
}
.has-black-background-color,
.wp-block-button__link.has-black-background-color {
background-color: #1e1e1e;
}
.has-white-color,
.wp-block-button__link.has-white-color {
color: #fff;
}
.has-white-background-color,
.wp-block-button__link.has-white-background-color {
background-color: #fff;
}


/* Canvas layout
....................................................................... */
#site-wrapper {
overflow: hidden;
width: 100%;
}
#site-canvas {
clear: both;
float: left;
width: 100%;
height: 100%;
-webkit-transform: translateX(0);
transform: translateX(0);
-o-transform: translateX(0);
-ms-transform: translateX(0);
-webkit-transition: .3s ease all;
transition: .3s ease all;
-ms-transition: .3s ease all;
}
#site-left {
float: left;
width: 300px;
height: auto;
position: absolute;
top: 0;
left: -301px;
border-right: 1px solid #e5e5e5;
background: #fff;
overflow: hidden;
overflow-y: auto;
}

@media screen and (max-width: 1023px) {
	#site-wrapper.show-left #site-canvas {
	-webkit-transform: translateX(300px);
	transform: translateX(300px);
	-o-transform: translateX(300px);
	-ms-transform: translateX(300px);
	box-shadow: inset 0 -10px 10px rgba(0,0,0,0.25);
	position: fixed;
	}
	#site-wrapper.show-left #site-canvas-switchoff {
	opacity: 0.15;
	pointer-events: none;
	-webkit-transition: .3s ease all;
	transition: .3s ease all;
	-ms-transition: .3s ease all;
	}
}


/* Container / Column Layout
....................................................................... */
.page-wrap_contact {
float: left;
width: 100%;
background: #1e1e1e;
padding: 5px 0;
margin: 0;
}
.page-wrap_header {
position: relative;
clear: both;
float: left;
width: 100%;
z-index: 11;
}
.page-wrap_hero {
position: relative;
clear: both;
float: left;
width: 100%;
background-position: 50% 25%;
background-repeat: no-repeat;
background-size: cover;
z-index: 10;
overflow: hidden;
}
.page-wrap_hero.align_left {
background-position: 0 25%;
}
.page-wrap_hero.align_right {
background-position: 100% 25%;
}
.page-wrap_content {
position: relative;
clear: both;
float: left;
width: 100%;
padding: 40px 0;
}
body.page-template-_homepage .page-wrap_content {
padding-bottom: 0;
}
/* When page header is disabled */
.page-wrap_header + .page-wrap_content {
padding-top: 0;
}
.page-wrap_footer {
clear: both;
float: left;
width: 100%;
color: #aaa;
background: #1e1e1e;
}
.center {
clear: both;
width: 92%;
max-width: 1300px;
margin: 0 auto;
}

.row:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.row {
display: inline-block;
}
html[xmlns] .row {
display: block;
}
* html .row {
height: 1%;
}
.span1 {
float: left;
width: 5.125%;
margin: 0 3.5% 0.75em 0;
}
.span2 {
float: left;
width: 13.75%;
margin: 0 3.5% 0.75em 0;
}
.span3 {
float: left;
width: 22.375%;
margin: 0 3.5% 0.75em 0;
}
.span4 {
float: left;
width: 31%;
margin: 0 3.5% 0.75em 0;
}
.span5 {
float: left;
width: 39.625%;
margin: 0 3.5% 0.75em 0;
}
.span6 {
float: left;
width: 48.25%;
margin: 0 3.5% 0.75em 0;
}
.span7 {
float: left;
width: 56.875%;
margin: 0 3.5% 0.75em 0;
}
.span8 {
float: left;
width: 65.5%;
margin: 0 3.5% 0.75em 0;
}
.span9 {
float: left;
width: 74.125%;
margin: 0 3.5% 0.75em 0;
}
.span10 {
float: left;
width: 82.75%;
margin: 0 3.5% 0.75em 0;
}
.span11 {
float: left;
width: 91.375%;
margin: 0 3.5% 0.75em 0;
}
.span12 {
float: left;
width: 100%;
margin: 0 0 0.75em 0;
}
.span1.last,
.span2.last,
.span3.last,
.span4.last,
.span5.last,
.span6.last,
.span7.last,
.span8.last,
.span9.last,
.span10.last,
.span11.last {
margin: 0;
}

@media screen and (max-width: 1023px) {
	.page-wrap_content {
	padding-bottom: 20px;
	}
	.span1,
	.span2,
	.span3,
	.span4,
	.span5,
	.span6,
	.span7,
	.span8,
	.span9,
	.span10,
	.span11,
	.span12 {
	float: none;
	clear: both;
	width: 100%;
	margin-right: 0;
	}
}


/* Globals
....................................................................... */
p {
line-height: 1.75em;
margin: 0 0 1.1em 0;
word-wrap: break-word;
}
pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
line-height: 1.5em;
padding: 0.5em 0 0 0;
margin: 0 0 1.5em 0;
}
a {
color: #ff8a3d;
transition: all 0.2s;
}
a:hover {
color: #1e1e1e;
}
h1 {
font-size: 2.75em;
font-weight: 300;
line-height: 1.2em;
letter-spacing: -0.025em;
margin: 0 0 0.35em 0;
}
h2 {
color: #ff8a3d;
font-size: 1.75em;
font-weight: 300;
line-height: 1.2em;
letter-spacing: -0.025em;
margin: 0 0 0.6em 0;
}
h2.oversize {
font-size: 2.75em;
font-weight: 300;
line-height: 1.2em;
letter-spacing: -0.025em;
margin: 0 0 0.35em 0;
}
h3 {
font-size: 1.45em;
font-weight: 300;
line-height: 1.3em;
letter-spacing: -0.015em;
margin: 0 0 0.65em 0;
}
h4 {
color: #ff8a3d;
font-size: 1.2em;
font-weight: 400;
line-height: 1.3em;
letter-spacing: 0.025em;
margin: 0 0 0.75em 0;
}
h5 {
font-size: 0.95em;
font-weight: 400;
line-height: 1.3em;
letter-spacing: 0.025em;
margin: 0 0 0.75em 0;
}
strong {
font-weight: 700;
}
img:not(.wp-block-cover__image-background) {
max-width: 100%;
height: auto !important;
}
img, img a {
border: 0;
text-decoration: none;
}
ol {
margin: 0 0 0.75em 25px;
}
ol li {
margin: auto;
line-height: 1.6em;
padding: 0 0 0.75em 5px;
margin-left: 0;
}
ul:not(.blocks-gallery-grid) {
padding: 0;
margin: 0 0 0.75em 10px;
list-style: none;
}
ul:not(.blocks-gallery-grid) li {
position: relative;
margin: auto;
list-style: none;
line-height: 1.6em;
padding: 0 0 0.5em 15px;
margin: 0 0 0 0;
}
ul:not(.blocks-gallery-grid) li:before {
position: absolute;
top: 0;
left: 0;
font-family: "Font Awesome 5 Free";
content: '\f111';
font-weight: 900;
font-size: 6px;
color: #1e1e1e;
}
ul.tick:not(.blocks-gallery-grid) li {
padding-left: 25px;
}
ul.tick:not(.blocks-gallery-grid) li:before,
ul.check:not(.blocks-gallery-grid) li:before {
content: '\f00c';
font-size: 16px;
color: #ff8a3d;
}
ul.big:not(.blocks-gallery-grid) li {
font-size: 1.33rem;
}
li ul:not(.blocks-gallery-grid) {
margin: 0.75em 0 0 0;
}
li ul:not(.blocks-gallery-grid) li:last-child {
padding-bottom: 0.25em;	
}
hr {
clear: both;
border: 0;
border-bottom: 1px solid #e5e5e5;
background: transparent;
height: 1px;
padding: 5px 0 0 0;
margin: 0 0 25px 0;
}
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clearfix {
display: inline-block;
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}
.clear {
clear: both;
}
.floatleft {
float: left;
}
.floatright {
float: right;
}
.textleft {
text-align: left;
}
.textcenter {
text-align: center;
}
.textright {
text-align: right;
}
.small {
font-size: 0.8em;
}
.nomargin {
margin: 0;
}
.hidden {
position: absolute;
top: -9999px;
left: -9999px;
}
.uppercase {
text-transform: uppercase;
}
i {
display: inline-block;
font-family: "Font Awesome 5 Free";
font-feature-settings: normal;
font-kerning: auto;
font-language-override: normal;
font-size: inherit;
font-size-adjust: none;
font-stretch: normal;
font-style: normal;
font-synthesis: weight style;
font-variant: normal;
font-weight: 900;
line-height: 1;
text-rendering: auto;
}
a.boldlink {
font-weight: 700;
text-decoration: none;
}
a.boldlink i {
margin: 0 5px 0 0;
}

@media screen and (max-width: 767px) {
	p,
	.page-wrap_content li {
	font-size: 0.95em;
	}
	.page-wrap_content li p,
	.page-wrap_content li ul li {
	font-size: 1em;
	}
	h1 {
	font-size: 2em;
	}
	h2 {
	font-size: 1.3em;
	}
	h2.oversize {
	font-size: 2em;
	}
	h2.title {
	font-size: 1.3em;
	}
	h3 {
	font-size: 1.2em;
	}
	h4 {
	font-size: 1em;
	}
	.wp-block-image .alignleft,
	.wp-block-image .alignright {
	float: none !important;
	width: 100%;
	text-align: center;
	margin-left: 0 !important;
	margin-right: 0 !important;
	}
}


/* Gutenberg wide layout
....................................................................... */
.alignfull {
margin-left: calc(50% - 50vw) !important;
margin-right: calc(50% - 50vw) !important;
width: 100vw !important;
max-width: 100vw !important;
}
.alignwide {
margin-left: calc(50% - 47.5vw) !important;
margin-right: calc(50% - 47.5vw) !important;
width: 95vw !important;
max-width: 95vw !important;
}
@media screen and (min-width: 1500px) {
	.alignwide {
	margin-left: calc(50% - 45vw) !important;
	margin-right: calc(50% - 45vw) !important;
	width: 90vw !important;
	max-width: 90vw !important;
	}
}


/* Gutenberg Button
....................................................................... */
.wp-block-button {
margin: 0 0 1.5em 0;
}
a.wp-block-button__link,
.wp-block-button a.wp-block-button__link {
font-size: 0.9em;
font-weight: 400;
text-transform: uppercase;
border-radius: 50px;
padding: 20px 25px;
}
a.wp-block-button__link:hover,
.wp-block-button a.wp-block-button__link:hover {
transform: scale(1.05,1.05);
}
a.wp-block-button__link:after,
.wp-block-button a.wp-block-button__link:after {
content: '\f054';
display: inline-block;
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin: 0 0 0 5px;
}
.wp-block-button.is-style-outline a.wp-block-button__link {
font-size: 0.75em;
padding: 15px 20px;
}
.wp-block-button.is-style-outline a.wp-block-button__link,
.wp-block-button.is-style-outline a.wp-block-button__link:hover {
color: #ff8a3d;
border: 2px solid #ff8a3d !important;
}


/* Gutenberg Blockquote + Pullquote
....................................................................... */
blockquote.wp-block-quote {
background: #f2f2f2;
border-left: 5px solid #1e1e1e;
padding: 30px 50px;
margin: 0 0 1.5em 0;
}
blockquote.wp-block-quote.is-large,
blockquote.wp-block-quote.is-style-large {
padding: 30px 50px;
margin: 0 0 1.5em 0;
}
blockquote.wp-block-quote p {
font-style: italic;
}
blockquote.wp-block-quote p:last-child {
margin: 0;
}
blockquote.wp-block-quote cite {
font-style: normal;
color: #666;
}
.wp-block-pullquote {
margin: 0 0 30px 0;
}


/* Gutenberg Gallery
....................................................................... */
.wp-block-gallery {
margin-bottom: 0.75em;
}
.blocks-gallery-grid,
.wp-block-gallery {
width: 100%;
}
.wp-block-gallery li.blocks-gallery-item {
overflow: hidden;
}
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
box-sizing: border-box;
}
.wp-block-gallery.is-cropped .blocks-gallery-item img {
height: 100% !important;
}
@media screen and (max-width: 479px) {
	.wp-block-gallery li.blocks-gallery-item {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	}
}


/* Gutenberg Cover
....................................................................... */
.wp-block-cover {
margin: 0 0 1.5em 0;
}
.wp-block-cover p:last-child {
margin: 0;
}
.wp-block-cover__inner-container .wp-block-columns {
width: 92%;
max-width: 1300px;
margin: 0 auto;
}
.wp-block-cover__inner-container .wp-block-columns.alignfull {
/* prevent first char going offscreen */
padding: 0 10px;
}
.wp-block-cover__inner-container .wp-block-columns .wp-block-column.box {
/* Custom class to pad boxes with a bg color */
padding: 30px;
}


/* Gutenberg Table
....................................................................... */
.wp-block-table {
margin: 0 0 1.5em 0;
}
.wp-block-table table th {
text-align: left;
font-weight: 700;
padding: 10px;
}
.wp-block-table table td {
padding: 10px;
}
.wp-block-table.is-style-regular table {
border-collapse: collapse;
border: 1px solid #f2f2f2;
}
.wp-block-table.is-style-regular table tr th,
.wp-block-table.is-style-regular table tr td {
border-bottom: 1px solid #f2f2f2;
border-right: 1px solid #f2f2f2;
}
.wp-block-table.is-style-regular table tr th:last-of-type,
.wp-block-table.is-style-regular table tr td:last-of-type {
border-right: 0;
}
.wp-block-table.is-style-regular table tbody tr:last-of-type td {
border-bottom: 0;
}
.wp-block-table.is-style-regular table tfoot tr td {
border-top: 1px solid #f2f2f2;
}



/* Gutenberg Ninja Forms
....................................................................... */
.nf-form-fields-required {
display: none;
}
.nf-field-element textarea {
height: 120px !important;
}


/* Fancybox customisations
....................................................................... */
.fancybox-close-small {
/* Stop this flashing when lightbox is first shown */
display: none !important;
}
div.fancybox-content p.caption-title {
font-size: 0.85em;
line-height: 1.25em;
padding: 5px;
}
@media screen and (min-width: 601px) and (max-width: 782px) {
	body.admin-bar .fancybox-toolbar,
	body.admin-bar .fancybox-infobar,
	body.admin-bar .fancybox-thumbs {
	top: 46px;
	}
}
@media screen and (min-width: 783px) {
	body.admin-bar .fancybox-toolbar,
	body.admin-bar .fancybox-infobar,
	body.admin-bar .fancybox-thumbs {
	top: 32px;
	}
}


/* Global Forms
....................................................................... */
form {
margin: 0 0 20px 0;
padding: 0;
}
fieldset {
border: 0;
padding: 0;
margin: 0;
}
legend {
color: #1e1e1e;
font-size: 1.3em;
font-weight: 300;
padding: 0;
margin: 0 0 15px 0;
}
label {
display: block;
color: #1e1e1e;
font-size: 0.9em;
font-weight: 700;
padding: 0 0 5px 0;
}
input,
textarea,
select {
display: block;
color: #999;
width: 100%;
max-width: 624px;
font-size: 1em;
font-weight: normal;
font-family: 'Lato', sans-serif;
background: #fff;
border: 1px solid #ccc;
box-shadow: inset 2px 2px 2px rgba(0,0,0,0.05);
border-radius: 4px;
padding: 10px;
margin: 0 5px 15px 0;
box-sizing: border-box;
}
input:focus,
textarea:focus {
color: #1e1e1e;
border: 1px solid #a6a6a6;
box-shadow: 0 0 4px rgba(0,0,0,0.15);
}
::-webkit-input-placeholder {
color: #999;
opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
color: #999;
opacity: 1;
}
::-moz-placeholder {  /* Firefox 19+ */
color: #999;
opacity: 1;
}
:-ms-input-placeholder {
color: #999;
opacity: 1;
}
select {
line-height: 2.25em;
}
select option {
padding: 1px 10px;
}
textarea {
overflow: auto;
overflow-x: hidden;
resize: none;
}
.radio,
.checkbox {
display: inline-block;
padding: 5px 15px 10px 0;
}
input[type="radio"],
input[type="checkbox"] {
display: inline-block;
width: auto !important;
padding: 0;
border: 0;
}
input:disabled {
cursor: not-allowed;
}
button,
input.submit, 
input[type=submit],
input[type=button] {
display: inline-block;
width: auto;
font-family: 'Lato', sans-serif;
font-size: 0.9em;
font-weight: 400;
text-transform: uppercase;
color: #fff;
background: #ff8a3d;
box-shadow: none;
border: 0;
border-radius: 50px;
padding: 20px 25px;
margin: 5px 0 5px 0;
transition: all 0.2s;
-webkit-appearance: none;
cursor: pointer;
}
button:hover,
input.submit:hover, 
input[type=submit]:hover,
input[type=button]:hover {
color: #fff;
transform: scale(1.05,1.05);
}


/* Social links
....................................................................... */
.socnet {
display: inline-block;
}
.socnet strong {
display: inline-block;
vertical-align: middle;
}
.socnet a {
display: inline-block;
vertical-align: middle;
text-decoration: none;
width: 45px;
height: 45px;
color: #1e1e1e;
text-align: center;
border-radius: 50%;
box-sizing: border-box;
padding: 0;
margin: 0;
}
.socnet a span {
display: none;
}
.socnet a i {
font-size: 1.35em;
line-height: 45px;
}
.socnet a:hover {
transform: scale(1.1,1.1);
}


/* Side navigation
....................................................................... */
#sidehead {
padding: 35px 20px;
}
#sidehead strong {
font-size: 1em;
}
#sidehead a.close_menu {
display: inline-block;
float: right;
color: #1e1e1e;
font-size: 1.4em;
padding: 5px 0 5px 5px;
margin: -8px 0 0 0;
transition: all 0.2s;
}
#sidehead a.close_menu:hover {
transform: scale(1.25,1.25);
}
#sidenavi {
clear: both;
position: relative;
}
#sidenavi ul {
border-top: 1px solid #e5e5e5;
background: #fff;
box-sizing: border-box;
padding: 0;
margin: 0;
}
#sidenavi li {
position: static;
list-style: none;
background-image: none;
border-bottom: 1px solid #e5e5e5;
padding: 0;
margin: 0;
}
#sidenavi li:before {
display: none;
}
#sidenavi li a {
position: relative;
display: block;
width: 300px;
font-size: 0.9em;
color: #1e1e1e;
text-decoration: none;
box-sizing: border-box;
padding: 15px 45px 15px 20px;
margin: 0;
}
#sidenavi li > a:after {
content: '\f054';
position: absolute;
right: 30px;
top: 50%;
color: #e5e5e5;
display: inline-block;
font-family: "Font Awesome 5 Free";
font-weight: 900;
line-height: 0.1;
font-size: 15px;
}
#sidenavi li.menu-item-has-children > a:after {
color: #1e1e1e;
}
#sidenavi li a:hover {
background: #f2f2f2;
}
#sidenavi li.current_page_item > a {
background: #f2f2f2;
}
#sidenavi li ul {
position: absolute;
top: 0;
left: 300px;
transition: all 0.3s;
z-index: 9999;
background: #fff;
}
#sidenavi li ul li a {
padding-left: 30px;
}
#sidenavi li ul li a:before {
content: '-';
display: inline-block;
padding: 0 5px 0 0;
}
#sidenavi li ul li.title a {
padding-left: 20px;
}
#sidenavi li ul li.title a:before {
content: '';
display: none;
}
#sidenavi li ul li.back a {
font-weight: 700;
padding-left: 20px;
color: #999;
}
#sidenavi li ul li.back a:before {
content: '\f053';
display: inline-block;
font-family: "Font Awesome 5 Free";
font-weight: 900;
line-height: 0.1;
font-size: 15px;
}
#sidenavi li.back > a:after {
content: '';
display: none;
}
#sidenavi li ul li ul {
border: 0;
}
#sidenavi .socnet {
padding: 25px 15px 0 15px;
}


/* Contact strip
....................................................................... */
.page-wrap_contact ul:not(.blocks-gallery-grid) {
display: flex;
align-items: center;
padding: 0;
margin: 0 5px 0 0;
}
.page-wrap_contact ul:not(.blocks-gallery-grid) li {
display: inline-block; /* Fallback */

list-style: none;
font-size: 0.75em;
padding: 0;
margin: 0;
}
.page-wrap_contact li:before {
display: none;
}
.page-wrap_contact li:nth-child(2) {
flex: 5;
margin-left: auto;
text-align: right;
}
.page-wrap_contact li a {
text-decoration: none;
color: #fff;
}
.page-wrap_contact li a:hover {
text-decoration: underline;
}
.page-wrap_contact li a em {
font-style: normal;
}
.page-wrap_contact .socnet {
padding-right: 15px;
}
.page-wrap_contact .socnet a {
width: 35px;
height: 35px;
}
.page-wrap_contact .socnet a i {
line-height: 35px;
}
@media screen and (max-width: 767px) {
	.page-wrap_contact .socnet {
	display: none;
	}
}
@media screen and (max-width: 479px) {
	.page-wrap_contact li a em {
	display: none;
	}
}


/* Hero
....................................................................... */
header {
width: 100%;
box-sizing: border-box;
padding: 15px 0 15px 210px;
}

#logo {
display: inline-block;
vertical-align: middle;
width: 210px;
margin: 0 -4px 0 -210px;
}
#logo span {
position: absolute;
left: -9999px;
top: -9999px;
}
#logo a {
display: block;
}
#logo img {
width: 100%;
height: auto;
display: block;
max-width: 210px;
max-height: 48px;
}

#header_tools {
display: inline-block;
vertical-align: middle;
width: 100%;
text-align: right;
margin: 0 -4px 0 0;
}

#toggle_navi {
display: none;
padding: 0 0 0 20px;
}
#toggle_navi a {
display: block;
text-decoration: none;
padding: 5px 0;
}
#toggle_navi a i {
display: inline-block;
vertical-align: middle;
text-decoration: none;
font-size: 1.1em;
color: #fff;
background: #1e1e1e;
width: 36px;
height: 36px;
line-height: 36px;
text-align: center;
border-radius: 50%;
box-sizing: border-box;
padding: 0;
margin: 0 2px;
transition: all 0.2s;
}
#toggle_navi a span {
color: #1e1e1e;
text-transform: uppercase;
font-weight: 400;
font-size: 0.85em;
transition: all 0.2s;
}
#toggle_navi a:hover i {
transform: scale(1.1,1.1);
}

.toggle_search {
position: relative;
display: inline-block;
vertical-align: middle;
margin: 0 0 0 5px;
}
#stickynavi .toggle_search {
position: absolute;
top: 10px;
right: 0;
margin: 0;
}
.toggle_search a i {
display: inline-block;
vertical-align: middle;
text-decoration: none;
font-size: 1.1em;
color: #ff8a3d;
background: #fff;
width: 36px;
height: 36px;
line-height: 36px;
text-align: center;
border-radius: 50%;
box-sizing: border-box;
padding: 0;
margin: 0;
transition: all 0.2s;
}
.toggle_search a span {
position: absolute;
top: -9999px;
left: -9999px;
}

.search_popover {
display: none;
position: absolute;
top: 100%;
right: 0;
width: 300px;
background: #fff;
box-shadow: 0 0 5px rgba(0,0,0,0.25);
padding: 5px;
padding: 15px;
margin: 6px 0 0 0;
}
.search_popover form {
position: relative;
max-width: 600px;
margin: 0 auto;
}
.search_popover label {
display: none;
}
.search_popover input {
width: 100%;
min-height: 41px;
border-radius: 4px;
padding: 5px 45px 5px 15px;
margin: 0;
}
.search_popover .searchsubmit {
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 41px;
border: 0;
line-height: 1px;
font-weight: 700;
background: #ff8a3d;
text-align: center;
border-radius: 0 4px 4px 0;
padding: 0;
margin: 0;
cursor: pointer;
transform: none;
}
.search_popover .searchsubmit:hover {
background: #231f20;
}
.search_popover:before {
content: '';
height: 0;
width: 0;
position: absolute;
right: 8px;
top: -21px;
border: 10px solid transparent;
border-bottom-color: #ccc;
z-index: 98;
}
.search_popover:after {
content: '';
height: 0;
width: 0;
position: absolute;
right: 8px;
top: -20px;
border: 10px solid transparent;
border-bottom-color: #fff;
z-index: 99;
}


@media screen and (min-width: 1400px) {
	header {
	padding-left: 300px;
	}
	#logo {
	width: 300px;
	margin-left: -300px;
	}
	#logo img {
	max-width: 300px;
	max-height: 69px;
	}
}
@media screen and (max-width: 1023px) {
	header {
	padding-left: 180px;
	}
	#logo {
	width: 180px;
	margin-left: -180px;
	}
	#logo img {
	max-width: 180px;
	max-height: 41px;
	}
	#toggle_navi {
	display: inline-block;
	}
}
@media screen and (max-width: 600px) {
	header {
	padding-left: 150px;
	}
	#logo {
	width: 150px;
	margin-left: -150px;
	}
	#logo img {
	max-width: 150px;
	max-height: 35px;
	}
	header .socnet {
	display: none;
	}
	#toggle_navi a span {
	display: none;
	}
}


/* Hero
....................................................................... */
.page-wrap_hero .dim {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.page-wrap_hero.lightondark .dim {
background: rgba(0,0,0,0.4);
}
.page-wrap_hero.darkonlight .dim {
background: rgba(255,255,255,0.65);
}
.page-wrap_hero.none .dim {
}


/* Hero Video
....................................................................... */
.bg_video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.bg_video video {
position: absolute;
top: 50%; 
left: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
min-width: 100%; 
min-height: 100%; 
width: auto; 
height: auto;
}


/* Top / Sticky navigation
....................................................................... */
#stickynavi {
position: fixed;
top: -60px;
width: 100%;
background: #fff;
box-shadow: 0 0 7px rgba(0,0,0,0.4);
z-index: 999;
opacity: 0;
margin: 0 auto;
transition: all .3s;
}
#stickynavi.visible {
top: 0;
opacity: 1;
}
body.logged-in.admin-bar #stickynavi.visible {
top: 32px;
}
#stickynavi .center > ul {
text-align: right;
margin-right: 50px !important;
}
#stickynavi li.home {
float: left;
}
#stickynavi li.home a {
padding: 10px 0 0 0 !important;
}
#stickynavi li.home a img {
display: block;
max-height: 35px;
}

#topnavi {
display: inline-block;
vertical-align: middle;
}
#topnavi ul,
#stickynavi ul {
margin: 0;
padding: 0;
}
#topnavi li:before,
#stickynavi li:before {
display: none;
}

#topnavi > ul > li,
#stickynavi .center > ul > li {
position: relative;
display: inline-block;
vertical-align: middle;
list-style: none;
padding: 0;
margin: 0 -4px 0 0;
}
#topnavi > ul > li a,
#stickynavi .center > ul > li a {
position: relative;
display: block;
color: #1e1e1e;
font-size: 0.85em;
font-weight: 400;
text-transform: uppercase;
text-decoration: none;
padding: 15px 10px;
margin: 0;
}
#topnavi li.current-menu-item > a,
#topnavi > ul > li.current-menu-ancestor > a,
#stickynavi li.current-menu-item > a,
#stickynavi .center > ul > li.current-menu-ancestor > a,
/* Enable on state for experiments menu items when viewing experiment post detail and cat archive pages */
body.single-experiments #topnavi li.menu-item-23625 > a,
body.single-experiments #stickynavi li.menu-item-23625 > a,
body.archive.tax-experiment_categories #topnavi li.menu-item-23625 > a,
body.archive.tax-experiment_categories #stickynavi li.menu-item-23625 > a,
body.single-experiments #topnavi li.menu-item-23627 > a,
body.single-experiments #stickynavi li.menu-item-23627 > a,
body.archive.tax-experiment_categories #topnavi li.menu-item-23627 > a,
body.archive.tax-experiment_categories #stickynavi li.menu-item-23627 > a {
color: #ff8a3d !important;
}

#topnavi > ul > li.menu-item-has-children:hover > a:before,
#stickynavi .center > ul > li.menu-item-has-children:hover > a:before {
content: '';
height: 0;
width: 0;
position: absolute;
left: 50%;
bottom: 5px;
margin-left: -10px;
border: 10px solid transparent;
border-bottom-color: #ccc;
z-index: 100;
}
#topnavi > ul > li.menu-item-has-children:hover > a:after,
#stickynavi .center > ul > li.menu-item-has-children:hover > a:after {
content: '';
height: 0;
width: 0;
position: absolute;
left: 50%;
bottom: 4px;
margin-left: -10px;
border: 10px solid transparent;
border-bottom-color: #fff;
z-index: 101;
}
#topnavi li a:hover,
#stickynavi .center li a:hover {
text-decoration: underline;
}

#topnavi > ul > li > ul,
#stickynavi .center > ul > li > ul {
visibility: hidden;
opacity: 0;
position: absolute;
left: 50%;
top: 52px;
width: 220px;
text-align: left;
background: #fff;
box-shadow: 0 0 5px rgba(0,0,0,0.25);
padding: 5px;
margin: 0 0 0 -110px;
z-index: 99;
-webkit-transition-property: opacity, visibility;
-moz-transition-property: opacity, visibility;
-o-transition-property: opacity, visibility;
transition-property: opacity, visibility;
-webkit-transition-duration: .2s, 0s;
-moz-transition-duration: .2s, 0s;
-o-transition-duration: .2s, 0s;
transition-duration: .2s, 0s;
-webkit-transition-delay:  0s, .2s;
-moz-transition-delay:  0s, .2s;
-o-transition-delay:  0s, .2s;
transition-delay:  0s, .2s;
}
#topnavi > ul > li:hover > ul,
#stickynavi .center > ul > li:hover > ul {
visibility: visible;
opacity: 1;
-webkit-transition-delay:  0s, .0s;
-moz-transition-delay:  0s, .0s;
-o-transition-delay:  0s, .0s;
transition-delay:  0s, .0s;
}
#topnavi > ul > li > ul li,
#stickynavi .center > ul > li > ul li {
clear: both;
background-image: none;
text-align: left;
border: 0;
padding: 0;
margin: 0;
}
#topnavi > ul > li > ul li a,
#stickynavi .center > ul > li > ul li a {
float: none;
display: block;
background: transparent;
font-weight: 400;
font-size: 0.9em;
line-height: 1.2em;
text-decoration: none;
text-transform: none;
border-top: 1px solid #e5e5e5;
background-image: none !important;
padding: 10px 0;
margin: 0 10px 0 10px;
}
#topnavi > ul > li > ul > li:first-child > a,
#stickynavi .center > ul > li > ul > li:first-child > a {
border-top: 0;
}
#topnavi > ul > li > ul li li a,
#stickynavi .center > ul > li > ul li li a {
position: relative;
padding-left: 12px;
}
#topnavi > ul > li > ul li li a:before,
#stickynavi .center > ul > li > ul li li a:before {
content: '-';
position: absolute;
top: 10px;
left: 0;
}

#topnavi,
#stickynavi .center {
position: relative;
}
#topnavi > ul > li.megamenu,
#stickynavi .center > ul > li.megamenu {
position: static;
}
#topnavi > ul > li.megamenu > ul,
#stickynavi .center > ul > li.megamenu > ul {
display: flex;
width: auto;
left: auto;
right: 0;
padding: 15px 0;
}
#topnavi > ul > li.megamenu > ul:before,
#stickynavi .center > ul > li.megamenu >  ul:before,
#topnavi > ul > li.megamenu > ul:after,
#stickynavi .center > ul > li.megamenu >  ul:after {
left: auto;
right: 20px;
}
#topnavi > ul > li.megamenu > ul > li,
#stickynavi .center > ul > li.megamenu > ul > li {
clear: none;
width: 240px;
border-left: 1px solid #e5e5e5;
padding: 0 10px;
margin: 0;
}
#topnavi > ul > li.megamenu > ul > li:first-of-type,
#stickynavi .center > ul > li.megamenu > ul > li:first-of-type {
border-left: 0;
}
#topnavi > ul > li.megamenu > ul > li > a,
#stickynavi .center > ul > li.megamenu > ul > li > a {
font-size: 1.1em;
font-weight: 700;
text-transform: none;
}
#topnavi > ul > li.megamenu > ul > li a,
#stickynavi .center > ul > li.megamenu > ul > li a {
border: 0;
}

@media screen and (max-width: 1100px) {
	#topnavi > ul > li a {
	font-size: 0.8em;
	padding-left: 8px;
	padding-right: 8px;
	}
}

@media screen and (max-width: 1023px) {
	#topnavi,
	#stickynavi {
	display: none;
	}
}


/* Page heading
....................................................................... */
.page_heading {
padding: 40px 0 0 0;
margin: 0;
}
.page_heading.image {
padding: 100px 0 50px 0;
}
.page_heading.tall {
text-align: center;
max-width: 1024px;
padding: 500px 0 50px 0;
margin: 0 auto;
}
.page_heading.tall.align-left {
max-width: none;
margin: 0;
}
.page_heading.tall.title_image {
padding-top: 120px;
}
.page_heading.align-left {
text-align: left;
}
.page_heading.align-center {
text-align: center;
}
.page_heading h1 {
margin: 0 0 10px 0;
}
.page_heading p {
font-size: 1.25em;
line-height: 1.25em;
font-weight: 300;
}
.page_heading p:last-child {
margin: 0;
}
.page_heading.bold h1,
.page_heading.bold p {
font-weight: 700;
}
.page_heading .wp-block-button {
margin-bottom: 0;
}
.page_heading_notitle {
height: 2.75em;
margin: 0 0 20px 0;
}
@media screen and (max-width: 767px) {
	.page_heading.tall {
	padding-top: 200px;
	}
}


/* Light on Dark header
....................................................................... */
.page-wrap_hero.lightondark #topnavi li a,
.page-wrap_hero.lightondark .socnet a,
.page-wrap_hero.lightondark .page_heading h1,
.page-wrap_hero.lightondark .page_heading p,
.page-wrap_hero.lightondark #toggle_navi a span {
color: #fff;
}


/* Breadcrumb
....................................................................... */
.breadcrumbs {
font-size: 0.75em;
line-height: 2em;
border-bottom: 1px solid #e5e5e5;
padding: 0 0 20px 0;
margin: 0 0 20px 0;
}
.breadcrumbs .post {
width: auto;
padding: 0;
margin: 0;
}
.breadcrumbs a {
display: inline-block;
padding: 0 3px;
}
.breadcrumbs > span:last-child a {
color: #1e1e1e;
text-decoration: none;
}


/* Sidebar
....................................................................... */
.widget {
clear: both;
position: relative;
padding: 0;
margin: 0 0 50px 0;
}
.widget h2.title {
position: relative;
font-size: 1.25em;
font-weight: 700;
color: #1e1e1e;
line-height: 1.3em;
border-bottom: 1px solid #e5e5e5;
padding: 0 0 20px 0;
margin: 0 0 20px 0;
}
.widget p {
font-size: 0.9em;
}
.widget p img {
width: 100%;
}
.widget a.cta {
margin: 5px 0 5px 0;
}
.widget ul:not(.blocks-gallery-grid) {
padding: 0;
margin: -10px 0 0 0;
}
.widget ul:not(.blocks-gallery-grid) li {
position: relative;
border-bottom: 1px solid #e5e5e5;
background-image: none;
padding: 10px 0 10px 0;
margin: 0;
}
.widget ul:not(.blocks-gallery-grid) li:before {
display: none;
}
.widget ul:not(.blocks-gallery-grid) li:last-child {
border: 0;
}
.widget li a {
position: relative;
display: block;
line-height: 1.5em;
color: #1e1e1e;
text-decoration: none;
padding: 0 15px 0 0;
}
.widget li a:hover {
color: #999;
}
.widget li a:after {
content: '\f054';
position: absolute;
right: 0;
top: 5px;
color: #ccc;
display: inline-block;
font-family: "Font Awesome 5 Free";
font-weight: 900;
line-height: 1;
text-rendering: auto;
font-size: 15px;
}
.widget form {
padding: 0;
margin: 0;
}
.widget input,
.widget textarea,
.widget select {
font-size: 0.9em;
}
.widget button,
.widget input.submit, 
.widget input[type=submit] {
font-size: 1em;
}

.widget.widget_boxed {
clear: both;
background: #f2f2f2;
padding: 30px 20px;
}
.widget.widget_boxed p:last-child {
margin: 0;
}

.widget.widget_boxed.widget_accent {
clear: both;
color: #fff;
background: #ff8a3d;
padding: 30px 20px;
}
.widget.widget_boxed.widget_accent h2.title {
color: #fff;
border-color: rgba(255,255,255,0.33);
}
.widget.widget_boxed.widget_accent h1,
.widget.widget_boxed.widget_accent h3,
.widget.widget_boxed.widget_accent p,
.widget.widget_boxed.widget_accent li,
.widget.widget_boxed.widget_accent a,
.widget.widget_boxed.widget_accent label {
color: #fff;
}

.widget.widget_boxed.widget_dark {
clear: both;
color: #fff;
background: #1e1e1e;
padding: 30px 20px;
}
.widget.widget_boxed.widget_dark h2.title {
color: #fff;
border-color: #666;
}
.widget.widget_boxed.widget_dark h1,
.widget.widget_boxed.widget_dark h3,
.widget.widget_boxed.widget_dark p,
.widget.widget_boxed.widget_dark li,
.widget.widget_boxed.widget_dark a,
.widget.widget_boxed.widget_dark label {
color: #fff;
}
.widget.widget_boxed.widget_dark button,
.widget.widget_boxed.widget_dark input.submit, 
.widget.widget_boxed.widget_dark input[type=submit] {
color: #fff;
background: #ff8a3d;
text-shadow: none;
}

@media screen and (max-width: 1023px) {
	.sidebar {
	padding-top: 30px;
	}
}


/* Search result images
....................................................................... */
.post.search_result .pic {
/* As we're using potentially any size images here, match display of default size post images (height = 44.444% of width */
width: 100%;
padding-top: 44.444%;
position: relative;
overflow: hidden;
}
.post.search_result .pic a {
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.post.search_result .pic img {
position: absolute;
top: -100%;
left: 0;
right: 0;
bottom: -100%;
margin: auto;
}


/* Posts - Detail page
....................................................................... */
.post_full {
display: block;
width: auto;
border: 0;
padding: 0;
margin: 0;
}
.post_full p {
color: #1e1e1e;
margin: 0 0 1.1em 0;
}
.post_full p.category {
padding: 20px 0;
}
.post_full .postmeta {
padding: 15px 0 0 0;
}
.post_full .postmeta .postmeta_info {
font-size: 0.7em;
line-height: 1.6em;
text-transform: uppercase;
color: #999;
padding: 5px 0;
margin: 0 0 5px 0;
}
.post_full .postmeta .postmeta_info a {
color: #999;
}
.post_full .postmeta .postmeta_info a:hover {
color: #1e1e1e;
}

.post_full .pic {
position: relative;
}
.post_full .pic img {
width: 100%;
margin: 0 0 20px 0;
}

.post_full .video {
margin: 0 0 30px 0;
}

.post_full iframe {
	width: 100%;
	min-height: 200px;
}

.commentlist li {
list-style: none;
background-image: none;
border-top: 1px solid #e5e5e5;
padding: 15px 0 5px 50px;
margin: 0 0 20px 0;
}
.commentlist li:before {
display: none;
}
.commentlist .avatar {
float: left;
margin-left: -50px;
}
.commentlist li a {
color: #666;
}
.commentlist li a:hover {
color: #1e1e1e;
}
.comment-author {
color: #a6a6a6;
}
.comment-meta {
font-size: 0.9em;
color: #a6a6a6;
padding: 10px 0 10px 0;
}
.reply {
font-size: 0.9em;
}
#respond {
clear: both;
background: #f2f2f2;
padding: 15px;
}
#respond textarea {
width: 96%;
}
#respond a {
color: #666;
}
#respond a:hover {
color: #1e1e1e;
}


/* Post navigation
....................................................................... */
.navigation {
clear: both;
margin: 20px 0 30px 0;
}
.prev-posts,
.next-posts {
display: inline-block;
width: 50%;
margin: 0 -4px 0 0;
}
.prev-posts {
text-align: right;
}
.prev-posts a,
.next-posts a {
color: #1e1e1e;
font-weight: 700;
text-decoration: none;
}
.prev-posts a:hover,
.next-posts a:hover {
color: #999;
}

.wp-pagenavi-container {
clear: both;
padding: 20px 0 20px 0;
}
.wp-pagenavi {
font-size: 0.9em;
padding: 10px 0 0 0;
}
.wp-pagenavi a,
.wp-pagenavi span {
display: inline-block;
color: #1e1e1e;
border-color: #e5e5e5 !important;
border-radius: 0;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
color: #999 !important;
}


/* Experiments archive page
....................................................................... */
.experiments_hero {
border-bottom: 1px solid #e5e5e5;
padding: 30px 0 30px 0;
}
.experiments_hero .left,
.experiments_hero .right {
display: inline-block;
vertical-align: middle;
width: 50%;
margin: 0 -4px 0 0;
}
.experiments_hero:not(.compact) h2 {
font-size: 5em;
line-height: 1em;
font-weight: 700;
color: #1e1e1e;
margin: 0 0 30px 0;
}
.experiments_hero h2:not(.compact) strong {
color: #ff8a3d;
}
.experiments_hero form {
position: relative;
max-width: 420px;
}
.experiments_hero label {
display: none;
}
.experiments_hero input {
width: 100%;
min-height: 60px;
font-size: 1.25em;
border-radius: 4px;
padding: 5px 45px 5px 15px;
margin: 0;
}
.experiments_hero .searchsubmit {
position: absolute;
top: 0;
right: 0;
width: 60px;
height: 60px;
border: 0;
line-height: 1px;
font-weight: 700;
background: #ff8a3d;
text-align: center;
border-radius: 0 4px 4px 0;
padding: 0;
margin: 0;
cursor: pointer;
transform: none;
}
.experiments_hero .searchsubmit:hover {
background: #231f20;
}
.experiments_hero .searchsubmit span {
position: absolute;
top: -9999px;
left: -9999px;
}
.experiments_hero .searchsubmit i {
font-size: 1.25em;
}

.experiments_hero.compact .left {
vertical-align: top;
width: 66.666%;
padding: 0 30px 0 0;
box-sizing: border-box;
}
.experiments_hero.compact .right {
vertical-align: top;
width: 33.333%;
text-align: right;
}

@media screen and (max-width: 1023px) {
	.experiments_hero .left,
	.experiments_hero .right {
	display: block;
	width: 100%;
	margin: 0;
	text-align: center;
	}
	.experiments_hero.compact .left,
	.experiments_hero.compact .right {
	width: 100%;
	text-align: center;
	}
	.experiments_hero form {
	margin: 0 auto 20px auto;
	}
}
@media screen and (max-width: 767px) {
	.experiments_hero:not(.compact) h2 {
	font-size: 3.5em;
	}
}



.experiments_head {
padding: 40px 0;
}
.experiments_head.compact {
padding: 30px 0;
border-top: 1px solid #e5e5e5;
}
.experiments_head .left,
.experiments_head .right {
display: inline-block;
vertical-align: middle;
width: 50%;
margin: 0 -4px 0 0;
}
.experiments_head .right {
text-align: right;
}
.experiments_head h1 {
color: #1e1e1e;
font-size: 2em;
padding: 0 20px 0 0;
}
.experiments_head label {
position: absolute;
top: -9999px;
left: -9999px;
}
.experiments_head select {
display: inline-block;
vertical-align: middle;
width: 48%;
max-width: none;
font-size: 0.9em;
margin: 0 -4px 0 2%;
}

.experiments_head .left form {
position: relative;
max-width: 310px;
margin: 0;
}
.experiments_head .left input {
width: 100%;
max-width: none;
min-height: 42px;
font-size: 0.9em;
border-radius: 4px;
padding: 5px 45px 5px 15px;
margin: 0;
}
.experiments_head .left .searchsubmit {
position: absolute;
top: 0;
right: 0;
width: 42px;
height: 42px;
border: 0;
line-height: 1px;
font-weight: 700;
background: #ff8a3d;
text-align: center;
border-radius: 0 4px 4px 0;
padding: 0;
margin: 0;
cursor: pointer;
transform: none;
}
.experiments_head .left .searchsubmit:hover {
background: #231f20;
}
.experiments_head .left .searchsubmit span {
position: absolute;
top: -9999px;
left: -9999px;
}
.experiments_head .left .searchsubmit i {
font-size: 1.25em;
}


@media screen and (max-width: 1023px) {
	.experiments_head .left,
	.experiments_head .right {
	display: block;
	width: 100%;
	margin: 0;
	}
	.experiments_head .right {
	padding: 0;
	text-align: center;
	}
	.experiments_head .left form {
	max-width: none;
	}
	.experiments_head select {
	display: block;
	width: 100%;
	margin: 10px 0;
	}
}
@media screen and (max-width: 767px) {
	.experiments_head {
	padding: 20px 0;
	}
	.experiments_head h1 {
	font-size: 1.75em;
	}

}


/* Experiments detail page
....................................................................... */
.experiment_mainimage {
margin: 0 0 0 0;
}
.experiment_mainimage img {
max-width: none;
width: 100%;
height: auto;
display: block;
}

.experiment-intro {
color: #fff;
background: #1e1e1e;
padding: 30px 40px;
margin: 0 0 50px 0;
}
.experiment-intro-body p {
font-size: 1.33em;
line-height: 1.5em;
}
.experiment-intro p.category {
color: #fff;
padding: 7px 0;
}
.experiment-intro p.category a {
color: #fff;
background: #484848;
}
.experiment-intro p.category a:hover {
color: #fff;
background: #666;
}
@media screen and (max-width: 767px) {
	.experiment-intro-body p {
	font-size: 1.1em;
	}
	.experiment-intro p.category strong {
	display: block;
	padding: 3px 0;
	}
}

.experiment-materials {
margin: 0 0 50px 0;
}
.experiment-materials ul {
padding: 10px 0 0 0;
margin: 0;
}
.experiment-materials ul li {
display: inline-block;
vertical-align: top;
width: 33.333%;
box-sizing: border-box;
padding-right: 20px;
margin-right: -4px;
}
.experiment-materials ul li:before {
color: #ff8a3d;
}
.experiment-materials ul li.has-pic:before {
display: none;
}
.experiment-materials ul li h5 {
font-size: 1.15em;
font-weight: 700;
letter-spacing: normal;
}
.experiment-materials ul li img {
display: block;
width: 100%;
height: auto;
border: 1px solid #e5e5e5;
margin: 0 0 5px 0;
}
@media screen and (max-width: 767px) {
	.experiment-materials ul li {
	width: 50%;
	}
}
@media screen and (max-width: 479px) {
	.experiment-materials ul {
	display: block;
	}
	.experiment-materials ul li {
	width: 100%;
	}
}

.experiment-videos {
margin: 0 0 50px 0;
}
.experiment-embed-wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
}
.experiment-embed-container {
display: inline-block;
vertical-align: top;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 50%;
box-sizing: border-box;
padding: 0 1%;
margin: 10px -4px 10px 0;
}
@media screen and (max-width: 767px) {
	.experiment-embed-wrapper {
	display: block;
	}
	.experiment-embed-container {
	width: 100%;
	}
}

.experiment-procedure {
margin: 0 0 50px 0;
}
.experiment-procedure > ol {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
counter-reset: li; /* Initiate a counter */
padding: 0;
margin: 0;
}
.experiment-procedure > ol > li {
position: relative;
list-style-type: none;
display: inline-block;
vertical-align: top;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 50%;
box-sizing: border-box;
padding: 0 1%;
margin: 25px -4px 25px 0;
}
.experiment-procedure > ol > li:before {
content: counter(li); /* Use the counter as content */
counter-increment: li; /* Increment the counter by 1 */
position: absolute;
top: -10px;
left: 0;
width: 40px;
height: 40px;
line-height: 35px;
font-size: 1.25em;
font-weight: 700;
text-align: center;
color: #fff;
background: #ff8a3d;
border: 2px solid #fff;
border-radius: 50%;
box-sizing: border-box;
margin-right: 10px;
}
.experiment-procedure > ol > li img {
display: block;
border: 1px solid #e5e5e5;
margin: 0 0 5px 0;
}
.experiment-procedure > ol > li p {
padding: 0 15px 0 0;
margin: 0;
}
.experiment-procedure > ol > li.no-pic:before {
top: 0;
}
.experiment-procedure > ol > li.no-pic p,
.experiment-procedure > ol > li.no-pic h2,
.experiment-procedure > ol > li.no-pic h3,
.experiment-procedure > ol > li.no-pic h4,
.experiment-procedure > ol > li.no-pic h5,
.experiment-procedure > ol > li.no-pic ul {
padding: 0 15px 0 40px;
}
@media screen and (max-width: 767px) {
	.experiment-procedure > ol {
	display: block;
	}
	.experiment-procedure > ol > li {
	width: 100%;
	}
	.experiment-procedure > ol > li p,
	.experiment-procedure > ol > li.no-pic p {
	padding-right: 0;
	}
}

.experiment-supplimentary {
margin: 0 0 50px 0;
}
.experiment-supplimentary-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
align-items: center;
border-top: 2px solid #e5e5e5;
padding: 40px 0;
margin: 0;
}
.experiment-supplimentary-item:nth-child(even) {
flex-direction: row-reverse;
}
.experiment-supplimentary-item.no-pic {
display: block;
max-width: 900px;
margin: 0 auto;
}
.experiment-supplimentary-item:last-of-type {
border-bottom: 2px solid #e5e5e5;
}
.experiment-supplimentary-item .text {
display: inline-block;
vertical-align: middle;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 50%;
box-sizing: border-box;
padding: 0 2%;
margin: 0 -4px 0 0;
}
.experiment-supplimentary-item.no-pic .text {
display: block;
width: 100%;
padding: 0;
}
.experiment-supplimentary-item .pic {
display: inline-block;
vertical-align: middle;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 50%;
text-align: center;
box-sizing: border-box;
padding: 0 2%;
margin: 0 -4px 0 0;
}
.experiment-supplimentary-item .pic img {
width: 100%;
height: auto;
}
.experiment-supplimentary-item h2 i {
display: inline-block;
vertical-align: middle;
color: #ff8a3d;
font-size: 1.75em;
margin: 0 10px 0 0;
}
@media screen and (max-width: 1023px) {
	.experiment-supplimentary-item {
	display: block;
	}
	.experiment-supplimentary-item .text,
	.experiment-supplimentary-item .pic {
	width: 100%;
	}
	.experiment-supplimentary-item .pic,
	.experiment-supplimentary-item:nth-child(even) .pic {
	padding: 0;
	}
}

.experiment-legacy-container {
display: block;
width: 100%;
max-width: 900px;
margin: 0 auto;
}


/* Homepage intro
....................................................................... */
.home_intro {
position: relative;
padding: 0 0 50px 0;
margin: 0 auto 20px auto;
}
.home_intro .maxwidth {
width: 90%;
max-width: 1024px;
margin: 0 auto;
}
.home_intro p {
font-size: 1.2em;
font-weight: 300;
}
.home_intro p:last-of-type {
margin-bottom: 0;
}
.home_intro a.wp-block-button__link {
line-height: 1.25em;
color: #fff;
margin: 10px 5px;
}
.home_intro:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
display: inline-block;
width: 180px;
height: 2px;
background: #ccc;
margin: 0 0 0 -90px;
}
@media screen and (max-width: 1023px) {
	.home_intro p {
	font-size: 1.1em;
	}
}


/* Homepage clients list
....................................................................... */
.home_clients {
max-width: 1024px;
padding: 30px 0 30px 0;
margin: 0 auto ;
}
.home_clients h5 {
text-align: center;
}


/* Homepage video
....................................................................... */
.home_video {
padding: 0;
margin: 0 auto 30px auto;
}
.home_video h5 {
text-align: center;
margin: 0 0 30px 0;
}
.home_video_player {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+10,cccccc+10,cccccc+90,ffffff+90,ffffff+100 */
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 10%, #cccccc 10%, #cccccc 90%, #ffffff 90%, #ffffff 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 10%,#cccccc 10%,#cccccc 90%,#ffffff 90%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 10%,#cccccc 10%,#cccccc 90%,#ffffff 90%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.home_video .maxwidth {
width: 90%;
max-width: 1024px;
margin: 0 auto;
}


/* Homepage video body
....................................................................... */
.home_video_body {
margin: 0 auto 50px auto;
}
.home_video_body .maxwidth {
width: 90%;
max-width: 1024px;
margin: 0 auto;
}
.home_video_body p {
font-size: 1.2em;
font-weight: 300;
}
.home_video_body p:last-of-type {
margin-bottom: 0;
}
.home_video_body a.wp-block-button__link {
line-height: 1.25em;
color: #fff;
margin: 10px 5px;
}
@media screen and (max-width: 1023px) {
	.home_video_body p {
	font-size: 1.1em;
	}
}


/* Homepage bio
....................................................................... */
.home_bio {
padding: 0 0 30px 0;
margin: 0 auto 30px auto;
}
.home_bio .maxwidth {
width: 90%;
max-width: 1024px;
border-bottom: 1px solid #ccc;
margin: 0 auto;
}
.home_bio_pic {
display: inline-block;
vertical-align: middle;
width: 47%;
margin: 0 -4px 0 0;
}
.home_bio_pic img {
display: block;
margin: 0 auto;
}
.home_bio_text {
display: inline-block;
vertical-align: middle;
width: 47%;
margin: 0 -4px 0 6%;
}
.home_bio_text p {
font-size: 1.2em;
font-weight: 300;
}
@media screen and (max-width: 1023px) {
	.home_bio {
	text-align: center;
	}
	.home_bio .maxwidth {
	border: 0;
	}
	.home_bio_pic,
	.home_bio_text {
	display: block;
	width: 100%;
	margin: 0;
	}
	.home_bio_pic {
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
	}
	.home_bio_pic img {
	max-width: 200px;
	}
	.home_bio_text p {
	font-size: 1.1em;
	}
}


/* Homepage statistics
....................................................................... */
.home_stats {
max-width: 1024px;
padding: 0 0 50px 0;
margin: 0 auto;
}
.home_stats h5 {
text-align: center;
margin: 0 0 30px 0;
}
.home_stats ul:not(.blocks-gallery-grid) {
display: flex;
flex-wrap: wrap;
padding: 15px 0 0 0;
margin: 0 0 60px 0;
}
.home_stats ul:not(.blocks-gallery-grid) li {
display: inline-block;
vertical-align: bottom;
display: flex;
flex-direction: column;
width: 33.333%;
list-style: none;
background-image: none;
text-align: center;
box-sizing: border-box;
padding: 30px 20px 10px 20px;
margin: 0 -4px 0 0;
}
.home_stats ul:not(.blocks-gallery-grid) li:before {
display: none;
}
.home_stats ul:not(.blocks-gallery-grid) li .match_height {
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
}
.home_stats ul:not(.blocks-gallery-grid) li:nth-child(-n+3) {
border-bottom: 1px solid #ccc;
}
.home_stats ul:not(.blocks-gallery-grid) li:nth-child(3n+1),
.home_stats ul:not(.blocks-gallery-grid) li:nth-child(3n+2) {
border-right: 1px solid #ccc;
}
.home_stats li h3 strong {
display: block;
font-weight: 300;
font-size: 1.8em;
line-height: 1.1em;
word-wrap: break-word;
}
.home_stats li p {
font-size: 0.9em;
}
@media screen and (max-width: 767px) {
	.home_stats ul:not(.blocks-gallery-grid) li {
	width: 50%;
	}
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(-n+3),
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(3n+1),
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(3n+2) {
	border: 0;
	}
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(-n+4) {
	border-bottom: 1px solid #c2c2c2;
	}
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(2n+1) {
	border-right: 1px solid #c2c2c2;
	}
}
@media screen and (max-width: 479px) {
	.home_stats ul:not(.blocks-gallery-grid) li {
	width: 100%;
	}
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(-n+3),
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(3n+1),
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(3n+2),
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(-n+4),
	.home_stats ul:not(.blocks-gallery-grid) li:nth-child(2n+1) {
	border: 0;
	border-bottom: 1px solid #c2c2c2;
	}
}


/* Homepage services
....................................................................... */
.home_services {
text-align: center;
}
.home_services h2.oversize {
color: #1e1e1e;
margin-bottom: 30px;
}

.home_services .service_list {
display: flex;
}
.home_services .service {
position: relative;
width: 33.333%;
background: #f2f2f2;
box-sizing: border-box;
border-left: 20px solid #fff;
padding: 30px 30px 100px 30px;
margin: 0 0 20px 0;
}
.home_services .service:first-of-type {
border: 0;
}
.home_services .service .image {
margin: 0 0 20px 0;
}
.home_services .service .text {
margin: 0 auto;
}
.home_services .service h2 {
color: #1e1e1e;
}
.home_services .service_button {
position: absolute;
left: 0;
bottom: 30px;
width: 100%;
}
.home_services .service a.wp-block-button__link {
color: #fff;
background: #ff8a3d;
line-height: 1.25em;
}

@media screen and (max-width: 1023px) {
	.home_services .service_list {
	display: block;
	}
	.home_services .service {
	width: 100%;
	border: 0;
	padding: 30px;
	}
	.home_services .service_button {
	position: relative;
	left: auto;
	bottom: auto;
	}
}



/* Homepage tv
....................................................................... */
.home_tv {
padding: 60px 0 60px 0;
}
.home_tv .maxwidth {
width: 90%;
max-width: 1300px;
margin: 0 auto;
}
.home_tv_body {
display: flex;
max-width: 1024px;
align-items: center;
text-align: left;
margin: 0 auto;
}
.home_tv_body .home_tv_body_pic {
width: 33.333%;
padding: 30px;
}
.home_tv_body .home_tv_body_text {
width: 66.666%;
padding: 10px 30px 30px 30px;
}
.home_tv_body .home_tv_body_text h2 {
color: #1e1e1e;
}
.home_tv_body .home_tv_body_text p:last-child {
margin: 0;
}
.home_tv h5 {
text-align: center;
padding: 15px 0 0 0;
margin: 0 0 30px 0;
}
.home_tv .wp-block-button {
margin: 0;
}

@media screen and (max-width: 1023px) {
	.home_tv_body {
	display: block;
	}
	.home_tv_body .home_tv_body_pic,
	.home_tv_body .home_tv_body_text {
	width: 100%;
	text-align: center;
	padding: 0 0 20px 0;
	}
	.home_tv_body .home_tv_body_text p,
	.home_tv .post p {
	text-align: center;
	}
}


/* Homepage testimonials
....................................................................... */
.home_testimonials {
background: #f2f2f2;
padding: 60px 0 60px 0;
}
.home_testimonials h5 {
text-align: center;
margin: 0 0 30px 0;
}
.home_testimonials .wp-block-button {
margin: 0;
}
.home_testimonials .maxwidth {
position: relative;
width: calc(100vw - 80px) !important;
max-width: 1300px;
box-sizing: border-box;
padding: 0 10px;
margin: 0 auto;
}
.home_testimonials .swiper-slide .testimonial {
width: 100%;
}
.swiper-button-prev.swiper-button-prev-testimonials,
.swiper-button-next.swiper-button-next-testimonials {
width: 25px;
height: 35px;
font-size: 1.75em;
color: #ff8a3d;
text-align: center;
background: transparent;
}
.swiper-button-prev.swiper-button-prev-testimonials {
position: absolute;
top: 50%;
left: -25px;
}
.swiper-button-next.swiper-button-next-testimonials {
position: absolute;
top: 50%;
right: -25px;
}
.swiper-pagination.swiper-pagination-testimonials {
position: relative;
margin: 0 auto 20px 0;
}
.swiper-pagination.swiper-pagination-testimonials .swiper-pagination-bullet {
margin: 0 5px;
}
.swiper-pagination.swiper-pagination-testimonials .swiper-pagination-bullet-active {
background: #ff8a3d;
}


/* Homepage book
....................................................................... */
.home_book {
padding: 60px 0 60px 0;
}
.home_book .maxwidth {
width: 90%;
max-width: 1024px;
margin: 0 auto;
}

.home_book_left {
display: inline-block;
vertical-align: middle;
width: 40%;
text-align: center;
box-sizing: border-box;
padding: 0 50px 0 0;
margin: 0 -4px 0 0;
}
.home_book_left img {
max-width: 100%;
}

.home_book_right {
display: inline-block;
vertical-align: middle;
width: 60%;
margin: 0 -4px 0 0;
}
.home_book_right h5 {
display: inline-block;
color: #ff8a3d;
font-weight: 700;
}
.home_book_right h5 {
font-size: 1.1em;
background: url(img/book_stars.png) 0 100% no-repeat;
padding-bottom: 30px;
}
.home_book_right h2 {
color: #1e1e1e;
}
.home_book_right .testimonial {
display: block;
width: 100%;
padding: 0 30px 0 40px;
margin: 15px -4px 30px 0;
}
.home_book_right .testimonial p {
color: #999;
}

@media screen and (max-width: 1024px) {
	.home_book_left,
	.home_book_right {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0;
	margin: 0;
	}
	.home_book_left img {
	margin-bottom: 20px;
	}
}


/* Homepage events
....................................................................... */
.home_event_wrapper {
position: relative;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
}
.home_event_wrapper .dim {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.home_event_wrapper.lightondark .dim {
background: rgba(0,0,0,0.55);
}
.home_event_wrapper.darkonlight .dim {
background: rgba(255,255,255,0.75);
}
.home_event_wrapper.none .dim {
}
.home_event_wrapper .maxwidth {
position: relative;
width: 90%;
max-width: 1300px;
margin: 0 auto;
z-index: 1;
}

.home_event {
position: relative;
display: flex;
align-items: center;
padding: 80px 0;
margin: 10px 0;
}
.home_event_wrapper:nth-child(even) .home_event {
flex-direction: row-reverse; 
}
.home_event_pic {
width: 35%;
text-align: center;
margin: 0 5% 0 0;
}
.home_event_wrapper:nth-child(even) .home_event_pic {
margin: 0 0 0 5%;
}
.home_event_wrapper .home_event_pic img {
width: 100%;
margin: 0 0 20px 0;
}
.home_event_text {
width: 60%;
}
.home_event_text h1,
.home_event_text h2,
.home_event_text h3,
.home_event_text h4,
.home_event_text h5,
.home_event_text p,
.home_event_text li,
.home_event_text a {
color: #1e1e1e;
}
.home_event_wrapper.lightondark .home_event_text h1,
.home_event_wrapper.lightondark .home_event_text h2,
.home_event_wrapper.lightondark .home_event_text h3,
.home_event_wrapper.lightondark .home_event_text h4,
.home_event_wrapper.lightondark .home_event_text h5,
.home_event_wrapper.lightondark .home_event_text p,
.home_events.lightondark .home_event_text li,
.home_events.lightondark .home_event_text a {
color: #fff;
}
.home_event_text p:last-child {
margin: 0;
}
.home_event_button {
text-align: center;
}
.home_event_button a.wp-block-button__link {
color: #fff;
background:  #ff8a3d;
line-height: 1.25em;
}

@media screen and (max-width: 1023px) {
	.home_event {
	display: block;
	text-align: center;
	padding: 50px 0 130px 0;
	}
	.home_event_pic,
	.home_event_wrapper:nth-child(even) .home_event_pic {
	width: 100%;
	margin: 0;
	}
	.home_event_pic img {
	max-width: 400px;
	}
	.home_event_text {
	width: 100%;
	}
	.home_event_button {
	position: absolute;
	bottom: 50px;
	left: 0;
	width: 100%;
	}
}


/* Homepage cta
....................................................................... */
.home_cta {
text-align: center;
box-sizing: border-box;
background: #ff8a3d;
padding: 50px 30px;
margin: 0;
}
.home_cta h2 {
color: #fff;
font-size: 2.25em;
margin: 0 0 0.5em 0;
}
.home_cta p {
line-height: 1.25em;
padding: 5px;
margin: 0;
}
.home_cta a.wp-block-button__link {
color: #fff;
background: #1e1e1e;
margin: 5px;
}
@media screen and (max-width: 1023px) {
	.home_cta h2 {
	font-size: 1.5em;
	}
}
.home_cta.service_cta {
margin: 0 0 50px 0;
}
@media screen and (max-width: 600px) {
	.home_cta.service_cta a.wp-block-button__link {
	display: block;
	margin: 10px 5px;
	}
}


/* Testimonials taxonomy list page
....................................................................... */
.testimonials_tax_list {
padding: 30px 0;
}


/* Global alert banner
....................................................................... */
.alert_banner {
color: #fff;
padding: 10px 0;
}
.alert_banner .center {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
align-items: center;
}
.alert_banner .alert_message {
display: block; /* Fallback */

flex-grow: 1;
padding-right: 15px;
}
.alert_banner .alert_countdown {
display: none;  /* Fallback */

display: flex;
flex-shrink: 0;
padding: 0 15px;
}
.alert_banner .alert_action {
display: none;  /* Fallback */

display: flex;
flex-shrink: 0;
padding-left: 15px;
}

.alert_banner .alert_message p {
font-size: 1.25em;
line-height: 1.33em;
font-weight: 700;
text-shadow: 2px 2px 0px rgba(0,0,0,0.25);
margin: 0;
}
.alert_banner .alert_message p a {
color: #fff;
text-decoration: none;
}
ul.alert_timer:not(.blocks-gallery-grid) {
display: none;
padding: 0;
margin: 0;
}
ul.alert_timer:not(.blocks-gallery-grid) li {
display: inline-block;
vertical-align: top;
text-transform: uppercase;
padding: 0;
margin: 0;
}
ul.alert_timer:not(.blocks-gallery-grid) li:before {
content: '' !important;
}
ul.alert_timer:not(.blocks-gallery-grid) li strong {
display: block;
font-size: 2.5em;
font-weight: 900;
line-height: 1em;
text-shadow: 2px 2px 0px rgba(0,0,0,0.25);
}
ul.alert_timer:not(.blocks-gallery-grid) li em {
display: block;
font-style: normal;
font-weight: 700;
font-size: 0.65em;
line-height: 1.25em;
text-align: center;
color: #fff;
text-shadow: 1px 1px 0px rgba(0,0,0,0.25);
padding: 0 0 3px 0;
}
ul.alert_timer:not(.blocks-gallery-grid) li.seperator {
font-size: 1.5em;
line-height: 1.5em;
font-weight: 700;
color: #fff;
text-shadow: 1px 1px 0px rgba(0,0,0,0.25);
padding: 0 5px;
}
@media screen and (max-width: 1200px) {
	.alert_banner .center {
	flex-wrap: wrap;
	justify-content: center;
	}
	.alert_banner .alert_message {
	width: 100%;
	text-align: center;
	padding: 0 0 15px 0;
	}
	.alert_banner .alert_countdown {
	padding-left: 0;
	}
}
@media screen and (max-width: 899px) {
	.alert_banner .alert_countdown {
	padding: 0 15px 15px 15px;
	}
	.alert_banner .alert_action {
	padding: 0 15px;
	}
}

.alert_action_wrap {
position: relative;
display: flex;
align-items: center;
min-height: 85px;
background: #fff;
text-align: center;
border-radius: 43px;
box-sizing: border-box;
padding: 10px 20px 10px 110px;
}
.alert_action_wrap .photo {
position: absolute;
left: 20px;
bottom: 0;
width: 80px;
height: 93px;
}
.alert_action_wrap .logo,
.alert_action_wrap .cta {
padding: 0 5px;
}
.alert_action_wrap .logo {
max-width: 120px;
}
.alert_action_wrap .logo img {
display: block;
width: auto;
max-height: 60px;
}
.alert_action_wrap .cta a.wp-block-button__link {
font-size: 0.8em;
padding: 10px 20px;
}
@media screen and (max-width: 479px) {
	.alert_action_wrap .logo {
	display: none;
	}
}



/* Footer
....................................................................... */
footer {
font-size: 0.85em;
padding: 50px 0 0 0;
}
footer h5 {
color: #fff;
margin: 0 0 0.75em 0;
}
footer p {
line-height: 1.75em;
margin-bottom: 0.75em;
}
footer a {
color: #aaa;
}
footer a:hover {
color: #fff;
}
footer ul:not(.blocks-gallery-grid) {
padding: 0;
margin: 0;
}
footer ul:not(.blocks-gallery-grid) li {
list-style: none;
display: block;
padding: 0 0 5px 0;
margin: 0;
}
footer ul:not(.blocks-gallery-grid) li:before {
display: none;
}
footer .socnet {
display: block;
text-align: center;
border-bottom: 1px solid #464646;
padding: 0 0 50px 0;
margin: 0 0 50px 0;
}
footer .socnet a {
color: #fff;
background: #484848;
margin: 0 5px;
}
footer .socnet a i {
font-size: 2em;
}

footer .top_container {
position: relative;
padding-right: 90px;
background: url(img/logo_footer.png) 100% 0 no-repeat;
}

footer .row.copyright {
font-size: 0.85em;
border-top: 1px solid #464646;
padding: 30px 0 30px 0;
margin: 20px -4px 0 0;
}
footer .copyright ul:not(.blocks-gallery-grid) {
display: inline-block;
vertical-align: middle;
width: 75%;
margin: 0 -4px 0 0;
}
footer .copyright ul:not(.blocks-gallery-grid) li {
display: inline-block;
vertical-align: top;
padding: 0;
margin: 0 10px;
}
footer .copyright ul:not(.blocks-gallery-grid) li:first-of-type {
margin-left: 0;
}
footer .copyright p {
display: inline-block;
vertical-align: middle;
width: 25%;
text-align: right;
margin: 0 -4px 0 0;
}

@media screen and (max-width: 1023px) {
	footer {
	text-align: center;
	}
	footer .top_container {
	padding-right: 0;
	background: transparent;
	}
	footer .span3 {
	padding: 7px 0;
	}
	footer ul:not(.blocks-gallery-grid) {
	width: 100%;
	text-align: center;
	}
	footer ul:not(.blocks-gallery-grid) li {
	display: inline-block;
	width: auto;
	padding: 5px 10px;
	}
	footer ul:not(.blocks-gallery-grid) li.title {
	display: block;
	padding: 0;
	}
	footer .copyright ul:not(.blocks-gallery-grid) {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 10px 0;
	}
	footer .copyright ul:not(.blocks-gallery-grid) li:first-of-type {
	display: block;
	}
	footer .copyright p {
	display: block;
	width: 100%;
	margin: 0;
	text-align: center;
	}
}


/* GM modal
....................................................................... */
#gm_modal {
display: none;
background: rgba(0,0,0,0.9);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999999999;
}
#gm_content {
position: fixed;
top: 50%;
left: 50%;
width: 700px;
height: 540px;
text-align: center;
border: 10px solid #333;
overflow: hidden;
box-sizing: border-box;
border-radius: 5px;
margin: -270px 0 0 -350px;
z-index: 99999999999;
}
#gm_content iframe {
width: 100% !important;
height: 100% !important;
border: 0 !important;
}
#gm_close {
position: absolute;
top: 20px;
right: 20px;
width: 21px;
height: 21px;
background: rgba(255,255,255,1);
border-radius: 50%;
z-index: 999999999999;
cursor: pointer;
}
#gm_close:hover {
background: rgba(255,255,255,0.8);
}
#gm_close .text {
display: none;
}
#gm_close .line {
position: absolute;
left: 5px;
top: 9px;
display: inline-block;
width: 12px;
height: 3px;
background: #1e1e1e;
transform-origin: 50% 50%;
transition: all .3s;
}
#gm_close .line1 {
-moz-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
-o-transform:rotate(45deg);
-ms-transform:rotate(45deg);
}
#gm_close .line2 {
-moz-transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
-ms-transform:rotate(-45deg);
}
@media screen and (max-width: 767px) {
	#gm_content {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	}
}
