/*
 Theme Name:   ESIP
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Beets + Okra
 Author URI:   beetsandokra.com
 Template:     Divi
 Version:      3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Layout
# Grid
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
.page-header h1 {
  color: #fff;
  font-size: 38px;
}
p:last-of-type {
  padding-bottom: 1em;
}
p.category-description {
  padding-top: 30px;
}
.page-header .post-meta {
  color: #fff;
}
.page-header .post-meta a {
    color: #fff;
}
div.et_pb_slide_content h4 {
  line-height: 2em;
}
@media screen and (max-width : 768px) {
  h2.et_pb_slide_title {
    line-height: 1.2em;
  }
  div.et_pb_slide_content h4 {
    letter-spacing: 5px;
  }
  .page-header h1 {
    font-size: 25px;
  }
  .home .et_pb_slide_description, .home .et_pb_slide {
    padding: 0;
  }
}
@media screen and (min-width:960px)  {
  .home .et_pb_slider .et_pb_container {
    width: 100%;
  }
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
#logo {
  padding: 10px 0;
  height: 100%;
  max-height: 100%;
}

/* Contact Form 7 */
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
    background-color: #eee!important;
    border: medium none!important;
    border-radius: 0;
    box-sizing: border-box;
    color: #999!important;
    font-size: 14px;
    padding: 16px!important;
    width: 100%;
}

