﻿html, body {
    height: 100%;
}

body {
    padding-top: 0px;
}

label {
    margin-bottom: 0 !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* pop-up */
#popup-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.8em;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    background-color: #f68e23;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
}

#popup-bottom button {
    font-size: .9em;
    min-width: 140px;
    margin-left: 33px;
}


/* styles for validation helpers */
.field-validation-error {
    color: #e94f4f;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e94f4f !important;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e94f4f !important;
}

.validation-summary-errors ul {
    list-style: none;
    margin-left: -25px;
}

.validation-summary-valid {
    display: none;
}

.nav-tabs .nav-link.active {
    background-color: #007bff !important;
    color: #fff !important;
}

#firmwareAccordion .card-header {
    background-color: #007bff !important;
}

#firmwareAccordion .card-header .btn-link {
    color: #fff !important;
}

#firmwareAccordion2 .card-header {
    background-color: #007bff !important;
}

#firmwareAccordion2 .card-header .btn-link {
    color: #fff !important;
}



.site-container {
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
}

.site-container > .site-content {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20vh;
}

.site-container > .footer {
    margin-top: auto;
}

.site-message {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    max-width: 600px;
    padding: 0 20px;
}

.site-link {
    color: #007bff;
}

.link-help {
    vertical-align: middle;
    color: white;
    background-color: #ff8c00;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
}

.link-help:hover {
    text-decoration: none;
    color: white;
    background-color: #e7932f;
}

.no-select {
    user-select: none;
}

.navbar {
    position: sticky !important;
    top: 0;
    z-index: 1;
}

/*************** Begin JSW Section ******************/
.jsw-background {
    background-color: #222 !important;
    color: #fff;
}

#remoteSupport {
    text-decoration: none;
}

#remoteSupport:link {
    color: #212529;
}

#remoteSupport:hover {
    color: #0056b3;
}

@media (max-width: 576px) {
    .jsw-login-button {
        width: 280px;
    }

    .jsw-login-button .btn {
        float: right;
    }
}

@media (min-width: 992px) {
    .jsw-login-mr-lg-3 {
        margin-right: 303px;
    }
}



/***********************/
/* Bootstrap overrides */
/***********************/

.navbar-collapse {
    flex-grow: initial !important;
}

/* From Login CSS */

@media (min-width: 476px)
{
    .message__container
    {
        max-width: 500px;
    }
}

.message__container
{
    display: flex;
    flex-direction: column;
    margin: 10px auto;
    padding: 20px;
}

.message__container-header
{
    align-self: center;
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.message__form-container
{
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/***From login styles*/

@media (min-width: 476px)
{
    .message-form__container
    {
        max-width: 500px;
    }
}


.message__form-header
{
    margin-bottom: 20px;
}

.message__form
{
    margin-left: 20px;
    margin-right: 20px;
}

.message__form-group
{
    display: flex;
    flex-direction: column;
}

.message__form-link
{
    align-self: center;
    padding: 6px 10px;
}

