/** BASE TEMPLATE CLASSES */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.no_margins {
    margin: 0%;
}

.main_container {
flex: 1;
display: flex;
justify-content: center;  /* Horizontally center the content */
align-items:flex-start;      /* Vertically center the content */
/* min-height: 50vh;*/
}


.main_content {
display: flex;    
flex-direction: column;
width: 80%;
  

padding: 20px;
box-sizing: border-box;


}

/* The wrapper uses flexbox to manage the layout */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* At least the full viewport height */
}


/* Footer stays at the bottom */
footer {
  flex-shrink: 0; /* Prevents the footer from shrinking */
}

body {
  font-family: Arial, sans-serif;
}

/* Centering the container */
.login-page-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh; /* Adjust based on your layout */
  font-size: 15px;
}

/* Style for the form box */
.login-form-box {
  background-color: #ffffff; /* Form box background color */
  border: 1px solid #ddd;    /* Optional border */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  width: 483px;             /* Fixed width for the form */
  text-align: center;       /* Center content inside the form */
}

/*************************************** HEADER CLASSES */


.header_nav_area {
    color: white;
  
    background-color: #313131;
  
    display: flex;
  
    justify-content: space-between;
  
    border-radius: 0;
    padding-left: 5px;
  
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .header_nav_area_ul{
    /*height: 39px;*/
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    
  }
  
  
  .header_nav_area_cell {
    display: inline-block;
    
    padding-top: 10px;
    padding-bottom: 10px;
    color: #f4f4f4;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .header_nav_area_cell:hover{
    background-color: #f4f4f4;
    color: #313131;
  }
  
  .header_nav_area_cell:hover a {
   
    color: #313131;
  }
  
  
  .header_nav_area_cell_link {
    
    text-decoration: none;
    color: #f4f4f4;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 0.66vw;
    font-weight: 300;
   
  
    line-height: 1.7;
    word-wrap: break-word;
  }
  
  .header_nav_area_cell_link:hover{
    color: #313131;
  }
  
  .header_nav_area_cell_with_right_border{
    
        border-right: 1px solid #575757;
        padding-right: 5px;
      
  }
  
  
  .cu_header_redbar{
    height: 3px;
    background: #cf112d;
  }
  
  
  .scs_logo_in_header{
    height: 72px;
    
   
  }
  
  
  .scs_logo_in_header_list{
    display: flex;
    align-items: center;
    justify-content: left;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 10px;
  }
  
  .scs_logo_in_header_list_item{
   
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; 
    margin: 10px;    
    cursor: pointer;  
  
  }
  
  .scs_logo_in_header_list_item_text_link{
    text-decoration: none;
    color: #575757;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  
  .scs_logo_in_header_list_item_text_link:hover{
  
    color: #e91c24;
  }
  
  
  
  .scs_logo_bar{
    height: 1px;
    background:#949494;
    opacity: 0.4;
  }
  

/*************************************** FOOTER CLASSES */

.footer_branding_div {

    background-image: url('/static/TaAwardsApp/waves.svg');
    /* Set the size of the background image */
    background-size: 100% auto;
    /* Set the position of the background image */
    background-position: center bottom;
  
    background-repeat: no-repeat;
    padding: 25px 0 110px 0;
  
    bottom: 0;
    min-height: 50vh;
    
    /*position: absolute;*/
  }
  
  .b-footer__block {
    padding: 0px 30px;
  }
  
  
  .footer_list_on_same_line{
    list-style-type: none; 
    margin: 0;
  }
  
  .footer_list_item {
    text-transform: uppercase !important;
    line-height: 2.2em;
    color: #949494;
    margin-bottom: 0;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .footer_list_item_link {
    text-decoration: none;
    outline: none;
    color: white;
    cursor: pointer;
  }
  
  .footer_list_item_link:hover{
  
    color: #e91c24;
  }
  
  
  .footer_list_left_item_divider {
    border-right: 1px solid #949494;
    padding-right: 10px;
    margin-right: 10px;
  }
  
  .footer_list_item_same_line {
    display: inline;
  }
  
  
  
  .footer_link_item {
  
    font-size: 0.75rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: #ffffff;
    display: inline-block;
    padding: 0 10px;
    margin: 0;
  
    outline: none;
    line-height: 1.8;
   
  }
  
  
  .footer_link_item_link {
    border-bottom: 1px solid white;
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
  }
  
  
  .footer_link_item_link:hover {
    color: #949494;
    border-bottom: 1px solid #949494;
    cursor: pointer;
  }
  




  /*********************************** Other Classes */

  

  /** NEW FORM STYLING */
  
        /* Style for each entire section */
        fieldset {
          border: 0.2px solid #ccc;
          padding: 1rem;
          margin-bottom: 1rem;
      }
      legend {
          font-weight: bold;
          padding: 0 0.5rem;
          font-size: 20px;
      }
      .form-label {
        padding: 0.5rem;
        font-size: 15px;
         
    }

      /* A wrapper for each label-field-row so they're aligned in columns */
      .form-row {
          display: grid;
          /*grid-template-columns: 500px 400px 100px; /* label | input | optional unit */
          grid-template-columns: 50% 30% 10%; /* label | input | optional unit */
          gap: 0.5rem; /* space between columns */
          align-items: center; 
          margin-bottom: 0.75rem;
      }

      .form-row-longUnit{
        display: grid;
          /*grid-template-columns: 500px 400px 100px; /* label | input | optional unit */
          grid-template-columns: 50% 10% 40%; /* label | input | optional unit */
          gap: 0.5rem; /* space between columns */
          align-items: center; 
          margin-bottom: 0.75rem;
      }

      
      

      /* Optional: style for the unit if you want it distinct */
      .form-unit {
          color: #555; 
          
      }

      .cool-text-input-field {
        padding: 10px 12px;
        margin: 6px 0;
        border: 2px solid #ddd; /* Light grayish border for initial state */
        border-radius: 6px;
        font-size: 16px;
        color: #333;
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }
      
      .cool-text-input-field:focus {
        border-color: #e91c24; /* Theme color on focus */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }

      .cool-text-input-field-short {
        padding: 10px 12px;
        width: 40%;
        margin: 6px 0;
        border: 2px solid #ddd; /* Light grayish border for initial state */
        border-radius: 6px;
        font-size: 16px;
        color: #333;
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }
      
      
      .cool-text-input-field-long {
        padding: 12px 12px;
        width: 90%;
        margin: 6px 0;
        border: 2px solid #ddd; /* Light grayish border for initial state */
        border-radius: 6px;
        font-size: 16px;
        color: #333;
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }
      
      .cool-text-input-field-long:focus {
        border-color: #e91c24; /* Theme color on focus */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background-color: #fff;
      }

      .cool-text-input-field-single-line {
        padding: 12px 12px;
        width: 90%;
        margin: 6px 0;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
        color: #333;
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        
        /* Force a single line height */
        height: 200px;           /* Adjust as needed to match one line of text */
        overflow: hidden;       /* Hide any overflow text */
        
        /* Optional: If it's a textarea and you want to allow vertical resizing later */
        resize: vertical;
    }
    
    .cool-text-input-field-single-line:focus {
      border-color: #e91c24; /* Theme color on focus */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      background-color: #fff;
    }
      

    .dropdown-input-field {
      padding: 10px 12px;
      margin: 6px 0;
      border: 2px solid #ddd; /* Light grayish border */
      border-radius: 6px;
      font-size: 16px;
      color: #333;
      background-color: #f8f9fa;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    .dropdown-input-field:focus {
      border-color: #e91c24;
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .form-container {
      width: 80%;
      
      margin: 0 auto;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      background-color: #f9f9f9;
  }


  .remove-duty {
    color: #fff;
    background: #d9534f; /* red-ish button */
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}
.remove-duty:hover {
    background: #c9302c;
}
.duty-block {
    border: 1px dashed #aaa;
    margin-bottom: 10px;
    padding: 10px;
}


.email-block {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px dashed #aaa;
}
.remove-email-btn {
  margin-left: 10px;
  background: #d9534f;
  color: #fff;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
}
.remove-email-btn:hover {
  background: #c9302c;
}

.note-block {
  border: 1px dashed #aaa;
  margin-bottom: 10px;
  padding: 10px;
}
.remove-note-btn {
  margin-left: 10px;
  background: #d9534f;
  color: #fff;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
}
.remove-note-btn:hover {
  background: #c9302c;
}

.gray-button {
  margin-left: 10px;
  background: #d4d4d4;
  color: #000000;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 5px;
}

.gray-button:hover {
  background: #a3a3a3;
}


.coolRoundedButton {
  display: inline-block;
  background-color: #e91c24; /* Red background */
  color: #f4f4f4; /* White text */
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  transition: all 0.3s ease; /* transitions all properties */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* subtle shadow */
  border: 2px solid transparent; /* invisible border */
  align-self: flex-start;
  }
  
  .coolRoundedButton:hover {
  background-color: #f4f4f4; /* White background */
  color: #e91c24; /* Red text */
  transform: scale(1.05); /* slightly enlarges the button on hover */
  font-weight: bold; /* bold text on hover */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* more pronounced shadow on hover */
  border: 2px solid #e91c24; /* visible red border on hover */
  }
  
  .coolRoundedButton:hover a {
  color: #e91c24; /* Red text */
  }
  


  .reverseCoolRoundedButton {
    display: inline-block;
    background-color: #f4f4f4;
    color: #e91c24;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.3s ease; /* transitions all properties */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* subtle shadow */
    border: 2px solid transparent; /* invisible border */
    align-self: flex-start;
    }
    
    .reverseCoolRoundedButton:hover {
    background-color: #e91c24;
    color: #f4f4f4;
    transform: scale(1.05); /* slightly enlarges the button on hover */
    font-weight: bold; /* bold text on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* more pronounced shadow on hover */
    border: 2px solid #f4f4f4; /* visible border on hover */
    }
    
    .reverseCoolRoundedButton:hover a {
    color: #f4f4f4;
    }

  /****  TABLE CLASSES ***/


.normal_table_text{
  color: #313131;
  text-align: center;
}

td, th {
  width: 13%;
  padding: 1.5vw;
}

.center-text{
  text-align: center;
}

.header-row th:last-child {
    border-top-right-radius: 10px;
}
.row-even {
  background-color: #f4f4f4;
}

.row-odd {
  background-color: #ffffff;
}
.header-row-first {
  border-top-left-radius: 10px;
 /* padding-left: 3vw;*/
}

.header-row-last {
  border-top-right-radius: 10px;
 /* padding-right: 3vw;*/
}
.rounded_table {
  border-radius: 30px;
  overflow: hidden;
  width: 60%;
  margin: auto;
  animation: fadeIn 0.8s ease-in-out; /* Table fades in on load */
}

.header-row {
    background-color: #313131;
    color: #ffffff;
    font-weight: 200;
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 1.1rem;

}

.required-asterisk {
  color: #e91c24;
  font-weight: bold;
  margin-left: 4px;
}

.required-note {
  font-size: 14px;
  margin-bottom: 20px;
}

.file-note {
  margin-top: 8px;
  padding: 12px;
  background-color: #f3fff1;
  border-left: 4px solid #f3fff1;
  font-size: 11px;
  color: #444;
  line-height: 1.5;
}

.file-note p {
  margin-bottom: 10px;
}

.file-note p:last-child {
  margin-bottom: 0;
}

.section-intro {
  margin: 10px 0 20px 0;
  padding: 18px;
  background-color: #f4f8fb;
  border-left: 5px solid #d9dbd8;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.section-intro strong {
  color: #242424;
}

.section-intro p {
  margin-bottom: 12px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}





/******************************** ADMIN PANEL */

.filter_label_text{
font-weight: 700;
font-size: 1.1rem;
}


/***************** MISC ***/

.login-email-field {
  width: 40%;
  padding: 10px;
  margin: 5px 0;
  border: 2px solid #e91c24; /* Updated border color */
  border-radius: 8px;
  background-color: #f8f9fa;
  background-image: linear-gradient(to right, #f8f9fa, #e9ecef);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 16px;
  color: #495057;
}

.login-email-field::placeholder {
  color: #6c757d;
  opacity: 1;
}

.login-email-field:hover,
.login-email-field:focus {
  border-color: #c41411; /* Darker shade of the same red for hover/focus */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  outline: none;
}




.errorlist {
    color: red;
    list-style: none;
    margin: 5px 0;
    padding: 0;
}