.wpcf7-submit {
    background: transparent none repeat scroll 0 0;
    border: 2px solid #40A0B8;
    border-radius: 3px;
    float: right;
    color: #40A0B8;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em;
    margin: 8px auto 0;
    padding: 6px 20px;
    transition: all 0.2s ease 0s;
}
.wpcf7-submit:hover {
    background-color: #40A0B8;
    border-color: #40A0B8;
    color: #fff;
    padding: 6px 20px !important;
}
@media screen and (max-width: 480px) {
  .g-recaptcha {
  -webkit-transform:scale(0.77);
  -moz-transform:scale(0.77);
  -o-transform:scale(0.77);
  -ms-transform:scale(0.77);
  transform:scale(0.77);
  -webkit-transform-origin:0 0;
  -ms-transform-origin:0 0;
  -o-transform-origin:0 0;
  -moz-transform-origin:0 0;
  transform-origin:0 0;
  }
}
/* Newsletter Subscription */
div.et_pb_newsletter_description {
  width: 100%!important;
  margin-bottom: 0;
  float: none;
}
#wpcf7-f894-p335-o1 form.wpcf7-form {
  padding-top: 20px;
}
#wpcf7-f894-p335-o1 form.wpcf7-form p {
  width: 30%;
  float: left;
  margin: 0 10px;
}
@media screen and (max-width : 1024px) {
  #wpcf7-f894-p335-o1 form.wpcf7-form p {
    width: 100%;
    float: none;
    margin: 0;
  }
}
#wpcf7-f894-p335-o1 form.wpcf7-form .wpcf7-submit {
  border-color: #fff;
  color: #fff;
  width: 100%;
  margin: 0;
}
#wpcf7-f894-p335-o1 form.wpcf7-form  .wpcf7-submit:hover {
  background-color: #fff;
  color: #40A0B8;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .wpcf7-response-output {
  clear: both;
  width: 100%;
  margin: 0;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .open-modal-captcha {
  color: #fff;
  font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
  background: transparent none repeat scroll 0 0;
  border: 2px solid #fff;
  border-radius: 3px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em;
  padding: 6px 20px;
  transition: all 0.2s ease 0s;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .open-modal-captcha:hover {
    background-color: #fff;
    color: #40A0B8;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  width: 70%;
  overflow: hidden;
  background-color: #3A4149;
  z-index: 100;
  padding: 50px 0;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha .close::before {
  content: "\e04f";
  font-family: "ETmodules";
	line-height: 1;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha .wpcf7-recaptcha {
  width: 100%;
  -webkit-transform-origin:	50% 50% 0;
  -ms-transform-origin:	50% 50% 0;
  -o-transform-origin: 50% 50% 0;
  -moz-transform-origin: 50% 50% 0;
  transform-origin:	50% 50% 0;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha .wpcf7-recaptcha > div {
  margin: 0 auto;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha p {
  width: 100%;
  margin: 20px 0 0 0;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha p:empty {
  display: none;
}
#wpcf7-f894-p335-o1 form.wpcf7-form .modal-captcha p input {
  width: 200px;
  margin: 0 auto;
  float: none;
}
/* hide original loader */
div.wpcf7 .ajax-loader {
    display: none;
}
body.wait, body.wait *{
    cursor: wait !important;
}

div.wpcf7-response-output {
  width: 60%;
  margin: 10px 0 0 0;
}
div.wpcf7-validation-errors {
  border: 2px solid red;
}
#wpcf7-f894-p335-o1 div.wpcf7-validation-errors {
  border: 2px solid yellow;
  color: yellow;
}
#wpcf7-f894-p335-o1 span.wpcf7-not-valid-tip {
  color: yellow;
}

/* Home Blurbs */
.home .et_pb_blurb {
  transition: all 0.5s ease;
  min-height: 130px;
}
.home .et_pb_blurb_content {
  padding-top: 12px;
}
.home .et_pb_blurb:hover {
  background: #40A0B8;
}
.home .et_pb_blurb span {
  transition: all 0.5s ease;
}
.home .et_pb_blurb:hover span {
  color: #fff !important;
}
.home .et_pb_blurb_container h4 {
    transition-delay: 0.2s;
    transition-duration: 0.2s;
    position: relative;
    top: 23px;
}
.home .et_pb_blurb_container h4 a {
    font-size: 30px!important;
    transition-delay: 0.2s;
    transition-duration: 0.2s;
}
.home .et_pb_blurb:hover h4, .home .et_pb_blurb:focus h4 {
    transform: translateY(-20px);
}
.home .et_pb_blurb:hover h4 a, .home .et_pb_blurb:focus h4 a {
    font-size: 21px!important;
}
.home .et_pb_blurb_container p {
    opacity: 0;
    transition-delay: 0.2s;
    transition-duration: 0.2s;
    position: relative;
    top: 30px;
    line-height: 1.3em;
    height: 1px;
}
.home .et_pb_blurb:hover p, .home .et_pb_blurb:focus p {
    opacity: 1;
    transform: translateY(-25px);
    height: auto;
}

@media screen and (min-width:981px) and (max-width: 1152px) {
  .home .et_pb_blurb_container h4 a{
    font-size: 25px!important;
  }
  .home .et_pb_blurb_container p {
    font-size: 13px;
  }
}
@media screen and (max-width : 768px) {
  .home .et_pb_blurb_container h4 {
    position: static;
  }
  .home .et_pb_blurb:hover h4, .home .et_pb_blurb:focus h4 {
    transform: none;
  }
  .home .et_pb_blurb_container h4 a {
    font-size: 21px!important;
  }
  .home .et_pb_blurb_container p {
    opacity: 1;
    height: auto;
    top: 5px;
  }
  .home .et_pb_blurb:hover p, .home .et_pb_blurb:focus p{
    transform: none;
  }
  .home .et_pb_blurb, .home .et_pb_blurb span {
  }
}

/* Leadership */
.parent-pageid-6393 figure {
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 5px 0 0 0;
}
.parent-pageid-6393 figure img, .parent-pageid-6393 figure figcaption {
  vertical-align: bottom;
}
.parent-pageid-6393 figure p {
  display: none;
}
.parent-pageid-6393 figcaption {
  position: absolute;
  background: black;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 10px 20px;
  opacity: 0;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  left: 0;
  bottom: -30%;
  width: 100%;
}
.parent-pageid-6393 figure:hover figcaption {
  opacity: 1;
}
.parent-pageid-6393 figure:hover figcaption {
  bottom: 0;
}
/* Staff */
.parent-pageid-6401 .entry-content, .parent-pageid-6403 .entry-content, .parent-pageid-7458 .entry-content, .parent-pageid-6395 .entry-content {
  padding-top: 30px;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
#main-content .container::before {
  background-color: none;
  content: none;
}
#main-content .container {
  padding-top: 10px;
}
#sidebar {
  padding-top: 35px;
}
#left-area .et_pb_row {
  width: 100%;
}
#home-slider .et_pb_slide {
  background-size: cover;
}
.page-id-318 #et-main-area #main-content, .parent-pageid-318 #et-main-area #main-content {
  background: none;
}
.page #main-content {
  background: #d7d7d7 url(/wp-content/uploads/2016/11/SectionBackground-1.jpg) fixed center top;
}
.page-template-page-no-header #content-area {
  padding-top: 30px;  
}
.page-header{
   background: #d7d7d7 url(/wp-content/uploads/2016/11/1900100.jpg) no-repeat scroll center top;
   height: 200px;
}
.page-header .et_pb_row {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
  @media screen and (max-width : 1600) {
    .page-header{
       background: #d7d7d7 url(/wp-content/uploads/2016/11/1600100.jpg) no-repeat scroll center top;
    }
  }
  @media screen and (max-width : 1024px) {
    .page-header{
       background: #d7d7d7 url(/wp-content/uploads/2016/11/1024100.jpg) no-repeat scroll center top;
    }
  }
  @media screen and (max-width : 768px) {
    .page-header{
       background: #d7d7d7 url(/wp-content/uploads/2016/11/768100.jpg) no-repeat scroll center bottom;
       height: 200px;
    }
  }
  @media screen and (max-width : 480px) {
    .page-header{
       background: #d7d7d7 url(/wp-content/uploads/2016/11/480100.jpg) no-repeat scroll center bottom;
       height: 150px;
    }
  }
  @media only screen and (max-width: 980px) {
    #page-container .et_pb_section:not(.et_pb_fullwidth_section), #main-footer #footer-widgets {
    padding: 30px 0;
    }
  }
