.pksca-notification-bar {
    display: flex;
    overflow: hidden; /* Hide anything outside the container */
    position: relative; /* Make sure child elements are positioned correctly */
    justify-items: center;
    margin-bottom: 2em;
    padding: 0.5em;
    height:auto;
    min-height:6.7em;
    transition: all 0.5s ease-in-out; /* Smooth opacity and visibility transitions */
}

.pksca-notification-bar .notification {
    display: none; /* Ensure all notifications are displayed in same space*/
    opacity: 0; /* Initially make them invisible */
    visibility: hidden; /* Initially hide them */
    transition: all 0.5s ease-in-out; /* Smooth opacity and visibility transitions */
    /*transition: opacity 0.5s ease, visibility 0s 0.5s; *//* Smooth opacity and visibility transitions */
    flex: 0 0 100%; /* Ensure each notification takes up the full width */
    width: 100%;
}

.pksca-notification-bar .notification.show {
    display:flex;
    opacity: 1; /* Make the notification visible */
    visibility: visible; /* Ensure it's visible */
    transition: all 0.5s ease-in-out; /* Smooth transition */
    /*transition: all 0.5s ease-in-out, visibility 0s 0s;*/ /* Smooth transition */
    gap: 0.5em;
}

.pksca-notification-bar .notification-thumbnail {
    max-height: 85px; /* Ensure image size is controlled */
    width: auto;
    margin-top: 0.3em;
}

.pksca-notification-bar .notification-thumbnail img{
    max-height: 85px;
    width: auto;
}

.pksca-notification-bar .notification-content {
	flex-direction: column;
    	display: flex;
    	width: 100%;
}

.pksca-notification-bar .notification-content p {
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 640px) {
    .pksca-notification-bar{
	min-height: 16em !important;
    }

    .pksca-notification-bar .notification-thumbnail img{
        max-height: 50px;
        width: auto;
    }

}

@media only screen and (max-width: 1024px) {
    .pksca-notification-bar{
	min-height: 11em;
    }

    .pksca-notification-bar .notification.show {
        flex-wrap: wrap;
	flex-direction: column;
    }

    .pksca-notification-bar .notification-thumbnail{
        text-align:center;
        margin-bottom: 0.3em;
    }

    .pksca-notification-bar .notification-thumbnail img{
        max-height: 50px;
        width: auto;
    }
}

.pksca-notification-bar .notification h3 {
    margin: 0;
    font-size: 1.1em;
}

.pksca-notification-nav {
    display: flex;
    justify-content: right;
    gap: 0.3em;
    line-height: 1.3em;
    font-size: 1em;
    font-weight:600;
    margin: 0 0.5em 0.3em 0;}

.pksca-notification-nav button {
    border: none;
    cursor: pointer;
}

.pksca-notification-nav button.prev-notification{
    width:1.5em;
    height:1.5em;
    background: url('img/Previous.png') no-repeat center;
    background-size: contain;
}

.pksca-notification-nav button.prev-notification:hover{
	background: url('img/Previous-Hover.png') no-repeat center;
	background-size: contain;
}

.pksca-notification-nav button.next-notification{
	width:1.5em;
	height:1.5em;
	background: url('img/Next.png') no-repeat center;
	background-size: contain;
}

.pksca-notification-nav button.next-notification:hover{
	background: url('img/Next-Hover.png') no-repeat center;
	background-size: contain;
}

.pksca-notification-nav .play-pause-toggle.play {
	width:1.5em;
	height:1.5em;
	background: url('img/Play.png') no-repeat center;
	background-size: contain;

}

.pksca-notification-nav .play-pause-toggle.play:hover {
	background: url('img/Play-Hover.png') no-repeat center;
	background-size: contain;

}

.pksca-notification-nav .play-pause-toggle.pause {
	width:1.5em;
	height:1.5em;
	background: url('img/Pause.png') no-repeat center;
	background-size: contain;

}

.pksca-notification-nav .play-pause-toggle.pause:hover {
	background: url('img/Pause-Hover.png') no-repeat center;
	background-size: contain;

}

