.checkbox-container {
    position: relative;
    min-width: 310px;
    margin-top: 15px;
    float: inherit;
}

.checkbox-label {
    position: relative;
    z-index: 1;
    padding-top: 15px;
    padding-bottom: 5px;
    padding-left: 55px;
    display: block;
    color: white;
    font-size: 19px;
    line-height: 24px;
    max-width: 310px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.checkbox-real {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.checkbox-standin {
    transition: all 0.2s ease;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: 2px;
    border-radius: 6.5px;
    width: 40px;
    height: 40px;
    background: #DDDDDD;
    border: 3px solid #DDDDDD;
}

.checkbox-standin:after {
    transition: all 0.2s ease;
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    background-image: url('../../img/checkmark.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    opacity: 0;
}

.checkbox-real:checked + .checkbox-standin {
    animation: checkbox-animation 1s ease-out alternate both;
}

.checkbox-real:checked + .checkbox-standin:after {
    animation: checkbox-symbol-animation 1s ease-out alternate both;
}

@keyframes checkbox-animation {
    0% {
        border-top-color: #099878;
        border-right-color: white;
        border-bottom-color: white;
        border-left-color: white;
        transform: rotate(0) scale(0);
    }
    20% {
        border-top-color: #099878;
        border-right-color: white;
        border-bottom-color: white;
        border-left-color: white;
    }
    40% {
        border-top-color: #099878;
        border-right-color: white;
        border-bottom-color: white;
        border-left-color: white;
        background: transparent;
        transform: rotate(360deg) scale(0.5);
    }
    60% {
        border-top-color: #099878;
        border-right-color: #099878;
        border-bottom-color: #099878;
        border-left-color: #099878;
        background: #099878;
        transform: rotate(360deg) scale(0.8);
    }
    80% {
        border-top-color: #099878;
        border-right-color: #099878;
        border-bottom-color: #099878;
        border-left-color: #099878;
        background: #099878;
    }
    100% {
        border-top-color: #099878;
        border-right-color: #099878;
        border-bottom-color: #099878;
        border-left-color: #099878;
        background: #099878;
        transform: rotate(360deg) scale(1);
    }
}

@keyframes checkbox-symbol-animation {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}
