/*color palette
Primary: #282c3b 
Secondary: #536f95
Tertiary: #282828
Light BG: #fbfbfb
Light Grey: #d6d6d6 
*/
html {
	height: 100%;
	padding-top:0 !important;
}

body {
	margin: 0;
	padding-top: 0;
	font-family: 'Montserrat', sans-serif;
	color: #444;
	font-size: 16px;
	height: 100%;
}

#full_wrapper.menu-active {
	max-height: 100vh;
	overflow: hidden;
}

form {
	padding:0px;  margin:0px;
}

hr {
    color: #ddd;
    background: none;
    border: none;
    border-bottom: solid 1px #ddd;
    height: 1px;
    width: 80%;
    margin: 30px auto!important;
}

address,blockquote,body,dd,del,dl,dt,div,fieldset,form,h1,h2,h3,h4,h5,h6,hr,html,iframe,input,ins,legend,li,map,object,ol,p,pre,table,td,textarea,th,ul {
	padding:0px; margin:0px;
}


.article-info dd {
    display: inline-block;
    border-right: solid 1px #ccc;
    padding-right: 6px;
    margin-right: 6px;
}

ul, ol {
	margin-left:24px;
	margin-top: 12px;
	margin:20px 24px 32px 24px;
}

li {
	margin-bottom:8px;
}


fieldset,img{border:0}

strong {}

blockquote {
	display: block;
	background-color: #f3f4f5;
	width: auto;
	margin: 4% 0 4% 0;
	padding: 45px 30px 25px 30px;
	line-height: 160%;
}

/**********************************/
/* headers                        */
/**********************************/

h1, h2, h3, h4, h5 {
	margin-bottom: 12px;
	color: #000;
	font-weight: 400;
	line-height:115%;
}

h1 {
	font-size: 46px;
	margin-bottom: 50px;
	font-family: 'Merriweather', serif;
	font-weight: bold;
}

h1.under_title::after, h2.under_title::after, h3.under_title::after, .page-header h1::after, 

.page-header h1, h1.under_title, h2.under_title, 


h2 {
	font-size: 36px;
	margin-top: 20px;
	margin-bottom: 16px;
}


#content_module .moduletable h2 {
	text-align:center;
	font-size:36px;	
	padding-bottom:6px;
	margin-bottom:45px;
}



h3 {
	font-size: 24px;
	margin-top: 16px;
	margin-bottom: 10px;
}



h4 {
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 6px;
	text-transform: uppercase;
}


h5 {
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 20px;
	line-height:125%;
}

h6 {
	font-size: 16px;
	margin-top: 20px;
	margin-bottom: 20px;
}


h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited {
	text-decoration:none;	

}



blockquote h4, blockquote h5, blockquote h3 {
	margin-top:0px!important;	
}


p {
	line-height: 160%;
	margin-bottom: 18px;
}

label {

}

img {max-width:100%; height:auto!important;}

/* Links

----------------------------------------------- */

a, a:link, a:visited {

	color:#446fa9; 
	text-decoration: underline;
	transition: all .05s ease-in-out;

}

a:hover, a:focus, a:active {
	color: #360405;
}

/**********************************/
/* Layout ID's                    */
/**********************************/

#header_left {

	float: left;
    max-width: 360px;
    padding: 13px 0px;
    color: #444;

}


#header_right {

	float: right;
	text-align: right;
	max-width: 75%;
	padding:20px 0px 20px 0px;
}

#header_right p, #header_left p {margin-bottom: 0;}
#header_right p, #header_left p, #header_right h3, #header_left h3, #header_right h4, #header_left h4 {color:#fff;margin-top:0; font-size:24px}

#content {
	padding: 0;
}

#content .icons {position:relative; z-index:200;}

#content_module {
	/*padding-top:50px;	*/
}

#feature_wrapper {
	/* z-index: 3; */
	position:relative;
	display: flex;
    justify-content: center;
}

#feature_wrapper_overlay {
	z-index: 3;
	position: relative;
	background:rgb(75 70 54 / 75%);/**/
}



#feature_row {
	width: auto;
	background-color: #111;
	/*background:url("../images/maria-katsamanis-classical-horsemanship-clinics-clinician-training-lessons-riding-instructor-sales.jpg") center center repeat;*/
	background-size:cover;
}

#feature {
	padding: 185px 20px 160px 22px;
	width: 900px;
	margin: 0 auto;
	text-shadow: 0 5px 10px rgb(0 0 0 / 20%);
    align-self: center;
}

#feature img.hero {
	/* float: right; */
	max-width: 50%;
	position: absolute;
	bottom: 0px;
	right: 5%;
	/* margin-top: -60px; */
}

#feature h1 {font-size:60px;}

#feature h1, #feature h2, #feature h3, #feature h4 {
	color:#fff;
	text-transform: none;
}


#feature h2 {font-size:42px; font-weight:normal; line-height: 140%;}

#feature h4, #row2 h4 {
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	font-size:24px;
	line-height: 34px;
}

