﻿.fd-palette {
    width: 225px;
    background: #f1efef none repeat scroll 0 0;
    margin: 0px;
    padding: 0px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 0 1px #ddd;
    transition: all ease 400ms;
    margin-top: 3px;
}

.fd-palette-header {
    background: #e3e3e3 none repeat scroll 0 0;
    clear: both;
    color: #454545;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: -12px 8px 20px 3px #f1f1f1;
    line-height: 23px;
}

.fd-palette-widgets {
    box-sizing: border-box;
    width: 225px;
    background-color: white;
}

.fd-palette-widget {
    position: relative;
    display: inline-block;
    color: #000;
    cursor: move;
    font-size: 12px;
    background: #fff none repeat scroll 0 0;
    margin: 5px;
    padding: 0;
    min-height: 4em;
    width: 44%;
    box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
    opacity: 1;
    border: 1px solid var(--fd-primary-color);
}

    .fd-palette-widget:hover {
        box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0 40px 16px -20px rgba(0, 0, 0, 0.1);
        transform: translate3d(0px, -2px, 0px);
        transition: all 0.3s cubic-bezier(0.48, 0.04, 0.21, 0.94) 0s;
    }

    /* This tool is used to change color on hover
     *  Resource: https://codepen.io/sosuke/pen/Pjoqqp
     */
    /*.fd-palette-widget:hover > .fd-palette-widget-icon {
        filter: invert(71%) sepia(40%) saturate(473%) hue-rotate(170deg) brightness(100%) contrast(96%);
    }*/

.fd-palette-widget-icon {
    width: 57%;
    margin: 1em auto 4px;
}

    .fd-palette-widget-icon svg {
        width: 100%;
    }

.fd-palette-widget-label {
    font-size: 12px;
    font-family: Roboto;
    /*text-transform: uppercase;*/
    text-align: center;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*padding: 1em 2px 0;
  margin: 0;*/
}

.fd-palette-widget-description {
    border-bottom: 9px solid transparent;
    border-right: 10px solid #1f2735;
    cursor: pointer;
    height: 0;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 0;
}