﻿/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

body > .container {
    padding: 20px 15px 0;
    margin-top: 56px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

form .error {
    color: red;
}

.was-validated .custom-control-input:valid ~ .custom-control-label {
    color: inherit;
}

.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
    border-color: #adb5bd;
}

.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}

.invalid-feedback {
    font-size: 1rem;
    font-weight: bold;
}

.was-validated .custom-control-input ~ label.error {
    display: none !important;
}

.navbar-brand {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .navbar-brand {
        margin-left: auto;
        margin-right: 0;
    }
}

.checkbox {
    margin-right: 10px;
    transform: scale(1.5);
}