/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Award Post */
.award-single {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Title */
.award-header {
    text-align: center;
    margin-bottom: 20px;
}

.award-header h1{
    color: #00a651;
    font-weight: bold;
}

.award-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #222;
}

/* Grid */
.award-grid {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 30px;
    align-items: start;
}

.award-grid.company-profile{
    grid-template-columns: 1fr;
}

.award-meta {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.award-label{
    color: #00a651;
    font-weight: bold;
    font-size: 1.5em;

}

.award-meta p {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.meta-label {
    font-weight: 700;
    color: #000;
}

.view-company-button{
    background: #00a651;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
}

.view-company-button:hover{
    color: #fff;
}

/* Award Content */
.award-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.award-content a{
    font-weight: bold;
    color: #00a651;
}

.award-description {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .award-grid {
        grid-template-columns: 1fr;
    }

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


/* Navigation */
.award-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.award-nav-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.prev-award {
    background: #f4f4f4;
    color: #333;
}

.next-award {
    background: #00a651;
    color: #fff;
}

.award-nav-button:hover {
    opacity: 0.8;
}

#breadcrumbs{
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .award-navigation {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Page Title */
.awards-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
}

/* Awards Table */
.awards-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.awards-table th,
.awards-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.awards-table th {
    background: #0073e6;
    color: white;
    font-weight: bold;
}

.awards-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* ViewButton */
.view-award-button {
    display: inline-block;
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    background: #0073e6;
    color: white;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.view-award-button:hover {
    background: #005bb5;
}

/* No Awards Found */
.no-awards {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    margin-top: 20px;
}

/* New Table */

/* Table Styling */
.award-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.award-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 16px;
}

.award-table th, .award-table td {
    border: 1px solid #00a651;
    padding: 12px;
    text-align: left;
}

.award-table th {
    background-color: #00a651;
    color: #fff;
    font-weight: bold;
}

.award-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.award-table tr:hover {
    background-color: #f1f1f1;
}

.award-table td a{
    color: #00a651;
    font-weight: bold;
}

/* Button Styling */
.view-button {
    display: inline-block;
    background-color: #00a651;
    color: #fff !important;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}


.view-button:hover {
    background-color: #005a87;
}

/* Accordion */

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: #00a651;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    box-sizing: revert;
    border-radius: 8px;
    margin-bottom: 24px;
}

.accordion-header:hover {
    background: #32a469;
}

.accordion-header .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-inner {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
}


/* Responsive */
@media (max-width: 768px) {
    .awards-table th,
    .awards-table td {
        padding: 10px;
    }
}







/* Contact Form 7 */

/* Container styling for the form */
.wpcf7-form {
    padding: 20px; 
    background-color: #f8f8f8;
    border: 1px solid #ddd; 
    border-radius: 5px;
    font-family: Arial, sans-serif;
  }
  
  /* Heading styling */
  .wpcf7-form h3.contact-form-report {
    text-align: left;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
  }
  
  /* Styling for text inputs, email, and textarea fields */
  .wpcf7-form-control {
    width: 100%; 
    padding: 10px;
    margin-bottom: 15px; 
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 1em;
  }
  
  /* Placeholder styling (optional) */
  .wpcf7-form-control::placeholder {
    color: #999;
    font-style: italic;
  }
  
  /* Styling for the submit button */
  .wpcf7-submit {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
  }
  
  /* Hover state for the submit button */
  .wpcf7-submit:hover {
    background-color: #005177;
  }
  
  /* Styling for the spinner (if visible) */
  .wpcf7-spinner {
    vertical-align: middle;
    margin-left: 10px;
  }

  .ts-contain {
    position: relative;
  }
  
  /* Optional: Style the error or response output if needed */
  .wpcf7-response-output {
    position: absolute;
    font-size: 2em;
    color: #fff;
    bottom: 0;
    right: 0;
    background-color: #00a651;
    max-width: 30%;
    padding: 1em !important;
    border-radius: 4px;
  }
  

  @media (max-width: 950px) {

    .wpcf7-response-output {
        font-size: 1em;
        right: 0;
        max-width: 100%;
        bottom: -18%;
    }

      .wpcf7-form {
        position: relative;
      }
      
  }