.modal-footer-algo button {
  width: 250px !important;
  margin: 10px 10px !important;
}

.values-dpi-first div {
  display: grid;
  margin: 10px;
}

#levelsInput_min, #levelsInput_max {
  width: 50%;
  text-align: center;
  margin: 10px 0px;
}

.container-fluid.adv_btn {
      overflow: hidden;
      position: absolute;
}

.one-touch
{
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 5px;
  padding: 10px 15px;
}

.one-touch:hover
{
  background: #00c4cc;
  border: 2px solid #00c4cc;
  transition: 0.6s;
}

.values-dpi-first {
  width: 40%;
  margin: auto;
  display: flex;
  text-align: center;
  justify-content: center;
}

/*COLOR RANGE*/

.cr-btns button {
  background: transparent;
  color: #fff;
  padding: 7px 20px 10px;
  border: 2px solid #fff;
  border-radius: 5px;
  font-variant: small-caps;
}

.color-range .rangeslider {
  display: inline-block;
  background: firebrick;
  margin: 20px 10px;
  box-shadow: 0px 0px 10px #000000c4;
  border-radius: 5px;
  background: #232c386b;
}

.cr-btns button:hover {
  border: 2px solid #00c4cc;
  color: #00c4cc;
  transition: 0.6s;
}

.cr-activate label {
  line-height: 0.2!important;
  padding-top: 0!important;
  margin-top: 0px!important;
}

.cr-activate .switchslider.round {
  background-color: #1b222c;
  border: 1px solid #ffffff1a;
}

.cr-activate input:checked + .switchslider {
  background-color: #00c4cc;
}

.cr-activate .switchslider {
  height: 28px;
}

.color-range .rangeslider {
  display: inline-block;
}

.check-input {
    text-align: left;
}

.check-input label
{
  margin-left: 5px;
}

.tooltip-container
{
  position: relative;
  width: fit-content;
  display: inline-block;
}

.question-mark {
  cursor: pointer;
  font-size: 15px;
}

.tooltip {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}


.check-input {
    display: none;
}

.check-onetouch
{
  padding: 3px;
}

.one-touch-toggle
{
  background: transparent;
  border: 0px;
  font-size: 30px;
}

.one-touch-container
{
  background: #222;
  padding: 20px 20px 0px 20px;
  width: fit-content;
  border-radius: 5px;
}

.one-touch-toggle i:hover
{
  transition: 0.6s;
  color: #00c4cc!important;
  font-size: 30px;
}

.cr-activate button {
  background: transparent;
  color: #fff;
  padding: 5px 10px;
  border: 1px solid #171d25;
  border-right: 0px;
  border-top: 0px;
  border-bottom-left-radius: 5px;
  font-variant: small-caps;
}

.cr-activate button:hover {
  color: #00c4cc;
  transition: 0.6s;
}

.cr-activate .switchslider::before {
    width:20px;
    height: 20px;
    left: 7px;
    bottom: 3px;
}


.cr-activate .switch {
  height: auto;
}

.cr-activate {
  background: #00000029;
  border-bottom-left-radius: 5px;
}

.color-range {
  text-align: center;
  color: #fff;
  border: 2px solid #00000029;
  width: fit-content;
  margin: 10px auto 20px auto;
  border-radius: 5px;
  padding: 20px;
  background: #00000038;
  justify-content: center;
}

.cr-slider[type=range]{
    -webkit-appearance: none;
}

.cr-slider[type=range]::-webkit-slider-runnable-track {
    width: auto;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}

.cr-slider[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #00c4cc;
    margin-top: -4px;
}

.cr-slider[type=range]:focus {
    outline: none;
}

