
/* Scrollbar */
.general-modal-scroll-bar::-webkit-scrollbar {
    width: 10px;
    background-color: #FCFBF9;
    -ms-overflow-style: auto;
}
.general-modal-scroll-bar::-webkit-scrollbar-thumb {
    background-color: #005648;
    border-radius: 5px;
    border: 3px solid transparent;
    background-clip: content-box;
}
.general-modal-scroll-bar::-webkit-scrollbar-track {
    border-left: 1px solid #F2EFE8;
}

.general-modal-scroll-bar-no-margin::-webkit-scrollbar {
    width: 10px;
    background-color: #FCFBF9;
    -ms-overflow-style: auto;
}
.general-modal-scroll-bar-no-margin::-webkit-scrollbar-thumb {
    background-color: #005648;
    border-radius: 5px;
    border: 3px solid transparent;
    background-clip: content-box;
}
.general-modal-scroll-bar-no-margin::-webkit-scrollbar-track {
    border-left: 1px solid #F2EFE8;
}

/* Modal container */
.general-modal-container-pd-top {
    padding-top: 32px;
}
.general-modal-container-pd-bottom {
    padding-bottom: 40px;
}
.general-modal-container {
    width: 100%;
    height: 100%;
    background-color: #F9F6F1;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    overflow: hidden;
}

/* Modal header */
.general-modal-header {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    height: 57px;
}

.general-modal-header-cross-icon {
    float: right;
    border: none;
    padding: 0;
    background: transparent;
}

.general-modal-spinning-icon-margin {
    margin-right: 15px;
}

.general-modal-header-margin {
    transform: translateY(-22px);
}

/* Modal content */
.general-modal-scroll-section {
    overflow: auto;
    /*height: 100%;*/
}

.padding-save-button {
    padding-bottom: 3%;
}

.general-modal-sticky-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.general-modal-save-button-mobile-full-width-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.general-modal-save-button-mobile-full-width {
    width: 100%;
    border-radius: unset!important;
}

.general-modal-save-button-desktop-bottom-border {
    border-top: 1px solid #DBD2C2;
}

/* Modal global css */
.set-pointer {
    cursor: pointer;
}

.general-modal-pdt-48 {
    padding-top: 48px;
}

.general-modal-pdb-48 {
    padding-bottom: 48px;
}

.general-modal-pdt-40 {
    padding-top: 40px;
}

.general-modal-pdb-40 {
    padding-bottom: 40px;
}

.general-modal-pdt-32 {
    padding-top: 32px;
}

.general-modal-pdb-32 {
    padding-bottom: 32px;
}

.general-modal-pdt-24 {
    padding-top: 24px;
}

.general-modal-pdb-24 {
    padding-bottom: 24px;
}

/* Modal site-wise custom css */
.general-modal-standard-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20px, 60px));
    justify-content: space-between;
    gap: 16px 32px;
}
.general-modal-standard-ingredients-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(58px, 95px));
    justify-content: space-between;
    gap: 5px 20px;
}
.general-modal-standard-custom-header-img {
    margin: 0 20px 0 0;
    width: 35px;
    height: 35px;
}

.calendar-month-pd {
    padding-top: 16px;
    padding-bottom: 16px;
}

.calendar-content-days-container-pd {
    padding-left: 1px;
    padding-right: 1px;
}

.calendar-content-time-pd {
    padding-bottom: 24px;
}

.calendar-container-pd-bottom {
    padding-bottom: 24px;
}

.upload-image-frame {
    background-color: white;
    width: 200px;
    height: 200px;
}

.upload-image-text-wrapper {
    position: absolute;
    top: 310px;
    left: 0;
    right: 0;
}

.upload-image-save-button-wrapper {
    position: absolute;
    top: 430px;
    left: 0;
    right: 0;
}

.upload-image-rotate-right {
    padding-left: 11px;
}

.upload-image-rotate-left {
    padding-right: 11px;
}

.cr-viewport {
    border: unset!important;
}

.upload-image-control-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    justify-content: center;
    margin: 32px auto!important;
    width: 100%!important;
}

.upload-image-minus {
    width: 12px;
    height: 2px;
    background-color: #005648;
    cursor: pointer;
    justify-self: right;
    margin-right: 8px;
}

