/*
 * Legal Disclaimer
 *
  * These web fonts are licensed exclusively for use on the following:
 * Web domains belonging to this customer.
 * U.S. Bank
 * It is strictly forbidden to download or use these fonts on any other website domain or media.
    
 *
 * While the @font-face statements below may be modified by the client, this
 * disclaimer may not be removed.
 *
 * Lineto.com, 2023
 */


/*********************************************************************************/
/* styles for the email pop-up privacy policy in the footer, the email opt-out code
/* is located in the customComponents > components > footer > atoms > layout >
/* footer-sitemap > FooterSiteMap.jsx
/*********************************************************************************/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    color: #0c2074;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.email-input-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.email-input-container input {
    flex: 1;
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
}

.opt-out-button {
    padding: 8px 16px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.opt-out-button:hover {
    background-color: #005bb5;
}

/* Overlay container for the grayed-out background after user submits email for privacy opt-out */
.success-banner-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 999; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-banner-overlay {
    position: fixed; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background-color: #005bb5;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
    z-index: 1000; 
}

.close-success-message {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #005bb5; 
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 50%;
    width: 40px; 
    height: 40px; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
/*********************************************************************************/
/* contact page styles, contact page is located in the content >  pages > custom > 
/* contact.html */
/*********************************************************************************/
#main-title {
    background: linear-gradient(to bottom right,#0d2277, #2d58c8);
    color: white; 
    text-align: center; 
    padding: 3rem 1rem; 
    margin: 0; 
}

#main-title h1 {
    font-size: 2.5rem; 
    font-weight: bold; 
    margin-bottom: 0.5rem; 
}

#main-title p {
    font-size: 1.2rem; 
    margin: 0; 
    opacity: 0.8; 
}

.contact-header{
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
}

.contact-options {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    align-items: flex-start; 
    gap: 150px; 
    margin: 0 auto; 
    margin-bottom: 100px;
    padding: 2rem 0; 
}

.contact-card {
    text-align: left; 
    background: #f8f9fa; 
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 300px; 
    min-width: 300px;
    width: 100%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.contact-card .icon {
    margin-bottom: 1rem; 
}

.contact-card .icon img {
    width: 125px; 
    height: 99.56px;
    object-fit: contain; 
    margin-bottom: 1rem; 
    display: block; 
    margin-left: auto;
    margin-right: auto; 
}

.contact-card h3 {
    font-size: 1.2rem;
    color: #0075c9; 
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    color: #555; 
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.contact-button {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    background-color: #0075c9; 
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.contact-button:hover {
    background-color: #0056b3; 
}

#customer-service-description {
    padding-bottom: 23px;
}
@media screen and (max-width: 1330px) {
    .contact-options {
        gap: 50px;
    }
}
/* Media Query for screens 768px or smaller */
@media screen and (max-width: 993px) {
    .contact-options {
        flex-direction: column; 
        gap: 50px; 
        align-items: center; 
    }

    .contact-card {
        max-width: 90%; 
        margin: 0 auto; 
    }
}

/*********************************************************************************/
/* Merchant.html page styles - merchant paragraph and form components            */
/*********************************************************************************/
#merchant-paragraph-merchant-form {
    margin-top: 50px;
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    gap: 100px;
}

#MerchantParagraph {
    /* padding-top: 30px; */
    flex: 2;
    padding-bottom: 50px;
}

#Form {
    margin-bottom: 50px;
    flex: 2;
    width: 100%;
}

@media( max-width: 1329px) {
    #Form {
        flex: 3;
    }
}

@media (max-width: 990px) {
    #merchant-paragraph-merchant-form {
        flex-direction: column; /* Reverses the order of children */
        gap: 0;
    }

    #MerchantParagraph {
        padding-top: 0;
        order: 2; /* Optional for explicit ordering */
        /* margin-bottom: 50px; */
        width: 90%;
        padding-left: 30px;
    }

    #Form {
        order: 1; /* Optional for explicit ordering */
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {

    #merchant-paragraph-merchant-form {
        margin-top: 0;
    }
}

/*********************************************************************************/
/* Partner.html page styles - the partner paragraph and form components         */
/********************************************************************************/
#partner-paragraph-partner-form {
    margin-top: 50px;
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    gap: 100px;
}

#PartnerParagraph {
  flex: 2;
  padding-bottom: 50px;
}

#Form {
    margin-bottom: 50px;
    flex: 2;
    width: 100%;
}

@media( max-width: 1329px) {
    #Form {
        flex: 3;
    }
}

@media (max-width: 990px) {
    #partner-paragraph-partner-form {
        flex-direction: column; /* Reverses the order of children */
        gap: 0;
    }

    #PartnerParagraph {
        padding-top: 0;
        order: 2; /* Optional for explicit ordering */
        width: 90%;
        padding-left: 30px;
    }

    #Form {
        order: 1; /* Optional for explicit ordering */
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {

    #partner-paragraph-partner-form {
        margin-top: 0;
    }
}

/*********************************************************************************/
/* there is a legal disclaimer in the FooterMenu.jsx, it is under the social media
/* icons so it takes the width of that column, the client wants it extended to the 
/* edge of the screen, but the FooterMenu is an atom and doesn't have styles at the
/* same level, because only one element needs to be styled and the width of the text
/* needs to change to be responsive here are the widths for the different screen 
/* styles, a note will be made in the component itself
/********************************************************************************/
.legal-disclaimer {
    width: 21vw;
}

@media (max-width: 1330px) {
    .legal-disclaimer {
        width: 20vw;
    }
}

@media (max-width: 1199px) {
    .legal-disclaimer {
        width: 60vw;
    }
}

@media (max-width: 720px) {
    .legal-disclaimer {
        width: 50vw;
    }
}

@media (max-width: 479px) {
    .legal-disclaimer {
        width: 80vw;
    }
}