/*

    Stylesheet for all parts of scoutpay.

*/

html {
    font-family: arial;
    min-height:100%;
}

body {
    margin:0px;
}

#ContentWrapper {
    margin: auto;
    text-align: center;
}

a {
    text-decoration: none;
    color: #424242;
}

#loading-div {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.title-wrapper {
    width: 280px;
    margin: 200px auto 0;
    height: 50px;
}

.title-wrapper img {
    width: 57px;
    float: left;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0 10;
}

.title-wrapper p {
    float: right;
    color: white;
    font-size: 40px;
    margin: 9px;
    font-style: italic;
    font-weight: bold;
}

.animation-wrapper {
    width: 280px;
    height: 5px;
    margin: 8% auto;
    position: relative;
}

.loading-bar {
    height: 100%;
    width: 0px;
    background-color: white;
    border-radius: 20px;
    position: absolute;
    left: 0px;
    animation: loading 0.75s 20;
    animation-timing-function: linear;
}

@keyframes loading {
    0% {
        width:0px;
    }

    20% {
        left:0px;
    }

    30% {
        width:30%;
        
    }

    70% {
        width:30%;
    }

    100% {
        width:0px;
        left:95%;
    }
}

/* =================== Account Header =================== */

.account-header {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 70%);
    margin: 0;
    height: 180px;
    padding: 35px 25px;
    margin-bottom: -115px;
    text-align: right;
    position:relative;
    overflow-x:clip;
}

.account-header p {
    position: absolute;
    right: 40px;
    color:white;
}

.decoration-div-1 {
    width: 300px;
    height: 300px;
    border: 2px solid #ffffff82;
    position: absolute;
    transform: rotate(52deg);
    top: -52px;
    right: -63px;
}

/* =================== Navigation Menu =================== */

.nav {
    padding: 2px;
    z-index: 3;
    margin: 8px;
}

.nav-slider {
    z-index: 2;
    height: 100%;
    top: 0px;
    left: -300px;
    /* box-shadow: 7px 0px 8px -6px black; */
    
    color: #e9e9e9;
}

.nav-header {
    padding:20px;
    text-align: center;
}

.nav-slider h1 {
    margin:0px;
    display: inline;
}

.nav-slider img {
    position: absolute;
    right:0px;
    top:8px;
    /* filter:invert(); */
}

.nav ul {
    padding:0;
    margin: 0;
    overflow: auto;
}

.nav ul li a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px 5px;
    margin-top: 30px;
    position: relative;
    text-align: center;
    margin-top:10px !important;
}

.nav img {
    width:35px;
    padding:8px;
}

.nav ul li img {
    position: absolute;
    left: 0px;
    top: -2px;
    width: 30px;
}



/* =================== Containers =================== */

.groupContainer {
    margin: 20px auto;
    padding-bottom: 20px;
    position: relative;
    max-width: 1100px;
}

.group-header {
    font-size: 25px;
    margin-bottom: 18px;
    margin-top: 0px;
    padding: 15px 0px 0px 0px;

    color: #ffffff;
    text-align: left;
    margin: 12px;
}

.wow-such-empty {
    font-size: 17px;
    text-align: left;
    margin: 37px 12px;
    color: white;
    font-style: italic;
}

/* =================== Inventory =================== */

.product-header {
    text-align: left;
    color: white;
}

.table-box {
    height: 80px;
    background-color: white;
    margin: 3px auto;
    position: relative;
    border-radius: 5px;
    box-shadow: 0px 0px 6px -1px #797979;
    cursor:pointer;
}

.table-box img {
    width: 60px;
    position: absolute;
    left: 5px;
    top: 5px;
    border-radius: 100%;
    background-color: #f8f8ff;
    padding: 5px;
}

p.product-name {
    display: inline-block;
    position: absolute;
    font-size: 16px;
    left: 90px;
    top: 17px;
    margin: 0;
    font-weight: bold;
    color: #515151;
}

p.product-amount {
    display: inline-block;
    position: absolute;
    margin: 0px;
    top: 47px;
    font-size: 16px;
    left: 90px;
    font-weight: bold;
    color: #a4a4ed;
}

p.product-arrow {
    right: 36px;
    display: inline-block;
    position: absolute;
    font-size: 50px;
    margin: 0;
    color: #4f4f4f;
    top: 10px;
}