.cr-slider[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

.cr-slider[type=range]{
    /*required for proper track sizing in FF*/
    width: auto;
}

.cr-slider[type=range]::-moz-range-track {
    width: 90%;
    height: 5px;
    background: #eee;
    border: none;
    border-radius: 3px;
}

.cr-slider[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #00c4cc;
}

/*hide the outline behind the border*/
.cr-slider[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}

.cr-slider[type=range]:focus::-moz-range-track {
    background: #ccc;
}

.cr-slider[type=range]::-ms-track {
    width: 300px;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
.cr-slider[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
.cr-slider[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
.cr-slider[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #00c4cc;
}
.cr-slider[type=range]:focus::-ms-fill-lower {
    background: #888;
}
.cr-slider[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

.checkbox-cr {
  display: flex;
}

.cr-slider {
  margin-bottom: 10px;
}

.rangeslider {
  padding: 10px;
  text-align: center;
  margin: 20px auto auto;
}

.color-range span {
  display: grid;
  justify-items: center;
  margin: -10px auto 10px auto;
}

.color-range label {
  justify-content: center;
  margin: 0% auto 0px auto;
  padding: 0px 20px;
  display: block !important;
}

.rangeslider input {
  background: #0000001a;
  border: 2px solid #00000040;
  padding: 5px;
  border-radius: 5px;
  color: #fff;
  text-align: center;
}

.color-range label {
  font-size: 20px;
  font-variant: small-caps;
  line-height: 2;
  font-weight: 600;
}
/*END COLOR RANGE*/

.container-fluid.adv_btn {
  overflow: hidden;
}

.sticky-top {
    border: 0px!important;
}

/* DPI TEST */

#DPITestModal .modal-footer button {
    width: 150px !important;
}

.dpi-test {
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 30px;
    color: #fff;
    text-transform: uppercase;
    background: transparent;
}

.dpitest-desc, .algotest-desc {
    padding: 10px 0px 13px;
    text-align: center;
    background: #222;
    border-bottom: 1px solid #777;
    font-variant: small-caps;
}

.dpi-test:hover {
    border: 1px solid #00c4cc;
    color: #00c4cc;
    transition: 0.6s;

}

/* 6 EASY STEPS CSS*/
.headline-h2 {
    font-variant: all-petite-caps;
}

.icons-steps {
    color: #00c4cc;
    font-size: 25px !important;
    font-weight: 600;
}

.easy-steps {
    padding: 20px;
    box-shadow: 0px 0px 20px 5px #00000085;
    margin: 5px auto;
    width: 31%;
}

@media (max-width: 1199px) {
    .imagr-buttons button {
        margin-bottom: 10px;
    }
    
    .rangeslider.replace, .rangeslider.actual {
      display: block;
    }
}

@media (max-width: 767px) {
    .easy-steps {
        padding: 20px 5px;
        margin: 1%;
        width: 48%;
    }
    
    .cr-activate {
        width: 100%;
        display: block!important;
        margin: auto !important;
        border-bottom-left-radius: 0px;
    }

    .cr-activate label{
        display: inline-block;
    }

    .cr-activate label {
      line-height: 0!important;
    }    
    
    .cr-activate > label:nth-child(1) {
        margin-top: 2px !important;
    }
    
    .checkbox-cr {
        display: block;
    }

    .color-range {
        display: block;
        width: 80%;
    }
    
    #color-change-form {
      margin-top: 30px;
    }
    
    .rangeslider {
      display: block;
    }
}

@media (max-width: 450px) {
    .easy-steps {
        padding: 20px 5px;
        margin: 1%;
        width: 48%;
    }
}

/*	IMAGR WORKSPACE	*/

#image-port {
    position: relative !important;
    margin: 0px auto 20px auto !important;
}

.imagr-workspace {
    padding: 40px 1% 1% 1%;
    width: 80%;
    margin: auto;
    border: 2px solid #00C4CC;
    background: #fff;
}

.canvas {
    overflow: hidden;
    position: relative;
}

.imagr-img {
    transition: all 0.4s ease;
    cursor: move;
    display: block;
    position: relative;
}

.imagr-col-6 {
    overflow: hidden;
    margin: auto;
    text-align: center;
}

@media (max-width: 991px) {
    .imagr-workspace {
        width: 97%;
    }

    .imagr-workspace {
        padding: 1% 1%;
    }

    .reset-position {
        display: none;
    }
}

/*	ZOOM SLIDER	*/
.zoom-slider {
    font-variant: all-petite-caps;
    font-size: 20px;
}

.imagr-zoom {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
}

.zoom-slider .slider {
    width: 70%;
}

@media (min-width: 1200px) {
    .zoom-slider .slider {
        width: 40%;
    }
}

@media (max-width: 1050px) {
    .container-fluid.adv_btn {
      overflow: hidden;
      position: absolute;
    }
}

{% if paid %}
@media (max-width: 1050px) {
    .container-fluid.adv_btn {
      overflow: hidden;
      position: unset;
    }
}
{% endif %}

/*	CURRENT SIZE STYLING	*/

.current {
    font-size: 20px;
}

.current h3 {
    font-variant: all-petite-caps;
}

.current h5 {
    display: inline;
}

.current>h5:nth-child(3),
.current>h5:nth-child(4) {
    padding-left: 1.5%;
}

/*	BE AWARE BANNER	*/

.small-img {
    display: none;
    border: 2px solid red;
    padding: 5px 10px 9px 10px;
    border-radius: 5px;
    width: fit-content;
}

.small-img h5 {
    font-variant: small-caps;
}

.small-img i,
.small-img a {
    color: red;
    font-weight: 600;
    transition: transform 0.1s ease 0s
}

.small-img i:hover,
.fa-question-circle:hover {
    transform: rotate(20deg);
    transition: 0.6s;
}

/*	SIDEBAR STYLING	*/
#level_adj button,
#auto_adj button,
.denoise_settings button,
.unsharpmasksettings button,
.comiccontainer button,
.autosharp-settings button,
.color_adj button {
    display: inline-block !important;
}



#denoise-val {
    display: block;
    margin: auto;
}

.adv_headline {
    padding: 0px;
    margin-top: 10px;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

#brightness-img {
    margin-top: 15px;
}

#invert_img,
#mirror_img {
    display: inline-grid;
    width: 33%;
}