/* Footer */
#footer-widgets {
  padding: 3% 0;
}
#footer-widgets a {
  color: #fff;
  text-decoration: underline;
}
#footer-widgets .footer-widget li {
  padding-left: 0;
}
#footer-widgets .footer-widget li::before {
  content: none;
}
#footer-widgets .footer-widget .et_pb_widget {
  float: right;
}
#footer-widgets .footer-widget {
  margin-bottom: 2% !important;
}
#main-footer .footer-widget h4.title {
  color: #40A0B8;
}

  @media screen and (max-width : 1024px) {
    #footer-widgets .footer-widget li {
      display: inline;
      margin: 0;
      padding-right: 5px;
    }
    #footer-widgets .footer-widget .et_pb_widget {
      float: left;
    }
    #footer-widgets .footer-widget {
      width: 100%;
    }
    #footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {
      margin-bottom: 2% !important;
      margin-top: 15px;
    }
    div#footer-widgets div.footer-widget:last-child {
      margin-bottom: 0% !important;
    }
    #main-footer .widget_search {
      clear: both;
      width: 100%;
    }
  }

/* sidebar */
.et_pb_column.et_pb_column_1_3.et_pb_column_1.et_pb_column_single .et_pb_widget_area {
  text-align: right;
  border: 0;
}
@media screen and (max-width : 980px) {
  .et_pb_column.et_pb_column_1_3.et_pb_column_1.et_pb_column_single .et_pb_widget_area {
    text-align: center;
  }
  .et_pb_column .et_pb_widget_area .et_pb_widget.widget_nav_menu {
    width: 100%!important;
  }
}

