@media screen and (min-width: 40em){

.top_right_buttons ul.menu li .purple_btn {
    font-size: 15px;
}
.get-help-btn a.button.red_btn {
    padding: 20px 14px !important;
}
.top_right_buttons ul.menu li {
    margin-bottom: 6px;
}
}

@media screen and (min-width: 64em){

.top_right_buttons ul.menu li .purple_btn {
    font-size: 16px;
}
	
}


@media screen and (min-width: 75em){

.top_right_buttons ul.menu li .purple_btn {
    font-size: 18px;
}
	
}

@media screen and (min-width: 90em){

.top_right_buttons ul.menu li .purple_btn {
    font-size: 21px;
}

	.top_right_buttons.get-help-btn {
    right: 150px !important;
    width: 120px !important;
}
}

/* Header Button Css Start */

.top_right_buttons.get-help-btn {
    right: 140px;
    width: 105px;
}

.top_right_buttons ul.menu li .purple_btn {
    font-weight: 500;
    padding: 0.5rem 2rem;
    background: #7409a5;
}

.top_right_buttons ul.menu li .purple_btn:hover {
    color: #7409a5;
		background:#fff;
}

@media screen and (min-width: 40em){
.get-help-btn a.button.red_btn {
    padding: 20px 10px !important;
}
}

@media screen and (max-width: 1100px){
	.header_menu {
    margin: 75px auto 0 !important;
    width: 580px;
}
}

@media screen and (max-width: 1200px){
.top_right_buttons.get-help-btn {
    right: 130px !important;
}
	
.top_right_buttons {
    top: 20px;
}	
	
.header_menu ul li a {
    font-size: 14px !important;
}
	
}

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

.top_right_buttons.get-help-btn {
    right: 88px !important;
    width: 86px !important;
}
	
.top_right_buttons.get-help-btn ul.menu li .red_btn {
    padding: 14px 10px !important;
}

.top_right_buttons ul.menu li {
    display: block;
    margin-bottom: 6px;
}
.top_right_buttons ul.menu li .purple_btn {
    font-weight: 500;
    font-size: 14px;
    padding: 5px 15px;

}

.large-6.medium-6.columns.show-for-medium.header_menu {
    padding-top: 0px !important;
}
	
}

@media screen and (max-width: 840px) and (min-width: 640px){
.header_menu {
    width: 580px !important;
    margin-left: 25px !important;
    padding-top: 0px !important;
    margin-top: 15px !important;
}
}

/* Header Button Css End */




.top-bar{
  background-color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.65) !important;
}


@media screen and (min-width: 64em){
	
.header_menu {
    width: 580px;
}

}

@media screen and (max-width: 39.9375em){
	.events img {
    max-width: 100%;
    margin: 0 0 20px;
}
}

@media screen and (min-width: 40em){
.header_menu {
    margin: 30px auto 0;
    width: 580px;
}
	.header_image_tall_container h2, .header_image_medium_container h2, .header_image_short_container h2 {
    line-height: 44px;
}

	.top_right_buttons ul.menu li .green_btn, .top_right_buttons ul.menu li .red_btn {
    padding: 10px 15px;
}
}

@media screen and (max-width: 840px) and (min-width: 640px){
.header_menu {
    width: 580px !important;
}
	
}


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

h1#logo {
    width: 150px;
}

.top_right_buttons {
top: 8px;
}

.top_right_buttons ul.menu li .green_btn, .top_right_buttons ul.menu li .red_btn {
    padding: 5px 15px !important;
}

	.header_image_tall_container h2, .header_image_medium_container h2, .header_image_short_container h2 {
    font-family: "barlow",Helvetica,Roboto,Arial,sans-serif;
    line-height: 32px;

    font-size: 22px;
}
	
.header_image_tall_container h2, .header_image_medium_container h2, .header_image_short_container h2 {
    padding: 200px 10% 120px !important;
}
	
#home_callout1 p {
    padding: 0 30px;
}
	
div#featured_event {
    padding-top: 40px;
}	
	
#home_callout1 a {
    max-width: 280px !important;
}
	
.footer_info .textwidget {
    text-align: center !important;
}

}









h1,
h2,
h3,
h4,
h5,
h6{
	font-family: oswald !important;
    font-weight: 500 !important;
	    text-transform: uppercase;
}
p,a{
	font-family: Barlow !important;
	font-size: 18px;
    font-weight: 500;
}

/* MENU START */

.menu-icon:after {
    background: #f02b3c;
	    box-shadow: 0 7px 0 #f02b3c, 0 14px 0 #f02b3c;
}

.header_image_tall_container h2, .header_image_medium_container h2, .header_image_short_container h2 {
    padding: 275px 10% 120px;
}


blockquote {
    background: #fff3db00;
    border: 1px solid #5F4875;
    padding: 30px 20px 15px;
	margin: 30px 0;
}

blockquote p {
    color: #5f4875;
    padding: 0;
	font-style: italic;
}
.breadcrumb_menu a {
    color: #a0a0a0;
}
.breadcrumb_menu a:hover{
    color: #f02b3c;
}
.top_right_buttons ul.menu li .green_btn, .top_right_buttons ul.menu li .red_btn {
    padding: 0.5rem 2rem;
}