#invert_img label,
#mirror_img label {
    margin-top: 0px;
}

#contrastInput,
#brightnessInput,
#gammaInput,#levelsInput {
    width: 30%;
    margin-top: 15px;
}

#denoise_vals {
    width: 30%;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1134;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.5s;
    border-right: 2px solid #777;
    background: #222;
}

.adv-buttons {
    margin: auto;
    width: 80%;
    border-radius: 5px;
}

.level_adj button:hover,
.auto_adj button:hover,
.color_adj button:hover {
    color: #00c4cc;
    border: 2px solid #00c4cc;
    transition: 0.4s;
}

.mirror,
.invert {
    display: block;
    margin: 10px auto 0px auto;
}

.unsharp {
    display: inline-block;
    width: 35% !important;
    margin-bottom: 15px;
    border: 0px;
    border-radius: 3px;
}

.advancedbtncontainer button {
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    margin-bottom: 20px;
}

.level_adj button,
.auto_adj button,
.color_adj button {
    display: block;
    margin: 0px auto 0px auto;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 20px;
    border-radius: 5px;
    text-transform: uppercase;
}

/*	CROP MODAL	*/

.feather-edges {
    margin: auto;
    text-align: center;
    display: grid;
    background: #222;
    padding: 10px 0px 20px 0px;
    border-radius: 5px;
    width: 50%;
    margin: 0px auto 12px auto;
    color: #fff;
    border: 1px solid #777;
    text-align: center;
    font-variant: all-petite-caps;
    font-weight: 600;
}

.feather-input {
    margin: 10px auto;
    width: 30%;
    background: #bdbdbd;
    border: 1px solid #777;
    color: #222;
    text-align: center;
    border-radius: 5px;
    margin: 10px auto;
    height: 40px;
}

