/*======================================
Theme Name: NUG theme
Theme URI: https://divicake.com/
Description: The fully customized theme for the National Unity Government Website. It can not be bought or downloaded.
Version: 1.0
Author: Divi Cake
Author URI: https://divicake.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li a:hover,
.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.current_page_item a {
  color: #D10101;
  opacity: 1;
}

.blog-header {
	width: 100%;
}

.blog-header .et_pb_slider_container_inner {
	display: flex;
	width: 100%;
	height: 100%;
}

.blog-header .et_pb_slides .et_pb_slide {
	padding-inline: 0;
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_image,
.blog-header .et_pb_slider_container_inner .et_pb_slide_description{
	flex: 1;
	width: unset
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_image {
	margin-right: 24px;
    position: relative;
    top: unset;
    bottom: unset;
    display: block;
    margin-block: auto !important;
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_image img {
	width: 100%;
	max-height: unset !important;
	object-fit: cover;
	height: max(60vh, 400px);
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_description{
	padding-block: 0;
	position: relative;
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_description .post-meta .author.vcard {
	display: none;
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_description .post-meta a[rel*="category"] {
	position: absolute;
    top: -40px;
    left: 0;
    padding: 4px 8px 4px 26px;
}

.blog-header .et_pb_slider_container_inner .et_pb_slide_description .post-meta a[rel*="category"]:before {
	position: absolute;
	content: "\70";
  	font-family: ETmodules;
	color: #D10101;
	font-size: 18px;
	left: 0;
	
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
	top: 100% !important;
}

.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li>ul>li {
	width: 100%;
}

.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li>ul>li>a {
	width: 100%;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li>a {
	padding-bottom: 10px;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul li {
  padding-inline: 0;
}

@media (min-width: 981px) {
    #left-area {
        width: 65.667% !important;
        padding-bottom: 0 !important;
		padding-right: 24px !important;
    }
	
	#sidebar {
        width: 31.3333% !important;
    }
	
	 .et_right_sidebar #main-content .container:before {
        right: calc(31.3333% + 28px) !important;
    }
}

#sidebar {
	padding-left: 24px !important;
	padding-bottom: 0 !important;
}

.pa-blog-featured .et_pb_post {
	box-shadow: unset;
    border-radius: 0;
    padding: 0;
}

.pa-blog-featured .entry-featured-image-url  {
    width: 100%;
    float: left;
    margin-bottom: 0!important;
}

.pa-blog-featured .entry-title,
.pa-blog-featured .post-meta,
.pa-blog-featured .post-content {
    width: 100%;
    float: left;
    padding: 0;
    padding-top: 10px;
    text-align: center;
  }
.pa-blog-child-list article:first-child {
	display:none!important;
}

.pa-blog-child-list article{
	display: inline-block;
    width: 100%;
    max-width: 48%;
    float: left;
    margin-right: 2% !important;
    position: relative;
    padding-left: 18.5%;
    margin-bottom: 2%;
} 
.pa-blog-child-list article > a.entry-featured-image-url{
	display: inline-block;
    width: 100%;
    max-width: 35%;
    float: left;
    margin-right: 4%;
    margin-bottom: 0;
    position: absolute;
    left: 0;
} 

.pa-blog-child-list article.et_pb_post > h2.entry-title{
	font-size: 14px !important;
    padding: 0;
    font-family: 'Red Hat Display', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
	text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 2.5em;
}

.pa-blog-child-list article > div.post-content{
	
} 
.pa-blog-child-list article > div.post-content .post-content-inner {
	text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 2.2em;
    line-height: 1.2em;
}
.pa-blog-child-list article > div.post-content .post-content-inner p {
	
    font-size: 12px;
}
.pa-blog-child-list article > div.post-content .more-link {
	
}

.pa-blog-featured .entry-featured-image-url {
	width: 100%;
	float: left;
	margin-bottom: 0 !important;
}

.pa-blog-sidebar article.category-videos{
	box-shadow: unset!important;
    border-radius: 0px;
    padding:0px!important;
}

@media (max-width: 981px) {
.pa-blog-child-list article{
	display: inline-block;
    width: 100%;
    max-width: 100%;
	padding-left: 0;
	}
	.pa-blog-child-list article > a.entry-featured-image-url {
		position:unset!important;
	}
	.pa-blog-child-list article.et_pb_post > h2.entry-title{
		max-height: 2.8em;
    	line-height: 1.4em !important;
	}
	.pa-blog-child-list article > *
	{
	 max-width: 61%;
   	 float: left;
	}
}
