/* ====== COMMON ======= */

.wrap-action{
    margin-top: 30px;
}

.btn-cancel{
    margin-left: 20px;
    border: 1px solid #08A4B4;
    padding: 0 15px;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block;
    min-width: 140px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    position: relative;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    text-decoration: none;
}
.bb-1{
    border-bottom: 1px solid #CBCBCB;
}
.button-group{
    padding-bottom: 40px;
}
/* ========= END COMMON ============ */

.section-step {
    border-radius: 17px;
    background: #FFFFFF;
    padding: 29px 39px;
}

.section-step p.step-name {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.section-step p.step-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-step p.step--sub_title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#step--time_primary .time_option--input .input-value {
    right: 10px;
    left: unset;
}

#step--time_primary .time_option--input input {
    padding-left: 10px;
    padding-right: 40px;
}

.step--time_option {
    margin-bottom: 13px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #CBCBCB;
    background: #FFF;
}
.row-1 .step--time_option{
    width: 100%;
}
.row-2 .step--time_option{
    width: 48%;
}
.step--time_option.disable {
    background: #F5F5F5;
}

.time_option--label {
    width: auto;
}

.time_option--label p {
    font-size: 14px;
    margin-bottom: 0;
}

.time_option--input {
    position: relative;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    display: flex;
    border: 1px solid #CBCBCB;
    border-radius: 5px;
    padding: 0 10px;
}

.step-times .time_option--input .input-value {
    position: static;
    font-weight: bold;
    color: #CBCBCB;
    height: 40px;
    line-height: 40px;
}

.step--time_option.disable .time_option--input input {
    background: #F6F6F6;
    pointer-events: none;
}

.time_option--input input {
    width: 60px !important;
    height: 40px;
    padding-left: 10px;
    padding-right: 0;
}

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

/* Firefox */
.setting input[type=number] {
    -moz-appearance: textfield;
}

.calculator-fee input#est_address {
    border-radius: 10px;
    border: 1px solid #CBCBCB;
    background: #FFF;
    width: 84%;
    padding: 0 17px;
    height: 60px;
    line-height: 60px;
}

.calculator-fee button.btn-cal {
    width: 15%;
    border-radius: 10px;
    border: 1px solid #CBCBCB;
    background: #08A4B4;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.calculator-fee p.calc-result {
    color: #3b4559;
}

.section-step__content.col-left {
    width: 45%;
}

.section-step__content.col-right {
    width: 50%;
}

.section-step__content #own_surcharges .box-line.own-surcharges {
    box-shadow: unset;
}

.section-step__content #own_surcharges .box-line .surcharges-title input {
    box-shadow: none;
    border-radius: 10px;
    border: 1px solid #CBCBCB;
    background: #FFF;
}

.section-step__box {
    border-radius: 15px;
    border: 1px solid #CBCBCB;
    background: #FFF;
    padding: 34px 27px;
    margin-bottom: 30px;
    width: 100%;
}

/* POPUP SERVICE AREA */
#services-area {
    padding-right: 0 !important;
}
#services-area .modal-dialog {
    max-width: 100vw;
    min-height: 100vh !important;
    margin: 0;
}
#services-area .modal-content {
    height: 100vh !important;
}
#services-area .modal-content,
#services-area .modal-content .modal-body {
    margin: 0;
    padding: 0;
}

#services-area .service-area__map .gg-map img {
    max-height: 800px;
}

#services-area .service-area__map {
    width: calc(70% - 60px);
    position: relative;
}

#services-area .service-area__choices {
    width: 100%;
    height: 90vh;
    overflow-y: scroll;
}

#services-area .service-area__choices h4 {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#services-area .service-area__choices .service-area__option {
    border-radius: 6px;
    border: 1px solid #CBCBCB;
    background: #FFF;
    padding: 17px 25px 30px;
    margin-bottom: 2rem;
}

#services-area .service-area__choices .service-area__option .title-service p {
    padding-left: 40px;
    position: relative;
    color: #3B4559;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#services-area .service-area__choices .service-area__option .title-service p:before {
    content: '';
    width: 23px;
    height: 23px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #ADADAD;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

#services-area .service-area__choices .service-area__option .title-service p.general:before {
    background: #CEFBF0;
}

#services-area .service-area__choices .service-area__option .title-service p.special:before {
    background: #D181ED;
}

#services-area .service-area__choices .service-area__option .title-service p.exclusion:before {
    background: #FF0202;
}