.roundedges {
    background: #222;
    padding: 10px 0px 20px 0px;
    border-radius: 5px;
    width: 50%;
    margin: 0px auto 12px auto;
    color: #fff;
    border: 1px solid #777;
    text-align: center;
    font-variant: all-petite-caps;
    font-weight: 600;
}

.cropper-view-box {
    outline-color: #00c4cc;
    outline: 1px solid #00c4cc;
}

.cropper-point.point-se {
    height: 10px;
    opacity: 1;
    width: 10px;
}

.cropper-point {
    background-color: #00c4cc;
    height: 10px;
    opacity: 1;
    width: 10px;
}

.roundedges .slidecontainer {
    width: 70%;
    margin: auto;
}

.squarecrop {
    text-align: center;
    display: grid;
    margin: 15px;
}

.fixedcropsize {
    justify-content: center;
    justify-items: center;
    font-variant: all-petite-caps;
    font-weight: 600;
    margin: -50px auto 0px auto;
    display: grid;
    color: white;
    text-align: center;
}

.crop_format_input {
    width: 50%;
    margin: 10px auto 10px;
}

.crop_input {
    background: #222;
    border: 1px solid #777;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    width: 89%;
    margin: 10px auto;
    height: 40px;
}

.crop_width_input::-webkit-outer-spin-button,
.crop_width_input::-webkit-inner-spin-button,
.crop_height_input::-webkit-outer-spin-button,
.crop_height_input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.crop_width_input[type=number],
.crop_height_input[type=number] {
    -moz-appearance: textfield;
}

/* CROP TOGGLE */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 10px auto 0px auto;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switchslider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    height: 34px;
}

.switchslider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.switchslider {
    background-color: #00c4cc;
}

input:focus+.switchslider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.switchslider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.switchslider.round {
    border-radius: 34px;
}

.switchslider.round:before {
    border-radius: 50%;
}

/* CSS FOR PHOTO TEXT EDITOR */
.text-editor-input {
    border: 2px dashed white;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: normal;
    color: #00c4cc;
    box-sizing: border-box;
    top: 5%;
    left: 5%;
    width: 200px;
    height: 80px;
    z-index: 999;
    position: absolute;
    display: inline-block;
    touch-action: none;
    outline: 0px solid transparent;
    font-size: 24px;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
}

.text-editor-input:focus {
    border: 2px solid #00c4cc;
    outline: 0px solid transparent;
}

.text-img-container {
    position: relative;
    display: inline-block;
}

.crop_settings {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  background: #222222;
  margin: 10px auto;
  border: 1px solid #777;
}

.crop_settings .roundedges {
    margin: 0px auto;
}

.crop_settings .roundedges {
    border: 0px;
}

.squarecrop {
  color: #fff;
  text-align: center;
  font-variant: all-petite-caps;
  font-weight: 600;
}

.crop_settings .roundedges,.crop_settings  .squarecrop {
  width: 50%;
  display: block;
}

.center_btn {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  width: 70px;
  background: #00c4cc !important;
  position: absolute;
  z-index: 99;
  right: 15px;
}

.crop_settings .roundedges {
  margin: 15px !important;
}

.crop_settings .roundedges label {
  margin-bottom: 10px;
}

.crop_settings .squarecrop {
  display: grid !important;
}

#taskModal button:focus {
    outline: none !important;
    box-shadow: none !important;
}

#easyModeDownloadButton:hover, #previewBtn:hover {
  color: #fff !important;
}

#easyModeDownloadButton {
    border-radius: 10px!important;
}

#downloadDropdown {
  border-radius: 10px;
}

#downloadDropdown:hover {
  color: #fff;
}

.dropdown-menu .btn {
  width: 100%;
  padding: 10px;
  margin: 5px auto;
  border-radius: 10px;
}

.dropdown-menu .btn:hover {
    color: #fff;
}

.dropdown-menu.show {
  padding: 5px;
}

