/*
Theme Name: designfordigital
Theme URI: https://www.designfordigital.com
Author: Design for Digital
Author URI: https://www.designfordigital.com
Description: Wordpress template designed by Design for Digital
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designfordigital
Tags:

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Footer
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Unique Classes for this website
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
	margin: 0;
    scroll-padding-top: 250px;/*** sticky breakpoint for anchor links behind sticky headers ***/
}
/**
 * Firefox specific rule
 */

@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}
body {
	margin: 0;

	/*** sticky footer ***/
 	display: flex;
  	flex-direction: column;
	/*** END sticky footer ***/
}
/*** sticky footer ***/
html, body {
  height: 100%;
}
#content {
  flex: 1 0 auto;
}
/*** END sticky footer ***/
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:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

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;
}
input  {
    margin:inherit;
    border-radius: 0; /* safari ios - prevents rounding of input fields */
    /*-webkit-appearance: none;*/
    background-image: linear-gradient(to bottom, transparent, transparent);
    border: 1px solid #000;
}
button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-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-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

.woocommerce fieldset {
    padding: 0;
    margin: 0 0 10px 0;
    border: none;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}
/*--------------------------------------------------------------
# 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;
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000000;
    font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-size: 1rem; 
	font-weight: 400; /* normal font */
	line-height: 1.5;
	text-rendering: optimizelegibility;
}


h1,
h2,
h3,
h4,
h5,
h6,
.tagline {
	/*clear: both;*/
    font-family: 'Londrina Solid', cursive;
	font-weight: 400; /* standard font */
	color: #e8214d;
    margin: 0 0 18px 0;
    margin: 0 0 1.125rem 0;
    line-height: 120%;
}
h1, h2 {
    font-size: 32px;
    font-size: 2rem;
}
@media only screen and (min-width:480px) {
    h1, h2 {
        font-size: 36px;
        font-size: 2.25rem;
        /*padding-top: 20px;
        color: #e8214d;*/
    }
}
h3 {
    /*font-size: 24px;
    font-size: 1.5rem;*/
    font-size: 28px;
    line-height: 1.2;
}
h4, h5, h6 {
    /*font-size: 22px;
    font-size: 1.375rem;*/
    font-size: 24px;
    font-size: 1.5rem;
}
.entry-title {
	text-align:left;
    padding-top: 15px;
}
.entry-header, .page-header {    margin: 0 0 1.125rem 0;
	/*background-color: #93a68c;
    background-color: rgba(147, 166, 140, 1);
	color: #fff;
	color: rgba(255, 255, 255, 1);
	padding-top:5px;
	padding-bottom:5px;
	animation: animationFrames ease 1s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards;
    -webkit-animation: animationFrames ease 1s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode: forwards;
    -moz-animation: animationFrames ease 1s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
    -moz-animation-fill-mode: forwards;
    -o-animation: animationFrames ease 1s;
    -o-animation-iteration-count: 1;
    -o-transform-origin: 50% 50%;
    -o-animation-fill-mode: forwards;
    -ms-animation: animationFrames ease 1s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%;
    -ms-animation-fill-mode: forwards;*/
        margin-bottom: 10px;
}
.entry-footer {
	
}
/*.blog .comments-link, .blog .edit-link, .single .edit-link {
	padding-left:5px;
}*/
.blog .comments-link:before, .blog .edit-link:before, .single .edit-link:before {
	content:" | ";
}
.blog .comments-link, .blog .edit-link, .single .edit-link, .archive .comments-link, .archive .edit-link {
	display:none;
}
	
.entry-content h2, h2.blog-home {
	/*width: 100%; 
    border-bottom: 2px solid #000;
	margin: 0 -9999rem;
    padding: 0.25rem 9999rem;
    background: rgba(232, 232, 233, 1);
	font-weight: 400;*/
}
/*.entry-content h2 a, h2.blog-home a {
	text-decoration:none;
}*/
p {
	margin-bottom: 1.5em;
	/* larger font size for paragraphs than normal 
	font-size: 18px;
	font-size: 1.125rem;*/
}
.site-content ul {
	/*font-size: 18px;
	font-size: 1.125rem;*/
}

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

blockquote {
    margin: 0.5em 0px;
    padding: 0.5em 1.7em 0.5em 0em;
    line-height: normal;
    quotes: "\201C""\201D""\2018""\2019";
    color: #000000;
    font-weight: 900; /* bold font */
    font-size: 22px;
    position: relative;
    display: block;
    font-family: 'Londrina Solid', cursive;
}
blockquote:before {
    content: open-quote;
    font-size: 4em;
    margin-right: 5px;
    line-height: 0.01em;
    vertical-align: -0.4em;
    font-family: 'Muli', sans-serif;
    color: #e8214d;
}
blockquote:after {
  	color: #e8214d;
    content: close-quote;
    font-family: 'Muli', sans-serif;
    font-size: 4em;
    line-height: 0.85em;
    padding: 0;
    margin-left: 5px;
    position: absolute;
}
blockquote > footer {
    font-size: 0.6em;
	padding-top: 20px;
}
blockquote p {
  display: inline;
}
.aligndivcenter blockquote {
    text-align: center;   
}


address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	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-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%;
}
#footer-widget-quote {
	margin-top: 30px;
}
#footer-widget-quote h3, #footer-widget-quote h5{
	color: #ffffff;
	color:rgba(255,255,255,1.00);
	padding-bottom:0px;
	margin:0px;
}
.site-footer .widget-title {
	color: #ffffff;
	color:rgba(255,255,255,1.00);
}
/*--------------------------------------------------------------
# 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;
}

body {
	background: #ffffff; /* Fallback for when there is no custom background color defined. */
}

.gridcontainer {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	padding-left: 2.5%;
	padding-right: 2.5%;
}
@media only screen and (min-width: 481px) {
.gridcontainer {
	width: 97.5%;
	padding-left: 1.25%;
	padding-right: 1.25%;
}
}
@media only screen and (min-width: 970px) {
.gridcontainer {
	width: 98.75%;
	max-width: 1200px;
	padding-left: 0.625%;
	padding-right: 0.625%;
	/*margin: auto;*/
	
}
}

.entry-content {
	/*padding-top:25px;*/
}
.page-template-full-width-background-image .entry-content, .page-template-full-width-background-image-event-form .entry-content, .page-template-homepage .entry-content { /* removes padding from heading for full screen background cover images */
	padding-top:0px;
	padding-bottom:0px;
}

/*blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}*/

hr {
	background-color: #e0e0e0;
    border: 0;
    height: 3px;
    margin-bottom: 0.6em;
    margin-top: 0.6em;
}

ul,
ol {
	/*margin: 0 0 1.5em 3em;*/
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

table {
	margin: 0 0 1.5em;
	width: 100%;
}
tbody tr {
    vertical-align: top;
}
tbody tr:nth-child(even), .esosuserinfo:nth-child(even) {
	background: #f7f7f7;
}
tbody tr:nth-child(odd), .esosuserinfo:nth-child(odd) {
	background: #f1f1f1;
}
thead {
    background-color: #000000;
    color: #ffffff;
}
thead h1, thead h2, thead h3, thead h4, thead h5, thead h6, .sticky-header h4 {
    color:#ffffff;
}
tfoot {
	border-top: 2px solid #000000;
}
/** for first row heading style 
tr:first-child {
	background-color: #7d7d7d;
	background-color: rgba(125,125,125,1.00);
    color: #fff;
	color: rgba(255,255,255,1.00);	
}***/
.tablepress tr:first-child {
	background: #000000;
    color:#ffffff;
}
h2.tablepress-table-name {
	font-size:1.2rem;
}
.col3 .tablepress td.column-1 {
    width: 20%;
}
.col3 .tablepress td.column-2 {
    width: 50%;
}
.col3 .tablepress td.column-3 {
    width: 30%;
}
thead tr {
	background-color: #000000;
    color: #fff;
}
.cookielawinfo-row-cat-table thead tr, table.cookielawinfo-classic thead tr th {
    background-color: #000000 !important;
    color: #ffffff;
}
td,
th {
	padding: 10px;
	/*border: 1px solid #9E9E9E;*/
}
/*** makes all long links wrap on smaller screens for .site-content ***/
.site-content a {
-ms-word-break: break-word;

     /* Be VERY careful with this, breaks normal words wh_erever */
     /*word-break: break-all;*/

     /* Non standard for webkit */
     word-break: break-word;
/*
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
	*/
}
/** makes trademark smaller and sans-serif for better legibility - used in conjunction with js/tm-class.js ***/
.tm {
    font-family: sans-serif;
    /*font-size: 0.8rem;*/
}

/** sticky table header (add .th.sticky-header for each th) */
td.sticky-header {
    background-color: #575757;
  position: sticky;
  top: 0;
  z-index: 10;
}
@media only screen and (min-width: 1200px) {
    td.sticky-header, .leadassessors .sticky-header {
        background-color: #575757;
        position: -webkit-sticky;
        position: sticky;
        top: 125px;
        z-index: 10;
    }
    /** for admin view - compensates for default nav bar at top **/
    .admin-bar td.sticky-header, .admin-bar .leadassessors .sticky-header {
        top: 157px; /* 125px + 32px */
    }
}

/*** END OF makes all long links and words wrap on smaller screens for .site-content ***/
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

/* removes default highlight on input fields within forms */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] /*, .collapseomatic */ {
	-moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
	border: 0;
	border-radius: 0px;
	/*background-image: linear-gradient(to top, #e8214d 0%, #00aeef 100%);*/
    background: #e8214d;
	color: #ffffff;
    padding: 0.25em 0.75em;
	display: inline-block;
	text-decoration:none;
	font-weight: 700;
	font-size: 18px;
    font-size: 1.15em;
	/*-moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);*/
	opacity:1;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	padding: .5em 1em .5em 1em;
	min-width: 25%;
	border-width: 2px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);*/
    font-family: Londrina Solid;
    font-size: 1.3em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover /*, .collapseomatic:hover*/ {
	opacity:0.8;
}



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;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);

	outline:thin solid rgba(136, 139, 145, 1);
	border-color: rgba(136, 139, 145, 1);
	border-radius: 3px;
	box-shadow:none;*/
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
	color: #000000;
	border: 1px solid #000000;
	border-radius: 0px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
	color: #000000;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"] {
    padding: 4px 5px;
}
select {
    min-height: 32px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

#searchmenu input[type="text"],
#searchmenu input[type="email"],
#searchmenu input[type="url"],
#searchmenu input[type="password"],
#searchmenu input[type="number"],
#searchmenu input[type="search"],
#searchmenu select,
#searchmenu textarea {
	color: #e8204d;
	border: 1px solid #ffffff;
	border-radius: 0px;
    font-family: 'Londrina Solid', cursive;
}
/*** Contact form 7 fixes ***/

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"], 
.wpcf7-form-control-wrap select {
	width:100%; /** fixes non-responsive form inputs but doesn't affect submit button **/
	height: 32px; /** ensures form inputs are same height **/
}
.left-form, .right-form {
		padding-bottom: 8px;
}
span.wpcf7-list-item {
    display: inline-block;
    margin: 0;
    padding-right: 10px;
}
input.wpcf7-form-control.wpcf7-text {
    border: 1px solid black;
}
@media only screen and (min-width: 470px) {
	.left-form {
		float: left;
		display: block;
		width: 50%;
		padding-right: 2%;
	}
	.right-form {
		float: left;
		display: block;
		width: 50%;
	}
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
@media only screen and (min-width: 700px) {
    #stickyheader {
        position: fixed;
        width: 100%;
        z-index: 999;
    }
}
.description-header {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height:450px;
  background-position:right top;
  position:relative;
}
.site-branding {
	padding-top:10px;
	padding-bottom:2px;
	font-size: 1.2rem;
	float:left;
}
.header-text {
	bottom:0px;
	width:100%;
	position:absolute;
	background-color:#fff;
	background-color: rgba(255, 255, 255, 0.7);
}
.description-header h2 {
	font-size: 1.2rem;
	/*font-weight: 400;*/
}
.tagline {
		display: none;
	
	}
.site-logo {
    /*max-width: 90px;
    width: 90px;
    max-width: 300px;*/
    width:100%;
    margin:auto;
}
.site-logo-link {
    display:grid;
}
.site-header::before {
    display:none;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 0.5fr;
    grid-template-areas: "logo logo logo logo logo logo" "topsearch topmenucontainer topmenucontainer topmenucontainer topmenucontainer menu-toggle";
    align-items: center;
}

.topsearch { grid-area: topsearch; }

#logo { grid-area: logo;}

#topmenucontainer { grid-area: topmenucontainer; }

.menu-toggle { grid-area: menu-toggle; }



/*
.site-header {
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
}
*/
@media only screen and (min-width: 275px) {
	.site-branding {
		/*max-width:150px;*/
	}   
    .site-header {
		/*padding: 10px 0 10px 0;
        grid-template-columns: 5fr 2fr 2fr 1fr;
        grid-template-rows: auto;*/
	}
}
@media only screen and (min-width: 470px) {

	.site-logo {
   		/*max-width: 100px;
        width: 100px;
        max-width: 221px;*/
        width: 100%;
        margin:auto;
	}
}
@media only screen and (min-width: 600px) {
	.description-header h2 {
		padding-top:20px;
		margin:0;
		width:50%;
	}
	.header-text {
		position: inherit;
		background:none;
	}
}
@media only screen and (min-width: 700px) {
	.site-branding {
		/*padding-top:10px;
		padding-bottom:0px;*/
	}
    .site-header {
		/*padding: 10px 0 10px 0;
        grid-template-columns: 3fr 3fr 2fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "logo topsearch topmenucontainer topmenucontainer menu-toggle";*/
        grid-template-columns: 3fr 3fr 2fr 0.5fr;
        grid-template-rows: 1fr;
        grid-template-areas: "logo topsearch topmenucontainer menu-toggle";
	}
    #stickyheader {
        /*display: grid;
        grid-template-columns: 9fr 1fr;*/
    }
    .site-logo {
        margin:inherit;
	}
}
@media only screen and (min-width: 945px) {
    .site-logo {
       max-width: 300px;
    }
}
@media only screen and (min-width: 1200px) {
    #stickyheader {
        display: block;
    }
    .site-logo-link {
        margin-right: 20px;
    }
	/*logo */
	.site-branding {
		/*float:left;
		width: 40%;
		padding-top: 18px;*/
		/*padding-bottom: 7px;
		font-size: 1.4rem;*/
	}
	.scrolled .site-branding {
    	padding: 5px 0 0 0;
	}
	.tagline {
        clear: both;
        font-size: 18px;
        font-size: 1.125rem;
        display: block;
        color: #ffffff;
        text-align: center;
        margin: 0;
        grid-area: tagline;
        display:none;
	}
	.site-logo {
        width: 450px;
        max-width: 450px;
	}
     .site-header {
		/*padding: 10px 0 10px 0;*/
        display: grid;
        /*grid-template-columns: 450px 340px 200px auto;
        align-items: center;*/
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        /*grid-template-areas: "logo logo logo logo tagline tagline topsearch topsearch topmenucontainer topmenucontainer";*/
         grid-template-areas: "logo logo logo logo topsearch topsearch topsearch topsearch topmenucontainer topmenucontainer";
         
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #e8214d;
	text-decoration: underline;
	-webkit-transition: all 0.5s ease;
  	-moz-transition: all 0.5s ease;
  	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

a:visited {
	
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
	color: #e8214d;
}
a:hover {
    opacity: 0.8;
}
.so-widget-sow-button a {
	text-decoration: none;
}
/*a:focus {
	outline: thin dotted;
}*/

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

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

/*** TOPWIDGET - Social icons ***/

#topwidgetsocial::after {
    content:"";
    display:block;
    clear:both;
	}
#topwidgetsocial a {
	display:block;
	margin:0;
	padding: 2px;
}
#topwidgetocial .widget {
	margin:0;
}
#topwidgetsocial .widget_search::after {
	content:"\f002";
	font-family: FontAwesome; 
    font-size: 24px; 
}
#topmenu ul {
    grid-template-columns: 1fr 0 1fr;
}
#topmenu .menu-item-101249 { /* change number for new menu class if changed */
    display:none;
    margin: auto;
    display: grid;
    grid-auto-columns: auto;
}
.logged-in #topmenu ul {
    grid-template-columns: 1fr 1fr 1fr;
}
.logged-in #topmenu .menu-item-101249 { /* change number for new menu class if changed */
    display:block;
}

