/**
 * 2008-2025 Prestaworld
 *
 * NOTICE OF LICENSE
 *
 * The source code of this module is under a commercial license.
 * Each license is unique and can be installed and used on only one website.
 * Any reproduction or representation total or partial of the module, one or more of its components,
 * by any means whatsoever, without express permission from us is prohibited.
 *
 * DISCLAIMER
 *
 * Do not alter or add/update to this file if you wish to upgrade this module to newer
 * versions in the future.
 *
 * @author    prestaworld
 * @copyright 2008-2025 Prestaworld
 * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 * International Registered Trademark & Property of prestaworld
 */
.switch {
    position: relative;
    display: inline-block;
    width: 500px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch2 {
    position: relative;
    display: inline-block;
    width: 500px;
    height: 34px;
}

.switch2 input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: -8px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    text-align: center;
    padding: 6px;
    border: solid black 1px;
    border-right: unset;
}
.slider2 {
    cursor: pointer;
    top: -50px;
    left: 235px;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    text-align: center;
    padding: 6px;
    border: solid black 1px;
    border-left:unset;
    height: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider2:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #24b9d7;
    color:#ffff;
}
input:checked + .slider2 {
    background-color: #24b9d7;
    color:#ffff;
}

input:checked + .slider:before {
    -webkit-transform: translateX(215px);
    -ms-transform: translateX(215px);
    transform: translateX(215px);
}
input:checked + .slider2:before {
    -webkit-transform: translateX(200px);
    -ms-transform: translateX(200px);
    transform: translateX(200px);
}

  /* Rounded sliders */
.slider.round {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}

.slider2.round2 {
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}
.slider2.round2:before {
    border-radius: 50%;
}
.presta_pr_subscriber_block {
    background: white;
}
.presta_switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px !important;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
}

.presta_switch .switch {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.presta_switch .slider,
.presta_switch .slider2 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    min-height: 42px;
    height: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: anywhere;
    white-space: normal;
}

.presta_switch .slider b,
.presta_switch .slider2 b {
    max-width: 100%;
}

.presta_switch .slider:before,
.presta_switch .slider2:before {
    display: none;
}

@media (max-width: 480px) {
    .presta_switch {
        grid-template-columns: 1fr;
        margin-bottom: 14px;
    }

    .presta_switch .slider.round {
        border-right: solid black 1px;
        border-bottom: unset;
        border-radius: 20px 20px 0 0;
    }

    .presta_switch .slider2.round2 {
        border-left: solid black 1px;
        border-radius: 0 0 20px 20px;
    }
}

.label_heading {
    font-size: 20px;
    margin: 13px;
}
.presta_discount_feild label {
    display: inline !important;
}
.product-prices div {
    margin-bottom: 0.155rem !important;
}

.presta_form_check .form-check-label{
    padding-left: 0 !important;
}

.presta_icons .material-icons{
    font-size: 21px !important;
    margin-left: -10px;
}
.presta_date_end_cycle .material-icons{
    font-size: 21px !important;
    margin-left: -10px;
}
.cancelmsg {
    display: none;
}
.billingmsg {
    display: none;
}
.qntyupdate {
    display: none;
}
.productdelete {
    display: none;
}
.qntyupdateerror {
    display: none;
}
.presta_active_status {
    background: green;
    color: white;
    border-radius: 50%;
}
.presta_inactive_status {
    background: red;
    color: white;
    border-radius: 50%;
}