#feature h1, #row2 h1, #row3 h1, #row5 h1, #row7 h1, #row9 h1 {
	color:#fff;
	font-size:48px;
	margin-bottom: 0;
	text-shadow: 0 0px 30px rgb(54 50 43 / 80%), 0 0px 30px rgb(54 50 43 / 80%), 0 0px 30px rgb(54 50 43 / 80%);
}

#row3 h2, #row5 h2, #row7 h2,  #row9 h2{
	font-size:40px;
}

#feature p{
	color: #fff;
	font-size: 18px;
	line-height: 120%;
	margin-top: 35px;
	margin-bottom: 40px;
}

/*#feature a.button-link:link, #feature a.button-link:visited {color:#fff;font-size: 24px;}



#feature a.button-link:before, #feature a.button-link:after {border-color:#c9ad60;}

#feature a.button-link:hover:before, #feature a.button-link:hover:after {border-color:#b72c25;}*/

#footer {
	color: #b3b3b3;
	font-size: 16px;
	padding: 0;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	text-align: center;
}


#footer .moduletable {
	flex-grow:1;
	flex-shrink:1;
	flex-basis:0;
	margin-right:25px;
	min-width: 250px;
	margin-bottom:0;
}

#footer .moduletable:last-child{
	margin-right: 0;
}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
	color:#e1e1e1;	
}

#footer a:link, #footer a:visited {
	color:#fff;
	text-decoration: underline;
}

#footer a:hover {
	color:#dedede;
	text-decoration: underline;
}


#large_column {
	padding:0;
}

#main_content {
	padding: 95px 0 85px 0;
	/*padding: 45px 0 65px 0;
	overflow-x: hidden;*/

}

#main_content li {line-height:160%; margin-bottom: 5px;}

#main_content h3, #main_content h4 {
	margin-top:35px;
}

#mobile_menu {

	display: none;
	position:fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	min-height: 100vh;
	background-color: rgb(27 64 114 / 90%)!important;
	backdrop-filter: blur(7px);
}
 

#nav_bar {
	max-height:56px;
}


#nav_bar_wrapper {
	background:#253e61;
	clear: both;
}

#promo_ribbon1_wrapper, #promo_ribbon2_wrapper {padding:30px 0 20px; background:#636e78; overflow-x: hidden;}

#promo_ribbon1, #promo_ribbon2 {color:#fff!important;}

#promo_ribbon1 .moduletable, #promo_ribbon2 .moduletable{margin-bottom:0;}

#promo_ribbon1 p, #promo_ribbon2 p {font-size:28px; margin-bottom:0;	}

#promo_ribbon1 a.button-link:hover, #promo_ribbon2 a.button-link:hover {background-color:#111;}

#row2, #row3, #row5, #row7, #row9 {background-color:#423a2d; overflow-x: hidden;} 

/********* This whole section is new for Joomla 4 **************/

#row2 .moduletable, #row3 .moduletable, #row5 .moduletable, #row7 .moduletable, #row9 .moduletable
{margin-bottom:0; color:#fff; padding: 145px 20px 81px;}   

#row2 .moduletable {margin-bottom:0; color:#fff; padding-top: 164px;position:relative;}

#row2 .moduletable .custom, #row3 .moduletable .custom, #row5 .moduletable .custom, #row7 .moduletable .custom, #row9 .moduletable .custom
{
	background-attachment: fixed; 
	background-repeat:no-repeat; 
	background-position:center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	visibility: visible;
}

#row2 .moduletable,#row3 div[class^="mod-"] *, #row5 div[class^="mod-"] *, #row7 div[class^="mod-"] *, #row9 div[class^="mod-"] * {position: relative; z-index: 2;}



#row2 h2, #row2 h3, #row2 h4, #row2 h5, #row2 h6,
#row3 h2, #row3 h3, #row3 h4, #row3 h5, #row3 h6,
#row5 h2, #row5 h3, #row5 h4, #row5 h5, #row5 h6,
#row7 h2, #row7 h3, #row7 h4, #row7 h5, #row7 h6,
#row9 h2, #row9 h3, #row9 h4, #row9 h5, #row9 h6
{color:#fff; line-height:150%; max-width:750px;margin-left:auto; margin-right:auto}

#row4wrapper {
	padding: 80px 0 80px 0;
	background-color: #ebebeb;
}

#row4 {overflow-x: hidden;}

#row6wrapper, #row8wrapper, #row10wrapper, #row11wrapper {
	padding: 65px 0;
}



#row6, #row8, #row10, #row11 {

	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	overflow-x: hidden;
}



#row6 .moduletable, #row8 .moduletable, #row10 .moduletable, #row11 .moduletable {
	flex-grow:1;
	flex-shrink:0;
	flex-basis: 0;
	margin-right:25px;	
}


#row6 .moduletable:last-child, #row8 .moduletable:last-child, #row10 .moduletable:last-child, #row11 .moduletable:last-child {
	margin-right:0px;	
}

#small_column {
	width:24.71153846153846%;
	float: right;
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top:0;
}

#small_column .moduletable {
	margin-top:20px;
	background-color:#fff;
	padding:30px 20px 20px 20px;
}

