/*
Theme Name:		Digital Health Canada 2023
Theme URI:		
Author:			Ellsworth Media
Author URI:		http://www.ellsworthmedia.com/
Version:		1.0
*/

/*-----------------------------------------------------------------------------------*/
/* Body, Typography and some main Elements
/*-----------------------------------------------------------------------------------*/

html * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; -webkit-font-smoothing:antialiased; -moz-font-smoothing:antialiased; font-smoothing: antialiased; }
body { font-size:18px; color:#000; font-family:"Open Sans", sans-serif; overflow-x:hidden; letter-spacing:0; font-weight:400; }
input, textarea { border-radius:0; }
input, textarea, select, label { font-family:"Open Sans", sans-serif; outline:0; }
input:focus, input:hover { outline:0; }
::-webkit-input-placeholder { color:#5E5E5E; opacity:1; }
:-moz-placeholder { color:#5E5E5E; opacity:1; }
::-moz-placeholder { color:#5E5E5E; opacity:1; }
:-ms-input-placeholder { color:#5E5E5E; opacity:1; }

h1, h2, h3, h4, h5, h6 { padding:0; margin:0 0 15px 0; line-height:1.3; font-weight:700; letter-spacing:0; font-family:"Montserrat", sans-serif; outline:0; }
h1 { font-size:36px; }
h2 { font-size:36px; }
h3 { font-size:28px; }
h4 { font-size:18px; }
h5 { font-size:18px; }
h6 { font-size:18px; }
img { display:block; max-width:100%; height:auto; }
ul,ol { margin:0; padding:0; list-style:none; }
a, a:visited, a:active, input[type=submit] { text-decoration:none; -webkit-transition:all .3s ease-out; -moz-transition:all .3s ease-out; -o-transition:all .3s ease-out; -ms-transition:all .3s ease-out; transition:all .3s ease-out; }
a:focus, a:hover { text-decoration:none; outline:0; }
:focus, :hover { text-decoration:none; outline:0; }
p { margin:0 0 25px 0; line-height:1.4; }
.animate { transition:all 0.3s ease 0s; -webkit-transition:all 0.3s ease 0s; -moz-transition:all 0.3s ease 0s; -ms-transition:all 0.3s ease 0s; }
.no-animate { transition:none; -webkit-transition:none; -moz-transition:none; -ms-transition:none; }
strong { font-weight:700; }
.button, .btn { display:inline-block; color:#FFF !important; background:#FE620D; padding:13px 20px 11px 20px; min-width: 155px; border-radius:30px; text-align:center; font-family:"Montserrat", sans-serif; font-size:14px; font-weight:700; text-decoration: none !important; }
.button:hover, .btn:hover { background:#2E3192; color:#FFF !important; }
.button.white { border:2px solid #FE620D; background:none; color:#FE620D !important; padding:12px 5px 12px 5px; }
.button.white:hover { background:#2E3192; border:2px solid #2E3192; color:#FFF !important; }


/*-----------------------------------------------------------------------------------*/
/* Structure
/*-----------------------------------------------------------------------------------*/

.container { margin:0 auto; width:1360px; padding-left:0; padding-right:0; max-width:none; /*display:flex; justify-content:space-between; align-items:center;*/ }
.flex-container { display:flex; justify-content:space-between; align-items:center; }
.view-mobile { display:none; }

.alignleft {float: left;}
.aligncenter {margin: auto; display: block;}
.alignright {float: right;}


/*-----------------------------------------------------------------------------------*/
/* Header styling
/*-----------------------------------------------------------------------------------*/

#header-top { background:#F5F5F5; padding:8px 0; }
	#header-top .social-links { display:flex; margin:0; }
		#header-top .social-links li { margin:0 6px 0 0; border-radius:5px; width:18px; height:18px;background:#2E3192; }
			#header-top .social-links li:last-child { margin:0; }
			#header-top .social-links li a { display:block; width: 100%; line-height:18px; color:#FFF; text-align:center; font-size:11px; }
			#header-top .social-links li a:hover { background:#FE620D; color:#FFF; }
			#header-top .social-links li a span { display:inline-block; line-height:18px; }
	#header-top nav { margin:0 0 0 auto; }
		#header-top nav ul { display:flex; }
		#header-top nav li { margin:0 40px 0 0; }
		#header-top nav li:last-child { margin:0; }
		#header-top nav li a { font-size:12px; color:#2E3192; font-family:"Montserrat", sans-serif; font-weight:500; }
		#header-top nav li a:hover { color:#FE620D; }

#header { border-bottom:1px solid #F1F1F1; position:relative; }
	#header .header-left { display:flex; align-items:center;}
		#header .header-left .logo { margin:18px 42px 18px 0; }
			#header .header-left .logo:hover { opacity: 0.8; }
		#header .header-left nav { margin:0; }
		#header .header-left nav > ul { display:flex; align-items:center; }
		#header .header-left nav > ul > li { margin:0 32px 0 0; padding:30px 0; white-space: nowrap;}
		#header .header-left nav > ul > li:last-child { margin-right:0; }
		#header .header-left nav > ul > li > a { 
			font-size:14px; color:#2E3192; font-family:"Montserrat", sans-serif; font-weight:500; text-transform:uppercase; 
			-webkit-transition:all .3s ease-out; 
			-moz-transition:all .3s ease-out; -o-transition:all .3s ease-out; 
			-ms-transition:all .3s ease-out; transition:all .3s ease-out; 
		}
		#header .header-left nav > ul > li > a:hover,
		#header .header-left nav > ul > li.current_page_item > a { color:#FE620D; }
	
	#header .header-right { margin:0 0 0 auto; display:flex; align-items:center; }
		#header .header-right .login { margin:0 20px 0 0; font-size:14px; font-family:"Montserrat", sans-serif; font-weight:700; color:#2E3192; white-space: nowrap;}
		#header .header-right .login span { font-size:16px; margin:0 5px 0 0; }
		#header .header-right .login:hover { color:#FE620D; }
		#header .header-right .store { margin:0 20px 0 0; font-size:14px; font-family:"Montserrat", sans-serif; font-weight:700; color:#2E3192; white-space: nowrap;}
		#header .header-right .store span { font-size:16px; margin:0 5px 0 0; }
		#header .header-right .store:hover { color:#FE620D; }
		#header .header-right .button { margin:0 20px 0 0; padding:12px 45px 12px 45px; width:auto; }
		#header .header-right .search { font-size:24px; color:#2E3192; }
		#header .header-right .search:hover { color:#FE620D; }

/* search */
#search-bar {display: none; background: #FFF; padding: 0; border-bottom: solid 1px #eee;}
	#search-bar .container {position: relative;}
	#search-close {position: absolute; top: 8px; right: 0; width: 20px; height: 20px; font-size: 24px; color:#2E3192;}    
    	#search-close:hover {color:#FE620D;}    
    #search-bar form {width: 500px; max-width: 80%; margin: 8px 0; height: 40px; background:#E8E8E8; border-radius: 20px;}
        #search-bar form label {display: none;}
        #search-bar form #s { float: left; background: transparent; width: 445px; padding: 0 20px; line-height: 40px; height: 40px; border: none;}
        #search-bar form #searchsubmit {
            border: none; outline: 0; text-indent: -5000px; float: right; width: 24px; height: 24px; margin: 8px 18px 0 0; 
            background: url(images/search.svg;); background-position: center center; background-size: 24px 24px;
        }

#header.active { background:#FFF; box-shadow:0 0 30px #999; }

#header .menu-container { padding:55px 20px; left:auto; text-align:left; color:#FFF; background:#000; height:100vh; overflow-y:auto; position:fixed; width:100%; right:-100%; top:0; z-index:10000; transition:all 0.3s linear; -webkit-transition:all 0.3s linear; -moz-transition:all 0.3s linear; -ms-transition:all 0.3s linear; }

.page-template-text #header {/*border: none;*/}


/*-----------------------------------------------------------------------------------*/
/* Footer styling
/*-----------------------------------------------------------------------------------*/

#footer { background:#F5F5F5; padding:30px 0 25px 0; }
#footer .container { display:block; }

#footer .footer-top { display:flex; justify-content:space-between; align-items:center; padding:0 0 75px 0; }
	#footer .footer-top .footer-left { }
		#footer .footer-top .footer-left img { margin:0 0 20px 0; }
	#footer .footer-top .footer-left .social-links { display:flex; justify-content:center; margin:0; }
		#footer .footer-top .footer-left .social-links li { margin:0 10px 0 0; width:24px; height: 24px; padding: 0; background:#2E3192; border-radius:5px; }
			#footer .footer-top .footer-left .social-links li:last-child { margin:0; }
			#footer .footer-top .footer-left .social-links li a { 
				display:block; width: 100%; line-height:24px; color:#FFF; text-align:center; 
				font-size:16px; padding: 0; margin: 0;
			}
			#footer .footer-top .footer-left .social-links li a:hover { background:#FE620D; color:#FFF; }
			#footer .footer-top .footer-left .social-links li a span { display:inline-block; line-height:25px; }
	#footer .footer-top .footer-right { width:429px; }
		#footer .footer-top .footer-right h3 { font-family:"Open Sans", sans-serif; font-size:16px; color:#2E3192; }
		#footer .footer-top .footer-right form { display:flex; background:#FFF; overflow:hidden; border-radius:30px; }
		#footer .footer-top .footer-right form input[type=email] { width:calc(100% - 120px); height:44px; line-height:44px; padding:0 25px; border:none; background:none; font-size:14px; }
		#footer .footer-top .footer-right form input[type=submit] { width:120px; height:44px; border:none; border-radius:30px; background:#FE620D; color:#FFF; font-size:14px; font-family:"Montserrat", sans-serif; font-weight:700; }
		#footer .footer-top .footer-right form input[type=submit]:hover { background:#2E3192; }

#footer .footer-bottom { padding:25px 0 0 0; border-top:1px solid #C9C9C9; display:flex; justify-content:space-between; align-items:center; font-size:12px; }
	#footer .footer-bottom p { margin:0; }
	#footer .footer-bottom ul { margin:0 0 0 auto; display:flex; }
		#footer .footer-bottom ul li { margin:0 25px 0 0; }
		#footer .footer-bottom ul li:last-child { margin:0; }
		#footer .footer-bottom ul li a { color:#000; text-decoration:underline; }
		#footer .footer-bottom ul li a:hover { color:#FE620D; }


/*-----------------------------------------------------------------------------------*/
/* General / Shared Page styling
/*-----------------------------------------------------------------------------------*/

#banner {padding: 15px 0 20px 0; width: 100%;}
	#banner .container {display: block;}
		.breadcrumbs {
			display: block; padding: 0 0 20px 0; text-transform: uppercase; color: #000; font-size: 14px;
			font-family:"Montserrat", sans-serif; font-weight: 500;
		}
			.breadcrumbs a {color: #FF620C;}
			.breadcrumbs a:hover {text-decoration: underline;}
		#banner h1 {
			padding: 20px 40px; display: inline-block; font-weight: 100; color: #fff; background: #2E3192; border-radius: 100px; border-top-left-radius: 0;
		}

#banner-text {margin: 15px 0 0 0;}
	#banner-text .container {padding: 25px 0; display: block; background: #2E3192; border-radius: 100px;}
		#banner-text h1 {padding: 20px 40px; margin: 0; font-weight: 100; color: #fff; font-size: 44px; }

.breadcrumb-seperator {font-size: 21px; padding: 0 5px; font-weight: 300;}

#intro {padding: 0 0 50px 0; flex-wrap: wrap;}
	#intro .flex-container { align-items: stretch; }
		#intro-title {width: 50%; margin: 0; padding: 0 40px 0 40px; align-items: top;}
			#intro-title h2 {font-size: 42px; font-weight: 100; padding: 0; margin: 0 0 25px 0;}
			#intro-title .button {width: auto; padding: 12px 20px; margin: 3px 1px;}
		#intro-content {width: 50%; align-items: top;}
			#intro-content p {font-size: 24px; font-weight: 100;}
		#intro-image {width: 50%; align-items: top; margin-top: -50px;}

		#intro a,#intro p a, #intro li a {color: #FF620C;}
		#intro a:hover, #intro p a:hover, #intro li a:hover {color: #FF620C; text-decoration: underline;}

/* short */
#link-buttons .container {flex-wrap: wrap; justify-content: flex-start; margin-top: -20px; padding: 0 0 20px 0; max-width: 1380px; width: 100%;}
	#link-buttons a.button {
		width: calc(33.333% - 20px); color: #000 !important; font-weight: 100; font-size: 18px; text-align: left; padding: 20px 30px;
		margin: 0 10px 30px 10px; 
		background: #F5F5F5 url(images/circle-arrow-right-orange.svg) calc(100% - 20px) center / 24px 24px no-repeat; 
	}
		#link-buttons a.button:hover {background: #2E3192 url(images//icon-arrow-right.svg) calc(100% - 20px) center / 24px 24px no-repeat; color: #fff !important; }


#main, .main {padding: 50px 0; box-shadow: 10px 10px 50px #EFEFEF inset; background: #fff;}
	.page-template-text #main {padding: 20px 0 40px 0; box-shadow: none;}
	#main .container, .main .container {padding: 0 40px;}
		
		#main h2, .main h2 {margin: 0 0 15px 0; padding: 15px 0 0 0; font-weight: 400;}
		#main h3, .main h3 {margin: 0 0 15px 0; padding: 15px 0 0 0; font-weight: 400;}
		#main h4, .main h4 {margin: 0 0 15px 0; padding: 15px 0 0 0; font-weight: 400;}
		
		#main p, .main p {line-height: 1.75; padding: 15px 0 0 0; margin: 0 0 15px 0;}
		
		#main ul, #main ol, .main ul, .main ol {margin: 0; padding: 15px 20px 10px 20px;}
			#main ul li, .main ul li {list-style: disc; margin: 0 0 5px 20px;}
			#main ol li, .main ol li {list-style: decimal; margin: 0 0 5px 20px;}

		#main a, #main p a, #main li a,
		.main a, .main p a, .main li a {color: #FF620C;}
		#main a:hover, #main p a:hover, #main li a:hover,
		.main a:hover, .main p a:hover, .main li a:hover {color: #FF620C; text-decoration: underline;}

	img.alignleft {margin-right: 40px; margin-bottom: 40px;}
	img.aligncenter {}
	img.alignright {margin-left: 40px; margin-bottom: 40px;}

/* grids */
ul li .image-container { 
	padding: 0; height: 218px; background-size:cover; background-position:center center; background-repeat:no-repeat; border-top-left-radius: 30px; border-top-right-radius: 30px;
}
p.meta { font-family:"Montserrat", sans-serif; font-weight:500; font-size:14px; margin:0; text-transform: uppercase; }
	p.meta a {color: #00A79D;}
	p.meta a:hover {color: #00A79D; text-decoration: underline;}

#logo-grid {padding: 50px 0;}
	#logo-grid h3 {font-weight: 400; font-size: 24px; color: #2E3192; text-align: center; padding: 0; margin: 20px 0;}
	#logo-grid ul {display: flex; margin: auto; width: 100%; flex-wrap: wrap;}
		#logo-grid ul li {width: 25%;}
			#logo-grid ul li img {width: 90%; max-width: 300px; height: auto; margin: auto 5%; display: block;}

/* tablesorter */
table.tablesorter {width: 100%; margin: 25px 0;}
	table.tablesorter thead tr th {padding: 0 10px 5px 0; margin: 10px 0; border: none !important; border-bottom: solid 1px #C9C9C9 !important;}
	table.tablesorter tbody tr td {padding: 5px 10px 5px 0; margin: 10px 0; border-bottom: solid 1px #C9C9C9;}

/* prev / next */
.tribe-events-nav-pagination { padding: 20px 0; margin: 10px 0; width: 100%; border-top: solid 1px #eee; }
	.tribe-events-nav-pagination ul {display: flex; flex-wrap: wrap; width: 100%; }
		.tribe-events-nav-pagination ul li {list-style: none; width: 45%; margin: 0; padding: 0;}
			.tribe-events-nav-pagination ul li.tribe-events-nav-previous {margin-right: 5%;}
			.tribe-events-nav-pagination ul li.tribe-events-nav-next {text-align: right; margin-left: 5%;}
		.tribe-events-nav-pagination ul li a {color: #FF620C}
			.tribe-events-nav-pagination ul li a:hover {color: #FF620C; text-decoration: underline;}

.nav-links {display: flex; flex-wrap: wrap; padding: 20px 0; margin: 10px 0; width: 100%; border-top: solid 1px #eee; }
	.nav-links .nav-previous, 
	.nav-links .nav-next {width: 50%; list-style: none; padding: 0; margin: 0;}
		.nav-links a {color: #000;}
		.nav-links a > span {text-transform: uppercase; font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 14px; color: #FF620C; letter-spacing: 1px;}
		.nav-links a:hover, .nav-links a:hover > span {color: #FF620C; text-decoration: none !important;}
	.nav-links .nav-next {text-align: right;}


/* bottom CTA */
.cta {text-align: center; padding: 0 0 100px 0; box-shadow: 10px 10px 50px #EFEFEF inset;}
	.cta .container {position: relative;}
		.cta-icon {position: absolute; top: 0; left: 50%; transform: translateX(-50%);}
		.cta h2 {font-weight: 100; padding: 130px 0 10px 0;}
		.cta p {margin: 0 auto 30px auto; max-width: 740px; font-weight: 100;}
		.cta .button {margin-left: 5px; margin-right: 5px;}


/*-----------------------------------------------------------------------------------*/
/* Home Page styling
/*-----------------------------------------------------------------------------------*/

#top-posts { padding:45px 0 85px 0; }
	#top-posts .container { align-items:start; }
	#top-posts .article { position:relative; }
	#top-posts .left-column { width:895px; }
	#top-posts .left-column .image-container { height:508px; background-size:cover; background-position:center center; background-repeat:no-repeat; border-radius:30px; overflow:hidden; }
	#top-posts .left-column h3 { position:absolute; bottom:-38px; left:0; width:calc(100% - 65px); margin:0; }
	#top-posts .left-column h3 a { color:#FFF; font-size:26px; font-weight:300; display:block; position:relative; padding:21px 26px 21px 32px; background:#2E3192; border-radius:0 30px 30px 30px; }
	#top-posts .left-column h3 a:hover { background-color:#FE620D; }
	#top-posts .left-column h3 .arrow { width:32px; height:32px; position:absolute; right:26px; top:50%; margin-top:-16px; background:url(images/icon-arrow-right.svg) no-repeat center center / 100% 100%; }
	#top-posts .right-column { width:430px; margin:0 0 0 auto; }
	#top-posts .right-column .article { margin:0 0 72px 0; }
	#top-posts .right-column .article:last-child { margin:0; }
	#top-posts .right-column .image-container { height:218px; background-size:cover; background-position:center center; background-repeat:no-repeat; position:relative; border-radius:30px; }
	#top-posts .right-column .image-container:after { content:""; position:absolute; bottom:0; left:0; width:100%; height:80%; border-radius:30px; 
		background: -moz-linear-gradient(bottom,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
		background: -webkit-linear-gradient(bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
		background: linear-gradient(to top,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
	}
	#top-posts .right-column .image-container h3 { margin:0; position:absolute; left:0; bottom:40px; padding:0 35px; font-size:24px; font-weight:300; color:#FFF; z-index:10; }
	#top-posts .right-column .arrow { width:32px; height:32px; position:absolute; right:26px; top:50%; margin-top:-16px; background:url(images/icon-arrow-right.svg) no-repeat center center / 100% 100%; }
	#top-posts .right-column .more { position:absolute; bottom:-38px; left:0; width:calc(100% - 40px); font-size:18px; color:#FFF; font-family:"Montserrat", sans-serif; font-weight:700; display:block; padding:19px 26px 19px 32px; border-radius:0 30px 30px 30px; }
	#top-posts .right-column .more:hover { background-color:#FE620D !important; }
	#top-posts .right-column .article:first-child  .more { background:#733A98; }
	#top-posts .right-column .article:last-child .more { background:#74C14F; }
#our-clients { padding:30px 0; }
	#our-clients .slider { position:relative; }
	#our-clients .slider .slides li { width:252px; float:left; margin:0 25px 0 0; }
		#our-clients .slider .slides li img { max-width: 240px; width: 100%; height: auto; }
	#our-clients .slider .flex-control-nav { display:none; }
		#our-clients .slider .flex-direction-nav a { width:17px; height:30px; position:absolute; text-indent:-9999px; display:block; margin-top: -20px; top: calc(50% - 32px); }
	#our-clients .slider .flex-direction-nav .flex-prev { background:url(images/slider-left-arrow.svg) no-repeat center center / 100% 100%; left:-20px; }
	#our-clients .slider .flex-direction-nav .flex-next { background:url(images/slider-right-arrow.svg) no-repeat center center / 100% 100%; right:-20px; }

#want-to { padding: 0 0 100px 0; box-shadow:10px 10px 100px #EFEFEF inset; overflow: hidden;}
	#want-to .container { display:block; position: relative; padding-top: 100px; }
		#want-to h2 { text-align:center; font-size:28px; font-weight:700; color:#2E3192; margin:0 0 45px 0; text-transform:uppercase; }
		#want-to ul { display:flex; }
		#want-to ul li { margin:0 24px 0 0; width:322px; position:relative; }
		#want-to ul li .image-container { height:0; padding:89.68% 0 0 0; background-size:cover; background-position:center center; background-repeat:no-repeat; border-radius:30px; }
		#want-to ul li a { position:absolute; bottom:-30px; left:0; width:calc(100% - 45px); font-size:18px; color:#FFF; font-family:"Montserrat", sans-serif; font-weight:700; display:block; padding:19px 50px 19px 26px; border-radius:0 30px 30px 30px; }
		#want-to ul li:nth-child(4n+1) a { background-color:#00A79D; }
		#want-to ul li:nth-child(4n+1) a:hover { background-color:#FE620D; }
		#want-to ul li:nth-child(4n+2) a { background-color:#74C14F; }
		#want-to ul li:nth-child(4n+2) a:hover { background-color:#FE620D; }
		#want-to ul li:nth-child(4n+3) a { background-color:#733A98; }
		#want-to ul li:nth-child(4n+3) a:hover { background-color:#FE620D; }
		#want-to ul li:nth-child(4n) a { background-color:#FE620D; }
		#want-to ul li:nth-child(4n) a:hover { background-color:#2E3192; }
		#want-to ul li .arrow { width:32px; height:32px; position:absolute; right:20px; top:50%; margin-top:-16px; background:url(images/icon-arrow-right.svg) no-repeat center center / 100% 100%; }

#home-intro { padding:60px 0 40px 0; }
	#home-intro .left-column { width:630px; padding:0 55px; }
	#home-intro .left-column h2 { font-weight:300; font-size:32px; margin:0 0 30px 0; font-family:"Open Sans", sans-serif; }
	#home-intro .left-column .button-container { display:flex; }
	#home-intro .left-column .button-container .button { margin-right:15px; }
	#home-intro .right-column { width:calc(100% - 630px); position:relative; order:2; }

#upcoming-events { padding:45px 0 110px 0; }
	#upcoming-events .container { display:block; }
	#upcoming-events h2 { font-size:28px; text-transform:uppercase; color:#2E3192; margin: 20px 0 50px 0; }
	/*
	#upcoming-events ul { display:flex; }
		#upcoming-events ul li { 
			width: calc(33.333% - 23.333px); margin: 0 35px 0 0; height:260px; padding:25px; background:#FFF; border-radius:30px; box-shadow:0 0 30px #CDCDCD; position:relative; 
		}
		#upcoming-events ul li:last-child { margin-right:0; }
			#upcoming-events ul li .category { font-family:"Montserrat", sans-serif; font-weight:700; font-size:14px; margin:0 0 15px 0; text-transform:uppercase; }
				#upcoming-events ul li .category a { }
				#upcoming-events ul li .category a:hover { text-decoration: underline; }
			#upcoming-events ul li h3 { font-weight:300; font-size:24px; font-family:"Open Sans", sans-serif; min-height:120px; margin:0; }
				#upcoming-events ul li h3 a { color: #000; }

			#upcoming-events ul li a.upcoming-events-learn-more { 
				position:absolute; bottom:-30px; left:0; width:calc(100% - 110px); font-size:18px; color:#FFF; font-family:"Montserrat", sans-serif; font-weight:700; display:block; padding:19px 50px 19px 26px; border-radius:0 30px 30px 30px; 
			}
				#upcoming-events ul li .arrow { 
					width:32px; height:32px; position:absolute; right:20px; top:50%; margin-top:-16px; background:url(images/icon-arrow-right.svg) no-repeat center center / 100% 100%; 
				}
			
			#upcoming-events ul li:nth-child(3n+1) .category a { color:#75C14F; }
			#upcoming-events ul li:nth-child(3n+1) a.upcoming-events-learn-more { background:#75C14F; }
			#upcoming-events ul li:nth-child(3n+2) .category a { color:#00A79D; }
			#upcoming-events ul li:nth-child(3n+2) a.upcoming-events-learn-more { background:#00A79D; }
			#upcoming-events ul li:nth-child(3n) .category a { color:#733A98; }
			#upcoming-events ul li:nth-child(3n) a.upcoming-events-learn-more { background:#733A98; }

			#upcoming-events ul li a.upcoming-events-learn-more:hover { background:#FE620D !important; }
	*/

#upcoming-events .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {min-height: 1px; padding: 0;}

#upcoming-events .tribe-common .tribe-common-l-container {max-width: 100%;}

#upcoming-events .tribe-events-header,
#upcoming-events .tribe-events-c-nav,
#upcoming-events .tribe-events-c-subscribe-dropdown__container {display: none;}

#upcoming-events .tribe-events-pro .tribe-events-pro-photo__event-featured-image, .tribe-events-pro .tribe-events-pro-photo__event-featured-image-link {
	border-radius: 20px;
}

/*-----------------------------------------------------------------------------------*/
/* Careers
/*-----------------------------------------------------------------------------------*/

#jobs-listing .container {padding: 40px;}
	#jobs-listing h3 {text-transform: uppercase;}

#jobs-listing ul li {display: flex; border-bottom: solid 1px #C9C9C9; padding: 30px 0; align-items: center;}
	#jobs-listing ul li:last-of-type {border-bottom: none;}

	#jobs-listing ul li .job-logo {width: 200px; margin-right: 20px; display: block;}
		#jobs-listing ul li .job-logo img {width: 100%; height: auto;}
	
	#jobs-listing ul li .job-content {}
		#jobs-listing ul li h4 {font-weight: 300; margin: 15px 0 5px 0;}
			#jobs-listing ul li h4 a {font-weight: bold; color: #2E3192;}
				#jobs-listing ul li h4 a:hover {color: #FE620D;}
		#jobs-listing ul li .meta {font-size: 14px;}


/*-----------------------------------------------------------------------------------*/
/* Membership
/*-----------------------------------------------------------------------------------*/

#membership-boxes { padding:45px 0; }
	#membership-boxes ul { display:flex; flex-flow: wrap; }
		#membership-boxes ul li { width: calc(33.333% - 23.333px); margin: 35px 35px 30px 0; background:#FFF; border-radius:30px; box-shadow:0 0 30px #CDCDCD; position:relative; }
		#membership-boxes ul li:nth-child(3n) { margin-right:0; }
			#membership-boxes ul li .content-container {padding:25px 25px 35px 25px;}
			#membership-boxes ul li h3.title { 
				color:#75C14F; font-family:"Montserrat", sans-serif; font-weight:700; font-size:14px; margin:0 0 15px 0; text-transform:uppercase; 
			}
			#membership-boxes ul li h4.blurb { font-weight:300; font-size:24px; font-family:"Open Sans", sans-serif; min-height:100px; margin:0; }
			#membership-boxes ul li a { 
				position:absolute; bottom:-30px; left:0; width:calc(100% - 110px);
				font-size:18px; color:#FFF; font-family:"Montserrat", sans-serif;
				font-weight:700; display:block; padding:19px 50px 19px 26px; border-radius:0 30px 30px 30px; 
				background:#75C14F; 
			}
				#membership-boxes ul li a:hover { background:#FE620D !important; }
			#membership-boxes ul li .arrow { 
				width:32px; height:32px; position:absolute; right:20px; top:50%; margin-top:-16px; background:url(images/icon-arrow-right.svg) no-repeat center center / 100% 100%; 
			}
	

/*-----------------------------------------------------------------------------------*/
/* Testimonials
/*-----------------------------------------------------------------------------------*/

#testimonials-intro {}
	#testimonials-intro h2 {text-align: center; padding-top: 70px; font-weight: 100; background:url(images/testimonials-icon.svg) no-repeat center top / auto 52px;}

#testimonials-grid {padding: 45px 0;}

	.masonry {}
		.masonry-item {width: 31.33%; margin: 1%; border-radius: 33px; box-shadow:0 0 30px #CDCDCD; overflow: hidden; padding: 30px; text-align: center;}
			.masonry-item .image-holder {width: 94px; height: 94px; border-radius: 50%; margin: auto; position: relative; overflow: hidden;}
				.masonry-item .image-holder img { position: absolute; top: 0; left: 50%; transform: translateX(-50%);}
			.masonry-item-name {font-size: 24px; font-weight: 100; padding: 10px 0 5px 0;}
			.masonry-item-meta {font-family:"Montserrat", sans-serif; font-size: 14px; color: #FF620C; text-transform: uppercase; font-weight: 500; padding: 0 0 10px 0;}
			.masonry-item p {font-size: 18px; font-weight: 100;}

		/* Force new columns */
		.masonry-container::before, .masonry-container::after {content: ""; flex-basis: 100%; width: 0; order: 2;}


/*-----------------------------------------------------------------------------------*/
/* News
/*-----------------------------------------------------------------------------------*/

.posts {padding: 0 0 45px 0;}
.posts-grid { display:flex; flex-flow: wrap; margin: 0 -20px; }
	.posts-grid li { width: calc(33.333% - 40px); margin: 0 20px 65px 20px; background:#FFF; border-radius:30px; box-shadow:0 0 30px #CDCDCD; position:relative; }
		.posts-grid li .content-container {padding:25px 25px 35px 25px;}
		.posts-grid li h3.title { font-weight:300; font-size:24px; font-family:"Open Sans", sans-serif; min-height:100px; margin:0; }
			.posts-grid li h3.title a { color: #000; }
			.posts-grid li h3.title a:hover { color: #FF620C; }
		.posts-grid li .meta { padding: 15px 0; }
		.posts-grid li a.read-more { 
			position:absolute; bottom:-30px; left:0; width:calc(100% - 110px);
			font-size:18px; color:#FFF; font-family:"Montserrat", sans-serif;
			font-weight:700; display:block; padding:19px 50px 19px 26px; border-radius:0 30px 30px 30px; 
			background:#2E3192; white-space: nowrap;
		}
			.posts-grid li a.read-more:hover { background:#FE620D !important; }
		.posts-grid li .arrow { 
			width:32px; height:32px; position:absolute; right:20px; top:50%; margin-top:-16px; background:url(images/icon-arrow-right.svg) no-repeat center center / 100% 100%; 
		}

/* single */
#single-content {margin: 0 auto 50px auto; max-width: 1080px;}

#single-content header p.meta { font-weight: 500; text-align: center; margin: 0 auto 5px auto;}
h1.entry-title {text-align: center; font-weight: 100; font-size: 36px;}

.hero img {border-radius: 33px; margin: 20px auto; width: 100%; height: auto;}
#single-content p.author { text-transform: uppercase; padding: 0 0 20px 0; margin: auto; font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 14px;}
	p.author a {color: #FF620C; font-weight: 500;}
	p.author a:hover {color: #FF620C; text-decoration: underline;}

#single-content h2 {font-weight: 300; font-size: 28px; }
#single-content h3 {font-weight: 300; font-size: 24px;}
#single-content h4, #single-content h5 {font-weight: 300; font-size: 21px;}

#single-content p {line-height: 1.5; font-weight: 400; text-align: justify;}
#single-content ul, #single-content ol {margin: 0 0 30px 0;}
	#single-content ul li {font-weight: 400; list-style: disc; margin: 0 0 5px 20px;}
	#single-content ol li {font-weight: 400; list-style: decimal; margin: 0 0 5px 20px;}

#single-content a {color: #FF620C;}
	#single-content a:hover {color: #FF620C; text-decoration: underline;}

.entry-meta {border-top: solid 1px #eee; margin: 40px 0 0 0; padding: 30px 0 0 0; display: flex;}
	#single-content .entry-meta p.author {text-align: left; margin: 0;}
	.entry-meta-social-share {margin-left: auto;}

blockquote {margin: 30px; border: none; font-size: 21px;}
	blockquote .blockquote-author {
		padding: 8px 20px; display: inline-block; 
		color: #fff; background: #2E3192; font-size: 14px; font-family: "Montserrat", sans-serif; text-transform: uppercase; font-weight: bold;
		border-radius: 100px; border-top-left-radius: 100px; border-top-left-radius: 0;
	}


/*-----------------------------------------------------------------------------------*/
/* Events
/*-----------------------------------------------------------------------------------*/

h1.tribe-events-single-event-title {color: #2E3192;}
.tribe-events-single-event-description h2 {color: #2E3192 !important;}
.tribe-events-single-event-description h3 {color: #2E3192 !important; padding: 0 !important; margin: 25px 0 10px 0 !important;}
.tribe-events-single-event-description h4 {color: #2E3192 !important; padding: 0 !important; margin: 10px 0 10px 0 !important;}

.tribe-events-single-event-description .gallery {margin-top: 25px !important; margin-bottom: 25px !important;}

/* countdown */
.tecc-event-info, 
.tecc-event-detail {display: none !important;}

body #tribe-events-pg-template .tecc-wrapper {margin: 0; padding: 0;}

body #tribe-events-pg-template .tecc-wrapper .tecc-timer-wrapper {padding: 0; margin: 0 0 15px -10px; max-width: 320px;}

body #tribe-events-pg-template .tec-countdown-timer .tecc-section {
	background: #F8F8F8 !important; border-radius: 12px; padding: 10px; margin: 0;
	width: calc(33.333% - 10px);
}
body #tribe-events-pg-template .tecc-amount {color: #00A79D;font-weight: bold; font-size: 48px; padding: 0; margin: 0; line-height: 1; letter-spacing: -1px;}
body #tribe-events-pg-template .tecc-word {color: #000; font-weight: bold; font-size: 14px; padding: 0; margin: 0;}


.tribe-events-meta-group a {color: #2E3192 !important;}
.tribe-events-meta-group a:hover {color: #FE620D !important;}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button {color: #2E3192 !important; border-color: #2E3192 !important;}
.single-tribe_events .tribe-events-c-subscribe-dropdown__export-icon {color: #2E3192 !important; }

.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover {border-color: #FE620D !important; background: #FE620D !important; color: #fff !important;}
.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover .tribe-events-c-subscribe-dropdown__export-icon {color: #fff !important; }
.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover .tribe-events-c-subscribe-dropdown__export-icon {stroke: #fff !important;}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover .tribe-events-c-subscribe-dropdown__export-icon {stroke: #fff !important;}

#event-info .tribe-common .tribe-events-c-subscribe-dropdown__container .tribe-common-c-svgicon,
#event-detail .tribe-common .tribe-events-c-subscribe-dropdown__container .tribe-common-c-svgicon {display: none !important;}

/* v2 */
body #tribe-events-pg-template {width: 100%; max-width: 100% !important;}
	body #tribe-events-pg-template .container { display: flex; flex-wrap: wrap;}

		#event-info {width: 320px; margin-right: 90px;}
			/* back link */
			#event-info .tribe-events-back {margin: 0 0 10px 0;}
				#event-info .tribe-events-back a {color: #2E3192; text-transform: uppercase; font-size: 14px;}
				#event-info .tribe-events-back a:hover {color: #FF620C; text-decoration: underline;}
			/* banner */
			#event-info h2.banner {
				font-size: 33px; font-weight: 100; color: #fff; background: #2E3192; padding: 20px 30px; margin: 0 0 25px 0; display: inline-block; 
				border-radius: 100px; border-left-radius: 100px; border-top-left-radius: 0;
			}
			/* meta */
			#event-info .tribe-events-event-meta {margin: 5px 0;}
				#event-info .tribe-events-event-meta::before {border: none;}
			
			.tribe-events-start-date-label,
			.tribe-events-start-time-label, 
			.tribe-events-event-cost-label {text-transform: uppercase; font-family: "Montserrat", sans-serif; letter-spacing: 1px;}

			body #tribe-events-pg-template abbr {cursor: auto !important; border-bottom: none !important; text-decoration: none !important;}

			body #tribe-events-pg-template .tribe-events-meta-group-organizer dl {margin: 0;}

			.tribe-events-meta-group-details h2.tribe-events-single-section-title,
			dt.tribe-events-event-categories-label,
			dd.tribe-events-event-categories {display: none;}

			body #tribe-events-pg-template dl {margin-top: 0; margin-bottom: 0;}

			.tribe-events-meta-group-venue {margin-top: 10px;}

			#event-info-disclaimer {padding: 25px 0;}
				#event-info-disclaimer p {font-size: 14px; margin: 0 0 15px 0;}
				#event-info-disclaimer li {font-size: 14px;}
				#event-info-disclaimer a {color: #2E3192; text-decoration: underline;}
				#event-info-disclaimer a:hover {color: #FF620C;}

			/* buttons */
			#event-info .tribe-events, #event-info .button-container {border-top: none}

			body #tribe-events-pg-template .container .button-container .tribe-events {display:inline-block; }

			body #tribe-events-pg-template .btn {padding:10px 24px; min-width: 100px; margin-right: 5px; font-size:12px;}			

			body #tribe-events-pg-template .tribe-events-c-subscribe-dropdown__button {
				min-width: 136px; width: auto;
				display:inline-block; background:#fff; border-radius:30px; text-align:center; font-family:"Montserrat", sans-serif; font-size:12px; font-weight:700; text-decoration: none !important;
				border:2px solid #2E3192; color:#2E3192 !important; 
				padding:8px 22px; 
			}
				body #tribe-events-pg-template .tribe-events-c-subscribe-dropdown__button:hover { 
					background:#2E3192; border:2px solid #2E3192; color:#FFF !important; 
				}

			#event-info .tribe-events-venue-map {display: none;}

			#event-info .tribe-events-related-events-title,
			#event-info .tribe-related-events {display: none;}

			dl dt.tribe-events-event-cost-label-new {font-family:"Montserrat", sans-serif; font-weight:700; font-size: 14px; margin-top: 15px; letter-spacing: 1px;}

		#event-detail {width: calc(100% - 410px); background: #fff; box-shadow: none; padding: 0; margin: 20px 0;}
			
			#event-detail h1 {color:#2E3192; font-weight:100;}
			
			#event-detail h2#speakers,
			#event-detail h2#schedule {background-color: #F8F8F8; border-radius: 42px; font-size: 28px; font-weight: 100px; padding: 20px 30px; margin: 30px 0 10px 0; }
			body h2.collapseomatic {font-size: 28px; font-weight: 100; color: #000; margin: 30px 0 10px 0;}

			body #event-detail .collapseomatic_content {padding: 10px 0;}

			#event-detail h2.tribe-events-single-section-title {padding-top: 0;}
			
			#event-detail h3 {}
			#event-detail h4 {color:#2E3192; font-weight: bold; font-size: 14px; text-transform: uppercase;}

			#event-detail.main p {font-size: 16px;}

			#event-detail.main  ol li, #event-detail.main ul li {line-height: 1.75; font-size: 16px;}

			#event-detail .tribe-events-meta-group-venue {margin-top: 0;}

		/* speakers */
		.main #speaker-list li {list-style: none; padding: 15px 0; margin: 0 10px; border-bottom: solid 1px #BEBEBE; display: flex; flex-wrap: wrap;}
			.main #speaker-list li:last-of-type {border-bottom: none;}
			.bio-thumb {margin-right: 20px; position: relative; height: 100px; width: 100px; overflow: hidden; border-radius: 50%; }
				.bio-thumb img {width: 100px; height: auto; border: solid 1px #efefef; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
			.bio-info {width: calc(100% - 140px);}
				#event-detail #speaker-list li h3.speaker-name {font-weight: bold; font-size: 16px; margin: 5px 0; padding: 0;}
				#event-detail #speaker-list li h4.speaker-job-title {font-weight: normal; color: #000; font-style: italic; font-size: 14px; margin: 0; padding: 0; text-transform: none;}
					#event-detail #speaker-list li h4.speaker-job-title p {}
				#event-detail #speaker-list li .bio-info p {font-size: 14px; margin-bottom: 0;}
				#event-detail #speaker-list li .read-more, #event-detail #speaker-list li .read-less {color: #FF620C; margin-top: 10px; font-size: 14px;}
					#event-detail #speaker-list li .read-more:hover, 
					#event-detail #speaker-list li .read-less:hover {color: #FF620C; text-decoration: underline;}
				.speaker-bio { display: none; font-size: 14px; }
		.speakers-paging {display: flex;  align-items: center; justify-content: center;}		
			.speakers-paging a, .speakers-paging > span {margin: 0 5px;}		

		/* schedule */
		#event-detail h4.schedule-date-label {text-transform: none; color: #000; font-size: 24px; padding: 20px 10px 0 30px;}
		table.event-schedule {margin: 10px 30px 25px 30px; width: calc(100% - 60px);}
			table.event-schedule td {vertical-align: top; border-bottom: 1px solid #BEBEBE; font-size: 16px;}
			table.event-schedule td:nth-of-type(1n) {background: #fff; padding: 15px 10px 15px 0; width: 90px; font-size: 14px;}
			table.event-schedule td:nth-of-type(2n) {background: #fff; padding: 15px 10px; width: calc(100% - 90px);}
				table.event-schedule td h3 {
					font-weight: bold; font-size: 16px; margin: 0; padding: 0;
					font-family: "Montserrat", sans-serif;
				}
				table.event-schedule td p {padding: 0; margin: 5px 0 0 0; font-size: 14px; }
				table.event-schedule td ul {padding: 0; margin: 5px 0 0 0;}
					table.event-schedule td ul li {font-size: 14px; line-height: 1.5; padding: 0; margin: 0 0 0 15px;}
	
			table.event-schedule tr:last-of-type td {border-bottom: none;}
		.schedule-paging {display: flex;  align-items: center; justify-content: center;}		
			.schedule-paging a, .schedule-paging > span {margin: 0 5px;}		


/*-----------------------------------------------------------------------------------*/
/* Misc
/*-----------------------------------------------------------------------------------*/

/* search results */
#paging-holder {padding: 20px 40px;}

/* collapsomatic */
body .collapseomatic { 
	clear: both;
	border-radius: 100px; width: 100%; display: block; /*max-width: 1040px;*/ margin: 10px auto;
	background: #F8F8F8 url(images/circle-arrow-down.svg) calc(100% - 20px) center no-repeat; 
	font-weight: bold; color: #2E3192;
}
body span.collapseomatic:first-of-type {margin-top: 25px;}

body .colomat-close {background-image: url(images/circle-arrow-up.svg);}

body .arrowright {padding: 20px 30px;}
body .collapseomatic_content {/*max-width: 1040px;*/ margin: 0 auto; padding: 10px 30px; display: block;}

/* gallery */
body .gallery {display: flex; flex-wrap: wrap; align-content: center;}
	body .gallery .gallery-item {float: none; margin: 0; text-align: center;}
	body .gallery .gallery-item img {border: none !important;}
	body .gallery br {display: none;}
	
	body .gallery-columns-2 .gallery-item {width: calc(50% - 20px) !important; margin: 10px !important;}
	body .gallery-columns-3 .gallery-item {width: calc(33.3333% - 20px) !important; margin: 10px !important;}
	body .gallery-columns-4 .gallery-item {width: calc(25% - 20px) !important; margin: 10px !important;}
	body .gallery-columns-5 .gallery-item {width: calc(20% - 20px) !important; margin: 10px !important;}
	body .gallery-columns-6 .gallery-item {width: calc(16.6667% - 20px) !important; margin: 10px !important;}

/* page numbering */
.easy-wp-page-navigation span.current,
.easy-wp-page-navigation a,
.easy-wp-page-navigation span {border-radius: 5px;}
body .easy-wp-page-navigation span.current {background: #2E3192; border-color: #2E3192; font-weight: 100;}
body .easy-wp-page-navigation span.current:hover {background: #FF620C; border-color: #FF620C;}
body .easy-wp-page-navigation a {color: #000; font-weight: 100;}
body .easy-wp-page-navigation a:hover {background: #F5F5F5; color: #000;}