﻿/* 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;
}

/*
.login-card {
    width: 50%;
    max-width: 400px;
}

@media (max-width: 400px) {
    .login-card {
        width: 100%;
    }
}
*/

.camera-param-text {
    font-size: 11px;
    margin-bottom: 3px;
}

@media (min-width: 992px) {
    html {
        font-size: 16px;
    }

    .camera-param-text {
        font-size: 15px;
    }
}

.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 */
}

.image-container {
    position: relative;
    min-width: 160px
}

.camera-screen {
    width: 320px;
    height: 240px;
}

.camera-screen-single {
    min-width: 128px;
    min-height: 128px;
    max-width: 100%;
}

.camera-panel {
    min-width: 320px;
    margin: auto;
}

.camera-name {
    padding: 5px;
    font-weight: bold;
    font-size: 13px;
}

.camera-short-info {
    font-weight: bold;
    font-size: 9px;
}

.camera-short-info span {
    font-weight: normal;
    font-size: 9px;
    height:auto;
}

.led-status {
    display: inline-block;
    font-size: 11px;
    border-radius: 3px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 10px;
    min-width: 95px;
    cursor: pointer;
}


.led-status-single {
    display: inline-block;
    font-size: 11px;
    border-radius: 3px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    min-width: 110px;
    cursor: pointer;
    text-align: center;
}

.restart-single {
    display: inline-block;
    font-size: 11px;
    border-radius: 3px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    min-width: 110px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    background: #eb8e1a;
    color: #FFFFFF;
}

.take-photo-single {
    display: inline-block;
    font-size: 11px;
    border-radius: 3px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    min-width: 110px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    background: #00ce1d;
    color: #121212;
}

.camera-param-bool {
    display: inline-block;
    font-size: 11px;
    border-radius: 3px;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    min-width: 95px;
    cursor: pointer;
    text-align: center;
}

.camera-param-bool-off {
    font-weight: bold;
    background: #aeabab;
    color: #000000;
}

.camera-param-bool-on {
    font-weight: bold;
    background: #00c710;
    color: #FFFFFF;
}

.led-status-on {
    font-weight: bold;
    background: #ffd800;
    color: #000000;
}

.led-status-off {
    font-weight: bold;
    background: #808080;
    color: #FFFFFF;
}

.camera-screen-border {
    border-radius: 5px;
    background: #000000;
    color: gainsboro;
    width: 320px;
    margin: auto;
}

.camera-id-url{
    padding:3px;
}

.camera-temperature-wifi-rssi {
    padding: 3px;
}

.camera-resolution {
    position: absolute;
    right: 4px;
    top: 4px;
    line-height: 100%;
    vertical-align: top;
    font-size: 9px;
    font-weight: bold;
    color: #ffd800;
    background-color: rgba(0, 0, 0, .3);
    padding: 4px;
    border-radius: 3px;
}

.cameras-list-button {
    display: inline-block;
    font-size: 11px;
    padding: 2px;
    padding-left: 15px;
    padding-right: 20px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    border-radius: 3px;
    background-color: rgba(24, 97, 172, 0.1);
    color: #1861ac;
    text-decoration: none;
}

.cameras-list-button:hover {
    text-decoration: none;
}

.gallery-element {
    display: inline-block;
    position:relative;
}

.gallery-image {
    margin:5px;
    max-width: 144px;
    max-height: 108px;
}

.gallery-image-time {
    max-width: 144px;  
    font-size: 9px;
}

.remove-image-button {
    width: 12px;
    height: 12px;
    background-image: url(../images/delete-icon.png);
    background-size: contain;
    /*background-color: white;*/
}

.remove-image-panel {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    padding: 4px;
    background-color: white;
    border-radius: 5px;
}
