#tx-troagegraphic .agegraphic {
    display: flex;
    justify-content: center;
}

#tx-troagegraphic .wrapper {
    position: relative;
    display: inline-flex;
}

#tx-troagegraphic .background {
    max-width: 100%;
    height: auto;
}

#tx-troagegraphic .age {
    width: 25%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
}

#tx-troagegraphic .background:not(.loaded) ~ .theme-layer {
    opacity: 0;
}

#tx-troagegraphic .theme-layer {
    position: absolute;
    z-index: 1;
    display: flex;
    opacity: 1;
    transition: opacity .3s ease;
    aspect-ratio: 1 / 1;
}

#tx-troagegraphic .theme-layer[data-theme="pic1"] {
    top: 17.5%;
    left: 3.5%;
    width: 8%;
}

#tx-troagegraphic .theme-layer[data-theme="pic2"] {
    top: 5.5%;
    left: 34.5%;
    width: 7.5%;
}

#tx-troagegraphic .theme-layer[data-theme="pic3"] {
    top: 27%;
    left: 47%;
    width: 8%;
}

#tx-troagegraphic .theme-layer[data-theme="pic4"] {
    top: 11%;
    left: 61%;
    width: 8.5%;
}

#tx-troagegraphic .theme-layer[data-theme="pic5"] {
    top: 50.5%;
    left: 16%;
    width: 8.5%;
}

#tx-troagegraphic .theme-layer[data-theme="pic6"] {
    top: 53%;
    left: 60%;
    width: 8%;
}

#tx-troagegraphic .theme-layer[data-theme="pic7"] {
    top: 39%;
    left: 88.2%;
    width: 8.5%;
}

#tx-troagegraphic .theme-layer[data-theme="pic8"] {
    top: 81%;
    left: 7%;
    width: 8%;
}

#tx-troagegraphic .theme-layer[data-theme="pic9"] {
    top: 71.5%;
    left: 30.5%;
    width: 8.5%;
}

#tx-troagegraphic .theme-layer[data-theme="pic10"] {
    top: 82.4%;
    left: 55.3%;
    width: 7%;
}

#tx-troagegraphic .theme-layer[data-theme="pic11"] {
    top: 73%;
    left: 72.1%;
    width: 8.5%;
}

#tx-troagegraphic .theme-button {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    border: none;
    outline: none!important;
    padding: 0;
    box-shadow: 3px 3px 8px 0px rgba(0, 0, 0, .2);
    cursor: auto;
}

#tx-troagegraphic .theme-button > img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    object-fit: cover;
    border: solid 3px #fff;
}

#tx-troagegraphic .theme-button .title {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    color: #14243d;
    font-size: 1.125rem;
    background-color: #d3d3d3;
    height: 100%;
    border-radius: 10vw;
    padding: 0 .5rem 0;
    line-height: 1.8;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    display: flex;
    align-items: center;
    box-shadow: 3px 3px 8px 0px rgba(0, 0, 0, .2);
    transition: opacity .3s ease, padding .3s ease;
    white-space: nowrap;
}

#tx-troagegraphic .theme-layer[data-theme="pic7"] .theme-button .title,
#tx-troagegraphic .theme-layer[data-theme="pic11"] .theme-button .title {
    left: auto;
    right: 0;
}

#tx-troagegraphic-accordion {
    display: flex;
    flex-direction: column;
}

#tx-troagegraphic-accordion .accordion-element {
    margin-bottom: 1rem;
}

#tx-troagegraphic-accordion .accordion-button {
    color: #14243d;
    background-color: #d3d3d3;
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.125rem;
}

#tx-troagegraphic-accordion .accordion-icon {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
}

#tx-troagegraphic-accordion .accordion-content {
    color: #696969;
    background-color: #f5f5f5;
    padding: 1rem .5rem calc(1rem - 10px);
    display: none;
}

#tx-troagegraphic-accordion .accordion-element.open .accordion-content {
    display: block;
}

@media (min-width: 768px) {
    #tx-troagegraphic-accordion {
        display: none!important;
    }

    #tx-troagegraphic .theme-button {
        cursor: pointer;
    }
    
    #tx-troagegraphic .theme-button:hover,
    #tx-troagegraphic .theme-button:focus {
        z-index: 1;
    }

    #tx-troagegraphic .theme-button:hover .title,
    #tx-troagegraphic .theme-button:focus .title {
        opacity: 1;
        user-select: auto;
        pointer-events: all;
        padding: 0 .5rem 0 calc(100% + .5rem);
    }
    
    #tx-troagegraphic .theme-layer[data-theme="pic7"] .theme-button:hover .title,
    #tx-troagegraphic .theme-layer[data-theme="pic7"] .theme-button:focus .title,
    #tx-troagegraphic .theme-layer[data-theme="pic11"] .theme-button:hover .title,
    #tx-troagegraphic .theme-layer[data-theme="pic11"] .theme-button:focus .title {
        padding: 0 calc(100% + .5rem) 0 .5rem;
    }
}

#tx-troagegraphic-modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

#tx-troagegraphic-modal.open {
    display: block;
    background: rgba(0, 0, 0, .2);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 10px auto !important;
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    background-color: #fff;
    color: #696969;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 3px 3px 8px 0px rgba(0, 0, 0, .2);
    padding: .75rem 1.25rem;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.modal-header .close {
    background: transparent;
    width: auto;
    color: #14243d;
    font-size: 1.125rem;
}

.modal-body {
    padding: 1rem 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-footer button {
    height: 38px;
    width: auto;
}

.image-container {
    display: flex;
    justify-content: center;
    margin-bottom: .5rem;
}

.image-container img {
    max-width: 100%;
    height: auto;
}