@charset "utf-8";
@page {
	margin: 0;
	padding: 0;
	size: auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   MAIN CONTAINER
   =========================== */
    .container_marksheet_template1 {
      width: 97%;
      height: auto;
      page-break-after: always;
      border: double medium #0b722d;
      margin: 1% auto;
      background: #fff;
      font-family: Calibri, sans-serif;
      font-size: 9pt;
      position: relative;
    }

    .content_container_template1 {
      padding: 10px 2%;
    }
    
/* ===========================
   HEADER SECTION
   =========================== */
    .header_template1 {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px 0;
    }

    .logo_div_img_template1 img {
      width: 70px;
      height: auto;
      margin-right: 20px;
    }

    .header_institution {
      margin-left: 10px;
      text-align: center;
    }

    .heading_template1 {
      font-size: 20pt;
      text-transform: uppercase;
      font-weight: bold;
      color: #0b722d;
      letter-spacing: 1px;
      margin-bottom: 2px;
    }

    .heading_code_info_template1 {
      font-size: 10pt;
      font-weight: bold;
      color: #666;
    }

    .heading_address_template1, .contact_template1 {
      font-size: 9pt;
      font-weight: bold;
      color: #666;
    }
    
    .header_info_container {
        text-align: center;
        margin: 5px;
    }
    
    .heading_report_template1 {
      font-size: 16pt;
      font-weight: bold;
      color: #0b722d;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    .year_template1 {
      font-size: 12pt;
      font-weight: normal;
      color: #666;
    }
    
    .head1 {
      font-size: 11pt;
      font-weight: bold;
    }
    
    .head2 {
      font-size: 11pt;
    }

/* ===========================
   LAYOUT BLOCKS
   =========================== */
.container1,
.container4,
.container5 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.container2 {
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.container3 {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
}

.images {
  width: 80px;
  height: 80px;
}

.student_info_template1 {
  width: 38%;
  display: inline-block;
  font-size: 0.9rem;
}


/* ===========================
   TABLE STYLING
   =========================== */
.table,
.table1_template1 {
  width: 90%;
  border-collapse: collapse;
  text-align: center;
  margin: 8px auto;
  font-size: 0.85rem;
}

.table th,
.table td,
.table1_template1 th,
.table1_template1 td {
  border: 1px solid #444;
  padding: 4px;
}

.table th,
.table1_template1 th {
  background-color: #f3fcf4;
  font-size: 0.9rem;
  color: #0b722d;
  font-weight: bold;
}

.transparent_table {
	border-collapse: collapse;
	max-width: 99%;
	min-width: 60%;
	background: none;
	border: none transparent;
}

.evaluation_table {
	max-width: 90%;
	min-width: 60%;
}

.tablelayout_fixed {
  table-layout: fixed;
  width: 100%;
}

/* ===========================
   TEXT UTILITIES
   =========================== */
.fullstretch {
  width: 100%;
}

.margintop20,
.margintop35,
.margintop50,
.margintop5 {
  margin-top: 12px !important;
}

.fontsize11 {
  font-size: 11pt;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

.aligncenter {
  text-align: center;
}

.line-height1-4 {
  line-height: 1.4;
}

.congratulate_message {
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 2px;
	font-size: 12pt;
	font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
/* ===========================
   FOOTER / SIGNATURES
   =========================== */
.principal_signature_template1 {
  text-align: center;
  margin-top: 40px;
}

.signature_div {
  margin-top: 35px;
}

.flexbox-row-center-start,
.flexbox-row-spacearound-start {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
.form-control {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  font-size: 11pt;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 8px auto;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control.mt-2 {
  margin-top: 8px;
}

.form-control.mb-2 {
  margin-bottom: 8px;
}

.form-control.mt-2.mb-2 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.table1_container_template1:last-child {
  margin-top: 20px;
  padding: 15px;
  border-top: 1px dashed #2a6fba;
  text-align: center;
}

.table1_container_template1:last-child label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #0b722d;
  font-size: 11pt;
}

.congratulate_message {
    font-size: 12pt;
    font-weight: bold;
    color: #0b722d;
}

.new_session {
    font-size: 10pt;
    color: #000;
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

/* ===========================
   BUTTON (if used)
   =========================== */
#submit_marksheet {
  background-color: #2a6fba;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12pt;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

#submit_marksheet:hover {
  background-color: #0b722d;
}
/* ===========================
   MESSAGE DISPLAY STYLING
   =========================== */
#error_div, #displayadd_homework_success {
  padding: 10px;
  margin: 15px 0;
  border-radius: 4px;
  text-align: center;
}

#error_div {
  background-color: #ffebee;
  border: 1px solid #f44336;
  color: #c62828;
}

#displayadd_homework_success {
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
}


/* ===========================
   PRINT OVERRIDES
   =========================== */
@media print {
 body {
        margin: 0;
        padding: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .container_marksheet_template1 {
        width: 96.5% !important;
        height: 97.5% !important;
        background: none !important;
        border: none !important;
        margin: 0 auto !important; 
        padding: 0 !important;
        box-shadow : none !important;
    }
    
    .content_container_template1 {
        padding: 0.5cm 1cm !important;
    }
    
    .header_template1 {
        flex-direction: column;
        align-items: center;
        border-bottom: none;
        border-bottom: 1px solid #000 !important;
        margin-bottom: 5px;
    }
    
    .logo_div_img_template1 {
        display: none !important;
    }
    
    .header_institution {
        text-align: center !important;
        margin-left: 0 !important;
        color: #000 !important;
    }
    
    .heading_template1 {
        opacity: 0 !important;
        margin: 0;
        padding: 0;
        height: 0;
        line-height: 0;
        font-size: 0;
    }
    
    .heading_code_info_template1, 
    .heading_address_template1, 
    .contact_template1 {
        color: #000 !important;
    }
    
    .heading_report_template1 {
        color: #000 !important;
    }
    
    .year_template1 {
        color: #000 !important;
        font-weight: normal !important;
    }
    
    .table th,
    .table1_template1 th {
      background-color: #fff !important;
      color: #000 !important;
    }
    
    .table1_container_template1:last-child label {
      color: #000 !important;
    }
    
    .congratulate_message {
        color: #000 !important;
    }
}
