
:root {
	--primary-blue: #0844bc;
	--primaty-yellow: #fae200;
	--border-gray: #666668;
}
.show{
    display: initial;
    opacity: 1;
}

.hide{
    height: 0;
    opacity: 0;
}
.main-dashboard{
    padding:50px;
    background-color: #ebf0f7  ;
    display: grid;
    grid-template-columns:20% 75%;
    justify-content: space-around;
    padding-left: 10px;
}
.main-dashboard .dashboard-menu{
    display: grid;
    background-color: white;
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25) !important;
    border-radius: 0.25rem;
    padding: 10px;
}
.main-dashboard .dashboard-menu .title{
    border-left:2px solid var(--primary-blue);
    padding-left: 5px;
    margin: 0;
}
.main-dashboard .dashboard-menu .title a{
    color: black;
    font-weight: 800;
    font-size: 1.2rem;
    opacity: 0.8;
}
.main-dashboard .dashboard-menu .title a:hover{
    opacity: 1;
}
.main-dashboard .dashboard-menu .option{
    margin-bottom: 5px;
}
.main-dashboard .dashboard-menu .option a{
    padding-left: 5px;
    color: black;
    opacity: 0.8;
}
.main-dashboard .dashboard-menu .option a:hover{
    opacity: 1;
}
.main-dashboard .dashboard{
    display: grid;
}

.main-dashboard  .title{
    font-weight: 800;
    font-size: 1.2rem;
    margin: 20px 0;
}
/* to remove margin from first title */
.main-dashboard *:first-child{
    margin-top: 0;
}
.main-dashboard .dashboard .user .account{
    display: grid;
    grid-template-columns: 60% 30%;
    padding: 10px;
    background-color: white;
    align-items: center;
    justify-content: space-between;
}
.main-dashboard .dashboard .user .account .pp-and-user{
    display: flex;
    align-items: center;
}
.main-dashboard .dashboard .user .account .pp-and-user .pp{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 12px;
    }
    .main-dashboard .dashboard .user .account .pp-and-user .title{
        margin:5px 0;
    }
    .grey-table{
        background-color: white !important;
        margin: 0;
    }



    .main-dashboard .dashboard .user {
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25) !important;
    border-radius: 0.25rem;
}

.main-dashboard .dashboard .user .about{
    border-left: 1px solid #e7eaf3;
    display: grid;
    padding-left: 10px;
}
.main-dashboard .dashboard .user .about .subject{
    font-weight: 800;
}
.main-dashboard .dashboard .stats{
    width: 100%;
    background-color: white ;
    border-top:0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 10px;
}
.main-dashboard .dashboard .stats .one-stat{
    display: grid;
    text-align: center;
    border-right:1px solid #e7eaf3;
}
.main-dashboard .dashboard .stats .one-stat:last-child{
    border:0
}
.main-dashboard .dashboard .stats .one-stat .num{
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 900;;
}

.main-dashboard .one-order{
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25) !important;
    border-radius: 0.25rem;
    background-color: white;
    margin-bottom: 20px;
}



.main-dashboard  .one-order .head .title{
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    padding:0;
    margin:0;
}
.main-dashboard  .one-order .head .close{
    text-align: right;
    color: black;
    display: inline-block;
}
.main-dashboard  .one-order .row-2 img{
    height: 50px;
    width: 50px;
}
.main-dashboard  .one-order .row-3{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}
.main-dashboard  .one-order .row-3 .r3-1{
    display: flex;
}
.main-dashboard  .one-order .row-3 .r3-1 .status{
    border-right: 1px solid #e7eaf3;
    padding: 0px 12px;

}
.main-dashboard a.page-link{
    color: var(--primary-blue)!important;
    opacity:0.8;
}
.main-dashboard a.page-link:hover{
    cursor: pointer;
    opacity: 1;
}
.main-dashboard  .one-order .row-3 .r3-1 .status .title{
    text-transform: uppercase;
    font-weight: 900;
    font-size:1rem;
    display: inline-block;
    margin: 0;
}

.main-dashboard  .one-order .row-3 .r3-1 .track{
    color: var(--primary-blue);
    padding: 0px 12px;
    opacity: 0.8;
}
.main-dashboard  .one-order .row-3 .r3-1 .track:hover{
    cursor: pointer;
    opacity: 1;
}