#services-area .service-area__choices .service-area__help {
    border-radius: 6px;
    border: 1px solid #CBCBCB;
    background: #F5F5F5;
    padding: 20px;
}

#services-area .service-area__choices .service-area__help h4 {
    color: #3B4559;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#services-area .service-area__choices .service-area__help a {
    color: #3B4559;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
    text-decoration: none;
    width: 100%;
    display: block;
}

#services-area .info-icon {
    display: flex;
    justify-content: flex-end;
    position: relative;
    right: 20px;
    cursor: pointer;
}

#services-area .service-area__option ul li a {
    position: relative;
    color: #08A4B4;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

#services-area .service-area__option ul li a i {
    margin-right: 10px;
}

#services-area .service-area__choices {
    position: relative;
    left: 0;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

#services-area .wrap-service {
    width: calc(30% + 60px);
    overflow: hidden;
    position: relative;
    height: 99.5vh;
}

#services-area .service-area__choices.slide-left-hidden {
    position: relative;
    left: -100%;
    transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

#services-area .section-service {
    padding: 38px 25px;
    overflow-y: auto;
    height: 100%;
}

.service-area__general,
.service-area__special,
.service-area__exclusion {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}

.service-area__general.slide-left-show,
.service-area__special.slide-left-show,
.service-area__exclusion.slide-left-show {
    left: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}
.service-special__content,
.exclusion_zone-name {
    margin-top: 1.5rem;
}

.service-zone a {
    display: block;
    cursor: pointer;
}

.service-zone h4 {
    color: #3B4559;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.service-zone p {
    color: #3B4559;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.service-zone input {
    border: none;
    background: #FFF;
    padding: 0 0px 0 20px;
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 5px;
    border: 1px solid #CBCBCB;
}

.button-group button#button_save {
    border: none;
    text-transform: uppercase;
    color: #fff;
    background: #00a7b5;
    min-width: 150px;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.button-group button#button_delete {
    color: #08A4B4;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: none;
    border: none;
}

.service-area__map .btn-map-group {
    position: absolute;
    top: 100px;
    left: 10px;
}

.service-area__map .btn-map-group a {
    cursor: pointer;
}

.service-area__map .btn-map-group .save-map {
    margin-bottom: 8px;
}

.service-area__map .btn-map-group a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.map-fnc {
    background: #919187;
    padding: 4px 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.map-fnc a {
    position: relative;
    color: #ffffff;
    font-size: 15px;
    font-style: normal;
    line-height: normal;
    padding: 0 10px;
    text-decoration: none;
    cursor: pointer;
}

.map-fnc a:not(:last-child):before {
    content: '';
    width: 1px;
    height: 100%;
    background: #FFFFFF;
    top: 0;
    right: 0;
    position: absolute;
}

/* TOOL TIP */
.info-service{
    position: relative;
}
.tool-tip {
    display: none;
    border-radius: 6px;
    background: #F5F5F5;
    padding: 20px;
    box-shadow: 0 0 10px 3px rgba(0, 1, 1, 0.16);
    position: absolute;
    z-index: 999;
    top: 35px;
    left: 0;
    width: 100%;
}
.tool-tip p,
.tool-tip a{
    font-size: 14px;
}

.tool-tip::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #F5F5F5;
    position: absolute;
    top: -14px;
    right: 14px;
    z-index: -1;
}
.input-special{
    position: relative;
}

.input-special input{
    padding-left: 70px !important;
}

.input-special span{
    position: absolute;
    top: 18px;
    left: 20px;
}
.input-special input.disable{
    background: #F5F5F5;
    pointer-events: none;
}
/* Step 3 */
.radio-button input{
    line-height: unset;
    height: 30px;
}
.radio-button label{
    margin-left: 10px;
    cursor: pointer;
}
textarea#add-delivery-instructions{
    height: 173px;
    width: 100%;
    padding: 17px;
}
textarea#add-delivery-instructions::placeholder{
    color: #9F9F9F;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal; 
}
.section-step__content.col-left-s2{
    width: 50%;
}
.section-step__content.col-right-s2{
    width: 45%;
}
#wrap-contailer{
    display: flex;
    align-items: center;
    margin-left: 30px;
}
#wrap-contailer .my-checkout-button{
    display: flex;
    align-items: center;
}
#wrap-contailer .wrap-checkout-btn label:last-child{
    margin-left: 20px;
}
.my-checkout-button .before_after_fee{
    margin: 0 5px 0 0!important;
}

