/*
 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
------------------------------------------------------- */


/* Header defaults */
h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.3;
  color: #0ca2d0;
}

h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 36px !important;
  line-height: 1.2;
  color: #4a5456;
}

h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 24px !important;
  line-height: 1.5;
  color: #4a5456
}

h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: #4a5456;
}

h5 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 16px !important;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 1;
  color: #0ca2d0;
}

h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #4a5456;
  text-transform: none !important;
}


/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {

.three-column-grid .et_pb_grid_item {
width: 28.333% !important;
margin: 0 7.5% 7.5% 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

}

/* Blog Grid styling */
.post-content-inner {
  margin-bottom: 30px;
}



/* top nav and main nav padding */
body #main-header
{
  margin-top:-18px;
}
/*mobile menu styling*/
/** App Style header and Drop Down Menu **/

@media (max-width: 980px) {
 .container.et_menu_container {
 width: calc( 100% - 60px);
 }
}

.et_mobile_menu {
 margin-left: -30px;
 padding: 5%;
 width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d";
}
.et_mobile_menu {
  border-top: 0px!important;
}
@media only screen and (max-width: 980px)  {
  #et-top-navigation span.mobile_menu_bar:before,
  #et-top-navigation span.mobile_menu_bar:after {
  color: #ffffff !important;
  }
}
.et_mobile_menu li a {
  background: #0CA2D0;
}
.et_mobile_menu li li {
  padding-left: 0;
  margin-left: -8%;
  margin-right: -8%;
}
.et_mobile_menu li a {
  border-bottom: 2px solid rgba(0,0,0,.05)
}
/*word break issues*/
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: normal!important;
}
/* Maintains header transparency */
.hsf-transparent-header .et-fixed-header#main-header,
.hsf-transparent-header .et-fixed-header#main-header .nav li ul,
.hsf-transparent-header .et-fixed-header .et-search-form,
.hsf-transparent-header .et-fixed-header#top-header,
.hsf-transparent-header .et-fixed-header#top-header #et-secondary-nav li ul {
  background-color: transparent;
  box-shadow: none !important;
}

/* Dear Lord, this is way too complicated */
/* Non-transparent header for blog posts */
.single-post #top-header,
.single-post .et-fixed-header#top-header,
.single-post .et-fixed-header#top-header #et-secondary-nav li ul,
.single-post #et-secondary-nav li ul,
.single-post #main-header,
.single-post #main-header .nav li ul,
.single-post .et-search-form,
.single-post #main-header .et_mobile_menu,
.single-post .et-fixed-header#main-header,
.single-post .et-fixed-header#main-header .nav li ul,
.single-post .et-fixed-header .et-search-form {
  background-color: #0ca2d0;
}

/*single news */
body.single-news #main-content>.container {
  width: 100%!important;
  max-width: none!important;
}
body.single-news #main-content {
  padding-top: 0!important;
}
.et_post_meta_wrapper {
  display: none;
}
#main-content .container {
  padding-top: 0px;
}

#et-secondary-nav {
  font-weight: 800;
}
#main-header .nav li ul {
  background-color: #ffffff !important;
  border-radius: 10px;
  border-bottom: 5px;
  border-top:0px!important;
  margin-left: -50px;
  margin-top: -25px;
}
/*sub nav menu */
.nav li ul {
  border-bottom: 8px solid #0ca2d0 !important;
   line-height: 1.5em !important;
}
#top-menu li {
  line-height: 1.3em;
}
#top-menu li li {
  padding: 0 20px 10px 0;
}
#main-header .nav li ul a:hover {
  color: #0ca2d0;
}

/* Footer styles
--------------------- */

.hsf-recent-post h4 {
  font-family: 'Roboto Slab', serif;
}

.hsf-recent-post p {
  margin-bottom: 20px;
}

#footer-widgets .hsf-recent-post a.hsf-read-more {
  display: block;
  background: url( 'images/icon-read-more-arrow.svg' ) no-repeat 46% 50%;
  color: #0ca2d0;
}


/* Nav styles */
#footer-widgets .footer-widget li {
  padding-left: 0;
}

#footer-widgets .footer-widget li:before {
  display: none;
}

/* Custom Social Icons */

.footer-widget .et-social-icons { /* wrapper UL */
  margin-bottom: 36px;
  float: none;
  list-style: none;
}

#footer-widgets .footer-widget .et-social-icons li { /* Single icon LI */
  margin-right: 20px;
  margin-left: 0;
  padding-left: 0;
  display: inline-block;
}

#main-footer .et-social-icons .et-social-icon a.icon:before {
  content: '';
  display: block;
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
}

.et-social-icons .et-social-facebook a.icon:before {
  background: url('images/icon_social_facebook.svg');
}

.et-social-icons .et-social-linkedin a.icon:before {
  background: url('images/icon_social_linkedin.svg');
}

.et-social-icons .et-social-instagram a.icon:before {
  background: url('images/icon_social_instagram.svg');
}

