


/* ======================= */
/*   Homepage Custom CSSS */
/* ======================= */

.high-z-index-footer {
    position: relative;
    z-index: 1; 
}

.customclass1 {
    margin-top: -80px;

}


.boxshadow1 {
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.05);
}


.contactwidth {
    max-width: 1600px;
    margin: auto;

}

.contacttext {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 10px;
}

.paddingfooter {
    margin-bottom: -60px;
}

.textfooter {
    margin-top: 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .textfooter {
        text-align: center;
        font-size: 14px;
        margin-top: 5px;
        margin-bottom: 60px;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .textfooter {
        font-size: 14px;
        margin-top: 8px;
        text-align: left;
    }
}

.contact-button {
    border-radius: 6px !important;
}



/* ======================= */
/* Contact Form Custom CSS */
/* ======================= */

.test34 .nf-field-container {
    margin-bottom: .75rem;
}

.test34 select {
    padding-top: .875rem;
    padding-bottom: .875rem;
}

.test34 input,
.test34 select,
.test34 textarea {
    border-width: 0 !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    font-family: Montserrat !important;
    color: rgba(38, 50, 56, 0.8) !important;
}

.test34 input::-moz-placeholder,
.test34 textarea::-moz-placeholder {
    color: rgba(38, 50, 56, 0.8);
}

.test34 input::placeholder,
.test34 textarea::placeholder {
    color: #263238;
}

.test34 .nf-form-content {
    margin: 0;
}

.test34 .nf-form-content label {
    font-family: Montserrat;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 1);
}

.test34 .nf-form-content .list-select-wrap .nf-field-element>div {
    border-width: 0 !important;
    background-color: initial !important;
}

.test34 .list-select-wrap div:after {
    font-size: .875rem;
    line-height: 1.25rem;
    color: rgba(196, 45, 50, 1);
}

.test34 input[type=submit] {
    margin-top: 2.5rem;
    display: inline-block;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 1) !important;
    padding: .625rem 2rem !important;
    font-family: Montserrat !important;
    font-weight: 700 !important;
    color: rgba(196, 45, 50, 1) !important;
    text-decoration-line: none;
}

.test34 input[type=submit]:hover {
    background-color: rgba(196, 45, 50, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
}

.test34 .nf-before-form-content {
    display: none;
}

.test34 .nf-response-msg {
    color: rgba(255, 255, 255, 1);
}

.test34 .checkbox-wrap .nf-field-label label:after {
    border-radius: .125rem;
    border-width: 2px;
    border-color: rgba(196, 45, 50, 1);
    background-color: initial;
}

.test34 .checkbox-wrap .nf-field-label label:before {
    color: rgba(196, 45, 50, 1);
    cursor: pointer !important;
}


/* =============================================================== */
/* CSS below is to specifically apply border-radius to all fields. */ 
/* =============================================================== */

.test34 .nf-field-container input[type="text"],
.test34 .nf-field-container input[type="email"],
.test34 .nf-field-container input[type="password"],
.test34 .nf-field-container input[type="tel"],
.test34 .nf-field-container input[type="url"],
.test34 .nf-field-container input[type="number"],
.test34 .nf-field-container input[type="search"],
.test34 .nf-field-container select,
.test34 .nf-field-container textarea,
.test34 .nf-field-container .nf-element {
    border-radius: 6px !important;
}


/* =============================================================== */
/*                  Fix Checkbox white issue                        */ 
/* =============================================================== */

.test34 .checkbox-wrap .nf-field-label label.nf-checked-label:before,
.test34 .listcheckbox-wrap .nf-field-label label.nf-checked-label:before {
    color: #C42D32; /* Color for the check mark or icon */
}

/* Adjusting border color for checked state */
.checkbox-wrap .nf-field-element label.nf-checked-label:after,
.checkbox-wrap .nf-field-label label.nf-checked-label:after,
.listcheckbox-wrap .nf-field-element label.nf-checked-label:after,
.listcheckbox-wrap .nf-field-label label.nf-checked-label:after {
    border-color: #C42D32 !important; /* Important to ensure it overrides other styles */
}



/* =============================================================== */
/*                  CSS below is for Resources page                */ 
/* =============================================================== */

.ResourcesParent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 34px 87px;
    width: 100%;
    min-height: 706px;
    background-color: rgba(38, 50, 56, 0.1);
}

