/*
 Theme Name:     Divi Child
 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
*/

/* =Theme customization starts here
------------------------------------------------------- */

p {
  padding-bottom: 1.3em;
}

body #top-menu>li>a {
  font-size: 15px;
  display: none;
}
h1,h2,h3,h4,h5,h6 {
  margin-top: 1.7em;
  font-weight: 700;
}
h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child {
  margin-top: 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a  {
  color: #6320ae;
}

#main-header .logo_container {
  background: #431b64;
  background: linear-gradient(to bottom, #431b64 0%, #1f124a 100%);
}
body .et_pb_post_title_0 .et_pb_title_container h1.entry-title,
body .et_pb_post_title_0 .et_pb_title_container h2.entry-title,
body .et_pb_post_title_0 .et_pb_title_container h3.entry-title,
body .et_pb_post_title_0 .et_pb_title_container h4.entry-title,
body .et_pb_post_title_0 .et_pb_title_container h5.entry-title,
body .et_pb_post_title_0 .et_pb_title_container h6.entry-title
{
   font-size: 36px;
}
.et-fixed-header #top-menu .donate_now_link a,
#top-menu .donate_now_link a {
  background: #efcf2f;
  background: linear-gradient(to bottom, #efcf2f 0%, #c5ac2e 100%);
  color: white !important;
  text-shadow: 0 1px 2px #9e914e;
  font-weight: 700;
}

#top-menu {
  display: flex;
}

#top-menu li {
  padding-right: 0;
  display: flex;
  align-items: center;
}

#top-menu>li>a, .et_header_style_centered #top-menu>li>a {
  display: block;
  text-align: center;
  line-height: 1;
  padding: 1.3em 1em;
}

#top-menu li li {
  padding: 0;
}

body #top-menu .sub-menu .menu-item-has-children>a:first-child {
  text-align: left;
}

#top-menu ul.sub-menu li a {
  color: white;
  font-size: 1.1em;
  width: 100%;
  line-height: 1.2;
}

ul.sub-menu li {
  border-bottom: 1px solid #ffffff;
}

#top-menu.nav li ul.sub-menu li, #top-menu.nav li ul.sub-menu {
  min-width: 100%;
}

#top-menu>li {
  vertical-align: text-top;
}

.et-fixed-header #top-menu ul.sub-menu a, .nav li ul.sub-menu a {
  color: white !important;
}

.nav li ul.sub-menu {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3d1769+0,1f1641+100 */
  background: #3d1769;
  /* Old browsers */
  background: -moz-linear-gradient(left, #3d1769 0%, #1f1641 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #3d1769 0%, #1f1641 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #3d1769 0%, #1f1641 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d1769', endColorstr='#1f1641', GradientType=1);
  /* IE6-9 */
  border: 1px solid white;
  padding-top: 0px;
  padding-bottom: 0px;
  border-top: 4px solid gold;
  top: 50px;
  line-height: 1.2;
}

#top-menu li.current-menu-ancestor, #top-menu li.current-menu-item, .nav li:hover {
  background: linear-gradient(to bottom, #efcf2f 0%, #c5ac2e 100%);
}

#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .nav li:hover a {
  color: #fff !important;
  text-shadow: 0 1px 2px #9e914e;
}

.nav li ul.sub-menu li:hover {
  background: linear-gradient(to right, #5b328a 0%, #685d92 100%);
}

.nav li ul.sub-menu ul.sub-menu {
  top: 0;
}

.et_header_style_centered #main-header div#et-top-navigation {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#edecf1+0,ffffff+15,ffffff+85,edecf1+100 */
  background: #edecf1;
  /* Old browsers */
  background: -moz-linear-gradient(top, #edecf1 0%, #ffffff 15%, #ffffff 85%, #edecf1 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #edecf1 0%, #ffffff 15%, #ffffff 85%, #edecf1 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #edecf1 0%, #ffffff 15%, #ffffff 85%, #edecf1 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edecf1', endColorstr='#edecf1', GradientType=0);
  /* IE6-9 */
}

body .et-fixed-header#top-header {
  display: none;
}

body.et_fixed_nav.et_secondary_nav_enabled #main-header {
  top: 0px !important;
}

body.admin-bar.et_fixed_nav.et_secondary_nav_enabled header#main-header {
  top: 32px !important;
}

#main-header:after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 1px;
  z-index: -1;
  /* transform: scale(.9); */
  box-shadow: 0px 0px 26px 2px #3d0155;
}

.donate_now_link {
  display: inline-block;
  vertical-align: text-bottom;
  ;
}

