/*COLOUR PALLETTE
dark grey text: #2A2426
grey border bottom: #706F70;
footer grey background: #50514F;
pale violet: #ddc4f0
purple #4a2169; rgb(74, 33, 105)
purple/grey #857b8e
*/
#bigcontainer {
width:100%;
}

/*shadow box on Job Seekers and Employers*/
.page-id-240 .wp-block-group__inner-container, .page-id-1867  .wp-block-group__inner-container {
align-items: stretch;
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
/*shadowbox - lines up bottom links*/
.wp-block-group__inner-container.is-layout-constrained .wp-block-group-is-layout-constrained{
	padding-bottom:35px;
position: relative;	
height:100%;	
}

/*gets rid of white space under shadow images*/
.wp-block-group-is-layout-constrained .wp-block-group-is-layout-constrained {
  justify-content: left;
  align-items: flex-start;
  align-content: start
}
.shadowbox {
border:solid 1px #857b8e;
	border-radius:15px;
/*	border-radius:5px;*/
float:left;
justify-content: center;
margin-right:15px;
	margin-top:30px;
	padding-bottom: 30px;
	padding-top:0px;
	position: relative;
width: 18em;
	
	box-shadow: 5px 8px 14px 0px rgba(133,123,142,0.5);
-webkit-box-shadow: 5px 8px 14px 0px rgba(133,123,142,0.5);
-moz-box-shadow: 5px 8px 14px 0px rgba(133,123,142,0.5);
 }

.shadowbox img {
	border-radius:15px 15px 0 0;
}
.wp-block-group.shadowbox h2 {
background-color: #4a2169;

color:#fff;
	font-size:1.2em;
	line-height:1.2em;
	margin-top:0;
	padding-bottom:.6em;
	padding-top:.6em;
}
.shadowbox h3 {
	font-size:1.15em;
	margin:0;
}
/*add padding to columns, keep image full width*/
.shadowbox h2, .shadowbox h3, .shadowbox p {
	padding-left: 10px;
	padding-right: 10px;
}

.shadowbox figure {
	margin:0;
	padding:0;
}
.shadowbox a:link, .shadowbox a:visited {
	background-color:#9e1f14;
	border:solid 2px transparent;
	border-radius:5px;
color:#fff;
	display:block;
	font-weight:600;
	margin:auto;
	margin-top: 30px;
	max-width: 90%;
	padding:10px;
		text-align:center;
	text-decoration:none;
	
	box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.55);
-webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.55);
-moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.55);

position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
   width: 100%;
   }
