/* ======== Start main style code =========== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
#name{
    text-align: center;
    background-color: rgb(15, 15, 15);
    color: rgb(255, 255, 255);
    padding: 5px;
}
#name h3{
    font-size: 15px;
}
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: var(--main-color);
    color:white;
    height: 100%;
    width: 100%;
    font-family: changa;
}

@font-face {
    font-family: changa;
    src: url(changa/Changa-Regular.ttf);
}

:root {
    --main-color: #000000;
    --sub-color: #1d2027;
    --danger-color: #eb040f;
    /* --sub-color:#1a0e02; */
    /* --main-color2:#777111;
    --main-color3:#3008;
    --main-color4:#990022;
    --main-color5:#660000;
    --main-color6:#223311;
    --main-color7:#332211; */
    --border-radius: 5px;
    --font-family: changa;
    --font-size: 2vw;
    --font-size2: 1.2vw;
}

.display-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.display-flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
/* ======== End main style code =========== */

/* ======== Start side menu style code =========== */
.box-page {
    display: flex;
    width: 100%;
}

.clear {
    clear: both;
}

.box-page .main-content {
    width: 80%;
    min-height: 100vh;
}

.box-page .main-content.full-content {
    width: 100%;
    transition: width 0.9s ease-in-out;
}

.box-page .side-menu {
    background-color: var(--sub-color);
    font-size: 18px;
    width: 20%;
    order: 1;
    min-height: 100vh;
}
.box-page .side-menu.hidden-menu {
    transform: translateX(200px);
    transition: transform 2s ease-in-out;
    display: none;
}

.box-page .side-menu h3 {
    text-align: center;
    /* padding: 20px 10px; */
    margin: 20px 0 0;
    color:white;
    background-color: var(--sub-color);
    font-size: 20px;
}

.box-page .side-menu ul.list {
    list-style: none;
    text-align: right;
    margin-top: 30px;
    padding: 20px 0;
}

.box-page .side-menu ul.list li {
    margin: 10px 0 0;
    padding: 5px 0;
    margin-right: 5px;
    font-size: var(--font-size2);
    font-weight: 500;
    border-top-right-radius: 45px;
    border-bottom-right-radius: 45px;
    transition: background-color 0.5s ease-in-out;
    position: relative;
}

.collapse {
    list-style: none;
    text-align: center;
}
.show {
    transition: transform display 0.5s ease-in-out;
    animation: animate ease-in-out 0.7s;
}

@keyframes animate {
    from {
        transform: translateX(-50px);
    }
    to {
        transform: translateX(0);
    }
}

ul.list li:hover .fa {
    animation: animate2 ease-in-out 0.7s;
}

@keyframes animate2 {
    to {
        transform: rotate(360deg);
    }
}

.collapse.hide {
    display: none;
    transform: translateY(-50px);
}

.collapse li a {
    /* margin-right: 30px; */
    transform: translateX(-50px);
    font-size: 0.9em;
}


.box-page .side-menu ul.list li:hover {
    background-color: var(--main-color);
}

.box-page .side-menu ul.list li:hover a {
    color: white;
}

.box-page .side-menu ul.list li.active {
    background-color: var(--main-color);
    color: white;
}

.box-page .side-menu ul.list li.active a {
    color: white;
}

.box-page .side-menu ul.list li a {
    display: flex;
    justify-content: right;
    align-items: center;
    text-decoration: none;
    color:#fff;
    /* color: #7E7E81; */
}

.box-page .side-menu ul.list li i,
.navbar .btn-logout a i {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    background-color: var(--sub-color);
    box-shadow: 0 0 6px 1px #03787d inset;
}

.side-menu ul.list li i.fa-home {
    color: #04ff00;
}

.side-menu ul.list li i.fa-file-text-o {
    color: #ff5722;
}

.side-menu ul.list li i.fa-sitemap {
    color: #03a9f4;
}

