.hexgen-hex, .hexgen-rgb, .hexgen-hsl {
    padding: 8px 20px;
    font-size: 22px;
    outline: none;
    margin-bottom: 14px;
    border: 3px solid #BFE2FF;
    color: #292929;
    width: 100%;
    max-width: 280px;
    border-radius: 5px;
}

.hexgen-hex::placeholder, .hexgen-rgb::placeholder, .hexgen-hsl::placeholder {
    color: #cecece;
    font-size: 20px; 
}

.hexgen-hex:focus, .hexgen-rgb:focus, .hexgen-hsl:focus {
    border-color: #337AB7;
}

.hexgen-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.hexgen-color, .hexgen-color2 {
    padding: 6px 8px;
    height: 74px;
    font-size: 13px;
    transition: all 200ms;
    border: 2px solid transparent;
    margin: 1px 1px 0 0;
    border-radius: 5px;
}

.hexgen-colorspan {
    opacity: 0;
    transition: opacity 400ms;
}

.hexgen-colorspan div {
    height: 20px;
    word-break: break-all;
}

.hexgen-color:hover,
.hexgen-color.hexgen-current {
    transform: scale(1.3);
    z-index: 1;
    border: 2px solid;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -2px rgba(0,0,0,0.15);
    border-radius: 5px;
}

.hexgen-color.hexgen-current .hexgen-colorspan {
    opacity: 0;
}

.hexgen-color:hover .hexgen-colorspan {
    opacity: 1;
}

.hexgen-color:hover {
    z-index: 2;
}

.hexgen-container {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.hexgen-fc-row {
    display: flex;
}

.hexgen-fc-col-1 {
    width: 320px;
    margin: 10px 0;    
}

.hexgen-fc-col-2 {
    width: calc(100% - 320px);
    margin: 10px 0;
}

@media (max-width:900px) {
    .hexgen-color:hover,
    .hexgen-color.hexgen-current {
        transform: scale(1.2);
    }
}

@media (max-width:740px) {
    .hexgen-color:hover,
    .hexgen-color.hexgen-current {
        transform: scale(1.1);
    }
    .hexgen-palette {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width:600px) {
    .hexgen-fc-row {
        display: flex;
        flex-flow: column;
    }
    .hexgen-fc-col-1 {
        width: 100%;
        text-align: center;
    }
    .hexgen-fc-col-2 {
        width: 100%;
    }
}

.hexgen-IroColorPicker {
    border-radius: 5px !important;
}

.hexgen-IroHandle circle {
    border-radius: 50% !important;
}