@media only screen and (min-width: 580px) {
	#topwidgetsocial {
		display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
		display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
		display: -ms-flexbox;      /* TWEENER - IE 10 */
		display: -webkit-flex;     /* NEW - Chrome */
		display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
		width:auto;
		display:block;
	}
	#topmenu a {
    	/*padding: 5px 10px;*/
	}
}
/* following makes top links all use equal spacing regardless of width on mobiles */
@media only screen and (max-width: 699px) {
	#topwidgetcontact p {
		display: flex;
	}
	#topmenu ul {
    	/*display: flex;*/
        display: grid;
        align-items: stretch;
        align-content: space-evenly;
	}
	#topmenu li {
		flex: auto;
	}
	#topmenu li a, #topwidgetcontact a {
		flex: auto;
	}
}
/* END following makes top links all use equal spacing regardless of width on mobiles */
/*** TOP MENU ***/

#topmenu {
	background-color: #e8214d;
	color:#ffffff;
    font-size: 14px;
    font-size: 0.875em;
}
#topmenu::after {
    content:"";
    display:block;
    clear:both;
	}
#topmenu ul {
	list-style: none;
	padding:0px;
	margin:0px;
}
#topmenu li {
	margin:auto;
	display:grid;
	grid-auto-columns: auto;
}
#topmenu a {
	color: #ffffff;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
}
#topmenu li a:before, #topwidgetcontact a:before, .searchmenuheader button {
	font-family: "FontAwesome"; 
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
	font-size: 18px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.searchmenuheader form.search-form {
    position: relative;
}
.searchmenuheader button {
    background: #ffffff;
    position: absolute;
    right: 0;
    padding: 0 10px;
}
.searchmenuheader button i {
    font-style: normal;
}
.searchmenuheader label {
    width: 100%;
    position: absolute;
}
.searchmenuheader .fa-search { 
    color: #e8204d;
}
.searchmenuheader .search-field::placeholder { 
    color: #e8204d;
}
wpmenucartli {
    /* padding: 0; */
    margin: 0;
}
a.wpmenucart-contents.empty-wpmenucart-visible {
    display: flex;
    align-items: center;
}
i.wpmenucart-icon-shopping-cart-0 {
    font-size: 30px;
}
li.wpmenucartli a.wpmenucart-contents span {
    font-family: 'Londrina Solid', cursive;
    display:none !important;
}
.topmenu li:before {
    display: block;
}
#topmenu li a[href*="searchopen"]:before { 
    content: '\f002';
    color:#ffffff;
}
#topmenu li a[href*="twitter.com"]:before {
    content: '\f099';
}
#topmenu li a[href*="linkedin.com"]:before {
    content: '\f0e1';
}
#topmenu li a[href*="my-account"]:before {
    content: '\f007';
}
#topmenu li a[href*="logout"], #topmenu li:nth-of-type(3){ /* hide 'logout' if not logged in */
     display:none;
}
.logged-in #topmenu li a[href*="logout"], #topmenu li:nth-of-type(3){ /* show 'logout' if not logged in */
     display:grid;
}
#topmenu li a[href*="logout"]:before {
    content: '\f08b';
}
/*#topmenu li a[href*="cart"]:before {
    content: '\f07a';
}*/
/* hides text within navigation but still shows icon */
#topmenu li a[href*="searchopen"], #topmenu li a[href*="my-account"], #topmenu li a[href*="logout"]{
	padding: 0px 10px;
	margin-right: 0%;
	/* visibility: hidden; */
	font-size: 0;
}
#topwidgetcontact a:first-of-type {
	padding: 0px 18px 0px 0px;
}
#topwidgetsocial li:last-of-type a{
	padding: 0px 0px 0px 15px;
}
/* END hides text within navigation but still shows icon */
#topwidgetcontact > aside {
	margin: 0;
}
#topwidgetcontact p {
    margin: 0;
    padding: 0;
}
/* shows tel and email icons only on small screens */
#topwidgetcontact a[href*="mailto:"]:before {
    content: '\f0e0';
}
#topwidgetcontact a[href*="tel:"]:before {
    content: '\f095';
}
#topmenucontainer {/*
	display: grid;
	grid-template-columns: 2fr 5fr;*/
	align-items: center; /* centers height of content within these divs */
}
.topsearch #searchmenu {
        display: none;
    }
#topmenu li a:before, #topwidgetcontact a:before {
		font-size: 30px; 
	}
.topsearch .search-open {
    font-family: "FontAwesome";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-size: 18px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    /*float: right;*/
}
.topsearch .search-open .fa-search {
    color:#ffffff;
    font-size: 30px;
    font-style: normal;
}
@media only screen and (max-width: 699px) {
    .topsearch #searchmenu.reveal {
        display: block;
        position: absolute;
        right: 0;
        /*margin-top: 50px;*/
        padding-top: 30px;
        background: #e8214d;
        min-height: 60px;
    }
        .topsearch #searchmenu {
        -moz-transition: all .5s ease;
        -o-transition: all .5s ease;
        -webkit-transition: all .5s ease;
        transition: all .5s ease;
    }
    .searchmenudrop {
        margin-top:60px;
    }
}
@media only screen and (min-width: 700px) {
    #topmenu li a, #topwidgetcontact a {
	   /*padding: 0px 15px;*/
    }
    #topmenu li a[href*="searchopen"], #topmenu li a[href*="my-account"], #topmenu li a[href*="logout"]{
        font-family: 'Londrina Solid', cursive;
        font-size: inherit;
    }
    #top-menu li a {
        display: inline-grid;
        align-items: start;
    }
	#topmenu li {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
	/*float:left;*/
	width:auto;
	}
	#topmenu ul {
        padding: 0;
        margin: 0 auto;
        height: auto;
        display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;      /* TWEENER - IE 10 */
        display: -webkit-flex;     /* NEW - Chrome */
        display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
        justify-content: space-between;
	}
	#topmenucontainer {
		/*max-width: 1200px;
		margin: auto;
    	grid-template-columns: 2fr 3fr;*/
	}
	#topmenu ul {
		min-height: 28px;
	}
    li.wpmenucartli a.wpmenucart-contents span {
        display:inline-block!important;
    }
    .topsearch .search-open {
        display:none;
    }
    .topsearch #searchmenu {
        display: block;
    }
}
@media only screen and (min-width: 700px) {
    .topsearch {
        margin: 0 5%;
    }
}

@media only screen and (min-width: 830px) {
    #topmenucontainer {
    	/*grid-template-columns: 1fr 1fr;*/
	}
/* hides tel and email icons on larger screens */
	#topwidgetcontact a[href*="mailto:"]:before, #topwidgetcontact a[href*="tel:"]:before {
		content: none;
	}
	/* shows text within navigation but still shows icon */
	#topwidgetcontact a {
		font-size: 16px;
    	font-size: 1rem;
	}
	#topwidgetcontact a {
		border-right: 1px solid white;
	}
	#topwidgetcontact a:last-of-type {
		border-right: 0;
	}
    #topmenu ul li:first-of-type {
        padding-left: 15%;
    }
    .logged-in #topmenu ul li:first-of-type {
        padding-left: 0;
    }
}
@media only screen and (min-width: 1200px) {
    #topmenu li {
        margin: initial;
    }
    #topmenucontainer {
        margin-left: 10%;
	}
}


/**** TOP SEARCH MENU BAR ****/

a[href$="searchopen"] {
	display: none; /*** hides 'search' menu text on mobile / tablet views so only search menu displays */
}
.searchmenu form {
	display: grid;
    grid-template-columns: 8fr 2fr;
    align-items: center;
}

a[href$="searchopen"] {
    display: block; /*** shows 'search' menu icon on desktop view */
}
.searchmenu {
    /* hides search initially 
    visibility: hidden;
    opacity: 0;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    transform-origin: top;
    transform: scaleY(0);
    transition-delay: 0s;
    position: relative;
    width: 100%;
    z-index: 100;
    height:0;/* end hides search initially */
    width: 100%;
}
.searchmenu.reveal {
    /* shows search when #searchopen link is clicked 
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    height: 34px;
    margin-bottom: 10px;
    transform: scaleY(1);
    /* end shows search when #searchopen link is clicked */
}
.searchmenu .search-form input.search-field {
    width: 97%;
    /* height: 24px; */	
    margin-bottom: 0px;
    width: -webkit-fill-available;
    font-size: 1.5em;
}
.searchmenu input.search-submit {
	background-color: #e8214d;
	border-radius: 0;
	-moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
@media only screen and (min-width: 700px) {
    .searchmenu .search-form input.search-field {
		height: 24px;	
        font-size: 1em;
	}
}

/**** END TOP SEARCH MENU BAR ****/

/**** MAIN NAVIGATION MENU ****/

.site-navigation-back {
	background-color: #000000;
	z-index: 999;
	font-weight: 400;
	/*box-shadow: 0 1px 2px 0 rgba(0,0,0,.125);
	top: 30px;*/
	width: 100%;
	color: #ffffff;
	/*** fixes safari hover on submenus changing navigation font weight ***/
	-webkit-font-smoothing: antialiased;
	moz-font-smoothing: antialiased;
	o-font-smoothing: antialiased;
	font-smoothing: antialiased;
	font-family: 'Lato', sans-serif;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
    transform-origin: top;
    transition-delay: 0s;
}
#menuscontainer {
	z-index: 100;
	/*background-color: #888888;*/
}
@media only screen and (min-width: 1200px) {
	#menuscontainer {
		position:fixed;
		width: 100%;
	}
	/*.site-navigation-back, #top-menu {
		position: fixed;
	}*/
	/*** makes header menu items center align vertically automatically using flex css ***/
	.site-navigation-back header {
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		display: flex;
	}
	.site-navigation-back .headercontain {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	.site-navigation-back .site-branding.headercontain { /* need this to tell flex that the navigation and tagline section should span 30% otherwise it's a smaller width if contents aren't big enough on desktops */
		width:16%;
		min-height: 112px;
		-webkit-box-align: left;
		-webkit-align-items: left;
		-ms-flex-align: left;
		align-items: left;
		-webkit-box-pack: left;
		-webkit-justify-content: left;
		-ms-flex-pack: left;
		justify-content: left;
		display: flex;
	}
	.site-navigation-back .headercontain.nav-tag { /* need this to tell flex that the navigation and tagline section should span 70% otherwise it's a smaller width if contents aren't big enough on desktops */
		width:84%;
	}
	/*** END makes header menu items center align vertically automatically using flex css 
	.admin-bar .site-navigation-back {
		padding-top: 30px;
	}***/
}


.main-navigation {
	display: block;
	width: auto;
	/*line-height: 48px; */
	z-index: 1; 
	/*padding-top: 20px;*/
	padding-bottom: 0px;
	/*min-height:40px;*/
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
    font-family: 'Londrina Solid', cursive;
}
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	font-weight: 700;
}

.main-navigation li {
	position: relative;
	padding-top:3px;
	padding-bottom:2px;
	border-bottom: 1px solid #ffffff61;
}
.main-navigation li:last-child {
	border:none;
}

.main-navigation a {
	display: inline-block;  
    width: 100%;  
    text-align: left;  
    text-decoration: none;
	padding-top:5px;
	padding-bottom:5px;
	color: #ffffff;
}

.main-navigation ul ul {
	/*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);*/
	/*float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
	padding-left:10px;
	padding-right:10px;*/
	display:none;
}
.main-navigation ul ul a {
	padding-left:10px;
	padding-right:10px;

}
	.main-navigation ul ul a:hover {
		-webkit-transition: 0.5s ease;
		-moz-transition: 0.5s ease;
		-o-transition: 0.5s ease;
		transition: 0.5s ease;
	}
@media only screen and (min-width: 1200px) {
    .main-navigation {
        /*min-height: 50px;*/
    }
	.main-navigation ul ul li:hover {
		display:block;
	}
	.main-navigation li {
		border-bottom: 1px solid #88888861;
	}
	li.menu-item-has-children:hover > ul {
		display: block;
	}
	li.menu-item-has-children img {
		display: none;
	}
	.submenu-arrow:after {
		padding-left:5px;
	}
}
.submenu-arrow:after {
			content:"▼";
			font-family: 'Arial', sans-serif;
			-webkit-transition: 0.5s ease;
			-moz-transition: 0.5s ease;
			-o-transition: 0.5s ease;
			transition: 0.5s ease;
			font-size: 12px;
		}
		.submenu-arrow.open:after {
			content:"▼";
			font-family: 'Arial', sans-serif;
			-webkit-transition: 0.5s ease;
			-moz-transition: 0.5s ease;
			-o-transition: 0.5s ease;
			transition: 0.5s ease;
			font-size: 12px;
		}
/**/
@media only screen and (max-width: 1199px) {
		.main-navigation a {
			width: 85%;
		}
		li.menu-item-has-children .submenu-arrow {
			float: right;
			margin: 0;
			padding: 0;
			cursor: pointer;
			display: block;
			-webkit-transition: 0.5s ease;
			-moz-transition: 0.5s ease;
			-o-transition: 0.5s ease;
			transition: 0.5s ease;
		}
		.sub-menu.open {
		   -webkit-transition: 0.5s ease;
			-moz-transition: 0.5s ease;
			-o-transition: 0.5s ease;
			transition: 0.5s ease;
		}
		.main-navigation li.menu-item-has-children > ul {
			display:none;
			transition: 0.5s ease;/**/
		}
		.main-navigation li.menu-item-has-children.open > ul a:after {
			display:block;
			-webkit-transition: 0.5s ease;
			-moz-transition: 0.5s ease;
			-o-transition: 0.5s ease;
			transition: 0.5s ease;/**/
		}
	}

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

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

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a, .current-page-ancestor > a, .current_page_item > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
	color:#ffffff;
}
.main-navigation ul ul .current-page-ancestor > a, .main-navigation ul ul .current_page_item > a {
	color:#ffffff;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	    color: #e8204d;
}
@media only screen and (max-width: 1199px) {
    /* Small menu. */
    .menu-toggle,
    .main-navigation.toggled ul#primary-menu {
        display: inline-block;
        width:100%;
        margin-bottom:0px;
        /*padding-top:12px;
        padding-bottom:12px;*/
        text-align:left;
        border:none;
        background:none;
        font-size: 1.5em;
    }
    .menu-toggle::before {
        content: "☰";
        font-size:1.5rem;
    }
    .menu-toggle {
        color: #ffffff;
        padding-left:0px;
        padding-right: 0px;
        background: none;
        width:auto;
        border-radius: 0;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        text-align: right;
    }
    .menu-toggle:hover {
        background: none;
    }
}

/*removes default focus highlight of button input from small menu - styling the colour of the outline to something different when clicked removes the default 
.menu-toggle:focus {
	outline:thin solid rgba(136, 139, 145, 1);
	border-color: rgba(136, 139, 145, 1);
	border-radius: 3px;
	box-shadow:none;
}*/
@media only screen and (min-width: 275px) {

.menu-main-menu-container {
		width:100%;
		clear:both;
	}
	.site-branding {
		float:left;
	}
	.main-navigation {   
		/*padding-top: 5px;*/
    } 
}
@media only screen and (min-width: 470px) {
	.menu-toggle {
		/*float:right;
		width:auto;
		margin-top: 15px;
		padding-top:10px;
		padding-right: 0;*/
        right: 0;
        width: auto;
        padding-right: 1.25%;
        /*position: absolute;*/
    }
	.menu-main-menu-container {
		width:100%;
		clear:both;
	}
	
	.main-navigation {   
		/* padding-top: 20px; */
    }
	
}

@media only screen and (min-width: 1200px) {
    .main-navigation {   
            height: auto; 
            display: block;
            /*float: right;*/
            padding-top: 0px;
        }   
    .main-navigation > div > ul > li{  
            /*width: 50%;  
            float: left;  
            */ /** Grid style navigation**/
            position: relative;
            /*float: left;
            padding-top:10px;
            padding-bottom:0px;
            border-right: 1px solid #cdcdcd;*/
            border-bottom: none;
            margin: 5px 0;
    } 
    .main-navigation a {  
         /*   text-align: left;  */
            width: 100%;  
         /*   text-indent: 25px;  */
         padding-top: 10px;
            padding-bottom:0px;
    } 

    .main-navigation li:hover > a,
    .main-navigation li.focus > a, 
    .main-navigation .current-menu-item > a {
        /*border-bottom: 2px solid #c0c0c0;
        border-bottom: 2px solid rgba(192, 192, 192, 1);
        color: #c0c0c0;
        color: rgba(192, 192, 192, 1);*/
    }

    .main-navigation > li:last-child {  
        padding-right: 0px;
        padding-right: 0rem; 
        border-right: none;
    } 
    .main-navigation > li:first-child a {  
       /*border-right: none;*/
    }	

	.main-navigation ul {
		display: block;
	}
	.menu-toggle {
		display:none;
	}
	
	.sub-menu {
	 position: absolute;
    max-width: 250px;
	min-width: 200px;
	/*width:100%;*/
	background-color: #ffffff;
    background-color: rgba(255, 255, 255, 1);
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
	}

	.sub-menu > li {
		margin-bottom:0px;
		margin-top:0px;
	}
	main-navigation ul ul {
		padding-left:0px;
	}
	li.menu-item-has-children > ul {
    	/*margin-left:-10px;*/
		margin-top: 0px;
	}
	.main-navigation ul ul a {
    	text-align: left;
		padding-top:6px;
		padding-bottom:6px;
	}
	.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
		margin-left: 150px;
		margin-top: -33px;
	}
	.main-navigation ul ul li {
		float:none;
	}
	.main-navigation ul ul :hover > a,
	.main-navigation ul ul .focus > a {
		color:#888888;
	}
	.main-navigation ul ul .current-page-ancestor > a, .main-navigation ul ul .current_page_item > a {
		color:#888888;
	}
}

