/*
 Theme Name:   Divi - Paul Smith's Mods 2019
 Theme URI:    http://www.campuspress.com
 Description:  Paul Smith's Divi based child theme
 Author:       CampusPress
 Template:     divi
 Version:      1
*/

/* Links */

a:link {
	color: #0000EE;
}
a:visited {
	color: #551A8B;
}
a:hover {
	color: #6BA539;
}
.et_slide_menu_top, .et_slide_menu_top a, .et_slide_menu_top input {
color: rgba(255, 255, 255, 0.6)!important;
}


#left-area .et_pb_row {
	width: 100%;
}
#author-info .et_pb_column_3_4 {
	display: table;
	min-height: 122px;
}
#author-info .et_pb_text {
	display: table-cell;
    vertical-align: middle;
    margin-bottom: 0px;
}

.et_header_style_slide #et-top-navigation::before { 
    content:'MAIN MENU';
    color:#154734;
    position: absolute; 
    margin-left:-90px; 
    margin-top: 3px; 
}

.main-menu-directory-link {
	margin-top: 15px;
	display: inline-block;
}

.pull-under-menu {
	margin-top: -75px;
}

#ps-secondary-menu {
	background: rgba(21, 71, 52, 0.90);
	position: relative;
	z-index: 2;
}
#ps-secondary-menu .et_pb_menu__wrap {
	justify-content: flex-end;
	display: flex;
    opacity: 1;
    align-items: stretch;
    flex: 1 1 auto;
    flex-wrap: wrap;
}
#ps-secondary-menu .et_pb_row {
	padding: 0px;
}
#ps-secondary-menu ul li a {
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	color: #fff !important;
}
#ps-secondary-menu .nav li ul {
	background: #154734;
	border: 0px;
}


#footer-bottom {
	background-color: #658C41;
	padding: 50px 0 35px;
	font-size: 16px;
	line-height: 30px;
	font-weight: 300;
}
#footer-bottom a {
	color: #FFF;
	font-weight: 400;
}
#footer-bottom .et_pb_social_media_follow {
	padding-top: 20px;
}
#footer-bottom .et_pb_social_media_follow li {
	padding-left: 0px;
}
#footer-widgets .footer-widget li:before {
	display: none;
}
#footer-widgets {
	padding: 0 !important;
}
#et-footer-nav {
	background-color: #6aa43b;
}
#et-footer-nav .bottom-nav {
	text-align: right;
}
.footer-logo img {
	display: block;
	max-width: 300px;
	width: 100%;
}
#footer-bottom .et-social-icons .et-social-icon .icon:before,
.et_pb_video_play:before {
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	vertical-align: middle;
}
.et-social-icon a {
	color: #fff;
	font-size: 16px;
}
#footer-bottom .et-social-icon a:before {
	font-size: 34px;
}
.et_pb_gutters3 .footer-widget {
	margin-bottom: 0 !important;
}

