.clear { clear: both !important; }

#login-container { background: url(../images/bg-login.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; width: 100%; height: 100vh; display: block; }
#login-container #login-box { width: 380px; padding: 20px; background: #fff; border: solid 1px #ebebeb; border-radius: 5px; margin-left: 50%; left: -190px; top: 120px; position: absolute; }

#content { margin-top: 15px; }
.content-data { margin-top: 15px; margin: 10px 0 15px 0; } 

#top-nav-bar { padding: 10px 0; border-bottom: solid 1px #e9e9e9; }

.sidebar-nav ul.child-menu { list-style: none; margin: 0; padding: 0; padding-left: 20px; } 
.sidebar-nav .child-submenu { list-style: none; margin: 0; padding-left: 20px; position: relative; } 

.separator-grey { border-bottom: solid 1px #e9e9e9; margin-bottom: 15px; }

.maps { width: 100%; height: 300px; display: block; margin-bottom: 15px; }

#chart-transaction, #chart-food-stock { width: 100%; max-width: 100%; height: 300px; display: block; }

.info-wrapper { border: solid 1px #e9e9e9; border-radius: 5px; padding: 10px; margin-bottom: 20px; }
.info-wrapper h3 { padding: 0 !important; margin: 0 !important; }
.info-wrapper strong small { font-style: italic; }

.fa.fa-info-circle:hover {
  cursor: pointer;
}
.fa.fa-times {
  color: red;
}
.fa.fa-times:hover {
  cursor: pointer;
}

table#transactionSummary, table#transactionSummary tr, table#transactionSummary td {
  border: solid 1px #e9e9e9;
}
table#transactionSummary tr td {
  padding: 10px;
  padding-right: 20px;
}
.strong {
  font-weight: bold;
}
#group-time-range .time-range {
  border: 1px solid #eee;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.margin-5{
  margin: 5px;
}
.top2 { margin-top:2%; } 
.bottom2 { margin-bottom:2%; } 
.top5 { margin-top:5%; } 
.mh1 {
  margin-right:1%;
  margin-left:1%;
}
.right2 { margin-right:2%; } 

.rightpx20 { margin-right: 20px; }
.clickable
{
    cursor: pointer;
}

.clickable .glyphicon
{
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px
}

a.clickable { color: inherit; }
a.clickable:hover { text-decoration:none; }

.form-inline .form-control { 
  display: inline-block !important;
}

.width-ten-rem { 
  width:10rem;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.sortorder:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0dd";
}
.sortorder.reverse:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0de";
}
.sortbutton {
  color: black;
}
.overflow-hidden {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.video-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2px;
  background-color: black;
}
.video-controls {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2px 4px;
  opacity: 0;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  -o-transition: opacity .3s;
  -ms-transition: opacity .3s;
  transition: opacity .3s;
  background-image: linear-gradient(bottom, rgb(3, 113, 168) 13%, rgb(0, 136, 204) 100%);
  background-image: -o-linear-gradient(bottom, rgb(3, 113, 168) 13%, rgb(0, 136, 204) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(3, 113, 168) 13%, rgb(0, 136, 204) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(3, 113, 168) 13%, rgb(0, 136, 204) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(3, 113, 168) 13%, rgb(0, 136, 204) 100%);

  background-image: -webkit-gradient(linear,
      left bottom,
      left top,
      color-stop(0.13, rgb(3, 113, 168)),
      color-stop(1, rgb(0, 136, 204)));
}

.video-container:hover .video-controls,
.video-container:hover .video-header {
  opacity: .9;
}

.video-controls small {
  color: #EEE;
  font-size: 10px;
  margin: 0 2px;
}

.mute {
  margin-left: 2px;
}

.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #028c00;
  font-size: 30px;
  z-index: 999;
}

.video-controls .select-resolution {
  background: rgba(0, 0, 0, .5);
  border: 0;
  color: #EEE;
  max-width: 60px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  margin: 0 2px;
  font-size: 8pt !important;
}