@media only screen and (min-width: 1200px) {
	.main-navigation {
		display: block;
		/*float: right;*/
		clear: both;
		/*padding-top:8px;
		margin-bottom: 12px;
		padding-bottom: 18px;*/
	}  
	.main-navigation ul {  
		padding: 0;  
		margin: 0 auto;     
		height: auto;
        display: flex;
        justify-content: space-between;
	}   
	.main-navigation li {  
		display: block;
		padding-top:0px;
		padding-bottom:0px;
	}
	.main-navigation li:last-child {
		margin-right: 0%; 
		padding-right: 0;
	}
	.main-navigation li a {
		text-align: center;	
		font-size: 20px;
    	font-size: 1.25em;
	} 
	.main-navigation ul ul li a {
		font-size: 16px;
    	font-size: 1em;
		/*color: #e8214d;*/
	} 
	#primary-menu > li > a {
		display: inline;
  		position: relative;
  		overflow: hidden;
	}


.main-navigation a#pull {  
    display: none;  
}
.main-navigation a {  
        text-indent: 0px;  
	    font-size: 16px;
    	font-size: 1rem;
    }
}
@media only screen and (min-width: 940px) {
.main-navigation > div > ul > li{  
		/*padding-right: 45px;
   		padding-right: 2.8rem;*/
	}
}
/*--------------------------------------------------------------
# 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;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 0px;
	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. */
}

/*--------------------------------------------------------------
# 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;
}
@media only screen and (max-width: 850px) {
	.alignleft {
	display: block;
	float: none;
	margin-right: 0;
	clear: both;
	padding-bottom:5px;
	padding-top:5px;
}

.alignright {
	display: block;
	float: none;
	margin-left: 0;
	clear: both;
	padding-bottom:5px;
	padding-top:5px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-bottom:5px;
	padding-top:5px;
}
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	/*display: none;*/
	margin-top:5px;
}
.search-page-form {
    margin-top: 20px;
    margin-bottom: 40px;
}
.search-page-form input.search-field, .search-form input.search-field {
    margin-bottom: 10px;
}

.search-page-form form, .error-content form {
	display: grid;
    grid-template-columns: 8fr 2fr;
    align-items: center;
}
.search-page-form, .error-content {
    width: 100%;
}
.search-page-form .search-form input.search-field, .error-content .search-form input.search-field {
    width: 97%;
    height: 24px;	
    margin-bottom: 0px;
    width: -webkit-fill-available;
}
.search-page-form input.search-submit, .error-content input.search-submit {
    background-color: #e8214d;
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#secondary .widget ul li, footer .widget ul li {
	margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	background-color: #ffffff;
	color: #000000;
    padding-top: 20px;
	/*margin-top: 20px;*/
	text-align:center;
	/*** sticky footer ***/
	margin-top: auto;
	/*** END sticky footer ***/
	font-size: 14px;
    font-size: 0.875rem;
	font-weight:400;
	font-family: 'Lato', sans-serif;
    border-top: 2px solid #000000;
    padding-bottom: 30px;
}
/*** makes footer images centered in mobile / tablet view ***/
aside.footer img {
    text-align: center;
    margin: auto;
}
.page-template-full-width-background-image footer.site-footer { /* removes padding from heading for full screen background cover images */
	margin-top: 0px;
}
.site-footer a {
	color: #000000;
	text-decoration:none;
	/*font-weight: 400;*/
}
.site-footer a:hover {
	/*text-decoration:underline;*/
}
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6 {
	color: #000000;
	font-weight:400;
}

footer #footer-menu {
    list-style: none;
	padding: 0px;
    margin: 0px;
}
footer ul.menu  {
    list-style: none;
	padding-left: 0px;
    margin-left: 0px;
}
footer #footer-designer, footer .socialfooter {
	clear:both;
	padding: 25px 0;
}
#footer-widget-1, #footer-widget-2 {
	/*padding-top: 5px;*/
	padding-bottom:20px;
	border-bottom: 1px solid #ffffff;
	border-bottom: 1px solid rgba(255,255,255,0.5);
}
#footer-menu li {
	padding-bottom:25px;
}
.social-media-button-container {
    display: flex;
    justify-content: center;
}
#footer-menu li:last-child {
	padding-bottom:0px;
}
footer .so-widget-sow-social-media-buttons a:first-child{
    margin-left: 0 !important;
}
.footer-widget-2.widget {
    margin: 0 0 1em;
}
.footer-widget-2 p, .footer-designer a, footer #footer-designer {
		text-align: center;
	}
@media only screen and (min-width: 850px) {
    .site-footer {
        padding-bottom: auto;
    }
    .site-footer-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }
    .footer-widget-1.widget {
        margin: 0;
    }
    .site-footer {
		text-align:left;
        padding: 15px 0;
	}
    .site-footer p {
        margin-bottom: 0;
    }
    .social-media-button-container {
        display: block;
        justify-content: left;
    }
	footer .so-widget-sow-social-media-buttons {
		/*margin-bottom:20px;*/
	}
	footer a.sow-social-media-button {
		padding: 0 !important;
		margin: 20px 0 0 40px !important;
	}
	/*#footer-menu li:not(:first-child):before {
		content: '|';
		line-height: 12px;
		display: inline-block;
		padding: 0 10px 0 10px;
	}*/
	footer #footer-widget-copyright, footer #footer-designer, footer .menu-footer-menu-container, footer .socialfooter {
		/*float: left;
		padding-top: 0px;
		clear: none;*/
		display: inline-flex;
	}
	footer .socialfooter, footer .site-info {
		/*text-align:right;  keeps social link images right aligned on desktops */
		clear:both;
		/*border-top: 1px #403E3E solid;
		border-top: 1px rgba(255, 255, 255, 0.19) solid;*/
	}
	footer .social-media-button-container {
			/*text-align:right!important;*/
		}
	footer .sow-image-container {
		text-align:left!important;
        justify-content: left!important;
	}
	/** adds pipes in desktop views on copyright section lines 
	#footer-menu li:before, #footer-designer:before {
		content:"\007C";
		float:left;
		padding-left:5px;
		padding-right:5px;
	}**/ 
	#footer-menu li {
		padding-bottom:0px;
		/*float:left;*/
	}
	footer #footer-menu {
		display: inline-flex;
	}
	footer .socialfooter {
		float:right;
	}
	#footer-widget-1, #footer-widget-2, #footer-widget-3 {
		padding-top: 0px;
		padding-bottom:0px;
		margin-bottom: 0;
		border-bottom: none;
	}
	.footer-widget-2 p, .footer-designer a, footer #footer-designer, footer #footerlinks, .footer-widget-2 h4, .footer-widget-2 h3 {
		text-align: right;
	}
    footer #footer-designer, footer .socialfooter {
        padding-top: 0;
    }
	/*#footerlinks {
    	float: right;
	}
	#footer-designer:before{
		content:'|';
		line-height: 12px;	
		display:inline-block;
		padding: 0 5px 0 10px;
	}*/
    footer ul.menu li, #footer-designer a {
        padding-left: 10px;
    }
	.footerbottom {
		width:100%;
		clear:both;
		display: grid;
		grid-template-columns: auto auto;
	}
	.quarters {
		float:left;
		width: 23%;
		padding-right:2%;
	}
	.footer .quarters:last-child {
		padding-right:0%;
	}
	.halves {
		float:left;
		width: 48%;
		padding-right:2%;
	}
	.footer .halves:last-child {
		padding-right:0%;
	}
	.thirds {
		width: 33%;
		padding-right:2%;
	}
	.footer .thirds:last-child {
		padding-right:0%;
	}
	.fourths {
		width: 24.5%;
		padding-right:2%;
	}
	.footer .fourths:last-child {
		padding-right:0%;
	}
	.fifths {
		width: 18%;
		padding-right:2%;
	}
	.footer .fifths:last-child {
		padding-right:0%;
	}
	.sixths {
		width: 14%;
		padding-right:2%;
	}
	.footer .sixths:last-child {
		padding-right:0%;
	}
	.half {
		max-width:50%;
	}
	.footer .first {
		float:left;
	}
	.footer .second {
		float:left;
	}
	.footer .third {
		float:left;
	}
	.footer .fourth {
		float:left;
	}
	.footer .fifth {
		float:left;
	}
	.footer .sixth {
		float:left;
	}
	.footer .lastinrow {
		float:right;
		text-align: right;
	}
	

}
#tagline-footer {
	clear:both;
}
@media only screen and (min-width: 950px) {
	#tagline-footer {
		 float: right;
		clear:none;
	}
	#tagline-footer p {
		margin-top: 0;
	}
}
.page-template-main-page-no-margin-footer footer {
	margin-top: 0;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.site-content.searchmenuopen { /*positions site content below fixed navigation when search bar is opened */
		margin-top: 201px;
	}

@media only screen and (min-width: 700px) and (max-width: 1198px) {
    .site-content {
        margin-top: 106px;
    }
    .undernavbarenabled .site-content { /*positions site content below fixed navigation with undernavbar widget enabled */
		margin-top: 250px;
    }
}
@media only screen and (min-width: 781px) and (max-width: 1198px) {
    .undernavbarenabled .site-content { /*positions site content below fixed navigation with undernavbar widget enabled */
		margin-top: 185px;
    }
}
@media only screen and (min-width: 1199px) and (max-width: 1289px) {
    .site-content { /*positions site content below fixed navigation */
		margin-top: 160px;
		transition: all .5s ease;
		transform-origin: left top;
		transition-delay: 0s;
	}
    .undernavbarenabled .site-content { /*positions site content below fixed navigation with undernavbar widget enabled */
		margin-top: 235px;
    }
}
@media only screen and (min-width: 1290px) {
	.site-content { /*positions site content below fixed navigation */
		margin-top: 120px; /* was margin-top: 107px; */
		transition: all .5s ease;
		transform-origin: left top;
		transition-delay: 0s;
	}
    .undernavbarenabled .site-content { /*positions site content below fixed navigation with undernavbar widget enabled */
		margin-top: 195px; 
    }
}
.sticky {
	display: block;
}

.hentry {
	/*margin: 0 0 1.5em;*/
}

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

.single .byline,
.group-blog .byline {
	display: inline;/*** WAS inline - hides byline in posted_on - e.g. the author name ***/
}

.page-content,
.entry-content,
.entry-summary {
	/*margin: 1.5em 0 0;*/
}

.page-links {
	clear: both;
	/*margin: 0 0 1.5em;*/
}

nav.navigation.posts-navigation {
    width: 100%;
}
.paged .nav-links {
	display: flex;
    /*padding: 10px;
    background-color: #333f49;
	background-color: rgba(51,63,73,1.00);*/
}
.nav-links .nav-previous a, .nav-links .nav-next a {
    width: 100%;
    display: block;
    text-decoration: none;
}

.paged .nav-previous {
	flex: 45%;
    text-align:left;
    margin-right: 10px;
}
.paged .nav-next {
    text-align: right;
    flex: 45%;
    margin-left: 10px;
}
.nav-previous a, .nav-next a {
	/*color:#fff;
	color:rgba(255,255,255,1.00);*/
	text-decoration: none;
}
.nav-previous a::before {
	content: "\f100";
    font-family: FontAwesome;
	padding-right:5px;
	text-decoration: none;
	display:inline-block;
}
.nav-next a::after {
	content: "\f101";
    font-family: FontAwesome;
	padding-left:5px;
	text-decoration: none;
	display:inline-block;
}
.nav-previous a:hover, .nav-next a:hover {
	text-decoration: underline;
}
.blog .content-left {
    border-bottom: 2px solid #333f49;
	border-bottom: 2px solid rgba(51,63,73,1.00);
}
.featured-blog-image {
	text-align:left;
}
.featured-blog-image img{
	/* max-height:350px;*/
    min-width: 100%;
}
a.blog-back {
	text-decoration:none;
	color:#fff;
}
a.blog-back:hover {
	text-decoration:underline;
}
/*** blog page / archives ***/
a.blog-page-links, a.blog-page-links:hover, a.blog-page-links a {
    text-decoration: none;
    display: block;
}
h2.blog-page-loop-title {
   font-size: 1.8rem;
}
#article-container article {
    margin-bottom: 80px;
    position: relative; /* helps position button at bottom */
    max-width: 406px;
}
#article-container article button {
    position: absolute;
    bottom: -30px;
    width: 100%;
    margin-right: 20px;
}
@media only screen and (min-width: 700px) {
    #article-container {
        display:flex;
        flex-wrap: wrap;
    }
    #article-container article {
        flex:48%;
    }
    #article-container article:nth-of-type(1n) {
        margin-right: 2%;
    }
    #article-container article:nth-of-type(2n) {
        margin-right: 0%;
    }

}
.blog-page-links .entry-meta {
    display: block;
    color: #000;
    font-size: 0.8em;
}
.blog-page-excerpt {
    color: #000;
}
.blog-page-excerpt p {
    margin-top: 0;
}
#article-container article .rt-reading-time {
    font-weight: 300;
    font-family: inherit;
    color: #000;
    font-size: 0.8em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

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

.bypostauthor {
	display: block;
}

.comment-list, .comment-list ol {
    list-style: none;
    padding: 0;
}
article.comment-body {
    margin-bottom: 20px;
    background-color: #f7f7f7;
    padding: 10px;
}

@media only screen and (min-width: 581px) {
    article .comment-author.vcard {
        float: left;
    }
    article .comment-metadata {
        float: right;
    }
    article .comment-content {
        clear: both;
    }
}


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

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
    margin: 0;
}

.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;
}


/*** # SIDEBAR ***/
@media only screen and (max-width: 969px) {
    .sidebar-right img {
        max-width: 320px !important;
        display: block;
        margin:auto;
    }
}
@media only screen and (min-width: 970px) {
    .sidebar-right {
        /*background-color: #EEEEEE;
        background-color: rgba(238, 238, 238, 1);
        padding: 10px;
        margin-top:40px;
        background-color: #f3f3f3;
        background-color: rgba(243,243,243,1.00);*/
        border-left: 3px solid #e0e0e0;
    }
}
.sidebar-right ul {
	list-style-type:none;
	padding:0px;
	margin: 0px;
}
.sidebar-right a {
	text-decoration:underline;
}
/*article header {
	background: #f0f0f0;
    background: rgba(240, 240, 240, 1);
}*/
/**.archive article {
    padding-bottom: 15px;
	padding-top:15px;
	border-bottom: 3px solid #808285;
	border-bottom: 3px solid rgb(128, 130, 133);
}
.archive article:last-child {
    padding-bottom: 0px;
	border-bottom: 0;
}
.archive article:first-child {
    padding-top: 0px;
}
**/
.blog .entry-title {
	border:none;
	/*padding: 0px;*/
}
.sidebar-right aside {
	/*border-bottom: 3px solid #323E48; */
    padding-bottom: 20px;
}
/*.sidebar-right aside:first-child {
	border-top: 3px solid #323E48;
	padding-top: 15px;
}*/
.sidebar-right aside:last-child {
	border-bottom: none;
}
.sidebar-right .widget-title {
	font-weight:400;
	border-bottom: 2px solid #e8214d;
    color: #e8214d;
}
@media only screen and (min-width: 970px) {
	.sidebar-right aside:first-child {
		border-top: none;
		padding-top: 0px;
	}
}

/*** make posts pages have a sidebar to the right on desktops ***/

@media only screen and (min-width: 970px) {
    .content-left {
        float:left;
        max-width:850px;
        width: 70%;
        clear:none;
    }
    .content-center {
        width: 100%;
        clear:none;
    }
    .article-left { /* makes the main blog article page excerpts float left */
        float:left;
        width:70%;
        /*margin-top: 30px;*/
    }
    .article-left .content-left { /* makes the main blog article page excerpts span 100% width of the 70% .article-left container */
        width:100%;
    }
    .sidebar-right {
        float: right;
        max-width: 330px;
        width: 30%;
        min-height: 400px;
        clear: none;
        margin-top: 20px;
        padding-left: 20px;
    }
}