.dropdown-menu.show {
  background: #232c38;
  border: 1px solid #777;
}

/*	RESIZE MODAL	*/
#width,
#height,
#widthp,
#heightp,
#dpi,
#format {
    width: 100%;
    margin: auto;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #fff;
}

.format-type {
    display: none;
}

.resize-body-border .row-cols-4 {
    margin: 10px 0px;
}

/*	RESIZE CHECKBOX STYLING	*/
.b-contain span {
    margin-top: -3px;
    display: block;
}

.b-contain *,
.b-contain *::before,
.b-contain *::after {
    box-sizing: content-box !important;
}

.b-contain input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.b-contain span {
    line-height: 1.54;
    font-size: 1rem;
    font-family: inherit;
}

.b-contain {
    display: table;
    position: relative;
    padding-left: 1.8rem;
    cursor: pointer;
    margin-bottom: .5rem;
    margin: 10px auto;
}

.b-contain input[type="checkbox"]~.b-input {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background: rgba(241, 245, 248, 1);
    transition: background 250ms;
    border: 1px solid rgba(184, 194, 204, 1);
    border-radius: 0.125rem;
}

.b-contain input[type="radio"]~.b-input {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background: rgba(241, 245, 248, 1);
    transition: background 250ms;
    border: 1px solid rgba(184, 194, 204, 1);
    border-radius: 2.0rem;
}

.b-contain input[type="checkbox"]~.b-input::after {
    content: '';
    position: absolute;
    display: none;
    left: .45rem;
    top: .18rem;
    width: .25rem;
    height: .6rem;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transition: background 250ms;
    transform: rotate(45deg);
}

.b-contain input[type="radio"]~.b-input::after {
    content: '';
    position: absolute;
    display: none;
    left: .25rem;
    top: .25rem;
    width: .75rem;
    height: .75rem;
    border-radius: 2.0rem;
    background: #ffffff;
    transition: background 250ms;
}

.b-contain input:disabled~.b-input::after {
    border-color: rgba(135, 149, 161, 1);
}

.b-contain input:checked~.b-input::after {
    display: block;
}

.b-contain:hover input~.b-input,
.b-contain input:focus~.b-input {
    background: rgb(231, 238, 243);
}

.b-contain input:focus~.b-input {
    box-shadow: 0 0 0 2px rgba(52, 144, 220, 0.5);
}

.b-contain input:checked~.b-input {
    background: #00c4cc;
    border-color: #00c4cc;
}

.b-contain input[type="checkbox"]:disabled~.b-input {
    background: rgba(241, 245, 248, 1);
    border-color: rgba(184, 194, 204, 1);
    opacity: 0.6;
    cursor: not-allowed;
}

.b-contain input[type="radio"]:disabled~.b-input {
    background: rgba(241, 245, 248, 1);
    border-color: rgba(184, 194, 204, 1);
    opacity: 0.6;
    cursor: not-allowed;
}

.b-input {
    border-radius: 4px !important;
}

.b-contain input[type="radio"]:disabled~.b-input::after {
    background: rgba(135, 149, 161, 1);
}

.b-contain input:checked:focus~.b-input,
.b-contain:hover input:not([disabled]):checked~.b-input {
    background: #00c4cc;
    border-color: #00c4cc;
}

.b-contain .b-input::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    margin-left: -0.85rem;
    margin-top: -0.85rem;
    background: #00c4cc;
    border-radius: 2rem;
    opacity: .6;
    z-index: 99999;
    transform: scale(0);
}

/*	TEXT MODAL */

div.text-function:nth-child(12) {
    display: none;
}

.text-functions {
    margin: 0px auto 20px auto;
}

.text-image {
    border: 1px solid #777;
}

.text-icons span {
    padding: 0px 10px 10px;
}

.text-icons {
    display: inline-flex;
    justify-content: center;
}

.text-functions input {
    width: 100%;
    border-radius: 5px;
}

.text-function {
    padding: 7px 0px;
}