.et_pb_tabs .et_pb_tabs_controls li {
  padding: 5px 10px;
}
/* 404 */
.error404 .entry {
  padding-top: 30px;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#et-top-navigation ul#top-menu > li {
  margin: 0 5px;
  padding-right: 15px;
}
#et-top-navigation ul#top-menu > li:last-child {
  padding-right: 0;
  margin-right: 0;
}
@media screen and (max-width : 1080px) {
  #et-top-navigation ul#top-menu > li {
    font-size: 11px;
  }
}
#et-top-navigation ul#top-menu > li > a {
  text-transform: uppercase;
}
#et-top-navigation ul#top-menu > li:not(:last-child)::after {
  content: "/";
  color: #ccc;
  position: absolute;
  right: 0;
  top: 0;
}
#et-secondary-menu {
  float: left;
  width: 100%;
}
#et-secondary-menu > ul {
  width: 100%;
}
#et-secondary-nav li {
  margin-right: 0;
  padding-left: 10px;
}
#et-secondary-menu > ul > li:not(:nth-child(-n+3)) {
  float: right;
}
#et-secondary-menu li.facebook-icon, #et-secondary-menu li.twitter-icon {
  font-family: "ETmodules" !important;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
}
#et-secondary-menu li.facebook-icon > a::before {
  content: '\e093';
}
#et-secondary-menu li.twitter-icon > a::before {
  content: '\e094';
}
#et-secondary-menu .facebook-icon span, #et-secondary-menu .twitter-icon span {
  display: none;
}
#et-secondary-menu > ul > li a {
  text-transform: uppercase;
}
span.mobile_menu_bar::before {
  color: #40A0B8;
}
.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li::before, blockquote {
  border-color: #40A0B8!important;
}
#top-header .container {
    padding-top: 0;
}
#top-header #et-secondary-menu {
  width: 78%;
  padding-top: 10px;
}
#top-header #searchform {
  position: relative;
  float: right;
  width: 20%;
}
#top-header #searchform .screen-reader-text {
    display: none;
}
#top-header #searchform input#s {
    width: 70%;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
#top-header #searchform input#s, #top-header #searchform input#searchsubmit {
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    height: 25px !important;
    line-height: normal !important;
    margin: 5px 0;
    padding: 0 5px;
    float: left;
}
#top-header #searchform #searchsubmit {
    background-color: #ddd;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    width: 30%;
}
#et-info {
  display: none;
}

@media screen and (max-width : 1024px) {
  li.no-mobile {
    display: none;
  }
}

#sidebar .sub-menu {
    padding-left: 15px;
}

#sidebar li.current-menu-item > a, #sidebar li.menu-item > a:hover {
  font-weight: bold;
}

#top-menu li ul.sub-menu, #top-menu li li {
  padding: 0;
}
#top-menu li ul.sub-menu {
  width: 200px;
  left: -20px;
}
#top-menu li ul.sub-menu li:hover {
  background-color: #40A0B8;
}
#top-menu li ul.sub-menu li:hover > a, #top-menu li ul.sub-menu li a:hover{
  color: #000;
}
#top-menu li ul.sub-menu ul.sub-menu  li:hover {
  background-color: #347889;
}
#top-menu li ul.sub-menu ul.sub-menu {
  top: 0;
  left: 200px;
  background-color: #40A0B8;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.et_pb_post {
  margin-bottom: 10px;
}

/* # Monday Updates */
.monday-updates
{
  width:100%;
  height:100%;
	overflow: hidden;
}
.embed-monday-updates
{
	width:100%;
  height:3500px;
  margin-top:-50px;
	margin-left:-5px;
	overflow: hidden;
}
.entry-content table {
    border:0;
    margin:0;
}
.entry-content table#templateContainer {
  padding: 10px;
}
.entry-content .mcnTextContent hr {
  display: none;
}
.entry-content table tr {
    padding: 0 20px;
    margin: 0;
}
.entry-content table td {
  border: 0;
}
.entry-content table tr td {
  border:0;
  padding: 0;
}
.entry-content table .mcnDividerBlock {
  display: none;
}
.entry-content table p:empty {
	display: none;
}
.entry-content table .mcnTextBlockInner{
  padding: 0;
}
.entry-content table .mcnTextBlockInner:before {
  content: "";
  display: block;
  border-top: 1px solid black;
}
.mcnFollowStacked {
  float: left;
  width: 33%!important;
}
.mcnFollowContentContainer p {
  display: none;
}
.mcnFollowStacked > tbody {
    display: block;
    margin: 0 auto;
    width: 68px;
}

@media screen and (min-width : 1024px) {
  .home .et_pb_post.category-monday-updates {
      min-height: 350px;
  }
}