.side-menu ul.list li i.fa-bar-chart-o {
    color: #ffc107;
}

.side-menu i.fa-dashboard {
    color: #fbe100;
}

.side-menu ul.list li i.fa-gears {
    color: #f0ff07;
}
.side-menu ul.list li i.fa-info {
    color: #00ffff;
}

/* ======== End side menu style code =========== */

/* ======== Start navbar style code =========== */
.box-page .main-content .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--sub-color);
    padding: 16px 10px;
    box-sizing: border-box;
    width: 100%;
}

.nav-item,
.box-logout {
    width: 48%;
}

.main-content .navbar .btn-logout {
    background-color: var(--main-color);
    font-weight: 500;
    font-size: var(--font-size2);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    outline: none;
    font-family: var(--font-family);
    min-width: 20%;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: background-color 0.5s ease-in-out;
    box-shadow: 0 0 5px 0 #0000005e;
    
}

.navbar .btn-logout a {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navbar .btn-logout a i {
    width: 30px;
    height: 30px;
    color: var(--danger-color);
    box-shadow: 0 0 6px var(--danger-color) inset;
    margin-right: 10px;
    padding: 0;
}

.main-content .navbar .btn-logout:hover i {
    background-color: var(--danger-color);
    color: white;
}

.main-content .navbar .btn-logout a {
    text-decoration: none;
    color: white;
}

.main-content .navbar .nav-item {
    display: flex;
    justify-content: right;
    align-items:center;
}

.navbar .nav-item .collapse-menu {
    margin: 0 20px;
}
.nav-item .collapse-menu span i {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #03a9f4;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.5s ease-in-out;
}
.collapse-menu span i:hover {
    background-color: #fff;
}

.main-content .navbar .title-page {
    padding: 4px 12px;
}

.navbar .title-page h3 {
    font-size: 18px;
    font-weight: 500;
    color: white;
    display: flex;
    justify-content: right;
    align-items: center;
}
.navbar .title-page h3 i {
    background-color: chartreuse;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    border-radius: 50%;
}
/* .main-content .navbar .title-page .fa-file-text-o {
} */

/* ======== End navbar style code =========== */

/* ======== Start form style code =========== */
.form-content,
.table-content,
.index-content {
    padding: 20px;
    justify-content: center;
    display: flex;
    margin: 30px;
    min-height: 50vh;
    background-color: var(--sub-color);
    border-radius: var(--border-radius);
}
.form-content form {
    width: 100%;
}

.form-content form .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row-reverse;
}

.form-content form .row .form-group {
    width: 48%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    text-align: right;
    margin-top: 2%;
}

.form-group.box-submit {
    width: 100% !important ;
}

.form-content form .form-controll {
    width: 100%;
    height: 40px;
    outline: none;
    padding: 0 15px;
    line-height: 10px;
    border: none;
    outline: none;
    background-color: #2a3038;
    border-radius: 5px;
    margin-top: 5px;
    text-align: right;
    font-family: var(--font-family);
    font-weight: 500;
    color: white;
}

.form-content form .form-controll:nth-child(1),
.form-content form .form-controll:nth-child(3) {
    margin-left: 1%;
}

.form-content form .send-data {
    padding: 5px 10px;
    width: 140px;
    margin: 20px 15px;
    border: none;
    outline: none;
    border-radius: 5px;
    background-color: #3795ce;
    color: white;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease-in;
    font-family: var(--font-family);
    cursor: pointer;
}
.form-content form .send-data:hover {
    background-color: transparent;
    color: white;
    box-shadow: 0 0 5px 0 white;
}

/* @media (max-width:777px){
  .form-content form .form-controll{
      width: 100%;
  }  
} */
@media (max-width: 880px) {
    .form-content form .form-group {
        width: 100%;
    }
    .box-page .side-menu ul.list li {
        font-size: 1em;
    }
    .box-page .side-menu {
        width: 25%;
    }
    .box-page .main-content {
        width: 75%;
    }
}

