/*
 Theme Name:   Extra Child
 Theme URI:    https://www.elegantthemes.com/gallery/extra/
 Description:  Child theme for the Extra theme
 Author:       Copi Lot for Luke Myers
 Author URI:   https://dev.bmhmag.com
 Template:     Extra
 Version:      1.0
*/


/* Your global overrides can go here if needed */


.boxed_layout .container {
	width: 96%;
}

#main-content{padding-top: 30px;}

.nav li li {line-height:1.2em;}
.nav li ul {padding: 5px 0;}

/*
#content-area h1 h1 a {font-size:30px!important;}
#content-area h2, h2 a {font-size:26px!important;}
#content-area h3, h3 a {font-size:22px!important;}
#content-area h4, h4 a {font-size:18px!important;}
#content-area h5, h5 a {font-size:16px!important;}
#content-area h6, h6 a {font-size:14px!important;}
*/

#main-content h1, h1 a {font-size:20px!important;}
#main-content h2, h2 a {font-size:18px!important;}
#main-content h3, h3 a {font-size:16px!important;}
#main-content h4, h4 a {font-size:14px!important;}
#main-content h5, h5 a {font-size:12px!important;}
#main-content h6, h6 a {font-size:12px!important;}
#main-content h1 h1 a, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a {
    font-weight: normal;
    text-transform: none;
    letter-spacing: 1.1px;
    line-height: 1.1em;
}

.featured-posts-slider-module .et-pb-controllers {
	top: unset;
	bottom: 0;
	padding: 0;
} 

.featured-posts-slider-module .et-pb-controllers a, 
	.featured-posts-slider-module .et-pb-controllers a.et-pb-active-control {
	height: 10px;
    width: calc(100%/5 - 10px) ;
}

/*
#block-43 > p:empty {
    display: none; ;
}
*/
/*
p:empty { display: none !important; }
*/



/*.etad {all:unset;}*/

.page-excerpt-post-content {padding:10px 20px 20px;}

.read-more-button {padding:6px 12px 6px 12px;}
.read-more-button:hover {padding:6px;}

.wp-block-media-text>.wp-block-media-text__media .wp-block-media-text__media img, .wp-block-media-text__media video {
        vertical-align: top;
}


/* .m-a-box {width:90%!important;} */
.m-a-box-content {padding: 20px;}
.m-a-box-profile-title {display:none;}
.m-a-box-data .m-a-box-bio {margin-top: 10px;}
.m-a-box-related-title {margin:0!important;}
.m-a-box-related-entry-title{line-height:1.1em!important;}
.m-a-box-related-entry-date {display:none; margin: .3rem;}

/*
.featured-posts-slider-module .et-pb-controllers {
    bottom: 0px ;
	top: unset;
	line-height:14;
	padding: 0;
}

.featured-posts-slider-module .et-pb-controllers a {
  /*  width: calc(100% / 5)!important;
    border-radius: 20px;
    margin-right: 0px;
}
/*
.featured-posts-slider-module .et-pb-controllers a:hover {
    background-color: #ffffff !important;
    transition: all 0.2s ease-in-out;
} 
*/

/*.standfirst {
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    color: #666;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #EAE6DF;
    padding-bottom: 1.5rem;
} */




/* START Single Post Widget */
/* ----------------------- */

/* Widget wrapper */ 
.page-excerpt-widget {
    margin-bottom: 20px;
    overflow: hidden; /* helps contain floated images */
}


.page-excerpt-widget .page-excerpt-post-content:after {
    content: "";
    display:block;
    clear:both;
}

/* Featured image styles */
.page-excerpt-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Floated left image */
.page-excerpt-image-left {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 40%; /* adjust as needed */
}

/* Floated right image */
.page-excerpt-image-right {
    float: right;
    margin: 0 0 10px 15px;
    max-width: 40%; /* adjust as needed */
}

/* Top and bottom images just take full width */
.page-excerpt-image-top,
.page-excerpt-image-bottom {
    display: block;
    margin: 0 auto 10px auto;
}

/* Excerpt text */
/*.page-excerpt-text {
/*    font-size: 1rem; 
    line-height: 1.5;
    color: #444; 
}
*/

/* Missing excerpt message */
.page-excerpt-missing {
    color: #a00;
    font-style: italic;
}

/* Read More link as a button */
.page-excerpt-read-more {
    display: inline-block;
    padding: 6px 12px;
    background: #0073aa;
/*    color:inherit; /* #fff; */
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}
/*
.page-excerpt-read-more:hover {
    background: #005f8d; 
} */

/* Responsive adjustments */
@media (max-width: 600px) {
    .page-excerpt-image-left,
    .page-excerpt-image-right {
        float: none;
        display: block;
        margin: 0 auto 10px auto;
        max-width: 100%;
    }
}

/* END Single Post Widget */
/* --------------------- */
