﻿/***** wait modal dialog */
.waitingMsg {
    position: fixed;
    background-color: rgba(225, 225, 225, 0.78);
    padding: 7px;
    width: 100%;
    text-align: center;
    z-index: 1979;
    height: 100%;
}
/*.waitInnerCir {
    max-width: 500px;
    margin: 35% auto;
    box-shadow: 0px 0px 1px 1px rgba(160, 160, 160, 0.5);
    background-color: black;
    color: white;
    padding: 21px 0px;
    border-radius: 8px;
    position: relative;
    width: 100%;    
    overflow: auto;
}*/
.waitInnerCir {
    max-width: 550px;
    margin: auto;
    box-shadow: 0px 0px 1px 1px rgba(160, 160, 160, 0.5);
    background-color: black;
    color:white;
    padding: 21px 0px;
    border-radius: 8px;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 64px;
}
    .waitInnerCir img {
            height: 3px;
    width: 15px;
    }

    .waitInnerCir .helpContainer div {
        padding:20px;
    }

.waitMsg {
    text-align: center;
    display: inline-block;
    line-height: 20px;
}

.alertMsgBox {
    background-color: white;
    color: black;
    overflow: auto;
}
.alertMsgX {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 27pt;
    line-height: 18px;
    padding: 2px;
    display: block;
    cursor: pointer;
}
.alertOK, .alertCncl {
    border: 1px solid black;
    line-height: 20px;
    width: 85%;
    max-width: fit-content;
    margin: 10px auto;
    border-radius: 2px;
    padding: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
}
    .alertOK:hover {
    }

.alertLeft {
    width: 40%;
    left: 0;
    right: initial;
    margin-left: 5%;
}

.alertRight {
    width: 40%;
    left: initial;
    margin-right: 5%;
}

.waitprogressive {
    width: 95%;
    overflow: hidden;
    margin: auto;
    border: 1px solid white;
    margin-bottom: 5px;
}
    .waitprogressive .wp-progBar{
        height: 5px;
        background-color: silver;
    }
/**** embeded notification style dialog ****/
.notificationMsg {
    padding: 7px;
    z-index: 1979;
    width:100%;
    bottom: 0;
    position: fixed;
    margin:auto;
}
.notificationCir {
    margin: auto;
    box-shadow: 0px 0px 0px 1px rgba(160, 160, 160, 0.22);
    padding: 21px 0px;
    border-radius: 3px;
    position: relative;
    width: 30%;
    background-color: black;
    color: white;
    text-align: center;
    height: auto;
    padding:15px;
}
    .notificationCir .alertOK {
        color: black;
        position: relative;
    }
#apq-cookie-notification .alertOK {
    max-width: 20%;
}
#apq-cookie-notification .notificationCir .waitMsg{
    color:white;
    text-align:left;
}
/*************************/
/***SWITCH UI */
.sw-BxTrk {
    line-height: 20px;
    width: 100%;
    margin: auto;
    /*border: 1px solid silver;*/
    padding: 7px 10px 7px 0px;
    overflow: hidden;
}
    .sw-BxTrk .sw-primtxt, .sw-BxTrk .sw-subtxt {
        padding: 0px;   
        max-width: 87%;
        text-align: left;
    }
    .sw-BxTrk .sw-primtxt {
        font-weight: bold;
    }
    .sw-BxTrk .sw-subtxt {
        font-size: .85rem;
        max-width: initial;
        line-height: 1.25rem;
        margin-bottom: 0;
    }
.sw-Bx {
    cursor: pointer;
    width: 15%;
    height: 22px;    
    float: right;
    max-width: 40px;
}
input.sw-onoff + label {
    padding: 10px;
    height: 15px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
}
    input.sw-onoff + label:before, input.sw-onoff + label:after {
        display: block;
        position: absolute;
        top: 3px;
        left: 3px;
        bottom: 3px;
        content: "";
    }
    input.sw-onoff + label:before {
        right: 1px;
        background-color: #bdbdbd;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        -ms-border-radius: 30px;
        -o-border-radius: 30px;
        border-radius: 30px;
        -webkit-transition: background 0.4s;
        -moz-transition: background 0.4s;
        -o-transition: background 0.4s;
        transition: background 0.4s;
    }
    input.sw-onoff + label:after {
        border-radius: 50%;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
        background-color: #fafafa;
        height: 20px;
        left: 1px;
        position: absolute;
        top: 0;
        width: 20px;
        transition: background-color .3s ease;
    }
