/*Photo Toolbar*/
#photo-edit-navbar {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 0px 1px rgba(64, 87, 109, .04), 0px 6px 20px -4px rgba(64, 87, 109, .3);
}

/*Separator */
.photo-edit-separator {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}

.photo-edit-separator div {
    background: rgba(57,76,96,.15);
    border-radius: 4px;
    height: 16px;
    width: 2px;
}

/*Image Edit - Effects Menu-----------------------------------------------------------------*/
    /*Image Edit - Effects Button*/
    .btnEffects-photo-edit {
        transition: background-color .1s linear,border-color .1s linear,color .1s linear;
        justify-content: center;
        height: 32px;
        min-width: unset;
        padding: 0 8px;
        outline: none;
        align-items: center;
        background-color: rgba(13,18,22,0);
        border: 0 solid transparent;
        border-radius: 8px;
        box-sizing: border-box;
        color: #0d1216;
        display: inline-flex;
        height: 40px;
        max-width: 100%;
        /* min-width: 80px; */
        vertical-align: middle;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        word-wrap: break-word;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-smooth: always;
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        text-size-adjust: none;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
        font-variation-settings: "opsz" 0;
        margin: 4px;
        overflow-wrap: break-word;
    }

    #btnEffects-photo-edit:focus,
    #btnEffects-photo-edit:active {
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
    }

    .btnEffects-svg {
        transition: opacity .15s ease-in-out;
        margin: 0 4px 0 -4px;
        align-items: center;
        display: flex;
        flex-shrink: 0;
        justify-content: center;
    }

    .btnEffects-svg-span {
        height: 24px;
        width: 24px;
        align-items: center;
        box-sizing: border-box;
        display: inline-flex;
        pointer-events: none;
    }

    .btnEffects-svg-span:before {
        content: "\00200B";
        line-height: 1;
        width: 0;
    }

    .btnEffects-svg-span>svg {
        display: block;
        height: 100%;
        width: 100%;
    }

    .btnEffects-font {
        flex: initial;
        margin-left: 0;
        margin-right: 0;
        transition: opacity .15s ease-in-out;
        margin: auto;
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/*Image Edit - Rounding Menu-----------------------------------------------------------------*/
    /*Image Edit - Rounding Button*/
    .photo-edit-rounding {
        display: contents;
    }

    .btnRounding-photo-edit {
        transition: background-color .1s linear,border-color .1s linear,color .1s linear;
        justify-content: center;
        width: 32px;
        height: 32px;
        min-width: unset;
        padding: 0 8px;
        outline: none;
        align-items: center;
        background-color: rgba(13,18,22,0);
        border: 0 solid transparent;
        border-radius: 8px;
        box-sizing: border-box;
        color: #0d1216;
        display: inline-flex;
        max-width: 100%;
        /* min-width: 80px; */
        vertical-align: middle;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        word-wrap: break-word;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-smooth: always;
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        text-size-adjust: none;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
        font-variation-settings: "opsz" 0;
        margin: 4px;
        overflow-wrap: break-word;
    }

    /* when dropdown is on */
    .btnRounding-photo-edit[aria-expanded="true"] {
        background-color: rgba(64,87,109,.15);
    }


    .btnRounding-svg {
        transition: opacity .15s ease-in-out;
        align-items: center;
        display: flex;
        flex-shrink: 0;
        justify-content: center;
    }

    .btnRounding-svg-span {
        height: 24px;
        width: 24px;
        align-items: center;
        box-sizing: border-box;
        display: inline-flex;
        pointer-events: none;
    }

    .btnRounding-svg-span:before {
        content: "\00200B";
        line-height: 1;
        width: 0;
    }

    .btnRounding-svg-span>svg {
        display: block;
        height: 100%;
        width: 100%;
    }

    /*Rounding Dropdown Menu*/
    .photo-edit-rounding .dropdown-menu {
        box-sizing: border-box;
        box-shadow: 0px 0px 0px 0.5px #40576d12, 0px 8px 16px 0px #182c5923, 0px 24px 24px 0px #182c5912;;
        overflow: hidden;
        border: 0px solid transparent;
        border-radius: 12px;
    }

    .photo-edit-rounding .dropdown-menu.show {
        display: grid;
        grid-row-gap: 0px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
        list-style: none;
        width: 256px;
        max-width: calc(100vw - 16px);
        margin-top: 12px !important;
        padding: 16px;
    }

    .image-rounding-range {
        box-sizing: border-box;
        flex: 1 1;
        min-width: 0;
    }

    .image-rounding-input {
        flex: 0 0 auto;
        padding-left: 16px;
    }

    .image-rounding-input div {
        padding: 0;
        width: 40px;
        height: 40px;
        align-items: stretch;
        background-color: #fff;
        border: 1px solid;
        border-color: rgba(53,71,90,.2);
        border-radius: 8px;
        box-sizing: border-box;
        color: #0e1318;
        cursor: text;
        display: flex;
        outline: none;
        overflow: hidden;
        position: relative;
    }

    .image-rounding-input div:focus-within {
        border-color: #8b3dff;
    }

/*Image Edit - Crop Menu-----------------------------------------------------------------*/
    /*Image Edit - Crop Button*/
    .photo-edit-crop {
        display: contents;
    }

    .btnCrop-photo-edit {
        transition: background-color .1s linear,border-color .1s linear,color .1s linear;
        justify-content: center;
        width: 32px;
        height: 32px;
        min-width: unset;
        padding: 0 8px;
        outline: none;
        align-items: center;
        background-color: rgba(13,18,22,0);
        border: 0 solid transparent;
        border-radius: 8px;
        box-sizing: border-box;
        color: #0d1216;
        display: inline-flex;
        max-width: 100%;
        /* min-width: 80px; */
        vertical-align: middle;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        word-wrap: break-word;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-smooth: always;
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        text-size-adjust: none;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
        font-variation-settings: "opsz" 0;
        margin: 4px;
        overflow-wrap: break-word;
    }

    .btnCrop-svg {
        transition: opacity .15s ease-in-out;
        align-items: center;
        display: flex;
        flex-shrink: 0;
        justify-content: center;
    }

    .btnCrop-svg-span {
        height: 24px;
        width: 24px;
        align-items: center;
        box-sizing: border-box;
        display: inline-flex;
        pointer-events: none;
    }

    .btnCrop-svg-span:before {
        content: "\00200B";
        line-height: 1;
        width: 0;
    }

    .btnCrop-svg-span>svg {
        display: block;
        height: 100%;
        width: 100%;
    }

/*Image Edit - Flip Horizontal-Vertical Menu-----------------------------------------------------------------*/
    /*Image Edit - Flip Button*/
    .btnFlip-photo-edit {
        transition: background-color .1s linear,border-color .1s linear,color .1s linear;
        justify-content: center;
        height: 32px;
        min-width: unset;
        padding: 0 8px;
        outline: none;
        align-items: center;
        background-color: rgba(13,18,22,0);
        border: 0 solid transparent;
        border-radius: 8px;
        box-sizing: border-box;
        color: #0d1216;
        display: inline-flex;
        height: 40px;
        max-width: 100%;
        /* min-width: 80px; */
        vertical-align: middle;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        word-wrap: break-word;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-smooth: always;
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        text-size-adjust: none;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
        font-variation-settings: "opsz" 0;
        margin: 4px;
        overflow-wrap: break-word;
    }

    /* when dropdown is on */
    .btnFlip-photo-edit[aria-expanded="true"] {
        background-color: rgba(64,87,109,.15);
    }

    #btnFlip-photo-edit:focus,
    #btnFlip-photo-edit:active {
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
    }

    .btnFlip-font {
        transition: opacity .15s ease-in-out;
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: auto;
    }

    /*Flip Dropdown Menu*/
    .photo-edit-flip .dropdown-menu.show {
        display: grid;
    }

    .photo-edit-flip .dropdown-menu {
        box-sizing: border-box;
        box-shadow: 0px 0px 0px 0.5px #40576d12, 0px 8px 16px 0px #182c5923, 0px 24px 24px 0px #182c5912;;
        overflow: hidden;
        border: 0px solid transparent;
        border-radius: 12px;
        grid-row-gap: 0px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
        list-style: none;
        width: 163px;
        max-width: calc(100vw - 16px);
        margin-top: 12px !important;
        padding: 8px 0;
    }

    .btnFlipH-photo-edit,
    .btnFlipV-photo-edit {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: auto;
        min-height: 40px;
        background-color: rgba(13,18,22,0);
        border: 0 solid transparent;
        color: #0d1216;
        padding: 8px 16px;
        font-weight: 400;
        font-size: 14px;
        line-height: 22px;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
    }

    #btnFlipH-photo-edit:focus,
    #btnFlipH-photo-edit:active,
    #btnFlipV-photo-edit:focus,
    #btnFlipV-photo-edit:active {
        font-weight: 400;
        font-size: 14px;
        line-height: 22px;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
    }