.shadowbox a:hover, .shadowbox a:focus {
		background-color:#fff;
	color:#9e1f14;

}
/*shadow box on Job Seekers and Employers*/
.shadowboxcontainer .wp-block-group__inner-container {
align-items: stretch;
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
/*shadowbox - lines up bottom links*/
.wp-block-group__inner-container.is-layout-constrained .wp-block-group-is-layout-constrained{
	padding-bottom:35px;
position: relative;	
height:100%;	
}

.shadowboxcontainer .wp-block-group__inner-container.is-layout-constrained .wp-block-group-is-layout-constrained a:link, .shadowboxcontainer .wp-block-group__inner-container.is-layout-constrained .wp-block-group-is-layout-constrained a:visited {
	position: absolute;
  bottom: 0px;
}
.wp-block-group.shadowbox h2 {
width:100%
}



/*hide site entry title so H1 is in purple background*/
.entry-title {
	display:none
}
/*displays entry title in search results*/
body.search .entry-title {
    display: block !important;
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}
/*focus styles
a:focus-visible {
	border-bottom: dotted 5px;
	text-decoration:none;
	outline:none;
}
*/


body {
	overflow-x:hidden
}
body, html {
height: 100%;
background-color : #fff;
color: #2A2426;
font-size: 100%;
font-family: sans-serif;
line-height: 1.67em;
margin: 0;
width:auto;
}
.container, .entry-content {
margin : auto;
    padding: 0;
    max-width: 63rem;
}

/*background colours*/
.graybkd {
background-color:#857b8e;
color:#fff;
}
.graybkd h1, .graybkd h2 {
color:#fff;
padding-top:.75em;
}

.purplebkd, .purpleh2 {
background-color:#4a2169;
color:#fff;
}
.purplebkd {
padding-top:1em;
}
.purplebkd h1, .purplebkd h2, .purplebkd a:link, .purplebkd a:visited {
color:#fff;
text-align: left;
}
.purplebkd a:hover, .purplebkd a:focus {
background-color:#fff;
color:#4a2169;
}
.purplebkd p {
padding-top: .8em;
}
/*navigation container*/
.purplebackground {
background-color:#4a2169;
border-bottom: solid 1px #706F70;
color:#fff;
}

/* Hide all .skip blocks (the link AND the instructions) */
/*-------SKIP--------*/
.skip A{
background-color: #4a2169;
border : solid 2px #000;
color : #fff;
top:-1000px;
left:10px;
padding-top : 1em;
padding-bottom : 1.5em;
position: absolute;
line-height: 1.5em;
text-align : center;
text-decoration : none;
-webkit-transition: top 2s ease-out, background 1s linear;
transition: top 2s ease-out, background 1s linear;
width : 6em;
z-index: 100;
}

.skip A:focus {
left: 10px;
outline:0;
position:absolute;
top:10px;
-webkit-transition: top .1s ease-in, background .5s linear;
transition: top .1s ease-in, background .5s linear;
}

/*change the look, search, donate*/
.flexrowspacebetween {
align-items: center;
display:flex;
flex-direction: row;
justify-content: space-between;
padding-bottom:5px;
padding-top:5px;
}

/*search, colorswitch, text size*/
.thingstodo {
align-items: flex-start;
display:flex;
flex-direction: row;
}
.thingstodo a:link, .thingstodo a:visited {
color:#000;
border-bottom: solid 4px transparent;
}
.thingstodo a:hover, .thingstodo a:focus{
background-color: transparent;
border-bottom: solid 4px #fff;
color: #4a2169;
}
.thingstodo #light a:link {
	display:none;
}
.screen-reader-text a:link, .screen-reader-text a:visited {
background-color:transparent;
}
/*colorswitch, text size*/
.changethelook {
align-items: center;
display:flex;
flex-direction: row;
justify-content: space-between;
padding:0;
width:110px;
}
/*colour modes*/
.darkmode {
display:none;
height:1px;
visibility:hidden;
}
.lightmode {
display:flex inline;
}
/*banner images*/
.colorswitch img {
height:44px;
margin:0;
margin-top:4px;
width: 44px;
}
.textsize img {
height:44px;
}

/*search*/
#searchdiv {
margin-right: 20px;
margin-top:3px;
}
#searchdiv label {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
input {
outline: none;
}
input[type=search] {
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
font-family: inherit;
font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
display: none;
}
#search input[type=search] {
background:/* #4a2169 */ #000 url("https://www.balancefba.org/wp-content/uploads/2023/06/searchfff.svg") no-repeat 8px center;
border: solid 3px #fff;
border-radius: 50px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
color: transparent;
cursor: pointer;
height:30px;
padding-top:8px;
transition: all .5s;
-webkit-transition: all .5s;
-moz-transition: all .5s;
width: 35px;
}
#search input[type=search]:focus, #search input[type=search]:hover {
background-color: #fff;
border: solid 2px #4a2169;
box-shadow: 0 0 5px rgba(71,61,79,.5);
-webkit-box-shadow: 0 0 5px rgba(71,61,79,.5);
-moz-box-shadow: 0 0 5px rgba(71,61,79,.5);
color: #4a2169;
cursor: auto;
padding-left: 6px;
width:200px;
}
#search input[type="submit"] {
display:none;
}

/*-------donate--------*/

/*-------logos--------*/
.logos img{
height: 60px;
margin-top:10px;
width:auto;
}
.logos a:hover, .logos a:focus {
background-color:transparent;
box-shadow: 0 0 0 0.125rem #452466, 0 0 0 0.3125rem #fff, 0 0 0 0.4375rem #452466;
display:block;
outline:3px solid transparent; 
}

/*------------------------------------------------------------------------------
# Navigation
------------------------------------------------------------------------------*/
/*
* Links
*/

A:link, A:visited {
background-color: transparent;
color : #4a2169;
text-underline-offset: 6px;
}

A:hover, A:focus {
background-color: #4a2169;
color : #fff;
text-decoration: none;
}