/* STEP 1 */
.step1-question{
    padding-right: 1%
}
#delivery_range_setting .step--time_option input{
    height: 35px;
    width: 65px !important;
    padding-left: 25px;
    border: none;
}
#delivery_range_setting .step--time_option input::-webkit-outer-spin-button,
#delivery_range_setting .step--time_option input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
#delivery_range_setting .step--time_option input {
  -moz-appearance: textfield;
}

.row-2 .time_option--input .input-value{
    top: 5px;
}

.section-service::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
    display: block;
}

.section-service::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    background-color: transparent;
    display: block;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.section-service::-webkit-scrollbar-thumb {
    border-radius: 8px;
    -webkit-box-shadow: none;
    background-color: #00a7b5;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.section-service::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 167, 181, 0.85);
}
#myPopoverStep1{
    height: 300px;
    overflow-y: scroll;
}
/* ===============RESPONSIVE=============== */
@media only screen and (max-width: 1560px) {
    #services-area .section-service {
        padding: 20px 30px;
        overflow-y: auto;
    }

    #services-area .service-area__map .gg-map #polygon_map,
    #services-area .section-service {
        height: 100% !important;
    }
    .row-2 .step--time_option{
        width: 100%;
    }
}

@media only screen and (max-width: 1440px){
    /* .time_option--label{
        width: 55%;
    } */
    .calculator-fee button.btn-cal{
        font-size: 16px;
    }
    .custom-flex-column{
        flex-direction: column;
    }
}

@media only screen and (max-width: 1024px) {
    .step--time_option {
        width: 49%;
    }

    .calculator-fee input#est_address {
        width: 65%;
    }

    .calculator-fee button.btn-cal {
        width: 30%;
    }

    .section-step__content.col-left-s2,
    .section-step__content.col-left {
        width: 100%;
    }

    .section-step__content.col-right-s2,
    .section-step__content.col-right {
        width: 100%;
    }

    .section-step__content {
        margin-bottom: 1rem;
    }

    .section-step__box {
        margin-bottom: 30px;
    }

    .section-step__content #own_surcharges .box-line.own-surcharges {
        padding: 0;
    }

    /* POPUP */
    #services-area .modal-dialog {
        max-width: 100%;
        margin: 20px auto;
    }

    #services-area .service-area__map {
        width: 55%;
    }

    #services-area .wrap-service {
        width: 45%;
    }

}

@media only screen and (max-width: 576px) {
    .section-step {
        padding: 25px 15px;
    }

    .setting .input-cash input {
        width: 100%;
    }

    .step--time_option {
        width: 100%;
    }

    .calculator-fee input#est_address {
        width: 100%;
    }

    .calculator-fee button.btn-cal {
        width: 100%;
        margin-top: 10px;
        font-size: 15px;
        padding: 8px 0;
        font-weight: unset;
    }

    .section-step__content #own_surcharges {
        flex-wrap: wrap;
    }

    .section-step__content #own_surcharges .box-create-surcharges {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .section-step__content #own_surcharges .box-line .surcharges-title {
        flex: unset;
        width: 100%;
        padding: 0;
    }

    .section-step__content #own_surcharges .box-line .surcharge-with-remove {
        flex: unset;
        max-width: 100%;
        width: 70%;
        padding: 0;
        margin: 20px 0;
    }

    .section-step__content #own_surcharges .box-line .input-cost-surcharges,
    .section-step__content #own_surcharges .box-line .cost_custom_fee {
        width: 100%;
    }

    /* POPUP */
    #services-area .service-area__map .gg-map #polygon_map,
    #services-area .section-service {
        height: 400px !important;
    }
    #services-area .service-area__map {
        width: 100%;
    }

    #services-area .service-area__map .gg-map img {
        height: auto;
    }

    #services-area .wrap-service {
        width: 100%;
    }

    #services-area .section-service {
        height: 300px;
        overflow-y: scroll;
    }

    .service-special__content,
    .exclusion_zone-name {
        margin-top: 1rem;
    }
    #wrap-contailer{
        margin-left: 0;
        margin-top: 15px;
    }

    .tooltip-custom{
        margin-bottom: 20px;
    }
    .service-zone p,
    .service-zone input,
    .time_option--input .input-value{
        font-size: 14px;
    }
    .time_option--input .input-value{
        top: 6px;
    }
    #myPopoverStep1{
        top: 60px !important;
    }
}

/* ============================= */

.auto-complete-address {
    position: absolute;
    z-index: 1000;
    right: 60px;
    top: 10px;
    background: #ffffff;
    border-radius: 10px;
    height: auto;
    width: auto;
    padding: 13px 10px;
}