#small_column .moduletable h3 {
	padding: 0 0 10px 0;
	line-height: 22px;
	margin-bottom: 5px;
	border-bottom: solid 1px #eaeaea;
	margin-top:0;
}

#small_column a.mod_callout_button:link, #small_column a.mod_callout_button:visited {
	font-size:20px;
	border:none;
}

#table_bottom {
	background-color: #0f3269;
	padding: 65px 0;
}

#table_copyright {
	font-size: 14px;
	padding: 20px;
	text-align: center;
}

#table_middle {
	width: auto;
	background-color: #f9f8f4;
}

#table_middle .latestnews li{
	font-size:16px;
	padding:2px 0;
}

#table_top {
	z-index: 4;
	position: relative;
	padding: 0 20px;
	max-width: 1300px;
	margin: 0 auto;
}

#table_top .moduletable {
	margin:0px;	
}

#top_wrapper, #full_wrapper, #nav_bar_wrapper {
	width: auto;
	padding: 0;
	margin: 0;
}

#full_wrapper.cushion {padding-top:107px;}

#top_wrapper {

    /*position: fixed;*/
    left: 0;
    top: 0;
    z-index: 6!important;
    width: 100%!important;
    border-top: 0;
    background: rgb(255 255 255 / 93%)!important;
    backdrop-filter: blur(5px);
    border-bottom: solid 3px #c1a55a;/**/
	box-shadow: 2px 3px 30px rgb(0 0 0 / 6%);

}

#top {visibility: hidden;}

/**********************************/
/*         Classes                */
/**********************************/

.article-icons {margin:0; padding:0;}

.article-icons li {display:inline-block; list-style:none; padding:0 10px 0 0;}

.article-icons li a{
	display: block;
	width: 40px;
	height: 40px;
	text-indent: -999em;
	background-image: url(../images/icon-email.png);
	background-repeat: no-repeat;
	background-position: center center;
}

dl.article-info {
	margin: -10px 0 20px 0;
	font-size: 14px;
}

a.button-link:link, a.button-link:visited, .readmore a:link, .readmore a:visited{
	display: inline-block;
    padding: 4px 25px;
    text-decoration: none;
    color: #f2f4f2;
    transition: .1s all ease-in-out;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    z-index: 2;
    margin: 8px 13px;
    /* border-radius: 8px; */
    border: none;
    background: rgb(23 101 165 / 75%);
    box-shadow: 0px 2px 4px rgb(0 0 0 / 20%);
	backdrop-filter: blur(10px);
}

a.button-link:hover, .readmore a:hover {
	color: #fff!important;
	background: #5b4f2e;
}

.readmore [class^="icon-"] {display:none;}

.email-icon a {}

blockquote.bq-left {
	float: left;
	margin-right: 7%;
	width:40%;
}

blockquote.bq-right {
	float: right;
	margin-left: 7%;
	width:40%;
}

.image_right {
	float: right;
	margin:10px 0 30px 50px;
	max-width:65%;
	clear:right;
}

.image_left {
	float: left;
	margin:10px 50px 30px 0;
	max-width:65%;
	clear:left;
}

#large_column .image_right {
    margin: 20px -100px 30px 50px;
}

#large_column .image_left {
    margin: 20px 50px 30px -100px;
}

.image_right_30 {
	float: right;
	margin:5px 0 45px 50px;
	max-width:30%;
	clear:right;
}

.image_left_30 {
	float: left;
	margin:5px 50px 45px 0;
	max-width:32%;
	clear:left;
}

.image_right_20 {
	float: right;
	margin:5px 0 45px 50px;
	max-width:20%;
	clear:right;
}

.image_left_20 {
	float: left;
	margin:5px 50px 45px 0;
	max-width:20%;
	clear:left;
}


.module_bg_image {
    margin: -164px -20px -81px;
    padding: 121px 20px 108px;
	position:relative;
	background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}


#row3 .module_bg_image, #row5 .module_bg_image, #row7 .module_bg_image, #row9 .module_bg_image {
    padding: 75px 20px;
}

.module_bg_image::before {
    content: "";
	display:block;
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background: rgb(1 1 1 / 45%);
	z-index:1;
}

.module_bg_image div.wrapper_frame {
	z-index: 2;
    position: relative;
}

a.mod_callout_button:link, a.mod_callout_button:visited {
	white-space: nowrap;
	width: 88%;
	min-width: 316px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 15px 20px;
	color: #fff;
	font-size: 20px;
	text-align: center;
	border: solid 1px #c9ad60;
	position: relative;
	z-index: 2;
	text-shadow: 0 0px 12px #4c390e;
}

a.mod_callout_button:before {    
	content: '';
	position: absolute;
	z-index: -1;
	border: solid 2px #c9ad60;
	top: -6px;
	left: 5px;
	right: 5px;
	bottom: -6px;
	transition: all .2s ease-out;
}

