/*
Everypay frontend styles 
*/

.content-area {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.woocommerce form input.input-text:read-only {
    background-color: #ddd;
}

.woocommerce button.button:disabled[disabled] {
    cursor: no-drop;
}

/* PRICE PLAN */
body.priceplan .entry-content > .woocommerce {
    max-width: 80%;
}
body.priceplan ul.wc-block-product-template .wc-block-components-product-image {
    display: none;
}
body.priceplan ul.products > li.product,
body.priceplan ul.products-block-post-template > li.product,
body.priceplan ul.wc-block-product-template > li.product {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 16px;
    border: 2px solid #ae75b4;
    padding: 15px;
    text-align: left;
    position: relative;
}
body.priceplan ul.products > li.product:nth-of-type(2),
body.priceplan ul.products-block-post-template > li.product:nth-of-type(2),
body.priceplan ul.wc-block-product-template > li.product:nth-of-type(2) {
    border: 2px solid #6aaaa5;
}
body.priceplan ul.products > li.product:nth-of-type(3),
body.priceplan ul.products-block-post-template > li.product:nth-of-type(3),
body.priceplan ul.wc-block-product-template > li.product:nth-of-type(3) {
    border: 2px solid #ffb636;
}
body.priceplan ul.products > li.product:nth-of-type(4),
body.priceplan ul.products-block-post-template > li.product:nth-of-type(4),
body.priceplan ul.wc-block-product-template > li.product:nth-of-type(4) {
    border: 2px solid #2596be;
}

body.priceplan ul.products-block-post-template li.product h3,
body.priceplan ul.wc-block-product-template li.product h3 {
    font-size: 1.2rem;
    text-align: left;
    padding: .5em 0;
}

body.priceplan ul.products li.product .woocommerce-loop-product__title,
body.priceplan ul.products-block-post-template li.product h3,
body.priceplan ul.wc-block-product-template li.product h3 {
    font-weight: 600;
    border-bottom: 1px solid #ae75b4;
}
body.priceplan ul.products li.product:nth-of-type(2) .woocommerce-loop-product__title,
body.priceplan ul.products-block-post-template li.product:nth-of-type(2) h3,
body.priceplan ul.wc-block-product-template li.product:nth-of-type(2) h3 {
    font-weight: 600;
    border-bottom: 1px solid #6aaaa5;
}
body.priceplan ul.products li.product:nth-of-type(3) .woocommerce-loop-product__title,
body.priceplan ul.products-block-post-template li.product:nth-of-type(3) h3,
body.priceplan ul.wc-block-product-template li.product:nth-of-type(3) h3 {
    font-weight: 600;
    border-bottom: 1px solid #ffb636;
}
body.priceplan ul.products li.product:nth-of-type(4) .woocommerce-loop-product__title,
body.priceplan ul.products-block-post-template li.product:nth-of-type(4) h3,
body.priceplan ul.wc-block-product-template li.product:nth-of-type(4) h3 {
    font-weight: 600;
    border-bottom: 1px solid #2596be;
}


body.priceplan .woocommerce_short_description {
    padding: 15px;
    height: 100%;
}
body.priceplan .woocommerce_short_description ul {
    margin: 0 0 1em;
    padding: 0;
    list-style: none outside;
    clear: both;
}
body.priceplan .woocommerce_short_description li {
    list-style: none;
    font-size: 15px;
    margin-left: 2px;
}
body.priceplan .woocommerce_short_description li strong {
    margin-bottom: 5px;
}


body.priceplan img {
    border-radius: 16px;
}


body.priceplan ul.products li.product .button,
body.priceplan ul.products-block-post-template li.product .add_to_cart_button,
body.priceplan ul.wc-block-product-template li.product .add_to_cart_button {
    background-color: #ae75b4;
    margin-bottom: 16px;
    text-align: center;
    width: auto;
}
body.priceplan ul.products li.product .button:hover,
body.priceplan ul.products-block-post-template li.product button:hover {
    opacity: 0.8;
}

body.priceplan ul.products li.product:nth-of-type(2) .button,
body.priceplan ul.products-block-post-template li.product:nth-of-type(2) .add_to_cart_button,
body.priceplan ul.wc-block-product-template li.product:nth-of-type(2) .add_to_cart_button {
    background-color: #6aaaa5;
}
body.priceplan ul.products li.product:nth-of-type(3) .button,
body.priceplan ul.products-block-post-template li.product:nth-of-type(3) .add_to_cart_button,
body.priceplan ul.wc-block-product-template li.product:nth-of-type(3) .add_to_cart_button {
    background-color: #ffb636;
}
body.priceplan ul.products li.product:nth-of-type(4) .button,
body.priceplan ul.products-block-post-template li.product:nth-of-type(4) .add_to_cart_button,
body.priceplan ul.wc-block-product-template li.product:nth-of-type(4) .add_to_cart_button {
    background-color: #2596be;
}

body.priceplan .wp-block-button.wc-block-components-product-button {
    align-items: unset;
}

/* Priceplan Price html */
body.priceplan .price > div {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
body.priceplan label {
    margin: 0;
}
.price-text .woocommerce-Price-amount.amount {
    font-weight: 600;
    font-size: 18px;
}
.price-text del .woocommerce-Price-amount.amount {
    font-weight: 400;
    font-size: 16px;
}

/* Added to cart archive loop */
body.priceplan a.added_to_cart {
    text-align: center;
}
body.priceplan a.disabled {
    cursor: no-drop;
}

/* Pseudo Loader */
body.priceplan ul.products,
body.priceplan ul.wc-block-product-template {
    position: relative;
    /*display: flex;*/
    justify-content: space-between;
}
.entry-content > .woocommerce {
    position: relative;
    display: block;
}
body.priceplan ul.products li.product,
body.priceplan ul.wc-block-product-template li.product {
    margin: 0 20px;
}
body.priceplan .loader,
.entry-content .loader {
    position: absolute;
    z-index: 300;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
}
body.priceplan .loader::before {
    top: 20%;
}
.entry-content .loader {
    top: 0;
}

/* Hide sorting dropdown */
body.priceplan .woocommerce-ordering {
    display: none;
}

/* Hide onsales badge */
body.priceplan .onsale {
    display: none;
}

/* Hide continue shopping from cart notification */
.wc-forward {
    display: none;
}

/* Billing type selection */
.subscription-bill-type-container {
    display: flex;
    justify-content: flex-end;
    height: 26px;
    margin-bottom: 16px;
}
body.priceplan .entry-content > .subscription-bill-type-container {
    max-width: 78%;
}
body.priceplan .subscription-bill-type-container label {
    margin: 0 10px;
}
.subscription-bill-type-container .label-text,
.subscription-bill-type-container input[type='radio'] {
    cursor: pointer;
}

/* Custom UI slider switch */
.custom-switch-wrapper {
    display: flex;
}
.custom-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    margin: 0 10px;
}
.custom-switch-wrapper .custom-switch {
    margin: 0 10px 0 0;
}
.custom-switch input,
.woocommerce form .form-row .custom-switch .input-checkbox {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(100, 100, 100);
    border-radius: 40px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    background: #fff;
    border-radius: 50%;
    left: 2px;
    bottom: 2px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
input[type='checkbox']:checked + .slider {
    background: rgb(106, 170, 165);
}
input[type='checkbox']:checked + .slider:before {
    left: -8px;
    -webkit-transform: translateX(30px);
    -moz-transform: translateX(30px);
    transform: translateX(30px);
}

/* Product loop discount badge */
.woocommerce_disount_badge {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 200;
    width: 30px;
    height: 28px;
    text-align: center;
    border: 1px solid #ae75b4;
    color: #fff;
    background-color: #ae75b4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding: 5px;
}
body.priceplan ul.products > li.product:nth-of-type(2) .woocommerce_disount_badge,
body.priceplan ul.wc-block-product-template > li.product:nth-of-type(2) .woocommerce_disount_badge {
    border: 1px solid #6aaaa5;
    background-color: #6aaaa5;
}
body.priceplan ul.products > li.product:nth-of-type(3) .woocommerce_disount_badge,
body.priceplan ul.wc-block-product-template > li.product:nth-of-type(3) .woocommerce_disount_badge {
    border: 1px solid #ffb636;
    background-color: #ffb636;
}
body.priceplan ul.products > li.product:nth-of-type(4) .woocommerce_disount_badge,
body.priceplan ul.wc-block-product-template > li.product:nth-of-type(4) .woocommerce_disount_badge {
    border: 1px solid #2596be;
    background-color: #2596be;
}

/* Cart Classic */
.woocommerce-cart-form__contents .title {
    display: block;
}
.woocommerce-cart-form__contents .short-descr {
    display: block;
}

/* Custom pagination */
.custom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 10px;
}
.page-numbers-wrapper a,
.page-numbers-wrapper span.current {
    padding: 2px 10px;
    border: 1px solid;
    text-decoration: none;
    width: 15px;
    display: inline-block;
    text-align: center;
}
.page-numbers-wrapper a.prev,
.page-numbers-wrapper a.next {
    border: 0px;
}
.page-numbers-wrapper span.current {
    background-color: #000;
      color: #fff;
}

/* Form subscription cancel */
.form-subscription-cancel {
    text-align: center;
    margin-bottom: 50px;
}

/* Subscriptions History */
.sub-active {
    color: green;
}
.sub-canceled {
    color: red;   
}
.sub-none {
    color: orangered;
}
.text-bold {
    font-weight: 600;
    color: #2271b1;
}
.text-medium {
    font-size: 16px;
}
.text-small {
    font-size: 12px;
}
.woocommerce-orders-table th.woocommerce-orders-table__header,
.woocommerce-table--order-details th.product-name,
.woocommerce-table--order-details th.product-total,
.woocommerce-subscriptions-table th {
    background-color: #000;
    color: #fff;
}
.woocommerce-orders-table th.woocommerce-orders-table__cell,
.woocommerce-orders-table td,
.woocommerce-subscriptions-table td {
    background-color: #fff;
}

/* MyAccount Form Add Card */
.form-add-card {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 0 0 50px 0;
}
.form-add-card .fields {
    display: flex;
    justify-content: flex-start;
}
.form-add-card .form-row {
    position: relative;
}
.form-add-card .form-row-large {
    width: 75%;
}
.form-add-card .form-row-small {
    width: 25%;
}
.form-add-card .form-row-xsmall {
    width: 18%;
}
.form-add-card .button-wrapper {
    margin-top: 25px;
    text-align: right;
}
.form-add-card label {
    text-align: left;
}
.form-add-card .creditcard-type {
    position: absolute;
    z-index: 200;
    right: 10px;
    top: 40px;
}
.form-add-card .creditcard-type > img {
    height: 45px;
}
.form-add-card .card-holder-name {
    text-transform: uppercase;
}
.form-add-card .has-error,
.form-add-card .input-type-wrapper.has-error  {
    border: 1px solid red;
}
.form-add-card .error-message {
    display: none;
    color: red;
    font-size: 12px;
}
.form-add-card .note {
    font-size: 14px;
}
.form-add-card .input-type-wrapper {
    display: flex;
    position: relative;
    border: 1px solid #676774;
}
.form-add-card .input-type-wrapper input[type='password'],
.form-add-card .input-type-wrapper .input-text {
    border: 0;
}
.form-add-card .input-type-wrapper img {
    width: 25px;
}
.form-add-card .checkbox-label,
.form-add-card .checkbox-input {
    cursor: pointer;
}

/* Preview debit-card UI */
.preview-debit-card {
    max-width: 330px;
    height: 195px;
    padding: 30px 30px 20px;
    background: linear-gradient(
      111.46deg,
      rgba(36, 36, 36, 0.5) 0%,
      rgba(36, 36, 36, 0.15) 100%
    );
    border: 2px solid rgba(224, 224, 224, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    margin: 0 0 20px 0;
}
.preview-debit-card .bank {
    width: 235px;
    position: absolute;
    top: 30px;
    right: 30px;
}
.preview-debit-card .card-type-logo {
    max-width: 80px;
    position: absolute;
    bottom: 0px;
    right: 10px;
}
.preview-debit-card .chip {
    width: 50px;
}
.preview-debit-card h2 {
    color: #e0e0e0;
    font-size: 26px;
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 30px;
}
.preview-debit-card .info {
    display: flex;
    flex-direction: column;
}
.preview-debit-card .info .title {
    display: inline-block;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    margin-right: 5px;
}
.preview-debit-card .info .detail {
    color: #e0e0e0;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}
.preview-debit-card .info .expire {
    text-align: auto;
}
.preview-debit-card .info .valid {
    text-align: auto;
}

/* MyAccount - Cards List */
.my-account.cards-list {
    margin-bottom: 50px;
    font-size: 0.90em;
}
.my-account.cards-list table {
    width: auto;
    margin: 0;
}
.my-account.cards-list ul {
    padding: 0;
}
.my-account.cards-list .card-item {
    display: flex;
    align-items: center;
}
.my-account.cards-list .card-item span {
    display: flex;
    align-items: center;
    margin-left: 5px;
}
.my-account.cards-list .card-item span > img {
    height: 20px;
    margin-right: 5px;
}
.my-account.cards-list .card-item .card-friendly-name span {
    font-style: italic;
    font-size: 12px;
    display: inline;
}
.my-account.cards-list .card-item > img,
.my-account.cards-list .card-item .card-type > img {
    height: 45px;
    margin-right: 10px;
}
.my-account.cards-list .card-valid {
    color: green;
}
.my-account.cards-list .card-expired {
    color: red;
}


/* MyAccount Login / Lost Password overwrites */
body.priceplan.myaccount-overwrites main {
    background: url('/wp-content/themes/mysportshunter/assets/images/home-main-image-opt.jpg') no-repeat center center;
    margin-top: 0;
}
.myaccount-overwrites form {
    background-color: #fff;
    color: #000;
    padding: 20px;
    margin-bottom: 30px;
}
.myaccount-overwrites .woocommerce-ResetPassword.lost_reset_password {
    border: 1px solid #cfc8d8;
    padding: 20px;
    margin: 2em 0;
    text-align: left;
    border-radius: 5px;
}
.myaccount-overwrites .entry-content .woocommerce,
body.priceplan.myaccount-overwrites .entry-content > .woocommerce {
    max-width: 600px;
    margin: 0 auto;
}
.myaccount-overwrites h1 {
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    background: rgba(255, 255, 255, 0.15);
}
.myaccount-overwrites .entry-content h2 {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    text-align: center;
}

/* Custom WC iframe popup */
#TB_window {
    width: 630px !important;
}
#TB_ajaxContent {
    width: 600px !important;
    height: 545px !important;
}

@media only screen and (max-width: 1600px) {
    body.priceplan .entry-content.has-global-padding {
        padding: 0 20px;
    }
    body.priceplan .entry-content > .woocommerce {
        max-width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    #TB_window {
        width: 600px !important;
    }
    #TB_ajaxContent {
        width: 600px !important;
        height: 545px !important;
    }

    body.priceplan .entry-content > .subscription-bill-type-container {
        max-width: 100%;
    }
    body.priceplan .entry-content > .woocommerce {
        max-width: 100%;
    }
    body.priceplan .entry-content > .woocommerce {
        max-width: 100%;
        margin: 0 !important;
    }
    body.priceplan ul.products,
    body.priceplan ul.products-block-post-template,
    body.priceplan ul.wc-block-product-template {
        flex-direction: column;
    }
    body.priceplan .woocommerce ul.products[class*="columns-"] li.product, 
    body.priceplan .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 94%;
        margin: 20px 0;
    }
}

@media only screen and (max-width: 599px) {
    #TB_window {
        width: 320px !important;
    }
    #TB_ajaxContent {
        width: 300px !important;
        height: 450px !important;
    }

    body.priceplan .entry-content > .subscription-bill-type-container {
        max-width: 100%;
    }
    body.priceplan .entry-content > .woocommerce {
        max-width: 100%;
        margin: 0 !important;
    }
    body.priceplan ul.products,
    body.priceplan ul.products-block-post-template,
    body.priceplan ul.wc-block-product-template {
        flex-direction: column;
        display: flex;
        width: 100%;
    }
    body.priceplan .woocommerce ul.products[class*="columns-"] li.product, 
    body.priceplan .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 90%;
    }
}