.color-text {
    height: 30px;
    border: 0px;
}

#fonts {
    width: 100%;
    height: 30px;
}

/*	Materials Modal */
.material-select {
    background: #222;
    color: #fff;
    border: 1px solid #777;
    width: 100%;
    height: 210px;
}

.tab .tablinks {
    padding: 10px;
    background: transparent;
    color: #ffffff;
    margin: 0px 4px 5px 4px;
    border-radius: 10px;
    border: 2px solid #00c4cc !important;
    font-size: 18px;
    width: 23%;
}

.tablinks.active {
    background: #222 !important;
    color: #00c4cc;
}

.tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    width: 100%;
}

/*	PREVIEW MODAL */


#material-preview-img {
    color: #232c38;
    cursor: auto;
}

.preview-modalsize {
    max-width: 50%;
}

.preview button {
    max-width: 300px;
    padding: 10px 0px;
}

#material_type_tabs button {
    border: 2px solid #fff;
    color: #fff;
}

#material_type_tabs button.active,
#material_type_tabs button:hover {
    background: #00c4cc;
    border: 2px solid #00c4cc;
}

#easymode .container {
    max-width: 500px;
}

/* Entferne Fokus- und Active-Stile nur im #taskModal */
#taskModal button:focus,
#taskModal button:active,
#taskModal button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}



#taskModal .btn-close {
  position: absolute;
  right: 15px;
  background: transparent;
  font-size: 20px;
  top: 16px;
  font-weight: 600;
  color: #fff;
  opacity: 0.7;
  padding-top: 0px!important;
  padding-bottom: 13px;
}

#taskModal .btn-close:hover {
  transition: 0.4s;
  color: #fff;
}


#taskModal .modal-body {
  text-align: left;
  border-radius: 5px;
}


.modal-title {
  text-align: center;

  margin: auto;

}

.modal-footer .close-preview {
    margin: auto !important;
}

#taskModal button:hover{
background: #25b4b9;
}

#material_type_tabs {
    justify-content: center;
}

        .mode-content { display: none; }  /* Hide all mode content by default */
        .active-mode { display: block; }  /* Show the active mode content */
        .modal-header {
            background: #00c4cc;
            color: #fff;
            border-bottom: none;
            border-radius: 5px 5px 0 0;
        }

        .modal-content {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            animation: fadeIn 0.4s ease-in-out;
        }

        .btn-modern {
            background: #00c4cc;
            color: #fff;
            border: none;
            border-radius: 20px;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            transition: transform 0.2s ease;
        }

        .btn-modern:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .canvas-preview {
            border: 3px dashed #6c757d;
            border-radius: 12px;
            padding: 10px;
            text-align: center;
        }

.small_adjustments {
  text-align: center;
}

#taskModal h6 {
  margin-bottom: -3px !important;
  text-align: left;
  border-top: 1px solid #3b444f;
  margin-top: 10px;
  padding-top: 10px;
}

.small_adjustments button {
  width: 47%;
  margin: 1%;
  padding: 5px;
}

    .thumb-button {
        cursor: pointer;
        font-size: 2rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .thumb-button.selected {
      color: #0d6efd;
      transform: scale(1.2);
      background: #ffffff0f;
      border-radius: 5px;
    }

#taskModal {
  backdrop-filter: blur(10px);
}

    #feedbackMessage {
        font-weight: bold;
    }

        .footer-feedback {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            margin-top: 20px;
            padding: 10px 0;
            border-top: 1px solid #dee2e621;
            border-bottom: 1px solid #dee2e621;
        }

        h5 {
            font-family: 'Inter';
        }

        .thumb-button {
            font-size: 24px;
            color: #6c757d;
            transition: color 0.3s ease, transform 0.2s ease;
            cursor: pointer;
        }

        .thumb-button:hover {
            color: #ff7e5f;
            transform: scale(1.2);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

/***********************************************************************************************************************/

#normal-tab, #easy-tab {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-size: 1.2rem;
}