/* ======== End form style code =========== */

.table-content {
    min-height: 50vh;
    /* padding: 0; */
}

.table-content table {
    width: 100%;
    height: fit-content;
    text-align: center;
    direction: rtl;
    border-spacing: 0;
    padding: 0;
}

.table-content table thead {
    font-weight: 500;
    background: #03a9f4;
    color: rgb(244, 247, 244);
}

.table-content table thead th {
    font-size: 0.8em;
    padding: 5px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
}

.table-content table tr {
    transition: background-color 0.5s ease-in-out;
}

.table-content table tr:hover {
    background-color: #00bcd4;
}

.table-content table thead tr :last-child {
    width: fit-content;
}

.table-content table td {
    /* border-left: 2px solid white; */
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    font-size: 0.8em;
    padding: 5px;
}

.table-content table td:first-child,
.table-content table th:first-child {
    border-right: 0px solid white;
}

/* .form-oparaions {
    /* width: 50%; */


.form-oparaions .btn-delete {
    background: var(--danger-color);
}

.form-oparaions .btn-edit {
    background: #03a9f4;
}

.form-oparaions .btn-delete,
.form-oparaions .btn-edit {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: none;
    outline: none;
    font-family: var(--font-family);
    border-radius: 5px;
    color: white;
    cursor: pointer;
    width: 50px;
    margin-top: 5px;
}

.btn-delete a {
    color: #fff;
    text-decoration: none;
}
.btn-delete a:hover {
    text-decoration: none;
    color: #fff;
}

/* ============ Start Page Index Design ======== */
.report-data {
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    /* align-items: center; */
    /* background-color: yellow; */
    padding: 0;
}

.report-cat,
.report-notce,
.report-users,
.report-jop {
    width: 23%;
    height: 150px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    border-radius: var(--border-radius);
    position: relative;
    transition: .4s ease-in-out;

}

.report-cat:hover,
.report-notce:hover,
.report-users:hover,
.report-jop:hover{
 transform: translateY(10px);
}

.report-cat:hover .count,
.report-notce:hover .count,
.report-users:hover .count,
.report-jop:hover .count {
    width: 90%;
    height: 70px;
    line-height: 70px;
    text-align: center;
    bottom: 7px;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
     border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}
.report-cat .title,
.report-notce .title ,
.report-jop .title ,
.report-users .title {
    font-size: 1.2em;
    width: 100%;
    text-align: center;
    background-color: var(--main-color);
    margin-bottom: 5px;
    color: #ffffff;
    border-bottom: 5px solid #7e7e81;
}

.report-cat .icon ,
.report-notce .icon,
.report-users .icon,
.report-jop .icon {
    width: 100%;
    text-align: center;
}

.report-cat .icon i,
.report-notce .icon i,
.report-users .icon i,
.report-jop .icon i {
     font-size: 2.2em;
    /* color: #03a9f4; */
    color: #7e7e81;
    
}

.report-cat .icon i{
    color:  #03a9f4;
}
.report-notce .icon i{
    color: #ff5722;
} 

.report-users .icon i{
    color: #fff;
}

.report-jop .icon i{
    color:  #f0ff07;
}

.report-cat .count ,
.report-notce .count ,
.report-users .count ,
.report-jop .count {
    width: 90%;
    position: absolute;
    text-align: center;
    bottom: -30px;
    padding: 5px;
    font-size: 1.5em;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    color: #000;
    cursor: pointer;
    transition: .4s ease-in-out;
}

.report-cat .count{
       background-color: #03a9f4;
}

.report-notce .count{
    background-color: #ff5722 ;
}

.report-users .count{
    background-color: #fff ;
}
.report-jop .count{
    background-color:#f0ff07;
}
/* ============ End Page Index Design ======== */
.form-notce textarea {
    height: 150px !important;
    padding: 7px !important;
    font-size: 0.9em;
}
/* ============ End Page Notce Design ======== */
