/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */



#wc-login-buton{
    border-radius: 1rem;
    background-color: #5dc001;

    .nav-link:hover{
        color: #fff;
    }
}

#main-nav .invisible{
    display: none;
}


@media (min-width: 1200px) {
    #wc-login-buton{
        position: absolute;
        right: 1.5rem;
        padding: 0 1rem;
    }
    #main-nav .invisible{
        display: inline-block;
    }
        
}

.wc-member{
    &.wrapper{
        min-height: 70vh;
    }
    .btn {
        margin: 0.25rem 0;
        border: 0;
        &.deactivated{
            background-color: #eee;
            color: #666;
        }
    }
    .btn-primary, .btn-success{
        text-transform: uppercase;
        color: #fff;
        &:hover{
            background-color: #294127;
            color: #fff;
        }
    }
}


.wc-member#single-wrapper{
    margin-top: 40px;
}
@media (min-width: 768px) {
    .wc-member#single-wrapper{
        margin-top: 60px;
    }
}

#wc-member-page{
    .order-details{
        max-height: 500px;
        opacity: 1;
        transition: 0.3s all;
        margin-bottom: 3rem;
        overflow: hidden;
        &.hidden{
            max-height: 0;
            opacity: 0;
            margin-bottom: 0.5rem;
        }
    }
}

#wc-staff-page{
    .status-canceled{
        display:none;
    }
}

#wc-order-page{
    .hidden{
        display: none;
    }
    .step-ctrl{
        border-top: solid 1px #5dc001;
    }
    .step{
        display: grid; 
        grid-template-rows: 0fr;
        transition: 500ms all ease;
        .step-content{
            overflow: hidden;
            transition: 500ms all ease;
        }
        
        &.active{
            grid-template-rows: 1fr;
            border-top: solid 1px #5dc001;
        }
    }
    td{
        vertical-align: middle;	
    }
    .weed-image, .item-image{
        cursor: pointer;
        width:70px;
        aspect-ratio: 1/1;
        border-radius: 5px;
        margin-right: 1rem;
    }
    .weed-description, .item-description{
        cursor: pointer;
    }

    .weed-btn, .item-btn{
        margin-left: 1rem;
        width: 40px;
        aspect-ratio: 1/1;
        font-weight: 700;
        font-size: 1.2rem;
    }
}

.calendar{
    .current-month{
        font-weight: bold;
    }
    .month{
        padding: 0 2rem;
    }
    .day{

        color: #aaa;
        padding: 0.25rem 0;
        border-radius: 0.25rem;

        &.selectable{
            color: #000;
            cursor: pointer;
        }
        
        &.selected{
            background-color: #5dc001;
            color: #fff;
        }
        &.today{

            border:solid 1px #5dc001;
        }
    }


    .time-slots{
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
    
        .time-slot{
            border-radius: 0.25rem;
            cursor: not-allowed;
            color: #aaa;

            &.selectable{
                color: #000;
                cursor: pointer;
            }

            &.full{
                background-color: red;
                color: #fff;
                cursor: not-allowed;
            }
            &.used{
                background-color: #eee;
            }
            &.selected{
                background-color: #5dc001;
                color: #fff;
            }
            
            
        }
    }

}

.ggr-alert{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

dialog{
    border: none;
    background: none;
    &::backdrop{
        background-color: rgba(0, 0, 0, 0.5);
    }
}

#ajax-loader, .fullscreen-alert {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(0, 0, 0, 0.5);
   display: flex;
   justify-content: center;
   align-items: center;
 }
 
#ajax-loader .spinner-border {
   width: 100px;
   height: 100px;
}

#ajax-loader.hidden{
   display: none;
}

@media (min-width: 768px) {
    .calendar{
        .time-slots{
            margin-top: 0.25rem;
            margin-bottom: 0.25rem;
        }
    }
}

