body {
     font-family: 'Arial Narrow', Arial, sans-serif;
     background-color: #EEE2DC;
     margin: 0;
     padding: 0;
     margin-top: 10px;
 }
 .table-container {
     max-height: 2000px; /* Set the maximum height for the container */
     overflow-y: auto; /* Add a vertical scroll for overflow content */
     border: 1px solid #ddd; /* Add a border for better visibility */
 }



 .row{
display: flex;
padding: 5px;

 }

 .row1{
    display: flex;
    padding: 10px;
    margin: 10px;  
    align-items: center;
    width: 50%;
 }

.col-md-6{
width: 50%;
margin: 2px;
 }

 .col-md-5{
    width: 50%;
    margin-top: 10px;
    margin-right: 20px;

     }

 #selectdiv{
    z-index: 999; 
    position: relative;
 }

.topic-title{
width: 80%;
background-color: #123C69;
border-radius: 10px;
justify-content: center;
padding: 3px;
align-items: center;
text-align: center;
margin: 3px;
}

.topic-title h2 {
    color: #FFFFFF;
    font-size: large;
}


 .back-link {
    position: fixed;
    right: 10px;
    margin: 10px;
    top:110px;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: #123C69;
    border-radius: 20px;
    padding:2px;
    max-width: 300px;
    font-size: 11px;
}
.back-link i {
    margin-right: 5px;
}
.back-link:hover {
    background-color:#AC3B61;
}



.btn-danger{
    background-color: red;
    color: white;
}

.btn-danger:hover{
    color: red;
    background-color: white;
}

.btn-success:hover{
    background-color:#AC3B61;
}
.btnlink{

    text-decoration: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    color:white;
    display: flex;
    align-items: center;
    cursor: pointer;
   
}

.btnlink i {
    margin-right: 5px;
}
.radio-group {
    display: flex;
    flex-direction: column;
    max-width: 150px;
    border: 2px solid #123C69; /* Added solid style and specified border width */
    border-radius: 14px;
    padding: 5px;
    margin: 5px;
    max-height: 150px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}
table {
    width: 99%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
 }

 .table td {
    padding: 10px; /* Adjust as needed */
}
th, td {

    text-align: left;
    border: 1px solid #ddd;
    font-size: 12px;
    width: auto;
}


.radio-label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
}

.radio-option label {
    font-size: 12px;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color:#AC3B61; /* Change color of the radio button */
}

.buttonmargin{
    margin-top: 20px;
}

 h1{
     color: #123C69;
 }


 h2 {
     color: #AC3B61;
     text-align: center;
     
 }
 label {
     color: #123C69;
     
 }

 input{
     color: #000000;
     font-family: 'Book-Antiqua', Times-New-Roman, sans-serif;
     border: 1px solid #AC3B61;
     max-width: 10cm;
     width: 98%;
     box-sizing: border-box; /* Includes padding and border in the width */
 }

 select{
    color: #000000;
    font-family: 'Book-Antiqua', Times-New-Roman, sans-serif;
    border: 1px solid #AC3B61;
    max-width: 10cm;
    width: 98%;
    box-sizing: border-box; /* Includes padding and border in the width */
 }
 table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 20px;
     background-color: #fff;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 8px;
     overflow: hidden;
 
 }
 form {
     width: 95%; /* Adjust the width as needed */
     padding: 20px;
     background-color: #EEE2DC;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 8px;
 }

 th, td {
     padding: 2px;
     text-align: left;
     border: 1px solid #ddd;
     font-size: 16px;
 }

 th {
     background-color: #123C69;
     color: #fff;
 }

 tr:nth-child(even) {
     background-color: #f2f2f2;
 }

 .edit-link {
     display: inline-block;
     text-decoration: none;
     color: #fff;
     padding: 1px 3px;
     border-radius:4px;
     background-color: #AC3B61;
     transition: background-color 0.3s;
 }

 .edit-link:hover {
     background-color: #123C69;
 }

 .edit-icon {
     width: 20px;
     height: 20px;
     margin-right: 3px;
     /* Adjust the path to your IconsFolder and the specific icon file */
     background: url('IconsFolder/EditIcon5.png') center/cover;
     display: inline-block;
     vertical-align: middle;
 }

