﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption {
    z-index: 10 !important;
}

    .carousel-caption p {
        font-size: 20px;
        line-height: 1.4;
    }

@media (min-width: 768px) {
    .carousel-caption {
        z-index: 10 !important;
    }
}

.redirect-wait-indicator {
    margin: 1em;
}

.field-validation-valid {
    display: none;
}

.credentials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    min-width: 300px;
}

.credentials .credential {
    border: 1px solid black;
    margin: 1em;
    box-shadow: rgba(0,0,0,0.2) 5px 5px;
    padding-top: 0.5em;
    text-decoration: none;
    width: 180px;
    color: black;
    font-weight: bold;
    text-align: center;
}

.credentials .credential:hover {
    background-color: #d0d0d0;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.credentials .credential img {
    border-radius: 3px;
    margin: 0.5em;
}
    
.credentials .credential .name {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.credentials .credential .hetu {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

    .credentials .credential .remove {
        border-top: 1px solid #D0D0D0;
        margin-top: 10px;
        display: block;
        padding-top: 0.5em;
        letter-spacing: 1px;
        padding-bottom: 0.5em;
    }

        .credentials .credential .remove:hover {
            background: #B04040;
            color: white;
            border-top: 1px solid #000;
        }