.loading_text {
  position: absolute;
  left: 50%;
  top: 57%;
  text-align: center;
  margin: auto;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
}

.newtons-cradle {
 --uib-size: 70px;
 --uib-speed: 1.2s;
 --uib-color: #00c4cc;
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 width: var(--uib-size);
 height: var(--uib-size);
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
}


.newtons-cradle__dot {
 position: relative;
 display: flex;
 align-items: center;
 height: 100%;
 width: 25%;
 transform-origin: center top;
}

.newtons-cradle__dot::after {
 content: '';
 display: block;
 width: 100%;
 height: 25%;
 border-radius: 50%;
 background-color: var(--uib-color);
}

.newtons-cradle__dot:first-child {
 animation: swing var(--uib-speed) linear infinite;
}

.newtons-cradle__dot:last-child {
 animation: swing2 var(--uib-speed) linear infinite;
}

@keyframes swing {
 0% {
  transform: rotate(0deg);
  animation-timing-function: ease-out;
 }

 25% {
  transform: rotate(70deg);
  animation-timing-function: ease-in;
 }

 50% {
  transform: rotate(0deg);
  animation-timing-function: linear;
 }
}

@keyframes swing2 {
 0% {
  transform: rotate(0deg);
  animation-timing-function: linear;
 }

 50% {
  transform: rotate(0deg);
  animation-timing-function: ease-out;
 }

 75% {
  transform: rotate(-70deg);
  animation-timing-function: ease-in;
 }
}

.loading {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background: #0009;
  z-index: 99;
      top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.newtons-cradle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.imagr-buttons {
  margin-top: 2rem;
}

.btn-close_bg {
  float: right;
}

#step3 .preview button {
    width: 150px;
}

#step3 .preview button:hover {
    color: #fff!important;
}

.nav.nav-tabs.justify-content-center li {
  margin: 0% 5px;
}

#taskModal a {
  color: #fff;
  font-weight: 600;
}

#taskModal a:hover {
  color: #00c4cc;
  transition: 0.4s;
}

.nav-tabs .nav-link:hover {
    color: #00c4cc;
}

.nav-tabs .nav-link {
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 20px;
}

.nav-tabs .nav-link.active {
  color: #fff !important;
  background-color: #00c4cc;
  border-color: #00c4cc;
  font-weight: 600;
}

#level_adj p {
  margin: auto;
  display: flex;
  justify-content: center;
}

#levelsInput {
  display: flex;
  justify-content: center;
  margin: 5px auto;
  width: 50%;
  text-align: center;
}

#comic_img,
#add_border,
#denoise_img,
#sharpen_img,
#mirror_img,
#invert_img,
#brightness-img,
#contrast_img,
#auto_adj,
#gamma_adj,
#level_adj,
#remove_material,
#color_adj {
    margin: 20px auto 0px auto !important;
    display: none;
    float: none !important;
    text-align: center;
}

#add_border {
    margin: 10px auto 0px auto !important;
}

.border-vals {
    display: inline-grid;
    justify-items: center;
    margin-bottom: 15px;
}

.add-border-container button {
    display: inline-block;
}

.displayDiv {
    display: table !important;
}

.sidebar-tabs {
    width: 80%;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    padding: 10px 0px;
    font-variant: small-caps;
}

.sidebar-tabs:hover,
.sidebar-tabs:active,
.sidebar-tabs:focus {
    color: #00c4cc;
    border: 2px solid #00c4cc;
    transition: 0.5s;
}

.advancedbtncontainer button:hover,
.advancedbtncontainer button:active {
    color: #00c4cc;
    border: 2px solid #00c4cc;
    transition: 0.5s;
}

div#SizeModal .row-cols-4>* {
    position: relative;
}

div#SizeModal .unitForWH,
div#SizeModal .percentage {
    padding-right: 18px;
}

/*	RESET POSITION BUTTON	*/
.reset-position {
    right: 0px;
    top: 0px;
    position: absolute;
}

