/*Added CSS (cam) ------------------------*/
/*Created Jul 30th*/

/*Color naming conventions:
>If privided by valley eats ve is at the front (or used from index css provided by ariella)

> If secondary/tertiary ect.. colors names are in the middle of names

>Last color name is the primary apearance of the color

*/
:root{
  --ve-dark-green: #526c2f;
  --ve-green: #79a763;
  --ve-light-green: #d1e0bc;

  --ve-blue: #638fa7;
  --ve-light-blue:#87cefa;

  --read-grey: #e9e9e9;
  --light-grey: #d3d3d3;
  --dark-grey: #808080;
  --dark-blue-grey: #6c757d;
}

/*----- Shop / Perks-----*/
.shopSubHead{
    background-color:#79a763; 
    overflow: auto;
    color:white; 
    border-radius: 0.2rem; 
    width:100%; 
    padding: 0.2rem;
    font-weight:bold; 
    font-size:175%; 
    text-align:center;
}
.shopSubHead:hover{
    background-color: var(--ve-dark-green); 
    cursor: pointer;
}

/* Shop Card Display*/
.shopContainer{
    height:100%; 
    width:100%; 
    display: flex; 
    flex-wrap: wrap; 
    border-bottom: 3px solid black; 
    border-right: 3px solid black; 
    border-left: 3px solid black; 
    border-radius: 0.2rem;
    padding:0.25rem;
}
.shopCard{
    overflow: auto;
    border: 2px solid grey;
    display: flex;
    flex-direction: column; 
    text-align: center;
    padding: 0.4rem 0.2rem; 
    background-color: white; 
    border-radius:0.2rem;
    height: 275px;
    justify-content: space-between;
}

/* Shop card item displays */
.item-title{
    font-weight: bold;
    display: flex;
    flex-direction: column; 
    color:black;
    font-size:125%;
    align-items: center;
    justify-content: space-between;
    width:100%;
    padding: 0.75rem;
}
.item-img{
    display: flex;
    align-items: center;
    justify-content: center;
    height:150px;
    width:100%;
    padding: 0.25rem;
}
.item-img:hover{
    cursor: pointer;
}
.item-pts{
    height: 40px;
    font-size: 1rem;
}

/* Shop headers chevrons */
.chevCollapse{
    padding: 0 1rem;
    font-weight:bold; 
    text-align:center
}
.chev{
    float: right;
}
.hidChev{
    float:left; 
    visibility: hidden !important; 
}

/* Perks displays */
.perksContainer{
    height:100%; 
    width:100%; 
    display: flex; 
    flex-direction: column; 
    border-bottom: 3px solid black; 
    border-right: 3px solid black; 
    border-left: 3px solid black; 
    border-radius: 0.2rem;
    padding:0.25rem;
}
#perksPrevBtn:hover,#perksNextBtn:hover{
    color: var(--ve-dark-green);
}

/* Perks Display*/
.point-breakdown{
    overflow: auto;
    background-color: var(--ve-blue);
    color: white;
    border-radius: 0.3rem;
    padding: 0.5rem 1rem;
    margin: 0.75rem;
    justify-content: space-between;
    font-size: 1.25rem;
    display:flex;
    align-items:center;
}
.rank-row{
    color: grey;
    border-color: grey;
    border-top: 0.5px;
    border-bottom: 0.5px;
    border-left: 0;
    border-right: 0;
    border-style: solid;
    padding: 0.5rem 1rem;
    margin: 0 0.75rem;
    justify-content: space-around;
    display:flex;
    align-items:center;

}
.user-rank-row{
    color: black;
    border-color: black;
    border-top: 2px;
    border-bottom: 2px;
    border-left: 0;
    border-right: 0;
    border-style: solid;
    padding: 0.5rem 1rem;
    margin: 0 0.75rem;
    justify-content: space-around;
    display:flex;
    font-size:125%;
    align-items:center;
}
.user-rank-row:hover{
    color:white;
    background-color: var(--dark-grey);
    border-color: black;
}

/* Receipts Display*/
.shop-receipt{
    margin: 0.25rem;
    font-size:115%; 
    padding:0.3rem 0; 
    width:95%;  
    align-items:center; 
    justify-content:space-between; 
    border: 1px solid black; 
    background-color: var(--read-grey);
    border-radius: 5px;
}
.receipt-filled {
    display: flex;
}
.receipt-unfilled {
    display: flex;
}

/*----- -----*/
.driver-page-header{
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: var(--light-grey);
    padding: 0.5em;
}

