/*
 Theme Name:     Congressional Integrity Project
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/*********************/


/* FONTS */


/*********************/

@font-face {
    font-family: 'Gilroy-Bold';
    src: url('//cipprod.wpengine.com/wp-content/themes/Congressional/fonts/Gilroy-Bold.woff2') format('woff2'),
        url('//cipprod.wpengine.com/wp-content/themes/Congressional/fonts/Gilroy-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy-Regular';
    src: url('//cipprod.wpengine.com/wp-content/themes/Congressional/fonts/Gilroy-Regular.woff2') format('woff2'),
        url('//cipprod.wpengine.com/wp-content/themes/Congressional/fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*********************/


/* BASE */


/*********************/

:root {
  --black: #050E26;
  --black-60: rgba(0,0,0,0.6);
  --white: #FFFFFF;
  --white-60: rgba(255,255,255,0.6);
  --blue-1: #173073;
  --blue-2: #00A2FF;
  --red: #EB422E;
  --grey-1: #2C2C2D;
  --grey-2: #505153;
  --grey-3: #A8A9AB;    
}
html {
  font-size: 1em;
}
body {
	font-family: ivyjournal, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: var(--grey-2);
	background: #eeeeee;
	overflow-x: hidden !important;
}
.et_boxed_layout #page-container,
.et_fixed_nav.et_boxed_layout #page-container #main-header { /* If using boxed layout, max container full width */
	width: 100%;
}
.et_boxed_layout #page-container { /* If using boxed layout, shadow for container */
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0);
}
a {
  color: #1EAEDB;
}
a:hover {
  color: #0FA0CE; 
}
a,
.button {
	-webkit-transition: all 0.3s ease-out 0s;
	-moz-transition: all 0.3s ease-out 0s;
	-ms-transition: all 0.3s ease-out 0s;
	-o-transition: all 0.3s ease-out 0s;
	transition: all 0.3s ease-out 0s;
}
a:focus,
.button:focus {
	text-decoration: none;
	outline: none;
}
a,
button {
	color: #1EAEDB;
	outline: medium none;
}
button:focus,input:focus,input:focus,textarea,textarea:focus {
	outline: 0
}
*::-moz-selection {
	background: #d6b161;
	color: #fff;
	text-shadow: none;
}
::-moz-selection {
	background: #444;
	color: #fff;
	text-shadow: none;
}
::selection {
	background: #444;
	color: #fff;
	text-shadow: none;
}
*::-moz-placeholder {
	color: #555555;
	font-size: 14px;
	opacity: 1;
}
*::placeholder {
	color: #555555;
	font-size: 14px;
	opacity: 1;
}
hr {
    border: none;
    display: block;
    height: 3px;
    background: #eeeeee;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.negmargin-big {
	margin-top: -42em;
}
.negmargin-med {
	margin-top: -30em;
}
.negmargin-small {
	margin-top: -12em;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}
/* Image Overlay*/
.et_overlay {
	background: rgba(14,24,45,0.5);
	transition: all 0.3s ease-out 0s;
}
.et_overlay:before {
	color: var(--orange);
}

/*********************/


/* TYPOGRAPHY */


/*********************/

/* Base */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	color: var(--black);
	margin-top: 0;
	margin-bottom: 2rem;
	text-transform: none;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: inherit;
}

h1 { 
	font-size: 4.0rem;
	line-height: 1;
	letter-spacing: 0;
}

h2 { 
	font-size: 3.6rem;
	line-height: 1;
	letter-spacing: 0; 
}

h3 { 
	font-size: 3.0rem;
	line-height: 1.2; 
	letter-spacing: 0;
}

h4 {
	font-size: 1.6rem;
	color: var(--red); 
	line-height: 1.2; 
	letter-spacing: 0;
	margin-bottom: 1rem;
}

h5 {
	font-size: 1.4rem;
	color: var(--blue-2); 
	line-height: 1.4;  
	letter-spacing: 0;
}

h6 { 
	font-size: 1.2rem; 
	line-height: 1.6;  
	letter-spacing: 0.2rem;
}

p {
	font-size: 1.2rem;
	font-weight: normal;
	line-height: 1.8em;
	color: var(--grey-2);
	margin-bottom: 1em;
}

@media all and (max-width: 980px) {
h1, h2 { 
	font-size: 9.2vw;
}		
}

/* Theme */

.module.general h1:before,
.module.general h2:before { 
	background-color: var(--orange);
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 4.8rem;
    margin-left: -4.8rem;
    right: 1rem;
    top: -0.5rem;
}

.module.general ul {
	list-style: disc;
}

.module.general ol li,
.module.general ul li {
	font-size: 1.2rem;
	color: var(--blue-2);
	padding: 0.8rem 0;
}

.module.general blockquote p {
    font-size: 1.4rem;
    color: var(--blue-1);
    line-height: 1.4;
}

/*********************/


/* BUTTONS */


/*********************/

