.js .inputfile {
    position:absolute;
    width:100%;
    height:100%;
    left:0;
    bottom: 0;
    z-index:1000;
    opacity:0;
    cursor:pointer;
    padding: 6.25rem 1.25rem;
}

.inputfile + label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 6.50rem 1.25rem;
    z-index: 900;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
    /* 10px 20px */
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}


/* style 1 */

.inputfile-1 + label {
    color: #f1e5e6;
    background-color: #d3394c;
}

.inputfile-1:focus + label,
.inputfile-1.has-focus + label,
.inputfile-1 + label:hover {
    background-color: #722040;
}


/* style 2 */

.inputfile-2 + label {
    color: #d3394c;
    border: 2px solid currentColor;
}

.inputfile-2:focus + label,
.inputfile-2.has-focus + label,
.inputfile-2 + label:hover {
    color: #722040;
}


/* style 3 */

.inputfile-3 + label {
    color: #d3394c;
}

.inputfile-3:focus + label,
.inputfile-3.has-focus + label,
.inputfile-3 + label:hover {
    color: #722040;
}


/* style 4 */

.inputfile-4 + label {
    color: #d3394c;
}

.inputfile-4:focus + label,
.inputfile-4.has-focus + label,
.inputfile-4 + label:hover {
    color: #722040;
}

.inputfile-4 + label figure {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #d3394c;
    display: block;
    padding: 20px;
    margin: 0 auto 10px;
}

.inputfile-4:focus + label figure,
.inputfile-4.has-focus + label figure,
.inputfile-4 + label:hover figure {
    background-color: #722040;
}

.inputfile-4 + label svg {
    width: 100%;
    height: 100%;
    fill: #f1e5e6;
}


/* style 5 */

.inputfile-5 + label {
    color: #d3394c;
}

.inputfile-5:focus + label,
.inputfile-5.has-focus + label,
.inputfile-5 + label:hover {
    color: #722040;
}

.inputfile-5 + label figure {
    width: 100px;
    height: 135px;
    background-color: #d3394c;
    display: block;
    position: relative;
    padding: 30px;
    margin: 0 auto 10px;
}

.inputfile-5:focus + label figure,
.inputfile-5.has-focus + label figure,
.inputfile-5 + label:hover figure {
    background-color: #722040;
}

.inputfile-5 + label figure::before,
.inputfile-5 + label figure::after {
    width: 0;
    height: 0;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
}

.inputfile-5 + label figure::before {
    border-top: 20px solid #dfc8ca;
    border-left: 20px solid transparent;
}

.inputfile-5 + label figure::after {
    border-bottom: 20px solid #722040;
    border-right: 20px solid transparent;
}

.inputfile-5:focus + label figure::after,
.inputfile-5.has-focus + label figure::after,
.inputfile-5 + label:hover figure::after {
    border-bottom-color: #d3394c;
}

.inputfile-5 + label svg {
    width: 100%;
    height: 100%;
    fill: #f1e5e6;
}


/* style 6 */

.inputfile-6 + label {
    color: #d3394c;
}

.inputfile-6 + label {
    border: 1px solid #d3394c;
    background-color: #f1e5e6;
    padding: 0;
}

.inputfile-6:focus + label,
.inputfile-6.has-focus + label,
.inputfile-6 + label:hover {
    border-color: #722040;
}

.inputfile-6 + label span,
.inputfile-6 + label strong {
    padding: 0.625rem 1.25rem;
    /* 10px 20px */
}

.inputfile-6 + label span {
    width: 200px;
    min-height: 2em;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: top;
}

.inputfile-6 + label strong {
    height: 100%;
    color: #f1e5e6;
    background-color: #d3394c;
    display: inline-block;
}

.inputfile-6:focus + label strong,
.inputfile-6.has-focus + label strong,
.inputfile-6 + label:hover strong {
    background-color: #722040;
}

@media screen and (max-width: 50em) {
	.inputfile-6 + label strong {
		display: block;
	}
}

.tools {
    position: relative;
    margin: 0 auto;
    padding: 22px;
    text-align: center;
}


.palette {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    vertical-align: middle;
}

.palette__item {
    position: relative;
    display: inline-block;
    width: 6em;
    height: 6em;
    margin: 0 .35em .35em 0;
    text-align: center;
    color: #333436;
    background-color: currentColor;
}

.palette__inner {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 1.25em 0 0 0;
}

.icon {
    font-size: 2em;
    color: #3f4247;
    position: relative;
    z-index: 10;
    -webkit-transition: opacity .3s .2s;
    transition: opacity .3s .2s;
}