/*Image Edit - Transparency Menu-----------------------------------------------------------------*/
    /*Image Edit - Transparency Button*/
    .photo-edit-transparency {
        display: contents;
    }

    .btnTransparency-photo-edit {
        transition: background-color .1s linear,border-color .1s linear,color .1s linear;
        justify-content: center;
        width: 32px;
        height: 32px;
        min-width: unset;
        padding: 0 8px;
        outline: none;
        align-items: center;
        background-color: rgba(13,18,22,0);
        border: 0 solid transparent;
        border-radius: 8px;
        box-sizing: border-box;
        color: #0d1216;
        display: inline-flex;
        max-width: 100%;
        /* min-width: 80px; */
        vertical-align: middle;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        word-wrap: break-word;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-smooth: always;
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        text-size-adjust: none;
        font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
        font-variation-settings: "opsz" 0;
        margin: 4px;
        overflow-wrap: break-word;
    }

    /* when dropdown is on */
    .btnTransparency-photo-edit[aria-expanded="true"] {
        background-color: rgba(64,87,109,.15);
    }


    .btnTransparency-svg {
        transition: opacity .15s ease-in-out;
        align-items: center;
        display: flex;
        flex-shrink: 0;
        justify-content: center;
    }

    .btnTransparency-svg-span {
        height: 24px;
        width: 24px;
        align-items: center;
        box-sizing: border-box;
        display: inline-flex;
        pointer-events: none;
    }

    .btnTransparency-svg-span:before {
        content: "\00200B";
        line-height: 1;
        width: 0;
    }

    .btnTransparency-svg-span>svg {
        display: block;
        height: 100%;
        width: 100%;
    }

    /*Transparency Dropdown Menu*/
    .photo-edit-transparency .dropdown-menu {
        box-sizing: border-box;
        box-shadow: 0px 0px 0px 0.5px #40576d12, 0px 8px 16px 0px #182c5923, 0px 24px 24px 0px #182c5912;;
        overflow: hidden;
        border: 0px solid transparent;
        border-radius: 12px;
    }

    .photo-edit-transparency .dropdown-menu.show {
        display: grid;
        grid-row-gap: 0px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
        list-style: none;
        width: 256px;
        max-width: calc(100vw - 16px);
        margin-top: 12px !important;
        padding: 16px;
    }

    .image-opacity-range {
        box-sizing: border-box;
        flex: 1 1;
        min-width: 0;
    }

    .image-opacity-input {
        flex: 0 0 auto;
        padding-left: 16px;
    }

    .image-opacity-input div {
        padding: 0;
        width: 40px;
        height: 40px;
        align-items: stretch;
        background-color: #fff;
        border: 1px solid;
        border-color: rgba(53,71,90,.2);
        border-radius: 8px;
        box-sizing: border-box;
        color: #0e1318;
        cursor: text;
        display: flex;
        outline: none;
        overflow: hidden;
        position: relative;
    }

    .image-opacity-input div:focus-within {
        border-color: #8b3dff;
    }