#top-menu .menu-item-has-children>a:first-child, #et-secondary-nav .menu-item-has-children>a:first-child {
  padding: 1em;
}

#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
  top: auto;
  right: auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

#top-menu .menu-item-has-children .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children .menu-item-has-children>a:first-child:after {
  top: 50%;
  right: 10px;
  width: auto;
  left: auto;
  transform: translate(0, -50%);
  content: "e";
}

/* #top-menu li .menu-item-has-children > a:first-child:after {
  right: -40px;
  width: 20px;
  display: inline-block;
  content: "5";
  line-height: 2em;
  top: -10px;
} */

/* #top-menu > li + li:before {
    position: absolute;
    left: 0px;
    content: '';
    height: 60%;
    width: 4px;
    background-color: #E7C337;
    top: 20%;
} */

/* #top-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child
  {
      display: block;
      text-align: center;
      padding-left: 20px;
      padding-right: 20px;
      padding-top: 30px;
      line-height: 1em;
      padding-bottom: 15px;

} */


body.et_header_style_centered.et_hide_fixed_logo #page-container #main-header.et-fixed-header .logo_container {
  height: 0;
}

#main-header .logo_container_divider {
  height: 5px;
}

.logo_container .textlogo {
  font-size: 2.5em;
  vertical-align: text-bottom;
  font-weight: 500;
  color: #ffffff;
  /* font-variant: small-caps; */
  letter-spacing: .08em;
  text-decoration: none;
}

.threecolmodule .et_pb_column_1 {
  border-right: 5px solid #130F28;
}

.threecolmodule .et_pb_column_3 {
  border-left: 5px solid #130F28;
}

.et_pb_title_featured_container+.et_pb_title_container {
  margin-top: 20px;
}

.entry-content .et_pb_section_0 .et_pb_module.et_pb_text {
  position: relative;
}

.et_pb_row.custom_spacer {
  padding-top: 0px;
}

.entry-content .custom_spacer {
  padding-left: 30px;
}

.entry-content .custom_spacer:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 6px;
  height: 60px;
  background-color: #E9CF38;
}

.et_pb_text_inner table {
  border: 0px;
}

.et_pb_text_0 .et_pb_text_inner h1 {
  text-decoration: none;
}

path {
  stroke-width: 1.75px;
  stroke-opacity: 1;
  stroke: #333;
}

.et_pb_column_4_4 {
  /* font-size: 20px; */
  /* line-height: 1.7; */
}

/*** Hide Sidebar for archive pages ***/

.post-type-archive-link_of_interest #sidebar, .post-type-archive-program.archive #sidebar {
  display: none;
}

/*** Take out the divider line between content and sidebar ***/

#main-content .container:before {
  background: none;
}

#map-container {
  display: flex;
}

#map-sidebar {
  flex: 1;
  max-width: 0px;
  border: 1px solid #ccc;
  border-right-width: 0;
}

#map-sidebar {
  flex: 1;
  max-width: 0px;
  transition: all ease-in-out 0.3s;
  height: 500px;
  overflow-y: scroll;
}

.sidebar-open #map-sidebar {
  max-width: 25%;
}

#map-sidebar ul {
  padding: 0;
  margin: 0
}

#map-sidebar ul li {
  padding: 1em;
  margin: 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.3;
}

#map-sidebar ul li:last-child {
  border-bottom: 0 none;
}

#map-sidebar ul li h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 0.3em;
  padding: 0;
}

#map-sidebar ul li h3 small {
  font-size: 11px;
  color: #999;
  font-style: italic;
  white-space: nowrap;
}

#map {
  height: 500px;
  flex: 4;
}

#map .location, #map .redo-search {
  border: 0 transparent;
  height: 40px;
  display: table-cell;
  vertical-align: middle;
  position: relative;
  color: rgb(86, 86, 86);
  font-family: Roboto, Arial, sans-serif;
  user-select: none;
  font-size: 18px;
  background-color: rgb(255, 255, 255);
  padding: 0px 17px;
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  background-clip: padding-box;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  min-width: 50%;
  font-weight: 500;
  margin-top: 10px;
}

#map .redo-search {
  cursor: pointer;
  margin-bottom: 10px;
  width: auto;
  max-height: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
}

#map.moved .redo-search {
  max-height: 10000px;
  opacity: 1;
}

