﻿
#ColorLibrary {
    width: 100%;
    height: 100vh;
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    background-color: var(--ThemeBackground);
    color: var(--ThemeFontColor);
    border: 0px solid darkgrey;
    z-index: 999999;
    opacity: 0;
}

@keyframes fadeoutcolor {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes fadeincolor {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        
    }
}

.ColorLibraryContainer {
    /*    width: 60%;
    height: 80vh;
    top: 6vh;*/
    width: 100%;
    height: 100vh;
/*    top: 6vh;*/
    position: relative;
    display: block;
    margin: 0 auto;
    /*/* top: 10%;
    left: 50%;
    transform: translate(-50%, 0);*/
    background-color: var(--ThemeBackground2);
    color: var(--ThemeFontColor);
    border: 0px solid darkgrey;
    z-index: 999999;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.ColorLibraryMenu {
    height: 50px;
    width: 98%;
    border: 0px solid red;
    float: right;
}

.ColorLibraryMenuButton {
    height: 40px;
    width:25px;
    border: 0px solid red;
    fill:darkgrey;
/*    background-color: #E5E6E5;*/
    float: left;
    margin-right: 20px;
    margin-top: 10px;
    padding-top: 6px;
    border-radius: 5px;
    color:black;
    /*    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;*/
    text-align: center;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

    .ColorLibraryMenuButton:hover {
/*        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;*/
        cursor: pointer;
        fill: lightgrey;
    }

.ColorLibraryCard {
    height: 120px;
    width: 85px;
    border: 0px solid red;
    /*    float: left;*/
    margin-left: 10px;
    margin-top: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 5px;
/*    background-color: var(--ThemeButtonBackgroundColor);*/
}

.ColorLibraryCard:hover {
    border: 1px solid white;
}

    .ColorLibraryCard.ActiveColorLibraryCard {
        border: 2px solid pink;
    }

.ColorLibraryCardColor {
    height: 65%;
    width: 100%;
    border: 0px solid blue;
    float: left;
    padding: 0px;

}

input[type=color]::-webkit-color-swatch {
    border: none;
    border-radius: 5px;
    padding: 0;
}


input[type=color] {
    background-color:transparent;
}

.ColorLibraryCardText {
    height: 35%;
    width: 100%;
    border: 0px solid green;
    float: left;
    font-size: 0.8rem;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
}

#ColorLibraryChangeNameModal {
    z-index: 1000000;
    height: 160px;
    width: 260px;
    margin-left:auto;
    margin-right:auto;
    margin-top:300px;
    border: 0px solid red;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 10px;
    background-color:#F4F5F4;
    position:relative;
    padding:10px;
}

#ColorLibraryChangeNameText {
    margin-top: 15px;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 0.5px solid darkgrey;
    padding-left:5px;
}

#ColorLibraryChangeNameButton {
    margin-top: 10px;
    height: 60px;
    width: 100%;
    border-radius: 5px;
    border: 0.5px solid darkgrey;
    color: black
}

#ColorLibraryChangeNameText:focus {
    outline: none;
}


#ColorLibraryChangeNameText:hover {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#ColorLibraryChangeNameButton:hover {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


/*Draggable*/

.drag {
    cursor: grab;
}

.chosen {
    background-color: #c8ebfb;
}

.flex-group {
    width: 100%;
    height: calc(100% - 50px);
    /*height: calc(60vh-50px);*/
    overflow: hidden auto;
    margin: 0 auto;
    border: 0px solid #ccc;
    padding-left: 6px;
    padding-right: 12px;
    margin-bottom: 100px;
/*    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;*/
    margin: 0;
}

    .flex-group div {
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
        /*        text-align: center;*/
        /*        width: 100px;
        height: 100px;
        padding: 5px;
        margin: 5px;*/
        /*        border: 1px solid #aaa;*/
        display: inline-block;
        list-style: none;
        float:left;
    }