.et_pb_button {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1.2rem;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	border-radius: 0;
	margin-bottom: 0;
	padding: 1.25rem 3.20rem !important;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
	outline: none;
	text-transform: none;
}

.et_pb_button.et_pb_bg_layout_light:after,
.et_pb_button.et_pb_bg_layout_dark:after {
    position: absolute;
    transition: all 0.3s ease-out 0s;
    top: 24%;
}

.et_pb_button.et_pb_bg_layout_light {
	color: var(--white) !important;
	background: var(--blue-2);
	border: 2px solid var(--blue-2);
}

.et_pb_button.et_pb_bg_layout_light:hover {
	color: var(--black) !important;
	background: var(--orange);
	border: 2px solid var(--orange);
}

.et_pb_button.et_pb_bg_layout_light.border {
	color: var(--black) !important;
	background: transparent;
	border: 2px solid var(--black);
}

.et_pb_button.et_pb_bg_layout_light.border:hover {
	color: var(--white) !important;
	background: var(--black);
	border: 2px solid var(--black);
}	

.et_pb_button.et_pb_bg_layout_dark {
	color: var(--black) !important;
	background: var(--white);
	border: none;
}

.et_pb_button.et_pb_bg_layout_dark:hover {
	color: var(--white) !important;
	background: var(--red);
	border: none;
}

.et_pb_button.et_pb_bg_layout_dark.border {
	color: var(--white) !important;
	background: transparent;
	border: 2px solid var(--white);
}

.et_pb_button.et_pb_bg_layout_dark.border:hover {
	color: var(--black) !important;
	background: var(--white);
	border: 2px solid var(--white);
}

/* For CTA Module */

.et_pb_button.et_pb_promo_button {
	color: var(--grey) !important;
	background: transparent;
	border: 2px solid #cccccc;
}

.et_pb_button.et_pb_promo_button:hover {
	color: var(--white) !important;
	background: var(--grey);
	border: 2px solid var(--grey);
}

/*********************/


/* DESKTOP NAVIGATION */


/*********************/

#main-header {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1rem;
	color: var(--white);
	text-transform: none;
	transition: all 0.3s ease-out 0s;
	box-shadow: none;
    -moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#main-header:before {
	background-image: url(#);
    background-position-x: center;
    content: "";
    background-size: cover;
    height: 4rem;
    left: 0;
    position: absolute;
    top: 2.8125rem;
    width: 100%;
    z-index: 1;
    transition: all 0.3s ease-out 0s;
}
/*
.et_header_style_left .logo_container {
	border-bottom: 4px solid var(--white);
}
*/

.et-fixed-header#main-header {
	background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 40px 24px rgba(0,0,0,.1)!important;
    -moz-box-shadow: 0 40px 24px rgba(0,0,0,.1)!important;
    -webkit-box-shadow: 0 40px 24px rgba(0,0,0,.1)!important;
}

#top-menu li {
	font-weight: normal;
	padding-right: 2.8rem;
}

#top-menu li a {
	font-size: 1.2rem;
	color: var(--white);
	letter-spacing: 0;
}

.et-fixed-header #top-menu li a {
	color: var(--black);
}

#top-menu li a:hover,
.et-fixed-header #top-menu li a:hover {
	color: var(--red);
	opacity: 1 !important;
}

#top-menu li a:after,
.et-fixed-header #top-menu li a:after {
	position: absolute;
	content: '';
	height: 4px;
	bottom: 50%; 
	margin: 0 auto;
	left: 0;
	right: 0;
	width: 0%;
	background: var(--red);
	transition: all 0.3s ease-out 0s;
}

#top-menu li a:hover:after,
.et-fixed-header #top-menu li a:hover:after {
	width: 100%;
}

#top-menu li.current-menu-item>a {
	color: var(--white);
	opacity: 1 !important;
}
 
.et-fixed-header #top-menu li.current-menu-item>a {
	color: var(--black);
	opacity: 1 !important;
}

#top-menu li.current-menu-item>a:after,
.et-fixed-header #top-menu li.current-menu-item>a:after {
	position: absolute;
	content: '';
	height: 4px;
	bottom: 50%; 
	margin: 0 auto;
	left: 0;
	right: 0;
	width: 100%;
	background: var(--red);
	transition: all 0.3s ease-out 0s;
}


/* CTA/Donate Button */
             
.donate a {
	color: var(--white) !important;
	background: transparent !important;
    border: 2px solid var(--white) !important;
    padding: 1.25rem 3.20rem !important;
    border-radius: 0;
    text-align: center;
}

.donate a:after {
	display: none;
}

.et_header_style_left .et-fixed-header #et-top-navigation .donate a {
	color: var(--black) !important;
	background: transparent !important;
    border: 2px solid var(--black) !important;
    padding: 1.25rem 3.20rem !important;
    border-radius: 0;
    text-align: center;
}
 
