/* Additional and News Modal */
.additional-modal-overlay,
.news-modal-overlay,
.additional-modal-wrapper,
.news-modal-wrapper {
	display: none;
	position: fixed;
	top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.additional-modal-overlay.active,
.additional-modal-wrapper.active,
.news-modal-overlay.active,
.news-modal-wrapper.active {
    display: block;
    z-index: 9999999999999;
}

.additional-modal-overlay,
.news-modal-overlay {
	background-color:rgba(44, 44, 44, 0.8);
}

.additional-modal-wrapper .modal-inner,
.news-modal-wrapper .modal-inner {
	padding: 80px 30px 30px 30px;
	max-width: 600px;
	width: 100%;
	margin: 0 auto;
	color: #fff;
    height: 100%;
    overflow: auto;
	text-align: center;
}

.news-modal-wrapper .modal-inner {
	text-align: left;
}

.additional-modal-wrapper .modal-close,
.news-modal-wrapper .modal-close {
    position: fixed;
    right: 30px;
    top: 30px;
    font-size: 40px;
    color: #fff;
    line-height: 40px;
    cursor: pointer;
}

.additional-modal-wrapper .modal-title h3,
.news-modal-wrapper .modal-title h3 {
	font-size: 34px;
	color: #fff;
}

.news-modal-wrapper h3.post-title {
	color: #fff;
}

.additional-modal-wrapper .modal-text,
.news-modal-wrapper .modal-text {
	margin-bottom: 20px;
	font-size: 18px;
}

.additional-modal-wrapper .modal-inner .post-image {
	height: 170px;
    width: 170px;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* News Listing */
.news-modal-wrapper .news-item {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    padding-bottom: 0px;
    border-bottom: 1px solid #eee;
} 

.news-modal-wrapper .news-item {
	border-bottom: 1px solid rgb(238 238 238 / 25%);
	color: #fff;
	position: relative;
}

.news-modal-wrapper .news-item:last-child {
	border-bottom: 0px solid #eee;
}

.news-modal-wrapper .post-title {
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 0;
}

#wrapper .news-modal-wrapper .fusion-button {
	font-size: 12px;
	padding: 10px 15px;
	font-weight: bold;
}

.news-modal-wrapper .post-short-description {
    margin-bottom: 5px;
	font-size: 14px;
}

.news-modal-wrapper .post-image {
    height: 50px;
    min-width: 50px;
    max-width: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin-bottom: 10px;
	margin-right: 15px;
    border-radius: 100%;
}

.news-modal-wrapper .post-item-inner {
	display: flex;
	flex-direction: column;
}

.news-modal-wrapper .modal-news-item.new:after {
	content: '\f06a';
	font-size: 18px;
	color: #fff;
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
	-moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
	position: absolute;
    left: -5px;
    top: -5px;
}

.news-modal-wrapper .post-action {
    margin-left: 65px;
    margin-top: 20px;
}

/* With custom main selector */
#menu-item-2168 .counter,
#kb_navigation_sidebar .counter {
	display: none;
    position: absolute;
	transition: all 0.5s;
    top: -6px;
    right: -3px;
    background-color: red;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
}

#menu-item-2168 .counter {
    top: 12px;
    left: 37px;
}


#menu-item-2168.new .counter,
#kb_navigation_sidebar.new .counter {
	display: block !important;
}

@media(max-width: 800px) { 
    #kb_navigation_sidebar .news .counter {
		right: 140px !important;
	}
}