/*
Theme Name: 	Immigration Equality Theme
Theme URI: 		http://gitlab.com/partnerandpartners/website-theme
Description: 	The Partner and Partners theme for Immigration Equality
Version: 		1.0
Author: 		Zach Mihalko & Aellon Krider
Author URI: 	https://partnerandpartners.com
Tags: 			custom, clean
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Layout and Style
04 Media queries
===========================
*/

/* ----------------------------------------------------------------------------------------------------------
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
@import "css/reset.css";

:root {
  --purple: #4337A0;
	--light-purple: #A19BCF;
  --lightest-purple: #E3E1F1;
  --green: #2D9759;
  --medium-green: #96CBAC;
  --light-green: #DFEFE6;
  --teal: #80cabd;
  --light-teal: #bfe4de;
  --white: #fff;
  --black: #000;
  --red: #E64437;
  --medium-red: #F3A29B;
  --light-red: #FBE3E1;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1200px;
  --breakpoint-xl: 1440px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }


.navbar-light {
	background: var(--white) !important;
}

.bg-light {
	background: var(--white) !important;
}

.bg-lightest-purple {
	background: var(--lightest-purple) !important;
}

.main-content {
	min-height: 70vh;
}

::-moz-selection {
	background:#FCE193;
	color:#333;
}

::selection {
	background:#FCE193;
	color:#333;
}

/* ----------------------------------------------------------------------------------------------------------
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/



body.logged-in nav.navbar {
	padding-top: 40px;
}

body.logged-in .fixed-top {
  top: 32px !important;
}

nav.navbar {
	padding-top: 10px;
  padding-bottom: 10px;
  /* padding-left: 10px;
  padding-right: 10px; */
}

#footerSeal {
  max-width: 100px;
  max-height: 100px;
}

nav {
    font-family: 'ImEqReader-Bold';
}

/* remove background color on donate button in footer */
footer a[title=Donate] {
  border: 1px solid transparent;
  background-color: transparent;
}

/* style navbar collapsed MENU button */
.navbar-toggler {
  border: none;
  font-size: 1rem;
  color: var(--purple) !important;
}

/* header .navbar:hover {
  height: 310px;
  display: block;
} */



.hover-content {
  display: none;
}

.sticky-top {
	top: 83px !important;
}

header .navbar {
  margin: 0 auto;
}
/* Remove bootstrap bottom padding from navbar so there is no gap when hovering from main navbar to dropdown subpages */
.navbar {
  padding: .5rem 0 0 0 !important;
  border-bottom: 2px solid var(--purple);
}

/* navbar client stories image absolute so menu items stay in current position, margin so it doesn't overlap logo */
.navbar:hover .hover-content {
  display: flex;
  width: inherit;
  position: absolute;
}

.navbar-nav .nav-link {
  color: var(--purple) !important;
  padding-bottom: 1rem;
}

/* .navbar-nav .nav-link:hover {
  opacity: 1 !important;
  color: var(--light-purple) !important;
} */
/*
.navbar .current-menu-item a.nav-link {
	opacity: 1;
  color: rgba(0,0,0,1.0);
} */

/* .navbar-nav li.current-menu-ancestor a.nav-link {
  opacity: 1;
  color: var(--purple) !important;
} */

/* .hotlines.hover-content {
  right: 12.5rem;
} */

.imEqReader-Bold {
  font-family: 'ImEqReader-Bold';
}

/* text to overlay story image in header on hover */
#story-caption {
  font-family: 'Source Serif Pro';
  position: absolute;
  margin-top: 25%;
  font-weight: normal;
}

.wp-caption-text {
  font-family: 'Source Serif Pro';
}

.link-to-stories {
  position: absolute;
  margin-top: 43%;
  right: 0;
}

/* Remove bottom padding so there is no gap when hovering between navbar element and child pages dropdown */
.nav-link {
  padding: .25rem 1rem 1rem 1rem;
}

 .dropdown-menu {
  padding-top: 0;
}

/* Remove wordpress dropdown menu style default and remove margin so there is no gap between navbar and subpages on hover */
.dropdown-menu {
  border: none;
  background-color: transparent;
  margin: 0;
}

.dropdown-item {
  line-height: 2rem;
  padding: 0 .5rem !important ;
  color: var(--light-purple) !important;
  font-weight: bold !important;
}

.dropdown-item:hover {
  color: var(--purple) !important;
}

#menu-left-main-menu:hover > li a.nav-link:not(:hover) {
  color: var(--light-purple) !important;
}

#menu-left-main-menu:hover > li a.nav-link:hover {
  color: var(--purple) !important;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: transparent !important;
}

.dropdown-item.active, .dropdown-item:active {
  color: var(--purple) !important;
  background-color: var(--lightest-purple) !important;
}



/* Remove little triangle icon indicating dropdown menu */
.dropdown-toggle::after {
  border: none;
}

.navbar-nav > li:hover > .dropdown-menu {
  display: block;
  top: 44px;
  background: var(--white);
  border: 2px solid var(--purple);
  border-radius: 0;
  padding: 0.75rem;
}

.navbar-nav li > .dropdown-menu li:hover .dropdown-menu {
  left: 190px;
  top: 0;
  width: 200px !important;
  display: block;
}


/* set page height so footer will be positioned at the very bottom of the page */
/* html, body {
  height: 100%;
} */

body {
	position: relative;
  background: var(--white);
  font-family: 'ImEqReader-Regular', serif;
}

/* alert card active tab */
.alert-card .nav-link.active {
  background-color: var(--light-red);
  border: none;
  color: var(--red);
}