.et-social-icons .et-social-twitter a.icon:before {
  background: url('images/icon_social_twitter.svg');
}

#footer-info { /* copyright/legal links wrapper */
  float: none;
  text-align: center;
}

#footer-info a {
  font-weight: 400;
}

/* Offset border hero images */
.type-project .resourceimage span.et_pb_image_wrap,
.single-post .resourceimage span.et_pb_image_wrap { /* Show overflow so border displays */
  overflow: visible;
}

.type-project .resourceimage img,
.single-post .resourceimage img { /* Recreate border-radius */
  border-radius: 0 0 50px 50px;
}

.type-project .resourceimage span.et_pb_image_wrap:before,
.single-post .resourceimage span.et_pb_image_wrap:before { /* Offset border */
  content: '';
  display: block;
  position: absolute;
  top: 7px;
  left: 7px;
  width: 100%;
  height: 100%;
  border: 1px solid #ff9900;
  border-width: 0 1px 1px 1px;
  border-radius: 0 0 50px 50px;
  z-index: 42;
}

/* Header padding for single blog Posts */
.et_pb_row_0.et_pb_row.blogpostheader {
  padding-top: 80px !important;
}

/* Imported Posts styles
----------------------------- */

/* Get rid of the fake column line */
.et_right_sidebar #main-content #imported-post-container.container:before,
#main-content  #imported-post-container.container:before {
  display: none !important;
}

/* Get rid of the top padding so featured images butt against header */
#imported-post .et_pb_post .entry-content {
  padding-top: 0;
}

#imported-post .resourceimage {
  margin-bottom: 42px;
}

#imported-post .resourceimage span.et_pb_image_wrap:before {
  border-width: 1px;
  border-radius: 50px;
}

/* Intro divider */
#imported-post .et_pb_divider_0 {
  width: 70px;
}

#imported-post .et_pb_divider_0:before {
  border-top-color: #0CA2D0;
  border-top-width: 8px;
}

/* Section divider */
#imported-post .et_pb_divider_1:before {
  border-top-color: #ff9900;
  border-top-width: 8px;
}

#imported-post .et_pb_divider_1 {
  margin-bottom: 10px!important;
  width: 70px;
}

/* Tables in tabs, right/left image and copy colums (blurbs) */
@media only screen and ( max-width: 980px ) {
  .entry-content .et_pb_tab_content tr td {
  display: block;
  padding: 8px 0 16px;
  }

  .entry-content .et_pb_tab_content tr td img {
  display: block;
  float: none !important;
  }

  .et_pb_blurb_position_left .et_pb_main_blurb_image,
  .et_pb_blurb_position_right .et_pb_main_blurb_image { /* image wrapper */
  display: block;
  width: auto;
  max-width: 100%;
  margin-bottom: 30px;
  line-height: 0;
  }

  .et_pb_blurb_position_left .et_pb_main_blurb_image img,
  .et_pb_blurb_position_right .et_pb_main_blurb_image img {/* the image */
  display: block;
  margin: 0 auto;
  width: 20%;
  }

  .et_pb_blurb_position_left .et_pb_blurb_container,
  .et_pb_blurb_position_right .et_pb_blurb_container {
  display: block;
  padding-right: 0;
  padding-left: 0;
  }

} /* / tables and floated columns MQ */

/* ninja forms styling */
.nf-form-content label {
  display: none !important;
}
.nf-form-content input:not([type=button])
{
  background: #ffffff;
  border-left: 6px solid #FF9900;
  border-top: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-radius: 0px;
  box-shadow: 2px 4px 4px #0000001a;
}

.nf-form-fields-required {
  display: none !important;
}
.nf-error .nf-error-msg {
  color: #ffffff;
}
.nf-error.field-wrap .nf-field-element:after {
  background: #FFAD00;
}
.nf-error-msg, .ninja-forms-req-symbol {
  color: #ffffff;
}
.list-select-wrap div:after {
  color: #FFAD00 !important;
}
.nf-error-msg, .ninja-forms-req-symbol {
  color: #ffffff !important;
}