.donate a:hover,
.et_header_style_left .et-fixed-header #et-top-navigation .donate a:hover {
	color: var(--white) !important;
    background: var(--blue-2) !important;
    border: 2px solid var(--blue-2) !important;
}
 
.et_header_style_left #et-top-navigation {
    padding-top: 16px !important;
}

/*********************/


/* MOBILE NAVIGATION */


/*********************/

.mobile_menu_bar:before {
	color: var(--red);
}

#mobile_menu, .opened #mobile_menu {
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
	max-height: 100%;
	z-index: 10;
	top: 0;
	border: none;
	overflow-y: auto;
	max-width: 100%;
	float: left;
	transition: all cubic-bezier(0.5,0,0,1) 800ms;
	background-color: rgba(5,14,38,0.9) !important;
	background-size: cover;
	background-repeat: no-repeat;
}
 
.opened #mobile_menu {
	transform: none;
}
.opened #mobile_menu a {
	transform: none;
	opacity: 1;
}
.opened #mobile_menu .menu-item:nth-child(1) a, .closed #mobile_menu .menu-item:nth-last-child(1) a {
	transition-delay: 100ms;
}
 
.opened #mobile_menu .menu-item:nth-child(2) a, .closed #mobile_menu .menu-item:nth-last-child(2) a {
	transition-delay: 200ms;
}
 
.opened #mobile_menu .menu-item:nth-child(3) a, .closed #mobile_menu .menu-item:nth-last-child(3) a {
	transition-delay: 300ms;
}
 
.opened #mobile_menu .menu-item:nth-child(4) a, .closed #mobile_menu .menu-item:nth-last-child(4) a {
	transition-delay: 400ms;
}
 
.opened #mobile_menu .menu-item:nth-child(5) a, .closed #mobile_menu .menu-item:nth-last-child(5) a {
	transition-delay: 500ms;
}
 
.opened #mobile_menu .menu-item:nth-child(6) a, .closed #mobile_menu .menu-item:nth-last-child(6) a {
	transition-delay: 600ms;
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: '\4d';
	color: #fff;
	transition: all ease-in-out 300ms;
	z-index: 100;
}

.mobile_nav.closed .mobile_menu_bar:before {
	transition: all ease-in-out 300ms;
}

/* Menu Items */

.et_mobile_menu li {
	margin: 0 auto;
}

.et_mobile_menu li a {
    font-size: 1.6rem;
    color: var(--white);
    padding: 1rem 0;
}

/* Link Animations */
 
#mobile_menu a {
	transform: translatey(100%);
	opacity: 0;
	transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
}
 
/* Menu Animations */
 
.closed #mobile_menu {
	opacity: 0;
	pointer-events: none;
	transform: translatey(48px);
	transition-delay: 600ms;
}

/*********************/


/* FOOTER */


/*********************/

/* Theme Builder Footer */


.module.footer {
	background: #010510;
}

.module.footer .et-menu a:hover {
	opacity: 1;
}

.module.footer img {
	max-width: 140px;
}

.module.footer p {
	font-size: 0.8rem;
	color: var(--white-60);
	text-align: center;
	margin-bottom: -1rem;
}

.module.footer p a {
	color: var(--white);
	text-decoration: underline;
}

.module.footer p a:hover {
	color: var(--red);
	text-decoration: underline;
}

.module.footer .paidfor p {
	text-align: right;
}

.module.footer .copyright p {
	color: var(--white-60);
	text-align: left;
}

.module.footer .et_pb_code_inner {
	float: right;
}

/* Footer Menu*/

.module.footer .et_pb_menu {
	background: transparent;
	width: 100%;
}

.module.footer .et_pb_fullwidth_menu .et_pb_menu__menu,
.module.footer .et_pb_menu .et_pb_menu__menu {
	display: block !important;
	width: 100%;
}

.footer.module .et-menu-nav {
	float: right;
}

.module.footer ul.et-menu {
	list-style: none;
	display: table;
}

.module.footer ul.et-menu li {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
    font-size: 1rem;
    color: var(--white);
    text-align: center;
    display: inline-block;
    margin: 0 2.4rem;
    padding: 0;
}

.module.footer ul.et-menu a {
	color: var(--white);
}

.module.footer ul.et-menu a:hover {
	color: var(--red);
}

@media all and (max-width: 980px) {
.module.footer .paidfor p,
.module.footer .copyright p {
	text-align: center;
}
.module.footer .et_pb_code_inner {
	float: none;
}
.footer.module .et-menu-nav {
	float: none;
}
.module.footer ul.et-menu {
    margin: 0 auto;
}
.module.footer ul.et-menu li {
	display: table;
	margin: 1.2rem auto;
}		
}

/* Hide Divi Extra Footers/Hamburger */

#et-footer-nav, #footer-bottom {
	display: none;
}

.module.footer .et_mobile_nav_menu {
	display:none !important;
}

/*********************/


/* HEADERS */


/*********************/

.header.home {
	min-height: 80vh;
	padding-top: 18vh !important;
}