/* remove default bootstrap tab border style */
.alert-card .nav-tabs {
  border-bottom: none;
}

/* remove bootstrap nav link border style */
.alert-card .nav-link {
  padding: 0 .25rem;
  border: none;
  color: var(--medium-red);
}

/* align language option text with Important text  */
.alert-card .nav-item {
  margin-top: -3px;
}

.alert-card h6 {
  line-height: 1.5;
}

/* hidden spacer before sections for proper offset */
/* h3:before {
    height: 100px;
    content: "";
    display:block;
} */

h1,h2,h3,h4,h5 {
	font-family: 'Source Serif Pro';
}

ul h4 {
  font-family: 'ImEqReader-Bold';
  color: var(--purple);
}

/* h1 {
  font-size: 5rem;
}

h2 {
  font-size: 3.75rem;
}

h3 {
  font-size: 2.5rem;
}

h4 {
  font-size: 1.9rem;
} */


#search-section {
  position: relative;
  /* top: .5rem; */
  /* left: 0; */
  /* right: 0; */
  z-index: 1000;
  /* padding: 20px 0; */
  /* color: rgb(0, 42, 192); */
  background-repeat: repeat-x;
	/* width: 100%; */
}

#search-input {
  width: 100%;
  border: 2px solid var(--light-purple);
  box-sizing: border-box;
  border-radius: 30px;
  padding: .25rem 0 .25rem 2.5rem;
  color: var(--purple);
  background-color: var(--white);
  font-family: 'ImEqReader-Bold';
}

#search-input:hover {
  border: 2px solid var(--purple);
}

#search-input:focus {
  border: 2px solid var(--purple);
  outline: none;
}

body.autocomplete-overlay #autocomplete {
  display: none;
}

/* #search-section.active {
  z-index: 1000;
  position: relative;
  color: rgb(0, 42, 192); */
/*   background-image: -webkit-linear-gradient(to bottom, rgba(0, 42, 192, 0.75) 0%, rgba(0, 42, 192, 0.75) 80%); */
  /* background-image: -webkit-linear-gradient(top, rgba(0, 42, 192, 0.75) 0, rgba(0, 42, 192, 0.75) 80%); */
/*   background-repeat: repeat-x; */
  /* background: transparent;
  width: 100%;
} */

/* #search-section:hover {
  position: absolute;
  width: 35%;
  margin-top: 2.8rem;
  top: .5rem;
} */

.search-section .container {
  margin-right: 0;
  float: right;
  margin-left: 0;
}

#autocomplete-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  /* transition: opacity 1000ms; */
}

#autocomplete-overlay.visible {
  opacity: 1;
  visibility: visible;
}

#autocomplete {
  background: #fff;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 0px;
  padding: 0 1%;
  /* transition: opacity 1000ms; */
}

body.autocomplete-active #autocomplete {
  /* transition: background 1000ms; */
  /* background: rgba(0,0,255, .8); */
  visibility: visible;
  opacity: 1;
}

.search-form {
  position: relative;
}

.source-serif {
  font-family: 'Source Serif Pro';
}

.letter-spacing {
  letter-spacing: 3px;
}

/* ----------------------------------------------------------------------------------------------------------
03 Layout and Style  ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
html {
  margin: 0 auto;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
  text-decoration: underline;
}

.main-content p > a {
  color: var(--purple);
  text-decoration: underline;
}


.give-block p > a, .give-second-row p > a {
  color: inherit;
  text-decoration: none;
}

.hotlines {
  font-size: .75rem;
  color: var(--purple);
  /* margin-top: -4rem; */
  position: absolute;
  /* z-index: 1000;
  right: 1rem; */
}



.border {
  border: 2px solid var(--light-purple) !important;
}

.border-right {
  border-right: 2px solid var(--light-purple) !important;
}

.hotline-btn:hover {
  color: var(--purple);
  background-color: var(--lightest-purple);
}

.border-light-purple {
  border: 2px solid var(--light-purple) !important;
}

.has-immigration-indigo-color, .dark-purple  {
  color: var(--purple);
}

.has-immigration-indigo-background-color, .bg-dark-purple {
  background: var(--purple);
}

.border-right-light-purple {
  border-right: 2px solid var(--light-purple);
}

.has-50-percent-indigo-color, .light-purple{
  color: var(--light-purple);
}

.has-50-percent-indigo-background-color {
  background: var(--light-purple);
}

.has-15-percent-indigo-color, .extra-light-purple {
  color: var(--lightest-purple);
}

.has-15-percent-indigo-background-color, .bg-extra-light-purple  {
  background: var(--lightest-purple);
}

.has-emerald-color, .text-dark-green {
  color: var(--green);
}

.has-emerald-background-color, .bg-dark-green {
  background :var(--green);
}

.has-50-percent-emerald-color {
  color: var(--medium-green);
}

.has-50-percent-emerald-background-color {
  background: var(--medium-green);
}

.has-15-percent-emerald-color {
  color: var(--light-green);
}

.has-15-percent-emerald-background-color, .bg-light-green {
  background: var(--light-green);
}

.border-right-light-green {
  border-right: 2px solid var(--light-green);
}

.border-right-light-green {
  border-right: 2px solid var(--light-green);
}

.has-blue-color, .text-teal {
  color: var(--teal);
}

.has-blue-background-color, .bg-teal {
  background: var(--light-teal);
}

.border-right-light-teal {
  border-right: 2px solid var(--light-teal);
}

.has-50-percent-blue-color {
  color: #BFE4DE;
}

.has-50-percent-blue-background-color {
  background: #BFE4DE;
}

.has-15-percent-blue-color {
  color: #ECF7F5;
}

