@import url('https://fonts.googleapis.com/css2?family=Sen&display=swap');

/*edit font*/
*,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: Sen, sans-serif;
}

/*edit hr tag*/
hr,
.entry-content hr,
hr.styled-separator,
.entry-content hr:not(.has-background),
hr.styled-separator,
.entry-content hr::before,
.entry-content hr::after,
hr.styled-separator::before,
hr.styled-separator::after,
.entry-content hr::before,
hr.styled-separator::before,
.entry-content hr::after,
hr.styled-separator::after
 {
	border-style: solid;
	border-width: 0.1rem 0 0 0;
	border-color: #3B3838;
	margin: 1rem auto;
	content: none;
}

/*make top-level nav menu items unclickable*/
.unclickable>a {
	pointer-events: none;
}

/*hide title area on pages*/
.entry-header {
	display: none;
}

/*adjust style of nav header*/
.header-inner {
	justify-content: start;
	padding: 2rem 3rem;
	max-width:1280px;
}

ul.primary-menu {
	justify-content: flex-start;
	letter-spacing:0em;
}

/*nav header font color*/
body:not(.overlay-header) .primary-menu>li>a, body:not(.overlay-header) .primary-menu>li>.icon {
	color: #fff;
}

/*nav header dropdowns background color*/
body:not(.overlay-header) .primary-menu ul {
	background-color: #DA3934;
	color: #fff;
}

/*nav header dropdown upper icon*/
body:not(.overlay-header) .primary-menu>li>ul::after {
	border-bottom-color: white;
}

/*edit search button & modal menu font color*/
body:not(.overlay-header) #site-header .toggle, body:not(.overlay-header) .toggle-inner .toggle-text, .modal-menu a, .menu-modal .toggle {
	color: #fff;
}
body:not(.overlay-header) .header-inner .toggle-wrapper::before {
	color: #EC1F27;
	background-color: #EC1F27;
}

/*edit search page style*/
table.gsc-search-box * {
	border: 1px solid transparent;
}

table.gsc-input * {
	border-color: #EC1F27;
	line-height: 45px;
}

button.gsc-search-button-v2 {
	padding-top: 17px;
	padding-bottom: 17px;
}

.gsc-search-button-v2 svg {
	height: 20px;
	width: 20px;
}

td.gsib_b * {
	border-color: transparent;
}

td.gsc-search-button {
	width: 10%;
}

/*edit search icon position*/
@media (min-width:1000px) {
	.header-navigation-wrapper {
		width: 100%;
	}
}

/*nav menu font size adjust to avoid wrap*/
@media (min-width:1000px) and (max-width:1285px) {
	.primary-menu li a {
		font-size:1.4vw;
	}
}

@media (min-width:1286px) {
	.primary-menu li a {
		font-size:22px;
	}
}

.primary-menu > li > a {
	display: inline-block;
	white-space:nowrap;
}

/*remove padding from top of main page content*/
.post-inner {
	padding-top: 1px;
}

/*adjust calendar width*/
.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 125rem;
}

/*adjust top margin on standard pages in full-width view*/
@media (min-width:1220px) {
	.entry-content > .alignfull {
		margin-top: 3rem;
	}
}

/*style 'Chapter Info' side nav*/
#side-nav p {
	margin-bottom: 0;
}

#side-nav li {
	margin-left: 0;
	line-height: 1;
}

#side-nav li a {
	text-decoration: none;
	color: #000;
}

/*decrease top margin for page header*/
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
	margin-top:0;
}

/*decrease margin after headers*/
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom:0;
}

/*style accordion (right side) menu*/
.accordion .head {
	background-color: #EC1F27;
	color: #fff;
	font-size:4rem;
	padding:3%;
	border-radius:5px;
	border-collapse: separate;
}

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

.accordion ul li {
	font-size:1.5rem;
}
.accordion div>ul>li>a {
	font-weight:bold;
}
.accordion ul li>a {
	text-decoration:none;
	color:#231f20;
}

/*style footer*/
.footer-top-visible .footer-nav-widgets-wrapper {
	margin-top:0;
}

.footer-widgets-outer-wrapper {
	padding:.7rem 0;
}

.widget_polylang .widget-title {
	font-size:2rem;
	margin-bottom:0.5rem;
}

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

.widget_polylang ul li {
	margin:0;
}

/*make footer stick to bottom of page*/
@media (min-width: 992px) {
html, body {
height: 100%;
}
html body.wide #wrapper.container {
min-height: 100%;
position: relative;
padding-bottom: 0px !important;
}
#containerfooter {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
}

#site-footer {
	padding: 1rem 0;
	color: #fff
}

#site-header {
	position:absolute;
	z-index:-10000;
	background:transparent;
}

.featured-media {
	display:none;
}


.facebook-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.facebook-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

/* control event pop-up size on calendar */
.tippy-box {
    max-height:200px;
    overflow-y: auto;
    max-width: 500px !important;
}

/* make checkboxes in Action Network widgets visible */
.can_embed #can_embed_form .checkbox > input {
	outline-style: solid !important;
	outline-width: 2px !important;
}
@media (max-width: 700px) { 
#site-content {
	margin-top:30px;
}
}

/* custom header styles on Structure and Campaigns */
.sc-heading > div > * {
	font-family: Sen, sans-serif !important;
	font-weight: 800 !important;
	font-size: 3.2rem;
	letter-spacing: -0.0415625em;
}

/* ticket #3190 (https://reddesk.mdcdsa.org/scp/tickets.php?id=3190)
 */
/* adapted from https://github.com/elementor/elementor/issues/13177#issuecomment-1128446362 */

/* top spacing above anchor links*/
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
    content: "";
    display:block;
/* 	   this used to be set but it broke links*/
/*     height: 100px;  */
    /* fixed header height*/
    margin: -100px 0 0; 
    /* negative fixed header height */
    visibility: hidden;
    pointer-events: none;
}

/* sticky header */
#top-bar-wrap {
    !important;
    top: 0px !important;
    width:100% !important;
}
#site-header {
    top: 40px;
}
#main {
    margin-top: 100px;
}

/* hide the header logo, which juts out below the groovy header menu */
.header-titles > .site-logo {
	display: none;
}
/* /ticket #3190 */