body {
    background: #fff;
}
h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}
#footer {
    display: none;
}
#header {
    position: fixed;
}
.ddg-box {
    padding: 0px;
    border: 0px;
}

.pageContent {
    margin: 0px;
}
.pageContent .container {
    width: 100% !important;
    padding: 0px;
}
.ai-upscaler .tooltip {
    z-index: 1000000;
}
.ai-upscaler textarea {
    padding: 10px;
}
.ai-upscaler.ddg-box {
    padding-top: 0px;
    min-height: 500px;
}
.ai-upscaler .box {
    padding: 25px;
    border: 0px;
    min-height: 500px;
}
.ai-upscaler .left-side {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0px;
    padding: 0px 20px;
    padding-top: 20px;
    padding-bottom: 80px;
    margin-top: 60px;
    width: 20%;
    position: fixed;
    height: 100%;
    overflow-y: scroll;
}
.ai-upscaler .left-side .alert {
    padding: 10px 15px;
    font-size: 1em;
    text-align: center;
    line-height: 25px;
    margin-bottom: 0px;
}
.ai-upscaler .left-side .alert:after {
    display: none;
}

.ai-upscaler .left-side .final-size {
    padding: 2px 10px;
    background: #f7f7f7;
    border-top: 1px solid #eaeaea;
    border-radius: 0 0px 9px 9px;
}
.ai-upscaler .right-side {
    margin-left: 20%;
    padding-top: 60px;
}
.ai-upscaler .right-side .box {
    margin-top: 0;
    border-radius: 15px;
}
.ai-upscaler .right-side .upscaleFileId {
    position: relative;
    width: 100%;
    margin: 0px;
}
.choose-image-wrapper {
    text-align: center;
    border: 3px dashed #ccc;
    background: #f7f7f7;;
    margin-bottom: 20px;
    border-radius: 10px;
}
.choose-image-wrapper.image-loaded .remove-btn {
    display: none;
}
.choose-image-wrapper.image-loaded img {
    max-height: 50px;
    border: 2px solid #aaa;
    border: 0;
    padding: 0px;
}
.ai-upscaler .image-loaded .fm-selection {
    margin: 5px !important;
}

.ai-upscaler .btn.fm-choose-file {
    background: #fff !important;
    margin: 10px;
}
.ai-upscaler .upscale-wrapper {
    position: relative;
}
.ai-upscaler .upscale-wrapper img {
    width: 100%;
    max-height: none;
    border-radius: 15px;
    border: none;
}
.ai-upscaler .right-side .processing {
    border: 1px solid #ccc;
    margin-bottom: 30px !important;
    border-radius: 16px;
    max-height: 500px;
    overflow: hidden;
}
.ai-upscaler .right-side .processing img {
    opacity: 0.2;
    filter: blur(2px);
}
.ai-upscaler .fm-selection,
.ai-upscaler .image-slider {
    margin-bottom: 30px !important;
}
#submit-upscale-form .fa-flash {
    margin-left: 0px;
}

.ai-upscaler .ddg-slider {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 30px;
    font-weight: bold;
    color: #777;
}
.ai-upscaler .label-right {
    float: right;
    padding: 0px 4px;
    background: #fafafa;
    display: inline-block;
    line-height: 18px;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid #ddd;
    margin-top: 5px;
}
.ai-upscaler .image-slider {
    width: 100%;
}
.ai-upscaler.zooming-mode .image-slider {
    cursor: grab;
}
.ai-upscaler .label {
    font-size: 1em;
    line-height: 30px;
    font-weight: bold;
    color: #777;
    display: inline-block;
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    width: 100%;
    text-align: left;
}
.ai-upscaler .radiobuttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.ai-upscaler .radiobuttons label {
    margin: 0px;
    margin-bottom: 5px !important;
}

.ai-upscaler select.ddg-drop-down {
    margin-bottom: 14px;
    font-size: 1em;
}
.ai-upscaler .progress-label {
    font-size: 1.6em !important;
    color: #323235;
}

.ai-upscaler .spinner-wrapper {
    position: absolute;
    text-align: center;
    width: 100%;
    min-height: 200px;
    padding-top: 180px;
}


