.sidenav {
    position: fixed;
    height: 100vh;
    width: 100px;
    right: 0;
    top: 95px;
    background-color: #fde1c0;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 10px;
    z-index: 100;
}

.sidenav .closebtn {
    font-size: 36px;
    margin-left: 20px;
    color: #959595;
    cursor: pointer;
}

.open-btn {
    font-size: 22px;
    margin: 10px;
    display: none;
    color: #4e555b;
    border: 1px solid #4e555b;
    border-radius: 3px;
    padding: 1px 6px;
    cursor: pointer;
    width: 40px;
    text-align: center;
}

@media (max-width: 991px) {
    .sidenav {
        width: 0px;
    }

    .open-btn {
        display: block;
    }
}

#content-div {
    text-align: center;
    transition: margin-right .5s;
}

.top-card {
    margin-bottom: 10px;
}

.top-card img {
    width: 50%;
    margin: 0 auto;
}

.top-card h4 {
    color: #3f6476 !important;
}

.under-nav {
    position: fixed;
    top: 35px;
    height: 60px;
    width: 100%;
    transition: 0.4s ease-in-out;
    border-top: 1px solid #eee;
    background-color: #fde1c0;
    text-align: right;
    direction: rtl;
    z-index: 999;
    overflow: hidden;
}

@media (max-width: 1360px) {
    .under-nav {
        overflow-x: scroll;
    }
}

.cursor {
    cursor: pointer;
}

.width {
    overflow: hidden;
    height: 27px;
}

.longest-width {
    width: 183px;
}

.long-width {
    width: 165px;
}

.width-125 {
    width: 125px;
}

.width-90 {
    width: 90px;
}

.width-95 {
    width: 95px;
}

.medium-width {
    width: 115px;
}

.little-width {
    width: 80px;
}

.tiny-width {
    width: 70px;
}

.width-25 {
    width: 25px;
}

.width-90p {
    width: 90%;
}

.width-100p {
    width: 100%;
}

.width-70p {
    width: 70%;
}

.width-70 {
    width: 70px;
}

.width-50 {
    width: 50px;
}

.width-35 {
    width: 35px;
}

.width-20 {
    width: 20px;
}

.rightNavBtn {
    position: absolute;
    right: 3px;
    z-index: 1000 !important;
    opacity: 0.5;
}

.under_nav_div {
    height: 60px;
    padding: 12px 25px 0px 0px;
    min-width: 1360px;
}

.under_nav_form {
    text-align: right;
    direction: rtl;
}

.under_nav_form > .textbox {
    outline: 0;
    height: 35px;
    line-height: 35px;
    padding: 0 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #777;
    float: right;
    -webkit-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    font-size: 11px;
    color: #333;
    margin-left: 8px;
}

.under_nav_form > .button {
    outline: 0;
    background-color: rgba(38, 50, 56, 0.8);
    float: right;
    max-height: 35px;
    text-align: center;
    padding: 8px 6px 8px 6px;
    border: 1px solid #777;
    color: #FFF;
    font-size: 12px;
    text-rendering: auto;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition: background-color .4s ease;
    transition: background-color .4s ease;
}

.more-top-padding {
    padding-top: 10px !important;
}

.btn-add {
    background-color: #42c66b !important;
}

.btn-edit {
    background-color: #eaaa50 !important;
}

.btn-delete {
    background-color: #e54e4e !important;
}

.btn-release {
    background-color: #5bc5f8 !important;
}

.margin-right-10 {
    margin-right: 10px;
}

.under_nav_form > .button:hover {
    background-color: #eae0d5 !important;
}

.margin-left-0 {
    margin-left: 0 !important;
}

.main-content {
    /*position: absolute;*/
    width: 100%;
    top: 150px;
    right: 100px;
    transition: 0.5s;
}

.form-div {
    padding: 0;
    font-size: 14px;
    width: 95%;
}

.sub-form-div {
    width: 100%;
    min-width: 1165px;
    overflow: hidden;
}

@media (max-width: 1360px) {
    .form-div {
        overflow-x: scroll;
    }
}

.tree {
    min-height: 20px;
    width: 100%;
    padding: 19px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #fffcfc;
    border: 1px solid #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)
}

.tree li {
    list-style-type: none;
    margin: 0;
    padding: 10px 5px 0 5px;
    position: relative
}

.tree li::before, .tree li::after {
    content: '';
    right: -20px;
    position: absolute;
    left: auto
}

.tree li::before {
    border-right: 1px solid #999;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px
}

.tree li::after {
    border-top: 1px solid #999;
    height: 20px;
    top: 25px;
    width: 25px
}

.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
    font-size: 12px;
    color: #2b2b2b;
}

.tree li a {
    color: #bf8d58;
    text-decoration: none;
    transition: 0.4s ease-in-out;
}

.tree li a:hover {
    color: #d2a42c;
}

.tree li.parent_li > span {
    cursor: pointer
}

.tree > ul > li::before, .tree > ul > li::after {
    border: 0
}

.tree li:last-child::before {
    height: 30px
}

.tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
    background: #eee;
    border: 1px solid #94a0b4;
    color: #000
}

.top-tree {
    position: fixed;
    top: 95px;
    height: 50px;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    transition: 0.5s;
}

@media (max-width: 1360px) {
    .top-tree {
        overflow-x: scroll;
    }
}

.tree-txt {
    width: 100%;
    min-width: 1165px;
    height: 40px;
    padding: 5px;
    text-align: right;
}

.bgColor1 {
    background-color: #f0f5fa;
}

.bgColor2 {
    background-color: #f7fbfd;
}

.bgColor3 {
    background-color: #d7ceb2;
}

.bgColor4 {
    background-color: #fdfbf6;
}

.bgColor5 {
    background-color: #a59e8c;
}

.bgColor6 {
    background-color: #f3f3f2;
}

.bgColor7 {
    background-color: #dbdbdb;
}

.bgColor7-1 {
    background-color: #e7e3e3;
}

.bgColor8 {
    font-family: '2  Badr';
    font-size: 17px;
    font-weight: bolder;
    color: #3003f5;
    text-align: right;
    text-wrap: avoid;
    padding-right: 10px;

    background-color: #d9e1f2;
}

.bgColor9 {
    background-color: #ffffc1;
}

.bgColor10 {
    background-color: #ffff81;
}

.bgColor11 {
    background-color: #bbd18b;
}

.overflow-y-scroll {
    overflow-y: scroll !important;
}

.main-content table th {
    font-family: '2  Badr';
    font-size: 17px;
    font-weight: bolder;
    color: #3003f5;
    text-align: center;

    border: 2px solid #5f5f5f;
    vertical-align: middle;
    padding: 3px !important;
}

.main-content table td {
    font-family: '2  Badr';
    font-size: 15px;
    font-weight: bolder;

    padding: 0 !important;
    font-size: 13px;
    border: 1px solid #5f5f5f;
    vertical-align: middle;
}

#main-content-2 {
    top: 0px;
}