p.product-box-arrow {
    margin: 0px;
    position: absolute;
    right: 0;
    font-size: 50px;
    top: 0;
    padding: 0px 25px;
    height: 100%;
    color: #4f4f4f;
}

.table-edit-background {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #0000008a;
    top: 0;
    left: 0;
    z-index: 1;
}

.table-edit-container {
    position: fixed;
    width: 80%;
    background-color: white;
    top: 65px;
    left: 100%;
    box-shadow: 0px 0px 5px -2px;
    border-radius: 10px;
    z-index: 3;
    padding: 20px 5%;
    text-align: left;
    overflow: auto;
    max-height: 80%;
}

.table-edit-container p {
    margin-bottom:0px;
}

.table-edit-container h3 {
    margin-top: 0px;
    color: #4f4f4f;
}

.table-edit-container img {
    width: 100px;
    box-shadow: 0px 0px 4px -2px black;
    border-radius: 10px;
    margin: 10 0;
    padding: 5px;
}

/* =================== Credit Cards =================== */

.group-block {
    width: 90%;
    max-width: 400px;
    display: inline-block;
    height: 65px;
    box-shadow: 2px 2px 7px -3px black;
    margin: 5px;
    color: #4b4b4b;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.card-text {
    position: absolute;
    z-index: 1;
    
    font-weight: bold;
    margin: 15px;
}

.card-mod {
    right: 1px;
    bottom: 23px;
    color: #a4a4ed;
    font-size: 13px;
}

.card-blocked {
    right: 1px;
    bottom: 23px;
    color: #ffb0b0;
    font-size: 13px;
}

.card-image {
    left: 10px;
    position: absolute;
    z-index: 2;
    width: 75px;
    top: 5px;
    opacity: 0.8;
    /* border-radius: 100px;
    background-color: white;
    box-shadow: 0px 0px 7px -2px black; */
}

.card-credit {
    position: absolute;
    right: 0px;
    bottom: -5px;
    margin: 15px;
    font-size: 15px;
    z-index: 1;
    font-weight:bold;
}

.card-title {
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 0;
    margin: 10px 15px;
    z-index: 2;
}

.card-dec-img-main {
    z-index: 1;
    position: absolute;
    /* filter: invert(1); */
    opacity: 0.05;
}

.card-dec-img-01 {
    bottom: -24px;
    width: 129px;
    right: 37px;
}

.card-dec-img-02 {
    bottom: -1px;
    width: 95px;
    right: 6px;
}

/* =================== Loading image =================== */
.popupBanner {
    position: absolute;
  width: 100%;
  height: 150px;
  background-color: #48e848;
}

.popupBanner img {
    width: 80;
    filter: invert(1);
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 35;
}

.popupConfirm {
    position: absolute;
  left: 50;
  right: 50;
  bottom: 10;
}

@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

#responseOK {
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Invoice ==================== */

.invoice-container {
    border:1px solid;
    padding: 10px;
    width: 600px;
    height: 700px;
    
    margin:auto;
}

.invoice-scoutpay-header {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 20px;
    float: left;
}

.invoice-scoutpay-header p {
    margin:0px;
}

.invoice-group-header {
    float:right;
    margin-top: 15px;
    margin-right: 10px;
}

.invoice-group-header p {
    margin:0px;
}

.invoice-table h2 {
    margin-top: 200px;
    text-align: left;
    border-bottom: 1px solid;
    padding: 5px 20px;
}

.invoice-table table {
    width: 90%;
    margin: auto;
    text-align: center;
    border-collapse:collapse;
}

.invoice-table td {
    padding:9px 5px;
}

@media print {
    body *:not(.ContentWrapper, .groupContainer, .invoice-container, .invoice-container *, .popupContainer, #inventoryCorrectionHistory, .InventoryTranscriptContainer, .InventoryTranscriptContainer *) {
        display:none;
    }

    body {
        margin: 0;
        padding: 0;
    }

    .adminPopup {
        position:static !important;
    }

    .groupContainer {
        margin:0px;
        height:297mm;
        padding: 0px;
        width: 210mm;
        overflow:initial !important;
    }

    .InventoryTranscriptContainer {
        border:none !important;
    }

    .popupContainer {
        max-width:none !important;
        padding: 0px !important;
        position: absolute !important;
        width: 100% !important;
        min-height:none !important;
    }

    .invoice-container {
        margin:0px;
        padding: 0px 30px;
        width: 100%;
        height:100%;
        border-color:#fff;
    }
    @page { 
        size:auto;
        margin:0mm;
    }
}