.header.subpage {
	min-height: 50vh;
}

/*********************/


/* HOME */


/*********************/

.header.home h1 {
	font-size: 10vw;
	color: var(--white);
	letter-spacing: 0;
	line-height: 1.15;
	margin-bottom: 2.8vh;
}

.header.home h1 span {
    color: var(--black);
    background-image: linear-gradient(180deg,transparent 0,var(--white) 0);
    background-size: 100% 100%;
    -webkit-box-decoration-break: clone;
    -ms-box-decoration-break: clone;
    -o-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 1.2rem 1.4rem 0.6rem;
    line-height: 1.45;
}

.header.home h2 {
	font-size: 14vw;
	color: var(--white);
	letter-spacing: -0.2rem;
	line-height: 0.9;
}

.header.home h2 span {
	color: var(--orange);
}

.header.home p {
	font-family: ivyjournal, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.4rem;
	color: var(--white);
	line-height: 2;
}

.module.who h1 span {
	color: var(--red);
}

.module.who .et_pb_image:before {
	background: #005cb9;
    background: linear-gradient(90deg,#050E26 0,#173073 100%);
	z-index: -1;
    position: absolute;
    top: 16px;
    left: 16px;
    height: 100%;
    width: 100%;
    content: '';
    transition: .45s;
}

.module.callout h2, .module.callout p {
	color: var(--white);
}

.module.callout h2 span,
.module.reports h2 span,
.module.leadership h2 span {
	color: var(--red);
}

/*********************/


/* ABOUT */


/*********************/

.header.subpage h1 {
	font-size: 10vw;
	color: var(--white);
	letter-spacing: 0;
	line-height: 1.15;
	margin-bottom: 2.8vh;
}

.header.subpage h1 span {
    color: var(--black);
    background-image: linear-gradient(180deg,transparent 0,var(--white) 0);
    background-size: 100% 100%;
    -webkit-box-decoration-break: clone;
    -ms-box-decoration-break: clone;
    -o-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 1.2rem 1.4rem 0.6rem;
    line-height: 1.45;
}

.module.about {
	background: var(--black);
}

.module.about p {
	color: var(--white);
}

.module.about .intro p {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1.8rem;
}

.module.about .intro p span {
	color: var(--red);
}

/* Person Module */

.module.leadership .person {
	border-bottom: 1px solid var(--grey-3);
	padding: 6rem 0;
}

.module.leadership .person:nth-last-child(1) { /*No border on last item*/
    border-bottom: none;
}

.module.leadership .person h4.et_pb_module_header {
	font-size: 2rem;
	color: var(--blue-1);
	margin-bottom: 0;
	padding-bottom: 0;
}

.module.leadership .person p.et_pb_member_position {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1.2rem;
	color: var(--blue-2);
	letter-spacing: 0.2rem;
	text-transform: uppercase;
}

.module.leadership .person .et_pb_team_member_description p {
	font-size: 1rem;
}

/*********************/


/* SUPPORTERS */


/*********************/

.module.supporters .supporter h4 {
	text-align: center;
}

.module.supporters .supporter img {
	transition: all 0.3s ease-out 0s;
}

.module.supporters .supporter img:hover {
	transform: scale(1.1);
}

/*********************/


/* SLIDER */


/*********************/

.module.slider {
	min-height: 80vh;
}

.module.slider .et_pb_slide_description,
.module.slider .et_pb_slider_fullwidth_off .et_pb_slide_description {
	padding: 16% 0;
}

.module.slider .et_pb_slide_description {
	text-align: left;
	width: 70%;
    margin: 0;
}

@media all and (max-width: 1024px) {
.module.slider .et_pb_slide_description {
	width: 100%;
}		
}

.module.slider h2 {
	font-size: 10vw !important;
	font-weight: 700;
	color: var(--white);
	letter-spacing: -0.2rem;
	line-height: 1.15;
	margin-bottom: 2.8vh;
}

.module.slider h2 a {
	color: var(--white);
}

.module.slider h2 a:hover {
	color: var(--white);
}


.module.slider p {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1.8rem;
	color: var(--white);
	line-height: 1.4;
}

.module.slider .et_pb_button.et_pb_more_button {
	color: var(--white);
	background: var(--red);
	border: 2px solid var(--red);
}

.module.slider .et_pb_button.et_pb_more_button:hover {
	color: var(--white);
	background: var(--blue-1);
	border: 2px solid var(--blue-1);
}

.module.slider .et_pb_button.et_pb_more_button:after {
	top: 24%;
}

/*********************/


/* ALTERNATE ROWS (NOT FLUSH) */


/*********************/

.module.alternate {
	background: var(--white);
	position: relative;
}

.module.alternate .content {
	padding: 0 0 100px 0;
}

.module.alternate .content h2 {
	color: var(--blue-1);
}

/* Image on Right */

.module.alternate .content .copy {
	position: relative;
	float: left;
}

.module.alternate .content .image {
	position: absolute;
	left: auto;
	right: 0;
    top: 0;
    margin-right: 0;
}

/* Image on Left */

.module.alternate.image-left .content .copy {
	float: right;
	margin-left: 5.5%;
	margin-right: 0;
}

.module.alternate.image-left .content .image {
	left: 0;
    top: 0;
}

/* Vertical Align Copy */

.module.alternate .content .copy .et_pb_text_inner {
	height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media all and (max-width: 980px) {
.module.alternate .content h2 {
	font-size: 9.2vw;
}
.module.alternate .content .image {
	position: relative;
}
.module.alternate .content .copy .et_pb_text_inner {
	height: auto;
}	
}

@media only screen and (min-width: 1800px) {
.module.alternate .content {
	padding: 0 0 160px 0;
}	
}

/*********************/


/* BLOG/NEWS/POSTS */


/*********************/

/* Featured Image on Left (remove .report-list class for default usage) */

@media only screen and (min-width: 981px) {
.report-list .et_pb_posts .et_pb_post img,
.report-list .et_pb_posts .et_overlay {
	width: 30%;
	margin-right: 4%;
	float: left;
	transition: all 0.3s ease;
	-webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.1);
}
.report-list .et_pb_posts .entry-title,
.report-list .et_pb_posts .post-meta,
.report-list .et_pb_posts .post-content { 
	float: right; 
	width: 66%; 
}
body.rtl .report-list .et_pb_posts .et_pb_post img,
body.rtl .report-list .et_pb_posts .et_overlay {
	float: right;
	margin-left: 4%;
	margin-right: 0;
}
body.rtl .report-list .et_pb_posts .entry-title,
body.rtl .report-list .et_pb_posts .post-meta,
body.rtl .report-list .et_pb_posts .post-content { 
	float: left; 
}
}

/* Divi Blog Extended */

.et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended:nth-child(odd) .post-media,
.et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended:nth-child(odd) .post-media,
.et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended:nth-child(odd) .post-media {
	order: 0 !important;
}

@media screen and (min-width: 981px) {
.et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended .post-media,
.et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended .post-media,
.et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended .post-media {
	width: 20% !important;
}

.et_pb_column_2_3 .et_pb_post_extra.el_dbe_grid_extended .post-content,
.et_pb_column_3_4 .et_pb_post_extra.el_dbe_grid_extended .post-content,
.et_pb_column_4_4 .et_pb_post_extra.el_dbe_grid_extended .post-content {
	width: 80% !important;
	padding: 0 10px 0 30px !important;
}	
}

/* Post Cards */

#diviblog .et_pb_post {
    background-color: transparent;
    padding: 2.5rem;
    margin: 0 0 2rem 0;
    border-bottom: 1px solid var(--grey-3);
    transition: all 0.3s ease;
}