/* # Calendar Home */
.calendar-leftcol {
  width: 100%;
}
.calendar-rightcol {
    border: 3px solid #40a0b8;
    padding: 10px;
    display: none;
    margin-top: 10px;
    width: 100%;
}
.start-date {
  font-size: 55px;
  line-height: 1em;
  padding: 10px;
  border-left: 7px solid #40A0B8;
  float: left;
  margin-bottom: 10px;
  width: 50%;
  text-align: center;
}
.start-date .first-word {
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  display: block;
}
.start-time {
  font-size: 24px;
  padding: 44px 0 0 0;
  float: left;
  width: 50%;
}
.calendar-title {
  font-size: 18px;
  background: rgba(153, 153, 153, 0.25);
  width: 100%;
  display: block;
  min-height: 80px;
  padding: 5% 10%;
  clear: both;
}
.calendar-title a {
  float: right;
  cursor: pointer;
}
.calendar-title a:hover, .calendar-title a:focus {
  font-weight: bold;
}
.simcal-prev{
  text-align: left;
}
.home .simcal-current  {
  visibility: hidden;
}
.simcal-next{
  text-align: right;
}
.simcal-default-calendar {
  overflow: hidden;
}
.simcal-default-calendar-list ul.simcal-events{
  margin: 0;
  padding: 0;
}
.simcal-default-calendar-list ul.simcal-events li.simcal-event {
  background: white;
  float: left;
  width: 22.75%;
  padding: 0;
  margin-right: 2%;
}
@media screen and (max-width : 1024px) {
  .simcal-default-calendar-list ul.simcal-events li.simcal-event{
     width: 45.5%;
  }
}
@media screen and (max-width : 768px) {
  .simcal-default-calendar-list ul.simcal-events li.simcal-event{
     width: 100%;
     margin-right: 0%;
  }
  .calendar-leftcol {
    margin-top: 20px;
  }
}


/* # Calendar Full */
.simcal-default-calendar-grid ul.simcal-events li.simcal-event {
  padding: 10px;
  font-size: 12px;
}
.simcal-default-calendar-grid .simcal-day {
  background-color: #fff;
}
.simcal-default-calendar-grid .simcal-day-label {
  background-color: #000;
  color: #fff;
}
.qtip.simcal-event-bubble  {
  font-size: 9px;
}

/* Partners */
.partners-logo {
  position: relative;
  height: 220px;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
}
.partners-logo > img {
  width: 70%!important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.post-type-archive-partners .et_pb_column {
  margin: 0 2% 2% 0;
}
.post-type-archive-partners .et_pb_filterable_portfolio .et_pb_portfolio_filters {
  margin: 40px 0;
}
.post-type-archive-partners .et_pb_portfolio_item {
  height: 100px;
}
.post-type-archive-partners .et_pb_portfolio_item.has-post-thumbnail {
  height: 320px;
}

/* Collaboration Areas */
.page-id-863 .et_pb_module.et_pb_toggle {
  min-height: 100px;
  float: left;
  width: 25%;
}
.page-id-863 div.et_pb_toggle_title::before {
  top: 20px;
  right: 20px;
  margin-top: 0;
  cursor: pointer;
}

.et_pb_gallery_item, .et_pb_portfolio_item, .et_pb_blurb_content, .et_pb_tabs_controls, .et_pb_tab, .et_pb_slide_description, .et_pb_pricing_heading, .et_pb_pricing_content, .et_pb_promo_description, .et_pb_newsletter_description, .et_pb_counter_title, .et_pb_circle_counter, .et_pb_number_counter, .et_pb_toggle_title, .et_pb_toggle_content, .et_pb_contact_main_title, .et_pb_testimonial_description_inner, .et_pb_team_member, .et_pb_countdown_timer_container, .et_pb_post, .et_pb_text, .product, .et_pb_widget {
    word-wrap: normal;
}

@media screen and (min-width : 768px) {
  .page-id-863 .et_pb_toggle_content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    overflow: hidden;
    background-color: #fff;
    z-index: 100;
    padding: 70px;
  }
  .page-id-863 .et_pb_module.et_pb_toggle {
    height: 80px;
  }
}
@media screen and (max-width : 1024px) {
  .page-id-863 .et_pb_module.et_pb_toggle {
     width: 50%;
  }
}
@media screen and (max-width : 768px) {
  .page-id-863 .et_pb_module.et_pb_toggle {
     width: 100%;
  }
  .page-id-863 .et_pb_toggle_content h5 {
    display: none;
  }
}


/* Meetings */
  .event-highlight {
    background-color: #e6eef0;
    margin: 20px 0;
    padding: 12px;
}
