
/*
 * Tink's Contact Page Redesign
 * Version 0.0.3
 * Scope: /general-contact
 */

html.tinks-contact-v1 body.page-form #content {
    padding-top: 28px !important;
    padding-bottom: 44px !important;
    background: #f4f5f6;
}

html.tinks-contact-v1 #System_XVUKGrfo {
    max-width: 1500px;
    margin: 0 auto;
}

html.tinks-contact-v1 #System_XVUKGrfo > #container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

/* kill legacy spacing rules inside this page */
html.tinks-contact-v1 #System_XVUKGrfo .col-sm-12,
html.tinks-contact-v1 #System_XVUKGrfo .col-sm-10,
html.tinks-contact-v1 #System_XVUKGrfo .col-sm-6,
html.tinks-contact-v1 #System_XVUKGrfo .col-sm-2 {
    margin-top: 0 !important;
}

/* Hero */
html.tinks-contact-v1 .tc-contact-hero {
    background: #fff;
    border: 1px solid #dfe3e7;
    border-radius: 20px;
    padding: 34px 38px;
    margin-bottom: 22px;
}

html.tinks-contact-v1 .tc-kicker {
    margin: 0 0 7px;
    color: #7c8791;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

html.tinks-contact-v1 .tc-contact-hero h1 {
    margin: 0 0 10px !important;
    color: #20242a !important;
    font-family: "Titillium Web", Arial, sans-serif !important;
    font-size: 38px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
}

html.tinks-contact-v1 .tc-contact-hero p {
    max-width: 920px;
    margin: 0 !important;
    color: #5d6873;
    font-size: 16px;
    line-height: 1.6;
}

/* Spare-parts callout */
html.tinks-contact-v1 .tc-parts-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: #eef8e8;
    border: 1px solid #cfe7be;
    border-left: 5px solid #8bd000;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 22px;
}

html.tinks-contact-v1 .tc-parts-copy {
    min-width: 0;
}

html.tinks-contact-v1 .tc-parts-title {
    margin: 0 0 4px;
    color: #20242a;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}

html.tinks-contact-v1 .tc-parts-text {
    margin: 0;
    color: #596472;
    font-size: 14px;
    line-height: 1.5;
}

html.tinks-contact-v1 .tc-parts-button {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #cfd5da;
    border-radius: 9px;
    background: #fff;
    color: #20242a !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

html.tinks-contact-v1 .tc-parts-button:hover,
html.tinks-contact-v1 .tc-parts-button:focus-visible {
    background: #f4f5f6;
    border-color: #bfc6cc;
}

/* Form shell */
html.tinks-contact-v1 .tc-form-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

html.tinks-contact-v1 .tc-form-card,
html.tinks-contact-v1 .tc-side-card {
    background: #fff;
    border: 1px solid #dfe3e7;
    border-radius: 20px;
    box-sizing: border-box;
}

html.tinks-contact-v1 .tc-form-card {
    padding: 30px 32px 32px;
}

html.tinks-contact-v1 .tc-side-card {
    padding: 24px;
}

html.tinks-contact-v1 .tc-form-card legend {
    width: 100% !important;
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e8eb !important;
    color: #20242a !important;
    font-family: "Titillium Web", Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

html.tinks-contact-v1 #pageform {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Field layout */
html.tinks-contact-v1 #pageform > .form-group {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 0 0 18px !important;
}

html.tinks-contact-v1 #pageform > .form-group > .control-label {
    width: auto !important;
    float: none !important;
    padding: 10px 0 0 !important;
    margin: 0 !important;
    color: #30363c !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

html.tinks-contact-v1 #pageform > .form-group > div {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
}

html.tinks-contact-v1 #pageform .form-control {
    width: 100% !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    border: 1px solid #cfd5da !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #20242a !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: border-color .16s ease, box-shadow .16s ease;
}

html.tinks-contact-v1 #pageform textarea.form-control {
    min-height: 150px !important;
    resize: vertical;
}

html.tinks-contact-v1 #pageform .form-control:focus {
    border-color: #8bd000 !important;
    box-shadow: 0 0 0 3px rgba(139,208,0,.13) !important;
    outline: none !important;
}

html.tinks-contact-v1 #pageform .text-help {
    margin: 6px 0 0 !important;
    color: #7a848e !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

