:root {
	--main-color: var(--highlight-color);
}

#top .av-hide-overflow {
overflow: hidden;
}

#wp-admin-bar-edit a {
max-width: 160px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

#wp-admin-bar-avia_ext, #wp-admin-bar-avia {
display: none !important;
}

#top textarea, #top input[type="text"], #top input[type="tel"],
#top input[type="email"], #top select, #top .minor-meta, #top ul li, #top ol li, #top .main-title {
	font-family: inherit;
}

.avia-slideshow {
	background: #111;
}


#header_meta .menu a {
	font-size: 13px;
	text-decoration: none;
}
 .menu .phone a::before {
     font-family: 'entypo-fontello';
     content: "";
     padding-right: 5px;
}
 .menu .email a::before {
     font-family: 'entypo-fontello';
     content: "";
     padding-right: 5px;
}

.gm-style-iw-d b, .gm-style-iw-d a {
	color: var(--main-color);
}
.gm-style-iw-d p {
	line-height: 1.3em;
}

#top .wp-caption-text {
	font-family: inherit;
	font-style: normal;
	font-size: 14px;
}
@media only screen and (max-width: 989px) {
	#top .wp-caption {
		display: block;
		clear: both;
		float: none;
		max-width: 500px;
		margin: 25px auto;
	}
}

@media only screen and (min-width: 989px) {
    #top .av_header_transparency #header_meta {
    background: rgba(0,0,0,0.4);
    }
}

#top .commentlist .children ul {
    margin: 0 !important;
    border: none !important;
}
#commentform .comment-form-author, #commentform .comment-form-email, #comment-form-cookies-consent {
	z-index: 2 !important;
	display: block;
	position: relative;
}

#top .comment_text {
	font-size: 15px;
}
#top .comment-reply-link, #top #cancel-comment-reply-link {
	border: 1px solid currentColor;
	padding: 2px 6px;
	border-radius: 2px;
	line-height: 1.5em;
	font-family: 'Arial', sans-serif;
	letter-spacing: 0.05em;
}

.comment-form-cookies-consent {
position: relative;
z-index: 1;
display: block;
clear: both;
padding-bottom: 30px;
}

#commentform label {
width: max-content;
font-size: 15px !important;
position: unset !important;
}
#commentform label .required {
float: right;
padding: 0 !important;
line-height: 1.35em;
font-size: 1em !important; }

.comment-form-url {
display: none !important;
}
#commentform input[type="text"] {
width: 100% !important;
}

.comment-form-cookies-consent label {
width: 95% !important;
float: left;
padding: 0 !important;
}

.comment-form-cookies-consent input {
float: left;
margin: 0 5px 0 0 !important;
}

@media only screen and (min-width: 767px) {
#commentform .comment-form-author,
#commentform .comment-form-email {
width: 49%;
margin-right: 1%;
float: left;
}}

#top .avia-logo-element-container .slide-entry {
    padding: 5px !important;
}

.avia-logo-element-container .avia-slideshow-controls a {
display: block !important;
}

.text-sep-tags {
	display: none;
}
.av-magazine-tags-wrap {
	display: contents;
}
.av-magazine-tags::before {
	content: " | ";
}

.format-link a[rel="bookmark"]::after {
	content: "Read More";
	display: block;
	color: var(--main-color);
	font-size: 0.8em;
	border: 2px solid currentColor;
	max-width: max-content;
	padding: 4px 8px 2px 8px;
	line-height: 1em;
	margin: 5px 0;
}

/*---SOCKET---*/

#socket * {
	font-size: 13px;
}

#socket .menu li {
	display: contents;
}
#socket .menu a {
	display: inline-block;
	float: none;
	padding: 2px;
	margin: 3px;
}
#top #socket nav {
	margin: 0;
}
#socket .menu {
	max-width: max-content;
	margin: 5px auto;
	text-align: right;
}
#socket a {
	position: relative;
	text-decoration: none !important;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#socket a::after {
	content: "";
	display: block;
	position: absolute;
	width: 0%;
	height: 1.5px;
	background: currentColor;
	bottom: -2px;
	left: 0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
#socket a:hover:after {
	width: 100%;
}
.copyright {
	margin: 5px 0;
}

#socket .av-menu-button .avia-menu-text {
	padding: 0 !important;
	border: none !important;
	background: none !important;
	border-radius: inherit !important;
	color: inherit;
}

#socket .social_bookmarks a {
	border: none;
	font-size: 20px;
	border-radius: 0;
}
#socket .social_bookmarks {
	margin: -5px 0 -5px 15px;
}

@media only screen and (max-width: 767px) {
	#socket .menu {
		text-align: center;
	}
	.comment_container {
		padding: 0px !important;
	}
    #socket .social_bookmarks {
        margin: 10px auto;
        text-align: center;
        width: max-content;
        clear: both;
        float: none;
    }
    .copyright {
        text-align: center;
        clear: both;
        float: none;
        width: 100%;
        display: block;
    }

	#top .logo {
		max-width: calc(100% - 75px);
	}
    #top .single-big {
		padding-right: 0;
	}
}
@media only screen and (max-width: 989px) {
    .responsive #top #header .social_bookmarks {
    	display: block;
    	float: right;
    	width: max-content;
    	padding: 0;
	}
}