a.mod_callout_button:hover:before {    
	border-color: #b92d26;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

a.mod_callout_button path, a.mod_callout_button rect, a.mod_callout_button polygon {
	fill:#fff;	
}

a.mod_callout_button:hover {
	background-color: #b92d26;
	color: #fff;
	border-color: #b92d26;
}

a.mod_callout_button:hover path, a.mod_callout_button:hover rect, a.mod_callout_button:hover polygon{
	fill:#fff; 
}

#table_top a.mod_callout_button:link, #table_top a.mod_callout_button:visited {font-size:15px; padding: 13px 10%; border-radius:6px; width:auto;}
#table_top a.mod_callout_button:before {display: none;}

.mod_hwd_social {
	padding-bottom:30px;	
}


.primary_color{
	color: rgb(23 101 165 / 100%)
}

.secondary_color {
	color: #66ab6d;
}



p.two_columns {    
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-width: 200px;
	-moz-column-width: 200px;
	column-width: 200px;
	-webkit-column-gap: 2em;
	-moz-column-gap: 2em;
	column-gap: 2em;
}

.wrapper_frame {
	/* width:1120px; */
	/* margin:0 auto; */
	max-width: 980px;
	margin: 0 auto;
	width: 95%;
}

.cols-3 {}

.cols-3 .col {
	width: 27%;
    float: left;
    margin-right: 2%;
    background: #fff;
    padding: 2.1%;
}

.cols-3 .col:last-child{margin-right:0;}

.cols-3:after {display:block;clear:both;content: '';}

.cols-3 a.button-link {display:block!important;}

.cols-3 img.header {
	height: 150px!important;
    object-fit: cover; 
    width: 100vw;
    /* margin-left: 50%; */
    /* transform: translateX(-50%); */
    max-width: 115%;
    margin-left: -7.5%;
    margin-top: -20px;
    /* overflow: hidden*/;
}

/********************************** N A V I G A T I O N    &    M E N U S  *************************************************/

/**********************************/
/* Main   Navigation          */
/**********************************/
ul.menu a, 
ul.menu a:link, 
ul.menu a:visited, 
ul.menu span, 
ul.menu li.active, 
ul.menu li.active span, 
ul.menu a:hover, 
ul.menu span:hover {
	transition: .15s all ease-out;
	cursor:pointer;
	/* z-index:9999; */
	position:relative;
}

#top_wrapper ul.menu {
	margin: 0;
	/* padding:0 0 0 20px; */
	display:block;
	list-style-type: none;
	zoom: 1;
	position:relative;
}

#top_wrapper ul.menu li{
	margin: 0;
	padding: 0;
	display: inline-block;
	zoom: 1;
}

#top_wrapper ul.menu a:link, #top_wrapper ul.menu a:visited, #top_wrapper ul.menu span  {
	display: block;
	float: left;
	text-decoration: none;
	line-height: 11px;
	font-weight:normal;
	background-size:0 0;
	/*animation stuff*/
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px transparent;
	position: relative;
	overflow: hidden;
    padding: 23px 15px;
    font-size: 16px;
	color:#000;
}

#top_wrapper ul.menu li.active a{
	color: #444;
}

/*drop down icon*/

#top_wrapper ul.menu li.parent a:before, #top_wrapper ul.menu li.parent span:before {
    /* content: "↓"; */
    content: " ";
    display: inline-block;
    float: right;
    padding: 2px;
    font-size: 10px;
    border: solid #316bc5;
    transform: rotate(45deg);
    border-width: 0 2px 2px 0;
    margin-left: 8px;
	margin-top: 2px;
}

#top_wrapper ul.menu a:after, #top_wrapper ul.menu span:after {
	content: "";
	position: absolute;
	z-index: 4;
	left: 50%;
	right: 50%;
	bottom: 11px;
	background: #c1a55a;
	height: 2px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.1s;
	transition-duration: 0.1s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

#top_wrapper ul.menu a:hover, #top_wrapper ul.menu span:hover{
	color:#444!important;
}


#top_wrapper ul.menu a:hover:after, #top_wrapper ul.menu a:focus:after, #top_wrapper ul.menu a:active:after,
#top_wrapper ul.menu li.active a:after, #top_wrapper ul.menu span:hover:after {
	left: 10px;
	right: 10px;
}

#top_wrapper ul.menu .feature{
	background-color: #ebe6e0;
	color: #84c58b!important;
	font-weight: bold!important;
}

#top_wrapper ul.menu .feature:before {
	background: #84c58b;
}

#nav_bar ul.menu {text-align:center;}

#nav_bar ul.menu a:before, #nav_bar ul.menu span:before {
	bottom: 0px;
	background:#84c58b;
}

#nav_bar ul.menu a:link, #nav_bar ul.menu a:visited, #nav_bar ul.menu span  {
	font-weight: normal;
	color:#fefefe;
}

#nav_bar ul.menu a:hover, #nav_bar ul.menu a:hover, #nav_bar ul.menu span:hover  {
	background-position: center 52px;
	color:#d93833;
}

#top_wrapper ul.menu>li>ul.nav-child {
    display: none;
    top: 68px;
    margin: 0;
    position: absolute;
    padding: 20px 9px;
    text-transform: none;
    z-index: 4;
    background: rgb(255,255,255, 0.95)!important;
    backdrop-filter: blur(10px);
    text-align: left!important;
    box-shadow: 2px 3px 16px rgb(0 0 0 / 10%);
	border-radius: 10px;
    border-top: solid 2px #316bc5;

}

