#decades-accordion {
    margin-top: 3rem;
    margin-bottom: 1rem;
    width: 100%;
}

.item-img {
    max-height: 450px;
}

.item-year {
    font-size: 1.6em;
}

.item-title {
    font-size: 1.1em;
    max-width: 350px;
}

.accordion-body div {
    padding: 0 1em;
}

.accordion-body a {
    color: white;
    /* transition: .2s all ease-in-out; */
}


.decade-item {
    /* transition: all .3s ease-in-out; */
    overflow: hidden;
width: 250px;
max-width: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* opacity: 0; */
    /* transition: all 1s ease-in; */

}

.text_overlay {
    text-align: center;
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    width: 90%;
    height: 80%;
    margin-bottom: 1rem;
    opacity: 0;
    /* transition: all 0.5s ease-in-out; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: white solid 1px;
}

.text_overlay a {

    text-decoration: none;
}
.text_overlay h6, .text_overlay span, .text_overlay a {
    pointer-events: none;
    text-decoration: none!important;
    color: white!important;
}
.text_overlay:hover h6, .text_overlay:hover span, .text_overlay a:hover {
    pointer-events: none!important;
    text-decoration: none!important;
    color: white!important;
}

.decade-item:hover a {
    text-decoration: none!important;
}

#decades-accordion a:hover {
    text-decoration: none!important;
}

.text_overlay h6 {
position: relative;
bottom: 20px;

    padding: 0 15px;
    font-size: 1.5em;
}

.text_overlay a {
    font-weight: bold;

    font-weight: bold;
    letter-spacing: 3px;
    font-size: 1em;

    color: white;
    /* transition: all .2s ease-in-out; */
}

.text_overlay span {
    border: 4px solid white;
    padding: 10px 10px;
/* transition: .1s ease-in-out all; */
}

.text_overlay div {
    line-height: 6px;
    font-size: 1.8em;
}

@media screen and (min-width: 500px) {
    .decade-item:hover .item-title,
    .decade-item:hover .item-year {
        opacity: 0;
    }
    .decade-item:hover .text_overlay {
        opacity: 1;
    }

    .decade-item .item-title,
    .decade-item .item-year {
        opacity: 1;
        /* transition: all .5s ease-in-out; */
    }
}


/* new accordion */
.accordion {
    width: 90%;
}

.accordion-item {
    width: 100%;
    /* margin-bottom: .3rem; */
    border: solid 1px #dee2e6;
    border-top: none;
}
.accordion-item:nth-of-type(1) {

    border-top: solid 1px #dee2e6;

}

.accordion-content {
    /* display: none; */
    background-color: #fff;
    padding-top: 1.2rem;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;



}

.accordion-content h6 {
    margin-bottom: 1rem;
    color: #f6f6f6 !important;
}




.accordion-header {
    cursor: pointer;
    background-color: #f8f9fa!important;
    position: relative;
    /* transition: all 0.3s ease; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .1rem 0;
    color: #343a40!important;
    border-radius: 0px!important;
    margin: 0!important;
    opacity: .7;

}


.accordion-header:hover, .accordion-header.active {
    background-color: #e9ecef!important;
    opacity: 1;
}



.accordion-header:after {
    display: flex;
    align-items: center;
    justify-content: center;
    content: '+';

    transition: all 0.3s ease;
    /* font-size: 34px; */
    margin-right: 1rem;
    /* margin-top: .6rem; */
    /* position: relative; */
    /* top: .35rem; */
    transform: scale(2);
    opacity: .7;
}
.accordion-header:hover:after {

    opacity: 1;
}

.accordion-header.active:after {
    transform: scale(2.5) translate(-.04rem, -.07rem);
    content: '-';
}

.accordion-header:hover:after,
.accordion-header.active:after {
    /* transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    transform: scale(1.3); */
}

.accordion-header h5 {
    font-size: 22px;
    font-weight: 100;
    margin: 0;
    /* transition: all .2s ease-in-out; */
    margin-left: 1rem;
    color: #2f3e46;
    opacity: .8;
}
.accordion-header:hover h5 {

    opacity: 1;
}

.accordion-header {
    text-align: center;
    background-color: #222222;
    color: white;
    padding: 15px 0;
    border-radius: 20px;
}