input.sw-onoff:checked + label:before {
    background-color: #7fe0d0;
}
input.sw-onoff:checked + label:after {
    margin-left: 18px;
    background-color: #00b798;
}

.sw-onoff {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}
    .sw-onoff + label {
        display: block;
        position: relative;
        cursor: pointer;
        outline: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
/*******************************************/

/*CHECKBOX UI*/
.cbx-BxTrk {
    position: relative;
    width: 164px;
    height: 60px;
    overflow: hidden;
}
.cbx-BxTrk input.cbx-onoff {
    float: left;
    width: 22px;
    -webkit-appearance: checkbox;
}
div.cbx-Bx label {
       float: left;
    width: 65%;
    text-align: left;
    line-height: 27px;
    font-size: .9rem;
}
/************/

@media screen and (min-width:768px) {
    .waitInnerCir .helpContainer div {
        padding: 20px;
    }
}

/* =========================================================
   Apliiq privacy banner
   ========================================================= */

#apq-cookie-notification {
    position: relative;
    z-index: 2500;
}

#apq-cookie-notification .notificationMsg.apq-privacy-banner {
    box-sizing: border-box;
    padding: 16px;
    z-index: 2500;
}

#apq-cookie-notification .apq-privacy-card {
    box-sizing: border-box;
    width: min(760px, calc(100% - 20px));
    max-width: 760px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
    overflow: visible;
    text-align: left;
}

#apq-cookie-notification .apq-privacy-header h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.2;
    text-transform: none;
}

#apq-cookie-notification .apq-privacy-header p {
    margin: 0;
    color: #fff;
    font-size: .95rem;
    line-height: 1.5;
}

#apq-cookie-notification .apq-privacy-header a {
    color: #fff;
    text-decoration: underline;
}

#apq-cookie-notification .apq-privacy-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

#apq-cookie-notification .apq-privacy-btn {
    appearance: none;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #fff;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

#apq-cookie-notification .apq-privacy-btn-primary {
    background: #00b798;
    border-color: #00b798;
    color: #ffffff;
}

#apq-cookie-notification .apq-privacy-btn-primary:hover {
    background: #009f84;
    border-color: #009f84;
}

#apq-cookie-notification .apq-privacy-btn-secondary {
    background: transparent;
    color: #fff;
}

#apq-cookie-notification .apq-privacy-btn:focus-visible,
#apq-cookie-notification .sw-onoff:focus-visible + label {
    outline: 3px solid #ffb600;
    outline-offset: 2px;
}

#apq-cookie-notification .apq-privacy-preferences {
    margin-top: 20px;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,.2);
}

#apq-cookie-notification .apq-privacy-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

#apq-cookie-notification .apq-privacy-option-copy {
    display: block;
    flex: 1;
    min-width: 0;
    color: #fff;
    cursor: pointer;
}

#apq-cookie-notification .apq-privacy-option-title {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-weight: 700;
}

#apq-cookie-notification .apq-privacy-option-description {
    display: block;
    color: rgba(255,255,255,.82);
    font-size: .86rem;
    line-height: 1.4;
}

#apq-cookie-notification .apq-privacy-status {
    flex: 0 0 auto;
    color: #7fe0d0;
    font-size: .85rem;
    font-weight: 700;
}

#apq-cookie-notification .apq-privacy-switch {
    flex: 0 0 40px;
    float: none;
    width: 40px;
}

#apq-cookie-notification .apq-privacy-actions-save {
    justify-content: flex-end;
}

@media screen and (max-width: 767px) {
    #apq-cookie-notification .notificationMsg.apq-privacy-banner {
        padding: 10px;
    }

    #apq-cookie-notification .apq-privacy-card {
        width: 100%;
        padding: 18px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }

    #apq-cookie-notification .apq-privacy-actions-primary {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    #apq-cookie-notification .apq-privacy-actions-primary .apq-privacy-btn,
    #apq-cookie-notification .apq-privacy-actions-save .apq-privacy-btn {
        width: 100%;
    }

    #apq-cookie-notification .apq-privacy-option {
        align-items: flex-start;
    }
}
