@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');


:root {
  --primary-color: #008E48;
  --primary-dark-color:#006648;
  --secondary-color: #f0f0f0;
  --text-color: #0f2920;
  --gray: #DDDDDD;
  --white: #FFFFFF;
  --border: #4b545c;
}

*{
    font-family: Ubuntu Sans, Bornomala, sans-serif;
}

body{
    margin: 0;
    display: flex;
    min-height: 100vh;
    width:100%;
}

a{
    color:var(--text-color);
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

p{
    padding-bottom:10px;
    margin:0;
}

p:last-child {
    padding-bottom:0;
}

img{
    /*display: block;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}




/*Main admin Layout*/
.main-container{
    flex-direction: row;
    
}

.left-sidebar{
    width:250px;
}
.content{
    flex:1;
    
}
/*Main admin Layout end*/



/*Classes*/

.full-width{
    width: 100%;
    padding: 10px 0 !important;
}
.text-center{
    text-align: center;
}

.a{
    color: var(--primary-color);
}

.bg-overlay{
    background:#EEF2F0;
}

.button{
    padding: 10px 15px;
    background: var(--primary-color);
    border-radius: 4px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: 0.5s all ease;
    border: 0;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
}

.btn-img{
    display: inline-flex;
    gap:5px;
    justify-content: center;
    align-items: center;
}
.btn-img img{
    height: 15px;
    width: 15px;
}

.double-button{
    display: flex;
    gap:10px;
}

.double-button a,  .double-button button{
    flex:1;
}

.danger{
    background: #FF000080;
    /*padding-top:0;*/
    /*padding-bottom:0;*/
}
.danger:hover{
    background: #FF0000!important;
    box-shadow:  0 8px 16px 0 #FF00003D!important;
}

.form-btn{
    height: 54px;
    padding-top:0;
    padding-bottom:0;
}

.small-btn {
    transform: scale(.8);
}

.button:hover, button.button:hover{
    background: var(--primary-dark-color);
    box-shadow:  0 8px 16px 0 rgba(0 142 72 / 0.24);
}


/*Table*/
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 10px 14px;
    border: 1px solid #ddd;
    text-align: center;
}

.table th {
    background-color: #f4f6f8;
    font-weight: 600;
}

.table tr:nth-child(even) {
    background-color: #fafafa;
}

.table tr:hover {
    background-color: #f1f5f9;
}

/*Table*/



/*Classes end*/





/*Admin sidebar*/
.left-sidebar{
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #343A40;
    
    position: sticky;
    height: 100vh;
    top:0;
}

.brand{
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border);

    height: 100px;
    align-items: center;
    padding-left:30px;
    
}

.brand img{
    height: 32px;
    width:32px;
    margin:0;
}
.brand-text{
    font-size: 22px;
    color: #FFFFFF;
    text-decoration: none;
}

.brand a:hover{
    text-decoration: none!important;
}

.admin-nav{
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex:1;
}

.admin-nav .user{
    display: flex;
    gap: 10px;
    align-items: center;
    
    font-size: 16px;
    font-weight: 900;
    color: white;
    border-bottom: 1px solid var(--border);
    padding:20px 0;
    margin-bottom:30px;
}

.admin-nav .user img{
    width: 25px;
    height: auto;
}
.admin-nav .nav-item{
    display: flex;
    gap: 10px;
    align-items: center;
    
    font-size: 14px;
    font-weight: 400;
    color: white;
    padding: 8px 0;
}

.admin-nav .nav-item img{
    width: 20px;
    height: auto;
}

.logout{
    flex-grow: 1;
    align-items: end !important;
}
/*Admin sidebar*/


/*Admin content*/

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-content{
    padding: 50px;
    max-width:800px;
    width: 100%;
}

.heading{
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
    background: #FFFFFF;
    width: 100%;
}



/*Admin content*/





/*Cards*/
.card{
    display: flex;
    margin:0 auto;
}


.card-center{
    justify-content: center;
    align-items: center;
}