.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a {
    padding-right: 1.5rem;
    position: relative;
    color: #000000;
}
.header {
  	background-image:none !important;
    /*background: url(https://www.yws.on.ca/wp-content/themes/JointsWP/assets/images/yws_home_gradient.png) bottom center !important; */
    background: #ffffffe8 !important; 
}

.large-6.medium-6.columns.show-for-medium.header_menu {
    padding-top: 27px;
 	 margin-left: -80px;	
}

.header_menu ul li a {
    font-size: 16px !important;
	border-bottom: 2px solid #ffffff00;
}
.header_menu ul li a:hover,
.header_menu ul li a:focus {
	background: transparent;
  border-bottom: 2px solid #f02b3c;
}

.header_menu ul li ul li a{
border-bottom: none;
}
.header_menu ul li ul li a:hover {
    border-bottom: none;
    background: #f02b3c;
}
.menu .active>a {
    background: #2199e800 !important;
}

.header_menu ul li.active a{
  border-bottom: 2px solid #f02b3c;
}
.header_menu ul li.active ul li a{
    border-bottom: none;
}
.is-dropdown-submenu .is-dropdown-submenu-parent.opens-right>a:after {
    border-color: transparent transparent transparent #f02b3c;

}
/* MENU END */

#cus-text .eg-blog-post-element-6 {
    font-family: barlow !important;
    color: #000 !important;
}

#home_callout3 .heading-normal{
	    font-weight: 400;
    text-transform:uppercase;
	font-style: italic;
}

.newsletter_optin a{
	color:#fff;
}
.newsletter_optin a:hover{
	color:#f02b3c;
}
h1.footer-top-title {
    font-weight: 400;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 36px;
}

.newsletter_optin .textwidget {
    font-family: barlow;
	font-size: 18px;
}


#home_callout3 {
    background: url(https://www.yws.on.ca/wp-content/uploads/2019/11/mainpage.jpg) !important;
    background-color: #5f4875 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.cus-div {
    margin-top: 40px;
}

.vis-mis .child{
margin-bottom:40px;
}

.eg-blog-post-element-0 {
    font-family: "oswald" !important;
    color: #111;
    font-weight: 500;
    text-transform: uppercase;
}
.eg-blog-post-element-0:hover {
    color: #111;
    font-weight: 500;
}
.eg-blog-post-element-6 {
    font-family: "barlow" !important;
}

#sidebar1 h4.widgettitle {
    color: #0a0a0a;
}

li.recentcomments span {
    padding-left: 15px;
}
li.comment .media-object {
    padding-top: 30px;
}
li.comment .media-object img {
    margin-top: 5px;
}
.commentlist .comment_content p {
    margin: inherit;
}

[data-bbox-part-id="28bf191a-3306-4097-9126-be2a6dcfef4e"].BBFormContainer .BBFormSubmitbutton {
    padding: .5rem 2rem !important;
}
.footer_info .textwidget{
    text-align: left;
    line-height: 1.25;
    font-family: barlow;
    font-weight: 500;
    font-size: 18px;
    color: #ebebeb;
}

.footer hr.divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.50);
    padding-top: 20px;
    margin-bottom: 20px;
}
div#home_description {
    display: none;
}
p.zoom-social-icons-list--align-center {
    color: #fff;
    margin-bottom: 30px;
    margin-top: 20px;
}
span.zoom-social_icons-list-span.socicon{
    color: #fff !important;
}
.zoom-social-icons-list--no-labels .zoom-social_icons-list__item {
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 4px;
	transition:0.3s;
}

.zoom-social-icons-list--no-labels .zoom-social_icons-list__item:hover {
    border: 1px solid #f02b3c;
    background: #f02b3c;
}
.footer_partners .textwidget{
    font-family: barlow;
    font-weight: 500;
    font-size: 16px;
    color: #ebebeb;
}
.copyright p {
    margin-bottom: 0;
    color: #ccc;
    padding: 40px 10px 30px 10px;
    text-align: center;
    font-size: 14px;
}
.copyright a {
    color: #ccc !important;
}


.BBFormContainer[data-bbox-part-id="28bf191a-3306-4097-9126-be2a6dcfef4e"] .BBFormTextbox:focus, .BBFormContainer[data-bbox-part-id="28bf191a-3306-4097-9126-be2a6dcfef4e"] .BBFormTextArea:focus {
   box-shadow: none !important;
    background-color: #fff0 !important;
	color: #fff !important;
}

[data-bbox-part-id='28bf191a-3306-4097-9126-be2a6dcfef4e'].BBFormContainer :not(:focus).BBFormTextbox {
    color: #fff !important;
}
@media only screen and (max-width: 720px) {
h1.footer-top-title {
	font-size: 16px !important;
}
}

.dropdown.menu.medium-horizontal > li.opens-right > .is-dropdown-submenu:hover {
	display: block;
}