/*** # SIDEBAR LEFT ***/

.sidebar-left ul {
    list-style: none;
}
.sidebar-left li {
	margin-bottom: 8px;
    list-style: none;
    color: #58585a;
}
.sidebar-left ul li a {
    padding: 7px 7px 9px 9px;
    color: #58585a;
    display: block;
    background: #dcdcdc url(../lft_menu_a.html) no-repeat 97% 50%;
	text-decoration: none;
}
.sidebar-left .menu {
	padding:0;
	margin:0;
}
/* hover effects*/
.sidebar-left ul li a:hover, .sidebar-left ul .current_page_item a, .sidebar-left ul .current-cat a {
    background: #858585 url(../lft_menu_a_hover.html) no-repeat 97% 50%;
    color: #fff;
}
@media only screen and (min-width: 970px) {
.content-right {
	float:right;
	max-width:850px;
	width: 70%;
	clear:none;
}
.sidebar-left {
	float:left;
	/*max-width: 265px;*/
	width: 29%;
	min-height:400px;
	clear:none;
	/*padding-top:10px;*/
	padding-top:17px;
}
}
/*** @media only screen and (min-width: 970px) {
    .blog .article-left { /* makes the main blog article page excerpts float left */
       /**  display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 20px;
    }
}**/

/**** siteorigin fixes ****/

/** fixes blue outline on tabs selected **/
.sow-tabs-tab, .sow-tabs-panel, .sow-tabs-panel-content, .sow-accordion-panel-header, .sow-accordion-panel-border {
    outline: none !important;
}
/*** Unique classes for this website ***/

/*** FONT ADJUSTMENTS ***/


.textcenterresponsive {
	text-align:center;
}
@media only screen and (min-width: 800px) {
.textcenterresponsive {
	text-align:left;
}
}
.whitelinks a, a.whitelinks, .darkbackground a, .darkbackground h2, .whitelinks .wpcf7-file {
	color:#fff;
}
.whitelinks span.wpcf7-not-valid-tip { /* makes dark background forms show a brighter warning message font colour */
    color: #aef7f9;
}
.whitelinks .wpcf7-not-valid {
	background-color: #d6eeef;
}
.whitelinks  .wpcf7-not-valid.wpcf7-file {
	color: #000000;
}

/** button **/

a.button, .so-widget-sow-button a, .wpcf7-submit, .buttonwidget a, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .tml .tml-submit-wrap input, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .nav-previous a, .nav-next a  {
	-webkit-transition: all 0.5s ease;
  	-moz-transition: all 0.5s ease;
  	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
    border-color: #e8214d;
	color: #ffffff;
	color: rgba(255,255,255,1.00);
    border-radius: 0px;
    font-weight: 700;
    /*padding: 0.5em 1em;*/
	display: inline-block;
	text-decoration:none;
    text-align: center;
	background-color: #e8214d;
	font-size: 20px;
	background: #e8214d;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	padding: .5em 1em .5em 1em;*/
    padding: 1em 2em;
	border-width: 2px;
	/* text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);*/
	
	-ms-word-break: break-word;

     /* Be VERY careful with this, breaks normal words wh_erever 
     word-break: break-all;*/
	word-break: initial;

     /* Non standard for webkit */
     /*word-break: break-word;*/
	
	/* white-space: pre-wrap; /* css-3 */
	/* white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	/* white-space: -pre-wrap; /* Opera 4-6 */
	/* white-space: -o-pre-wrap; /* Opera 7 */
    /*word-wrap: break-word; /* Internet Explorer 5.5+ */
    
    /*
    background-image: linear-gradient(to top, #e8214d 0%, #ffffff 100%) !important;*/
    border: none !important;
    /*-moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 7px rgba(0,0,0,0.5);*/
	
	
	/** next lines are needed for growing css button 
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
	/** END next lines are needed for growing css button **/
    border-radius: 5px;
    
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Londrina Solid;
    font-size: 1.3em;
    padding: 0.5em 1em;
    background: #e8214d;
    color: #ffffff !important;
    border: 1px solid #e8214d;
    border-width: 1px 0;
    -webkit-border-radius: 0em;
    -moz-border-radius: 0em;
    border-radius: 0em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
@media only screen and (min-width: 1200px) {
    a.button, .so-widget-sow-button a, .wpcf7-submit, .buttonwidget a, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .tml .tml-submit-wrap input, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .nav-previous a, .nav-next a  {
        min-width: 275px; /* was 25% */
    }
    
    .buttonright .ow-button-base.ow-button-align-center {
        text-align: right;
    }
}
.nav-links .nav-previous a, .nav-links .nav-next a {
    border-color: #000;
    background-color: #000;
}
.nav-links .nav-previous a:hover, .nav-links .nav-next a:hover {    
    text-decoration:none;
}
/*** makes large button tile with vertical center align and text align is left */
.buttontilecontainer {
    position:relative;
}
.buttontile a {
    display: flex !important;
    align-items: center;
    text-align: left;
    padding:5px;
    /* helps fill height of container */
    position:relative; /* only for mobile view but changed on tablet/desktop in css below */
    right: 0;
    top: 0;
    height: 100%;    /* end helps fill height of container */
    min-height: 183px;
    margin:auto;
    padding:15px !important;
}
.resourceshomelayout .buttontile, .bloghomelayout .buttontile {
    max-width: 275px !important;
    margin: auto;
}
.resourceshomelayout .buttontile a {
    min-height: 189px;
}
.buttontile a span {
    margin: auto;
}
.buttontile .ow-button-base a .sow-icon-image, .buttontile .ow-button-base a [class^="sow-icon-"] {
    font-size: 1.8em !important;
}

    .buttontile .ow-button-base a.ow-icon-placement-right .sow-icon-image, .buttontile .ow-button-base a.ow-icon-placement-right [class^="sow-icon-"] {
            margin: 0em 0em -0.2em 0.75em !important;
    }
@media only screen and (min-width: 581px) {
    .buttontile a {
        position:absolute; /* helps fill height of container */
    }
    .buttontile .ow-button-base a.ow-icon-placement-right .sow-icon-image, .buttontile .ow-button-base a.ow-icon-placement-right [class^="sow-icon-"] {
            margin: 0em 0em -0.2em 0.75em !important;
    }
    .buttontile .ow-button-base a .sow-icon-image, .buttontile .ow-button-base a [class^="sow-icon-"] {
        font-size: 2.5em !important;
    }
}
@media only screen and (min-width: 800px) {
    .buttontile a {
        padding:20px !important;
    }
}
.bloghomelayout > div {
    display: grid;
    grid-template-columns: 3;
    justify-content: space-evenly;
    grid-template-columns: repeat(3, 1fr);
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    color:#ffffff;
}

.woocommerce-home-loop-product-title {
    font-family: unset;
    font-size: 1em;
}

/* whitebutton siteorigin */
.whitebutton a {
    background-image: linear-gradient(to top, #e5e5e5 0%, #ffffff 100%) !important;
    border: none !important;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 7px rgba(0,0,0,0.5);
}


/* remove if you want growing css button
a.button:before, .so-widget-sow-button a:before , .wpcf7-submit:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #02accd;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

a.button:hover:before, a.button:focus:before, a.button:active:before, .so-widget-sow-button a:hover:before, .so-widget-sow-button a:focus:before, .so-widget-sow-button a:active:before, .wpcf7-submit:hover:before, .wpcf7-submit:focus:before, .wpcf7-submit:active:before {
    -webkit-transform: scale(1);
    transform: scale(1);
}
*/
a.button:hover, .so-widget-sow-button a:hover, .buttonwidget a:hover {
	background-color: #e8214d;
    /*border-color: #e8214d;*/
	color: #ffffff;
    color: rgba(255, 255, 255, 1); 
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);*/
}
.whitebutton a:hover {
    background-color: #ffffff;
    background-image: linear-gradient(to top, #ffffff 100%, #e5e5e5 100%) !important;
}


a.whitebutton {
	/*-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border: 2px solid;
    border-color: #fff;
    color: #e8214d;
    border-radius: 0px;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    padding: 0.5em 1em;
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    font-size: 30px;
    -ms-word-break: break-word;
    word-break: initial;
    word-break: break-word;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    
    */
    
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border: 2px solid;
    border-color: #ffffff;
    color: #e8214d;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background-color: #ffffff;
    font-size: 20px;
    min-width: 30%;
    background: #fff;
    padding: 1em 2em;
    min-width: 25%;
    /* text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); */
    -ms-word-break: break-word;
    word-break: initial;
    word-break: break-word;
    word-wrap: break-word;
    background-image: linear-gradient(to top, #e5e5e5 0%, #ffffff 100%);
    border: none !important;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 7px rgba(0,0,0,0.5);
    border-radius: 5px;
}

/* gravity form button changes */
.gform_wrapper .button {
    font-size: 20px !important;
    font-size: 1.25em !important;
    padding: 0.5em 2em;
    font-weight: 700;
}

/*** Page builder change for testimonials transparent png background ***/
.origin-widget.origin-widget-testimonial-simple-clean .testimonial-image-wrapper {
	background:none !important;
}

/*** Page builder change for bottom margin of cells ***/
.panel-grid-cell .so-panel {
  margin-bottom: 0px !important;
}


/*** Page builder fix wrong margin widths - adds whitespace to containing divs, especially when there are multiple columns ***/

.panel-grid {
    width: 100%;
	margin-right:0px !important;
	margin-left: 0px !important;
}

/*** Form validation with validatr ***/
.validatr-message {
color: rgb(240, 68, 77);
    border: 1px solid rgb(228, 166, 175);
    padding: 2px 6px;
    border-radius: 0px;
    position: initial!important;
    top: -61.5px;
    left: 72px;
    background-color: rgb(255, 203, 203);
    width: 100%;
}


/*** Homepage blog posts layout using shortcode ***/
@media only screen and (min-width: 970px) {
.shortcode-posts {
	width: 50%;
    float: left;
	padding-right:2%;
}
.home-blog > div > div.shortcode-posts:last-child {  
    padding-left: 2%;
	padding-right:0%;
}
}
.home-blog {
    min-height: 200px;
}
@media only screen and (min-width: 970px) {
    .home-blog {
        min-height: 255px;
    }
}
.bloghomelayout > div {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    /*justify-content: space-evenly;*/
    justify-content: space-between;
    grid-template-columns: repeat(1, 1fr);
}
.resourceshomelayout > div {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    /*justify-content: space-evenly;*/
    justify-content: space-between;
    grid-template-columns: repeat(1, 1fr);
}
.bloghomelayout > div > div:before, .resourceshomelayout > div > div:before  {
    display:none;
}
.bloghomelayout > div > div > article > header {
    display: grid;
}
.resourceshomelayout > div > div > article > header {
    display: grid;
    justify-content: center;
    align-items: center;
}

.bloghomelayout > div > div > article > img, .resourceshomelayout > div > div > article > img {
    width:100%;
}
.bloghomelayout > div > div > article .news-home-image {
    /*min-height: 280px;
    max-width: 280px*/
    min-height: 183px;
    max-height: 183px;
    max-width: 275px;
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    margin: auto;
}
.resourceshomelayout > div > div > article .news-home-image {
    min-height: 189px;
    max-height: 189px;
    max-width: 275px;
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.bloghomelayout > div > div > article .event-tile, .resourceshomelayout > div > div > article .event-tile {
    position: relative;
}
.bloghomelayout > div > div > article .home-page-news-title {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    width:100%;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.9);
    text-decoration:none;
}
.resourceshomelayout > div > div > article .home-page-news-title {
    position: relative;
}
.resourceshomelayout > div > div > article h4 {
    position: absolute;
    bottom: 29px;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    width:100%;
    padding: 10px 0 5px 10px;
    background: rgba(255, 255, 255, 0.9);
    text-decoration:none;
    font-size: 1em;
}
.resourceshomelayout > div > div > article .resource-loop-price {
    position: absolute;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    width:100%;
    bottom: 5px;
    left:0;
    padding: 0 10px !important;
    background: rgba(255, 255, 255, 0.9);
    text-decoration:none;
}
.home-page-news-title h4 {
    font-size: 20px;
}
.bloghomelayout > div > div > article .woocommerce-image-text, .bloghomelayout > div > article .woocommerce-image-text h4, .resourceshomelayout > div > div > article .woocommerce-image-text, .resourceshomelayout > div > article .woocommerce-image-text h4 {
    color:#ffffff;
    text-decoration:none;
}
@media only screen and (min-width: 600px) and (max-width: 910px) {
    /*** content for category post loop page ***/
    .bloghomelayout > div {
        /*grid-template-columns: repeat(2, 2fr);*/
        grid-template-columns: repeat(2, 275px);
    }
    .resourceshomelayout > div {
        grid-template-columns: repeat(2, 275px);
    }
}
@media only screen and (min-width: 911px) {
    /*** content for category post loop page ***/
    .bloghomelayout > div {
        /*grid-template-columns: repeat(3, 1fr);*/
        grid-template-columns: repeat(3, 275px);
    }
    .resourceshomelayout > div {
        grid-template-columns: repeat(3, 275px);
    }
}
@media only screen and (min-width: 1200px) {
    /*** content for category post loop page ***/
    .bloghomelayout > div {
        grid-template-columns: repeat(4, 275px);
    }
    .resourceshomelayout > div {
        grid-template-columns: repeat(4, 275px);
    }
}
@media only screen and (min-width: 581px) {
    .bloghomelayout > div > div > article .home-page-news-title {
        /* min-height: 64px; height of two lines of text for consistency */
    }
}
.bloghomelayout .panel-last-child, .resourceshomelayout .panel-last-child {
    position:relative;
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    width: 275px;
    margin: 0 auto;
}
.bloghomelayout.webinars .panel-last-child {
    position:relative;
    border: 0;
    -moz-box-shadow: 0 0 0px rgba(0,0,0,0);
    -webkit-box-shadow: 0 0 0px rgba(0,0,0,0);
    box-shadow: 0 0 0px rgba(0,0,0,0);
}
.bloghomelayout.webinars .click-tile {
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.bloghomelayout.webinars > div > div {
    margin-bottom: 40px;
        display: flex;
    /* flex-flow: column; */
    /* align-content: space-between; */
    /* height: 100%; */
    justify-content: space-between;
}
.bloghomelayout.webinars .click-tile > div > div > div {
    display: flex;
    flex-flow: column;
}
.bloghomelayout.webinars > div {
    grid-row-gap: 40px;
}
@media only screen and (min-width: 970px) {
    .paddingtop20 {
        padding-top: 20px;
    }
}
/*** AUTHOR BOX ON BLOG POSTS ***/
.author-bio-container {
    background-color: #e0dfe0;
    padding: 10px;
    margin: 10px 0 20px 0;
}
.author-box {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-column-gap: 20px;
}
.author-bio {
    color: #e8204d;
}
.author-description {
    font-size:0.8em;
}
/*** for author page bios ***/ 
.author .author-bio-container {
    margin: 20px 0 20px 0;
}
.bio-social-icons {
    font-size: 32px;
    font-size: 2.5em;
}
.bio-social-icons span {
    margin: 0 20px 0 0;
}
.bio-social-icons span:last-of-type {
    margin: 0;
}
/*** CONTAINERS ***/

/*** makes content within div centered height ***/
@media only screen and (min-width: 781px) {
	.centerheightcontainer {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-ms-flex-align: center;
		-webkit-align-items: center;
		-webkit-box-align: center;
		align-items: center;
		justify-content: center;
	}
	.feature-image {
		margin-top: -150px; /*important this is how tall the header is with minus value - PT sans 136px - roboto 134px */
	}
}
.imgcircle, .imgcircle img {
    border-radius: 50%; /* add class directly to img tag e.g. <img class="img-circle" ...> make sure image is perfectly square */
	
	/* this section makes images b&w 
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: grayscale(100%);
	filter: url(desaturate.svg#greyscale);*/
}

/* makes homepage feature image or slider revolution sit behind navigation */
.page-template-homepage .homefeature {
	margin-top: -136px; /*important this is how tall the header is with minus value - PT sans 136px - roboto 134px */
}
.page-feature-image .sow-slider-image-wrapper p {
    margin: 0 !important;
}
.page-feature-image .sow-slider-image-wrapper .sow-hero-buttons {
	margin-top: 0.8em !important;
}
.page-feature-image .sow-slider-image-wrapper .so-widget-sow-button {
	margin:0 !important;
}
.feature-image h1 {
	margin: 0;
	padding: 20px 0;
	color: #ffffff;
	font-size: 48px;
	font-size: 3em;
}
@media only screen and (max-width: 481px) {
	.feature-image h1 {
		font-size: 24px;
    	font-size: 1.5em;
	}
}
	
	
	
@media only screen and (max-width: 274px) {

	.larger-font h1, .larger-font h2 {
		font-size:56px;
		font-size: 3.5rem;
		/*line-height: 0.8;*/
	}
	.larger-font h3 {
		font-size:28px;
		font-size: 1.75rem;
		/*line-height: 1.2;*/
	}

}

.largetext h2, .largetext h3, .largetext h4, .largetext p {
    font-size: 40px;
    font-size: 2.5rem;
}
.largertext h2, .largertext h3, .largertext h4, .largertext p {
    font-size: 72px;
    font-size: 4.5rem;
}
.noheadingmargin h1, .noheadingmargin h2, .noheadingmargin h3, .noheadingmargin h4, .noheadingmargin p {
    margin: 0;
}
.lineheight100 h2, .lineheight100 h3, .lineheight100 h4, .lineheight100 p {
    line-height: 100%;
}

/** page submenus **/

#submenus {
	background-color: #808285;
    background-color: rgb(128, 130, 133);
	min-height: 60px;
	
}
#submenus ul li a {
	color:#ffffff;
	color: rgba(255, 255, 255, 1);
	text-decoration: none;
	font-size: 20px;
	font-size: 1.25rem;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 100%;
    margin: 0;
    display: block;
}
#submenus ul {
	list-style-type: none;
	text-align:center;
	width:100%;
	padding:0;
	margin:0;
}
#submenus ul li {
	border-bottom: 1px #fff solid;
	border-bottom: 1px rgba(255,255,255,0.5) solid;
}
#submenus ul li:last-child {
	border-bottom: none;
}
@media only screen and (min-width: 600px) {
#submenus {
		
}
#submenus ul {
		text-align:center;
		margin:auto;
		display: table;
    	width: 100%;
   		table-layout: fixed;
}
#submenus ul li {
	display: table-cell;
	border-right: 2px #fff solid;
	border-right: 2px rgba(255,255,255,0.5) solid;
	border-bottom: none;
}
#submenus ul li:last-child {
		border-right: none;	
}
#submenus ul li :hover {
	background-color: #808285;
    background-color: rgb(128, 130, 133);
}
}