.palette__item--animate .icon {
    opacity: 0;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.palette__fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    background-image: url(../img/wave.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-transition: -webkit-transform .3s;
    transition: transform .3s;
}

.palette__item:nth-of-type(odd) .palette__fill {
    right: 0;
    left: auto;
}

.palette__item--animate .palette__fill {
    -webkit-transition-duration: .8s;
    transition-duration: .8s;
}

.palette__item--animate:nth-of-type(even) .palette__fill {
    -webkit-transform: translate3d(-50%,-150%,0);
    transform: translate3d(-50%,-150%,0);
}

.palette__item--animate:nth-of-type(odd) .palette__fill {
    -webkit-transform: translate3d(50%,-150%,0);
    transform: translate3d(50%,-150%,0);
}

.palette__name {
    font-size: .85em;
    font-weight: bold;
    line-height: 2;
    position: absolute;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 2em;
    background: #202124;
}

.palette__value {
    color: #ddd;
    display: block;
    -webkit-transition: opacity .3s, -webkit-transform .3s;
    transition: opacity .3s, transform .3s;
    -webkit-transition-timing-function: cubic-bezier(.2, 1, .3, 1);
    transition-timing-function: cubic-bezier(.2, 1, .3, 1);
}

.palette__value--default {
    color: #ddd;
}

.palette__value--real {
    opacity: 0;
}

.palette__item--animate .palette__value--default {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.palette__item--animate .palette__value--real {
    opacity: 1;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.button-color {
    font-size: 1.75em;
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    overflow: hidden;
    width: 70px;
    height: 70px;
    margin: -35px 20px 0 0;
    color: #575a61;
    border: 2px solid;
    border-radius: 50%;
    background: none;
    padding: 0;
}

.button-color:focus {
    outline: none;
}

.button-color:hover {
    color: #5f6269;
}

.button-color[on=on] {
    color: #3a3c40;
    background: #25272a;
}

.drop {
    position: absolute;
    bottom: 100%;
    left: 50%;
    display: block;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    pointer-events: none;
    opacity: 0;
    border-radius: 50%;
    background-color: inherit;
}

.drop--3,
.drop--4 {
    width: 10px;
    height: 10px;
    margin-left: -5px;
}

.drop--1 {
    -webkit-transform-origin: -33px 50%;
    transform-origin: -33px 50%;
}

.drop--2 {
    -webkit-transform-origin: 45px 50%;
    transform-origin: 45px 50%;
}

.drop--3 {
    -webkit-transform-origin: -18px 50%;
    transform-origin: -18px 50%;
}

.drop--4 {
    -webkit-transform-origin: 30px 50%;
    transform-origin: 30px 50%;
}

.palette__item--animate .drop--1,
.palette__item--animate .drop--3 {
    -webkit-animation: drop-anim-1 .3s ease-out .3s forwards;
    animation: drop-anim-1 .3s ease-out .3s forwards;
}

.palette__item--animate .drop--2,
.palette__item--animate .drop--4 {
    -webkit-animation: drop-anim-2 .3s ease-out .3s forwards;
    animation: drop-anim-2 .3s ease-out .3s forwards;
}

.palette__item--animate .drop--4 {
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
}

@-webkit-keyframes drop-anim-1 {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,5deg);
        transform: rotate3d(0,0,1,5deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,-90deg);
        transform: rotate3d(0,0,1,-90deg);
    }
}

@keyframes drop-anim-1 {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,5deg);
        transform: rotate3d(0,0,1,5deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,-90deg);
        transform: rotate3d(0,0,1,-90deg);
    }
}

@-webkit-keyframes drop-anim-2 {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,-5deg);
        transform: rotate3d(0,0,1,-5deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,90deg);
        transform: rotate3d(0,0,1,90deg);
    }
}

@keyframes drop-anim-2 {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,-5deg);
        transform: rotate3d(0,0,1,-5deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0,0,1,90deg);
        transform: rotate3d(0,0,1,90deg);
    }
}

@media screen and (max-width: 49.125em) {
    .slider__nav {
        color: #fff;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
    }
    .tools {
        padding: .5em 0;
    }
    .palette {
        text-align: center;
    }
    .palette__item {
        float: left;
        width: 19%;
        margin: 0 .5%;
    }
    .palette__name {
        font-size: .75em;
    }
    .button-color {
        position: relative;
        margin: 10px auto 20px;
    }
}
