.modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile.row {
    margin-left: -10px;
    margin-right: -10px;
}
.modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
    color: var(--secondary_color);
    background: white;
    padding: 13px 0 !important;
    font-size: 16px;
    height: inherit;
    width: 100%;
    font-weight: 400;
    text-align: center;
    border-radius: 8px;
    border: 0;
    margin-top: 0;
    font-weight: 600;
}

#wk-rewards {
    position:relative;
}

.wk-ap-category-image-container .product-item-photo{
    background: var(--light_grey);
    border-radius: 12px;
    text-align: center;
}

.wk-ap-category-routine-container{
    text-align:center;
    font-size:16px;
    margin-top:5%;
}

.wk-ap-category-manufacturer-container{
    text-align: center;
    font-size: 14px;
    margin-top: 1em;
}

.wk-ap-category-product-name-container {
    font-size:16px;
    color:black;
    text-overflow: ellipsis;
    overflow: hidden;
}

.wk-ap-comments-textarea{
    border-radius: 8px;
}

.btn.btn-secondary.wk-ap-btn{
    width:100%;
    border-radius: 10px;
    padding: 5px 0 5px 0;
}

.owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav{
    /* display: inline-block; */
}

.owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-prev {
    /* margin-top: -70px; */
    /* margin-left: 31px; */
    background: unset;
    top: 170px;
    left: -39px;
}

.owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-next {
    /* margin-top: -70px; */
    /* margin-right: 31px; */
    background: unset;
    top: 170px;
    right: -39px;
}

.profile-popup-account hr {
    margin:0;
}

.wk-ap-reorder {
    background: var(--light_grey);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.wk-ap-toReorder {
    visibility:hidden;
    background: var(--secondary_color);
    border: 1px solid var(--secondary_color);
    width: 100%;
    padding: 11px 15px;
    font-size: 16px;
    font-family: var(--title_font);
    font-weight: 400;
    transition-delay: 0.05s;
    border-radius: -0;
    padding: 9px 15px;
    line-height: 1;
    vertical-align: middle;
    transition: var(--site_transition);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #ffffff;
}

.wk-ap-toReorder:hover {
    background:#ff7a45;
    border: 1px solid #ff7a45;
    color: #ffffff;
}

.wk-ap-category-image-container:hover .wk-ap-toReorder {
    visibility:visible;
}

.profile-popup-account .wk-ap-edit-profile.edit-profile.header_account_link {
    left: 17%;
    position: fixed;
}

.wk-ap-category-image-container .product-image-photo {
    /* min-height: 341px; */
}

.modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a:hover,
.modal-slide.profile-sidebar .profile-popup-account .extrabuttonsmyprofile a.active {
    background: white;
    border: 0;
    color: var(--secondary_color);
    text-decoration: underline;
}

.wk-ap-description {
    background: #ffffff;
    background-clip: padding-box;
    /* border: 1px solid #c2c2c2; */
    border-radius: 1px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-family: var(--body_font);
    font-size: 16px;
    height: auto;
    line-height: 1.42857143;
    margin: 0;
    padding: 10px 0;
    vertical-align: baseline;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    /* border-radius: 8px; */
    /* max-height: 125px; */
    /* height: 125px; */
    word-break: break-word;
    /* overflow: scroll; */
}

.profile-popup-account, .profile-popup-account .profile-popup-body, .profile-popup-account .profile-popup-body .helpdesk-wrapper {
    height: 100%;
}

.order-history-wrapper, .subscriptions-wrapper {
    padding-top: 20px;
    font-size: 14px;
}
.order-history-wrapper .table-wrapper {
    border: 0;
}
.order-history-wrapper .table-order-items thead th {
    white-space: nowrap;
}
.profile-popup-account .loading-mask .loader > img {
    width: auto;
    height: auto;
}

.subscriptions-wrapper .amrec-cancel-confirmation {
    max-width: 730px;
}
.subscriptions-wrapper .amrec-cancel-confirmation .amrec-overlay {
    width: 100%;
}
.subscriptions-wrapper .table-order-items .col.actions:before {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.profile-popup-account {
    position: relative;
}

.profile-popup-account .profile-popup-header {
    position: fixed;
    width: calc(100% - 80px);
    background-color: white;
    z-index: 1;
}

.profile-popup-account .profile-popup-body {
    padding-top: 52px;
}

.profile-popup-account .profile-popup-body .routine-wrapper {
    padding-bottom: 20px;
}

.profile-sidebar .modal-title {
    margin-bottom: 0;
    text-align: center !important;
}

.table-order-items td.col.items {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    border-bottom: none;
    border-top: none;
}

.table-order-items tr {
    border-bottom: 1px solid #dee2e6;
}

@media screen and (max-width: 1450px) {
    .owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-prev {
        left: -39px;
        top: 200px;
    }
    .owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-next {
        right: -39px;
        top: 200px;
    }
}

@media screen and (max-width: 768px) {
    .modal-slide.profile-sidebar .profile-popup-account .extrabuttonsmyprofile a {
        /* width: calc(50% - 17.5px); */
    }
    .wk-ap-toReorder {
        visibility:visible;
    }

    .owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-prev {
        /* margin-top: -75px; */
        /* margin-left: 31px; */
        top: 200px;
    }

    .owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-next {
        /* margin-top: -75px; */
        /* margin-right: 31px; */
        top: 200px;
    }

    .wk-ap-toReorder {
        font-size: 14px;
    }

    .wk-ap-category-product-name-container {
        font-size:14px;
    }

    .wk-ap-category-manufacturer-container{
        font-size:14px;
    }

    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size: 14px;
    }

    .wk-ap-category-routine-container{
        font-size:14px;
    }

    .btn.btn-secondary.wk-ap-btn{
        font-size:14px;
    }

}

@media screen and (max-width: 600px) {
    .owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-prev {
        /* margin-top: -48%; */
        /* margin-left: 48px; */
        /* margin-right: 0; */
        /* margin-bottom: 0; */
        padding: 0;
        top: 135px;
        left: -22px;
    }

    .owl-carousel-account-profile.owl-carousel.owl-theme .owl-nav .owl-next {
        /* margin-top: -48%; */
        /* margin-right: 48px; */
        /* margin-left: 0; */
        /* margin-bottom: 0; */
        padding: 0;
        top: 135px;
        right: -22px;
    }
}

@media screen and (max-width: 599px) {
    .profile-popup-account .wk-ap-edit-profile.edit-profile.header_account_link {
        /* left: 6%;
        top: 7%; */
        left: 256px;
        top: 31px;
    }
    .profile-popup-account .header_account_link {
        top: 31px;
        left: 173px;
    }

    .modal-slide.profile-sidebar .modal-header{
        display: flex;
        justify-content: flex-start;
        padding: 20px 19px;

    }
    .profile-sidebar .modal-title {
        text-align: left !important;
    }
}

@media screen and (max-width: 461px) {
    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size: 14px;
    }
}