.ai-upscaler .uil-ring-css {
    width: 150px;
    height: 100px;
}
.ai-upscaler .uil-ring-css > div {
    width: 100px;
    height: 100px;
}

.ai-upscaler .result-wrapper {
    position: relative;
}
.ai-upscaler .result-wrapper.zoomed-in figure img {
    transform: scale(2);
    transform-origin: center;
}
.ai-upscaler .result-wrapper.fullscreen-on figure img {
    width: auto !important;
    height: 100vh;
}

.ai-upscaler .fullscreen-on .used-settings {
    display: none;
}
.ai-upscaler .fullscreen-on .actions > div {
    display: none;
}
.ai-upscaler .fullscreen-on .actions > div.fullscreen-out {
    display: inline-block;
}
.ai-upscaler .fullscreen-on img-comparison-slider {
    outline-width: 0px !important;
}
.ai-upscaler .fullscreen-on .zoom-note {
    bottom: auto;
    top: 25px;
}


.ai-upscaler .actions {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}
.confirm-account-message {
    display: none;;
}
.ai-upscaler .actions .button {
    fill: #fff;
    display: inline-block;
    background: #00000075;
    border-radius: 5px;
    padding: 12px;
    border: 1px solid #ffffffab;
    cursor: pointer;
    width: 42px;
    height: 42px;
    margin-right: 5px;
    -webkit-transition: all 0.15s ease-in-out;
       -moz-transition: all 0.15s ease-in-out;
         -o-transition: all 0.15s ease-in-out;
            transition: all 0.15s ease-in-out;
}
.ai-upscaler .actions .button:hover {
    background: #000;
    border: 1px solid #fff;
}
.ai-upscaler .actions .button.delete:hover {
    background: #c12f2f;
}
.ai-upscaler .actions .text-icon {
    color: #fff;
    overflow: hidden;
    width: 16px;
    height: 16px;
    font-size: 13px;
    display: inline-block;
}


.ai-upscaler .second-actions {
    right: 15px;
    bottom: 50px;
    top: auto;
    left: auto;
}

.ai-upscaler .used-settings {
    position: absolute;
    z-index: 10;
    top: 15px;
    right: 10px;
}
.ai-upscaler .used-settings li {
    float: right;
    margin-right: 6px;
    background: #00000075;
    border-radius: 5px;
    padding: 1px 6px;
    color: #fff;
    font-size: 12px;
    margin-top: 6px;
}
.ai-upscaler .zoom-note {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 50px;
    right: 15px;
    color: #fff;
    background: #00000075;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.85em;
}
.ai-upscaler .zoom-note > span {
    border: 1px solid white;
    border-radius: 5px;
    padding: 2px 6px;
}


.ai-upscaler .upscale-prompt {
    min-height: 80px;
    resize: vertical;
}
.ai-upscaler .auto-fill-prompt {
    font-size: 11px;
    font-weight: bold !important;
    margin: 0px;
    padding: 2px 8px;
    border-radius: 10px;
}
.ai-upscaler .auto-fill-prompt:hover {
    font-weight: bold !important;
}
.ai-upscaler .auto-fill-prompt .fa {
    margin: 0px;
    margin-left: 1px;
    margin-right: 2px;
}
.ai-upscaler .auto-fill-prompt .spinning {
    display: none;
}
.ai-upscaler .auto-fill-prompt.loading {
    opacity: 0.5;
}
.ai-upscaler .auto-fill-prompt.loading .spinning {
    display: inline-block;
}
.ai-upscaler .auto-fill-prompt.loading .fa-magic {
    display: none;
}
.ai-upscaler .no-upscales-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    margin: 0;
}

.ai-upscaler .no-upscales-message h2 {
    color: #999;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
}

