#creatacaptcha-group-settings .creatacaptcha-image-grid {
    width: 431px;
}

#creatacaptcha-group-settings .inside > div:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 2em;
}

#creatacaptcha-group-settings label[for*="creatacaptcha-"] {
    display: block;
    font-size: 1.3em;
    font-weight: 600;
    margin: 1em 0 0;
}

.creatacaptcha-controls {
    position: absolute;
    left: 0;
    top: 0;
    width: 125px;
    height: 125px;
    display: flex;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 1px black;
    overflow: hidden;
    transition: opacity .4s;
}

.creatacaptcha-controls button,
.creatacaptcha-controls label {
    width: 100%;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f7f7;
    font-size: 13px;
    color: #2271b1;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 1px black;
    transition: color .4s, background-color .4s, border-color .4s;
}

.creatacaptcha-controls button:hover,
.creatacaptcha-controls label:hover {
    background: #f0f0f1;
    border-color: #0a4b78;
    color: #0a4b78;
}

.creatacaptcha-controls .remove-image-button {
    color: #b32d2e !important;
}

.creatacaptcha-controls .select-image-button {
    height: 100%;
    box-shadow: none;
}

.creatacaptcha-controls input[type=checkbox] {
    margin: 0 5px 0 0;
}

.creatacaptcha-controls input[type=checkbox]:focus {
    box-shadow: none;
}

.creatacaptcha-controls input[type=checkbox] {
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    color: #50575e;
    cursor: pointer;
    width: 1rem;
    height: 1rem;
    margin: 0 5px 0 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    transition: .05s border-color ease-in-out;
}

.creatacaptcha-controls input[type=checkbox]:checked::before {
    float: left;
    display: inline-block;
    vertical-align: middle;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E);
    margin: -.1875rem 0 0 -.25rem;
    height: 1.3125rem;
    width: 1.3125rem;
}

.image-upload-wrapper {
    display: flex;
    align-items: center;
    width: 125px;
    height: 125px;
    margin: 7px;
    position: relative;
    line-height: 0;
}

.image-upload-wrapper:hover .creatacaptcha-controls,
.image-upload-wrapper.js-no-image .creatacaptcha-controls {
    opacity: 1;
    pointer-events: all;
}

.image-upload-wrapper:not(.js-no-image) .creatacaptcha-controls {
    flex-direction: column;
    justify-content: space-between;
}

.image-upload-wrapper:not(.js-no-image) .select-image-button {
    display: none;
}

.image-upload-wrapper.js-no-image .remove-image-button,
.image-upload-wrapper.js-no-image .correct-choice-wrapper {
    display: none;
}

.image-preview {
    width: 125px;
    height: 125px;
    border-radius: 5px;
}

.image-preview img {
    width: 125px;
    height: 125px;
    pointer-events: none;
    border-radius: 5px;
    box-shadow: 0 0 3px black;
    object-fit: cover;
}

.image-preview.correct-choice img {
    box-shadow: 0 0 0 5px #33A554, 0 0 8px black;
}

.select-image-button i {
    line-height: 23px;
}

.creatacaptcha-question input {
    width: 100%;
}

.creatacaptcha-screenshotting .creatacaptcha-modal {
    position: static;
    background: none;
}