.page-template-homepage footer, .page-template-main-pages footer, .page-template-main-pages-no-heading footer {
	margin-top:0px;
}

/*** FIX IFRAME FOR RESPONSIVENESS ***/
.iframewrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.iframewrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ensure tags on blog pages go underneath the posted by span */
.tags-links {
	display: block;
}

/*** Remove page link border highlights in page ***/

*:target {
outline: 0;
outline: none;
}


/* no text shadow on hero content */
.no-text-shadow, .no-text-shadow p, .no-text-shadow h1, .no-text-shadow h2, .no-text-shadow h3, .no-text-shadow h4, .no-text-shadow h5, .no-text-shadow h6 {
	text-shadow:none !important;
}
.heading-border-bottom h1, .heading-border-bottom h2, .heading-border-bottom h3, .heading-border-bottom h4, .heading-border-bottom h5, .heading-border-bottom h6 {
	    margin-bottom: 0;
}



.homepage-feature h1 {
	text-decoration: underline;
	-webkit-text-underline-position: under;
 	-ms-text-underline-position: below;
 	text-underline-position: under; 
	font-size:1.5rem !important;
}
.homepage-feature h4 {
		font-size:0.8rem !important;
	}
#homefeaturebutton {
	text-align: center;
	margin-top:15px !important;
}
@media only screen and (min-width: 470px) {
	.homepage-feature h1 {
		font-size:2.6rem !important;
	}
	.homepage-feature h4 {
		font-size:1.08rem !important;
	}	
}

.panel-grid-zero > div > div > div > div > div > div  {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* esos updates */
.leadassessors .sticky-header {
    display:none;/* hides header for mobiles as it's not required */
}
.leadassessors .esosuserinfo > div {
    padding-bottom: 10px;
}
.leadassessors .esoscompanydetails {
    color: #e8214d;
    padding-bottom: 10px;
}
.leadassessors .fullname {
    font-size: 18px;
    font-weight: 700;
    color: #e8214d;
}
.leadassessors .sticky-header, .leadassessors .esosuserinfo {
        padding: 10px;
    }


.scrolled > *, .scrolled {
  	/*background: #4f504f;
	-moz-box-shadow: 0px 0px 5px 2px #e8e8e8;
  	-webkit-box-shadow: 0px 0px 5px 2px #e8e8e8;
	box-shadow: 0px 0px 5px 2px #e8e8e8;*/
	-webkit-transition: 0.25s ease;
  	-moz-transition: 0.25s ease;
  	-o-transition: 0.25s ease;
	transition: 0.25s ease;
}
/* scrolled effects */
@media only screen and (min-width: 700px) {
	/*.scrolled .tagline {
		display:none;
		-webkit-transition: 0.5s ease;
		-moz-transition: 0.5s ease;
		-o-transition: 0.5s ease;
		transition: 0.5s ease;
	}*/
	.scrolled #logo img {
		width: 300px;
		-webkit-transition: 0.25s ease;
		-moz-transition: 0.25s ease;
		-o-transition: 0.25s ease;
		transition: 0.25s ease;
	}
	.scrolled .site-header {
		padding: 0;
        /*grid-template-columns: 300px 340px 300px auto;*/
        -webkit-transition: 0.25s ease;
		-moz-transition: 0.25s ease;
		-o-transition: 0.25s ease;
		transition: 0.25s ease;
        /*grid-template-columns: 3fr 3fr 2fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "logo topsearch topmenucontainer topmenucontainer menu-toggle";
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "logo logo topsearch topsearch topmenucontainer menu-toggle";*/
	}
	.scrolled .main-navigation {
		border-bottom:0;
		/*padding-top: 10px;*/
		margin-bottom: 0;
	}
	.scrolled .main-navigation li a {
	    /*font-size: 18px;
    	font-size: 1.125rem;*/
	}
	.scrolled .site-branding.headercontain {
		min-height: auto;
	}
	/* ESOS page styling */
	.leadassessors .esosuserinfo {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 2fr;
        grid-column-gap: 20px;
	}
    .leadassessors .sticky-header {
		display: grid; /* shows header for tablet/desktop - see above mobile display:none; class */
        grid-template-columns: 1fr 1fr 1fr 2fr;
        grid-column-gap: 20px;
	}
    .leadassessors .esoscompanydetails { /* hides 'Company Name: title next to each company name only on desktop */
        display:none;
    }
}
@media only screen and (min-width: 1200px) {
.scrolled .site-header {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: "logo logo topsearch topsearch topsearch topsearch topmenucontainer topmenucontainer";
	}

}
/*** ESOS area */
/* profile page fields */
.esoscompanyname {
    font-weight: 700;
}
.esosattachments .esosattlink {
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-size: 12px;
}
.esosdetails .downloadtitle {
    padding-left: 5px;
}
.esosatttitle h5{
    margin: 20px 0 10px 0;
} 

/* profile update form page */
.page-your-profile .form-table>tbody>.acf-field>.acf-label {
    padding: 10px !important;  
}


/*.heading-opacity {
	background-color: #e8214d;
	min-height: 100px;
	display: flex;
    align-items: center;
    justify-content: center;
}*/
.heading-opacity h1, .heading-no-image h1, .heading-opacity h2, .heading-no-image h2 {
	/*color: #fff;
	color: rgba(255, 255, 255, 1);
        line-height: 110%;
        animation: animationFrames ease 1s;
	  animation-iteration-count: 1;
	  transform-origin: 50% 50%;
	  animation-fill-mode:forwards; /*when the spec is finished*/
	/*  -webkit-animation: animationFrames ease 1s;
	  -webkit-animation-iteration-count: 1;
	  -webkit-transform-origin: 50% 50%;
	  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
	/*  -moz-animation: animationFrames ease 1s;
	  -moz-animation-iteration-count: 1;
	  -moz-transform-origin: 50% 50%;
	  -moz-animation-fill-mode:forwards; /*FF 5+*/
	/*  -o-animation: animationFrames ease 1s;
	  -o-animation-iteration-count: 1;
	  -o-transform-origin: 50% 50%;
	  -o-animation-fill-mode:forwards; /*Not implemented yet*/
	/*  -ms-animation: animationFrames ease 1s;
	  -ms-animation-iteration-count: 1;
	  -ms-transform-origin: 50% 50%;
	  -ms-animation-fill-mode:forwards; /*IE 10+*/
}
.homepage-feature h1, .homepage-feature h4 {
	  /*animation: animationFrames ease 1s;
	  animation-iteration-count: 1;
	  transform-origin: 50% 50%;
	  animation-fill-mode:forwards; /*when the spec is finished*/
	  /*-webkit-animation: animationFrames ease 1s;
	  -webkit-animation-iteration-count: 1;
	  -webkit-transform-origin: 50% 50%;
	  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
	  /*-moz-animation: animationFrames ease 1s;
	  -moz-animation-iteration-count: 1;
	  -moz-transform-origin: 50% 50%;
	  -moz-animation-fill-mode:forwards; /*FF 5+*/
	  /*-o-animation: animationFrames ease 1s;
	  -o-animation-iteration-count: 1;
	  -o-transform-origin: 50% 50%;
	  -o-animation-fill-mode:forwards; /*Not implemented yet*/
	  /*-ms-animation: animationFrames ease 1s;
	  -ms-animation-iteration-count: 1;
	  -ms-transform-origin: 50% 50%;
	  -ms-animation-fill-mode:forwards; /*IE 10+*/
}
.heading-no-image, .heading-opacity {
	/*background-color: #e8214d;
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size:cover;
	min-height: 60px;*/
	/*display: flex;
    /*align-items: center;
    justify-content: center;*/
}
.heading-background {
	/*background-repeat: no-repeat !important;
    min-height: 60px;
    background-size: cover !important;
    background-color: #e8214d;*/
    /*background-position: 50% 50% !important;
    position: relative;*/
}
.heading-background > div > div {
    /* border-bottom: 3px solid #000; */
    padding-top: 15px;
}
@media only screen and (max-width: 780px) {
	.heading-background {
		font-size: 12px;
		font-size: 0.75rem;
	}
	.border-column-white .panel-grid-cell {
		border-bottom: 2px solid #ffffff;
		padding-bottom: 2%;
	}
	.border-column-white .panel-grid-cell:last-of-type {
		border-bottom: none;
		padding-bottom: 0;
	}
	.imgcentremob img {
		margin:auto;
	}
}
.heading-opacity h1, .heading-no-image h1, .heading-opacity h2, .heading-no-image h2 {
		/*padding-top: 35px;
		padding-bottom: 20px;*/
	}
@media only screen and (min-width: 781px) {
	/*.heading-no-image {
		min-height:150px;
	}
	.heading-opacity {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	min-height: 100px;
}*/
	.heading-opacity h1, .heading-no-image h1, .heading-opacity h2, .heading-no-image h2 {
		/*padding-top: 10px;*/
	}
	/*.heading-no-image {
		top: 0;
		left: 0;
		width: 100%;
		height:100%;
		position: absolute;
		min-height: 80px;
	}*/
	.heading-background {
    min-height: 80px;

	}
	.border-column-white .panel-grid-cell {
		border-right: 2px solid #ffffff;
		padding-right: 2%;
	}
	.border-column-white .panel-grid-cell:last-of-type {
		border-right: none;
		padding-right: 0;
	}
}
@media only screen and (min-width: 1200px) {
    /*** pushes image down by 20% of container - make sure container row is set to align 'bottom' */
    .imgbreakout80 {
        -webkit-align-items: flex-end !important;
        align-items: flex-end !important;
    }
    .imgbreakout80 .sow-image-container {
        position: absolute;
    }
    .imgbreakout80 img {
        margin-top: -80%;
        position: relative;
    }
    /*** pushes image down from container - make sure container row is set to align 'bottom' */
    .imgbreakout105 {
        -webkit-align-items: flex-end !important;
        align-items: flex-end !important;
    }
    .imgbreakout105 .sow-image-container {
        position: absolute;
    }
    .imgbreakout105 img {
        margin-top: -105%;
        position: relative;
    }
    /*** pushes image down from container - make sure container row is set to align 'bottom' */
    .imgbreakout108 {
        -webkit-align-items: flex-end !important;
        align-items: flex-end !important;
    }
    .imgbreakout108 .sow-image-container {
        position: absolute;
    }
    .imgbreakout108 img {
        margin-top: -108%;
        position: relative;
    }
    /*** pushes image down from container - make sure container row is set to align 'bottom' */
    .imgbreakout115 {
        -webkit-align-items: flex-end !important;
        align-items: flex-end !important;
    }
    .imgbreakout115 .sow-image-container {
        position: absolute;
    }
    .imgbreakout115 img {
        margin-top: -115%;
        position: relative;
    }
    /*** pushes image down by 20% of container - make sure container row is set to align 'bottom' */
    .imgbreakout130 {
        -webkit-align-items: flex-end !important;
        align-items: flex-end !important;
    }
    .imgbreakout130 .sow-image-container {
        position: absolute;
    }
    .imgbreakout130 img {
        margin-top: -130%;
        position: relative;
    }
    /*** pushes image down by 20% of container - make sure container row is set to align 'bottom' */
    .homeboxbreakout {
        -webkit-align-items: flex-end !important;
        align-items: flex-end !important;
    }
    .homeboxbreakout .box-breakout-container > div {
        position: absolute;
    }
    .homeboxbreakout .box-breakout {
        margin-top: -50%;
        position: relative;
        max-width: 530px;
    }
    
}
/*.page-template-main-pages .site-content, .page-template-blog-articles-main-page .site-content, .search .site-content, .error404 .site-content, .archive .site-content, .single .site-content {
	margin-top: 0px;
}*/
.whiteheadings h1, .whiteheadings h2, .whiteheadings h3, .whiteheadings h4, .whiteheadings h5, .whiteheadings h6 {
	color:#fff;
}
.whiteheadings hr {
	background-color:#fff;
}
/*.whiteheadings .wpcf7-submit {
	background: none;
	color: #ffffff;
	color: rgba(255,255,255,1.00);
	border: solid 2px #ffffff;
	border: solid 2px rgba(255,255,255,1.00);
}
.whiteheadings .wpcf7-submit:hover {
	background-color: #ffffff;
	background-color: rgba(255,255,255,1.00);
	border: solid 2px #ffffff;
	border: solid 2px rgba(255,255,255,1.00);
	color: #808285;
	color: rgb(128, 130, 133);
}*/
.largestheading h2, .largestheading h3, .largestheading h4, .largestheading h5, .largestheading h6 {
	font-size: 36px;
    font-size: 2.25em;
}
.search-no-results .widget_search {
	display: none;
}
input[type="submit"].search-submit {
	padding-left:10px;
	padding-right:10px;
	height: 34px;
    font-weight: 700;
    padding: 0;
}
@keyframes animationFrames{
  0% {
    opacity:0;
    transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    transform:  translate(0px,0px)  ;
  }
}

@-moz-keyframes animationFrames{
  0% {
    opacity:0;
    -moz-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -moz-transform:  translate(0px,0px)  ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    opacity:0;
    -webkit-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -webkit-transform:  translate(0px,0px)  ;
  }
}

@-o-keyframes animationFrames {
  0% {
    opacity:0;
    -o-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -o-transform:  translate(0px,0px)  ;
  }
}

@-ms-keyframes animationFrames {
  0% {
    opacity:0;
    -ms-transform:  translate(0px,-25px)  ;
  }
  100% {
    opacity:1;
    -ms-transform:  translate(0px,0px)  ;
  }
}




/*** add css box shadow to images within this class ***/
.boxshadow img {
	-webkit-box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
	-moz-box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
	-o-box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
	box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
}

.box-shadow {
	-webkit-box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
	-moz-box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
	-o-box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
	box-shadow: 1px 1px 9px 3px rgba(50,62,72,0.2);
}