.ResourcesContainer {
    width: 100%;
    max-width: 1400px;
}

@media (max-width: 1024px) {
    .ResourcesParent {
        padding: 34px 20px;
    }
}

@media (max-width: 767px) {
    .ResourcesParent {
        padding: 34px 15px;
    }

    .ResourcesItems {
        flex-direction: column; /* Stack items vertically */
        gap: 32px; /* Add spacing between stacked items */
    }
}

.description {
    padding-bottom: 70px;
    max-width: 703px;
    padding-top: 33px;
}

.ResourcesItems {
    display: flex;
    flex-wrap: wrap; /* Ensure items wrap on smaller screens */
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
    width: 100%;
}

.ResourceImageContainer {
    background-color: white;
    width: 100%;
    max-width: 357px; /* Maintain consistent max-width */
    height: auto;
    border-radius: 4.49px;
    padding: 28px 23px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px; /* Reduce gap for better scaling */
    box-shadow: 0.75px 0.75px 7.49px 0 rgba(0, 0, 0, 0.05);
    max-height: 333px;
    min-height: 333px;
}

.ResourceImageListingContainer {
    background-color: white;
    width: 100%;
    max-width: 357px; /* Maintain consistent max-width */
    height: auto;
    border-radius: 4.49px;
    padding: 28px 23px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px; /* Reduce gap for better scaling */
    box-shadow: 0.75px 0.75px 7.49px 0 rgba(0, 0, 0, 0.05);;
}


.imageWrapperResources {
    height: 138px;
    align-self: center;
}

.ResourceImage {
    width: 100%;
    max-width: 311px;
    height: 138px;
}

.ResourceBookImage {
    width: auto;
    max-width: 311px;
    height: 140px;
    align-self: center;
    box-shadow: 2px 12px 23px rgba(0,0,0,0.18) !important;
}

.ResourceCaseImage {
    width: auto;
    max-width: 311px;
    max-height: 138px;
    height: auto;
    align-self: center;
}

.ResourceTitle,
.ResourceContainerTitle {
    font-family: 'Roboto Slab', sans-serif;
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
    color: #263238;
    text-align: left;
}


.ResourceCaseStudiesTitle {
    font-family: 'Roboto Slab', sans-serif;
    font-weight: 400;
    font-size: 11.99px;
    line-height: 18px !important;
    color: #263238;
    text-align: left;
}

.ResourcePapersTitle {
    font-family: 'Roboto Slab', sans-serif;
    font-weight: 400;
    font-size: 11.98px;
    line-height: 18px;
    color: #263238;
    text-align: left;
}

.ResourcesButton {
    background-color: #C42D32;
    border-radius: 6px;
    padding: 10px 32px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: white;
    text-align: center;
    transition: background-color 0.3s ease;
}

.ResourcesButton:hover {
    background-color: #972226;
}

@media (max-width: 1024px) {
    .ResourcesButton {
        font-size: 14px;
        padding: 8px 24px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 767px) {
    .ResourceImageContainer {
        width: 100%; /* Use full width on smaller screens */
    }

    .ResourcesButton {
        font-size: 14px;
        padding: 10px 20px; /* Compact button size */
    }
}

.ResourcesLink a {
    text-decoration: underline;
}

.overlineResources {
    color: #D54332; /* Text color */
  }
  
  .overlineResources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 79px;
    height: 2px;
    background-color: #D54332;
  }

  .stretchResource {
    display: flex;
    justify-content: center;
    align-items: stretch;
  }

    
/* =============================================================== */
/*                 CSS below is for Blog Page and Tags              */ 
/* =============================================================== */

.tagsContainer {
    color: #000000; 
    font-weight: 600; 
    font-size: 14px; 
    border: solid 1px #000000; 
    padding: .5rem 18px; 
    border-radius: 1000px; 
    align-self: end; 
    margin-left: auto;
  }
  
.tagsContainer:hover {
    color: #A9271C; 
    border: solid 1px #A9271C; 
  }
  