/* Ninja Forms Submit Button Styling
*/
nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
  background: rgba(0,0,0,0);
  border-color: #ffffff;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 2px 4px 4px #0000001a !important;
}
.nf-form-content input:not([type=button]), .nf-form-content textarea {
  color: #545E61;
  height: 40px;
  font-size: 16px;
  padding-left: 15px;
}
input#nf-field-4:hover {
  background: #FF9900;
  border-width: 1px;
  border-color: #FF9900;
  color: #ffffff;
}
/* select field*/
select, textarea {
  height: 40px !important;
  border-width: 0px;
  font-size: 16px;
  color: #5F696C;
}
select {
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  padding-left: 13px;
  border-left: 6px solid #FF9900;
  box-shadow: 2px 4px 4px #0000001a;
}
select:active {
  border-left-color: #FF9900 !important;
  box-shadow: 2px 4px 4px #0000001a;
}
select:focus {
  border-color: #FF9900;
  color: #5F696C;
}
/*white background submit button*/
.whiteform .nf-form-content input:not([type=button])
{
  background: #ffffff;
  border-left: 6px solid #0CA2D0;
  border-top: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-radius: 0px;
  box-shadow: 2px 4px 4px #0000001a;
}
.whiteform input#nf-field-4_1 {
  color: #0CA2D0;
  border-color: #0CA2D0;
}
.whiteform input#nf-field-4_1:hover {
  background: #ffffff;
  border-width: 1px;
  border-color: #0CA2D0;
  color: #0CA2D0;
}
.whiteform input#nf-field-4_1 {
  background: #0CA2D0;
  border-width: 1px;
  border-color: #0CA2D0;
  color: #ffffff;
}
.whiteform select {
  border-left: 6px solid #0CA2D0;
}
.whiteform select:active {
  border-left-color: #0CA2D0;
  box-shadow: 2px 4px 4px #0000001a;
}
.whiteform select:focus {
  border-color: #0CA2D0;
  color: #5F696C;
}
.whiteform .nf-error .nf-error-msg {
  color: #5F696C;
}
.whiteform .nf-error-msg, .ninja-forms-req-symbol {
  color: #5F696C !important;
}

/* ninja forms styling */

/*resource image with border

resourceimage span.et_pb_image_wrap:before {
display: block;
position: absolute;
top: 10px;
left: 10px;
width: 50%;
height: 50%;
border: 1px solid #FF9900;
border-width: 0 2px 2px 2px;
border-radius: 0 0 80px 80px;
}
*/

/*table top border issue */
.entry-content tr td, body.et-pb-preview #main-content .container tr td {
  padding: 6px 24px;
  border-top: 0px solid #eee;
}

/*tabbed background */
ul.et_pb_tabs_controls {
  background-color: #ffffff;
}

/*slider images mobile appear*/
.et_pb_slide_image {
  display: block!important;
}

/* Equalise the Tabs */

.equal-tabs .et_pb_tabs_controls li {
  width: 20%; /*change width of tabs here depending on the number of tabs you have*/
  text-align: center;
}

@media screen and (max-width: 768px){ /*change device breakpoint here depending on the number of tabs you have*/
.equal-tabs .et_pb_tabs_controls li {
  width: 100%;
  text-align: center;
}
}
/*blockquote*/
blockquote {
  border-color: #0CA2D0;
  font-size: 23px;
  line-height: 1.6;
  font-weight: 400;
  font-style: italic;
}

/*footer*/
#main-footer {
  margin-top: -25px;
}

/* ----- JULIE"S AREA ------- */

/*Resource Center Grid*/
.et_pb_grid_item
{
    box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.1);
    border-radius: 10px 10px 10px 10px;

}
.et_pb_filterable_portfolio_0.et_pb_filterable_portfolio .et_pb_module_header {
  padding:20px;
}

.et_pb_filterable_portfolio_0.et_pb_filterable_portfolio .post-meta, .et_pb_filterable_portfolio_0.et_pb_filterable_portfolio .post-meta {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {

  padding: 20px 20px;
  border: 1px solid #f4f4f4;
  background-color: #fff;
}

.et_portfolio_image img {
  border-radius: 10px 10px 0px 0px;
}

.et_pb_filterable_portfolio_grid .et_pb_portfolio_item, .et_pb_gallery_grid .et_pb_gallery_item {
border-color: #000000;
  border-bottom: 8px;
}

/*Blog Overview Page and blog section on home page Grid*/

.et_pb_blog_grid .et_pb_post {
  box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.1);
  border-radius: 10px 10px 10px 10px;
}

.et_pb_post a img {
  border-radius: 10px 10px 0px 0px;
}


/*Blog Overview Page Sidebar links*/
.et_pb_sidebar_0.et_pb_widget_area h3:first-of-type, .et_pb_sidebar_0.et_pb_widget_area h4:first-of-type, .et_pb_sidebar_0.et_pb_widget_area h5:first-of-type, .et_pb_sidebar_0.et_pb_widget_area h6:first-of-type, .et_pb_sidebar_0.et_pb_widget_area h2:first-of-type, .et_pb_sidebar_0.et_pb_widget_area h1:first-of-type, .et_pb_sidebar_0.et_pb_widget_area .widget-title, .et_pb_sidebar_0.et_pb_widget_area .widgettitle {
  font-family: 'Roboto Slab',Georgia,"Times New Roman",serif;
  font-weight: 400;
  font-size: 20px;
}

.et_pb_sidebar_0.et_pb_widget_area, .et_pb_sidebar_0.et_pb_widget_area li, .et_pb_sidebar_0.et_pb_widget_area li:before, .et_pb_sidebar_0.et_pb_widget_area a:hover {
  color: #0ca2d0!important;
}