/*---LIGHTBOX POLAROIDS---*/

#top .mfp-img {
	padding: 5px 5px 35px 5px;
	border-radius: 5px;
	background: #f7f7f7;
	border: 1px solid #bbb;
	max-height: 85vh;
}

.mfp-figure .mfp-bottom-bar {
	margin-top: -28px;
}

.mfp-title {
	padding-left: 11px;
	color: #333;
	font-weight: bold;
	font-size: 15px;
}

.mfp-counter {
	padding-right: 10px;
	color: #333;
	font-size: 15px;
}

#top .mfp-close {
	right: 10px;
	top: 10px;
	background: rgba(0,0,0,0.1);
}

/*---ENFOLD FACEBOOK LIKEBOX---*/

.av_facebook_widget_button {
	font-size: 14px !important;
	line-height: 24px !important;
	text-decoration: none !important;
	border-radius: 4px !important;
	border: 1px solid currentColor !important;
}
.av_facebook_widget_button {
	color: #222 !important;
	padding-right: 10px !important;
}
.av_facebook_widget_button:hover {
	color: #2d88ff !important;
}
.avia_fb_likebox .av_facebook_widget_icon {
	font-size: 15px !important;
	line-height: 20px !important;
	width: 20px !important;
	height: 20px !important;
	display: inline-block !important;
	margin-top: 3px !important;
	background: #2d88ff !important;
	border-radius: 100% !important;
}
.avia_fb_likebox .av_facebook_widget_main_wrap {
	border-radius: 5px !important;
	overflow: hidden !important;
}
.avia_fb_likebox .av_facebook_widget_logo_image {
	border-radius: 100%;
	overflow: hidden !important;
	border: 2px solid #ddd;
}

/*-----MASONRY SORTING-----*/

#top .av-large-gap .av-masonry-sort {
	background: transparent;
	padding: 10px;
}
#top .av-current-sort-title {
	font-weight: 700;
	text-transform: uppercase;
	color: #222;
	color: var(--body-color);
}
#top .av-sort-by-term a,
#top .sort_by_cat a {
	display: inline-block;
	color: #222;
	color: var(--body-color);
	padding: 3px 15px;
	line-height: 1.5em;
	border: 3px solid currentColor;
	margin-left: -3px;
	position: relative;
}
#top .av-sort-by-term a.active_sort,
#top .sort_by_cat a.active_sort {
	background: #222;
	background: var(--body-color);
	border-color: #222;
	border-color: var(--body-color);
	color: white;
	color: var(--bg-color);
}
.av-sort-by-term a:not(.active_sort):hover,
.sort_by_cat a:not(.active_sort):hover {
	color: #333;
	color: var(--main-color);
	z-index: 10;
}
.text-sep.avia_show_sort,
.sort_by_cat .text-sep {
	display: none;
}
.av-sort-by-term a:first-of-type,
.sort_by_cat a:first-of-type {
	border-radius: 25px 0 0 25px;
}
.av-sort-by-term a:last-of-type,
.sort_by_cat a:last-of-type {
	border-radius: 0 25px 25px 0;
}

/*---MAGAZINE ELEMENT---*/

#top .text-sep-tags, #top .news_sort_sep {
	display: none;
}
#top .av-sort-by-term a {
	text-decoration: none;
}
.av-magazine-tags-wrap {
	display: contents;
}
.av-magazine-tags::before {
	content: " | ";
}

/*---AJAX PORTFOLIO---*/
.grid-entry-title {
	font-size: 20px;
	text-align: center;
}
@media only screen and (min-width: 767px) {
	#top .portfolio-preview-image {
		width: 40%;
        padding: 0;
   }
   .portfolio-preview-content {
   width: 60%;
    }
}
	.grid-entry .inner-entry {
		margin: 5px;
}



/*---PASSWORD PAGE---*/
#top .post-password-form {
	margin: 80px auto;
	max-width: 550px;
	padding: 10px 20px;
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
#top .post-password-form input[type="password"] {
	background-color: white;
}

/*---GRAVITYFORMS---*/

#top .ginput_container label, #top legend {
	font-weight: bold;
    font-size: inherit;
}
#top .gfield_required {
    font-weight: bold;
    color: var(--main-color);
    font-size: 1em;
    line-height: 0;
}

#top .ginput_total {
	border: none;
	padding: 0;
	color: darkgreen;
	font-weight: bold;
}

/*---CUSTOM CLASSES---*/

#max-grid, .max-grid {
	max-width: 1310px;
	margin: 0 auto;
    clear: both;
    float: none;
}

.privacy-policy ol *::marker {
     color: var(--main-color);
     font-weight: bold;
     font-size: 1.1em;
}
 .privacy-policy > h2 {
     margin: 30px 0 20px;
     border-top: 1px solid #ddd;
     padding-top: 30px;
     text-transform: none;
}
 .privacy-policy > h4 {
     letter-spacing: 0.05em;
     margin-top: 30px;
     text-transform: uppercase;
}
 .privacy-policy > h4::before {
     content: "▸ ";
}