/*** makes buttons grey if disabled ***/
button[disabled],
html input[disabled] {
	background-color: lightgrey;
    border-color: lightgrey;
}
button[disabled]:hover,
html input[disabled]:hover {
	background-color: lightgrey;
    border-color: lightgrey;
}
.imgshadow img, .img-shadow {
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.grey-white-back-left {
	background: rgb(255,255,255);
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(244,245,244,1) 100%);
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(244,245,244,1) 100%);
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(244,245,244,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f5f4',GradientType=1 );
}
.grey-white-back-right {
	background: rgb(255,255,255);
	background: -moz-linear-gradient(right, rgba(255,255,255,1) 0%, rgba(244,245,244,1) 100%);
	background: -webkit-linear-gradient(right, rgba(255,255,255,1) 0%,rgba(244,245,244,1) 100%);
	background: linear-gradient(to left, rgba(255,255,255,1) 0%,rgba(244,245,244,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f5f4',GradientType=1 );
}
.dark-grey-white-back-right {
	background: rgb(255,255,255);
	background: -moz-linear-gradient(right, rgba(255,255,255,1) 0%, rgba(225, 225, 226,1) 100%);
	background: -webkit-linear-gradient(right, rgba(255,255,255,1) 0%,rgba(225, 225, 226,1) 100%);
	background: linear-gradient(to left, rgba(255,255,255,1) 0%,rgba(225, 225, 226,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f5f4',GradientType=1 );
}

.largequote {
	font-size: 24px;
    font-size: 1.5rem;
}
@media only screen and (max-width: 481px) {
	.largequote {
		font-size: 16px;
    	font-size: 1em;
	}
}


.nobulletmargin > div {
	margin-bottom: 0 !important;
}
.nobulletmargin ul {
    margin: 0 0 0 18px;
    padding-left: 0;
}

/*** reduces text sizes for mobiles automatically 
@media only screen and (max-width: 481px) {
	body,
	button,
    .button,
	input,
	select,
	textarea {
		font-size: 85% !important;
	}
}***/
/** helps responsive YouTube videos go to 16:9 format */

.responsive-yt-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.responsive-yt-container iframe,
.responsive-yt-container object,
.responsive-yt-container embed,
.responsive-yt-container video
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* adds minimum height to widgets with .minheight80px class on desktop only */
@media only screen and (min-width: 1025px) {
    .minheight80px {
        min-height: 50px;
    }
}
/* adds minimum height to widgets with .minheight80px class on desktop only */
@media only screen and (min-width: 1025px) {
    .minheight115px {
        min-height: 115px;
    }
}

/* main blog post / case studies changes */
.blog-excerpt-page {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.blog-excerpt-page .post-image {
    text-align:center;
}
.widget_siteorigin-panels-postloop article:last-of-type > footer > hr, .search-content .entry-summary:last-of-type > article > footer > hr {
    display: none;
}
.sitemap-page .widget_siteorigin-panels-postloop {
    display: grid;
    grid-gap: 0.425em 6em;
    grid-template-columns: 1fr 1fr 1fr;
}
.sitemap-page .widget_siteorigin-panels-postloop:before {
    display:none !important;
}
/*.widget_siteorigin-panels-postloop article {
    margin: 20px 0;
}*/
.content30 .entry-meta {
    font-weight: 700;
}
.content3070 {
    display: flex;
    flex-direction: column-reverse;
}
.content3070 .post-featured-mobile {
        display:block;
        text-align: center;
    }
    .content3070 .post-featured-desktop {
        display:none;
    }
@media only screen and (min-width: 781px) {
    .blog-excerpt-page {
        display: flex;
        flex-direction: initial;
        align-items: center;
    }
    .blog-excerpt-page .post-image {
        min-width: 300px;
    }
    .blog-excerpt-page .post-image img {
        width:100%;
    }
    .content3070 {
        display:grid;
        grid-template-columns: 1fr 3fr;
        margin-bottom: 30px;
    }
    .content30 {
        margin: 20px 20px 0px 0px;
    }
    .content30 .entry-meta {
        font-size: 24px;
        font-size: 1.5rem;
        text-align: left;
        padding: 20px;
        background-color: #e8214d;
        color: #ffffff;
    }
    .content30 .entry-footer {
        font-size: 18px;
        font-size: 1.125rem;
        text-align: left;
        padding: 0 20px 20px 20px;
        background-color: #e8214d;
        color: #ffffff;
    }
    .content30 .entry-footer a {
        color: #ffffff;
    }
    .content3070 .post-featured-mobile {
        display:none;
    }
    .content3070 .post-featured-desktop {
        display:block;
        width:100%;
        margin-bottom: 10px;
    }
    .content3070 .post-featured-desktop img {
        width:100%;
    }
}
.blog-excerpt-page .post-image {
    text-align:center;
}
.blog-next-prev-nav {
    font-size: 21px;    
    font-size: 1.3275rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    background-color: #e8214d;
    padding: 10px 3%;
    color: #ffffff;
}
.blog-next-prev-nav:last-of-type, .blog-next-prev-nav:first-of-type {
    padding: 10px 20px;
}
.blog-next-prev-nav a {
    color: #ffffff;
    text-decoration: none;
}
.blog-next-prev-nav .page-numbers.current {
    
}
.pagination-search {
    background-color: #e8214d;
    color:#ffffff;
}
/*.blog-next-prev-nav:not(:first-child) {
    display:none;
}*/


/*** WooCommerce Changes from default styles **/

/* shop page & related products price */

/* places title and price over tile on products pages */
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    position: relative;
}
h2.woocommerce-loop-product__title {
    position: absolute;
    bottom: 41px;
    padding: 10px 0 5px 10px !important;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    color: #000000;
    font-family: unset;
}
.woocommerce ul.products li.product .price {
    color: #e8214d;
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    bottom: 5px;
    padding: 0 10px !important;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
}
/* main price */
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #e8214d;
    font-weight: 700;
    font-size: 24px;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    background-color: #e8214d;
}
.woocommerce .woocommerce-breadcrumb {
    display:none; /* hides woocommerce breadcrumbs */
}
.wc-tabs  {
    display:none; /* hides woocommerce tabs for description / reviews / additional information */
}
/* fixes for woocommerce image default styles */
.woocommerce div.product div.images img {
    display: block;
    /*width:inherit;
    height:inherit;*/
    box-shadow: none;
}
.woocommerce .site-content img, .woocommerce-page .site-content img {
    height: inherit;
    /*max-width: inherit;*/
}
/*
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #e8214d;
}
*/
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: #e8214d;
}
.woocommerce.single-product .product-feature-section .wc-summary { /* helps align 'Sale!' banner on content-product pages */
    position: relative;
}
.woocommerce ul.products li.product .onsale, .woocommerce.single-product span.onsale {
    /*top: -200px*/
    background-color: #e8214d;
    right: 6px;
    border-radius: 25px;
    color: #fff;
    top: 10px;
    width: 50px;
}
.woocommerce ul.products li.product .button {
    margin-top: 0; 
    width: 100%;
}
.woocommerce ul.products li.product a img /*, .woocommerce div.product div.images img */ {
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    /*max-height: 200px;*/
    display: initial; /* important to ensure that the product archive links show the text content within them, otherwise display:block will appear and throw off the position:relative of the container */
    margin: 0 0 0.5em;
    margin-top: 5px;
}
.product-feature-section {
    padding: 20px 0;
    margin-bottom: 20px;
}
.woocommerce .product_meta { /* hides woocommerce 'category information and other meta on product page */
    margin-bottom: 20px;
}
.woocommerce .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 20px;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* ensures product meta fields have their own blocks and drop a line */
.product_meta > span {
    display: block;
}
/* adds border lines to separate sections on product page */
.wc-after-summary #reviews, .wc-after-summary .related.products, .wc-after-summary .custom-fields-data, .wc-after-summary > h2 {
    border-top: 2px solid #000;
    padding-top: 15px;
}

/* hides related products entirely */
.related.products {
  
}
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 60px;
    box-shadow: none;
}

/* woocommerce pagination layout & design */
.woocommerce-pagination ul.page-numbers {
    background-color: #000;
}
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #000;
    color: #ffffff;
}
.woocommerce nav.woocommerce-pagination {
    font-family: Londrina Solid;
    font-size: 1.8em;
}
.woocommerce nav.woocommerce-pagination ul li {
    padding:10px;
    border-right: none;
}
.woocommerce nav.woocommerce-pagination ul {
    white-space: nowrap;
    padding: 0 10px;
    clear: both;
    border: 1px solid #d3ced2;
    border-right: 0;
    margin: 1px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    font-weight: 900;
    color: #e8214d;
}
.woocommerce .woocommerce-pagination ul.page-numbers::before { /* adds text 'Page' at beginning of pagination using before */
    content: 'Page';
    color: #fff;
}
.woocommerce .woocommerce-pagination ul.page-numbers::after { /* hides unneccesary 'after' in pagination */
    display:none;
    visibility: hidden;
}


.woocommerce-events {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.woocommerce-events:before {
    display:none;
}
.woocommerce-events > article > header {
    display: grid;
}
.woocommerce-events > article > img {
    width:280px;
}
.woocommerce-events > article .event-image {
    min-height: 280px;
    max-width: 280px
            border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.woocommerce-events > article .event-tile {
    position: relative;
}
.woocommerce-events > article .woocommerce-image-text {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    max-width: 280px;
}
.woocommerce-events > article .woocommerce-image-text, .woocommerce-events > article .woocommerce-image-text h4 {
    color:#ffffff;
    text-decoration:none;
}
.woocommerce .quantity .qty {
        height: 2.55em; /* was height: 1.95em;*/
    }
@media only screen and (min-width: 482px) {
    .woocommerce .quantity .qty {
        height: 2.55em;
    }
}
@media only screen and (min-width: 481px) and (max-width: 780px) {
    /*** content for category post loop page ***/
    .woocommerce-events {
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (min-width: 781px) {
    .wc-summary {
        display: grid;
        grid-template-columns: 2fr 3fr;
        /* opposite way around - make sure divs below have grid-column priority numbers defined 
        display: grid;
        grid-template-columns: 3fr 1fr;
        grid-auto-flow: dense;*/
    }
    /*.wc-summary .woocommerce-product-gallery {
        grid-column: 2;
    }
    .wc-summary .summary {
        grid-column: 1;
    }*/
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        margin: 20px 0 0 0;
        width:100%;
        float: none;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width:100%;
        float: none;
        margin: 20px 0 0 20px;
    }
    /*** content for category post loop page ***/
    .woocommerce-events {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .woocommerce-events-home {
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (min-width: 1081px) {
    /*** content for category post loop page ***/
    .woocommerce-events {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
/* custom fields for event dates (start and end) */
.wc-summary span.event-date-start {
    color: #575757;
    font-weight: 700;
    font-size: 18px;
}
.wc-summary span.event-date-end {
    color: #575757;
    font-weight: 700;
    font-size: 18px;
}

/** error messages for woocommerce **/
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    position: relative;
    /*background-color: #000000;
    color: #ffffff;*/
    border-top: 3px solid #e8214d;
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
}
.woocommerce-info::before {
    color: #e8214d;
}
.woocommerce-error::before, .woocommerce-message::before {
    color: #e8214d;
}
.woocommerce-error { /* improved error fade in and red for major error codes */
    background: #e8214d;
    color: white;
    display: block;
    animation: fadein 3s;
    -moz-animation: fadein 3s; /* Firefox */
    -webkit-animation: fadein 3s; /* Safari and Chrome */
    -o-animation: fadein 3s; /* Opera */
}
.woocommerce-error::before {
    color: white;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

/* woocommerce hover over 'a' image and buttons to 'zoom' on image and text */

.woocommerce ul.products li.product a {
    text-decoration: none;
    max-width: 100%;
    transition: all 0.3s;
    display: block;
    width: 98%; /* was 100% but now we need it smaller to include the box-shadow */
    margin:auto; /*allows box-shadow to be visible when box is centered */
    height: auto;
    transform: scale(1);
}
.woocommerce ul.products li.product a:hover {
    transform: scale(1.025);
}
/*stops button from enlarging as well */
.woocommerce ul.products li.product a.button:hover {
    transform: scale(1);
}
.woocommerce .products ul li, .woocommerce ul.products li {
    overflow: hidden;
}

/* use css grid for products instead of floats */
ul.products.columns-4 {
    display: grid;
    grid-template-columns: 1fr;
}
@media only screen and (min-width: 480px) {
    ul.products.columns-4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 18px;
    }
}

@media only screen and (min-width: 870px) {
    ul.products.columns-4 {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .related.products ul.products.columns-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* makes sure that related products sticks to 4 not 3 columns as there are only a max of 4 products */
    }
}
@media only screen and (min-width: 1200px) {
    ul.products.columns-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.woocommerce ul.products.columns-4 li.product, .woocommerce-page ul.products.columns-4 li.product {
    float: none !important;
    margin: 0 3.8% 2.992em 0;
    padding: 0;
    position: relative; 
    width: 100% !important;
    margin-left: 0;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    display:none; /* hides unneeded before and after from this grid */
        content:none;
}
.woocommerce ul.products[class*=columns-] li.product:nth-child(2n), .woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n) {
    float: none;
    clear: none!important;
}
/* adds padding to top of page */
header.woocommerce-products-header {
    padding-top: 10px;
}
/*** woocommerce cart fixes ***/
/* hides reading time on cart page */
.woocommerce-page .rt-reading-time {
    display:none !important;
}
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
        height: 42px;
}
@media only screen and (min-width: 769px) {
    .woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
        height: 42px;
        width: auto !important;
    }
}
/* hides shop-header search results widget depending on page location */
.search #shop-page-intro {
    display:none;
}
.woocommerce #shop-search-page-intro, .woocommerce .shop-page-categories {
    display:none;
}
.search #shop-search-page-intro  {
    display:flex;
}
/** fixes search on products widget so that the input matches the button height and is inline **/
form.woocommerce-product-search {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-row-gap: 5px;
}
@media only screen and (min-width: 1200px) {
    form.woocommerce-product-search {
        /*display: flex;*/
    }
}
.archive header.woocommerce-products-header {
    margin-bottom: 20px;
}
/*** account / profile styling ***/
/** menus **/
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    background: #e0dfe0;
    margin-top: 0;
}
li.woocommerce-MyAccount-navigation-link.is-active, li.woocommerce-MyAccount-navigation-link a:hover {
    background: #e8214d;
}
li.woocommerce-MyAccount-navigation-link.is-active a {
    color:#ffffff;
}
.woocommerce-MyAccount-navigation a {
    padding: 10px;
    width: 100%;
    display: block;
    color:#000000;
    text-decoration: none;
}
/*** javascript select menu for smaller screens ***/
.woocommerce-account .woocommerce-MyAccount-navigation select {
    width: 100%;
    margin-bottom:10px;
}

/*** shows different layout for products in loop with star rating - see content-product.php for override class ***/
li.product-has-star-review h2.woocommerce-loop-product__title {
    bottom: 54px;
}
li.product-has-star-review .star-rating {
    position: absolute;
    bottom: 34px;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
}
li.product-has-star-review .star-rating::before, li.product-has-star-review .star-rating span::before  {
    left: 10px; /* moves background hollow stars and red 'full' stars inline with the rest of the text content */
}
li.product-has-star-review .price {
    bottom: 5px;
}
/** fixes woocommerce product titles to be black not the default red **/
.woocommerce-home-loop-product-title {
    color: #000000;
}
/* fix for woocommerce checkout not clearing float when 'you may also like' option is visible on mobiles/tablets */
@media only screen and (max-width: 768px) {
    .woocommerce .cart-collaterals .cart_totals, .woocommerce .cart-collaterals .cross-sells, .woocommerce .cart-collaterals .shipping_calculator, .woocommerce-page .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .shipping_calculator {
        width: 100%;
        float: none;
        text-align: left;
        clear: both;
    }
}

/* style product tags on shop header widget */
.shop-header-product-tags a.tag-cloud-link {
    margin-right: 18px;
}
/* END - style product tags on shop header widget */

/* remove margin-bottom default 30px from shop widgets */
.woocommerce .shop-header .panel-grid {
    margin-bottom:0px !important;
}


/*** END account / profile styling ***/
.mc4wp-checkbox, .mailchimp-newsletter {
    font-size: 1.3em;
    margin-bottom: 10px;
    float: left;
}
.mailchimp-sign-up-message, .mailpoet_subscribe_on_register, .registration-form-mailpoet, #mailpoet_woocommerce_checkout_optin_field, .registration-form-mailpoet  {
    margin-bottom: 30px;
    display:block;
    font-family: 'Londrina Solid', cursive;
    font-weight: 400;
    color: #e8214d;
    margin-top: 40px;
    /*margin-left: 70px;*/
    font-size: 28px;
}
.woocommerce-checkout .mailchimp-sign-up-message {
    margin-top: 18px;
}
@media only screen and (min-width: 868px) {
    .mailchimp-sign-up-message {
        width: 800px;
    }
    .register .mailchimp-sign-up-message {
        width: auto;
    }
}
.mc4wp-checkbox span {
    /*margin-left: 10px;*/
}

/****** makes checkbox for mailchimp newsletter on cart a toggle button via css ******/
.mc4wp-checkbox label, .mailchimp-newsletter label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.mc4wp-checkbox label input, .mailchimp-newsletter label input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.mc4wp-checkbox label .slider, .mailchimp-newsletter label .slider, .checkbox.woocommerce-form__label .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
  -webkit-transition: .4s;
  transition: .4s;
}