.has-15-percent-blue-background-color {
  background: #ECF7F5;
}

.has-red-color, .text-dark-red {
  color: var(--red) !important;
}

.has-red-background-color, .bg-dark-red {
  background: #E64437;
}

.has-50-percent-red-background-color {
  background: var(--medium-red);
}

.has-50-percent-red-color, .text-med-red {
  color: var(--medium-red);
}

.has-15-percent-red-background-color, .bg-light-red {
  background: var(--light-red);
}

.border-light-red {
  border: 2px solid var(--light-red);
}

.border-right-light-red {
 border-right: 2px solid var(--light-red);
}

.has-15-percent-red-color {
  color: var(--light-red);
}

.has-pink-background-color, .dark-pink {
  background: #FFA6B3;
}

.has-pink-color {
  color: #FFA6B3;
}

.has-50-percent-pink-background-color {
  background: #FFD3D9;
}

.has-15-percent-pink-color {
  color: #FFD3D9;
}

.has-15-percent-pink-background-color {
  background: #FFF2F4;
}

.has-50-percent-pink-color {
  color: #FFF2F4;
}

.has-orange-background-color, .bg-dark-orange {
  background: #F1683A;
}

.has-orange-color {
  color: #F1683A;
}

.has-50-percent-orange-background-color {
  background: #F9B59E;
}

.has-50-percent-orange-color {
  color: #F9B59E;
}

.has-15-percent-orange-background-color {
  background: #FDE9E2;
}

.has-15-percent-orange-color {
  color: #FDE9E2;
}

.has-gold-background-color, .bg-gold {
  background: #FAC328;
}

.has-gold-color {
  color: #FAC328;
}

.has-50-percent-gold-background-color {
  background: #FCE193;
}

.has-50-percent-gold-color {
  color: #FCE193;
}

.has-15-percent-gold-background-color {
  background: #FEF6DF;
}

.has-15-percent-gold-color {
  color: #FEF6DF;
}

.has-white-color, .text-white {
  color: #fff;
}

.has-white-background-color {
  background: #fff;
}

.has-black-background-color {
  background: #000000;
}

.has-black-color {
  color: #000000;
}

.has-dark-gray-background-color {
  background: #4D4D4D;
}

.has-dark-gray-color {
  color: #4D4D4D;
}

.has-gray-background-color {
  background:  #B3B3B3;
}

.has-gray-color {
  color:  #B3B3B3;
}

.has-light-gray-background-color {
  background:  #D9D9D9;
}

.has-light-gray-color {
  color:  #D9D9D9;
}

.has-extra-light-gray-background-color {
  background: #E6E6E6;
}

.has-extra-light-gray-color {
  color: #E6E6E6;
}

.button {
  box-sizing: border-box;
  border-radius: 31px;
  border: none;
  padding: .5rem 1rem .5rem 1rem;
  color: #fff;
  max-width: 290px;
  font-family: 'ImEqReader-Bold', serif;
}

.wp-block-button {
  font-family: 'ImEqReader-Bold', serif;
}

.button:hover {
  color: #fff;
}

.wp-block-tag-cloud {
  line-height: 2.75rem;
}

.wp-block-tag-cloud a, .wp-block-categories a, .tag-page-tags {
  width: 35%;
  box-sizing: border-box;
  border-radius: 31px;
  padding: 1% 3%;
  color: #fff;
  min-width: 100px;
  max-width: 140px;
  background: var(--teal);
  font-size: 1.5rem !important;
  font-weight: bold;
  white-space: nowrap;
  margin: .2rem;
}
.wp-block-categories {
  padding-inline-start: 0;
}

.alert-content p{
  margin-bottom: 0;
}

#alertTab {
  justify-content: flex-end;
}

/* vertically align language dividers with language option li text */
.alert-card .divider {
  margin-top: -3px;
}

.asylum-container {
  background: var(--lightest-purple);
  padding: .75rem;
  display: inline-flex;
  justify-content: space-between;
}

.asylum-container p {
  color: var(--purple);
  font-size: .75rem;
  justify-content: center;
  flex-direction: column;
  display: flex;
}

.asylum-page .col-md-6 ol li:before {
    content: '';
    display: block;
    height:      70px;
    margin-top: -70px;
    visibility: hidden;
}

.event-container {
  border: 2px solid var(--red);
}

.event-container img {
  width: 100%;
  height: auto;
}

/* vertically center date and title of event on events overview page */
.event-content {
  display: flex;
  align-items: center;
}

.event-container .button {
  padding: .5rem 1rem;
  display: inline-block;
}

.border-right-red {
  border-right: 2px solid var(--red);
}

.border-bottom-red {
  border-bottom: 2px solid var(--red);
}

/* add margin to header so that it doesn't overlap page content */
header {
  margin-bottom: 1rem;
}


.main-logo-link {
  width: 25%;
}

.main-logo-link .logo{
  width: 100%;
  max-width: 500px;
}

/* center the story images in the navbar hover state */
#ul-hover-story {
  width: 300px;
  margin: 0 auto;
}

.navbar-story img {
  width: 300px;
  /* height: 185px !important; moved to inline style to override WP settings
  object-fit: cover !important; moved to inline style to override WP settings */
  object-position: 100% 15%; /* default value: image is centered*/
}

.img-gradient-nav{
  position:relative;
  display:inline-block;
  width: 300px;
  margin: 0 auto;
}

.img-gradient-nav:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:inline-block;
}

.legal.img-gradient-nav:after {
  background: linear-gradient(rgba(128,202,189, 0.8), rgba(128,202,189, 0.8));
}