.ai-upscaler .latest-upscales .old-upscale {
    position: relative;
    float: left;
    height: 100px;
    margin: 0.05%;
    width: 9.9%;
    border-radius: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: 30%;
}
.ai-upscaler .latest-upscales .old-upscale img {
    border-radius: 10px;
    height: 120px;
}
.ai-upscaler .latest-upscales .old-upscale .toolbar {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    text-align: right;
    padding-right: 5px;
}
.ai-upscaler .latest-upscales .old-upscale .toolbar span,
.ai-upscaler .latest-upscales .old-upscale .toolbar a {
    cursor: pointer;
    padding: 4px 6px;
    margin-left: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    font-size: 85%;
    margin: 2px;
}
.ai-upscaler .latest-upscales .spinning {
    position: absolute;
    left: 46%;
    top: 46%;
    transform: translate(-50%, 50%);
}
/* Style the scrollbar */
.latest-upscales-wrapper::-webkit-scrollbar {
    height: 12px;
}
.latest-upscales-wrapper::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 6px;
}
.latest-upscales-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}
.latest-upscales-wrapper::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
.latest-upscales-wrapper .latest-load-more.loading .not-loading {
    display: none;
}
.latest-upscales-wrapper .latest-load-more.loading .loading-text {
    display: inline-block !important;
}


.ai-upscaler .info-box {
    cursor: pointer;
}

.limit-message {
    color: green;
    font-weight: bold;
    background: greenyellow;
    padding: 5px 10px;
    border-radius: 5px;
}

.badge.saved-dream {
    float: right;
    margin: 5px;
    margin-right: 8px;
    font-size: 0.75em;
    background: #198754;
    border-radius: 10px;
    width: 45px;
}

ul.used-settings li.truncate-prompt {
    float: right;
    clear: both;
    text-align: right;
}

.realismo-wrapper .no-settings-info {
    display: none;
}
.top-wrapper.disabled > * {
    display: none;
}
.top-wrapper.disabled .final-size {
    display: none;
}
.top-wrapper.disabled .realismo-wrapper .no-settings-info {
    display: block;
}

.top-wrapper.disabled .realismo-wrapper,
.top-wrapper.disabled .choose-image-wrapper,
.top-wrapper.disabled .generate-button-wrapper {
    display: block;
}

@media only screen and (max-width: 1700px) {
    .ai-upscaler .left-side {
        width: 25%;
    }
    .ai-upscaler .right-side {
        margin-left: 25%;
    }
    .ai-upscaler .latest-upscales .old-upscale {
        width: 16.5%;
    }
    .ai-upscaler .zoom-note {
        display: none;
    }
}

@media only screen and (max-width: 1300px) {
    .ai-upscaler .left-side {
        width: 35%;
    }
    .ai-upscaler .right-side {
        margin-left: 35%;
    }
}

@media only screen and (max-width: 960px) {
    .ai-upscaler .tooltip {
        display: none !important;
    }
    .ai-upscaler .box {
        padding: 25px 10px;
        min-height: auto;
    }
    .ai-upscaler .left-side {
        width: 100%;
        position: relative;
        overflow-y: unset;
        border: 0px;
        padding-bottom: 10px;
    }
    .ai-upscaler .right-side {
        padding: 0px;
        margin: 0px;
    }
    ul.used-settings li.truncate-prompt,
    .ai-upscaler .used-settings > li {
        display: none;
    }
    .ai-upscaler .used-settings > li:nth-last-child(2) {
        display: inline-block;
    }
    .ai-upscaler .actions {
        top: 5px;
    }
    .ai-upscaler .actions .button {
        background: #00000055;
    }
    .image-slider figcaption {
        display: none;;
    }
    .ai-upscaler .no-upscales-message {
        display: none;
    }
    .ai-upscaler .spinner-wrapper {
        padding-top: 50px;
        font-size: 80%;
    }
    .ai-upscaler .spinner-wrapper p {
        margin-bottom: 0px;
    }
    .ai-upscaler .uil-ring-css > div {
        width: 50px;
        height: 50px;
    }
    .ai-upscaler .uil-ring-css {
        width: 100px;
    }
    .ai-upscaler .result-wrapper.fullscreen-on figure img {
        width: auto !important;
        height: auto;
        max-width: 100%;
        max-height: 100vh;
    }
    .ai-upscaler .result-wrapper.fullscreen-on .actions  {
        position: absolute;
        left: 30px;
    }
    .ai-upscaler .latest-upscales .old-upscale {
        height: 80px;
        margin: 0.2%;
        width: 24.5%;
    }
    .badge.saved-dream {
        font-size: 0.7em;
        width: 40px;
        height: 18px;
    }
}