#top_wrapper ul.nav-child ul.nav-child {
	/**/display: none;
	margin: 0;
}

#top_wrapper ul.nav-child a:before, #top_wrapper ul.nav-child span:before, #top_wrapper ul.nav-child a:after, #top_wrapper ul.nav-child span:after {
	display:none;	
}

#top_wrapper li.active ul.nav-child {
	display:block;
}

#top_wrapper ul.nav-child li{
	display:block;
	padding:0;
	clear:left;
	background:none;
}


#top_wrapper ul.nav-child a:link, #top_wrapper ul.nav-child a:visited {
    font-size: 14px!important;
    line-height: 18px;
    font-weight: normal;
    color: #222!important;
    letter-spacing: 0px;
    text-transform: none;
    padding: 11px 15px;
    display: block;
    width: 180px;
    border-bottom: dotted 1px #e7e7e7;;
    background-image: none;
}
#top_wrapper ul.nav-child li:last-child a:link, #top_wrapper ul.nav-child li:last-child a:visited {border-bottom:none;}

#top_wrapper ul.nav-child a:hover{
	color: #2a67c0!important;
    background: #ffffff;
}

#top_wrapper ul.nav-child a:before, #top_wrapper ul.li.parent span:before {
    content: ""!important;
    display: none!important;
    padding: 0!important;
}

/* third-level */
#top_wrapper ul.nav-child>li>ul.nav-child{
	margin-left: 10px;
}

#top_wrapper ul.nav-child>li>ul.nav-child a{
	width: 170px;
}


/**********************************/
/* Sticky Header                  */
/**********************************/
.sticky {
	position: fixed;
	/*background: linear-gradient(180deg, rgba(255,255,255,1) 5%, rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 84%)!important;
	height: 80px;*/
}
.sticky .logo {width:70px}
.sticky #header_right {padding: 10px 0px 10px 0px;}
.sticky  ul.menu ul.nav-child {top: 58px!important;}
.sticky #header_left { overflow:hidden;max-width: 160px;}
.header_padding {padding-top:107px!important;}

/**********************************/
/* Small Column Navigation        */
/**********************************/

#small_column ul.menu,
#small_column ul.latestnews,
#small_column ul.category-module  {
	margin: 0;
	padding:0px;
	display:block;
	list-style-type: none;}

#small_column ul.menu li,
#small_column ul.latestnews li,
#small_column ul.category-module li {
	margin:0px;
	padding:0px;
	/*to make drop down appear directly under menu item, change display to "block"*/
	display:block;
}

#small_column ul.menu a:link,
#small_column ul.menu a:visited,
#small_column ul.menu span,
#small_column ul.latestnews a:link,
#small_column ul.latestnews a:visited,
#small_column ul.category-module a:link,
#small_column ul.category-module a:visited,
#small_column ul.category-module span {
	display: block;
	text-decoration:none;
	padding:10px 10px;
	font-size:14px;
	border-bottom:solid 2px #eaeaea;
	position: relative;
}

#small_column ul.menu a:hover,
#small_column ul.latestnews a:hover,
#small_column ul.category-module a:hover{
	color:#000;
}

#small_column ul.menu a:before, #small_column ul.menu a:before, #small_column ul.category-module a:before, #small_column ul.category-module span:before {
	content: "";
	position: absolute;
	z-index: 4;
	left: 50%;
	right: 50%;
	bottom: 0px;
	background: #d9a444;
	height: 2px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.15s;
	transition-duration: 0.15s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
	
}

#small_column ul.menu a:hover:before, #small_column ul.menu a:hover:before, #small_column ul.category-module a:hover:before, #small_column ul.category-module span:hover:before {
	left: 0px;
	right: 0px;
}

#small_column ul.nav-child {
	/**/display:none;
	padding:15px 0 10px 25px; 
	margin:0;
}

#small_column li.active ul.nav-child {
	display:block;
	background-color:#fff;
}

#small_column ul.nav-child li{
	display:inline;
}

#small_column ul.nav-child a:link, #small_column ul.nav-child a:visited{
	color: #bc242f!important;
	padding:5px 10px;
	border-bottom:none;
	border-left:solid 0px #fff;
}

#small_column ul.nav-child a:hover{
	color: #000!important;
	border-left:solid 3px #ffc423;
}

/**********************************/
/* Mobile Navigation              */
/**********************************/

.mobile_menu_button {

	margin: auto;
    padding: 20px 0px 20px 43px;
    border: none;
    color: #908d87;
    font-size: 14px;
    font-weight: normal;
    display: none;
    background-image: url(../graphics/hamburger.svg);
    background-repeat: no-repeat;
    background-position: -2px 20px;
    background-color: transparent;
    background-size: 41px 21px;
    font-family: 'Montserrat', sans-serif;

}

.mobile_menu_button svg {
	vertical-align: sub;
}

