/* General Style */
html,body,#root,.home-page{
    height: 100%;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
    border-radius: 20px;
    border: transparent;
}

.alert-icon{
    display: none;
}
  
.btn{
    margin: 10px;
}

.show{
    visibility: visible;
}

.hidden{
    display: none;
}

.navbar-dark .navbar-nav .nav-link.disabled {
    color: #969e98;
}

/* Carousel Component */
.carousel-section{
    padding: 20px 70px;
    text-align: center;
    background-color: #A0937D;
}

@media (max-width: 500px) {
    .carousel-section {
        display: none;
    }
}

#carouselExampleCaptions{
    margin-top: 20px;
}

.carousel-item img{
    height: 450px;
    
}
.carousel-control-next-icon,.carousel-control-prev-icon{
    background-color: grey
}

.carousel-caption{
    background-color: grey;
    opacity: 80%;
}

.carousel-caption h5{
    
    color: black;
}

/* Homepage */
.home-content{
    width: 100%;
    text-align: center;
    padding-top: 150px;
    background-position: center ;
    background-repeat: no-repeat;
    background-size: cover;
 
}

#home-description{
    top: 150px;
    width: 100%;

}

#home-hr{
    width: 400px;
    max-width: 80%;
    color: black;
    margin: 0 auto 0 auto;
}

.home-content{
    height: 96%;
}

footer{
    background-color: #212529;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Login and register page */
.auth-page{
    height: inherit;
}

.auth-content{
    text-align: center;
    padding: 50px;
    min-height: 95%;
    background-position: center ;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-floating{
    margin-bottom: 10px;
}

.card{
    width: 500px;   
}

@media (max-width: 600px) {
    .card{
        width: inherit;
    }
}

.card-title{
    margin-bottom: 40px;
}

.validation-fail{
    border-color: red;
}

.validation-pass{
    border-color: green;
}

.password-validation-message{
    color: red;
}

/* Alerts */
.alert{
    margin-bottom: 0;
    z-index: 10;
    width: 100%;
}

.alert2{
    z-index: 10;
    position: absolute;
    top: 56px;
    width: 100%;
}

.alert-bar{
    position: absolute;
    top: 56;
    width: 100%;
}

/* Dashboard */
.loading{
    text-align: center;
}

.content{
    margin-left: 230px;
}

.row{
    margin: 0;
}


#dashboard{
    position: relative;
    height: 100%;
}

.chart{
    margin: 0;
    width: 100%;
    height: 150px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: black;
}

.chart-h1{
    text-align: center;
    padding: 20px;
}

.below-chart{
    height: 64%;
    overflow-y: scroll;
}

.sidebar-btn{
    border-radius: 50%;
    color: #777;
    text-align: center;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    width: 25px;
    position: absolute;
    border: .5px solid hsla(0,0%,60%,.4);
    bottom: 10px;
    left: 187px;
    z-index: 5;
    transition: all 300ms ease-in-out;
}

.offcanvas1.show{
    transform: none;
}

.offcanvas1{
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0,0,0,.2);
    background-clip: padding-box;
    outline: 0;
}

.offcanvas1-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
}

.offcanvas-start1{
    position: absolute;
    height: inherit;
    width: 200px;
    margin: 0;
    z-index: 2;
    transition: all 300ms ease-in-out;
    transform: translateX(-95%);
    background-color: white;
}

.offcanvas-body{
    padding: 0;
}

#to-left{
    margin-left: 10px;
    transition: all 300ms ease-in-out;
}

#list{
    z-index: 0;
    margin-left: 200px;
    transition: all 300ms ease-in-out;
}

/* to make sure the sidebar overlaps list when screen size is too small */
@media (max-width: 400px) {
    #to-left {
        z-index: 0;
        margin-left: 20px;
    }
    #list{
        z-index: 0;
        margin-left: 20px;
    }
}

.btn-outline-danger{
    padding:5px;
    margin: auto 0 auto 0;
    font-size: 15px;
}

.logout{
   padding: 3px;
}

.add-form{
    background-color: white;
    width: 500px;
    position: absolute;
    top: 50px;
}

.add-form-description{
    margin: 10px 0 5px 3px;
}

.description{
    height: 50px;
}

.delete-icon{
    float: right;
    background: transparent;
    border-width: 0;
}

.add-icon{
    background: transparent;
    border-width: 0;
}

.category-list{
    height: 30px;
}

.title{
    margin: 10px 10px 10px 15px;
}

.above-table{
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-btn{
    background-color: transparent;
    border: 0;
}

/* profile page style */
.profile-page{
    width: 100%;
}

.account-details{
    width: 450px;
    margin: 0 auto 0 auto;
    text-align: center;    
}

@media (max-width: 400px) {
    .account-details{
        width: inherit;
    }
}

#delete-form{
    display: inline-block;
}

.edit-icon{
    float: right;
    border: 0;
    background: transparent;
}