.card-item{
    width: 400px;
    background: #FFFFFF;
    padding:50px 40px;
    border-radius:8px;
}


/*Cards*/


/*Heading*/
.h1{
    font-size: 36px;
    margin:0;
    padding-bottom:20px;
}

.h2{
    font-size: 30px;
}

.h3{
    font-size: 26px;
}

.h4{
    font-size: 22px;
}


/*Heading*/


/*Forms*/
form{
    display: flex;
    flex-direction: column;
    gap:20px;
    padding-bottom:30px;
}

input, select{
    height: 50px;
    font-size: 17px;
    border: 1px solid var(--gray);
    outline:0;
    border-radius: 8px;
    padding-left:10px;
    padding-right:10px;
    /*width:100%;*/
}

input[type="checkbox"]{
    height: 22px;
    width: 20px;

    
    appearance: none;
    -webkit-appearance: none; /* For Safari */
    display: inline-block;
 
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
    
    
    border: 1px solid var(--gray);
    border-radius: 4px;
    box-sizing: border-box;
    
    position: relative; /* IMPORTANT */
}

input[type="checkbox"]:checked {
    /*background-color: var(--gray);*/
    /*border-color: var(--gray);*/
}

input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: var(--text-color);
    font-size: 16px;
    font-weight: bold;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
}





.input-group{
    display: flex;
    flex-direction: column;
    gap:4px;
}

.input-groupcheck{
    display: flex;
    flex-direction: row;
    gap:10px;
    /*justify-content: center;*/
    align-items: center;
}

.alert{
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    border-radius: 8px;
    margin: 10px 0;
}

.alert-success{
    background: #008E4880;
    color:#FFFFFF;
}

.alert-danger{
    background: #ff000080;
    color:#FFFFFF;
}

.alert-danger .errors:not(:last-child) {
    padding-bottom:5px;
}
/*Forms*/



/*.btn-primary{*/
/*    font-family: Ubuntu Sans, Bornomala, sans-serif;*/
/*    font-size: 17px;*/
/*    line-height: 30px;*/
/*    font-weight: 700;*/
/*    color:#FFFFFF;*/
/*    background: var(--primary-color);*/
   
/*    padding: 6px 16px;*/
/*    border-radius: 8px;*/
    
/*    transition: 1s all ease;*/
/*}*/


/*.btn-primary:hover{*/
/*    background: var(--primary-dark-color);*/
/*    box-shadow: 0px 2px 4px -1px rgba(145 158 171 / 0.2), 0px 4px 5px 0px rgba(145 158 171 / 0.14), 0px 1px 10px 0px rgba(145 158 171 / 0.12);*/
/*}*/


/*.h4{*/
/*    font-size: 24px;*/
/*    font-weight: 700;*/
/*    line-height: 30px;*/
/*    color: var(--text-color);*/
/*}*/


/*.table .thead-light th {*/
/*    color: #495057;*/
/*    background-color: #dcefe5;*/
/*    border-color: #0000001a;*/
/*}*/

/*.bg-custom{*/
/*    background-color: #dcefe5;*/
/*}*/


/*.btn-red{*/
/*    border:1px solid #FF3B30;*/
/*    background:#FFD8D6;*/
/*    color:#111111;*/
/*}*/

.user {
    position: relative;
}

.collapse-expand svg {
    height: 30px;
    width: 30px;
}

.collapse-expand {
    position: fixed;
    top: 150px;
    left: 0px;
    cursor: pointer;
}

.left-sidebar.sidebar-expand{
    position: fixed;
    left:0;
}
.collapse-expand.expand{
    rotate: 180deg;
}


@media screen and (max-width: 1200px) {
.page-content {
    max-width: 500px;
}
}

@media screen and (max-width: 1240px) {
.page-content {
    padding: 30px;
}

.left-sidebar{
    position: absolute;
    left: -255px;
}
}

@media screen and (max-width: 800px) {
.page-content {
    padding: 30px;
}
}