#map button.gm-fullscreen-control {
  margin-top:0!important;
}
#map button.print {
  background: none rgb(255, 255, 255);
  border: 0px;
  margin: 10px;
  margin-bottom:0;
  padding: 0px;
  position: absolute;
  cursor: pointer;
  user-select: none;
  border-radius: 2px;
  height: 40px;
  width: 40px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  overflow: hidden;
  top: 18px;
  right: 0px;
}
#map button.print img {
  width: 30px;
  height: 30px;
}


img[style*="float: left"] { margin-right: 15px; margin-top: 20px }
img[style*="float: right"] { margin-left: 15px; margin-top: 20px }

#post-255896 .et_pb_section_0 .et_pb_row_0 {
  display: none;
}

h2.et_pb_slide_title a {
    color: #fff;
}

@media only screen and (min-width: 1350px) {
  .et_builder_inner_content>.et_pb_section {
    padding-top: 0;
  }
}

/*** Make sure navigation links fit on one line ***/

@media (min-width: 981px) and (max-width: 1275px) {
  body #top-menu li.menu-item>a:first-child, body #top-menu>li>a {
    font-size: 13px;
  }
  body #top-menu li.menu-item.donate_now_link>a:first-child {
  }
  #top-menu>li+li:before {
    left: 2px;
    height: 40%;
    width: 2px;
    top: 30%;
  }
  .logo_container .textlogo {
    font-size: 2em;
  }
}

/*@media (min-width: 981px)  and  (max-width : 1275px) {*/

/*** Expand the content area to fullwidth ***/

@media (min-width: 981px) {
  #left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
  }

  #map .gm-style-iw .column {
    display: inline-block;
    width: 45%;
    vertical-align: top;
    margin-right: 5%;
  }

  #map .gm-style-iw .column+.column {
    margin-right: 0;
  }
}

@media (max-width: 980px) {
  #main-header>.container {
    width: 100%
  }
  .et_header_style_centered #main-header {
    padding: 0px 0;
  }
  .logo_container {
    padding: 20px 0px;
  }
  .et_header_style_centered header#main-header .logo_container {
    max-height: none;
    padding: 9px;
  }
  .logo_container img#logo {
    display: none;
  }
  .logo_container span.logo_helper, .logo_container .textlogo {
    font-size: 1.2em;
    display: block;
    line-height: 1.4em;
  }
  .et_header_style_centered #et_mobile_nav_menu {
    margin-top: 0px;
  }
  .threecolmodule .et_pb_column_1 {
    border-right: 0px solid #130F28;
  }
  .threecolmodule .et_pb_column_3 {
    border-left: 0px solid #130F28;
  }
  body .rightside .hp_module_heading_1:after, body .middleside .hp_module_heading_1:after, body .middleside .hp_module_heading_1:after {
    left: 0%;
  }
  .et_pb_blurb.et_pb_text_align_right .et_pb_blurb_content .et_pb_blurb_container, .three_section_frontpage_module .hp_module_heading_1, .et_pb_blurb_content, .three_section_frontpage_module .et_pb_column .et_pb_blurb_content {
    text-align: left !important;
  }
  #map-container {
    flex-direction: column-reverse;
    margin: 0 -12%;
  }
  #map-sidebar {
    max-height: 0px;
    height: auto;
  }
  .sidebar-open #map-sidebar {
    max-width: 100000px;
    max-height: 100000px;
    border-right-width: 1px;
  }
  #map .location {
    top:50px!important;
    left: 10px!important;
    width: 195px!important;
    min-width: 0!important;
  }
  .service-officer-map {
      width: 80%;
      margin: 0 auto;
      text-align: center;
  }
  .commander_output {
    background: transparent!important;
    color: #000!important;
  }
  .commander_output h3,.commander_output h4 {
    color: #000!important;
  }
  .et_builder_inner_content > .et_pb_section:first-child {
    padding-top: 0;
  }

}

/** @media (max-width: 980px){ **/

@media (min-width: 981px) {
  .et_fullwidth_nav #main-header .container {
    width: 100%;
    max-width: 100%;
    padding-right: 0px;
    padding-left: 0px;
  }
  .et_header_style_centered #page-container #main-header .logo_container {
    height: 100px;
  }


}
@media (max-width: 640px) {
  body .et_pb_post_title_0 .et_pb_title_container h1.entry-title,
  body .et_pb_post_title_0 .et_pb_title_container h2.entry-title,
  body .et_pb_post_title_0 .et_pb_title_container h3.entry-title,
  body .et_pb_post_title_0 .et_pb_title_container h4.entry-title,
  body .et_pb_post_title_0 .et_pb_title_container h5.entry-title,
  body .et_pb_post_title_0 .et_pb_title_container h6.entry-title
  {
     font-size: 30px;
  }
}