/*------------------------------------------------------------------------------
# Social
------------------------------------------------------------------------------*/
.socialmedia {
display:block;
padding-top:30px;
}
.socialmedia img {
height : 44px;
}
.socialmedia ul {
background-color: transparent;
display:flex;
flex-direction: row;
justify-content: left;
list-style-type: none;
margin : 0;
padding : 0;
}
.socialmedia li {
margin : 0;
padding : 0;
}
.socialmedia li:first-child {
margin-left:-10px
}
.socialmedia li img{
background-color: transparent;
justify-content: left;
}
.socialmedia A:link, .socialmedia A:visited {
background-color: transparent;
color : #fff;
font-size : 1.3em;
padding : 5px;
text-decoration: none;
margin:0;
}


/* featured image*/
#heroimage {
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    width: 100vw;
}
#heroimage img {
display: block;
height: auto;
margin:0;
width: 100%;
}

/*full width blocks*/
.fullwidth {
width:100%;
}
/*div inside fullwidth*/
.is-layout-flex > :is(*, div) {
max-width:60rem;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0px;
    position: relative;
	padding: 20px;
	padding-top:0;
	padding-bottom:35px;
}


.alignfull h1, .alignfull h2, .alignfull p {
width:63rem;
margin:auto;
max-width:98%;
padding-bottom: 0;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.invisible {
position : absolute;
top : -1000px;
width:1px;
height:1px;
overflow:hidden;
}


/*----------HTML-----------*/
details {
	margin-bottom:1em
}
/*headings*/
h1, h2, h3 {
color: #000;
font-weight : normal;
line-height: 1.5em;
text-align: left;
text-wrap: pretty;
}
h1 {
font-size : 2em;
line-height: 1.2em;
padding-bottom:1em;
padding-top:1em;
}
h2 {
font-size: 1.75em;
}
h3 {
clear : both;
font-size: 1.5em;
}
h4 {
color : #5c2882;
font-size: 1.25em;
font-weight : normal;
}
h5 {
font-weight : normal;
font-size: 1.1em;
color : #5c2882;
}
p {
text-wrap: pretty;
}
#content {
font-size: 1.1em;
line-height: 1.67em;
margin : auto;
max-width: 100%;
padding: 0;
width:60em;
}

#content ul, #content ol {
padding : 2em;
padding-top : 0em;
margin : 0;
}
#content ul li, #content ol li {
margin-top : .5em;
}


hr {
clear : both;
margin-top : 30px;
margin-bottom : 30px;
height : 5px;
border : none;
background-color: #4a2169;
}

/*footer*/
.site-footer {
background-color: #50514F;
color: #fff;
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
line-height: 2em;
padding : 1.5em;
padding-left : 0;
padding-right : 0;
}
.footercolumns {
align-items: flex-start;
display:flex;
flex-direction: row;
flex-wrap: wrap;
margin:auto;
width:63rem;
max-width:96%;
}
footer .column {
color:#fff;
min-height: 18em;
width: 25%;
}
.wp-block-column {
text-wrap: balance;
}
/*footer contact*/
.footercontact {
border-right:solid 2px #706F70;
}
address {
font-style: normal;
margin:0;
padding:0;
padding-bottom:30px;
}

/* footer navigation*/
.footerlinks{
border-right:solid 2px #706F70;
}
.balancecontact a:link, .balancecontact a:visited, .footerlinks a:link, .footerlinks a:visited {
border-radius:3px;
color: #ffffff;
text-decoration: none;
}
.balancecontact a:hover, .balancecontact a:focus, .footerlinks a:hover, .footerlinks a:focus {
background-color:transparent;
text-decoration: underline;
}
footer .socialmedia A:hover, footer .socialmedia A:focus {
background-color: #50514F;
}
.footerlinks ul {
    list-style-type: none;
    margin:0;
    margin:auto;
    padding:0;
    max-width:11em;
}

.footerlinks li {
margin-bottom: 1em;
list-style-type: none;
}

/*footer donate*/
.footerdonate{
display: flex;
flex-direction: column;
justify-content: flex-start;
padding:0;
padding-left:10px;
padding-top:25px;
text-align: right;
}
.footerdonate a:link, .footerdonate a:visited {
background-color: #fff;
border:solid 2px #fff;
border-radius:8px;
color:#50514F;
font-weight: bold;
padding:10px;
text-decoration: none;
width:6em;
}
.footerdonate a:hover, footer .footerdonate a:focus {
background-color: #50514F;
color: #fff;
}
.footerdonate img {
margin-top: 30px;
padding-top:0px;
width:300px;
}

