﻿.table form {
    display: inline-block;
    margin: 0;
}

.fas.fa-table:hover {
    display: block !important;
}

.fas.fa-bar-chart:hover {
    display: block !important;
}

.student-action-section {
    position: relative;
}

    .student-action-section .action-button {
        position: absolute;
        left: 1%;
        z-index: 999;
        margin-top: 1.2%;
    }

.search-container {
    position: absolute;
    top: 68%;
    width: 87%;
    left: 2%;
    transform: translateY(7px);
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
    margin-right: 1rem;
    outline: none;
    border-radius: 0 0 5px 5px;
    list-style: none;
    z-index: 1000;
    border: 1px solid #ccc; /* Added border for better visibility */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Added box shadow for depth */
}

main-header navbar navbar-expand-md navbar-light {
    background-color: #021d38;
}

/*.nav-item .nav-link p {
    color: black;
} */
.nav-item .nav-link :hover {
    color: white;
}

.main-header .container .navbar-collapse form {
    margin-bottom: 12px;
    margin-left: 10px;
}

.main-header .container .profil {
    margin-bottom: 10px;
}

.dataTables_length label {
    font-weight: bold;
}


.dataTables_length select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    background-color: #f7f7f7;
    color: #333;
    cursor: pointer;
}

.dataTables_length {
    position: absolute;
    top: 0;
    right: 14%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    margin-left: 260px;
}

#example1_wrapper {
    position: relative;
}

.dataTables_paginate {
    position: relative;
    margin-left: 220px;
}

.dataTables_wrapper .dataTables_length .custom-select {
    margin-right: 10px;
    width: 50px;
}

.dataTables_wrapper .dt-buttons {
    position: relative;
    z-index: 0;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
}


@media (min-width: 850px) and (max-width: 992px) {
    .main-header .container {
        left: 5%;
    }

    .layout-top-nav .wrapper .main-header .brand-image {
        margin-left: -6rem;
    }

    .navbar-nav {
        position: static; /* Change from relative to static */
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 20px; /* Adjust padding as needed */
    }

        .navbar-light .navbar-nav .nav-link.text-white {
            font-size: 13px;
            margin-left: 0px;
            padding-left: 0; /* Remove negative padding-left */
        }

    .navbar-light .navbar-nav .nav-item.text-white {
        font-size: 0.8rem;
        margin-left: 0px;
        padding-left: 0; /* Remove negative padding-left */
    }

    .main-header .container .navbar-collapse form {
        width: auto; /* Allow the form to expand naturally */
        margin-left: 20px;
    }

    .main-header .container .navbar-collapse button {
        /* float: right;*/
        margin-right: -4rem;
    }

    .main-header .container .profil {
        margin-left: 10px;
    }
}


@media (min-width: 767px) and (max-width: 850px) {
    .layout-top-nav .wrapper .main-header .brand-image {
        margin-left: -2rem;
    }

    .main-header .container .navbar-collapse button {
        /* float: right;*/
        margin-right: -1.7rem;
    }

    .navbar-light .navbar-nav .nav-link .text-white {
        font-size: 0.8rem;
        margin-left: 0px;
        padding-left: -2px;
    }

    .navbar-light .navbar-nav .nav-item .text-white {
        font-size: 0.8rem;
        margin-left: -15px;
        padding-left: -2px;
    }

    .main-header .container .navbar-collapse form {
        width: 80px;
        margin-left: 10px;
    }

        .main-header .container .navbar-collapse form button i {
            font-size: 10px;
        }

    .main-header .container .profil {
        margin-left: 10px;
    }

    .dataTables_length {
        margin-left: -40px;
    }
}

/* New styles for smaller screens (up to 767px) */
@media (max-width: 767px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px; /* Adjust the font size as needed */
        margin-left: 0; /* Remove the negative margin */
    }

    .main-header .container .navbar-collapse form {
        width: 150px;
        margin-left: 10px;
    }
}

.row > a {
    color: #0033CC;
    font-family: "Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

    .row > a:hover {
        color: #000066;
    }

.search-container .row {
    display: flex;
    align-items: center;
    /*border-bottom: 0.5px solid #ccc;*/
    padding-top: 10px;
    /* padding-bottom: 2px;*/
    width: 1000px;
    position: relative;
    padding-left: 20px;
}

.search-results {
    padding: 0px !important;
}

.search-container:focus {
    border: none;
    outline: none;
}

#dropdown-list ul {
    position: fixed;
}

.max-width {
    width: max-content;
}

.nav-link {
    width: max-content;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 15px;
    /*color : white;*/
}

.dropdown-menu .nav-item {
    border-bottom: 1px solid #00000014;
}

.canvas_height200 {
    max-height: 200px !important;
}

.canvas_height300 {
    max-height: 300px !important;
}

.dashboard_tiles200 {
    height: 200px !important;
}

.canvas_height400 {
    max-height: 400px !important;
}

.dashboard_tiles400 {
    height: 400px !important;
}

