@charset "UTF-8";

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap");



/* CSS Document */

/************* CSS RESET *************/

/*** Mike's CSS Reset ***/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  /*font: inherit;*/
  vertical-align: baseline;
  list-style: none;
}
img {
  border-style: none;
}
* {
  margin: 0;
  padding: 0;
}
html {
  width: 100%;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:link {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #a4aab0;
  text-decoration: none;
}
a:active {
  color: inherit;
  text-decoration: none;
}

*,
div {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --gradient-color-red: linear-gradient(90deg,
    hsl(7, 89%, 46%) 15%,
    hsl(11, 93%, 68%) 100%);
    --gradient-color-orange: linear-gradient(90deg,
    hsl(22, 89%, 46%) 15%,
    hsl(54, 90%, 45%) 100%);
    --gradient-color-yellow: linear-gradient(90deg,
    hsl(54, 89%, 46%) 15%,
    hsl(92, 90%, 45%) 100%);
    --gradient-color-green: linear-gradient(90deg,
    hsl(92, 89%, 46%) 15%,
    hsl(92, 90%, 68%) 100%);
    --text-color: #000;
    --body-color: hsl(0, 100%, 100%);
    --container-color: hsl(0, 100%, 100%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Rubik', sans-serif;

    --biggest-font-size: 2.5rem;
    --normal-font-size: .938rem;
    --smaller-font-size: .75rem;
}



/************* MEDIA CALLS *************/

/***************/
/*   STANDARD  */
/***************/

@media (max-width: 640px) {
}

/***************/
/*   HANDHELD  */
/***************/

@media only screen and (orientation: landscape) and (max-device-width: 1024px) and (min-width:320px) {
}

/************* PAGE STYLING *************/

#page {
  width: 100%;
  height: auto;
  font-family: "Open Sans";
  font-weight: 300;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-bold-webfont.woff2") format("woff2"),
    url("../fonts/opensans-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("./../fonts/opensans-regular-webfont.woff2") format("woff2"),
    url("./../fonts/opensans-regular-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

h1,
h2,
h3 {
}

p {
}

.clear {
  clear: both;
}

/************* CUSTOM STYLING *************/

#nav {
    z-index: 1;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  border: 1px solid #d5d5d7;
  border-left: none;
  border-right: none;
  padding: 0 20px;
  background-color: #ffffff;
}

#nav_left {
  width: 50%;
  height: auto;
  float: left;
  padding: 10px 0;
}

#nav_left img {
  width: auto;
  height: 80px;
}

#nav_right {
  width: 50%;
  height: auto;
  float: right;
  padding-top: 18px;
}

#nav_right_inner  {
	width: auto;
	height: auto;
	float: right;
}

#main {
  width: 100%;
  height: auto;
  margin-top: 100px;
}

.depot_container {
  width: 100%;
  height: 150%;
  display: flex;
  border-bottom: 4px solid #00953a;
  background-image: url("../images/u.svg");
  background-size: auto 80%;
  background-position: 40px center;
  background-repeat: no-repeat;
}

.depot_full {
  width: 100%;
  height: auto;
  float: left;
  padding: 20px;
}

.depot_left {
  width: 50%;
  height: auto;
  float: left;
  padding: 20px;
}

.depot_title {
  width: 100%;
  height: auto;
  color: #00953a;
  padding-bottom: 10px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 32px;
}

.depot_details {
  width: 100%;
  height: auto;
  padding-left: 20px;
  color: #38383a;
}

.weather {
    border: #8fba38 1px solid;
    padding:5px; 
    box-sizing: border-box;
}

.battery_cs {
    width: 50%;
    border: #8fba38 1px solid;
    padding:5px;  
    box-sizing: border-box;
    float: none; 
}

.batteryBox {
    border: #8fba38 1px solid;
    padding: 10px; 
    width: auto;
    box-sizing: border-box;
}

.bagsCountBox {
  border: #8fba38 1px solid;
  padding: 10px; 
  width: auto;
  box-sizing: border-box;
}

.space {
  margin-bottom: 2em; 
}

.depot_detail_item {
  width: 100%;
  height: auto;
  padding-bottom: 24px;
}

