/*
 Theme Name:   Divi Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Divi Child Theme created for CureDRPLA
 Author:       Shohei Shibata
 Author URI:   http://shoheishibata.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --blue: #123882;
  --white: #fff;
  --orange: #f25901;
  --header-logo-width: 295px;
}

h1,h2,h3,h4,h5,h6 {
  padding-bottom: 0.5em;
}

a:hover {
  text-decoration: underline;
}
#top-menu-custom ul.et-menu {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 0 !important;
}
#top-menu-custom ul.et-menu>li {
  margin-top: 0;
}
#top-menu-custom ul.et-menu>li>a,
#top-menu-custom ul.et-menu>li>a::after {
  padding-top: 1em;
  padding-bottom: 1em;
}
/*#top-menu-custom ul.et-menu>li:last-child a {
  background-color: var(--orange);
  padding-left: 1em;
  padding-right: 1em;
}*/
.nav li ul {
  width: 240px !important;
}
.nav li ul.sub-menu a {
  width: 200px;
  padding-left: 0;
  padding-right: 0;
}
.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul {
  align-items: center;
}
.et_mobile_menu>li>form {
  margin: 1em 0;
}
@media (max-width: 980px) {
  /*
  #top-menu-custom {
    height: 50px;
  }
  */
  .et_pb_fullwidth_menu .et_mobile_nav_menu, .et_pb_menu .et_mobile_nav_menu {
    margin-top: 17px;
  }
  .et_mobile_nav_menu .mobile_menu_bar:before {
    font-size: 44px;
  }
  .et_mobile_nav_menu>a:hover {
    text-decoration: none;
  }
}
@media (min-width: 981px) {
  #top-menu-custom ul>li>ul {
    /*margin-top: 1em;*/
  }
}

/*** Current Initiatives ***/
#info-sites-support-groups i,
#info-sites-support-groups span {
  vertical-align: middle;
}
#info-sites-support-groups i {
  margin-right: 10px;
}

/* Spacing of ul in body text */
.et-l--body ul {
  margin-top: 1em;
  padding-bottom: 0;
}
.et-l--body ul>li {
  line-height: 2em; 
  margin: 1em 0;
}

/*** Table of Contents ***/
.table-of-contents ol {
  padding-bottom: 0;
}

/*** Footer ***/

.bottom-nav {
  text-align: center;
}
#footer-info {
  /* This is for the credit */
  text-align: center;
  float: none;
}
.footer-widget-center-aligned {
  text-align: center;
}
#footer-section-2 a {
  color: inherit;
  text-decoration: underline;
}
#footer-section-2 a:hover {
  color: var(--orange);
}
#footer-section-1-contact-info i {
  color: var(--blue);
  margin-right: 5px;
}

/* For Newsletter Archive page */
.display_archive {
  font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif !important;
  font-size: 100% !important;
  line-height: 2em;
  color: #666;
  font-weight: 500;
}
/*** DESKTOP ***/
@media only screen and (min-width: 981px) {
  .et_menu_container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .et_header_style_centered #logo {
    max-height: 90% !important;
  }
}

/*** MOBILE ***/
@media (max-width: 980px) {
  #main-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .et_menu_container {
    width: 100%;
  }
  .logo_container img {
    margin: 10px 0;
    margin-bottom: 10px !important;
  }
  #et-top-navigation a {
    color: var(--blue);
  }
  .et_fixed_nav #main-header,
  .et_fixed_nav #top-header,
  .et_non_fixed_nav.et_transparent_nav #main-header,
  .et_non_fixed_nav.et_transparent_nav #top-header {
    position: fixed;
  }
  .mobile_nav {
    background-color: transparent !important;
  }
  .et_header_style_centered.et_hide_fixed_logo #main-header.et-fixed-header .logo_container {
    opacity: 0;
  }
  .mobile_menu_bar::before {
	color: #fff !important;
  }
}