#diviblog .et_pb_post:nth-last-child(1) { /*No border on last item*/
    border-bottom: none;
}

#diviblog .et_pb_post:hover {
    background: var(--black);
    -webkit-box-shadow: 0px 2px 24px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 2px 24px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 2px 24px 0px rgba(0,0,0,0.1);
}

/* Post Cards Copy/Hovers */

#diviblog .et_pb_post .entry-title {
	font-size: 1.6rem;
	font-weight: normal;
	font-style: normal;
	color: var(--black);
	text-transform: none;
	margin-bottom: 0;
	line-height: 1.2;
}

#diviblog .et_pb_post .post-meta {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1rem;
	color: var(--red);
    text-transform: none;
    letter-spacing: 0;
}

#diviblog .et_pb_post .post-content p {
	font-size: 1rem;
	color: var(--grey-1);
}

#diviblog .et_pb_post .entry-title:hover {
	color: var(--white);
}

#diviblog .et_pb_post:hover .entry-title, 
#diviblog .et_pb_post:hover .post-meta, 
#diviblog .et_pb_post:hover .post-content p {
	color: var(--white);
}

#diviblog .et_pb_post .entry-title,
#diviblog .et_pb_post .entry-title a, 
#diviblog .et_pb_post .post-meta, 
#diviblog .et_pb_post .post-content p { /*Make sure all change color w/o delay*/
	transition: none;
}

#diviblog .et_pb_post:hover img {
	transform: scale(1.05);
}

/* Absolute Read More */

#diviblog .post-content .more-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	opacity: 0;
}

/* Single Post Template */

.post.header {
	min-height: 40vh;
	padding-top: 16vh !important;
	padding-bottom: 8vh;
}

.post.header h1 {
	font-size: 3.8rem;
	color: var(--white);
	line-height: 1.2;
}