.mc4wp-checkbox label .slider:before, .mailchimp-newsletter label .slider:before, .checkbox.woocommerce-form__label .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.mc4wp-checkbox label input:checked + .slider, .mailchimp-newsletter input:checked + .slider, .checkbox.woocommerce-form__label input:checked + .slider {
  background-color: #e8214d;
}

.mc4wp-checkbox label input:focus + .slider, .mailchimp-newsletter input:focus + .slider, .checkbox.woocommerce-form__label input:focus + .slider {
  box-shadow: 0 0 1px #e8214d;
}

.mc4wp-checkbox label input:checked + .slider:before, .mailchimp-newsletter input:checked + .slider:before, .checkbox.woocommerce-form__label input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.mc4wp-checkbox .mailchimp-sign-up-message, .mailchimp-newsletter .mailchimp-sign-up-message {
    /* margin-left: 10px; */
    font-size: 16px;
}
.mc4wp-checkbox span:last-of-type, .mailchimp-newsletter span:last-of-type {
    width: 360px;
    display: block;
}
.mc4wp-checkbox span:last-of-type, .mailchimp-newsletter span:last-of-type {
    margin-top: 10px;
}
/******* end css toggle button ********/

/** mailpoet changes ***/
.mailpoet_form_popup .parsley-required, .mailpoet_form_popup .mailpoet_validate_error {
    color: #ffffff !important;
}

/** home page news feature section */
.news-home > article .home-news-img {
    /*min-height: 280px;
    max-width: 280px;*/
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    min-height: 180px;
    max-width: 370px;
}
.news-home article .home-news-img div {
        min-height: 180px;
        max-width: 370px;
    }
.news-home {
    display:grid;
    grid-column-gap: 20px;
    grid-row-gap: 24px;
}
.news-home {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.news-home:before {
    display:none;
}
.news-home > article > header {
    display: grid;
}
.news-home > article .news-tile {
    position: relative;
}
.news-home > article .home-news-title {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    max-width: 370px;
}
.news-home > article .home-news-title, .news-home > article .home-news-title h4 {
    color:#ffffff;
    text-decoration:none;
}
@media only screen and (min-width: 681px) and (max-width: 880px) {
    .news-home {
      grid-template-columns: 1fr 1fr;
    }
}
/** home page news feature section desktop */
@media only screen and (min-width: 881px) {
    .news-home {
      grid-template-columns: 1fr 1fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      grid-template-areas: "news1feature news1feature news2 news3" "news1feature news1feature news4 news5";
    }

    .news-home article:nth-of-type(1) { grid-area: news1feature; }

    .news-home article:nth-of-type(2) { grid-area: news2; }

    .news-home article:nth-of-type(3) { grid-area: news3; }

    .news-home article:nth-of-type(4) { grid-area: news4; }

    .news-home article:nth-of-type(5) { grid-area: news5; }
    
    .news-home article .home-news-img, .news-home article .home-news-img div {
        height: 180px;
        width: 100%;
        max-width: 100%;
    }
    
    .news-home article:nth-of-type(1) .home-news-img, .news-home article:nth-of-type(1) .home-news-img div {
        height: 385px;
        width: 100%;
        max-width: 100%;
    }
}

/** main news page */
.news-page > article .home-news-img {
    /*min-height: 280px;
    max-width: 280px;*/
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    min-height: 180px;
    max-width: 370px;
}
.news-page article .home-news-img div {
        min-height: 180px;
        max-width: 370px;
    }
.news-page {
    display:grid;
    grid-column-gap: 20px;
    grid-row-gap: 24px;
}
.news-page {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.news-page:before {
    display:none;
}
.news-page > article > header {
    display: grid;
}
.news-page > article .news-tile {
    position: relative;
}
.news-page > article .home-news-title {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    max-width: 370px;
}
.news-page > article .home-news-title, .news-page > article .home-news-title h4, .news-page > article .excerpt-date-news {
    color:#ffffff;
    text-decoration:none;
}
/* hides 'post by name' on news page tiles */
.news-page > article .home-news-title a.url.fn.n {
    display:none;
}
@media only screen and (min-width: 681px) and (max-width: 880px) {
    .news-page {
      grid-template-columns: 1fr 1fr;
    }
}
/** home page news feature section desktop */
@media only screen and (min-width: 881px) {
    .news-page {
      grid-template-columns: 1fr 1fr 1fr 1fr;
      grid-template-rows: 1fr 1fr 1fr 1fr;
      grid-template-areas: "news1feature news1feature news2 news3" "news1feature news1feature news4 news5" "news6 news7 news10 news10" "news8 news9 news10 news10";
    }

    .news-page article:nth-of-type(1) { grid-area: news1feature; }

    .news-page article:nth-of-type(2) { grid-area: news2; }

    .news-page article:nth-of-type(3) { grid-area: news3; }

    .news-page article:nth-of-type(4) { grid-area: news4; }

    .news-page article:nth-of-type(5) { grid-area: news5; }
    
    .news-page article:nth-of-type(6) { grid-area: news6; }

    .news-page article:nth-of-type(7) { grid-area: news7; }

    .news-page article:nth-of-type(8) { grid-area: news8; }

    .news-page article:nth-of-type(9) { grid-area: news9; }
    
    .news-page article:nth-of-type(10) { grid-area: news10; }
    
    .news-page article .home-news-img, .news-home article .home-news-img div {
        height: 180px;
        width: 100%;
        max-width: 100%;
    }
    
    .news-page article:nth-of-type(1) .home-news-img, .news-page article:nth-of-type(1) .home-news-img div, .news-page article:nth-of-type(10) .home-news-img, .news-page article:nth-of-type(10) .home-news-img div {
        height: 385px;
        width: 100%;
        max-width: 100%;
    }
}
/** sitemap loop **/

.sitemaploop {    
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
    grid-column-gap: 30px;
}
.sitemaploop:before {
    display:none;
}
@media only screen and (min-width: 881px) {
   .sitemaploop {    
        grid-template-columns: 1fr 1fr;
    }
}
/** main case studies page */
.case-studies-tiles > article .home-news-img {
    /*min-height: 280px;
    max-width: 280px;*/
    border: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    min-height: 180px;
    max-width: 370px;
}
.case-studies-tiles article .home-news-img div {
        min-height: 180px;
        max-width: 370px;
    }
.case-studies-tiles {
    display:grid;
    grid-column-gap: 20px;
    grid-row-gap: 24px;
}
.case-studies-tiles {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.case-studies-tiles:before {
    display:none;
}
.case-studies-tiles a {
    background: #e8214d;
    position: relative;
}
.case-studies-tiles a:hover {
    background: #e8214d;
}
.case-studies-tiles > article > header {
    display: grid;
}
.case-studies-tiles > article .news-tile {
    position: relative;
}
.case-studies-tiles > article .home-news-title {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 10px;
    margin-bottom: 0;
    max-width: 370px;
}
.case-studies-tiles a, .case-studies-tiles a article h4, .case-studies-tiles a article p {
    color:#ffffff;
    text-decoration:none;
}
.case-study-title {
    padding: 0px 10px 10px 10px;
    margin: 0;
}
.case-study-image img {
    display: block;
}
.case-studies-tiles article:after {
    content:'>';
    font-weight: 700;
    font-size: 30px;
    color:#ffffff;
    position: absolute;
    right: 10px;
    bottom: 0px;
    z-index:0;
}
@media only screen and (min-width: 681px) and (max-width: 880px) {
    .case-studies-tiles {
      grid-template-columns: 1fr 1fr;
    }
}
/** home page news feature section desktop */
@media only screen and (min-width: 881px) {
    .case-studies-tiles {
      grid-template-columns: 1fr 1fr 1fr;
    }
    .case-studies-tiles article .home-news-img, .case-studies-tiles article .home-news-img div {
        height: 180px;
        width: 100%;
        max-width: 100%;
    }
    
}

/** theme my login - hide certain required profile fields from user-profile page **/
.tml-nickname-wrap, .tml-display-name-wrap  {
    display:none !important;
}



/***  board of directors tiles  ***/

    .board-tiles {
        background-image: url(../team-background.html);
        background-position: center top !important;
        background-repeat: no-repeat;
        padding: 100px 15px 15px 15px;
        max-width: 380px;
        margin: auto;
    }
    .board-tiles a {
        text-decoration: none;
    }
    .board-tiles a:hover { /* stop opacity on hover of these tiles */
        opacity: 1;
    }
    
@media (max-width: 1024px) and (min-width: 781px) { /* fix to skip 'tablet' layout as it's 3 in a row */
    .board .panel-grid-cell {
        width: 100% !important;
        -ms-flex: 0 1 100% !important;
        -webkit-flex: 0 1 100% !important;
        flex: 0 1 100% !important;
        padding:0 !important;
    }
}

/***  team tiles  ***/

    .team-tiles {
        background-image: url(../team-background.html);
        background-position: center top !important;
        background-repeat: no-repeat;
        padding: 180px 15px 15px 15px;
        max-width: 380px;
        margin: auto;
    }


.borderbottom {
    border-bottom: 3px solid #000000;
}



/**** transparent background image overlay - use transparentbackrow class in the row you want to affect within the pagebuilder ***/

.transparentbackrow.panel-row-style{
  position: relative;
}
.transparentbackrow.panel-row-style::before{
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  z-index: 1
}
.transparentbackrow .panel-grid-cell{
  z-index: 2
}


/**** Advertisement areas ***/

/** advertisement below the header ***/
.ads-below-header-inline, .ads-below-header-mobile-inline {
    text-align: center;
}
.ads-below-header-mobile-inline {
    display:block;
}
.ads-below-header-inline { /** desktop version ***/
    display:none;
}
@media only screen and (min-width: 781px) {
    .ads-below-header-mobile-inline {
        display:none;
    }
    .ads-below-header-inline { /** desktop version ***/
        display:block;
    }
}
/** advertisement above the footer ***/
.ads-above-footer-inline {
    text-align: center;
}
.advertisement-above-footer {
    /*border-top: 10px solid #e0e0e0;*/
    padding-top: 30px;
}
@media only screen and (min-width: 781px) {
    .ads-above-footer-inline {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/** reading time plugin display and styling */
.rt-reading-time {
    font-weight: 700;
    font-family: 'Londrina Solid', cursive;
    /* text-align: right; */
    color: #e8204d;
}

/*** MailMunch newsletter sign-up css edits ***/
.mailmunch-topbar {
    -webkit-box-shadow: 0px 2px 12px 7px rgba(0,0,0,0.44);
    -moz-box-shadow: 0px 2px 12px 7px rgba(0,0,0,0.44);
    box-shadow: 0px 2px 12px 7px rgba(0,0,0,0.44);
}


/* stats counter odometer styles */
.lsow-odometers .lsow-odometer .lsow-number span, .lsow-odometers .lsow-odometer .lsow-suffix {
    font-family: 'Londrina Solid', cursive;
    font-weight: 400;
    color: #e8214d !important;
}
.lsow-odometers .lsow-odometer .lsow-stats-title, .lsow-odometers .lsow-odometer .lsow-stats-title .lsow-icon-wrapper {
    color: #000000 !important;
}
.center-odometers .lsow-grid-item.lsow-odometer {
    text-align: center;
}
/*** SOCIAL FOLLOW ICONS ****/
	#socialfollow {
		display:none;
	}
/*
#socialfollow {
	position: fixed;
	bottom:0em;
	right:0em;
	background-color: #fff;
	background-color:  rgba(255,255,255,1);
	padding:3px;
}
.socialicons {
	display:inline-block;
}*/
#socialfollow a { /** If using pagebuilder widget this is needed to vertically align icons ***/
	clear: both;
    float: right;
	margin:0px;
}
#socialfollow {
    position: relative;
    background: black;
    left:0em;
    /*bottom:0em;*/
    padding:0px;
    display:block; /* was flex */
    float:left;
    z-index:1500;
    width: 100%;
}
.social-media-button-container {
        display: flex;
    }
#socialfollowcontainer {
    margin:0;
    width: 100%;
}
#socialfollow .social-media-button-container {
    display: flex;
    justify-content: space-between; /* was justify-content: space-around;*/
}
#socialfollow .social-media-button-container:before, #socialfollow .social-media-button-container:after {
    display:none;
    visibility: hidden;
}
@media only screen and (min-width: 0px) and (max-width: 1289px) {
    #socialfollow .social-media-button-container a {
        background: transparent;
        border: transparent;
    }
}
@media only screen and (min-width: 700px) and (max-width: 1289px) {
    #socialfollow {
        position: fixed;
        height:40px;
    }
    #stickyheader {
        margin-top: 40px;
    }
}
@media only screen and (min-width: 1290px) {
    #socialfollow {
        margin-top:120px;
        bottom:auto;
        position:fixed;
        box-shadow: 0 0 10px rgba(0,0,0,.2), 0 6px 16px rgba(0,0,0,.1);
        background: transparent;
        width: auto; /* resets width of widget to default */
    }
    .social-media-button-container {
        display: block;
    }
    #socialfollow .social-media-button-container {
        display: block;
    }
    #socialfollow aside {
        margin:0px;
    }
    #socialfollow .socialicons {
        display: block;
        height: auto;
        padding-right:0px;
    }
}
.socialicons {
	padding-right:5px;
}
/*** jetpack slideshow / carousel background - change from default black to transparent **/

.slideshow-window {
	background-color: transparent !important;
	border-color: transparent !important;
	border-radius: 0;
	border-width: 0;
	padding-top: 0 !important;
}

/*** click to tweet - overrides **/
.tm-click-to-tweet {
    font-family: 'Londrina Solid', cursive;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.tm-click-to-tweet .tm-ctt-text a {
    font-weight: 900;
    color: #e8214d;
}
/*** new quote ***/
.speechquote blockquote {
    line-height: normal;
    quotes: "\201C""\201D""\2018""\2019";
    position: relative;
    padding: 12px 10px 10px 10px;
    background-color: #f7f7f7;
    min-height: 50px;
}
.speechquote blockquote:before {
    content: "\201C";
    position: absolute;
    margin-left: 0;
    margin-top: 30px;
}
.speechquote blockquote p, .speechquote blockquote h3 {
    display: block;
    margin: 0 0 0 40px;
    color: #000000;
}
.speechquote blockquote:after {
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    margin-top: -10px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 20px solid #f7f7f7;
    content: '';
    transform: rotate(270deg);
}
/*** END new quote ***/
/****  most read widget with numbers  *****/
.widget_top-posts ul {
    counter-reset: most-read-counter; /** resets following :before number counter-increment as mentioned here https://www.w3schools.com/cssref/pr_gen_counter-increment.asp */   
}
.widget_top-posts li {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0dfe0;
}
    
.widget_top-posts ul li:before {
    counter-increment: most-read-counter;
    content: counter(most-read-counter);
    font-size: 58px;
    position: absolute;
    color: #ffffff;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    text-shadow: -1px -1px 0 #0000001c, 1px -1px 0 #0000001c, -1px 1px 0 #0000001c, 1px 1px 0 #0000001c;
    top: 0;
    font-weight: bold;
    line-height: 1;
    left: -16px;
    top: -6px;
}
.widget_top-posts li a {
    position: relative;
    text-decoration: none;
    font-weight: bold;
}
.widget_top-posts ul li .widgets-list-layout-links { /** overrides jetpack css **/
    float: left;
    position: relative;
    text-align: left;
    width: 100%;
    margin-left: 20px;
}
.widgets-list-layout .widgets-list-layout-blavatar { /** overrides jetpack css **/
    float: none !important;
    width: auto !important;
    max-width: 50px !important;
    height: auto !important;
}
/****  END most read widget with numbers  *****/
/*** mc4wp overrides for top menu bar ***/

#mailchimp-top-bar.mctb-big input, #mailchimp-top-bar.mctb-big label {
    margin: 5px !important;
}

.mctb-bar[style*='display: none;'] + .mctb-close {
  display: none !important;
}
.mctb-close {
    content="X" !important;
    color: #e8214d !important;
}

.mctb-label {
    font-family: 'Londrina Solid', cursive;
	font-weight: 400; /* standard font */
}


