:root {
    --emu-blue: #005AAA;
    --emu-blue-medium: #1D3768;
    --emu-blue-dark: #0F2C52;
    --emu-blue-light: #dce7f1; /* #e6f0f9;*/
    --emu-yellow-light: #F3A71E;
    --emu-yellow-medium: #DB8A26;
    --emu-yellow-dark: #CF7B28;
    --emu-gray: #EAEBEC;
    --emu-grayer: #bec6ce;
    --emu-white: #FFFFFF;
    --light-yellow: #fff3cd;
    --emu-red: #f96e56;
    --emu-directory: var(--emu-blue);
    --emu-employee: var(--emu-blue);
    --emu-student: var(--emu-yellow-light);
    --emu-registered-device: var(--success);
    --emu-unregistered-device: var(--danger);
}

h1, .h1 {
  font-size: 2.5rem;
  font-size: 2rem;
  margin-bottom: 1.25rem;

}

h2, .h2 {
  font-size: 2rem;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

h3, .h3 {
  font-size: 1.75rem;
  font-size: 1.5rem;
}

h4, .h4 {
  font-size: 1.5rem;
  font-size: 1.25rem;
}

h5, .h5 {
  font-size: 1.25rem;
  font-size: 1.125rem;
}

h6, .h6 {
  font-size: 1rem;
}

/*
a {
    color: var(--emu-blue);
}
*/

html {
    height: 100%;
    position: relative;
}

body {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    min-height: 100%;
}

.container-fluid {
    max-width: 75em;
}

.device-registration-admin .container-fluid {
    max-width: 80em;
}

.navbar-nav .nav-link {
    font-size: 0.8rem;
}

.app-logo > img {
    display: block;
    height: 20px;
    width: auto;
}

@media (min-width: 576px) {
    .navbar-nav .nav-link {
        font-size: inherit;
        font-weight: 300;
    }

    .app-logo > img {
        height: 26px;
    }
}

.app-form label {
    display: block;
}

.bg-emu-blue {
    background-color: var(--emu-blue);
}

.bg-emu-blue-dark {
    background-color: var(--emu-blue-dark);
}

.bg-emu-blue-medium {
    background-color: var(--emu-blue-medium);
}

.bg-emu-blue-light {
    background-color: var(--emu-blue-light);
}

.bg-emu-yellow-light {
    background-color: var(--emu-yellow-light);
}

.bg-emu-yellow-medium {
    background-color: var(--emu-yellow-medium);
}

.bg-emu-yellow-dark {
    background-color: var(--emu-yellow-dark);
}

.bg-emu-gray {
    background-color: var(--emu-gray);
}

.bg-emu-white {
    background-color: var(--emu-white);
}

.bg-emu-gray {
    background-color: var(--emu-gray);
}

.text-emu-blue {
    color: var(--emu-blue)!important;
}

.text-emu-blue-light {
    color: var(--emu-blue-light)!important;
}

.text-emu-blue-medium {
    color: var(--emu-blue-medium)!important;
}

.text-emu-blue-dark {
    color: var(--emu-blue-dark)!important;
}

.text-emu-yellow-light {
    color: var(--emu-yellow-light)!important;
}

.text-emu-yellow-medium {
    color: var(--emu-yellow-medium)!important;
}

.text-emu-yellow-dark {
    color: var(--emu-yellow-dark)!important;
}

.text-emu-grayer {
    color: var(--emu-grayer)!important;
}

.alert {
    border: none!important;
    border-radius: 0;
    margin-bottom: 0!important;
}

.alert h5 {
    font-size: 1rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.alert p {
    font-size: 0.85rem;
    line-height: 1.3;
}

.alert p.lead {
    font-size: 1rem;
}

.alert-success {
    background-color: var(--success);
    color: #fff;
}

.alert-info {
    background-color: var(--info);
    color: #fff;
}

.alert-warning {
    background-color: var(--warning);
    color: #fff;
}

.alert-danger {
    background-color: var(--danger);
    color: #fff;
}

.alert-link {
    color: #fff!important;
}

.alert-success a {
    color: #fff;
    font-weight: bold;
}

.alert-icon {
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

@media (min-width: 576px) {
    .alert-icon {
        font-size: 1.5rem;
    }
}

.devices {
    margin: 0;
    padding: 0;
    width: 100%;
}

.device {
    border-bottom: 1px solid var(--emu-gray);
    padding: 1rem 0.5rem;
    position: relative;
    overflow: hidden;
}

.device:last-child {
    border-bottom: none;
}

.device-icon > i {
    font-size: 1rem;
}

.device-registered .device-icon {
    color: var(--emu-registered-device);
}

.device-unregistered .device-icon {
    color: var(--emu-unregistered-device);
}

.device-mac {
    font-family: var(--font-family-monospace);
}

.device-registered {
    font-family: var(--font-family-sans-serif);
}

.device-unregister {
    font-size: 0.75rem!important;
}

.device-vendor {
    color: var(--secondary);
    font-size: 85%;
}

.device-registration-notice {
    background-color: var(--warning);
    padding: 0.25rem;
    font-size: 75%;
}

.device-terms-of-service {
    font-size: 90%;
}

.lead {
    font-size: 1.125rem;
}

.btn.disabled, 
.btn:disabled {
    opacity: .45;
}

.form-control {
    border-radius: 0;
    font-size: 0.85rem;
}

.custom-control-label::before {
    background-color: #fff;
    border: 1px solid #ced4da;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: var(--emu-grayer)!important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: var(--emu-grayer)!important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: var(--emu-grayer)!important;
}
:-moz-placeholder { /* Firefox 18- */
  color: var(--emu-grayer)!important;
}

.device-mac-address-help {
    background-color: transparent;
    border: none;
    border-radius: 0!important;
    font-size: 0.65rem;
}

.device-mac-address-help > span {
    min-width: 1.075em;
    min-width: 2ch;
}

.btn {
/*    border-radius: 0;*/
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-xs {
    padding: .25rem .5rem;
    font-size: .65rem;
    line-height: 1.3;
    font-weight: 400;
}

.font-weight-semibold {
    font-weight: 600!important;
}

/* modal overrides */
.modal-content {
    border-radius: 0;
    border: none;
    -webkit-box-shadow: 0 4px 6px rgba(0,0,0,.3);
    box-shadow: 0 4px 6px rgba(0,0,0,.3);
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding: 1rem 2rem 1.5rem;
}

.modal-body .btn {
    white-space: normal; 
}

.steps {
    background-color: var(--emu-yellow-medium);
}

.step {

}

.step.active {
    background-color: var(--emu-yellow-light);
    position: relative;
}

.step.active::before { 
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    margin-left: -15px;
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 8px solid var(--emu-blue-dark);
}

@media (min-width: 576px) {
    .btn {
        font-size: inherit;
    }

    .form-control {
        font-size: 0.95rem;
    }

    .device-mac-address-help {
        font-size: 0.75rem;
    }
}

.badge-failure {
    color: #fff;
    background-color: var(--danger);
}

.badge-none {
    color: #fff;
    background-color: var(--secondary);
}

div.dataTables_wrapper div.devices-controls label {
    display: block;
}

div.dataTables_wrapper div.dataTables_filter input {
    display: block;
    width: 100%;
    margin-left: 0;
}

.hero-btn {
    white-space: normal;
}

@media (max-width: 576px) {
    .hero-btn .display-4 {
        font-size: 2rem;
    }
}

.dashboard-item h3 {
    margin-bottom: 1.25rem;
}