/*this project ...*/
.enablinglegal {
flex-wrap: wrap;
margin:auto;
padding:2%;
width:96%;
}
/*full size*/
.enabling {
align-items: center;
border: none;
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
margin:auto;
margin-top:50px;
padding-bottom:10px;
text-wrap: balance;
/*max-width: 65rem;*/
}
.enabling img {
margin-left:50px;
max-width:100%;
padding-top:0px;
width: 170px;
}

.legal {
border-top:solid 2px #706F70;
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
line-height: 3em;
margin:auto;
padding-top:20px;
max-width: 60rem;
}


/*----------HOVER SHADOW---------------*/
.hvr-float-shadow {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
position: relative;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform;
transition-property: transform;
}
.hvr-float-shadow:before {
pointer-events: none;
position: absolute;
z-index: -1;
content: '';
top: 100%;
left: 5%;
height: 10px;
width: 90%;
opacity: 0;
background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
/* W3C */
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform, opacity;
transition-property: transform, opacity;
}
.hvr-float-shadow:hover, .hvr-float-shadow:focus-within, .hvr-float-shadow:active {
-webkit-transform: translateY(-5px);
transform: translateY(-5px);
outline : none;
/* move the element up by 5px */
}
.hvr-float-shadow:hover:before, .hvr-float-shadow:focus-within:before, .hvr-float-shadow:active:before {
opacity: 1;
-webkit-transform: translateY(5px);
transform: translateY(5px);
/* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}


/*-----------CLASSES----------------*/
.aligncenter {
text-align: center;
}
.borderright .wp-block-column {
	border-right:solid 3px #4a2169;
	padding-right:1em;
}
.borderright  .wp-block-column:last-child {
	border-right:none;
	padding-right:none;
	
}
.clearboth {
clear: both;
}
.columns2 {
columns: 2;
column-count: 2;
-webkit-columns: 2;
-moz-columns: 2;
-webkit-column-gap: 1em;
column-gap: 1em;
-moz-column-gap: 1em;
}

.floatleft {
float : left;
margin-right : 30px;
}
.floatright {
float : right;
}
.margintop15 {
margin-top : 15px;
}
.margin-bottom30 {
margin-bottom: 30px;
}
.smallh3{
	font-size:1.35em;
	margin:0;
}
.textwrap {
text-wrap:balance;
}
.width50 {
	padding-bottom: 30px;
	padding-right:3%;
	width:47%;
}
.width100 {
width : 100%;
}

/*pages*/
/*-----------------HOME---------------------*/
/*home page*/
.home h1 {
	font-size: 3em;
	margin-top:0; 
}
/* big red button links*/
.redlink {
	border:none;
	color:#fff;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	margin:auto;
		margin-bottom :2em;
		margin-top:2em;
	text-align:center;
	text-wrap:balance;	
}
.redlink a:link, .redlink a:visited {
	background-color:#9e1f14;
	border:solid 2px transparent;
	border-radius:5px;
color:#fff;
	display:block;
	font-weight:600;
		margin:1em;
	padding:10px;
	text-decoration:none;
	width: 20em;
	
	box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.55);
-webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.55);
-moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.55);
}
.redlink a:hover, .redlink a:focus {
background-color:#fff;
border:solid 2px #50514F !important;
color:#9e1f14;
}
/*videos*/
.entry-title {
	font-size:2.2em;
}
.page-id-183 h3 {
	margin-bottom:0
}
figure, .wp-block-embed {
	margin-bottom:0;
	padding-bottom:0;
}

.wp-block-columns {
	margin:0;
	padding:0;
}
.wp-block-columns .is-vertically-aligned-bottom {
align-items:flex-end;
margin:0;
padding:0;
}
/*zoom*/
.page-id-1054 .wp-block-image img {
background-color: transparent;
}

.horizontallist {
	margin:0;
	padding:0;	
}
.horizontallist li {
list-style-type:none;
	margin:0;
	margin-left:0;
	margin-right:3em
}
/*hides theme toggle to show mega menu */
.menu-toggle {
display:none;
}