/* =================== Standards =================== */

.sp-input {
    font-size: 18px;
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
}

.sp-input-admin:focus {
    outline:none;
    border-bottom: 2px solid #a4a4ed;
}

.sp-input:focus {
    outline:none;
}

.sp-button {
    padding: 10px 40px;
    font-size: 18px;
    margin: 5px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    border: none;
    box-shadow: 0px 0px 7px -3px black;
}

.sp-button-danger {
    background-image: linear-gradient(113deg, #f75454 , #f56868 ) !important;
}

.sp-button-wide {
    width:100%;
    margin: 5px auto;
}

.sp-button:disabled {
    background-image: none;
    background-color: #818181;
    box-shadow: none;
    color: #c5c5c5;
    border-color: white;
}



.sp-select, .sp-select option {
    padding: 10px 5px;
    font-size: 15px;
    width: 100%;
    box-shadow: 0px 0px 7px -4px #5c5c5c;
    border: 1px solid #e3e3e3;
}

.sp-button-snackbar {
    position: fixed;
    bottom: -125px;
    left: 10;
    right: 10;
    margin: 10 auto;
    font-size: 25px;
    padding: 25px;
    max-width: 400px;
    z-index: 2;
    box-shadow: 0px 0px 11px -4px black;
    border-radius: 10px;
}

.sp-button-snackbar p {
    display: inline;
    margin: 0;
}

.sp-button-snackbar img {
    width: 32px;
    position: absolute;
    border-radius: 10px;
    padding: 7px;
    top: 16px;
}

.submitSave {
    right: 115px;
    background-color: #72ca59;
}

.cancelSave {
    right: 50px;
    background-color: #ff6e6e;
}

.sp-button-with-explain {
    padding: 10px 25px;
    border: none;
    box-shadow: 0px 0px 6px -2px;
    margin: 10px 0px;
    background-image: linear-gradient(to bottom, #4287f5, #5493f7);
}

.sp-button-with-explain h1 {
    margin: 8px 0px;
    color: white;
    font-size: 24px;
}

.sp-button-with-explain p {
    font-size: 15px;
    color: white;
    margin: 7px 0px;
}

#productMainContainer {
    padding:20px 0px;
}

/* =========== POPUP ============ */

.adminPopup { /* Shared code */
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: #00000070;
}

.fullscreenPopup {
    overflow:scroll;
    margin: auto;
    text-align: center;
    top: 0;
}

#confirmationPopup {
    top: 0;
}

.popupErrorMsg {
    color: #fb5151;
    text-align: left;
    display: block;
    margin: 5px 0;
    font-size: 17px;
}

/* =========== POPUP CONTAINER ============ */

.popupContainer h3 {
    margin: 0 0 5px 0px;
  font-weight: normal;
  font-size: 22;
}

#confirmationPopup {
    text-align: center;
}

.popupContainer h5 {
    margin: 0 0px 30px 0px;
  font-size: 17px;
  font-weight: normal;
  font-style: italic;
}

#confirmationPopup .popupContainer {
    position: relative;
    width: 80%;
    top: 30%;
    box-shadow: 0px 0px 11px -3px black;
    height: 150px;
    margin:0 auto;
    max-width: 400px;
}

.bottomPopup .popupContainer {
    position: fixed;
    left: 0px;
    right: 0px;
    border-radius: 15px 15px 0px 0px;
    max-width: 400px;
}

.fullscreenPopup .popupContainer {
    position: relative;
    min-height: 100%;
    max-width: 550px;
}

.fullscreenPopup .popupContainer, .bottomPopup .popupContainer {
    padding: 25px 45px;
    
    margin: auto;
}

#res .popupContainer {
    background-color: transparent;
}

.popupContainer .cancelCross {
    width: 22px;
  background-color: #f2f2f2;
  border-radius: 100%;
  padding: 4px;
  box-shadow: 0px 1px 6px -4px black;
  position: absolute;
  top: 24;
  right: 20;
}

/*
  position: absolute;
  right: 5px;
  width: 35;
  height: 35;
  border: 3px solid #f26464;
  border-radius: 5px;
  top: 12.5;
*/