/*** membership amendments ***/
.woocommerce-members_area .woocommerce .site-content .membership-product-image img, .woocommerce-members_area.woocommerce-page .site-content .membership-product-image img, .woocommerce-members_area .woocommerce .site-content img, .woocommerce-members_area.woocommerce-page .site-content img {
    max-width:100px;
}
.woocommerce-members_area .woocommerce table.my_account_orders .order-actions {
    padding: 0;
}
.woocommerce-members_area .woocommerce table.my_account_orders .order-actions .button {
    min-width: 100%;
    margin-left: 0;
    font-size: 12px;
}
.latest-member-resource a.button {
    width:100%; /* makes 'download now' button full width */
}
@media only screen and (min-width: 781px) {
    .latest-member-resource {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 30px;
    }
}
.shop_table a.button {
    min-width: auto; /* was 25% */
    margin-bottom:3px;
}
.woocommerce span.onsale.wc-memberships-member-discount {
    /*width: 150px;
    left:0;*/
    width: 73px;
    margin: 0 3px;
    padding: 10px;
    line-height: 110%;
    left:0;
}
.woocommerce ul.products li.product .onsale.wc-memberships-member-discount {
    /*width: 150px;
    margin:2px;*/
    width: 73px;
    margin: 2px;
    padding: 10px;
    line-height: 110%;
    margin: 0 3px;
}
/*** resizes category titles on WooCommerce shop and archive pages ***/
.shop-categories h4 {
    font-size: 18px;
}

/*** hides product category dropdown on shop / archive pages for desktop, but show for tablet/mobile **/
@media only screen and (min-width: 781px) {
    .woocommerce .shop-page-categories {
        display:none !important;
    }
}
/*** hides initial shop categories on the shop page except for the main page **/
.woocommerce.tax-product_cat .shop-categories, .woocommerce.paged .shop-categories, .woocommerce.tax-product_cat .shop-page-categories, .woocommerce.paged .shop-page-categories, .woocommerce.tax-product_cat .shop-page-search, .woocommerce.paged .shop-page-search, .woocommerce.search .shop-page-text-intro, .woocommerce.tax-product_cat .shop-page-text-intro,  .woocommerce.paged .shop-page-text-intro, .woocommerce.tax-product_tag .shop-categories, .woocommerce.tax-product_tag .shop-page-search, .woocommerce.tax-product_tag .shop-page-text-intro {
    display:none !important;
}
.woocommerce.tax-product_cat .shop-paged-categories-dropdown, .woocommerce.paged .shop-paged-categories-dropdown, .woocommerce.search .shop-paged-categories-dropdown, .woocommerce.tax-product_tag .shop-paged-categories-dropdown {
       display:flex !important; 
}

/** changes pagination on WooCommerce pages so that on mobiles the numbers are hidden and only arrows shown with current page number ***/
@media only screen and (max-width: 560px) {
    li a.page-numbers {
        display:none !important;
        padding:0;
    }
    li a.prev, li a.next {
        display:block !important;
    }
    .woocommerce nav.woocommerce-pagination ul li {
        padding: 0px;
    }
}

.archive.woocommerce h1.woocommerce-products-header__title.page-title, .archive.woocommerce .shop-header-product-tags {
    display: none !important;
}
.archive.paged.woocommerce h1.woocommerce-products-header__title.page-title, .archive.search.woocommerce h1.woocommerce-products-header__title.page-title, .archive.tax-product_tag.woocommerce h1.woocommerce-products-header__title.page-title, .archive.tax-product_cat.woocommerce h1.woocommerce-products-header__title.page-title, .archive.paged.woocommerce .shop-header-product-tags, .archive.search.woocommerce .shop-header-product-tags, .archive.tax-product_tag.woocommerce .shop-header-product-tags, .archive.tax-product_cat.woocommerce .shop-header-product-tags {
    display: block !important;
}

.woocommerce.archive .lsow-odometers .lsow-odometer {
        margin-bottom: 30px;
    }
/*** fixes countdown timers on tablet/mobile to be smaller for resources / archives ***/

@media only screen and (max-width: 860px) {
    .woocommerce.archive .lsow-odometers .lsow-odometer .lsow-number span {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 0;
    }
    .woocommerce.archive .lsow-odometers .lsow-odometer {
        margin-bottom: 20px;
    }
}

/*** SCHOOL MEMBERSHIP QUANTITY TEXT - assigned to only the specific page ID 134301 ***/
.single-product.postid-134301.woocommerce .quantity::before {
    content: "Amount of teachers in your School:";
    padding-right:10px;
    font-family: Londrina Solid;
    font-size: 1.3em;
    color: #e8214d;
}
.single-product.postid-134301.woocommerce .price > .woocommerce-Price-amount::before{
    content: "Per teacher";
    padding-right:5px;
}
.single-product.postid-134301.woocommerce .subscription-details .woocommerce-Price-amount::after{
    content: "per teacher";
    padding-left:5px;
}

/*** edits for membership prices on catalogue pages ***/

/* hides on the 1st each month text */
.products span.subscription-details > span.subscription-details {
    display: none;
}
/* adds the new text content */
.products span.subscription-details > span.woocommerce-Price-amount.amount::after {
    content: " a month";
}
/*** END edits for membership prices on catalogue pages ***/

/*** subscription multi licence deterrants ***/
/*** adds warning to T&Cs in checkout thanks to /js/add-subscriber-terms-to-checkout.js ***/
.sub-in-checkout .woocommerce-form__label-for-checkbox:after {
    content:" and confirm my subscription benefits will not be shared unless I have purchased multiple licences for each teacher.";
    font-weight: 700;
}

/*** adds warning to school membership page when quantity input field is clicked thanks to  - /js/school-membership-show-tooltip.js ***/
.single-product.postid-145899.woocommerce .school-input-warning, .single-product.postid-146302.woocommerce .school-input-warning, .single-product.postid-168734.woocommerce .school-input-warning, .single-product.postid-168738.woocommerce .school-input-warning,  .single-product.postid-230376.woocommerce .school-input-warning,  .single-product.postid-192170.woocommerce .school-input-warning,  .single-product.postid-192180.woocommerce .school-input-warning {
    background: black;
    color: white;
    z-index: 1;
    margin-top: -20px;
    padding: 10px;
    max-width: 475px;
}
.single-product.postid-145899.woocommerce .school-input-warning:before, .single-product.postid-146302.woocommerce .school-input-warning:before, .single-product.postid-168734.woocommerce .school-input-warning:before, .single-product.postid-168738.woocommerce .school-input-warning:before, .single-product.postid-230376.woocommerce .school-input-warning:before, .single-product.postid-192170.woocommerce .school-input-warning:before, .single-product.postid-192180.woocommerce .school-input-warning:before {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid black;
    content: ' ';
    position: absolute;
    margin: -20px auto 0 auto;
}

/*** pagebuilder tablet layout targeting ***/

/** stop tablet layout and go straight to mobile layout if this row has the class 'no-tablet-layout' **/
@media only screen and (max-width: 1024px) and (min-width: 781px) {
    .no-tablet-layout .panel-grid-cell {
        -webkit-flex: 0 1 100% !important;
        flex: 0 1 100% !important;
    }
}

.woocommerce-privacy-policy-text {
    clear:both;
}


/*** fix select drop-down on shop-header */
.woocommerce .shop-header .select2-container--default .select2-selection--single {
    padding: 5px 0 ;
}
.woocommerce .shop-header .select2-container .select2-selection--single {
    height: 42px !important;
}
.woocommerce .shop-header .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #e8214d !important;/* changes color of all select2 fields */
    color: #fff;
}
.select2-container *:focus {
        outline: none; /* hides focus color (blue) of all select2 fields */
    }
/*** END fix select drop-down on shop-header */

/** fixes for pre-order system calendar display in checkout ***/
.woocommerce-checkout .ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    margin-top: 60px;
    background: #fff;
}
.woocommerce form .form-row .woocommerce-input-wrapper .description {
    background: #e8214d;
}
.woocommerce form .form-row .woocommerce-input-wrapper .description::before {
    border-color: #e8214d transparent transparent transparent;
}
.woocommerce-checkout a.ui-datepicker-next.ui-corner-all {
    float:right;
}
.woocommerce-checkout a.ui-datepicker-next, .woocommerce-checkout a.ui-datepicker-prev{
    cursor: pointer;
}
/** END fixes for pre-order system calendar display in checkout ***/

.woocommerce-cart .cross-sells ul li {
    display: none; /* hides all cross-sell items */
}

.woocommerce-cart .cross-sells ul li:nth-child(-n+2) {
    display: block; /* then displays only first 2 cross sell items */
}

.woocommerce a.checkout-button.button, .woocommerce a.checkout-button.button:hover {
    background-color: #008000;
    width: 100%;
}
.woocommerce button#place_order {
    background-color: #008000;
    width: 100%;
}

/** style changes for the membership-content access-restricted posts warning */
.single-post.membership-content.access-restricted .woocommerce-error, .single-post.membership-content.access-restricted .woocommerce-info, .single-post.membership-content.access-restricted .woocommerce-message {
    padding:0;
    border:none;
}
.membership-content.access-restricted .woocommerce-info::before {
    display:none;
}
.membership-content.access-restricted .widget {
    margin:0;
}
.group-blog:not(.logged-in) .blog-page-excerpt > .woocommerce, .blog:not(.member-logged-in) .blog-page-excerpt > .woocommerce {
    display:none; /* hides the member access warning  on blog category pages */
}
.blog-page-excerpt a {
    color: #000;
}
.group-blog:not(.logged-in) .category-toolkit-member button, .group-blog:not(.logged-in) .category-basic-account button {
    display:none;
    height:0;
}
/* @media only screen and (max-width: 699px) {
    .group-blog:not(.member-logged-in) .category-toolkit-member .blog-page-excerpt p {
        padding-bottom: 25px; /* ensures that there is padding for the paragraph text on mobile layouts, otherwise the buttons hover over the paragraph excerpts */
   /* }
}*/
.group-blog:not(.member-logged-in) .category-toolkit-member .blog-page-excerpt:after {
    content: "Toolkit Member Exclusive Access";
    position: absolute;
    bottom: -30px;
    width: 100%;
    margin-right: 20px;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
	border: 0;
	border-radius: 0px;
    background: #e8214d;
	color: #ffffff;
    padding: 0.25em 0.75em;
	display: inline-block;
	text-decoration:none;
	font-weight: 700;
	font-size: 18px;
    font-size: 1.15em;
	opacity:1;
    font-family: Londrina Solid;
    font-size: 1.3em;
    text-align:center;
}
.group-blog:not(.logged-in) .category-basic-account .blog-page-excerpt:after {
    content: "Login to read";
    position: absolute;
    bottom: -30px;
    width: 100%;
    margin-right: 20px;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
	border: 0;
	border-radius: 0px;
    background: #e8214d;
	color: #ffffff;
    padding: 0.25em 0.75em;
	display: inline-block;
	text-decoration:none;
	font-weight: 700;
	font-size: 18px;
    font-size: 1.15em;
	opacity:1;
    font-family: Londrina Solid;
    font-size: 1.3em;
    text-align:center;
}
.single:not(.member-logged-in) .woocommerce-info.wc-memberships-content-restricted-message, .single:not(.logged-in) .woocommerce-info.wc-memberships-content-restricted-message {
    background-color: transparent;
    margin:0 0 30px 0 !important;
}
/* makes the member and registered user excerpt fade out at the bottom */
/*
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .member-access-excerpt, .registered-access-excerpt {
        background: -webkit-linear-gradient(#000000, #ffffff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-bottom: 20px;
    }
}
.member-access-excerpt p, .registered-access-excerpt p {
    display: inline;
}*/
.excerpt-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 99%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    pointer-events: none;
    height: 50%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 99;
}
.excerpt-container {
    position: relative;
}

/* fixes the issue with WooCommerce Memberships providing the excerpt (which is needed to show the excerpt on the catagory / archive pages) but is not needed on the single post page thanks to the d4d-member-access.php plugin 
.single:not(.member-logged-in) .category-toolkit-member .entry-content {
    visibility: collapse;
    font-size: 0px;
}*/
/* layout for .member-access-products shortcode in widget 'toolkit-member-access-banner' */
.single:not(.member-logged-in) .category-toolkit-member .entry-content .author-bio-container, .group-blog:not(.member-logged-in) .category-toolkit-member .entry-content .woocommerce {
    visibility: visible;
    font-size: 16px;
    font-size: 1rem;
}
.member-access-products .woocommerce .products ul, .member-access-products .woocommerce ul.products {
    display: flex;
    gap: 10px;
}
.member-access-products .woocommerce-page.columns-3 ul.products li.product, .woocommerce.columns-3 ul.products li.product {
    max-width: 268px;
    width:auto;
    margin:0;
}
/** adds VIP image icon to 'Basic Account' category blog featured image on home and blog archives **/
.category-basic-account .blogimgcontainer, .home .category-basic-account a {
    position: relative;
}
.category-basic-account .blogimgcontainer:before {
    background-image: url(../png/vip-tt-badge.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    position:absolute;
    top:10px;
    right:10px;
    z-index: 1;
    content: '';
}
.category-basic-account .news-home-image:before {
    background-image: url(../png/vip-tt-badge.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    position:absolute;
    top:10px;
    right:10px;
    z-index: 1;
    content: '';
}
/** adds VIP image icon to 'Basic Account' single post featured image **/
.single-post .category-basic-account .post-featured-desktop {
    position: relative;
    max-width:820px;
}
.single-post .category-basic-account .post-featured-desktop:before {
    background-image: url(../png/vip-tt-badge.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    position:absolute;
    top:10px;
    right:10px;
    z-index: 1;
    content: '';
}
/** adds Toolkit Member image icon to 'Toolkit Member' category blog featured image on home and blog archives **/
.category-toolkit-member .blogimgcontainer, .home .category-toolkit-member a {
    position: relative;
}
.category-toolkit-member .blogimgcontainer:before {
    background-image: url(../png/toolkit-tt-badge.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    position:absolute;
    top:10px;
    right:10px;
    z-index: 1;
    content: '';
}
.category-toolkit-member .news-home-image:before {
    background-image: url(../png/toolkit-tt-badge.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    position:absolute;
    top:10px;
    right:10px;
    z-index: 1;
    content: '';
}
/** adds Toolkit Member image icon to 'Toolkit Member' single post featured image **/
.single-post .category-toolkit-member .post-featured-desktop {
    position: relative;
    max-width:820px;
}
.single-post .category-toolkit-member .post-featured-desktop:before {
    background-image: url(../png/toolkit-tt-badge.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
    position:absolute;
    top:10px;
    right:10px;
    z-index: 1;
    content: '';
}
/*** hide comments for non-logged in users / members ***/
.single:not(.logged-in) .category-basic-account .comments-area, .single:not(.member-logged-in) .category-toolkit-member .comments-area {
    display:none;
}
/** following stops floated image content in excerpt from disrupting the layout of the excerpt and banner below it */
.single-post #free-priority-access-banner, .single-post #toolkit-member-access-banner {
    clear:both;
}
.single-post .registered-access-excerpt img, .single-post .member-access-excerpt img {
    float: none;
    display: none;
}
/** toolkit member styling 2021 **/
.pricetable ul {
    list-style-type: '\2714';
    list-style-position: outside;
    padding: 0 15px;
}
.pricetable ul li {
    padding-left: 5px;
}
/*@media only screen and (min-width: 1025px) {
    .pricetable > .panel-grid-cell:nth-of-type(2) {
        margin-top: -30px;
        margin-bottom: -20px;
    }
}*/
/** rate card form styling **/
.ratecardform input[type=submit]{
    width:100%;
}
.ratecardform textarea.wpcf7-form-control.wpcf7-textarea {
    border: 1px solid black;
}
/*** favourites / bookmarks CSS ***/
button.simplefavorite-button {
    margin-bottom: 20px;
}
.bookmark-top button.simplefavorite-button {
    margin: 0;
}
.singlepostunderheading > span {
    display:block;
    margin-bottom: 10px;
}
@media only screen and (min-width: 261px) {
    .singlepostunderheading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap:10px;
    }
    .singlepostunderheading > span {
        margin-bottom: 0px;
    }
}
/*** Google Map Embeds ***/
.mapcontainer {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.mapcontainer > div {
    margin-top: -56px;
}

/*** PeachPay button fixes ***/

.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: none;
}
.pp-button {
    padding: 5px 1px !important;
}

/*** PeachPay hide payment method option in account area (doesn't work) ***/
.woocommerce-account.woocommerce-add-payment-method li.woocommerce-PaymentMethod.woocommerce-PaymentMethod--peachpay_stripe_card.payment_method_peachpay_stripe_card {
    display: none;
    height:0;
    visibility: hidden;
}

/*** wider add to cart buttons on single product pages ***/
.woocommerce div.product form.cart .button {
    width:100%;
}

/** Google / Apple Pay adjustment for quantity field on single product pages providing bigger gap underneath the quantity field ***/
.single-product .quantity {
    padding-bottom: 1.5em;
}

/*** fix for Mailchimp plugin woocommerce / wordpress sign-up form field radio ***/
.mailchimp-newsletter > label.woocommerce-form__label.woocommerce-form__label-for-checkbox.inline {
    display: block !important;
}