﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* 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%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Bootstrap select 
---------------------------------------------------------------*/
.bootstrap-select .dropdown-menu > li > a small.muted {
    display: none;
}

.bootstrap-select .dropdown-toggle .filter-option {
    position: relative;
    padding-left: 38px;
}

.bootstrap-select .dropdown-toggle .filter-option:before {
    font-size: 14px;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}


/* Custom CSS */
.tableFixHead {
    overflow: auto;
    height: 500px;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Just common table stuff. Really. */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 8px 16px;
}

th {
    background: #eee;
}


/* Bootstrap tooltip 
---------------------------------------------------------------*/
.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #18314F;
    border-radius: .25rem;
}

.LockOn {
    display: block;
    visibility: visible;
    position: absolute;
    z-index: 1100;
    top: 0px;
    left: 0px;
    width: 105%;
    height: 105%;
    background-color: white;
    vertical-align: bottom;
    padding-top: 20%;
    filter: alpha(opacity=75);
    opacity: 0.75;
    font-size: large;
    color: blue;
    font-style: italic;
    font-weight: 400;
    background-image: url("/images/loader.gif");
    background-size: 3%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

/* Customize Navi Bar Color 
-------------------------------------------------------------*/
.dropdown-item:hover {
    background-color: #EBF5FB;
}
.dropdown-item:active {
    background-color: #0d6efd;
}

/* Fullscreen Model 
-------------------------------------------------------------*/
.modal.modal-fullscreen .modal-dialog {
    width: 90vw;
    height: 90vh;
    margin: 0;
    padding: 0;
    max-width: none;
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
}

.modal.modal-fullscreen .modal-content {
    height: auto;
    height: 90vh;
    border-radius: 0;
    border: none;
}

.modal.modal-fullscreen .modal-body {
    overflow-y: auto;
}


/* Drag and Drop input file
-------------------------------------------------------------*/
.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 80px 0px 105px 20%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}

    .files input:focus {
        outline: 2px dashed #92b0b3;
        outline-offset: -10px;
        -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
        transition: outline-offset .15s ease-in-out, background-color .15s linear;
        border: 1px solid #92b0b3;
    }

.files {
    position: relative
}

    .files:after {
        pointer-events: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 50px;
        right: 0;
        height: 56px;
        content: "";
        display: block;
        margin: 0 auto;
        background-size: 100%;
        background-repeat: no-repeat;
    }

.color input {
    background-color: #f1f1f1;
}

.files:before {
    position: absolute;
    bottom: 10px;
    left: 0;
    pointer-events: none;
    width: 100%;
    right: 0;
    height: 57px;
    content: " or drag it here. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}

.SignageContainer {
    width: 100%;
    padding: 20px 20px;
    align-content: center;
    background-color: silver;
}

.SignageContainer table {
    margin: 0 auto;
    background-color: lightcyan;
}

.SignageContainer table th {
    margin: 0 auto;
    background-color: skyblue;
}

.SignageContainer .card {
    background-color: lightcyan;
}

.SignageContainer .card-body {
    padding: 10px;
}

@media (min-width: 1920px) {
    .SignageContainer {
        max-width: 1920px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

/* Highlight changed values from backup
-------------------------------------------------------------*/
.changed-value {
    background-color: #ffff99;
    font-weight: 500;
}