/*
Theme Name:     Dillard Family (Extra)
Theme URI:      https://dillardfamily.com
Description:    Child theme of Extra
Author:         Abundant Designs
Template:       Extra
Version:        0.1.1
*/


/*
 * Header Logo
 */
 @media only screen and (min-width: 768px) {
    #main-header .logo {
        height: 200px !important;
        width: auto !important;
        position: absolute;
        background: #55a185;
        max-width: 250px;
        z-index: 8;
        box-shadow: 4px 2px 7px rgba(0,0,0,0.2);
        left: -30px;
    }
    .et-fixed-header #main-header .logo { 
         height: 125px !important;
         margin: 0 !important;
    }
}
@media only screen and (max-width: 767px) {
    #main-header .logo {
         margin: -34px 0 -25px 0;
         height: 150px;
    }
}


/*
* Second Navigation Bar
*/
@media only screen and (min-width: 768px) {
    #top-header .container {
         justify-content: flex-end;
    }
    #et-info .et-top-search .et-search-field {
         width: 215px;
    }
}

@media only screen and (max-width: 1024px) {
    #et-info .et-top-search {
         margin-left: auto;
    }
}


/*
* Navigation Bar
*/
@media only screen and (min-width: 768px) {
    #et-navigation {
         margin-left: auto;
    }
    #et-navigation>ul>li>a {
         padding: 50px 0 54px 0;
    }
    #et-navigation>ul>li>a:before {
         top: 60px;
    }
    
    .et-fixed-header .header.left-right #et-navigation>ul>li>a {
         padding-top: 30px;
    }
    .et-fixed-header #et-navigation>ul>li>a:before {
         top: 35px;
    }
    
   #et-mobile-navigation {
       margin: 45px 0;
   }
}

@media only screen and (max-width: 1024px) {
    #et-mobile-navigation #et-extra-mobile-menu li.menuitem-desktop {
         display: none;
    }
}
@media only screen and (min-width: 1025px) {
    #et-navigation>ul>li.menuitem-mobile {
        display: none;
    }
}



/*
* Mega Menus
*/
#et-navigation .mega-menu-featured .featured-post h2 {
    font-weight: normal;
    font-size: 24px;
}
#et-navigation .mega-menu-featured .title {
    font-family: 'Open Sans',sans-serif;
    text-transform: uppercase;
    font-size: 15px;
}
#et-navigation .mega-menu-featured .recent-post .post-meta h3 a {
    font-size: 18px;
}


/*
* Google Ads
*/
.et_extra_layout .et_pb_row .google-auto-placed {
   margin-left: -16px;
   margin-right: -16px;
}


/*
* Search Results
*/
@media only screen and (min-width: 768px) {
    body.search .et_pb_extra_column_main {
         margin-top: 60px;
    }
}


/*
* Post Headers
*/
.archive h1 {
    text-align: center;
}
@media only screen and (min-width: 768px) {
    .post-header h1 {
        font-size: 50px;
    }
    .related-posts-header h3 {
        font-size: 24px;
        line-height: 1.5;
    }
}


/*
* Links
*/
.et_pb_module.et_pb_text.et_pb_bg_layout_dark a {
    color: #fff;
}


/*
* Sidebar
*/
.et_pb_widget .widgettitle {
    background: #316554;
    font-size: 20px;
    font-weight: normal;
}
.jetpack_subscription_widget > form,
.widget_mc4wp_form_widget > form     {
   padding: 0;
   margin: 25px;
}
.jetpack_subscription_widget #subscribe-email {
   margin-bottom: .75em;
   margin-top: 1em;
}
.jetpack_subscription_widget .success,
.jetpack_subscription_widget .error {
   margin: 25px;
}
.jetpack_subscription_widget .error,
.widget_mc4wp_form_widget .mc4wp-success {
   color: red;
}


/*
* Contact Forms
*/
.et_contact_bottom_container .clearfix:after {
    display: inline-block;
}
.et_contact_bottom_container .et_pb_button:hover {
    padding: 10px 32px 10px 12px;
}
.et_contact_bottom_container .et_pb_button:after {
    top: 6px;
}

.mc4wp-form input[type=email] {
   width: 95%;
}


/*
* Column layouts
*/
@media only screen and (max-width: 1024px) {
    .et_extra_layout .et_pb_column_1_3 {
         margin-bottom: 50px !important;
    }
}

/*
* Photo Permissions
*/
.photo-permissions {
    font-style: italic;
    margin-top: 3em;
}
.archive.category-photos .photo-permissions {
    margin-top: 1em;
    margin-bottom: 2em;
}

/*
* Related Posts
*/
.related-post .title a {
    font-size: 20px;
}

/*
* Comments
*/
.single article.comment-body {
    padding-right: 0;
}

/*
* Old Social Icons Widget
*/
body .widget_wpcom_social_media_icons_widget ul li {
    display: inline-block;
    padding-right: 0;
}
.widget_wpcom_social_media_icons_widget .genericon,
.widget_wpcom_social_media_icons_widget .genericon:visited {
    color: #59a286;
    font-size: 38px;
}
.widget_wpcom_social_media_icons_widget .genericon:hover {
    color: #316554;
}


/*
* New Social Icons Widget
*/
body .jetpack_widget_social_icons ul {
   padding: 18px 20px 0 20px;
}
body .jetpack_widget_social_icons ul li {
   padding-right: 10px;
}
.jetpack_widget_social_icons a,
.jetpack_widget_social_icons a:visited {
    color: #59a286;
}
.jetpack_widget_social_icons a:hover {
    color: #316554;
}


/*
* Footer Widgets
*/
#footer {
    overflow: auto; /* Help with AdSense footer ad */
}
#footer .et_pb_widget:first-of-type {
    padding-top: 50px;  /* Help with AdSense footer ad */
    margin-bottom: 20px;
}
.widget_twitter_timeline iframe {
    height: 450px !important;
}
#footer .et_pb_extra_column.column-1 .widget_media_image {
    margin-bottom: 0;
}
#footer .et_pb_extra_column.column-1 .et_pb_widget.widget_text .textwidget {
    padding-top: 0;
}
#footer .et_pb_extra_column.column-1 .et_pb_widget.widget_text .textwidget p {
    color: white;
    font-size: 15px;
}
#footer .et_pb_extra_column.column-1 .et_pb_widget.widget_text .textwidget a {
    font-size: 15px;
    text-decoration: underline;
}