.get-involved.img-gradient-nav:after {
  background: linear-gradient(rgba(255,166,179, 0.8),rgba(255,166,179, 0.8))
}

.about-us.img-gradient-nav:after {
  background: linear-gradient(rgba(150,203,172, 0.8) ,rgba(150,203,172, 0.8) );
}
/* remove bullets in side navbar */
li.page_item {
  list-style-type: none;
}

/* indent child pages in side navbar */
.side-menu > li {
  padding-inline-start: 40px;
}

/* remove whitespace in between Who We Are subpages and Join Our Team in side navbar */
ul.children {
  margin-bottom: 0;
}

.main-content li{
  display: list-item;
}

/* display list items with no bullet */
li, ul.nav li {
  margin-bottom: 0;
  display: block;
}

/* display ordered list numbers for footnotes */
ol li {
  display: list-item;
}

/****** Legal Help Sidebar Menu Style ******/
#menu-legal-sidebar-menu {
  max-width: 18rem;
  width: 100%;
  z-index: 10;
  padding-right: .5rem;
}

#menu-legal-sidebar-menu li {
  font-size: .88rem;
  padding: 0.25rem 0;
  width: 100%;
}

/* hide top level item of sidebar nav */
#menu-legal-sidebar-menu > li > a {
  display: none;
}

#menu-legal-sidebar-menu > li > ul {
  padding-inline-start: 0;
}

#menu-legal-sidebar-menu:first-child {
  color: var(--purple);
}

/* make subnavs of sidebar nav lighter color */
#menu-legal-sidebar-menu > li > ul > li > ul {
  color: var(--light-purple);
}

#menu-legal-sidebar-menu ul.sub-menu > li {
  color: var(--light-purple);
}

/* Make Current Menu Item Bold in Legal Sidebar Menu */
#menu-legal-sidebar-menu li.current-menu-item > a,
#menu-legal-sidebar-menu ul li.current-menu-parent > a,
#menu-legal-sidebar-menu .current-menu-ancestor > a,
#menu-legal-sidebar-menu ul li.current-menu-item > a,
#menu-legal-sidebar-menu ul li.current_page_item > a {
  color: var(--purple);
  font-family: 'ImEqReader-Bold';
}

/* Make top level tree Item bold in Sidebar Menu */
#menu-legal-sidebar-menu > li > ul.sub-menu > li > a {
  font-family: 'ImEqReader-Bold';
}
/****** End Legal Help Sidebar Menu Style ******/

/****** Get Involved Sidebar Menu Style ******/
#menu-get-involved {
  max-width: 18rem;
  width: 100%;
  z-index: 10;
  padding-right: .5rem;
}

#menu-get-involved li {
  font-size: .88rem;
  padding: 0.25rem 0;
  width: 100%;
}

#menu-get-involved > li > a {
  display: none;
}

#menu-get-involved > li > ul {
  padding-inline-start: 0;
}

#menu-get-involved:first-child {
  color: #e64437;
}

/* make subnavs of sidebar nav lighter color */
#menu-get-involved > li > ul > li > ul {
  color: var(--medium-red);
}

#menu-get-involved ul.sub-menu > li {
  color: var(--medium-red);
}

/* Make Current Menu Item Bold in Legal Sidebar Menu */
#menu-get-involved li.current-menu-item > a,
#menu-get-involved ul li.current-menu-parent > a,
#menu-get-involved .current-menu-ancestor > a,
#menu-get-involved ul li.current-menu-item > a,
#menu-get-involved ul li.current_page_item > a {
  color: #E64437;
  font-family: 'ImEqReader-Bold';
}

/* Make top level tree Item bold in Sidebar Menu */
#menu-get-involved > li > ul.sub-menu > li > a {
  font-family: 'ImEqReader-Bold';
}
/****** End Get Involved Sidebar Menu Style ******/


/****** About Us Sidebar Menu Style ******/
#menu-about-us {
  max-width: 18rem;
  width: 100%;
  z-index: 10;
  padding-right: .5rem;
}

#menu-about-us li {
  font-size: .88rem;
  padding: 0.25rem 0;
  width: 100%;
}

#menu-about-us > li > a {
  display: none;
}

#menu-about-us > li > ul {
  padding-inline-start: 0;
}

#menu-about-us:first-child {
  color: var(--green);
}

/* make subnavs of sidebar nav lighter color */
#menu-about-us > li > ul > li > ul {
  color: var(--medium-green);
}


/* Make Current Menu Item Bold in Legal Sidebar Menu */
#menu-about-us li.current-menu-item > a,
#menu-about-us ul li.current-menu-parent > a,
#menu-about-us .current-menu-ancestor > a,
#menu-about-us ul li.current-menu-item > a,
#menu-about-us ul li.current_page_item > a {
  color: var(--green);
  font-family: 'ImEqReader-Bold';
}

/* Make top level tree Item bold in Sidebar Menu */
#menu-about-us > li > ul.sub-menu > li > a {
  font-family: 'ImEqReader-Bold';
}
/****** End About Us Sidebar Menu Style ******/

/****** Left Main Menu Style ******/

li.dropdown-toggle a:hover,
li.dropdown-toggle a:focus {
  color: var(--light-purple) !important;
}

body.not-home #menu-left-main-menu li.menu-item a {
  color: var(--light-purple) !important;
}

body.not-home #menu-left-main-menu li.menu-item ul.dropdown-menu li a {
  color: var(--light-purple) !important;
}

body.not-home #menu-left-main-menu li.menu-item ul.dropdown-menu li.current-menu-item a {
  color: var(--purple) !important;
}

