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

#et-secondary-menu {
    float: none;
}

.et-social-icons {
	float: left;
}

#et-secondary-nav {
	float: right;
}

.et_mobile_menu {
    background: #cf3939;
    border-top: none;
}

.et_mobile_menu li a {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.widget_search #searchsubmit {
    top: 6px;
}

header#main-header.et-fixed-header, #main-header{
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}

#main-content h1, #main-content h2, #main-content h3, #main-content h4,  #main-content h5, #main-content h6, #main-content p, #main-content ol, #main-content ul {
    margin-bottom: 20px;
}

#main-content ol li,
#main-content ul li {
    margin-bottom: 10px;
}

.et_pb_post_content_0_tb_body ul.gform_fields {
    padding-left: 0 !important;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
background-color: #cf3939;
border: none;
color: #fff;
border-radius: 24px;
text-transform: uppercase;
letter-spacing: 2;
font-weight: 800;
padding: 15px 50px 15px 50px !important;
}


#top-menu li li a,
#top-menu li li li a {
    width: 220px;
    font-size: 18px;
}

#main-footer #footer-widgets {
    border-top: 10px solid #cf3939;
}

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

#footer-widgets .footer-widget li {
    padding-left: 0;
}

.footer-widget h4 {
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-widget:nth-child(1) img {
    max-width: 253px !important;
}

#footer-info {
    float: none;
    text-align: center;
}

#footer-info,
#footer-info a {
    font-size: 14px !important;
    font-weight: 400;
}

#footer-info {
    padding-bottom: 80px;
}

@media (min-width: 981px) {
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(1) {
    width: 38%;
}
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(2) {
    width: 15%;
}
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(3) {
    width: 20%;
}
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget:nth-child(4) {
    width: 18%;
}
.et_pb_gutters3 .footer-widget {
    margin-right: 3%;
    margin-bottom: 2.5%;
}
#home-news-row
.home-news-row .featured-img{
    width: 35%;
    float: left;
}
.home-news-row .post-excerpt {
    width: 65%;
    float: left;
}
.featured-img:nth-child(2) {
    float: right !important;   
}

.home-news-row .featured-img,
.home-news-row .post-excerpt {
    display: inline-block;
}
.clearfix {
  clear: both;
}
}

/* Add Button to Divi menu item with class menu_button */

@media only screen and ( min-width: 981px ) {
.menu-cta {
background-color: #cf3939;
color: #fff;
border-radius: 24px;
}

.home-news .et_pb_row {
    width: 100% !important;
}

.menu-cta a {
color: #fff !important;
text-transform: uppercase;
letter-spacing: 2;
font-weight: 800;
padding: 15px 50px 15px 50px !important;
}

#top-menu .menu-cta .sub-menu {
    display: none;
}

#top-menu .menu-cta.menu-item-has-children > a:first-child:after {
    display: none;
}

.et_header_style_left #et-top-navigation {
    padding: 36px 0 0 0 !important;
}

#et_top_search {
    float: right;
    margin: 16px 0 0 22px;
    position: relative;
    display: block;
    width: 18px;
}
}

@media only screen and ( max-width: 981px ) {
   .et_mobile_menu .menu-item-341 li a {
    border-bottom: 0px !important;
}
}

@media (max-width: 980px) {
  #et-secondary-menu {
    display: block !important;
}
#et-secondary-menu > ul > li a {
    padding-top: .75em;
}
#logo {
    height: 65px !important;
    max-height: 100% !important;
    width: auto;
    max-width: 100% !important;
}
.et_header_style_left .logo_container {
    height: 80px;
}
}

#et_mobile_nav_menu #menu-item-201 {
  margin-bottom: 20px !important;
}


#et_mobile_nav_menu .menu-item-302 a,
#et_mobile_nav_menu .menu-item-200 a,
#et_mobile_nav_menu .menu-item-341 a {
  border: none !important;
  padding: 5px 5% !important;
}

.et_mobile_menu li a {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

@media (max-width: 767px) {
#et-secondary-menu {
    text-align: left;
    display: block;
    float: none;
}
}

.home-news .et_pb_image {
  width: auto;
  box-shadow: 0px 2px 30px 0px rgb(0 0 0 / 30%);
}

.news-category h4 {
  color: #cf3939 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  margin-bottom: 15px !important;
  padding: 0 !important;
  text-transform: uppercase;
}

.news-title h3 {
  color: #282828;
  font-size: 36px !important;
  font-weight: 800 !important;
  margin-bottom: 30px !important;
  padding: 0 !important;
}

.home-news .et_pb_column_3_5 {
  padding-top: 3%;
}

@media only screen and ( min-width: 982px ) {
.home-news:nth-child(2) .et_pb_column_2_5 {
  float: right;
  margin-right: 0;
  margin-left: 5.5%;

}
}




.story {
  background-image: url(../../uploads/quote-icon.png);
    background-color: #fff;
    background-position: top left;
    background-repeat: no-repeat;
  border: 1px solid #cf3939;
  display: inline-block;
  float: left;
  padding: 8% 3% 5%;
  margin: 0 0.75em 1.25em;
  min-height: 450px;
  width: 30%;
}

.story-quote {
  color: #535353;
}

.story-author {
  color: #282828;
  font-weight: 800;
}

@media (min-width: 981px) {
.home-news .et_pb_section {
    padding: 0 !important;
}
}

@media only screen and ( max-width: 1100px ) {
  .story {
    padding: 12% 5% 7%;
    margin: 0 0 1em;
    min-height: 300px;
    width: 100%;
  }
}

@media only screen and ( max-width: 800px ) {
  .story {
    padding: 18% 8% 8%;
    margin: 0 0 1em;
    min-height: auto;
    width: 100%;
  }
}