﻿* {
    box-sizing: border-box;
    /*margin: 0;*/
    padding: 0;
}

body, html {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

html{
    height: 100%;
}

body{
    position: relative;
    margin: 0;
    min-height: 100%;
    padding-bottom: 4rem;
}

.header {
    overflow: hidden;
    background-image: linear-gradient(white, white);
    padding: 5px 10px;
    position: relative; /* Add position: relative; */
    display: flex;
    border-bottom: 5px solid #3c84d4;
}
/* Footer styling */
.footer {
    overflow: hidden;
    background-image: linear-gradient(#0F588E, #3c84d4);
    padding: 25px 10px;
    position: absolute;
    bottom: 0; /* Place at the bottom */
    left: 0; /* Left-align the footer */
    width: 100%; /* Full width */
    display: flex;
}

.footer-table {
    overflow: hidden;
    background-image: linear-gradient(#0F588E, #3c84d4);
    padding: 20px 10px;
    position: absolute;
    bottom: 0; /* Place at the bottom */
    left: 0; /* Left-align the footer */
    width: 100%; /* Full width */
    display: flex;
}

.header a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 5px;
    border-radius: 100px;
}

    .header a.logo {
        font-size: 25px;
        font-weight: bold;
    }

    .header a:hover {
        background-color: rgba(151, 210, 232, 0.51);
        color: black;
    }

    .header a.active {
        background-color: dodgerblue;
        color: white;
    }

@media screen and (max-width: 500px) {
    .header a {
        float: none;
        display: block;
        text-align: left;
    }

    .header-right {
        float: none;
    }
}

.login-container {
    display: flex;
    padding-left: 0;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-box {
    display: flex;
    width: 100%; /* Change to 100% to ensure responsiveness */
    max-width: 400px; /* Limit the maximum width */
    height: 450px;
    max-height: 450px;
    border-radius: 20px;
    background-image: linear-gradient(#0F588E, #3c84d4); /* Adjust the background color and transparency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    margin: 0 auto; /* Center horizontally with equal left and right margins */
}

.login-box2 {
    display: flex;
    width: 100%; /* Change to 100% to ensure responsiveness */
    max-width: 550px; /* Limit the maximum width */
    height: 650px;
    max-height: 650px;
    border-radius: 20px;
    background-color: rgba(151, 210, 232, 0.51); /* Adjust the background color and transparency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    margin: 0 auto; /* Center horizontally with equal left and right margins */
}
/* Media query for smaller screens */
@media (max-height: 600px) {
    .login-container {
        height: auto;
        padding: 20px;
        box-sizing: border-box;
    }

    .login-box {
        width: 100%;
    }
}

.input-box {
    position: relative;
    width: 310px;
    margin: 10px 0;
    border-bottom: 2px solid #fff;
}

    .input-box label {
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        font-size: 1em;
        color: #fff;
        pointer-events: none;
        transition: top 0.3s ease;
    }

    .input-box input:focus ~ label,
    .input-box input:valid ~ label {
        top: -5px;
    }

    .input-box input {
        width: 100%;
        height: 50px;
        background: transparent;
        border: none;
        outline: none;
        font-size: 1em;
        color: #fff;
        padding: 0 35px 0 5px;
    }

    .input-box .icon {
        position: absolute;
        right: 8px;
        color: white;
        font-size: 1.2em;
        line-height: 57px;
    }

.remember-forgot {
    margin: 20px 0 15px;
    font-size: 0.9em;
    color: #fff;
    display: flex;
    justify-content: space-between;
}


    .remember-forgot label input {
        margin-right: 3px;
    }

    .remember-forgot a {
        color: #fff;
        text-decoration: none;
    }

        .remember-forgot a:hover {
            text-decoration: underline;
        }

.login-box input[type=submit] {
    width: 75%;
    height: 40px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: #000;
    font-weight: bold;
}

    .login-box input[type=submit]:hover {
        background-color: #0F588E;
        color: white !important;
    }

.register-link {
    font-size: 0.9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}

    .register-link p a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
    }

        .register-link p a:hover {
            text-decoration: underline;
        }

@media (max-width: 360px) {
    .login-box {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0;
    }

    .input-box {
        width: 290px;
    }
}

.contactus-container {
    font-family: Arial;
    font-size: 11pt;
    padding: 20px;
}

.menu-container {
    display: flex;
    padding-left: 0;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
    height: 80vh;
    min-height: 600px; /* Subtract the height of the footer from the viewport height */
    background-image: url('../Pictures/bgnew2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-box {
    width: 100%;
    max-width: 400px;
    height: 550px;
    max-height: 550px;
    border-radius: 20px;
    background-color: rgba(151, 210, 232, 0.51);
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    backdrop-filter: blur(5px);
    margin: 0 auto;
    overflow-y: overlay;
}

/*/*.menu-container {
    display: flex;
    padding-left: 0;
    margin-top: -5px;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
    height: 80vh;
    min-height: 300px; 
    background-image: url('../Pictures/bgnew2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}*/

/*.menu-box {
    width: 100%;
    max-width: 400px;
    height: 500px;
    max-height: 500px;
    border-radius: 20px;
    background-color: rgba(151, 210, 232, 0.51); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    margin: 0 auto;
}*/

.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

    .button-row a {
        margin: 5px; /* Add spacing between buttons */
    }

.menu-but1,
.menu-but2,
.menu-but4,
.menu-but3 {
    display: inline-block;
    width: 220px;
    height: 40px;
    border: none;
    outline: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-align: center; /* Center the text */
    line-height: 35px; /* Vertically center the text */
    text-decoration: none; /* Remove underline */
}

.menu-but1 {
    background-color: rgb(57, 76, 152, 1);
    color: white;
}

    .menu-but1:hover {
        background-color: rgb(23, 39, 109);
    }


.menu-but2 {
    background-color: rgb(29,105,203);
    color: white;
}

    .menu-but2:hover {
        background-color: rgb(41, 58, 124);
    }

.menu-but4 {
    background-color: rgb(7, 149, 255, 1);
    color: white;
}

    .menu-but4:hover {
        background-color: rgb(17, 141, 54);
    }

/*logoutbutn*/
.menu-but3 {
    background-color: rgb(235, 190, 59);
    color: black;
}

    .menu-but3:hover {
        background-color: #0F588E;
    }


/* Media Queries */
@media only screen and (max-width: 600px) {
    .button-row {
        flex-direction: column; /* Display buttons in a column */
        margin-bottom: 0; /* Remove margin-bottom */
    }

        .button-row a {
            margin: 5px 0; /* Add spacing between buttons */
        }
}

/*.GridView .CustomPager {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 10px;
}

    .GridView .CustomPager a, .GridView .CustomPager span {
        margin: 0 5px;
        padding: 10px 15px;
        border: 1px solid #007bff;
        border-radius: 5px;
        background-color: #007bff;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
    }

        .GridView .CustomPager a:hover {
            background-color: #0056b3;
            color: white;
        }

    .GridView .CustomPager .aspNetDisabled {
        background-color: #e0e0e0;
        border-color: #e0e0e0;
        color: #777;
    }

    .GridView .CustomPager .current {
        background-color: #0056b3;
        border-color: #0056b3;
        color: white;
    }*/

.filter-text {
    color: #38aed6;
    font-size: 20px;
    font-weight: bold;
    margin-left: 5px;
}

.hiddenrow {
    display: none;
}

/* Style the checkbox */
.checkbox-container {
    display: inline-block; /* Ensures checkboxes appear in a row */
    margin-right: 20px; /* Adjust spacing between checkboxes */
}

    /* Style the checkbox */
    .checkbox-container .custom-checkbox input[type="checkbox"] {
        /* Your checkbox styles */
        /* Example styles */
        width: 15px;
        height: 15px;
        /* other styles as needed */
    }

    /* Style the label */
    .checkbox-container .custom-checkbox label {
        /* Your label styles */
        /* Example styles */        
        color: #333;
        /* other styles as needed */
        margin-left: 5px; /* Example margin adjustment */
        vertical-align: middle;
        /* other styles as needed */
    }

.file-icon-container {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.file-icon {
    margin-bottom: 8px;
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.file-name {
    margin-left: 10px;
    font-size: 0.9rem;
}

/* The Modal (background) */
.modalpopup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modalpopup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    text-align: center;
}

    .modalpopup-content p {
        font-size: 18px;
        font-weight: bold;
    }
/* The Close Button */
.closepopup-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .closepopup-btn:hover,
    .closepopup-btn:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.modalpopup-button {
    background-color: #407EFF; /* Green background */
    color: white; /* White text */
    padding: 10px 20px; /* Padding */
    border: none; /* Remove borders */
    cursor: pointer; /* Pointer/hand icon */
    font-size: 16px; /* Increase font size */
    border-radius: 5px; /* Rounded corners */
    margin-top: 20px; /* Space from top */
}

    /* Add a dark grey background on mouse-over */
    .modalpopup-button:hover {
        background-color: #444ca8;
    }