.main-dashboard  .one-order .row-3 .buttons{
    display: flex;
}
.main-dashboard  .one-order .row-3 .buttons .cancel{
    color: var(--border-gray);
    font-weight: 900;
    background-color: transparent;
    border:5px solid transparent;
    opacity: 1;
    transition: all 0.3s ease-out;
}
.main-dashboard  .one-order .row-3 .buttons .cancel:hover{
    color:var(--primary-blue);
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.main-dashboard  .one-order .row-3 .buttons .detail{
    color: white;
    font-weight: 900;
    background-color: var(--primary-blue);
    border:2px solid var(--primary-blue);
    margin: 0 12px;
    margin-bottom: 12px;
    opacity: 0.8;   transition: all 0.3s ease-out;

}
.main-dashboard  .one-order .row-3 .buttons .detail:hover{
    opacity: 1;   
    transition: all 0.3s ease-out;

}
.main-dashboard .edit-account .title{
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    padding:20px;
    margin:5px 0;
}
.main-dashboard .edit-account .password-viewer{
opacity:0.8;
}
.main-dashboard .edit-account .password-viewer:hover{
cursor: pointer;
opacity:1;
}
.main-dashboard .edit-account .edit-info{
padding: 20px;
background-color: white;
margin-bottom: 50px;    
box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25) !important;
border-radius: 0.25rem;
}
.main-dashboard .edit-account .edit-info .pp{
width: 100px;
height: 100px;
border-radius: 50%;
margin:12px 0px;
display: inline-block; 
vertical-align: middle;
margin: 0 4px 0 0;
cursor: pointer;
position: relative;
top: 0;
left: 0;
}
div.edit-pp
{
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
    opacity: 1 ;
}
div.edit-pp .text{
    color: transparent;
    position: absolute;
    top: 50%;
    font-size: 2rem;
    left: 50%;
    transform: translate(-50%, -50%);

}
.edit-pp:hover{
    cursor: pointer;
    opacity:0.5;
}
.edit-pp:hover .text{
    color: white;
    cursor: pointer;
}
.edit-pp input[type='file'].hidden
{
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 50px;
    cursor: pointer;
    opacity: 0;
    -moz-opacity: 0;
    filter: Alpha(Opacity=0);
}

.main-dashboard .edit-account .edit-info form .row{
    padding: 10px 0px;
}
.main-dashboard  input ,.main-dashboard  select{
width: 100%;
background-color: transparent;
border:1px solid var(--border-gray);
height:35px;
padding:5px;
}
.main-dashboard  input:focus ,.main-dashboard  select:focus{
    
  outline: none!important;
  border: 1px solid var(--primary-blue) !important;
}
.main-dashboard .edit-account  .buttons{
    display: flex;
    justify-content: flex-end;
}
.main-dashboard .edit-account  .cancel{
    color: var(--border-gray);
    font-weight: 900;
    padding: 5px 16px;
    background-color: transparent;
    border:2px solid transparent;
    margin-right: 12px;
    border-radius: 3px;
    transition: all 0.3s ease-out;
}
.main-dashboard .edit-account  .cancel:hover{
    color:var(--primary-blue);
    transition: all 0.3s ease-out;
}
.main-dashboard .edit-account .save{
    color: white;
    font-weight: 900;
    background-color: var(--primary-blue);
    border:2px solid var(--primary-blue);
    margin-left: 12px;
    padding: 5px 16px;
    border-radius: 3px;
    opacity: 0.8;
    transition: all 0.3s linear;
}
.main-dashboard .edit-account .save:hover{
    opacity: 1;
    transition: all 0.3s linear;
}


.main-dashboard .edit-account .edit-address{
    background-color: white;
    padding: 20px;
    margin-bottom: 50px;    
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25) !important;
    border-radius: 0.25rem;
}

