/* Extension-specific layout styles; the Aero theme supplies the palette. */

.collectionnotunlocked {               
    opacity: 0.4;
    filter: alpha(opacity=40);
    zoom: 1;  /* needed to trigger "hasLayout" in IE if no width or height is set */ 
 }
 
 .greyscale {
    filter: grayscale(40%);
    opacity: 0.5;
 }
 


.square-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
}

.square-grid > div {
    flex: 0 0 12%;
}


.square-grid.lg > div {
    flex: 0 0 30%;
}

.square-grid.xl > div {
    flex: 0 0 47%;
}

.square-grid .square-column img {
    max-width: 100%;
    max-height: 100%;
}

.square-grid .square-column .img-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

/*
    Credit to Preimpression for all of this code. You can find their github here:
    https://github.com/preimpression

    Branch where the code is from:
    https://github.com/preimpression/lorekeeper/tree/extension/research_trees
*/

.children-scroll::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}
.children-scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #e4e4e4;
}
.children-scroll::-webkit-scrollbar-thumb {
    background: #779ac0;
    border-radius: 10px;
    transition: 0.5s;
}
.children-scroll::-webkit-scrollbar-thumb:hover {
    background: #a9c8e6;
    transition: 0.5s;
}


/*----------------children-skill----------*/
.children-body{
    white-space: nowrap;
    overflow-y: hidden; 
}
.children-skill ul {
    padding-top: 20px; 
    position: relative;
    padding-left: 0px;
    display: flex;
}
.children-skill li {
    float: left; text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
}
.children-skill li::before, .children-skill li::after{
    content: '';
    position: absolute; 
    top: 0; 
    right: 50%;
    border-top: 2px solid #ccc;
    width: 50%; 
    height: 18px;
}
.children-skill li::after{
    right: auto; left: 50%;
    border-left: 2px solid #ccc;
}
.children-skill li:only-child::after, .children-skill li:only-child::before {
    display: none;
}
.children-skill li:only-child{ 
    padding-top: 0;
}
.children-skill li:first-child::before, .children-skill li:last-child::after{
    border: 0 none;
}
.children-skill li:last-child::before{
    border-right: 2px solid #ccc;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}
.children-skill li:first-child::after{
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}
.children-skill ul ul::before{
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 2px solid #ccc;
    width: 0; height: 20px;
}
.children-skill li a{
    text-decoration: none;
    font-family: arial, verdana, tahoma;
    font-size: 11px;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.children-skill li a:hover+ul li::after, 
.children-skill li a:hover+ul li::before, 
.children-skill li a:hover+ul::before, 
.children-skill li a:hover+ul ul::before{
    border-color:  #a9c8e6;
}

/*--------------memeber-card-design----------*/
.member-view-box{
    padding:0px 20px;
    text-align: center;
    border-radius: 4px;
    position: relative;
}
.member-image{
    position: relative;
}