/* a.edit-link {
     text-decoration: none;
     padding: 8px 12px;
     /*background-color: #AC3B61;
     color: #fff;
     border-radius: 4px;
     transition: background-color 0.3s ease;
 }

 a.edit-link:hover {
     background-color: #123C69;
 }*/

 input.search-box {
     padding: 8px;
     border: 1px solid #AC3B61;
     border-radius: 4px;
     margin-bottom: 5px;
     font-family: 'Arial Narrow', Arial, sans-serif;
     font-size: 16px;
     width: 40%;
 }

 
form {
 display: block;
 justify-content: center;
}

form section {
 grid-column: span 2; /* Make the Student's Details section span two columns */
 margin-bottom: 20px;
 padding: 8px;
}

section{
    margin :2%;
}

form .parent-sections {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 grid-gap: 15px;
}

form label {
 display: block;
 margin-bottom: 5px;
 font-weight: bold;
}

form input,
form select,
form textarea {
 width: 100%;
 padding: 8px;
 margin-bottom: 8px;
 border: 1px solid #ddd;
 border-radius: 4px;
}

form input[type="submit"] {
 background-color: #3498db;
 color: #fff;
 padding: 12px;
 border: none;
 border-radius: 4px;
 cursor: pointer;
 font-size: 16px;
 transition: background-color 0.3s ease;
 width: 50%;
}

.submit-btn:hover {
    background-color: #AC3B61;
    color:#FFFFFF;
   }
   .submit-btn {
    /* Add any other styles you want for the button */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    color: #123C69;
    padding: 12px;
    border:solid #123C69; ;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 110px;
    height: auto;
         
   }
   

.icon {
 width: 50px; /* Adjust the width as needed */
 height: 50px; /* Adjust the height as needed */
 margin-bottom: 5px; /* Optional: Add some spacing between the icon and text */



}
h1 {
     text-align: center; /* Center the text horizontally */
     margin-top: 2px; /* Adjust the top margin as needed */
     font-size: 2em; /* Adjust the font size as needed */
     padding: 2px; /* Padding for better visibility */
     font-size: 2em; /* Adjust the font size as needed */
    color:#123C69; /* Text color */
     font-family: 'Arial Black', Arial, sans-serif;
 }
 .message {
    margin: 5px auto;
    padding: 5px;
    border-radius: 5px;
    color: black;
    background: lightgreen;
    border: 1px solid #3c763d;
    width: 20%;
    text-align: center;
}
.text-danger
{
	font-size: 25px;
    color: white;
    border-radius: 5px;
    background: #2E8B57;
}


.addnewentry
{
    font-size: 15px;
    color: black;
    border-radius: 18px;
    background: #f44336;
}

.radio-container {
    margin-bottom: 10px;
}

h3 {
    display: inline-block;
    margin-right: 10px;
}

input[type="radio"] {
    display: inline-block;
}
.button-container {

    display: flex;
    gap: 10px;/* Adjust this property to change the spacing */
  }

/* Style for Send New Message button */
.btn-primary {
    background-color: #123C69;
    border-color: #123C69;
}

.btn-primary:hover {
    background-color: #AC3B61;
    border-color: #AC3B61;
}


.btn-primary2 {
    background-color: green;
    border-color: green;
}

.btn-primary2:hover {
    background-color: #AC3B61;
    border-color: #AC3B61;
}


/* Style for Inbox and Sent Messages headings */
h2 {
    font-size: 24px;
    color:#AC3B61;
    margin-bottom: 20px;
}

