/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 75px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 75px;
    padding-top: 15px;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .main {
    padding: 60px 0;
    font-family: YuGothic;
    font-weight: 500;
    font-size: 13px;
}

p {
    margin: 0;
}

input {
    border: #C9D3D9 solid 1px;
    border-radius: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.button {
    font-weight: 700;
    border-radius: 4px;
    padding: 13px 25px;
}

.primary_button {
    background: #1847C6;
    border: solid 1px #1847C6;
    color: #FFFFFF;
}

.secondary_button {
    background: transparent;
    color: #1847C6;
    border: solid 1px #1847C6;
}

.text_danger {
    color: #F04135;
    font-weight: 700;
}

.required span {
    margin-left: 1em;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #FFFFFF;
    background-color: #F04135;
}

.card_wrapper {
    right: 0;
    margin: 0 auto;
    position: relative;
}

.card_form {
    position: absolute;
    text-align: center;
    width: 100%;
}

.card_content {
    position: relative;
    text-align: center;
    background: #F5F7F8;
    border-radius: 16px;
    overflow:hidden;
    padding-bottom: 24px;
}

.card_content .card_body {
    margin: 0 52px;
}

.card_title {
    font-weight: 700;
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 39px;
}

.card_content .language {
    margin: 16px 24px 0px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.card_content .language img {
    margin-right: 3px;
}

.card_content .language select {
    color: #6F819A;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
}

.card_content .card_button {
    margin-top: 24px;
}

@media (max-width: 768px) {
    body {
        margin-bottom: 90px;
    }

    .footer {
        height: auto;
        max-height: 90px;
    }

    .card_content .card_body {
        margin: 0 16px;
    }

    .card_title {
        margin-top: 32px;
        margin-bottom: 24px;
    }

    .card_content .language {
        margin: 24px 16px 16px;
    }
}