body.not-home #menu-left-main-menu li.menu-item ul.dropdown-menu li a:hover,
body.not-home #menu-left-main-menu li.menu-item ul.dropdown-menu li a:focus {
  color: var(--purple) !important;
  background-color: transparent;
}

ul.dropdown-menu li a:hover,
ul.dropdown-menu li a:focus {
  color: var(--purple) !important;
  background-color: none;
}

/* Make Current Menu Item Bold in Legal Sidebar Menu */
body.not-home #menu-left-main-menu li.current-menu-ancestor a,
body.not-home #menu-left-main-menu li.current-menu-item a,
body.not-home #menu-left-main-menu li.current-legal-ancestor a,
body.not-home #menu-left-main-menu li.active a {
  color: var(--purple) !important;
}

/****** Client Stories Sidebar Menu Style ******/
#menu-client-stories-sidebar-menu {
  max-width: 18rem;
  width: 100%;
  z-index: 10;
  padding-right: .5rem;
}

#menu-client-stories-sidebar-menu li {
  font-size: .88rem;
  padding: 0.25rem 0;
  width: 100%;
}

#menu-client-stories-sidebar-menu > li > a {
  display: none;
}

#menu-client-stories-sidebar-menu > li > ul {
  padding-inline-start: 0;
}

#menu-client-stories-sidebar-menu:first-child {
  color: var(--purple);
}

/* make subnavs of sidebar nav lighter color */
#menu-client-stories-sidebar-menu > li > ul > li > ul {
  color: var(--light-purple);
}

/* Make Current Menu Item Bold in Legal Sidebar Menu */
#menu-client-stories-sidebar-menu li.current-menu-item > a,
#menu-client-stories-sidebar-menu ul li.current-menu-parent > a,
#menu-client-stories-sidebar-menu .current-menu-ancestor > a,
#menu-client-stories-sidebar-menu ul li.current-menu-item > a,
#menu-client-stories-sidebar-menu ul li.current_page_item > a {
  color: var(--purple);
  font-family: 'ImEqReader-Bold';
}

/* Make top level tree Item bold in Sidebar Menu */
#menu-client-stories-sidebar-menu > li > ul.sub-menu > li > a {
  font-family: 'ImEqReader-Bold';
}
/****** End Client Stories Sidebar Menu Style ******/



/****** Asylum Manual Sidebar Menu Style ******/
#menu-asylum-manual-menu {
  max-width: 18rem;
  width: 100%;
  z-index: 10;
  padding-right: .5rem;
}

#menu-asylum-manual-menu li {
  font-size: .88rem;
  padding: 0.25rem 0;
  width: 100%;
}

/* hide top level item of sidebar nav */
#menu-asylum-manual-menu > li > a {
  display: none;
}

#menu-asylum-manual-menu > li > ul {
  padding-inline-start: 0;
}

#menu-asylum-manual-menu:first-child {
  color: var(--purple);
}

/* make subnavs of sidebar nav lighter color */
#menu-asylum-manual-menu > li > ul > li > ul {
  color: var(--light-purple);
}

/* make subnavs of sidebar nav lighter color */
#menu-asylum-manual-menu ul.sub-menu > li {
  color: var(--light-purple);
}

/* Make Current Menu Item Bold in Legal Sidebar Menu */
#menu-asylum-manual-menu li.current-menu-item > a,
#menu-asylum-manual-menu ul li.current-menu-parent > a,
#menu-asylum-manual-menu .current-menu-ancestor > a,
#menu-asylum-manual-menu ul li.current-menu-item > a,
#menu-asylum-manual-menu ul li.current_page_item > a {
  color: var(--purple);
  font-family: 'ImEqReader-Bold';
}

/* Make top level tree Item bold in Sidebar Menu */
#menu-asylum-manual-menu > li > ul.sub-menu > li > a {
  font-family: 'ImEqReader-Bold';
}
/****** End Asylum Manual Sidebar Menu Style ******/

.manual-header-link:hover {
  color: var(--teal);
}
/* make search bar overlap navbar */
/* .search-section {
  position: absolute !important;
} */

/* #search-box-wrapper-mobile {
  display: none;
} */

/* make search bar full width when search icon is clicked */
/* .search-section div {
  width: 100%;
} */

/* add search icon as button to search */
.search-button::before  {
  content: url('/wp-content/themes/immigration-equality/icons/search.svg');
}

/* make search submit button overlap the navbar search icon */
.search-button {
  position: absolute;
  border: none;
  border-radius: 31px;
  left: 1rem;
  top: .5rem;
  padding: 0;
  /* height: 1rem; */
  background: #fff;
}

/* .searchbox {
  border: 1px solid var(--light-purple);
  border-radius: 22px;
  padding: .25rem .5rem;
}

.searchbox input {
  border: none;
}

.searchbox label {
  margin-bottom: 0;
} */

/* Set the footer at the bottom of the page */
/* footer {
  bottom: 0;
} */

#footerLogo {
  width: 80%;
}

footer nav.navbar {
  padding-top: 0 !important;
}

/* Hide subpages from sidebar menu */
.sub-menu li .sub-menu  {
  display: none;
}

/* Show subpages (2 levels) on sidebar menu */
.current-menu-item > ul.sub-menu {
  display: block;
}

/* Show sub-subpages (3 levels) on sidebar menu */
.current-menu-ancestor > ul.sub-menu {
  display: block;
}

/* .staff-side-menu .sub-menu li .sub-menu  {
  display: block;
} */

/* Display tags in search box on their own lines instead of all on one continuous line */
.results-box a {
  display: block;
}