.upload-image-plus {
    display:inline-block;
    width:12px;
    height:12px;

    background:
            linear-gradient(#fff,#fff),
            linear-gradient(#fff,#fff),
            #000;
    background-position:center;
    background-size: 50% 2px,2px 50%; /*thickness = 2px, length = 50% (25px)*/
    background-repeat:no-repeat;

    /*background-color: #005648;*/
    cursor: pointer;
    justify-self: left;
    margin-left: 8px;
}

.upload-image-plus-alt {
    background:
            linear-gradient(#005648,#005648),
            linear-gradient(#005648,#005648);
    background-position:center;
    background-size: 100% 2px,2px 100%; /*thickness = 2px, length = 50% (25px)*/
    background-repeat:no-repeat;
}

.upload-image-plus-button {
    display:inline-block;
    width:48px;
    height:48px;
    background: linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), #FF886B;
    background-position:center;
    background-size: 17px 2px,2px 16px; /*thickness = 2px, length = 50% (25px)*/
    background-repeat:no-repeat;
    cursor: pointer;
    border-radius: 50%;
}

.upload-image-error-text-position {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.upload-image-slider {
    width: 219px!important;
    height: 4px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    -webkit-box-shadow: inset 0 4px 0 0 #DBE6DC;
    -moz-box-shadow: inset 0 4px 0 0 #DBE6DC;
    box-shadow: inset 0 4px 0 0 #DBE6DC;
}

input[type=range] {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    width: 100%; /* Specific width is required for Firefox. */
    background: transparent; /* Otherwise white in Chrome */
}
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 2px solid #005648;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: 0; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
    border: 2px solid #005648;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
    border: 2px solid #005648;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.general-modal-recipe-ingredient-img-div {
    height: 25px;
    width: auto;
    overflow: hidden;
    transform: translate(-7px, -3px);
}
.general-modal-recipe-ingredient-img-div img {
    width: 45px;
    margin: -5px 0 0 -5px;
}

.general-modal-recipe-ingredient-text {
    display: inline;
    margin-bottom: 0;
}

.general-modal-recipe-ingredient-icon {
    width: 13px;
}

.general-modal-recipe-ingredient-icon-new {
    width: 25px;
}

.border-bottom-light-gray {
    border-bottom: solid 1px #f2efe8;
    border-top:unset;
}

.general-modal-xss-lg-d-flex {
    display: flex;
}

@media (max-width: 374px) {
    .general-modal-xss-d-none {
        display: none;
    }
}

@media (min-width: 360px) {
    .upload-image-rotate-right {
        padding-left: 11px;
    }

    .upload-image-rotate-left {
        padding-right: 11px;
    }
}

@media (min-width: 375px) {
    .general-modal-xs-d-sm-d-none {
        display: none;
    }
    .general-modal-xss-lg-d-flex {
        display: none;
    }
    .upload-image-slider {
        width: 270px !important;
    }
    .calendar-content-days-container-pd {
        padding-left: 15px;
        padding-right: 15px;
    }
    .calendar-content-time-pd {
        padding-bottom: 32px;
    }
    .calendar-container-pd-bottom {
        padding-bottom: 11px;
    }
    .upload-image-rotate-right {
        padding-left: 26px;
    }

    .upload-image-rotate-left {
        padding-right: 26px;
    }
}

@media (min-width: 410px) {
}

@media (min-width: 768px) {
    .general-modal-header {
        height: 72px;
    }
    .calendar-month-pd {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .upload-image-rotate-right {
        padding-left: 30px;
    }
    .upload-image-rotate-left {
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    .general-modal-xss-lg-d-flex {
        display: flex;
    }
    .general-modal-scroll-bar::-webkit-scrollbar-track-piece {
        margin-bottom: 20px;
    }
    .general-modal-container {
        max-width: 80vw;
        max-height: 90vh;
        width: unset;
        height: unset;
        margin-top: unset;
        border-radius: 20px;
    }
    .general-modal-header-margin {
        transform: translateY(-18px);
    }

    .upload-image-slider {
        width: 280px!important;
    }

    .upload-image-rotate-right {
        padding-left: 36px;
    }

    .upload-image-rotate-left {
        padding-right: 36px;
    }
}

@media (min-width: 1200px) {
}