/*----- Bulletins -----*/
.bulletin-container{
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: safe start;
    width:100%; 
    border: 3px double black; 
    display:flex; 
    flex-direction:column-reverse; 
    flex-grow: 1;
    align-items:center; 
    padding:0.25rem; 
    border-radius:0.5rem; 
}
.read-bulletin{
    cursor: pointer;
    flex: 1;
    background-color: var(--read-grey) !important;
    width:100%; 
    padding: 0.5rem 0.75rem; 
    margin: 0.15rem; 
    border-radius: 0.5rem;
    border: 1px solid black; 
    align-items:center; 
    justify-content:space-between;
    display:flex; 
    flex-direction:row;
}
.unread-bulletin{
    cursor: pointer;
    flex: 1;
    background-color: white !important;
    width: 100%;
    padding: 0.5rem 0.75rem; 
    margin: 0.15rem; 
    border-radius: 0.5rem;
    border: 1px solid black; 
    align-items:center; 
    justify-content:space-between;
    display:flex; 
    flex-direction:row;
}
.empty-bulletin{
    text-align:center;
    cursor: default;
    font-size: 125%;
    background-color: white !important;
    width: 100%;
    padding: 0.5rem 0.75rem; 
    margin: 0.15rem; 
    border-radius: 0.5rem;
    border: 1px solid black; 
    align-items:center; 
    justify-content:center;
    display:none; 
    flex-direction:row;
}

.read-bulletin:hover, .unread-bulletin:hover{
    background-color: #d3d3d3 !important;
}
.bulletin-subject{
    order: 1;
    font-size: 115%;
    font-weight: bold;
    padding: 0 0.75rem;
}

.bulletin-date{
    order: 3;
    font-size: 105%;
    padding: 0 0.75rem;
}

/*----- Performance Page ------*/
.rating-graph{
    height:250px;
    width: 100%;
    flex-direction:column; 
    justify-content:center; 
    align-items: center;
    text-align:center;
}
.timing-graph{
    height: 300px;
    width: 100%;
    flex-direction:column; 
    justify-content:center; 
    align-items: center;
    text-align:center;
}
.avail-graph{
    height:273px;
    width: 100%;
    display: flex;
    flex-direction:column; 
    justify-content:center; 
    align-items: center;
    text-align:center;
}
.performance-card{
    margin-top: 7.5px;
    margin-bottom: 7.5px;
}
.sm-perf-card{
    border-radius:25px; 
    width:100%; 
    height:453px; 
    min-width:410px; 
}

.perf-subhead{
    font-size: 1.25rem;
    padding: 7.5px;
    text-align:center;
    width:100%;
}
.perf-card-title{
    width:100%; 
    padding: 5px; 
    text-align:center; 
    font-size: 1.75rem;
}
.perf-error{
    font-size: 1.75rem;
    text-align:center;
    font-weight: bolder;
}
/*----- Custom Input Changes -----*/
/*--- Buttons ---*/
/* Custom */
.btn-oval{
    width: 50px;
    height: 40px;
    padding: 1px 5px;
    border-radius: 25px;
    font-size: 25px;
    text-align: center;
}
.btn-user-page{
    background-color: var(--light-grey) !important;
    color:black;
    align-items:center; 
    justify-content:center; 
    display:flex; 
    height:100%; 
    width:100%;
}
.btn-user-page.active{
    background-color: var(--dark-blue-grey) !important;
    color: white !important;
    cursor: pointer;
}
.btn-user-page:hover{
    background-color: var(--dark-blue-grey) !important;
    color: white !important;
    cursor: pointer;
}
/* Bootstrap */
.btn-success{
    background-color: var(--ve-green);
    border-color: var(--ve-green);
}
.btn-success:hover, .btn-success:focus{
    background-color: var(--ve-dark-green);
    border-color: var(--ve-dark-green);
}   
/*.btn-primary{
    background-color: var(--ve-blue);
    border-color: var(--ve-blue);
}

.btn-primary:hover, .btn-primary:focus{
    background-color: var(--ve-light-blue);
    border-color: var(--ve-light-blue);
} */

/*Text Inputs*/
.clickable-text-input.active{
    background-color: var(--dark-blue-grey) !important;
    color: white !important;
    cursor: pointer;
    box-shadow: 0;
}
.clickable-text-input:hover{
    background-color: var(--dark-blue-grey) !important;
    color: white !important;
    cursor: pointer;
}
.clickable-text-input:focus{
    background-color: var(--dark-blue-grey) !important;
    color: white !important;
    cursor: pointer;
    box-shadow: 0 0 0 0.25rem rgb(100 100 100 / 25%);
}
.profile-input-col{
    padding: 0.75em;
    text-align: center;
    font-size: 125%;
}
.profile-form-control{
    text-align: center;
    font-size: 95%;
}

/*Password Validity*/
.validText:focus{
    box-shadow: 0 0 0 0.25rem var(--ve-light-green);
    border-color: var(--ve-dark-green);
}
.invalidText:focus{
    box-shadow: 0 0 0 0.25rem rgb(255,0,0,0.15);
    border-color: rgb(255,0,0,0.55);
}