/* Remove browser padding-left on navbar */
.navbar ul {
  padding-inline-start: 0px;
  margin-bottom: 0;
}

/* Add padding to top of navbar list items so they are more vertically aligned with IE logo */
/* .navbar li.menu-item-has-children {
  padding-top: 1rem;
} */

/* Hide logo that will be shown on smaller screens only when navbar is collapsed  */
.mobile-logo {
  display: none;
}

/* add margin-top to the divider between the navbar and the page content because otherwise it sits above the navbar */
/* .navbardivider {
  border-top: 10px solid var(--purple);
  margin-top: 5rem;
} */

.menu-item {
  padding: 0 1rem 0 0;
}

input {
  font-family: 'ImEqReader-Bold';
  color: var(--purple);
}

input::placeholder {
  color: var(--lightest-purple);
  font-weight: bold;
}

input[type="email"] {
  width: 100%;
  border: 2px solid var(--light-purple);
  box-sizing: border-box;
  border-radius: 31px;
  padding: .25rem 1rem;
  min-width: 140px;
  margin-bottom: .5rem;
}

input[type="email"]:hover {
  border: 2px solid var(--purple);
}

input[type="email"]:focus {
  border: 2px solid var(--purple);
  outline: 1px solid transparent;
}

#nav-mailing-list input[type="submit"], #mailingList input[type="submit"] {
    width: 35%;
    box-sizing: border-box;
    border-radius: 31px;
    padding: 1% 3%;
    min-width: 100px;
    max-width: 140px;
    background: var(--purple);
    border:none;
    color: var(--white);
    font-family: 'ImEqReader-Bold', serif;
}

.cta input::placeholder  {
  color: var(--teal);
}

.cta input[type="email"] {
  border: 1px solid var(--teal);
}

.border-dark-purple {
  border-color: var(--purple);
}

.dark-purple {
  color: var(--purple);
}

a.dark-purple:hover {
  color: var(--purple);
}

.light-purple {
  color: var(--light-purple);
}

.social-icon {
  margin: .2rem;
}

.small {
  font-size: .75rem;
}

.small-14 {
  font-size: .88rem;
}

/* reduce the space between lines in the Contact Us section of the footer */
#contactUs {
  line-height: .85;
}

/* bold the footer nav menu */
footer.nav-link {
  font-weight: bold;
}

a[title="Donate"] {
  width: 100%;
  border: 1px solid #BFE4DE;
  background-color: #BFE4DE;
  box-sizing: border-box;
  border-radius: 31px;
  padding-bottom: .25rem;
}

a.tag {
  width: 100%;
  box-sizing: border-box;
  border-radius: 31px;
}

#home iframe {
  width: 100%;
}

/*
#home .cta {
  height: 45vh;
} */

#home .wp-block-image {
  margin-bottom: 0;
}

#home .wp-block-column > .order-md-2, .cta {
  height: 100%;
}

.cta .button {
  max-width: 100% !important;
  width: auto;
}

.centered-button .cta a {
  display: flex;
    justify-content: center;
    width: max-content;
    margin: 0 auto;
}

/* show bullets for content but still hide in menus, like on About Us page */
.pagephp li {
  display: list-item;
}

.staff-card {
  border: 2px solid var(--green);
}

.staff-card img {
  height: auto;
  width: 100%;
}

.give-block {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 10rem;
  font-family:'Source Serif Pro';
  font-size: 1.5rem;
  line-height: 1.25;
}

.give-block p {
  margin-bottom: 0;
}

.give-block strong {
  padding-top: 1rem;
  font-size: 1rem;
  font-family: 'ImEqReader-Regular', serif !important;
}

/* header numbers and mailing list signup to align right */
.hover-info {
  right: 0;
}

/* remove margin bottom in between rows of columns like in Give page */
.wp-block-columns {
  margin-bottom: 0;
  flex-wrap: initial;
}

#mobile-footerSeal {
  display: none;
}

/* Youtube video embed branding and default buttons removal  */
.ytp-chrome-top-buttons {
  display: none !important;
}

.client-stories h6 {
  font-family: 'ImEqReader-Bold';
}

.client-stories-single-image img {
  width: 75%;
  height: auto;
}

.client-stories .gradient-image {
  /* background: linear-gradient(#4337A0, #4337A0); */
  /* background-position: center;
  height: 250px;
  width: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto; */
}

/* make footnotes appear to the right of the content in asylum manual and style them */
.popover {
  left: auto !important;
  right: 0;
  border: none !important;
  background: #ECF7F5 !important;
  font-family: 'ImEqReader-Regular', serif !important;
}
.popover-body {
  color: var(--purple) !important;
  font-size: .88rem;
}

hr {
  margin-top: 3rem;
  margin-bottom: 3rem;
  border: 0;
  border-top: 2px solid var(--light-purple) !important;
}

.border-top {
  border-top: 2px solid var(--purple) !important;
}

/* hide bootstrap popover arrow in footnotes */
div.arrow {
  display: none !important;
}

.mobile-numbers {
  display: none;
}

.mobile-breadcrumb {
  display: none;
}

/**** stories overview page image gradients *****/
.img-gradient{
  position:relative;
  display:inline-block;
  height: 250px;
  width: 200px;
  margin: 0 auto;
}

.img-gradient:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:inline-block;
}

.stories-row > div:first-child .img-gradient:after {
  background: linear-gradient(rgba(67, 55, 160, 0.5), rgba(67, 55, 160, 0.5));
}

.stories-row > div:nth-child(2) .img-gradient:after {
  background: linear-gradient(rgba(45,151,89, 0.5), rgba(45,151,89, 0.5));
}