/* ===== POPUP CONTAINER CONTENT ===== */

.fullscreenPopup .popupContainer h3 {
    font-size: 25px;
}

.popupContainer h4 {
    margin:0;
}

.popupContainer input {
    width:100%;
    margin:0px !important;
}

.popupContainer p {
    font-size: 18px;
    width: 80%;
    margin: 15px 0px 5px 0px;
    text-align: left;
}

.popupContainer p span {
    color: #959595;
    font-size: 13px;
    margin: 10;
}

.popupContainer button {
    border-radius: 0px !important;
    width: 100% !important;
    margin:10px 0px !important;
}

.popupContainer textarea {
    width: 100%;
    height:200px;
    margin:0px;
    resize: none;
    font-size: 15px;
}

/* ========== CONFIRMATION ========== */

#confirmationPopup .popupContainer h3 {
    position: relative;
    top: 45px;
    font-size: 20px;
}

#confirmationPopup .popupContainer div {
    position: absolute;
    width: 50%;
    bottom: 0;
    border-top: 1px solid;
    padding: 12px 0px;
    border-color: #d5d5d5;
    font-weight: bold;
    color: #a4a4ed;
    background-color: #f9f9f9;
    cursor: pointer;
}

#confirmationPopup .popupContainer .popupSubmit {
    left: 0;
}

#confirmationPopup .popupContainer .cancelButton {
    right: 0;
    border-left: 1px solid;
}


/* =========== END POPUP ============ */

.btn-collection {
    width: 95%;
    margin: 10px auto;
    border: 2px solid #a4a4ed;
    border-radius: 10px;
}

.btn-collection-element {
    padding: 10px;
    display: inline-block;
    width: 150px;
    margin: 3px 0;
    font-size: 18px;
    cursor: pointer;
}

.hist-elem {
    position: relative;
    width: 90%;
    height: 70px;
    margin: 5px auto;
    border-bottom: 1px solid #ededed;
    max-width: 500px;
}

.hist-elem div {
    position: absolute;
}

.pay-hist-title {
    top: 5px;
    left: 20px;
    font-size: 20px;
    max-width: 212px;
    white-space: nowrap;
    overflow: hidden;
}

.pay-hist-date {
    bottom: 10;
    left: 20;
}

.pay-hist-price {
    right: 20;
    top: 10;
    font-size: 20px;
}

.pay-hist-amount {
    right: 20;
    bottom: 10;
}

.score-elem {
    position: relative;
    width: 90%;
    height: 50px;
    margin: 5px auto;
    border-bottom: 1px solid #ededed;
    max-width: 500px;
}

.score-elem div {
    position: absolute;
}

.score-name {
    font-size: 24px;
    top: 11;
    left: 20;
}

.score-total {
    font-size: 24;
    top: 11;
    right: 20;
}

.popupCheckbox {
    position: relative;
    text-align: left;
    border-bottom: 1px solid #d7d7d7;
    padding: 10 0;
}

.popupCheckbox span {
    font-size: 20px;
    width: 80%;
    display: block;
}

.popupCheckbox input {
    width: 20px;
    height: 20;
    position: absolute;
    right: 10;
    top: 12px;
}

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

    .nav {
        position:fixed;
    }

    .nav-slider {
        background-image: linear-gradient(to bottom, #8e8eef, #a4a4ed);
        width:300px;
        position:fixed;
    }

    .nav ul li a {
        font-size: 19px;
    }
}

@media only screen and (max-width:1400px) {
    .account-header {
        overflow:hidden;
    }
}

@media only screen and (min-width: 1100px) {
    .nav {
        position:absolute;
        width:80%;
    }
    #navToggle {
        display:none !important;
    }

    .nav-slider {
        background:none;
        height:auto !important;
    }

    .nav-header {
        display:none;
    }

    .nav img {
        display:none;
    }

    .nav ul {
        padding:0px 40px;
    }

    .nav ul li {
        display:inline-block;
    }

    .nav ul li a {
        cursor:pointer;
        margin:12px;
        float:left;
        font-size: 17px;
    }

    #nav-close {
        display:none;
    }

    .nav-slider {
        left:0px !important;
    }

    .sp-button-snackbar {
        box-shadow: 0px 0px 6px -1px black;
    }
}