html.tinks-contact-v1 #pageform .required > .control-label::after {
    content: " *";
    color: #d94b45;
}

/* Captcha */
html.tinks-contact-v1 #pageform .cicaptcha {
    margin: 24px 0 0;
    padding-top: 22px;
    border-top: 1px solid #e5e8eb;
}

html.tinks-contact-v1 #pageform .cicaptcha fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

html.tinks-contact-v1 #pageform .cicaptcha legend {
    margin-bottom: 14px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 18px !important;
}

html.tinks-contact-v1 #pageform .cicaptcha .form-group {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 0 !important;
}

html.tinks-contact-v1 #pageform .cicaptcha .control-label {
    width: auto !important;
    float: none !important;
    padding: 10px 0 0 !important;
    margin: 0 !important;
    color: #30363c !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

html.tinks-contact-v1 #pageform .cicaptcha .col-sm-10 {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

html.tinks-contact-v1 #pageform #input-captcha {
    flex: 1 1 180px;
    max-width: 280px;
}

html.tinks-contact-v1 #pageform .cicaptcha img {
    display: block !important;
    width: auto !important;
    max-width: 180px !important;
    height: 44px !important;
    max-height: 44px !important;
    object-fit: contain;
    border: 1px solid #cfd5da;
    border-radius: 7px;
    background: #fff;
}

/* Submit */
html.tinks-contact-v1 #pageform .buttons {
    margin-top: 24px !important;
    padding-top: 0 !important;
    border: 0 !important;
}

html.tinks-contact-v1 #pageform .buttons .pull-left {
    float: none !important;
    width: auto !important;
}

html.tinks-contact-v1 #button-submit {
    min-width: 190px !important;
    min-height: 46px !important;
    padding: 0 22px !important;
    border: 1px solid #77b600 !important;
    border-radius: 9px !important;
    background: #8bd000 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html.tinks-contact-v1 #button-submit:hover,
html.tinks-contact-v1 #button-submit:focus-visible {
    background: #77b600 !important;
    border-color: #6ba500 !important;
}

/* Side guidance */
html.tinks-contact-v1 .tc-side-kicker {
    margin: 0 0 6px;
    color: #7c8791;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

html.tinks-contact-v1 .tc-side-card h3 {
    margin: 0 0 12px !important;
    color: #20242a !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
}

html.tinks-contact-v1 .tc-side-item {
    padding: 13px 0;
    border-top: 1px solid #e5e8eb;
}

html.tinks-contact-v1 .tc-side-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

html.tinks-contact-v1 .tc-side-item strong {
    display: block;
    margin-bottom: 3px;
    color: #20242a;
    font-size: 13px;
}

html.tinks-contact-v1 .tc-side-item span {
    display: block;
    color: #66717c;
    font-size: 12px;
    line-height: 1.45;
}

/* remove legacy outer content generated by page */
html.tinks-contact-v1 #System_XVUKGrfo .secondary-title,
html.tinks-contact-v1 #System_XVUKGrfo > #container > .row > .col-sm-12 > p.tc-original-intro-hidden {
    display: none !important;
}

@media (max-width: 900px) {
    html.tinks-contact-v1 .tc-form-shell {
        grid-template-columns: 1fr;
    }

    html.tinks-contact-v1 .tc-side-card {
        order: -1;
    }
}

@media (max-width: 650px) {
    html.tinks-contact-v1 body.page-form #content {
        padding: 18px 16px 30px !important;
    }

    html.tinks-contact-v1 .tc-contact-hero {
        padding: 26px 22px;
        border-radius: 16px;
    }

    html.tinks-contact-v1 .tc-contact-hero h1 {
        font-size: 31px !important;
    }

    html.tinks-contact-v1 .tc-parts-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    html.tinks-contact-v1 .tc-parts-button {
        width: 100%;
    }

    html.tinks-contact-v1 .tc-form-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    html.tinks-contact-v1 #pageform > .form-group,
    html.tinks-contact-v1 #pageform .cicaptcha .form-group {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    html.tinks-contact-v1 #pageform > .form-group > .control-label,
    html.tinks-contact-v1 #pageform .cicaptcha .control-label {
        padding-top: 0 !important;
    }

    html.tinks-contact-v1 #button-submit {
        width: 100% !important;
    }
}