.stories-row > div:nth-child(3) .img-gradient:after {
  background: linear-gradient(rgba(128,202,189, 0.5), rgba(128,202,189, 0.5));
}

.stories-row > div:nth-child(4) .img-gradient:after {
  background: linear-gradient(rgba(230,68,55, 0.5), rgba(230,68,55, 0.5));
}

.stories-row > div:nth-child(5) .img-gradient:after {
  background: linear-gradient(rgba(255,166,179, 0.5), rgba(255,166,179, 0.5));
}

.stories-row > div:nth-child(6) .img-gradient:after {
  background: linear-gradient(rgba(241,104,58, 0.5), rgba(241,104,58, 0.5));
}

.stories-row > div:nth-child(7) .img-gradient:after {
  background: linear-gradient(rgba(250,195,40, 0.5), rgba(250,195,40, 0.5));
}

.stories-row > div:nth-child(8) .img-gradient:after {
  background: linear-gradient(rgba(67, 55, 160, 0.5), rgba(67, 55, 160, 0.5));
}

.img-gradient img {
  display:block;
  height: 250px;
  width: 200px;
  object-fit: cover;
}
/**** end stories overview page image gradients *****/

.give-second-row {
  margin-top: -1rem;
}

.container-fluid {
	max-width: 1440px;
	margin: 0px auto;
}

.search-box-wrapper > .active {
  position: absolute !important;
  width: 100%;
  left: 0;
  top: 16px;
}

.search-section > .container-fluid {
  padding-left: 0px;
  padding-right: 0px;
}

.search-section.active > .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

body.logged-in .search-box-wrapper > .active {
top: 45px;
}

.search-section .sm-bottom {
  width: 100%;
}

.autocomplete-section .small-header, .count {
  color: var(--light-purple);
}

#autocomplete {
	margin-top: 8px;;
  border: 2px solid var(--purple);
  padding: 1rem;
}

/* style forms like on the volunteer page */
iframe {
  border: none;
}

iframe label {
  font-family: 'ImEqReader-Regular', serif !important;
}

.crop-height {
  max-height: 320px;
  overflow: hidden;
}

/* remove the gap between nav main item and its dropdown item */
#menu-right-main-menu, #menu-left-main-menu {
  padding-top: .5rem;
}

/* Limit the height on images esp for get involved and about us landing pages */
.wp-block-image img {
  max-height: 500px;
  height: auto;
}

/* Set hero image to full width on get involved and about us landing pages */
.get-involved .wp-block-image img, .about-us .wp-block-image img {
  width: 100%;
}

/* make images full width esp for get involved and about us landing pages */
figure {
  width: 100%;
}

/* override bootstrap button styling in firefox and safari */
[type=button], [type=reset], [type=submit], button {
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
}

figcaption {
  font-family: "Source Serif Pro";
  font-size: .88rem;
  color: var(--purple);
}

/* set mailing list signup button bg color */
input[type="submit" i] {
  background-color: var(--purple);
}

.main-content {
  padding-top: 2rem;
}

#mobile-nav-menu {
  display: none;
}

/* make links on Financial Reports pages purple */
.parent-pageid-127 .content a {
  color: var(--purple);
}

.parent-pageid-127 .content a:hover {
  font-weight: bold;
}

.mobile-donate-button {
  display: none;
}

/* make take action form full width */
.take-action iframe {
  width: 100% !important;
}

.give-block a {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  padding-right: .5rem;
  padding-left: .5rem;
}

.headerContainer .mcnTextContent, .headerContainer .mcnTextContent p {
  color: var(--purple) !important;
}

#popUpModal button {
  position: absolute;
  text-align: right;
  width: 95%;
  margin-right: 1rem;
}

#popUpModal .modal-content {
  border-radius: 0;
  border: none;
}

#popUpModal .modal-header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border: none;
}

.print-button {
  white-space: nowrap;
}



