div#edit-badges-interface {
    transform: translate(-50%, -50%) scale(1);
    left: 50%;    
    top: 50%;
    width: calc(100% - 60px);
    max-width: 456px;
    backface-visibility: hidden;
}

#edit-badges-intro {
    font-size: 14px;
    text-align: center;
    background: #f1f1f1;
    padding: 10px;
    line-height: 1.2em;
    border-radius: 3px;
    box-shadow: inset -1px 1px 1px #0000003b;
}

.badge-item {
    border: 1px solid #CCC;
    border-radius: 4px;
    float: left;
    margin: 2px 2px;
    position: relative;
    backface-visibility: hidden;
    overflow: hidden;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-color: #FFF;
}

.badge-item:nth-child(1), .badge-item:nth-child(2), .badge-item:nth-child(3) {
    border-color: #000;
}

#edit-badges-container .dragging{
    opacity: 0.3;
}

#edit-badges-container .drag-complete{
    background: #04a359;
    border-color: #004b28;
    position: relative;
}

#edit-badges-container .drag-complete:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #04a35980;
    display: block;
    content: "";
}

/* When viewing other players' badges */

div#edit-badges-interface.view-all-badges {
    max-width: 304px;
}

div#edit-badges-interface.view-all-badges h2 {
    font-size: 20px;
}

div#edit-badges-interface.view-all-badges div#edit-badges-container {
    margin-top: 9px;
}

@media(max-width:600px){
    div#edit-badges-interface {
        max-height: calc(100vh - 65px);
        max-width: 240px;
    }
    
    div#edit-badges-container {
        max-height: 302px;
        overflow-y: scroll;
    }
    
    div#edit-badges-container::-webkit-scrollbar-track {
        background-color: #a9a7a7;
        border-radius: 5px;
    }
    
    div#edit-badges-container::-webkit-scrollbar-thumb {
        background-color: #000;
        border-radius: 4px;
    }
    
    div#edit-badges-container::-webkit-scrollbar {
        width: 8px;
    }
    
    #edit-badges-intro {
        font-size: 12px;
        padding: 10px 7px;
    }

    div#edit-badges-interface h2 {
        font-size: 16px;
    }

    div#edit-badges-interface.view-all-badges{
        max-width: 240px;
    }

    div#edit-badges-interface.view-all-badges h2 {
        font-size: 16px;
    }
}

/* FISH LOG */

div#fish-logbook-interface {
    transform: translate(-50%, -50%) scale(1);
    left: 50%;    
    top: 50%;
    width: calc(100% - 60px);
    max-width: 456px;
    backface-visibility: hidden;
}

.logged-fish {
    background-repeat: no-repeat;
    border: 1px solid #CCC;
    border-radius: 4px;
    float: left;
    margin: 2px 2px;
    position: relative;
    backface-visibility: hidden;
    overflow: hidden;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-color: #FFF;
    background-position: center;
    cursor: pointer;
}

.logged-fish .logged-fish-count{
    position: absolute;
    font-size: 10px;
    bottom: 2px;
    right: 2px;
    background: #000000;
    color: #FFF;
    border-radius: 3px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-weight: 600;
    z-index: 1;  
    padding: 0 5px;
}

div#fish-info-interface {
    transform: translate(-50%, -50%) scale(1);
    left: 50%;    
    top: 50%;
    width: calc(100% - 60px);
    max-width: 350px;
    backface-visibility: hidden;
}

div#fish-info-interface p.fish-info-text {
    margin: 15px 0 4px;
    text-align: center;
}

.logged-fish:hover {
    border-color: #000;
}

div#fish-logbook-count {
    clear: both;
    text-align: center;
    background: #00a1e9;
    color: #FFF;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    margin: 6px 0 0 0;
}

@media(max-width:600px){
    div#fish-logbook-interface {
        max-height: calc(100vh - 65px);
        max-width: 240px;
    }

    div#fish-logbook-interface h2 {
        font-size: 16px;
    }

    div#fish-logbook-container {
        max-height: 302px;
        overflow-y: scroll;
    }

    div#fish-logbook-container::-webkit-scrollbar-track {
        background-color: #a9a7a7;
        border-radius: 5px;
    }

    div#fish-logbook-container::-webkit-scrollbar-thumb {
        background-color: #000;
        border-radius: 4px;
    }

    div#fish-logbook-container::-webkit-scrollbar {
        width: 8px;
    }

    div#fish-info-interface p.fish-info-text{
        font-size: 14px;
    }
}