@media screen and (max-width: 393px) {
    .modal-slide.profile-sidebar .profile-popup-account .extrabuttonsmyprofile a:nth-child(odd) {
        word-break: break-all;

    }

    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size: 12px;
    }
}


@media screen and (max-width: 375px) {

    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size: 11px;
    }
}


@media screen and (max-width: 365) {
    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size: 10px;
    }
}

@media screen and (max-width: 355px) {

    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size:10px;
    }
}

@media screen and (max-width: 334px) {

    .modal-slide.profile-sidebar .profile-popup-account  .extrabuttonsmyprofile a {
        font-size:9px;
    }
}

/* @media only screen and (min-width: 767px) {
    .profile-popup-account .owl-carousel-account-profile.owl-carousel.owl-theme.owl-loaded .owl-stage-outer div.owl-stage div.owl-item:only-child {
      margin-left:50%;
     }
}  */

/* @media screen and (max-width: 500px) {
    .profile-popup-account .wk-ap-edit-profile.edit-profile.header_account_link {
        left: 20%;
        top: 29px;
    }
}

@media screen and (max-width: 400px) {
    .profile-popup-account .wk-ap-edit-profile.edit-profile.header_account_link {
        left: 5%;
        top: 57px;
    }
} */

@media screen and (max-width: 767px) {
    .profile-popup-account .profile-popup-header {
        width: calc(100% - 40px);
    }
}

.amrec-cancel-confirmation {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
.amrec-cancel-confirmation .amrec-overlay {
    position: absolute;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background: #efefef;
    opacity: .4;
}
.amrec-cancel-confirmation .amrec-popup {
    z-index: 9999;
}
.amrec-subscription-cancel {
    position: relative;
    box-sizing: border-box;
    padding: 35px;
    max-width: 90vw;
    width: 540px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(157,157,157,0.25);
}
.amrec-subscription-cancel .amrec-close {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.amrec-subscription-cancel .amrec-close:hover {
    background: #f1f1f1;
}
.amrec-subscription-cancel .amrec-close:before, .amrec-subscription-cancel .amrec-close:after {
    position: absolute;
    width: 11px;
    height: 2px;
    background: #c4c4c4;
    content: '';
}
.amrec-subscription-cancel .amrec-close:before {
    transform: rotate(45deg);
}
.amrec-subscription-cancel .amrec-close:after {
    transform: rotate(135deg);
}
.amrec-subscription-cancel .amrec-close:hover:before, .amrec-subscription-cancel .amrec-close:hover:after {
    background: #363636;
}
.amrec-subscription-cancel .amrec-header {
    margin: 5px 0 0;
    font-size: 16px;
}
.amrec-subscription-cancel .amrec-text {
    margin-top: 15px;
    font-size: 16px;
}
.amrec-subscription-cancel .amrec-wrapper {
    margin-top: 30px;
    text-align: right;
}
.amrec-subscription-cancel .amrec-button {
    padding: 10px 15px;
    border: none;
    background: none;
    box-shadow: none;
}
.amrec-subscription-cancel .amrec-button.-confirm {
    background: var(--primary_color);
    border-radius: 12px;
    color: #fff;
}
.amrec-subscription-cancel .amrec-button.-confirm:hover {
    background: #3f9feb;
}
