﻿body {
    background-color: #f8f9fa;
    padding-bottom: 20px;
    padding-top: 50px;
}

.welcome-page .logo {
    width: 64px;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
    display: none;
    height: 0;
    width: 0;
}

.grants-page .card {
    border-bottom: 1px solid lightgray;
    margin-top: 20px;
}

.grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold;
}

.grants-page .card .card-title img {
    height: 100px;
    width: 100px;
}

.grants-page .card label {
    font-weight: bold;
}

img.site-logo {
    margin-bottom: 60px;
    max-width: 200px;
}

#LoginButton {
    width: 100%;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

label {
    color: #222;
    display: block;
    font-weight: 700;
    text-align: start;
}

form {
    display: inline-block;
    text-align: center;
}

.navbar a {
    color: white;
}

.terms-list {
    list-style-type: none;
}

.tooltip {
    position: relative;
    display: inline-block;
    text-align: center;
}

.form-control {
    height: 45px;
    width: 100%;
}

.form-group {;
    margin-bottom: 10px;
    text-align: start;
    width: 100%;
}

.form-button {
    margin-top: 20px;
}

.form-check {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.form-check-label {
    margin-top: 4px;
}

.hilight {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #FFF;
    max-width: 900px;
    margin: auto;
    margin-top: 100px;
    padding-bottom: 1%;
    padding-top: 2%;
    text-align: center;
    width: auto;
}

.tooltip {
    display: inline-block;
    position: relative;
    max-width: 210px;
}

.tooltip .tooltiptext {
    background-color: black;
    border-radius: 6px;
    color: #fff;
    padding: 5px;
    text-align: center;
    visibility: hidden;
    width: 120px;

    /* Position the tooltip */
    position: relative;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/**
Override the bootstrap tooltip opacity
 */
.wholesaler-list .tooltip {
    opacity: 1;
}

.identity-page-container {
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 5px;
    padding: 45px 105px;
    width: 100%;
}

h2 {
    color: #000;
}

h3 {
    color: #000;
    font-weight: 700;
    font-size: 30px;
    margin: 0;
}

h4 {
    color: #000;
    font-size: 20px;
    margin: 0;
}

h5 {
    color: #000;
    font-size: 18px;
}

p {
    color: #000;
    margin: 14px;
}

.btn {
    width: 100%;
}

.btn-primary {
    background-color: #2E4650;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:active:hover {
    background-color: white !important;
    border: 1px solid #333 !important;
    color: #333 !important;
}

.identity-page-container form {
    margin: 20px 0 0;
}

.identity-login-bottom-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 14px 0 0;
}

.identity-login-bottom-links .checkbox {
    margin: 0;
}

.identity-form {
    width: 100%;
}

.alert-danger {
    font-size: 16px;
    font-weight: 700;
}

.identity-form-description-text {
    margin-bottom: 0;
}

.identity-form-list-description {
    margin: 14px 0 6px;
    text-align: start;
}

.identity-page-container ul {
    color: #000;
    padding-left: 30px;
    text-align: start;
}

.modal-header {
    display: flex;
}

.modal-title {
    margin-left: auto;
}

.modal-header button {
    margin: 0 0 auto auto;
}

.modal-body {
    text-align: start;
}

.modal-footer button {
    margin-left: auto;
    width: 200px;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5)
}

.wholesaler-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
}

.wholesaler-card {
    border: 1px solid rgba(225, 225, 225);
    border-radius: 5px;
    box-shadow: rgba(100, 100, 111, 0.2) 0 4px 4px 0;
    margin: 8px;
}

.wholesaler-card-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 30px 15px 15px;
    width: 180px;
    height: 100px;
}

.wholesaler-card-content img {
    max-width: 100%;
    max-height: 100%;
}

/* Short Screens */
@media screen and (max-height: 700px) {
    body {
        padding-top: 25px;
    }

    .hilight {
        margin-top: 0;
    }
}

/* Small windows and tablets */
@media screen and (max-width: 768px) {
    .identity-page-container {
        border-radius: 0;
        padding: 55px 60px;
    }

    .wholesaler-list .tooltip {
        width: 100%;
    }

    .wholesaler-card-content {
        margin: 30px auto 15px;
    }
}

.qrCenter {
    text-align: -webkit-center;
}

/* Phones*/

@media screen and (max-width: 576px) {
    .identity-page-container {
        padding: 25px;
    }

    .modal-footer button {
        margin: 0;
        width: 100%;
    }
}

.bb-link {
    color: #337ab7;
    text-decoration: none;
}

.bb-link:focus, .bb-link:hover {
    color: #23527c;
    text-decoration: underline;
}

.btn:disabled {
    background-color: white !important;
    border: 1px solid #333 !important;
    color: #333 !important;
}

.form-group > label {
    margin-bottom: 5px;
}

.wealth-advisor-logo {
    max-width: 500px;
    width: 100%;
    object-fit: scale-down;
}

.wealth-advisor-color {
    color: #052a63;
}

h3.wealth-advisor-color {
    font-weight: 500;
}

label.wealth-advisor-color {
    font-weight: 500;
}

a.wealth-advisor-link {
    color: #4178ff;
    text-decoration: none;
}

a.wealth-advisor-link:hover {
    color: #4178ff;
    text-decoration: underline;
}

.wealth-advisor-button {
    color: white;
    background-color: #4178ff;
    text-align: left;
    width: 100%;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    padding: 15px 6px 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    height: 48px;
}

.button-text {
    flex-grow: 1;
    text-align: left;
}

.arrow-circled-icon {
    width: 36px;
    height: 36px;
    fill: white;
}

.pa-10px {
    padding: 10px;
}

.mw-160px {
    max-width: 160px;
}

.mt-24px {
    margin-top: 24px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.rounded-8px {
    border-radius: 8px;
}

.mb-56px {
    margin-bottom: 56px;
}

.validation-summary-errors > ul > li {
    color: #dc3545 !important;
}
