﻿.middle-div-outside {
    width: 100%;
    text-align: center;
}

.middle-div-inside {
    display: inline-block;
    margin: 0 auto;
}


.middle-section {
    margin: 16px 0 20px;
    text-align: center;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 60px;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 12px;
        background: #fc635e;
        animation: lds-facebook 1s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 54px;
    }

    50%, 100% {
        top: 20px;
        height: 24px;
    }
}

.badge {
    display: inline-block;
    padding: 0.2em 0.5em;
    -ms-border-radius: 4px;
    border-radius: 4px;
    background: #fff5f5;
    color: #fa0d05;
}

.result-div {
    font-size: 18px;
}


.spelling-wrap {
    display: flex;
}

    .spelling-wrap .main-text-wrap {
        flex-basis: 70%;
    }

    .spelling-wrap .side-panel-wrap {
        flex-basis: 30%;
        max-height: 634px;
        overflow: auto;
    }

    .spelling-wrap p {
        color: initial;
        font-size: 16px;
        text-align: left;
        padding: initial;
    }

.errors-list {
    list-style: none;
    padding-inline-start: 0;
}

.error-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    /*transition: height linear .5s;*/
}

    .error-item .error-icon {
        display: inline-block;
        /*content: ' ';*/
        width: 5px;
        min-width: 5px;
        height: 5px;
        border-radius: 50%;
        background: red;
        margin-right: .5em;
    }

    .error-item:hover, .error-item.highlight {
        background: #eee;
    }

    .error-item .error-short {
        display: block;
    }

    .error-item .error-details {
        display: none;
    }

    .error-item.details .error-icon {
        align-self: flex-start;
        margin-top: 0.5em;
    }

    .error-item.details .error-short {
        display: none;
    }

    .error-item.details .error-details {
        display: block;
    }

.error-details .title {
    font-weight: bold;
}

.error-details .sub-title {
    padding: initial;
    margin-top: 0;
    font-size: 14px;
    color: #333;
}

.suggestions .suggestion-item {
    background: #fe615d;
    color: #fff;
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 16px;
    margin: 2px 3px 0 0;
    display: inline-block;
}

    .suggestions .suggestion-item:hover {
        background: #d95e5c;
    }

.errors-summary .error-label {
    display: inline-block;
    width: 60%;
}

.text-area-div {
    width: 100%;
    min-height: 114px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #000;
    cursor: text;
    max-height: 600px;
    overflow: auto;
}

    .text-area-div .placeholder {
        text-transform: uppercase;
        font-size: 18px;
        position: relative;
        left: 50%;
        width: 200px;
        -ms-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        line-height: 100px;
        text-align: center;
        display: inline-block;
        color: darkgray;
        user-select: none;
    }

.success-wrap h4 {
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.success-wrap p {
    text-align: center;
}

.text-area-div .error {
    border-bottom: 2px solid red;
    cursor: pointer;
}

    .text-area-div .error:hover, .text-area-div .error.highlight {
        background: #eee;
        border-radius: 4px 4px 0 0;
        padding: 0 2px;
        margin: 0 -2px;
    }

.error-card {
    background: #fff;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 0 6px 2px rgba(0,0,0,.1);
    height: auto;
    position: absolute;
}

    .error-card .body {
        font-size: 14px;
    }

    .error-card .drag-area {
        display: inline-block;
        padding: 0px 10px;
        cursor: move;
    }

    .error-card .btn-close {
        font-size: 30px;
        text-decoration: none;
        line-height: 1;
    }

@media(max-width: 576px) {
    .spelling-wrap {
        display: block;
    }

    .text-area-div{
        width: inherit;
        margin-left: 20px;
        margin-right: 0px;
    }
}

.description {
    font-size: 20px;
}