/*Rounding and Opacity Input Text*/
.imageTextInput {
    -webkit-appearance: none;
    appearance: none;
    background: inherit;
    border: 0;
    box-sizing: border-box;
    color: inherit;
    font-variant-ligatures: none;
    min-width: 8px;
    outline: none;
    width: 100%;
    padding: 0 0 1px;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Helvetica, Arial, sans-serif;
    font-variation-settings: "opsz" 0;
    margin: 0px;
    overflow-wrap: break-word;
}

/*Rounding and Opacity Input Range*/
.imageRangeInput:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 10px rgba(202, 59, 171, .2);
    border: 2px solid #8B3DFF;
}

.imageRangeInput:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 10px rgba(202, 59, 171, .2);
    border: 2px solid #8B3DFF;
}

.imageRangeInput:active::-moz-range-thumb {
    box-shadow: 0 0 0 10px rgba(202, 59, 171, .2);
    border: 2px solid #8B3DFF;
}

.imageRangeInput:focus::-moz-range-thumb {
    box-shadow: 0 0 0 10px rgba(202, 59, 171, .2);
    border: 2px solid #8B3DFF;
}

.imageRangeInput {
    -moz-appearance: none;
    appearance: none;
    margin: 5px 0 5px 0;
    outline: none;
    border-radius: 15px;
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, rgba(202, 59, 171, 1) 0%, #ccc 0%);
    transition: background 0.3s ease;
}

.imageRangeInput::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 25px;
    width: 25px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    border: 3px solid #ccc;
    transition: .2s ease-in-out;
}

.imageRangeInput::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    border: 3px solid #ccc;
    transition: .2s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {

    /*Button Hover*/
    .btnHover-photo-edit:hover {
        background-color: rgba(64,87,109,.15);
    }

    /*Rounding Dropdown Menu*/
    .image-rounding-input div:hover {
        border-color: rgba(28,39,48,.5);
    }

    /*Image Edit - Transparency Button*/
    .image-opacity-input div:hover {
        border-color: rgba(28,39,48,.5);
    }

    /*Rounding and Opacity Input Range*/
    .imageRangeInput::-webkit-slider-thumb:hover {
        box-shadow: 0 0 0 10px rgba(64,87,109,.07);
    }

    .imageRangeInput::-moz-range-thumb:hover {
        box-shadow: 0 0 0 10px rgba(64,87,109,.07);
    }
}