.mobile_menu_button.close-button {
	margin: 0;
    left: calc( 50% - 126px / 2 );
    position: absolute;
    font-size: 20px;
    padding: 13px 19px 14px 39px;
    width: 126px;
    background: url(../graphics/close-x.svg) 23px 13px no-repeat;
    line-height: 12px;
    top: 20px;
    color: #609ded;
}

#mobile_menu ul.menu {
	display: block;
	list-style-type: none;
	max-width: 500px;
	margin: 70px auto 60px auto;
}

#mobile_menu ul.menu li {
	margin:0px;
	padding:0px;
	/*to make drop down appear directly under menu item, change display to "block"*/
	display:block;
}

#mobile_menu ul.menu a:link, #mobile_menu ul.menu a:visited, #mobile_menu ul.menu span {
	display: block;
    text-decoration: none;
    margin: 2px auto;
    white-space: nowrap;
    padding: 11px 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    border-bottom: solid 1px #2b538a;
	text-align: center;
}

#mobile_menu ul.menu a:hover, #mobile_menu ul.menu span:hover{
	color: #eee;
}

#mobile_menu ul.menu li.parent a:before, #mobile_menu ul.menu li.parent span:before {
    /* content: "â†“"; */
    content: " ";
    display: inline-block;
    float: right;
    padding: 2px;
    font-size: 10px;
    border: solid #274a77;
    transform: rotate(-45deg);
    border-width: 0 2px 2px 0;
    margin-left: 8px;
    margin-top: 8px;
}

/*special style for when parent is open and arrow points down*/
#mobile_menu ul.menu li.dropdown-parent-active a:before, #mobile_menu ul.menu li.dropdown-parent-active span:before
{transform: rotate(45deg);}

#mobile_menu ul.nav-child {
	/**/display:none;
	padding:0 0 20px 0; 
	margin:0;
}

#mobile_menu ul.nav-child a::before{
	display:none!important;
}

#mobile_menu li.active ul.nav-child {
	display:block;
	/*background-color:#62957c;*/
}

#mobile_menu ul.nav-child li{
	display:inline;
}

#mobile_menu ul.nav-child a:link, #mobile_menu ul.nav-child a:visited {
    padding: 5px 0 5px 26px;
    color: #cdd7e4;
    font-size: 15px;
    letter-spacing: 0px;
    text-transform: none;
    font-weight: normal;
}

#mobile_menu ul.nav-child a:hover{
    color: #eee;
}

/**********************************/
/*      Grid  Navigation          */
/**********************************/

ul.menugrid {list-style-type: none; padding:0; margin:0;display:block;text-align: center;}

ul.menugrid li {
    display: inline-block;
     /*float: left;
  	 width: 187px;*/
    width: 256px;
    margin: 0 3% 30px 0;
    padding: 0;
   /* background-color: #f6f7f2;*/	
    background-color: rgb(255,255,255,0.9);
    text-align: center;
    overflow: hidden;
	transition: all 0.5s ease;
	font-size:14px;
}

ul.menugrid li a:link, ul.menugrid li a:visited {
	text-decoration: none;
    color: #1e51a0;
    font-size: 24px;
    padding: 18px 0 18px 0;
    display: block;
}

ul.menugrid li a:hover {
    color: rgb(246,247,242,0.8);
	
}

ul.menugrid .image-title {   
    /* padding-top: 18px; */
    padding: 18px 18px 0 18px;
    display: block;
}

ul.menugrid a img {
    width: 100%;
    height: 100px!important;
    object-fit: cover;
    /* position: absolute; */
    /* margin-left: -34px; */
    margin-top: -18px;
}

ul.menugrid li:hover {
    box-shadow: 2px 3px 16px rgb(0 0 0 / 10%);
	background-color: rgb(23 67 136);
}

/**********************************/
/* Admin   Navigation          */
/**********************************/

#admin_menu{
	background: #434343;
}

#admin_menu .moduletable{
	margin-bottom: 0;
}

#admin_menu .menu{
	list-style: none;
	margin: 0 auto;
	display: table;
}

#admin_menu .menu li{

	margin-bottom: 0;
	width: auto;
	display: inline-block;
	margin: 10.5px 0;
}

#admin_menu .menu li + li{
	margin-left:20px;
}

#admin_menu .menu a{

	color: #ddd;
	background: #555;
	font-size: 14px;
	text-decoration:none;
	padding: 9px 23px;
	display: inline-block;
	border-radius: 5px;
	border-top: solid 1px #555;
}

#admin_menu a:hover{
	color:#fff;
	background: #5f5f5f;
	border-top: solid 1px #6e6e6e;
    box-shadow: 0 3px 5px rgb(0 0 0 / 10%);
}

/* Tooltips */

.tooltip {
	padding: 4px;
	position: absolute;
	z-index: 9999;
	max-width: 400px;
	box-shadow: 0 0 5px #AAA;
	border-radius: 4px !important;
	font-size: 1em !important;
	background: black !important;
	color: white !important;
}

/******************************* Extension Overrides *************************/

/**********articles*************/

.items-row.cols-1 .item {
    border-bottom: solid 1px #e1e1e1;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.cols-3 .page-header h2 {
    font-size: 20px;
    font-weight: normal;
    display: block;
    height: 25px;
    overflow: hidden;
}