.post.header .published {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1rem;
	color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

@media all and (max-width: 980px) {
.post.header {
	min-height: 30vh;
	padding-top: 8vh;
	padding-bottom: 4vh;
}
.post.header h1 {
	font-size: 2.8rem;
}	
}

.post.content .nav-next a, .post.content .nav-previous a {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1rem !important;
	text-align: center;
	text-transform: none;
	letter-spacing: 0.2rem;
	line-height: 1;
	border-radius: 0;
	margin-bottom: 0;
	padding: 0.8rem 3.12rem !important;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
	outline: none;
	text-transform: uppercase;
	color: var(--white);
	background: var(--blue-1);
	border: 2px solid var(--blue-1);
	border-radius: 0;
	
}

.post.content .nav-previous a {
	color: var(--blue-1);
	background: transparent;
	border: 2px solid var(--blue-1);
}

/*********************/


/* NEWSLETTER */


/*********************/

.module.newsletter {
	background: var(--black);
	padding: 0.6rem 0;
}

.module.newsletter h2 {
	font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 0;
}

.module.newsletter p {
	font-family: 'Gilroy-Regular';
	font-size: 1.6rem;
	color: var(--white-60);
	line-height: 1;
}

/*********************/


/* GRAVITY FORMS */


/*********************/

.divi_wrapper input.text,
.divi_wrapper input.title,
.divi_wrapper input[type=email],
.divi_wrapper input[type=password],
.divi_wrapper input[type=tel],
.divi_wrapper input[type=text],
.divi_wrapper select,
.divi_wrapper textarea {
	font-family: 'Gilroy-Regular' !important;
	font-weight: normal;
	font-style: normal;
	font-size: 1.2rem !important;
	background: #FFFFFF;
	border: none;
	border-radius: 0;
	padding: 1.2rem !important;
	height: 76px;
	transition: all 0.3s ease-out 0s;
	-webkit-appearance: none;
}

.divi_wrapper input.text:hover,
.divi_wrapper input.title:hover,
.divi_wrapper input[type=email]:hover,
.divi_wrapper input[type=password]:hover,
.divi_wrapper input[type=tel]:hover,
.divi_wrapper input[type=text]:hover,
.divi_wrapper select:hover,
.divi_wrapper textarea:hover {
	background: #FFFFFF;
	border: none;
}

.et_pb_button.et_pb_bg_layout_light.gravity {
	color: var(--white) !important;
	background: var(--red);
	border: 2px solid var(--red);
	font-size: 1.2rem !important;
	display: table !important;
	margin: 0 auto !important;
	cursor: pointer;
}
.et_pb_button.et_pb_bg_layout_light.gravity:hover {
	color: var(--white) !important;
	background: var(--blue-1);
	border: 2px solid var(--blue-1);
}

.module.general .et_pb_button.et_pb_bg_layout_light.gravity {
	color: var(--white) !important;
	background: var(--blue-1);
	border: 2px solid var(--blue-1);

}
.module.general .et_pb_button.et_pb_bg_layout_light.gravity:hover {
	color: var(--white) !important;
	background: var(--blue-2);
	border: 2px solid var(--blue-2);
}

.divi_wrapper .top_label .gfield_label {
	display: none !important; /*Hide labels*/
}

img.gform_ajax_spinner {
    display: none !important; /*Hide spinner*/
}

/* Inline fields on Gravity Forms */

@media only screen and (min-width: 641px) {
.gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_above li.gfield, .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_below li.gfield {
    vertical-align: middle;
    padding-right: 8px !important;
    width: 400px !important;
}
}

/* Placeholders */

::-webkit-input-placeholder { /* Chrome */
  font-size: 1.2rem;	
  color: var(--grey-2) !important;
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: 1.2rem;
  color: var(--grey-2) !important;
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: 1.2rem;
  color: #1E1F22 !important;
  opacity: var(--grey-2) !important;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  font-size: 1.2rem;
  color: var(--grey-2) !important;
  opacity: 1 !important;
}

/* Errors */

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_requigreen.gfield_cgreenitcard_warning {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper li.gfield_error textarea,
.gform_wrapper li.gfield_error select {
    border: 1px solid #F12F15 !important;
}

.gform_wrapper .validation_message {
    color: #F12F15 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2rem !important;
}

.gform_wrapper div.validation_error {
    color: #fff !important;
    font-size: 1rem !important;
    border-top: none !important;
    border-bottom: none !important;
    background: #F12F15 !important;
}

/* Section */

.gform_wrapper h2.gsection_title:before {
	display: none;
}

/* Labels */
.gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label, .gform_wrapper .field_sublabel_above div[class*=gfield_time_].ginput_container label {
	color: var(--white);
}

.gform_wrapper .field_description_below .gfield_description { /*Make sure fields are aligned on inline forms when validated*/
	position: absolute;
	bottom: -40px;
}

.module.general .gform_wrapper .field_description_below .gfield_description { /*Make sure fields are aligned on inline forms when validated*/
	position: relative;
	bottom: 0;
}

/* Confirmation */

.gform_confirmation_message h5 {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
    font-size: 1.4rem;
    color: var(--black);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.6;
    padding: 2rem;
	
}

/*********************/


/* FEATURED COLUMNS */


/*********************/


/* Columns */

.feature.column-2,
.feature.column-3,
.feature.column-4 {
	margin-right: 0 !important;
}

.feature.column-2 {
	width: 50% !important;
}

.feature.column-3 {
	width: 33.33% !important;
}

.feature.column-4 {
	width: 25% !important;;
}

@media all and (max-width: 980px) {	
.feature.column-2,
.feature.column-3,
.feature.column-4 {
	width: 100% !important;;
}
.feature.column-2.et_pb_column,
.feature.column-3.et_pb_column,
.feature.column-4.et_pb_column {
	margin-bottom: 0;
}
}

/* Main Container */

.module.featured {
	width: 100%;
	max-width: 100%;
	padding: 0;
	overflow-x: hidden;
}

.module.featured.top:before {
    background-image: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/texture_bottom.svg);
    background-position-x: center;
    content: "";
    background-size: cover;
    height: 5.2rem;
    left: 0;
    position: absolute;
    top: -0.25rem;
    width: 100%;
    z-index: 10;
}

/* Tile */

.module.feature {
	min-height: 600px;
	padding: 2rem 2.8rem;
	transition: all 0.3s ease-out 0s;
}

.module.feature .et_pb_text_inner {
	width: 90%;
	position: absolute;
	bottom: 0;
}

@media all and (max-width: 980px) {	
.module.feature .et_pb_text_inner {
	width: 80%;
}
}

.module.feature.comingsoon {
	-webkit-filter: grayscale(1); 
	-webkit-filter: grayscale(100%); 
	-moz-filter: grayscale(100%);
	filter: gray; 
	filter: grayscale(100%);
}

/* Tile Copy */

.module.feature h2,
.module.feature h4 {
	color: var(--white);
}

.module.feature h2 {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 2.2rem;
	text-transform: uppercase;
	margin-top: -0.4rem;
	margin-bottom: 0;
}

.module.feature h3 {
	font-family: ivyjournal, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.4rem;
	color: var(--blue-2);
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}

.module.feature h4 {
	font-family: 'Gilroy-Bold';
	font-weight: normal;
	font-style: normal;
	font-size: 1.4rem;
	color: var(--orange);
	letter-spacing: 0;
	margin-bottom: 2rem;
	text-transform: none;
}

.module.feature h4:after {
	background-color: var(--blue-2);
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 0;
    margin-right: -10%;
    left: 0.4rem;
    top: -0.2rem;
    transition: all 0.3s ease-out 0s;
}

.module.feature:hover h4:after {
	width: 4.8rem;
}

.module.feature.comingsoon:hover h4:after {
	width: 0;
}

/*********************/


/* FLUSH */


/*********************/

.fullflush {
	margin: 0;
	padding: 0 !important;
}

.fullflush .single {
	background: var(--white);
	min-height: 670px;
	min-width: 100%;
	position: relative;
	padding: 0
}

.fullflush .single .text {
	height: 100%;
	width: 50%;
    float: right;
    position: relative;
    top: 12.4vh;
}

.fullflush .single .text .et_pb_module {
	width: 100%;
	max-width: 30vw;
	margin: 0 auto;
}

.fullflush .single .text h2:before {
	background-color: var(--orange);
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 4.8rem;
    margin-left: -4.8rem;
    right: 1rem;
    top: -0.5rem;
}

.fullflush .single .text h3{
	font-size: 1.4rem;
	color: var(--blue-2);
	margin-top: 4.2rem;
	margin-bottom: -2.2rem;
}

.fullflush .single.image-right .text {
	float: left;
}

.fullflush .single .image {
    height: 100%;
    width: 50%;
    min-height: 670px;
    max-width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0 !important;
    background-position: top center;
    background-size: cover;
}

.fullflush .single.image-right .image {
	left: auto;
	right: 0;
}

@media all and (max-width: 980px) {
.fullflush .single {
	min-height: 50vh;
}	
.fullflush .single .text h2 {
	font-size: 9.2vw;
}	
.fullflush {
	margin-bottom: 0;
}
.fullflush .single .text .et_pb_module {
	max-width: 100%;
}	
.fullflush .single .text {
	width: 100%;
	padding: 3.8rem 3.4rem;
	top: 0;
}
.fullflush .single .image {
	width: 100%;
    min-height: 1px;
    position: relative;
    display: none;
}
}

/*********************/


/* ACCORDIAN */


/*********************/

/* Hide Widget Title */
.eapps-faq-header {
	display: none;
}

/* Plus Icon */
.eapps-faq-layout-accordion .eapps-faq-content-category-item-question-icon {
	opacity: 1 !important;
}

.eapps-faq-layout-accordion .eapps-faq-content-category-item-question-icon:before,
.eapps-faq-layout-accordion .eapps-faq-content-category-item-question-icon:after {
	background: var(--orange) !important;
}

/* Custom Icons for 1-2-3-4 */
.eapps-faq-content-category-items > div:nth-of-type(1) .eapps-faq-content-category-item-question-text:before,
.eapps-faq-content-category-items > div:nth-of-type(2) .eapps-faq-content-category-item-question-text:before,
.eapps-faq-content-category-items > div:nth-of-type(3) .eapps-faq-content-category-item-question-text:before,
.eapps-faq-content-category-items > div:nth-of-type(4) .eapps-faq-content-category-item-question-text:before {
    left: 1.4rem;
    top: 1rem;
    right: 0;
    bottom: 0;
    position: absolute;
    opacity: 1;
    pointer-events: none;
    background-color: transparent;
    z-index: 1;
}

.eapps-faq-content-category-items > div:nth-of-type(1) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_canoe.svg);
}

