body {
    touch-action: pan-x pan-y;
}
h2 {
    font-weight: 500;
}
.button {
    display: inline-block;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 12px;
    margin: 8px 0;
    border-radius: 4px;
    font-size: 12px;
    line-height: 16px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
}
.button:hover {
    border: 1px solid #aaa;
}
.button.accent {
    background: var(--accent);
    width: 100%;
    font-weight: 700;
    letter-spacing: 1px;
}
.button.accent:hover {
    background: var(--accent-hover);
}
.input-label {
    font-weight: 400;
    padding: 8px 0;
    font-size: 14px;
}
input, select, textarea {
    margin: 8px 0;
    width: 100%;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #ababab;
    transition: border 200ms ease-in-out;
    display: block;
    line-height: 20px;
    font-size: 16px;
    height: 56px;
    left: 0;
    top: 32px;
    border-radius: 4px;
    padding: 14px 14px 14px 16px;
}
textarea {
    height: 180px;
}
input[type=range] {
    background: unset;
    border: unset !important;
    border-radius: unset;
    padding: unset;
    margin: unset;
    display: unset;
    width: unset;
    font-size: unset;
    background: linear-gradient(to bottom, #fff 45%, #ccc 50%, #fff 55%);
    height: 16px;
}
input, textarea {
    cursor: text;
}
select {
    cursor: pointer;
}
input:not(:placeholder-shown), textarea:not(:placeholder-shown) {
    background: #fff;
}
.image-editor input[type=range] {
    background: linear-gradient(to bottom, #fff 45%, #ccc 50%, #fff 55%);
}
input.dropdown, select.dropdown {
    background: url("/static/img/ui/dropdown.svg") #f7f7f7 no-repeat calc(100% - 10px);
    background-size: 12px;
    padding-right: 24px;
    cursor: pointer;
}
input.calendar {
    background: url("/static/img/ui/calendar.svg") #f7f7f7 no-repeat calc(100% - 10px);
    background-size: 12px;
    cursor: pointer;
    cursor: pointer;
}
input:focus, textarea:focus {
    border: 1px solid var(--accent);
    background: #fff;
}
input.dropdown:focus, input.dropdown:not(:placeholder-shown) {
    background: url("/static/img/ui/dropdown.svg") #fff no-repeat calc(100% - 10px);
    background-size: 12px;
}
input.calendar:focus, input.calendar:not(:placeholder-shown) {
    background: url("/static/img/ui/calendar.svg") #f7f7f7 no-repeat calc(100% - 10px);
    background-size: 12px;
}
input.link, select.link {
    background: url("/static/img/ui/hyperlink.svg") #fff no-repeat 10px;
    padding-left: 36px;
}
input.dropdown.filter, select.dropdown.filter {
    background: url("/static/img/ui/dropdown.svg") #fff no-repeat calc(100% - 10px);
    background-size: 12px;
}
input.error, textarea.error {
    border: 1px solid #f80;
}
textarea {
    resize: vertical;
}
.image-upload-container {
    width: 320px;
    position: relative;
    padding: 16px;
    height: 48px;
    border-radius: 2px;
    display: block;
    cursor: pointer;
}
.image-upload-container img {
    position: absolute;
    top: 8px;
    left: 8px;
    object-fit: scale-down;
}
.image-upload-container > span {
    display: block;
    position: absolute;
    left: 92px;
    top: 16px;
    font-size: 14px;
    color: #888;
}
input.extra-dropdown:focus {
    border-radius: 2px 2px 0 0;
}
.button.inline {
    display: inline-block;
    width: unset;
    margin: 8px;
    padding: 12px 24px;
}
.button.inline.small {
    padding: 8px 24px;
}
.error-label {
    font-size: 12px;
    color: #f40;
    display: block;
    margin: -4px 8px 4px;
}
.error-label.shifted {
    margin: 2px 8px 4px;
}
.register-button {
    display: inline-block;
    width: 160px;
    margin-right: 20px;
}
.image-size-label {
    margin-top: 10px;
}
.cropit-image-zoom-input {
    display: inline-block;
}
.fas.large {
    font-size: 20px;
    line-height: 20px;
    padding: 8px;
}
.fas.small {
    font-size: 12px;
    line-height: 12px;
    padding: 8px;
}
.button.accent.danger {
    background: #f40;
    color: #fff;
}
.button.accent.danger:hover {
    background: #f62;
}
@media screen and (max-width: 400px) {
    .image-editor {
        margin-left: calc(50vw - 204px);
    }
}
input[type=range] {
    background: unset;
    border: unset !important;
    border-radius: unset;
    padding: unset;
    margin: unset;
    display: unset;
    width: unset;
    font-size: unset;
    background: linear-gradient(to bottom, #fff 45%, #ccc 50%, #fff 55%);
    height: 16px;
    -webkit-appearance: none;
}
input[type=range]::-webkit-slider-thumb {
  height: 8px;
  width: 8px;
  border-radius: 8px;
  background: #ccc;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: 0;
}

.cropit-preview.cropit-image-loading .spinner {
    opacity: 1;
}

/* Show move cursor when image has been loaded */
.cropit-preview.cropit-image-loaded .cropit-preview-image-container {
    cursor: move;
}

/* Gray out zoom slider when the image cannot be zoomed */
.cropit-image-zoom-input[disabled] {
    opacity: .2;
}

/* Hide default file input button if you want to use a custom button */

/* The following styles are only relevant to when background image is enabled */

/* Translucent background image */
.cropit-preview-background {
    opacity: .2;
}
input.cropit-image-zoom-input {
    position: relative;
    margin-top: 20px !important;
    width: calc(100% - 110px);
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}
input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}
input[type="range"]::-ms-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}
#image-cropper {
    overflow: hidden;
}

.image-size-label {
    margin-top: 10px;
}
.image-editor {
    max-width: 250px;
    max-height: 250px;
    padding-top: 0;
}
.cropit-preview-image-container {
    border-radius: 1000px;
    z-index: 100;
}
.cropit-preview {
    border: none;
}
.image-editor {
    max-width: 250px;
    max-height: 250px;
    padding-top: 0;
}