.contributer-editor {
    textarea {
        height: 120px;
    }
    input[type="text"],
    input[type="password"],
    textarea,
    select {
        width: 100%;
    }
}

.contributer-upload {
    width: 100%;
    height: 120px;
    border: 1px solid #aaa;
    position: relative;
    p {
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

input[type='file'].hidden-upload {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    font-size: 50px;
    cursor: pointer;
    opacity: 0;
}

.contributer-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: .9em;
    &:hover {
        cursor: pointer;
    }
}

.contributer-failure {
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    background: #fedfe1;
    color: #d40a17;
    border: 1px solid #f97e86;
}

.contributer-success {
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    background: #e0e8d0;
    color: #4c5a2c;
    border: 1px solid #93ad58;
}

.contributer-notification {
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    background: #bfcbe4;
    color: #314673;
    border: 1px solid #7890c5;
}

.message-handler {
    display: none;
}

#featured-image-upload-holder,
#gallery-images-upload-holder {
    display: none;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#featured-image-upload-different {
    cursor: pointer;
}

.overlay {
    @include flexbox(row, wrap, center, flex-start);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.loader {
    align-self: center;
    width: 99px;
    position: relative;
    span {
        position: absolute;
        top: 30px;
        width: 99px;
        text-align: center;
        color: white;
    }
}

.ball {
    border-radius: 50%;
    background: white;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    animation: loading 1.2s linear infinite;
    &:nth-of-type(2) {
        animation-delay: 0.4s;
    }
    &:nth-of-type(3) {
        animation-delay: 0.8s;
    }
}

@keyframes loading {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    40% {
        transform: translate3d(33px, 0, 0);
    }
    60% {
        transform: translate3d(66px, 0, 0);
    }
    80% {
        transform: translate3d(99px, 0, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(99px, 0, 0) scale(0.5);
        opacity: 0;
    }
}

.hidden_loader {
    display: none;
}