.eapps-faq-content-category-items > div:nth-of-type(2) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_roadsign.svg);
}

.eapps-faq-content-category-items > div:nth-of-type(3) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_food.svg);
}

.eapps-faq-content-category-items > div:nth-of-type(4) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_free.svg);
}

/* If Free Activity */
.free .eapps-faq-content-category-items > div:nth-of-type(1) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_free.svg);
}

.free .eapps-faq-content-category-items > div:nth-of-type(2) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_canoe.svg);
}

.free .eapps-faq-content-category-items > div:nth-of-type(3) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_roadsign.svg);
}

.free .eapps-faq-content-category-items > div:nth-of-type(4) .eapps-faq-content-category-item-question-text:before {
    content: url(https://eriecanal.wpengine.com/wp-content/uploads/2020/07/poi_icon_food.svg);
}

/* Question Text */
.eapps-faq-layout-accordion .eapps-faq-content-category-item-question-text {
    margin-left: 3.4rem;
}

.eapps-faq-content-category-item span.eapps-faq-content-category-item-question-text {
	color: #818181;
	transition: all 0.3s ease-out 0s;
}

.eapps-faq-content-category-item.eapps-faq-content-category-item-active span.eapps-faq-content-category-item-question-text {
	color: var(--orange);
}

/* Answer Text */
.eapps-faq-content-category-item-answer-text ul {
	padding: 0 2.2rem;
}

.eapps-faq-layout-accordion .eapps-faq-content-category-item-answer {
	overflow: visible !important;
}

.eapps-faq-content-category-item-answer-text ul li {
	margin: 0 0 1.2rem 0;
}

@media all and (max-width: 479px) {
.eapps-faq-layout-accordion .eapps-faq-content-category-item-question-text {
    margin-left: 2.2rem;
    font-size: 0.9rem;
}
.eapps-faq-content-category-items > div:nth-of-type(1) .eapps-faq-content-category-item-question-text:before,
.eapps-faq-content-category-items > div:nth-of-type(2) .eapps-faq-content-category-item-question-text:before,
.eapps-faq-content-category-items > div:nth-of-type(3) .eapps-faq-content-category-item-question-text:before,
.eapps-faq-content-category-items > div:nth-of-type(4) .eapps-faq-content-category-item-question-text:before {
    left: 0.64rem;
}
}

/*********************/


/* POPUP */


/*********************/

/* Popup Overlay */
.da-overlay {
	background: rgba(20,29,72,0.9) !important;
}

/* Popup Copy */

.popup h2 {
	margin-bottom: 0;
}

.popup h5 {
	color: var(--red);
}

.popup ul li {
	font-size: 1.2rem;
	color: var(--blue-2);
	padding: 0.8rem 0;
}

@media all and (min-width: 981px) {
#et-boc .area-outer-wrap[data-da-type=popup] {
	width: 50%;
}	
}

/*********************/


/* RESPONSIVE */


/*********************/

/*** Responsive Styles Large Desktop And Above ***/
@media only screen and (min-width: 1800px) {
.header.home h1,
.module.slider h2,
.header.subpage h1 {
	font-size: 6.8rem !important;
}
.header.home p,
.module.slider p {
	font-size: 1.4rem;
}
.module.candidates {
    max-height: 380px;
}	
}

@media all and (min-width: 1405px) and (max-width: 1799px) {
.header.home h1,
.module.slider h2,
.header.subpage h1 {
	font-size: 6vw !important;
}
.header.home p,
.module.slider p {
	font-size: 1.4vw;
}		
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
.header.home h1,
.module.slider h2,
.header.subpage h1 {
	font-size: 6vw !important;
}
.header.home p,
.module.slider p {
	font-size: 2vw;
}		
.module.feature h2 {
	font-size: 2rem;
	margin-top: -0.4rem;
}	
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {	
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {		
.main-site-footer ul li {
	padding: 0;
	float: left;
} 
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {				 
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {	
.header.home {
	min-height: 40vh;
}
.header.home p,
.module.slider p {
	font-size: 1.2rem;
}
.header.home h1 span {
    padding: 0.8rem 1.2rem 0.4rem;
}	
}