@charset "utf-8";

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background: #22222290;
    color: #fff;
    padding: .2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.bottom-bar.hidden {
    transform: translateY(100%);
    display: none;
}

.dismiss-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.slider {
    overflow: hidden;
/*    flex: 1;*/
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slide {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    position: absolute;
    text-align: left;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding-right: 2rem;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.slide a span{font-weight:bold;color:#fff;}
.slide a span:hover {color:#3a8afd}

.bar-button {
    display: inline-block;
    margin-left: 1rem;
    background: #00aaff;
    color: #fff;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.bar-button:hover {
    background: #0088cc;
	color:#fff;
}

.dismiss-btn {
    margin-right: 0.5rem;
}

#bottom-bar {
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    #bottom-bar {
        width: 100%;
        margin: 0 auto;
    /*    border-radius: 12px 12px 0 0;*/
        padding-bottom: .2rem !important;
    }
}