.contact-list {
	margin: 10px 0;
}
.contact-list li {
	margin-bottom: 3px;
}
.contact-list .av_iconlist_title a {
	display: block;
	text-decoration: none !important;
	transition: all 0.2s ease;
	padding: 2px 10px 2px 30px;
	font-weight: bold;
    margin-left: -30px;
	max-width: calc(100% + 30px);
}

.contact-list .av_iconlist_title {
	margin-left: 32px;
}

.contact-list .av_iconlist_title a:hover {
	background: rgba(255,255,255,0.1);
}
.contact-list li .iconlist_icon  {
	position: absolute;
	padding-top: 1px;
	pointer-events: none;
}
.contact-list .iconlist_content {
	margin-left: 32px;
	font-size: 0.9em;
	line-height: 1.5em;
	opacity: 0.7;
}

@media only screen and (max-width: 767px) {
	.responsive #top .av-parallax {
		max-height: 100%;
		top: 0;
		transform: unset !important;
	}
}

@media only print {
	#header_meta, #footer-page {
		display: none;
	}
	aside {
		display: none !important;
	}
	.container .av-content-small.units {
		width: 100% !important;
		border: none;
	}
	.pmpro_actions_nav {
		display: none;
	}
}

#top .gform-theme-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-header select.ui-datepicker-month {
    margin-right: 20px;
    -moz-text-align-last: right;
    text-align-last: right;
}
#top .gform-theme-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-header select {
    background-color: transparent;
    background-image: url(/wp-content/plugins/gravityforms/images/theme/down-arrow.svg);
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    color: #585e6a;
    color: var(--c-text-default);
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-size: var(--t-font-size-label);
    font-weight: 500;
    font-weight: var(--t-font-weight-medium);
    height: auto;
    min-height: 0;
    padding: 0 22px 0 0;
    -webkit-appearance: none;
    width: auto;
}
#top .ui-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-title select {
    margin: 0 4px;
        margin-right: 4px;
}

#top .av-zero-padding {
	padding: 0;
}

#socket a[href="https://stratlab.ca/"]::before,
#socket a[href="https://strategylab.ca/"]::before
{
  content: "";
  display: inline-block;
  float: right;
  width: 1.5em;
  height: 1.5em;
  margin: 0.15em 0.25em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAC4jAAAuIwF4pT92AAADF0lEQVRogeWav0sjQRTHv7uJxtODaHFVkEBACBGMBguxkNgIQqorAgcprQWxFK448ODwr7AMWG9lYSViogQEISRYWARzUaOHP85E8644Dk7zxss4s9kJ94E0702W73eYeftmEgvARwDfAATRm/wA8NkCcAtg0GMxqjRsAC2vVWigYQO491qFBn7aXivQhV+UiMVimJmZgW2b4ZWIsL+/j6OjI+GY7wDo78/ExASZyvT0NL3UC6DGTvf8/LzuCdXGwsICG2eN3N+bu/+bzSYbZ420WuZW5KenJzZuxk7ukGKxiK2tLTYnrFoc+XweKysruLy8hGVZWsR1ChHh+PhYmJcykslkUCwWlUW5gdTSuru7c0uHMlJGHh8f3dKhjJSRcDjslg5lpPZINpvF2toa6vW6W3pYLMtCq9XC4eEhzs7OhOPaWpSlpSWvOxGWm5sbGh8f77xFMZWhoSGkUik2xxrx+XyuClKh0WiwcdZIX1+fq2JUkGpRHMdBrVZzVZBu2Kp1cnKCsbExTE1NwbZtEFFXRQWDQayvryMWi3X8HWH5vb6+xs7Ojg5db6JcLr96GnyJsVWrWq1KjTfWiOxdgbFGgkG5i0/hHgkEApicnITP58PDwwMODg5efVAikVC+cflTVIaHh7GxsSH9/bYWJRwO0+np6bP2wHEc8vv9be3ByMgIFQqFrrUpy8vLnbcoqVQKo6Ojz2KLi4uIRCJtY+fm5hCPx6VnTzesEdHbk3vj+/1SDbQyovaJNSI6QHEGu312HxgYYOPKVWt3dxdXV1eqj+kIIoLjOGxOeV1UKhVEo1Ekk0lXu2YiQi6XQ7lcZvNaFni1WkU2m9XxqDdj7AtRlv/zOqi/v98tHcpI7ZHNzU2srq7i4uICQHdLLxGhVCq9OqZnblEKhQKFQqHev0WJx+NIp9NsjjViyu+GHKKWiFU8OGju/wdEBYc14uVZ/V9sb2+zcQu/N/uHl4lEIoHZ2VljlhkRYW9vD7lcjkufC430GOdmTLcGbAB8g99bBGxo6oA95p0F4BOArwDeeyzmrdwC+PILq0g/qU2rhdMAAAAASUVORK5CYII=");
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-filter: invert(0);
  filter: invert(0);
}

#socket a[href="https://stratlab.ca/"]:hover::before,
#socket a[href="https://strategylab.ca/"]:hover::before
{
  -webkit-filter: invert(1);
  filter: invert(1);
}