/*Valley Eats Switches*/
.ve-switch:checked{
    background-color: var(--ve-green);
    border-color: var(--ve-green);
    box-shadow: none;
}
.ve-switch:focus{
    border-color: var(--ve-green);
    box-shadow: 0 0 5px var(--ve-green);
}

/*----- Modals -----*/
/* Order Modals */
.del-modal {
    position: fixed;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 1060;
    display: none;
    width: 100vw;
    height: 100%;
    min-width: 250px;
    min-height: 250px;
    background-color: rgb(125,125,125,0.75);
    top: 0;
    right:0;
    overflow: auto;
}
.del-modal-dialog {
    justify-content: center;
    align-items: center;
    width: 90vw;
    max-width:850px;
    min-width: 250px;
    height: 90%;
    max-height:850px;
    min-height:250px;
    margin: .75rem;
    pointer-events: none;
}
.del-modal-content {
    cursor: default;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
    overflow: visible;
}
.del-modal-header {
    cursor: default;
    background-color:#79a763;
    color: white;
    display: inline-block;
    text-align: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
    width:100%;
}
.del-modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}
/*Bootstrap Modal */
.modal-backdrop.show{
    opacity: 0 !important;
}
.modal-header{
    background-color:var(--ve-green) !important;
    color: white !important;
}
.modal-title{
    color: white !important;
}

/*----- Shapes -----*/
/* Triangles */
.triangle-right{
    cursor: pointer;
    position:relative;
    z-index: 1061;
    width: 0px;
    height: 0px;
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-left: 45px solid var(--ve-dark-green);
}
.triangle-right:hover{
    position:relative;
    z-index: 1061;
    width: 0px;
    height: 0px;
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-left: 45px solid var(--ve-light-green);
}
.triangle-left{
    cursor: pointer;
    position:relative;
    z-index: 1061;
    width: 0px;
    height: 0px;
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-right: 45px solid var(--ve-dark-green);
}
.triangle-left:hover{
    position:relative;
    z-index: 1061;
    width: 0px;
    height: 0px;
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-right: 45px solid var(--ve-light-green);
}

/*----- Schedule Page -----*/
/*Events*/
.availForShift, .openShift{
    display: none;
}
.availForShift:hover, .openShift:hover, .scheduledShift:hover{
    color: var(--ve-dark-green) !important;
}

/*----- Login Page -----*/
.centered-display{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center;
    height: 100vh !important;
    width: 100vw !important;
    min-height:500px !important; 
    min-width:316px !important;
}
.center-col-display{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items:center;
    text-align:center;
}
.login-card{
    padding: 0px;
    border-color:var(--ve-dark-green);
    border-width: 2px;
    border-radius:10px;
    width:95%;
    height:95%;
    max-height:650px; 
    max-width:650px;
    min-height:475px !important;
    min-width:300px !important;
}

/*----- Tables -----*/
/*Striped Table*/
.table-striped>tbody>tr:nth-child(odd)>td{
    background-color: var(--ve-light-green);
}
.table-striped>tbody>tr:nth-of-type(odd):hover>td{
    background-color: var(--ve-green);
    color: white;
}
.table-striped>tbody>tr:nth-of-type(even):hover>td{
    background-color: var(--dark-grey);
    color: white;
}

/*IDK NAME YET*/
#editAvailRepeat, #editAvailRecur, #editAvailDateSpacer, #editAvailDateEnd, #startDropdownLabel{
    display: none;
} 

/*----- Load Screen -----*/
.spinner{
    position: fixed;
    cursor: wait;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5001;

    background: url("../images/logos/valley-eats-spinner.png") center no-repeat;
    animation: orders-load-spinner 2s linear infinite;
}
.overlay{
    position: fixed;
    cursor: wait;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: hsla(0,0%,85%,0.5);
    z-index: 5001;
}
@keyframes orders-load-spinner{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

@keyframes borderLight {
    0% {
        box-shadow: 0 0 5px 2px var(--ve-green);
    }
    50% {
        box-shadow: 0 0 8px 3px var(--ve-dark-green);
    }
    100% {
        box-shadow: 0 0 5px 2px var(--ve-green);
    }
}

.highlight-border {
    position: relative;
    border: 1px solid var(--ve-green);
    animation: borderLight 1.5s infinite;
    z-index: 1;
}

.highlight-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid transparent;
    border-radius: 1px;
    box-shadow: 0 0 1px 1px var(--ve-green);
    animation: borderLight 1.5s infinite;
    z-index: -1;
}

button.highlight-border {
    padding: 0.5em 1em;
    border-radius: 1px;
    background-color: var(--ve-green);
    color: white;
    font-weight: bold;
}

.collapse {
    transition: height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    height: 0;
    opacity: 0;
}

.collapse.show {
    height: auto;
    opacity: 1;
}

.doc-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    color: #bbbbbb;
    text-align: center;
    padding: 0.5em;
}