/* ----------------------------------------------------------------------------------------------------------
04 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:991px) {

  html {
    overflow-x: hidden;
  }

  h1 {
    font-size: 2.25rem;
  }

  header {
    margin-bottom: 1rem;
  }

  #mobile-nav-menu {
    display: block !important;
  }

  #desktop-nav-menu {
    display: none !important;
  }

  body.logged-in .fixed-top {
    top: 32px !important;
  }

  /* Show logo when navbar is collapsed */
  .mobile-logo {
    display: inline-flex;
    padding-left: .75rem;
  }

  .mobile-logo img {
    height: 1.4rem !important;
  }

  .mobile-numbers {
    display: flex;
    justify-content: space-between;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    margin: 1.5rem .5rem 1.5rem;
  }

  .mobile-numbers a {
    border-radius: 31px;
    width: 49%;
  }

  .mobile-breadcrumb {
    display: block;
  }

  .right-menu .menu-item {
    padding: 0 !important;
  }

  /* position searchbox at the top of menu items */
  .search-box-wrapper {
    z-index: 100;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    width: 95% !important;
    padding: 1.1rem 0 1.1rem!important;
    /* margin-top: 1rem; */
  }

  /* so searchbox does not jump on mobile */
  .collapsing {
    position: unset;
  }

  .search-button {
    height: 1.7rem;
    border-radius: 0;
    top: .4rem;
  }

  .search-section .container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .search-section .row {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .search-section .col-12 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .search-section {
    width: 80%;
  }

  #search-box-wrapper {
    display: block;
    border-bottom: 1px solid var(--light-purple);
  }

  #menu-right-main-menu li.search-box-wrapper {
    /* border-bottom: none; */
  }

  /* #search-box-wrapper-main {
    display: none;
  } */

  #search-box-wrapper .container {
    margin: 0 auto;
    float: none;
  }

  /* make space for search */
  .navbar-collapse {
    margin-top: 5.7rem;
  }

  /* make mobile search bar centered and not extending the full width of the device */
  .input-group {
    width: 90%;
    margin: 0 auto;
  }

  /* make room for mobile searchbox at the top of dropdown menu */
  .menu-left-main-menu-container {
    /* margin-top: 2rem; */
    /* border-top: 1px solid var(--light-purple); */
    position: relative;
  }

  /* add a border underneath searchbox on mobile */
  .menu-left-main-menu {
    border-top: 1px solid var(--light-purple);
  }

  #menu-left-main-menu {
    padding-top: 4.5rem;
  }

  #mobile-nav-menu > #menu-left-main-menu >li:first-child {
    border-top: 1px solid var(--light-purple);
  }
  /* Display each menu item on own line in dropdown menu on small screens */
  #menu-left-main-menu, #menu-right-main-menu {
    display: block !important;
  }

  /* Add border bottom as separators for menu items in dropdown menu on small screens */
  #menu-left-main-menu > li {
    border-bottom: 1px solid var(--light-purple);
  }

  #menu-left-main-menu > li > a {
    color: var(--purple);
  }

  #menu-left-main-menu > li > .sub-menu {
    padding-inline-start: 1rem;
    color: var(--purple);
  }

  ul#menu-right-main-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
  }

 #menu-left-main-menu li {
    padding-top: .5rem !important;
    padding-bottom: .3rem !important;
    padding-left: .75rem;
  }

  #menu-right-main-menu li a {
    /* padding-top: .5rem !important;
    padding-bottom: .5rem !important; */
    margin-top: .5rem;
    margin-bottom: .5rem;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: .5rem;
  }

  #menu-left-main-menu .dropdown-menu li  {
    border-bottom: none !important;
  }

  #menu-left-main-menu .dropdown-menu li a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }


  ul#menu-right-main-menu li {
    width: 50%;
    text-align: center;
  }

  #menu-item-188 {
    order: 2;
  }


  /* hide navbar logo in dropdown menu on small screens */
  .main-logo-link > a img {
    display: none!important;
  }

  /* so that navbar client story can be centered on small screens */
  .main-logo-link {
    width: 100%;
    text-align: center;
  }

  #searchButton {
    width: 100%;
    text-align: left;
  }

  header .navbar:hover {
    height: inherit !important;
    display: inline-flex !important;
  }

  /* fix bug of mobile menu extending longer at first before adjusting height */
  /* add margin to make room for search bar on mobile */
  #navbarResponsive {
    max-height: 100%;
    overflow: hidden scroll;
    bottom: 0px;
    top: 0px;
    position: fixed;
    background: white;
    width: 100%;
    margin-top: 2.75rem;
  }

  .navbar-story img {
    width: 300px;
  }

  #ul-hover-story {
    padding-top: 5rem;
  }
  /* negative margin on story caption so it overlays image */
  #story-caption {
    margin-top: -70px;
    padding-left: 10px;
    text-align: left;
    position: relative;
  }

  .link-to-stories {
    margin-top: -40px;
    text-align: right;
    position: relative;
  }

  .navbar {
    padding: .5rem 1rem 0 1rem;
  }

  .navbar:hover .hover-content {
    display: none !important;
  }

  /* display stories in menu on small screens on hover */
  /* .navbar:hover .hover-legal-help-story > .hover-content,  .navbar:hover .hover-about-us-story > .hover-content, .navbar:hover .hover-get-involved-story > .hover-content {
    display: block !important;
  } */

  #menu-footer-menu  {
    padding-left: 1.5rem;
  }
  /* extend width to knock social icons to next line */
  #footerSignup {
    width: 100%;
  }

  #mailingList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  #mailingList h4 {
    /* order: 4; */
    width: 100%;
  }

  #mailingList form {
    /* order: 5; */
    width: 100%;
  }

  #footerSeal {
    display: none;
  }

  #mobile-footerSeal {
    display: block;
  }

  /* hide left sidebar menus on small screens */
  #menu-legal-sidebar-menu, #menu-get-involved, #menu-about-us, #menu-client-stories-sidebar-menu {
    display: none;
  }

  #home .wp-block-spacer {
    height: 15px;
  }

  #home .cta {
    margin-left: 0;
    height: initial;
  }

  #home iframe {
    height: auto;
  }

  #contactUs a {
    display: block;
    padding: .5rem 0 .25rem 0;
  }

  hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* remove right-side border in date on event summary cards for mobile */
  .border-right-red {
    border-right: none;
  }

  .event-container .button {
    width: 100%;
  }

  footer .d-flex {
    display: block !important;
  }

  .mobile-donate-button {
    display: block;
  }

  .desktop-donate-button {
    display: none;
  }

  .wp-block-columns {
    flex-wrap: wrap;
  }

  .asylum-page .border-right {
    border-right: none !important;
  }

  .single-asylum .main-content {
    padding-top: 1.75rem;
  }

  .asylum-page .col-md-6 ol li:before {
    content: '';
    display: block;
    height:      20px;
    margin-top: -20px;
    visibility: hidden;
}


}

@media screen and (min-width: 600px) and (max-width:991px) {
  /* make sure layout is correct on tablets for give pages */
  .wp-block-columns {
    flex-wrap: inherit !important;
  }
}


/* 400 and up */
@media screen and (max-width:480px) {

	html #wpadminbar {
	  display: none;
  }

  .mobile-logo {
    padding-left: .3rem !important;
  }

}