.navbar-navbarcolor {
    background-color: var(--themeColor);
}

/*@media (min-width: 768px) and (max-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar .container, .navbar .container-fluid, .navbar .container-lg, .navbar .container-md, .navbar .container-sm, .navbar .container-xl {
        display: contents;
    }
}*/
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-nav .nav-item .nav-link {
        font-size: 12px;
    }

    .container .image {
        left: 7%;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .container .navbar-collapse {
        margin-left: -5px;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .navbar-light .navbar-nav .nav-item .nav-link .text-white {
        font-size: 12px;
    }

    .container .image {
        margin-left: 20px;
    }
}

@media (min-width: 768px) and (max-width: 850px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 10px;
    }

    .navbar-nav {
        padding-left: 20px;
    }
}

.navbar-light .navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    /* Set padding for individual sides in a single line */
    padding: 10px 15px 10px 15px;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
    color: black;
    transition: color 0.1s;
}

    .navbar-light .navbar-nav .nav-link:hover {
        background-color: var(--themeColor);
        color: #fff;
        transform: scale(1.08);
    }

    .navbar-light .navbar-nav .nav-link:focus,
    .navbar-light .navbar-nav .nav-link:active {
        
        color: #fff;
        transform: scale(1.1);
    }


.small-box {
    box-shadow: 0px 5px 10px rgba(5, 69, 134, 0.1);
    transition: transform 0.3s;
}

.small-box-footer {
    display: block;
    padding: 3px 0;
    text-align: center;
    background-color: var(--themeColor);
    color: #fff;
    opacity: 0.9;
    transition: background-color 0.3s;
}

.small-box:hover {
    transform: translateY(-5px);
    background-color: var(--themeColor);
    box-shadow: 0px 10px 20px rgba(5, 69, 134, 0.3), 0px 0px 20px rgba(5, 69, 134, 0.2);
}

    .small-box:hover .small-box-footer {
        transform: scale(1.05);
    }

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.7);
}

.profile-card .custom-btn .clos svg {
    width: 60px;
    height: 30px;
    margin-left: -30px;
    margin-top: -5px;
}

.custom-card {
    margin: 0;
    padding: 0;
}

.profile-image {
    margin: 0 auto;
    padding: 0;
}

.file-input {
    margin-top: 10px;
    padding: 0;
}


.navbar-search-block {
    width: 90%;
    align-items: stretch;
    justify-content: flex-end;
}

.searchResults {
    padding: 0px;
}

.content-header {
    padding: 4.3rem 1rem 0rem 1rem !important;
}

.bg-custom-color {
    background-color: var(--themeColor);
    color: white;
}

.margin-top-5 {
    margin-top: 5rem;
}
/*
.nav-item a.nav-link:hover i {
    color: #333; 
}*/
.card-title:hover i {
    color: black !important;
}

.margin-left-8 {
    margin-left: 8rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #262020;
    background: none;
}

.nav-item .hover-effect :hover {
    color: #262020;
}
/*.nav-item i :hover {
    color: #262020;
}*/
.custom-black-hover:hover {
    color: black !important;
}

#dueTable {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: auto;
}

    #dueTable thead th {
        white-space: nowrap;
    }

@media screen and (max-width: 1228px) {
    .card-title {
        margin-top: 12px; /* Increase the top margin */
        font-size: 15px; /* Reduce the font size */
    }

    .btn-group.float-right {
        margin-top: 10px; /* Increase the top margin */
    }
}

@media screen and (max-width: 1127px) {
    .card-title {
        margin-top: 22px; /* Increase the top margin further */
        font-size: 17px; /* Reduce the font size */
    }

    .btn-group.float-right {
        margin-top: -5px; /* Increase the top margin further */
    }
}

a.btn.text-primary.btn-xs {
    font-size: 15px;
}

.feeform label:not(.form-check-label):not(.custom-file-label) {
    text-align: center;
    white-space: nowrap;
    margin-right: 5px;
    margin-top: 5px;
}

#paidAmount {
    margin-top: -0.20rem;
}

#duesAmount {
    margin-top: -0.20rem;
}

.custom-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 5px;
}

.green-dot {
    background-color: green;
}

.gray-dot {
    background-color: gray;
}

.nav-tabs .nav-item {
    margin-top: 5px;
    margin-bottom: 5px;
}

    .nav-tabs .nav-item .active {
        border-bottom: 1px solid #d2d1d1;
    }

    .nav-tabs .nav-item a:hover {
        border: 1px solid gray;
    }

/*Define by own */
.icheckBody {
    padding-left: 10px;
    margin-bottom: 15px !important;
}

.icheckLabel {
    font-weight: 200 !important;
}

.iframeHeight {
    height: calc(100vh - 56px);
}
.border-bottoom-1{
    border-bottom: 0.1px solid #ccc;
    padding: 8px 14px;
}
.op-8{
    opacity:0.8;
}
.dp {
    padding: 6px 12px;
}