/*********slider**********/

.lgx-contentslider .owl-theme .owl-controls .owl-nav [class*=owl-] {
    background: #fff;
    display: none;   
	height: 0;
    padding: 0;
	overflow:hidden;
}

.owl-theme .owl-controls .owl-nav [class*=owl-] {background: #fff;}

/*********************** JCE *************************/

.wf-columns .wf-column {

    max-width: 100%;
    box-sizing: border-box;
    flex: 1;
    /*background: rgb(0 0 0 / 4%);
    box-shadow: 0 5px 13px rgb(0 0 0 / 9%);*/
    padding: 20px;
    transition: all .15s ease-in-out;

}


.wf-columns {margin-bottom: 20px;position: relative;}

.wf-columns .wf-column:hover { }

.dark .wf-column {background:#222;}

.dark .wf-column p, .dark .wf-column a{color:#fff!important; }

.dark .wf-column h3, .dark .wf-column h3 a{color:#fff!important;}

.light .wf-column {background:none; border:none;}


/**************what is this?***********************/

#contentmap_container_plugin_10020, #contentmap_container_module_92 {
	webkit-box-shadow:none!important;
	-moz-box-shadow:none!important;
	box-shadow:none!important;
	border:solid 1px #EEE!important;
}


/************ hwd Social ********************/

.mod_hwd_social path {
    fill: #eee;
}

.mod_hwd_social a:hover path {
	fill: #999;
}

.mod_hwd_social a {
	width:25px;
	height:25px;
	padding:5px;
}

#mobile_menu .mod_hwd_social {
	text-align:center;	
}


/************ jm testimonial ********************/

.jmm-testimonials.default .jmm-author:before {
    content: '~';
	padding-right:10px;
	color:#ccc;
}

/*****************forms**********************/

a.ba-form-submit-btn:link, a.ba-form-submit-btn:visited, a.ba-form-submit-btn:hover {text-decoration:none; color:#fff;}




/*************** module manager ck *****************/


#managerbutton #managerstate, #managerothermodules{
	background: #fff !important;
	font-weight: bold;
	color: #282c3b;
	text-transform: capitalize;
	
}

#managerbutton.inactive #managerstate {}

#managerbutton {
	background: #282c3b;
	border: 0;
	box-shadow: none;
	position: absolute;
	width: 180px;
	padding: 10px;
	border-radius: 5px;
	text-align: center;
	right:0;
	left:auto;
}

#managerbutton #managerstate, #managerothermodules {
	background: #fff !important;
	font-weight: bold;
	color: #282c3b;
	text-transform: capitalize;
}

#managerothermodules {display:none;}

#ckothermodules {
	top: 38px;
	height: calc( 100% - 38px);
}

#other-modules-list {
	max-height: calc(100% - 6px);
}

#ckmoduleslist h2, #ckothermodules h2 {
	display: none;
}

.cktitle {color:#000!important;}

.cat-children h3 {    
	font-size: 18px;
	margin-top: 0px!important;
	margin-bottom: 10px;
	font-weight: normal;
	text-transform:capitalize;
}

.categories-module h3, .categories-module h4, .categories-module h5, .categories-module h6 {

	font-size: 16px;
	margin-top: 0px!important;
	margin-bottom: 0px;
	font-weight: normal;
	text-transform:capitalize!important;
}

ul.categories-module{list-style: none;margin:0;}

ul.categories-module ul {display:none}

ul.categories-module ul.show {display:block;}

ul.categories-module li {margin:0;}

ul.categories-module a {padding:10px 0 10px 0;border-bottom:solid 1px #dedede;display:inline-block;width:100%;}

.cat-children .collapse{
	padding-left:20px;
	margin-righ: 0px!important;
}

.cat-children .page-header {
	border:solid 1px #ddd;	
	background: #f5f5f5;
	padding:10px;
}


.calendar-container table tbody td.day.selected {background: #363e77;}

.calendar-container table tbody td.day:hover {background: #414c9d;}

/****************DP Calendar*****************/

.mod-dpcalendar-upcoming-default .dp-flatcalendar {
	width:3em;
	height:4em;
}

.mod-dpcalendar-upcoming-default .dp-flatcalendar__day {
	font-size:15px;
	padding-top: 1.9em;
	
}

.com-dpcalendar-calendar .fc-day-grid-event>.fc-content, .com-dpcalendar-calendar .fc-timeline-event>.fc-content {
	overflow: hidden;
	max-height: 60px;
}

.dp-event-tooltip__link {
	color:#fff!important;
	
}


.dp-time__end, .dp-time__separator {display:none;}

.mod-dpcalendar-upcoming-horizontal .dp-flatcalendar {display:none;}

/***************event booking*********************/

#eb-categories .eb-box-heading, #eb-events .eb-box-heading, #eb-event-page .eb-box-heading {

    background:none;
    border-top: none;
	border-left:none;
	border-right:none;
	border-radius: 0;
	padding-left:0;
}

#eb-categories .eb-description, #eb-events .eb-description, #eb-event-page .eb-description {
    border-bottom: 1px solid #DBDEE1;
    border-left: none;
    border-right: none;
    background: none;
    padding: 45px 0 45px 0;
	border-radius: 0;
}

#eb-events .table-striped tbody tr:nth-child(odd) td, #eb-events .table-striped tbody tr:nth-child(odd) th {
    background: none;
	border-right:none;
	border-left:none;
}

#eb-events .table-bordered {border-radius:0; border-right:0}

#eb-events .table-bordered th, .table-bordered td {
    border-left: none;
}