/* Style for message list items */
.list-group-item {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #fff;
}
.message-container {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.subject-info {
    margin-bottom: 10px;
}

.subject-info strong {
    font-weight: bold;
}

.date-info {
    margin-bottom: 10px;
}

.date-info strong {
    font-weight: bold;
}

/* Style for message sender and subject */
.list-group-item .row {
    align-items: center;
}

.list-group-item strong {
    margin-right: 10px;
    font-weight: bold;
}

/* Style for message date */
.list-group-item small {
    font-size: 12px;
    color: #999;
}

/* Style for View and Delete buttons */
.list-group-item .btn-primary,
.list-group-item .btn-danger {
    padding: 5px 10px;
    font-size: 14px;
    margin-top: 5px;
}

.list-group-item .btn-danger {
    margin-left: 10px;
}

.custom-link {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.custom-link:hover {
    opacity: 0.8;
}

/* Icon styles */
.custom-link .icon {
    margin-right: 5px;
    font-size: 1.2rem;
}

/* Primary button style */
.custom-link.primary {
    background-color: #123C69;
}

/* Danger button style */
.custom-link.danger {
    background-color: #FF0000;
}

.custom-btn {
    display: inline-block;
    padding: 0px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    background-color:#123C69; /* Primary color */
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #AC3B61 /* Darker shade of primary color on hover */
}

/* Icon styles */
.custom-btn .icon {
    margin-right: 10px;
}

/* Larger button style */
.custom-btn.btn-lg {
    font-size: 1.5rem;
    padding: 10px;
    padding-bottom: 2px; /* Adjust padding-bottom as needed */
    display: inline-block;
    text-decoration: none;
}

/* Container styles */
.container3 {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Form input styles */
.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

/* Button styles */
.action-buttons {
    text-align: center;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #123C69;
    color: #fff;
    cursor: pointer;
}
.inbox-item {

    width: 85%;
}

.message-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 0px;
    font-weight: bold;
    width:90%;
}

.unread {
    background-color: #ffc107; /* Yellow */
    color: #333; /* Dark text color */
}

.read {
    background-color: #28a745; /* Green */
    color: #fff; /* White text color */
}


.select-stream{
    display: none;
}



/* Responsive styles */
@media screen and (max-width: 768px) {
    .container3 {
        padding: 10px;
    }

    input[type="text"],
    select,
    textarea {
        padding: 8px;
        max-width: 500px;
    }

    button {
        padding: 8px 16px;
    }

    .row{
        flex-direction: column;

    }


}

















/* Adjustments for small screens */
@media (max-width: 768px) {
    .list-group-item .row {
        flex-direction: column;
        text-align: center;
    }

    .list-group-item .btn-primary,
    .list-group-item .btn-danger {
        margin-top: 10px;
    }
}
      
@media (max-width: 768px) {

    .print-icon {
        width: 50%;
        height: 50%;
         }

         .receipt-icon {
            width: 50%;
            height: 50%;
             }

    .receipt-link {
        font-size: 11px;
        width: 20%;       
    }

    .print-link{
        font-size: 11px;
        width: 20%;       
    }

    .receipt-link2 {
        font-size: 11px;
        width: 20%;       
    }

    .icon {
        width: 80%; /* Adjust the width as needed */
        height: 80%; /* Adjust the height as needed */
        margin-bottom: 5px; /* Optional: Add some spacing between the icon and text */
       }

       .submit-btn {
        /* Add any other styles you want for the button */
    
        width: 20%;
        height:auto;
       font-size: 11px;
               
       }
       .delete-btn {
        /* Add any other styles you want for the button */
    
        width: 20%;
        height:auto;
       font-size: 11px;
               
       }


 table {
     font-size: 11px;
 }
.container {
 flex-direction: column; /* Change to a one-column layout for narrow devices */
}

.container2,
.container1,.container3,.container4
  {
 width: 100%; /* Adjust the width for full-width on narrow devices */
}


.make-space{
    padding: 5px;
    width: 100%;
}
.parent-sections {
 grid-template-columns: 1fr; /* Change to a one-column grid layout for narrow devices */
}

table th,
table td {
font-size: 12px;
}


 table {
     font-size: 12px;
 }
 .studentdetails
 {
     background-color: #123C69;
     padding: 10px;
     width:90%;
     flex-grow: 1;
 }
 h1 {
    text-align: center; /* Center the text horizontally */
    margin-top: 2px; /* Adjust the top margin as needed */
    font-size: 0.5em; /* Adjust the font size as needed */
    padding: 2px; /* Padding for better visibility */
    color:#123C69; /* Text color */
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 20px;
}

 h2 {

    font-size: 18px;  
 }

 input.search-box {
    padding: 10px;
    border: 1px solid #AC3B61;
    border-radius: 2px;
    margin-bottom: 2px;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    width: 90%;
}
.searchdiv{
    flex-direction: column;
}
.studenttable-container {
    width: 100%; /* Adjust the width as needed */ 
}

.statement-date {
    width: 100%;
    padding: 5px;
    height: 20%;
}

.statement-date2 {
    width: 100%;
    padding: 5px;
    height: 20%;
}
.formpad{
    padding: 10px;
    width: 90%;

}
.formpad2{
    padding: 10px;
      width: 90%;

}
.table-container{
    width: 100%;
}

section{
    margin :1%;
}
.col-md-6{
    width: 100%;
    margin: 2px;
     }
    
}