.AAA img {
	height :44px;
	width:auto;
}
/*about*/
.funderlogos, .logotext {
	align-items:center;
	display:flex;
	flex-direction:row;
		flex-wrap:wrap;
	justify-content:space-between;
}
.funderlogos img {
	height:90px;
	width:auto;
}

/*-------------------MOBILE / SMALL DEVICES--------------------*/
@media only screen and (max-width: 1000px) {
html { 
font-size : 1.1em;
}
.flexrowspacebetween {
margin:auto;
width:98%;
}
.thingstodo {
align-items: flex-end;
display:flex;
flex-direction: column;
}
#searchdiv {
margin-bottom: 10px;
}
.changethelook {
float:right;
}
.footercolumns {
flex-direction: column;
flex-wrap: wrap;
width:50%;
}
address {
max-width:20em;
}
.socialmedia {
margin-bottom: 30px;
}
.footerlinks {
border-left:none;
border-right:none;
border-top:solid 2px #fff;
border-bottom:solid 2px #fff;
justify-content: flex-start;
min-height: auto;
width: 100%;
}
.footerlinks ul {
columns: 2;
column-count: 2;
-webkit-columns: 2;
-moz-columns: 2;
-webkit-column-gap: 30px;
column-gap: 30px;
-moz-column-gap: 30px;
margin-bottom:30px;
margin-top:30px;
width: 100%;
}


footer .column:last-child {
margin-bottom:0px;
margin-top:30px;
width:96%;
}
footer .column:last-child img {
margin-bottom: 0px;
width:400px;
max-width:96%;
}
.footerdonate {
flex-direction: column;
}
.legal {
flex-direction: column;
justify-content: flex-start;
margin:auto;
max-width:63rem;
padding-top:30px;
}


.enabling img {
max-width:100%;
}



.container, main {
width : 94%;
margin:auto;
max-width: 94%;
}

/* big red button links*/
.redlink a:link, .redlink a:visited {
margin:auto;
margin-bottom: 10px
}

/*headings*/
h1, .home h1 {
font-size:1.75em
}
h2  {
font-size:1.5em;
}
h3  {
font-size:1.25em;
}


.alignfull {
	padding: 20px;
	padding-bottom:35px;
}
.alignfull h1, .alignfull h2, .alignfull p {
width:98%;
max-width:98%;
}
.borderright .wp-block-column {
	border-right:none;
}


/*mobile footer*/
/*footer*/
footer {
background-color:  #50514F;
width:100%;
}
.site-footer {
flex-direction: column;
justify-content: space-between;
width:100%;
}
.footercolumns {
align-items: flex-start;
flex-direction: column;
flex-wrap: wrap;
margin:auto;
}
footer .column {
color:#fff;
margin:auto;
min-height: 1em;
width: 96%;
}

/*footer contact*/
.footercontact {
border:none;
flex-direction: column;
}

/* footer navigation*/
.footerlinks{
border-bottom:none;
border-right:none;
border-top:solid 2px #706F70;
max-width:100%;
padding-top:30px;
}
/**/
.footerlinks ul {
columns: 1;
column-count: 1;
-webkit-columns: 1;
-moz-columns: 1;
-webkit-column-gap: 0px;
column-gap: 0px;
-moz-column-gap: 0px;
margin-bottom:0px;
margin-top:0px;
width: 100%;
float:left
}

.footerlinks ul {
float:left;
width:63rem;
}
.footerlinks ul li a:link{
display: block;
min-width: 20em;
}

/*footer donate*/
.footerdonate{
border-top:solid 2px #706F70;
flex-direction: column;
width:96%;
text-align: left;
}

.footerdonate img {
margin-top: 50px;
}
.enabling {
border-top:solid 2px #706F70;
justify-content: flex-start;
padding-top:30px;
}
.enabling img {
margin-left: 0;
margin-bottom:20px;
margin-top:20px;
}
.legal {
border-top:solid 2px #706F70;
display:flex;
flex-direction: column;
}
.funderlogos, .logotext {
	align-items:center;
	display:flex;
	flex-direction:row;
		flex-wrap:wrap;
	justify-content:center;
}

}

/*-------------------very small MOBILE / SMALL DEVICES--------------------*/
@media only screen and (max-width: 800px) {

/*shadow box on Job Seekers and Employers*/
.shadowboxcontainer .wp-block-group__inner-container {
align-items: normal;
}
}