/* Yleinen fontti kaikelle */
body, html, table, td, th, h1, h4, h6, p, a, small, div {
    font-family: Arial, sans-serif !important;
}

/* Link color */
a {
    color: #053790; /* Replace with your desired hex color */
    text-decoration: none; /* Optional: removes underline */
}

a:hover {
    color: #053790; /* Optional: darker shade on hover */
    text-decoration: underline; /* Optional: adds underline on hover */
}

/* Yleiset taustan ja värien asetukset */
html {
    background: #f3f3f5 !important;
    min-height: 100%;
}

body {
    background: #f3f3f5 !important;
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5714;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

/* Tekstikoot ja marginaalit mobiilissa */
@media only screen and (max-width: 596px) {
    .small-text-left {
        text-align: left !important;
    }

    table.body img {
        width: auto;
        height: auto;
    }

    table.body center {
        min-width: 0 !important;
    }

    table.body .container {
        width: 95% !important;
    }

    table.body .columns {
        box-sizing: border-box;
        padding-left: 0px !important;
        padding-right: 16px !important;
    }

    th.small-2 {
        display: inline-block !important;
        width: 16.66667% !important;
    }

    th.small-10 {
        display: inline-block !important;
        width: 83.33333% !important;
    }

    th.small-12 {
        display: inline-block !important;
        width: 100% !important;
    }

    .company-logo {
        height: 35px !important;
        margin-bottom: 8px !important;
    }

    h1 {
        font-size: 26px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    p.lead {
        font-size: 16px !important;
    }

    .main-wrapper {
        margin: 0 auto !important;
    }
}

/* Lomakkeen ja painikkeen tyyli */
input[type="submit"] {
    background-color: #063790;
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #04285f;
}

input[type="text"], font {
    font-family: Arial, sans-serif;
    font-size: 14px;
}


input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus {
    border-color: #063790;
    box-shadow: 0 0 5px rgba(6, 55, 144, 0.5);
    outline: none;
}

table {
    border-collapse: separate;
    text-indent: initial;
    line-height: normal;
    font-weight: normal;
    font-size: medium;
    font-style: normal;
    color: -internal-quirk-inherit;
    text-align: start;
    border-spacing: 0px !important;
    padding: -10px !important;
    white-space: normal;
    font-variant: normal;
}

#fromfrom {
    margin-top: 0px !important;
}

#submit {
    margin-top: 10px !important;
}

/* Tietosuoja-checkboxin tyylit */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #0a0a0a;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 5px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #063790;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #063790;
    text-decoration: underline;
}

.checkbox-label a:hover {
    text-decoration: none;
}