/*
Theme Name: Baby Parenting
Version: 1.0
Description: Theme Customized by Baby Parenting
Author: DK Web
Template: Divi
*/
@import url("../Divi/style.css");

a:link, a:visited {
    color: #6699CC;
    text-decoration: none;
}

a:hover {
    color: #CC6666;
    background: #CCCCCC;
    text-decoration: none;
}


h1 {
    color: #CC6699;
    font-size: 18px;
    font-family: "arial", "verdana", "geneva", sans-serif;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.5;
}

h2 {
    color: #CC3399;
    font-size: 16px;
    font-family: "arial", "verdana", "geneva", sans-serif;
    font-weight: bold;
    text-decoration: none;
}

h3 {
    color: #CC3399;
    font-size: 14px;
    font-family: "arial", "verdana", "geneva", sans-serif;
    font-weight: bold;
    text-decoration: none;
}

.text {
    color: #000000;
    background-color: #ffffff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    text-decoration: none;
}

h1.commonheadings {
    color: #6699CC;
    font-size: 14px;
    font-family: "arial", "verdana", "geneva", sans-serif;
    font-weight: bold;
    text-decoration: none;
}

/* Header CSS */

#main-header,
#main-header.et-fixed-header {
    box-shadow: none !important;
}

.et_fullwidth_nav #main-header .container {
    padding: 0;
}

.et_header_style_centered #main-header .logo_container {
    height: auto;
    max-height: 100px;
    text-align: left;
    padding-bottom: 20px;
}

.et_header_style_centered header#main-header.et-fixed-header .logo_container {
    height: auto;
    max-height: 70px;
}

span.logo_helper {
    height: 0;
}

.et_header_style_centered nav#top-menu-nav {
    display: flex;
    background: #6699CC;
    margin-bottom: 35px;
}

#top-menu li {
    padding-right: 0;
}


.et_header_style_centered #top-menu > li > a {
    padding: 8px;
    color: #ccc;
}

.et_header_style_centered #top-menu > li.current_page_item,
.et_header_style_centered #top-menu > li.current-menu-parent {
    background: #ccc;
    position: initial;
}

.et_header_style_centered #top-menu > li.current_page_item a,
.et_header_style_centered #top-menu > li.current-menu-parent a {
    color: #6699CC;
}

.et_header_style_centered #top-menu > li.current-page-ancestor > a {
    color: #ccc;
}

.et_header_style_centered #top-menu > li > a:hover {
    color: #6699CC;
}


#top-menu .menu-item-has-children > a:first-child:after,
#et-secondary-nav .menu-item-has-children > a:first-child:after {
    content: initial;
}

#top-menu .menu-item-has-children > a:first-child,
#et-secondary-nav .menu-item-has-children > a:first-child {
    padding-right: 8px;
}

.nav li:hover > ul {
    visibility: hidden;
    opacity: 0;
}

.nav li.current-menu-item ul,
.nav li.current-menu-parent ul {
    visibility: visible;
    opacity: 1;
    width: 100% !important;
    background: #ccc;
    padding: 0;
    border: none;
    left: 0;
}

.nav li.current-page-ancestor ul {
    visibility: hidden;
    opacity: 0;
}

.et_header_style_centered #top-menu > li.current-page-ancestor {
    background: transparent;
    position: relative;
}

#top-menu li li {
    padding: 0;
    line-height: 1em;
    border-right: 1px solid #6699CC;
    margin: 4px 0;
}

#top-menu li li:last-child {
    border-right: none;
}

#top-menu li li a {
    padding: 2px 8px;
    width: auto;
}

.et_header_style_centered #top-menu li li a:hover {
    color: #CC6666;
    background: none;
}


.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-quicklinks {
    width: 250px;
    text-align: center;
    margin: 20px 0;
}

.home-quicklinks a:hover {
    background: none;
}


/* Footer CSS */
.footer-widget {
    margin: 0 !important;
}

.footer-widget .et_pb_widget,
#footer-info {
    float: none;
    text-align: center;
}

.footer-widget .et_pb_widget p {
    padding: 0;
    line-height: 1.5;
}

.bottom-nav li {
    padding-right: 0;
}

.bottom-nav li:after {
    content: '|';
}

.bottom-nav li:last-child:after {
    content: initial;
}

.bottom-nav,
#footer-bottom {
    text-align: center;
    padding: 0;
}


@media (max-width: 980px) {
    #footer-widgets {
        padding: 6% 0 !important;
    }
    .footer-widget:nth-child(n) {
        width: 100% !important;
        margin: 0 !important;
    }
}
@media (max-width: 479px) {
    #footer-widgets .footer-widget:nth-child(n),
    .footer-widget .fwidget {
        margin-bottom: 0 !important;
    }
}


