/*
Theme Name: Baby Divi
Version: 1.0
Description: A child theme of Divi
Author: Abby
Template: Divi
*/

@import url("../Divi/style.css");
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Arvo", serif;
}

/* Section Padding */
.et_pb_section {
  padding: 0 !important;
}

/* Top Menu */
#top-menu a:link,
#top-menu a:visited,
#et_top_search,
.mobile_menu_bar {
  border-top: 10px solid transparent;
}

#top-menu a:hover {
  border-top: 10px solid #07162e;
  opacity: 1 !important;
}

/* Mobile Menu */
.mobile_menu_bar::before {
  color: #07162e;
}

.et_mobile_menu {
  border-top: 10px solid #07162e;
}

#mobile_menu a:hover {
  background-color: #07162e;
  color: #fff;
  opacity: 1 !important;
}

/* Slider */
.et_pb_fullwidth_section .et_pb_slider .et_pb_slide {
  text-align: left;
  padding: 0;
}
.et_pb_module .et_pb_slides .et_pb_slide{
  height: 350px;
}

.et_pb_fullwidth_section .et_pb_slider h2,
.et_pb_fullwidth_section .et_pb_slider p {
  text-shadow: 2px 2px 2px black;
}

.et_pb_fullwidth_section .et_pb_slider h2 {
  font-size: 2em;
  text-transform: capitalize;
  margin-bottom: 0.25em;
}

.et_pb_fullwidth_section .et_pb_slide_content {
  width: 40%;
  min-width: 250px;
}

.et_pb_slide_description {
  padding: 0;
}

.et_pb_fullwidth_section .et_pb_slider .et_pb_container {
  min-height: 200px;
  padding: 100px 0;
}

.et_pb_fullwidth_section .et_pb_slide_description {
  width: 80%;
  max-width: 1080px;
  margin: auto;
}

/* Text Modules */
.et_pb_text {
  text-align: left;
  line-height: 1.3em;
  font-size: 1.1em;
  padding: 20px;
}

.et_pb_text h2 {
  font-weight: bold;
  text-transform: capitalize;
}

/* Author Block */
.author {
  font-weight: normal;
  font-size: 0.7em;
  display: block;
  margin-top: 10px;
}

/* Dark Box Styling */
.dark_box {
  background: #07162e;
  color: #fff;
}

.dark_box h2 {
  color: #fff;
}

/* Buttons */
.button, .button:visited {
  border: 1px solid #07162e;
  color: #07162e;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 0.8em;
  display: inline-block;
  margin-top: 10px;
  transition: 0.5s;
}

.button:hover {
  background: #07162e;
  color: #fff;
  padding: 5px 20px;
}

.button:active {
  text-decoration: underline;
}

.dark_box .button {
  background: #07162e;
  border: 1px solid #fff;
  color: #fff;
}

.dark_box .button:hover {
  background: #fff;
  color: #07162e;
}

/* Media Query */
@media all and (max-width: 980px) {
  .et_pb_fullwidth_section h2,
  .et_pb_fullwidth_section p {
    text-align: left;
  }
}

/* Overlay Text in Slider */
.et_pb_slider_fullwidth_off .et_pb_slide_content {
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 10px;
  background-color: rgba(7, 22, 46, 0.6);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Media Centering Fix */
.et_pb_media_alignment_center {
  padding: 0;
}


.et_pb_slider .et_pb_slide {
  display: none;
  float: left;
  margin-right: -100%;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 260px;
  text-align: center;
  list-style: none !important;
  background-position: 50%;
  background-size: 100%;
  background-size: cover;
}

.et_pb_slider_fullwidth_off .et_pb_slide {
  position: relative; 
  overflow: hidden;
}

.et_pb_column .et_pb_slider_fullwidth_off .et_pb_slide {
  position: relative; 
  overflow: hidden;
  height: 260px;
}

.et_pb_slider_fullwidth_off .et_pb_slide_content {
  position: absolute;
  margin-bottom: -20px;
  width: 100%;
  padding: 10px;
  background-color: rgba(7, 22, 46, 0.6);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}