.video-controls button,
.video-header button {
  background: rgba(0, 0, 0, .5);
  border: 0;
  color: #EEE;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.video-controls button:hover {
  cursor: pointer;
}

.seek-bar {
  flex: 1;
  margin: 0 3px;
}

.volume-bar {
  width: 17% !important;
  margin: 0 3px;
}
.col-lg-3 .volume-bar {
  display: none;
}

.video-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2px 4px;
  background: rgba(0, 0, 0, .5);
  color: #EEE;
  font-size: 10px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  opacity: 0;
}

video.fullscreen[data-rotate="0"],
video.fullscreen[data-rotate="180"] {
  height: 100% !important;
}

video.fullscreen[data-rotate="90"],
video.fullscreen[data-rotate="270"] {
  height: 80% !important;
}

.video-header p {
  font-size: 1.8rem;
  margin-left: 5px;
}

.btn-rotate {
  margin-left: 2px;
  margin-right: 2px;
}

.btn-play {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #18b01e;
  border: 3px solid white;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
  display: none;
  justify-content: center;
  align-items: center;
}

.btn-play.active {
  display: flex;
}

.video-player {
  padding-left: 1px !important;
  padding-right: 1px !important;
  border: 5px solid #ddd;
  background-color: black;
}

.hidden-mobile {
  display: inline-block !important;
}

.flex {
  display: flex;
}

.button-container-video {
  display: flex;
}

.camera-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .col-lg-3 .volume-bar {
    display: block;
  }

  .button-container-video {
    margin-top: 10px;
  }

  .camera-header {
    display: block !important;
  }
}
.dropdown-item {
    padding: 8px 16px;
    cursor: pointer;
}
.dropdown-item:hover {
    background-color: #f0f0f0;
}
.dropdown-item input[type="checkbox"] {
    margin-right: 8px;
}
.badge-sm {
    font-size: 0.6em;
    color: #fff!important;
    /*set primary bacground coolor*/
    background-color: #007bff!important;
    border: 1px solid currentColor;
    max-width: 21ch;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
    border-radius: 6px;
}

.badge-primary {
    color: #fff!important;
    background-color: #007bff!important;
    border: 1px solid currentColor;
    max-width: 21ch;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
    border-radius: 6px;
}

.tags-list {
    overflow: hidden;
    vertical-align: bottom;
    max-width: 40ch;
    max-height: 20px;
    margin-left: 3px;
}

.show-tags-btn {
    cursor: pointer;
    border: 1px solid #d5d5d5;
    padding: .1rem;
    padding-bottom: .5rem;
    margin-left: .4rem;
    border-radius: 4px;
    transition-property: border-color, background, color;
    transition-duration: .2s;
    height: 1.5rem;
    width: 1.9rem;
    text-align: center;
    background: #f8f9fa;
    line-height: .6;
    font-weight: bold;
}

.tags-wrapper {
    display: inline-flex;
    max-width: calc(100% - 1.2rem);
    align-items: center;
}
.color-option {
	display: flex;
	align-items: center;
	padding: 10px 5px;
	cursor: pointer;
}

/* if not last color optinon give border bottom */
.color-option:not(:last-child) {
	border-bottom: 1px solid #f0f0f0;
}

/* hover */
.color-option:hover {
	background-color: #f0f0f0;
}

.color-circle {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	margin-right: 10px;
	border: .2px solid #000;
}

.header {
	font-weight: bold;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 6px;
}

label.normal {
	font-weight: normal;
}

.ql-tooltip.ql-editing {
	z-index: 9999;
}

email-variable {
	color: white;
	background-color: #007bff !important;
	padding: 0px 5px;
}

.m0 {
	margin: 0px !important;
}
.tree ul {
  list-style: none;
  padding-left: 12px;
}
.tree li {
  width: fit-content;
}
.tree li, .tree input, .tree label {
  cursor: pointer;
}
w-fit-content {
  width: fit-content;
}