.psc-vertical-align {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Full Width Module */

.menu--force-desktop-view .et_mobile_nav_menu {
	display: none !important;
}
@media (max-width: 980px) {
	.et_pb_fullwidth_menu .et_pb_row {
		min-height: 0px;
	}
	.menu--force-desktop-view .fullwidth-menu,
	.menu--force-desktop-view .fullwidth-menu-nav,
	.menu--force-desktop-view .et_pb_menu__menu {
		display: flex !important;
		align-items: stretch;
		flex: 0 1 auto;
		justify-content: flex-start;
	}
}

/* Blurb */

.blurb--text-on-image .et_pb_main_blurb_image img {
	display: block;
}
.blurb--text-on-image .et_pb_main_blurb_image {
  margin-bottom: 0;
  display: block;
}
.blurb--text-on-image .et_pb_blurb_container {
	position: absolute;
	z-index: 1;
	color: white;
	bottom: 0;
	padding: 10px 5px;
	text-align: center;
	background-color: rgba(20, 20, 20, 0.6);
	width: 100%;
}
.blurb--text-on-image .et_pb_blurb h4 {
	color: #FFF;
	font-weight: 600;
}
.blurb--text-on-image .et_pb_blurb h1,
.blurb--text-on-image .et_pb_blurb h2,
.blurb--text-on-image .et_pb_blurb h3,
.blurb--text-on-image .et_pb_blurb h4,
.blurb--text-on-image .et_pb_blurb h5,
.blurb--text-on-image .et_pb_blurb h6 {
	color: #FFF;
}
.blurb--text-on-image .et_pb_blurb_content p {
	line-height: 20px;
}

/* Blog Module */

.blog--green .et_pb_image_container img,
.image--green img {
	border-top: 6px solid #6aa43b;
}
.blog--green .entry-title a,
.text--green,
.text--green > *  {
	color: #6aa43b !important;
}
.blog--navy-blue .et_pb_image_container img,
.image--navy-blue img {
	border-top: 6px solid #114734;
}
.blog--navy-blue .entry-title a,
.text--navy-blue,
.text--navy-blue > * {
	color: #114734 !important;
}
.blog--purple .et_pb_image_container img,
.image--purple img {
	border-top: 6px solid #8f5a28;
}
.blog--purple .entry-title a,
.text--purple,
.text--purple > * {
	color: #8f5a28 !important;
}
.blog--orange .et_pb_image_container img,
.image--orange img {
	border-top: 6px solid #8f5a28;
}
.blog--orange .entry-title a,
.text--orange,
.text--orange > * {
	color: #8f5a28 !important;
}

/* Optin */

.optin--horizontal .et_pb_newsletter_result {
	font-weight: 700;
}
.optin--horizontal .et_pb_button {
	padding: 10px 30px;
	text-transform: uppercase;
}
.optin--horizontal .et_pb_button:hover {
	padding: 10px 30px;
}
.optin--horizontal a.et_pb_newsletter_button:after {
	display: none;
}
.optin--horizontal .et_pb_newsletter_form p:nth-child(3) {
	display: none;
}
.optin--horizontal .et_pb_newsletter_description h2 {
	text-transform: uppercase;
}
.optin--horizontal .et_pb_subscribed {
	text-align: center;
}
@media (max-width: 1299px) {
	.optin--horizontal .et_pb_newsletter_description,
	.optin--horizontal .et_pb_newsletter_form {
		padding-left: 0;
		float: none;
		display: inline-block;
		vertical-align: middle;
	}
}
@media (min-width: 1300px){
	.optin--horizontal {
		position: relative;
		margin-top: 150px !important;
		margin-bottom: 150px !important;
	}
	.optin--horizontal .et_pb_newsletter {
		padding: 20px 10px;
		border-radius: 10px;
	}
	.optin--horizontal p {
		padding-bottom: 0;
	}
	.optin--horizontal .et_pb_newsletter_description {
		padding: 0;
		margin: 0;
		width: 25%;
		background-color: #FFF;
		color: #333;
		height: 60px;
		display: table;
		border-radius: 3px 0 0 3px;
	}
	.optin--horizontal .et_pb_newsletter_description h1,
	.optin--horizontal .et_pb_newsletter_description h2,
	.optin--horizontal .et_pb_newsletter_description h3,
	.optin--horizontal .et_pb_newsletter_description h4,
	.optin--horizontal .et_pb_newsletter_description h5,
	.optin--horizontal .et_pb_newsletter_description h6 {
		color: #8f5a28 !important;
		font-size: 18px;
		text-transform: uppercase;
		display: table-cell;
		vertical-align: middle;
		padding-bottom: 0px;
	}
	.optin--horizontal .et_pb_newsletter_form {
		width: 75%;
		padding-left: 0;
	}
	.optin--horizontal .et_pb_newsletter_form p:not(:nth-child(3)) {
		/* prevent divi from hiding inputs upon success */
		display: inline-block !important;
		vertical-align: middle;
		margin-right: 0px;
		float: left;
	}
	.optin--horizontal .et_pb_newsletter_result {
		position: absolute;
		bottom: 100%;
		left: 0;
		width: 100%;
		text-align: left;
	}
	.optin--horizontal .et_pb_newsletter_form p input {
		padding: 8px 4%;
		width: 300px;
		height: 60px;
		border-radius: 0px !important;
	}
	.optin--horizontal .et_pb_newsletter_button {
		text-transform: uppercase;
		height: 60px;
		display: table;
		padding: 10px 30px;
		border-radius: 0 3px 3px 0;
	}
	.optin--horizontal .et_pb_newsletter_button .et_pb_newsletter_button_text {
		display: table-cell;
		vertical-align: middle;
	}
	.optin--horizontal .et_pb_newsletter_form p:nth-child(5) {
		vertical-align: top;
	}
	.optin--horizontal .et_pb_newsletter_description h2:before {
		margin-right: 4px;
		content: "\e076";
	}
	.optin--horizontal .et_pb_newsletter_form p {
		margin-left: 2px;
	}
	.optin--horizontal .et_pb_newsletter_description h2:before {
		font-family: "ETmodules" !important;
		font-weight: normal;
		font-style: normal;
		font-variant: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		line-height: 1;
		text-transform: none;
		speak: none;
	}
	.optin--horizontal .et_pb_newsletter_form p .et_pb_signup_error {
		border: 2px solid #f00 !important;
	}
}

/* Text */

#page-container .text--excerpt {
	margin-bottom: 15px;
	color: #333;
	font-size: 22px;
}
#page-container .text--excerpt .et_pb_text p:last-of-type {
	padding-bottom: 20px;
}
#page-container .text--excerpt p, #page-container .text--excerpt a {
	color: #333;
	font-size: 16px;
}
#page-container .text--excerpt a {
	color: #3b788c;
	font-weight: 400;
}
#page-container .text--excerpt h1,
#page-container .text--excerpt h2,
#page-container .text--excerpt h3,
#page-container .text--excerpt h4,
#page-container .text--excerpt h5,
#page-container .text--excerpt h6 {
	margin-bottom: 10px;
	color: #333;
	font-size: 22px;
	font-weight: 400;
	text-transform: uppercase;
}