.reset-position button {
    padding: 3px 10px 5px;
    background: transparent;
    border-left: 2px solid #00c4cc;
    border-bottom: 2px solid #00c4cc;
    border-right: 0px;
    border-top: 0px;
    border-bottom-left-radius: 10px;
    font-weight: 600;
    color: #00c4cc;
    font-variant: small-caps;
}

.reset-position i {
    padding-right: 6px;
}

.reset-position button:hover {
    transition: 0.5s;
    background: #00c4cc;
    color: #fff;
}

#previewBtn {
  width: 250px;
}

.cropper-point, .cropper-line {
  background-color: #00c4cc!important;
}

.cropper-view-box {
    box-shadow: #00c4cc 0px 0px 0px 1px!important;
}

.splitscreen {
  display: flex;
  width: 100%;
}

.splitscreen {
    display: flex;
    width: 100%;
}

.canvas-preview {
    transition: width 0.3s ease-in-out;
}

#optionalCanvasContainer {
  width: 100% !important;
}

/* DRAG AND DROP ZONE */
@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}



@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(7, 87, 91, 0.5844538498993348);
        background: #00c4cc26;
        border: 2px solid #00c4cc;
	}

	50% {
		transform: scale(1);
		box-shadow: 0 0 0 3px rgba(0, 196, 204, 0.5844538498993348);
        background: #00c4cc26;
        border: 2px solid #00c4cc;
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 98, 102, 0.5844538498993348);
        background: #00c4cc26;
        border: 2px solid #00c4cc;
	}
}

/*DIV FOR HIGHLIGHTING THE RESIZE BUTTON*/

.not-pulse button {
  animation: pulse 1.7s infinite;
  animation-iteration-count:6;
  animation-fill-mode:backwards;
}


@media (max-width: 650px) {
	.preview-modalsize {
		max-width: 90%;
		margin: auto;
	}
    .dl-pre-btn {
      display: block !important;
    }

    .dl-pre-btn .imagr-buttons {
      width: 250px;
      margin: 0px auto !important;
      text-align: center !important;
      display: block;
    }

    .dropdown-menu.show {
      width: 250px;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-top: 0px;
    }
}


@media (min-width: 451px) and (max-width: 550px) {
    .tab .tablinks {
        font-size: 15px;
    }
}

@media (max-width: 450px) {
    .tab .tablinks {
        padding: 10px 5px;
        background: transparent;
        color: #ffffff;
        margin: 0px 4px 5px 4px;
        border-radius: 10px;
        border: 2px solid #00c4cc !important;
        font-size: 15px;
        width: 31%;
    }
}

.canvas-preview {
    width: 100%;
}

  .masthead {
    font-variant: none!important;
    width: 100%;
    padding: 10vw 0px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.6) 75%,
        rgba(0,0,0,1) 100%
      ),
      url('/static/fixed/Placeholder.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 2px solid #777;
    font-variant: all-petite-caps;
    position: relative;
  }
 
  .mast-logos {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
  }
 
  .collab img {
    width: 40%;
    opacity: 0.9;
  }
 
  .atomstack {
    background-color: transparent;
    transition: background-color .3s ease;
    background: transparent;
    color: #fff;
    border: 1px solid #ffffff6b;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: monospace;
  }
 
  .atomstack:hover {
    background: #ffffff2e;
    transition: 0.3s;
    border: 1px solid #fff;
    background-color: #ffffff2e;
  }
 
  @media (min-width: 1200px) {
    .masthead h1 {
      font-size: 3rem;
      margin-bottom: 30px;
      font-weight: 400;
    }
  }
 
  @media (max-width: 800px) {
    .collab img {
      min-width: 65%;
    }
  }
 
  .masthead h2 {
    font-size: 1.6rem;
    text-shadow: 0px 0px 10px #000;
  }
 
  .masthead h1 {
    text-shadow: 0px 0px 10px #000;
  }