.main-dashboard .edit-account .edit-address .title{
    padding: 5px 0;
}
.main-dashboard .edit-address .addresses{
    display: grid;
    grid-template-columns: 49% 49%;
    align-content: start;
    justify-content: space-between;
}
.main-dashboard  .edit-address .addresses .one-address{
    display: grid;
    grid-template-columns: auto auto;
}
.main-dashboard  .edit-address .addresses .one-address .the-address{
    border: 1px solid var(--border-gray);
    padding: 5px;
}
.main-dashboard .edit-address .addresses .one-address .the-buttons{
    display: grid;
    justify-content: center;
    align-content: center;
}
.main-dashboard .edit-address .addresses .one-address .the-buttons button{
    background-color: transparent;
    border: 0;
    opacity: 0.8;
}
.main-dashboard .edit-address .addresses .one-address .the-buttons button:hover{
    opacity: 1;
}
.main-dashboard .edit-address .addresses .add-one{
    grid-column:1 / -1;
    padding-top: 5px;
}
.main-dashboard .edit-address .addresses .add-one button{
color: var(--primary-blue);
background-color: transparent;
border: 0;
opacity: 0.8;
}
.main-dashboard .edit-address .addresses .add-one button:hover{
    opacity: 1;
}

.main-dashboard .edit-account .edit-username{
    background-color: white;
    padding: 20px;
    margin-bottom: 50px;
    box-shadow: 0 3px 6px 0 rgba(140, 152, 164, 0.25) !important;
    border-radius: 0.25rem;
}

.main-dashboard .edit-account .edit-username .title{
    padding: 0;
    margin-bottom: 5px 0;
}
.main-dashboard .edit-account .edit-username form{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    width: 70%;
    max-width: 300px;
    margin: auto;
}
.main-dashboard .edit-account .edit-username form input, .main-dashboard .edit-account .edit-username form select{
    width: 100%;
background-color: transparent;
border:1px solid var(--border-gray);
height:35px;
}
.main-dashboard .edit-account .edit-username .not-available{
    font-size:0.6rem;
    color: #c9252c;
    text-align: right;
}
.main-dashboard .edit-account .edit-username .buttons{
    margin-top: 20px;
}
label{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



/* forms */
.modal .row{
    width: 100%;
}
.modal form{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    width: 100%;
    margin: auto;
}
.modal form input,.modal form select{
width: 100%;
background-color: transparent;
border:1px solid var(--border-gray);
height:35px;
margin-bottom: 20px;
}
.modal .save{
    color: white;
    font-weight: 900;
    background-color: var(--primary-blue);
    border:2px solid var(--primary-blue);
    margin-left: 12px;
    padding: 5px 16px;
    opacity: 0.8;
    border-radius: 3px;
    transition: all 0.3s linear;
}
 
.modal .save:hover{
    opacity: 1;
    transition: all 0.3s linear;
}


/* select */
.custom-select{
    border-radius:0!important;
}

/* Pagination */
.pagination{
    justify-content: center;
}
.page-link{
    background-color: transparent;
    color: var(--primary-blue);
}

.page-link:focus, .page-link:hover{
    background-color: transparent;
    color: var(--primary-blue);
}
.custom-select:focus{
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
}.pass-container{
    display: grid;
    max-width: 100%;
}
.pass-container input{
    padding-right: 35px;
}
.password-viewer{
position: relative;
text-align: right;
padding-right: 5px;
width: fit-content;
margin-left: calc(100% - 30px);
top: -30px;
}
@media only screen and (max-width: 800px) {
    .main-dashboard{
        grid-template-columns: 1fr;
    }
    .main-dashboard .dashboard-menu{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    .main-dashboard .dashboard-menu .title a{
        font-size: unset;
    }
    .main-dashboard .dashboard .user .account{
        grid-template-columns: auto auto;
    }
}

@media only screen and (max-width: 600px) {
    .main-dashboard .edit-account .edit-address .addresses{
        grid-template-columns: 1fr;
    }
    .main-dashboard .edit-account .edit-address .addresses .one-address{
        grid-template-columns: 1fr;
    }
    .main-dashboard .edit-account .edit-address .addresses .the-buttons{
        margin-bottom: 20px;
        grid-template-columns: auto auto;
        justify-content: end;
    }
    .main-dashboard .dashboard .user .account{
        grid-template-columns: 1fr;
    }
    .main-dashboard .dashboard .user .about{
        border:0;
        margin-top: 20px;
    }
}

@media only screen and (max-width:450px) {
    .main-dashboard{
        padding:20px;
    }
    .main-dashboard  .one-order .buttons{
        margin-top: 20px;
    }
    .main-dashboard .edit-account .edit-username form{
        width: 100%;
    }
    

}