#footer .ebm-upcoming-events li {
    border-bottom: 1px solid #2b2b2b;
	font-size:14px;
	padding: 0 0 7px;
    margin: 0 0 7px;
}

.ebm-upcoming-events .ebm-event-link {
    font-size:100%;
    font-weight: normal;
}

/*****************Media Queries****************/

@media screen and (min-width: 1360px) { 

	#mobile_menu_button { display:none;	}

	#mobile_menu {display:none;	}

}

@media screen and (max-width:1360px) {

	#table_top {padding: 0 45px;}

	#top_nav ul.menu {padding:0;}

	#top_nav ul.menu a:link, #top_nav ul.menu a:visited, #top_nav ul.menu span {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#top_wrapper ul.menu{display: none;	}

	#top_nav ul.menu {display:none;}

	#nav_bar_wrapper {display:none;}

	.mobile_menu_button{display: inline-block;}

}

@media screen and (max-width: 1080px) {

	/* .wrapper_frame {width: auto; } */

	#footer, #table_middle .wrapper_frame, #table_copyright {padding-right: 18px; padding-left: 18px; width:auto;}

	 {width:auto!important;}

	.image_left {margin: 20px 30px 30px auto!important;}

	.image_right {margin: 20px auto 30px 30px!important;}

}

@media (max-width: 960px) {
	.wf-columns-stack-medium>.wf-column {
		padding: 0 0 10px 0!important;
	}
}


@media screen and (max-width: 915px) { 

	#top_wrapper{/* height: 240px; */}

	#header_right {max-width: 50%;}

	#main_content {padding: 65px 0 85px 0;}
	
	
	.image_right, .image_right_30, .image_right_20 {float:none; margin-left:0; display:block; max-width:100%; margin: 30px auto!important;}
	.image_left, .image_left_30, .image_left_20 {float:none; margin-right:0; display:block; max-width:100%; margin: 30px auto!important;}

}

@media screen and (max-width: 770px) { 

	#small_column {float:none; width:auto; padding:16px 0; position:relative;}

	#large_column {width:auto; float:none; padding:2% 0 20px 0;}

	#header_right {max-width:25%}
	

	.bq-right, .bq-left, .language-bq-left, .language-bq-right  {

		float: none;
		width:auto;
		margin-right: 0;
		margin-left: 0;

	}

	#feature {padding: 179px 20px 84px 20px;}

	#feature h1 {font-size:40px;}

	#feature h2 {font-size:34px;}
	
	.cols-3 .col {
		width: auto;
		float: none;
		margin-right: 0;
		margin-bottom:30px;
	}
	
	.cols-3 img.header {
		height:200px!important;
		max-width: 104%;
    	margin-left: -2%;
	}
	
	/*.cols-3 img.header {
		height: 150px!important;
		width: 100vw;
		max-width: 115%;
		margin-left: -7.5%;
		margin-top: -20px;
	}*/
}

@media screen and (max-width: 700px) { 

	.no_mobile {display:none!important;}
	
	.ba-form-page {	padding: 0px !important;}
	
	.moduletable [class*="span"]{float:none!important; width:auto;}
	
	#promo_ribbon1 .custom, #promo_ribbon2 .custom {display: block;}

	#promo_ribbon1 p, #promo_ribbon2 p {font-size: 18px;}
}

@media screen and (max-width: 650px) { /* 630px */

	a.mod_callout_button:link, a.mod_callout_button:visited{font-size: 15px;}
	#table_top {padding: 0 20px;}
}

@media screen and (max-width: 600px) {
	h1, h2 .subheading-category { font-size: 36px; }
	h2 {font-size: 28px;}
	#content_module .moduletable h2 {font-size:32px;}
	h3 {font-size: 24px;}
	h4, h5 {font-size: 18px;}
	h6 {font-size: 16px;}
	#feature p {font-size: 20px;}
	#row4 {display: flex; flex-direction: column;}
	#row2 h1, #row2 h2, #row3 h1, #row3 h2, #row5 h1, #row5 h2, #row7 h1, #row7 h2, #row9 h1, #row9 h2 {font-size: 34px;}
	#header_right p, #header_left p, #header_right h3, #header_left h3, #header_right h4, #header_left h4 {font-size:18px}
}

@media screen and (max-width: 500px) { 
	.two_third_block {width:auto; float:none;}
	#header_right .mod_hwd_social {display:none;}	
	.module_bg_image {padding: 150px 20px 40px;}
	#footer .moduletable {margin-right: 0;}
	#header_left {max-width:70%;}
}

@media screen and (max-width: 380px) { 
	#header_left {padding-left:0px;}
}