﻿/*Mobile Styles*/

fieldset {
    border-radius: 7px !important;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #f3f5f7 !important;
    position: relative;
    min-width: 65% !important;
    margin: 0 auto !important;
    width: 100%;
}
.fedexShipTypeDiv {
    text-align: initial !important;
}
.qt-charitypopup {
    top: 52% !important;
}
.qt-minpopup {
    top: 51% !important;
}
.qt-order-paymentCards {
    padding: 0 !important;
    padding-top: 1rem !important;
}
/*.wpwl-brand{
    display: none!important;
}
[class*='wpwl'] {
    padding-right: 0;
    width: 100%;
}*/
.wpwl-form {
    width: 80% !important;
    max-width: 100% !important;
}
.fieldset-hide {
    z-index: -1;
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    animation: HideMe .25s ease-in;
    animation-delay: .25s;
}
.fieldset-animate {
    top: unset;
    opacity: 1;
    z-index: 1;
}
.rz-datatable-tfoot td:last-child:not([class*='wpwl'], [class*='tns']) {
    width: 100% !important;
}
.rz-fieldset-legend {
    margin: 0 !important;
}
.rz-dropdown-label{
    text-align: left;
}
.qt-order {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.qt-order > div {
    display: flex;
    flex-direction: column;
    border: 1px solid;
    padding: 1rem;
    border: 1px solid #dadfe2;
    border-radius: 3px;
}
.qt-order-container {
    margin: 0 auto 1rem auto;
    width: 100%;
}

/* this is the first container (the new order box) */
.qt-order > div:nth-child(1) .qt-order-container div:not([class*='wpwl'], [class*='tns']) {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.qt-order-payment {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}
.qt-order-payment h1 {
    font-weight: 500;
}
.qt-order-shipping-container {
    width: 103%;
    height: 80%;
    margin: 0 auto;
}
.qt-order-shippinginfo-popup-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    background-color: cornflowerblue !important;
    border: 2px solid silver;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-weight: bolder;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.rz-menuitem-link,
.rz-steps-prev,
.rz-steps-next
{
    text-decoration: none;
}



/*Desktop Styles*/
@media(min-width: 850px) {
    /*.wpwl-form {
        width: 60% !important;
        max-width: 100% !important;
    }*/
    .qt-order > div {
        flex-direction: row;
    }
    .qt-order-container {
        margin: 1rem 2rem;
        max-width: 47%;
    }
    /* this is the first container (the new order box) */
    .qt-order-container > div:nth-child(1):not([class*='wpwl'], [class*='tns']) {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }
     /*this is the first container (the cart box)*/ 
    .qt-order-container > div:nth-child(2):not([class*='wpwl'], [class*='tns']) {
        width: 80%;        
        margin: 0 auto;
        text-align: center;
    }
     /*this is the first container (the new order box)*/
    .qt-order > div:nth-child(1) .qt-order-container div:nth-child(1):not([class*='wpwl'], [class*='tns']) {
        width: 100%;
    }
    /*this is the first container (the cart box)*/
    .qt-order > div:nth-child(1) .qt-order-container div:nth-child(2):not([class*='wpwl'], [class*='tns']) {
        width: 100%;
    }
    /*this is the first container (the cart box)*/
    .qt-order > div:nth-child(1) .qt-order-container div:nth-child(3):not([class*='wpwl'], [class*='tns']) {
        width: 100%;
    }    
   
    .qt-order-shippinginfo-popup{
        position: absolute;
        width: 80%;
        height: 80%;
        overflow: scroll;
        opacity: 0;
        background: rgba(0,0,0,.2);
        z-index: 100;
        transition: opacity ease-in .25s;
        z-index: -1;        
    }
    .qt-order-shipping-container {
        width: 80%;
    }
}




/*animation*/
@keyframes ExpandFieldset {
    0% {
        z-index: 0;
        top: -10rem;
        opacity: 0;
    }
    100% {
        top: 0;
        z-index: 1;
        opacity: 1;
    }
}
@keyframes ShowMe{
    0%{
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes HideMe{
    0% {
        display: flex;
    }
    99% {
        display: flex;
    }
    100% {
        display: none;
    }
}