.depot_detail_item::before {
    /*content: "- "; */
  }

  .depot_functions {
    width: 100%;
    height: auto;
    padding-top: 10px;
    padding-left: 20px;
  }

  .depot_function_item {
    width: auto;
    max-width: 120px;
    height: auto;
    text-align: center;
    background-color: #00953a;
    color: #fff;
    padding: 6px 10px;
    cursor: pointer;
  }

  .depot_function_item:hover {
    background-color: #82bc00;
  }

  .depot_right {
    width: 50%;
    height: auto;
    float: right;
    background-color: #ededee;
    padding: 20px;
  }

  .depot_cameras_container_inside {
    width: 100%;
    height: auto;
  }

  .depot_camera_inside {
    width: 100%;
    height: auto;
    float: auto;
    padding: 5px;
  }

  .depot_cameras_header_inside {
    width: 100%;
    height: auto;
    padding-bottom: 14px;
    color: #38383a;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .depot_camera_inside img {
    -webkit-transition: all 300ms 0ms ease-in-out;
    transition: all 300ms 0ms ease-in-out;
    width: 100%;
    height: auto;
  }

  .depot_camera_inside img:hover
  {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);

  }

  .depot_cameras_container {
    width: 100%;
    height: auto;
  }

  .depot_camera {
    width: 50%;
    height: auto;
    float: left;
    padding: 5px;
  }

  .depot_cameras_header {
    width: 100%;
    height: auto;
    padding-bottom: 14px;
    color: #38383a;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .depot_camera img {
    -webkit-transition: all 300ms 0ms ease-in-out;
    transition: all 300ms 0ms ease-in-out;
    width: 100%;
    height: auto;
  }

  .depot_camera img:hover
  {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);

  }
  #login_container {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }

  #login_logo {
    width: 100%;
    height: auto;
    padding: 20px 10px 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #login_logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .login_label {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
    padding-bottom: 4px;
    color: #3c3c3c;
  }

  #login_text {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
    text-align: center;
    font-weight: 700;
    color: #00953a;
    font-size: 24px;
    padding-bottom: 14px;
  }

  #login-wrap {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
  }

  .login_item {
    width: 100%;
    height: auto;
    padding-bottom: 12px;
  }

  .login_label {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
    padding-bottom: 4px;
    color: #3c3c3c;
  }

  .login_input {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
  }

  .login_input input[type="text"],
  .login_input input[type="password"] {
    width: 100%;
    height: auto;
    border: 1px solid #646464;
    padding: 8px 10px;
    font-size: 14px;
  }

  .standardbtn {
    height: auto;
    text-align: center;
    background-color: #00953a;
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    border: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
  }

  .standardbtn:hover {
    background-color: #82bc00;
  }

  .secondarybtn {
    background-color: #636363;
  }

  .secondarybtn:hover {
    background-color: #969696;
  }

  .dangerbtn {
    background-color: #dc3545;
  }

  .dangerbtn:hover {
    background-color: #ff6a79;
  }

  .alert {
    width: 300px;
    position: fixed;
    bottom: 10px;
    right: 10px;
  }



  .modal {
    display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

/*=============== BATTERY ===============*/
.battery {
    display: grid;
    place-items: center;
    margin: 0 1.5rem;
}

.battery__card {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: var(--container-color);
    border-radius: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.battery__text {
    margin-bottom: .5rem;
}

.battery__percentage {
    font-size: var(--biggest-font-size);
}

.battery__status {
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--smaller-font-size);
}

.battery__status i {
    font-size: 1.25rem;
}

.battery__pill {
    position: relative;
    width: 75px;
    height: 180px;
    background-color: var(--container-color);
    box-shadow: inset 20px 0 48px hsl(0, 0%, 16%),
    inset -4px 12px 48px hsl(0, 0%, 56%);
    border-radius: 3rem;
    justify-self: flex-end;
}

.battery__level {
    position: absolute;
    inset: 2px;
    border-radius: 3rem;
    overflow: hidden;
}

.battery__liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: var(--gradient-color-red);
    box-shadow: inset -10px 0 12px hsla(0, 0%, 0%, .1),
    inset 12px 0 12px hsla(0, 0%, 0%, .15);
    transition: .3s;
}

.battery__liquid::after {
    content: '';
    position: absolute;
    height: 8px;
    background: var(--gradient-color-red);
    box-shadow: inset 0px -3px 6px hsla(0, 0%, 0%, .2);
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -4px;
    border-radius: 50%;
}

/* Full battery icon color */
.green-color {
    background: var(--gradient-color-green);
}

/* Battery charging animation */
.animated-green {
    background: var(--gradient-color-green);
    animation: animated-charging-battery 1.2s infinite alternate;
}

/* Low battery animation */
.animated-red {
    background: var(--gradient-color-red);
    animation: animated-low-battery 1.2s infinite alternate;
}

.animated-green,
.animated-red,
.green-color {
    -webkit-background-clip: text;
    color: transparent;
}

@keyframes animated-charging-battery {
    0% {
        text-shadow: none;
    }
    100% {
        text-shadow: 0 0 6px hsl(92, 90%, 68%);
    }
}

@keyframes animated-low-battery {
    0% {
        text-shadow: none;
    }
    100% {
        text-shadow: 0 0 8px hsl(7, 89%, 46%);
    }
}

/* Liquid battery with gradient color */
.gradient-color-red,
.gradient-color-red::after {
    background: var(--gradient-color-red);
}

.gradient-color-orange,
.gradient-color-orange::after {
    background: var(--gradient-color-orange);
}

.gradient-color-yellow,
.gradient-color-yellow::after {
    background: var(--gradient-color-yellow);
}

.gradient-color-green,
.gradient-color-green::after {
    background: var(--gradient-color-green);
}


@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 1440px){
	.depot_camera  {width: 100%; margin-bottom: 20px;}
}

@media only screen and (max-width: 1440px){
	.depot_camera_inside  {width: 100%; margin-bottom: 20px;}
}

@media only screen and (max-width: 1024px){
  .depot_left, .depot_right  {width: 100%;}
}

@media only screen and (max-width: 767px){
  .modal-content {
    width: 100%;
  }
}