/* Section Module */

.section--dark-background h1,
.section--dark-background h2,
.section--dark-background h3,
.section--dark-background h4,
.section--dark-background h5,
.section--dark-background h6 {
	color: #FFF;
	font-family: inherit;
	font-size: 62px;
	font-weight: 300;
}
.section--light-background h1,
.section--light-background h2,
.section--light-background h3,
.section--light-background h4,
.section--light-background h5,
.section--light-background h6 {
	color: #333;
	font-family: inherit;
	font-size: 62px;
	font-weight: 300;
}
.section--dark-background .et_pb_fullwidth_header,
.section--light-background .et_pb_fullwidth_header {
	padding: 180px 0;
}

/* Row Module */

#page-container .row--flush-top,
#page-container .row--flush-top.et_pb_row_inner_0 {
	padding-top: 0;
	margin-top: 0;
}
#page-container .row--flush-top > div {
	padding-top: 0;
}
#page-container .row--flush-top img {
	margin-top: 0;
}

/* CTA Button */

body .cta--button-green, body .cta--button-green h1, body .cta--button-green h2, body .cta--button-green h3, body .cta--button-green h4, body .cta--button-green h5, body .cta--button-green h6 {
	color: initial !important;
}
body .et_pb_promo.cta--button-green {
	background-color: transparent;
}
.cta--button-green .et_pb_button, .button--green {
    color: #FFFFFF!important;
    border-width: 0px!important;
    border-radius: 15px;
    font-size: 18px;
    font-family: 'Andes Light',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight: 300!important;
    background-color: #154734;
}
.cta--button-green .et_pb_button:hover, .button--green:hover {
	border-radius: 15px !important;
	background-color: #154734 !important;
}
.cta--button-green .et_pb_promo_button.et_pb_button:after, .button--green:after {
    line-height: inherit;
	font-size: inherit !important;
	margin-left: .3em !important;
}