/* MonPro CSS Style Overrides */

/* create a custom classes so you 
   do not run into specificity issues 
   against bootstraps styles
   which tends to work better than using !important 
   (future you will thank you later)*/

.monpro-card-highlighted {
	background-color: rgba(240, 255, 240, 0.5);
	opacity: .9;
}

.monpro-card-blurred {
	background-color: rgba(245, 245, 245, 0.4); !important;
}

.monpro-container.new-record {
	background-color: rgba(255, 250, 225, 0.9); !important;
}

.monpro-container.search-record {
	background-color: rgba(242, 252, 252, 0.9); !important;
}

.monpro-container {
	display: block;
}
.monpro-container.inactive {
	display: none;
}

.monpro-button {
  display: block;
}

.monpro-button.inactive {
  display: none;
}

.monpro-toolbar-button {
  display: inline-block;
}

.monpro-toolbar-button.inactive {
  display: none;
}

.monpro-warning-priority-1 {
 background-color: #ff6600; !important;
}

.monpro-warning-priority-2 {
 background-color: #ff6600; !important;
}

.monpro-warning-priority-3 {
 background-color: #ffff00; !important;
}

.monpro-warning-priority-4 {
 background-color: #996633; !important;
}

.monpro-warning-priority-5 {
 background-color: #00aaff; !important;
}

.monpro-warning-priority-6 {
 background-color: #006600; !important;
}

.monpro-warning-priority-7 {
 background-color: #808080; !important;
}



/* CSS Styles for Listview Objects */
.monpro-object-linked {
 opacity: 1.0; !important;
}

.bg-monpro-object-linked {
 opacity: 1.0; !important;
}

.monpro-object-unlinked {
	opacity: 0.6; !important;
	background-color: #F0F0F0; !important;
}

.bg-monpro-object-unlinked {
	opacity: 0.2; !important;
	background-color: #EEEEEE; !important;
}

/* Use when Object is not enabled */
.monpro-object-disabled {
 background-color: #BDC3C7; !important;
}

/* Use when a record is selected - Highlighted */
.monpro-object-highlighted {
 background-color: #05BCCF3D; !important;

}

.monpro-object-highlighted-background {
 background-color: #8EDFE821; !important;
}

/* Green Background */
.monpro-object-ok {
 background-color: #11860D2B; !important;
}

/* Yellow Background */
.monpro-object-warning {
	background-color: #FFEF006E; !important;
}

/* Orange Background */
.monpro-object-error {
 background-color: #FF6C00A8; !important;
}

/* Red Background */
.monpro-object-critical {
 background-color: #FF170091; !important;
}

/* Green Background */
.monpro-text-ok {
 color: #33D176; !important;
}

/* Yellow Background */
.monpro-text-warning {
 color: #F2C619; !important;
}

/* Orange Background */
.monpro-text-error {
 color: #FF7814; !important;
}

/* Red Background */
.monpro-text-critical {
 color: #E85445; !important;
}

#busyFade {
    display: none;
    position:absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: #ababab;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .70;
    filter: alpha(opacity=80);
}

#busyModal {
    display: none;
    position: absolute;
    top: 45%;
    left: 45%;
	width: 104px;
	height: 104px;
    padding:30px 15px 0px;
    border: 3px solid #ababab;
    box-shadow:1px 1px 10px #ababab;
    border-radius:20px;
    background-color: white;
    z-index: 1002;
    text-align:center;
    overflow: auto;
}

.circle {
  display: inline-block;
  position: relative;
  text-align: center;
  line-height: 1.4;
}

.circle canvas {
  vertical-align: top;
}

.circle strong {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
}

.circle h6 {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 28px;
}

.circle h3 {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 28px;
  color: #000;
}

meter {
  height: 12px;
  width:100%;
  color: #F2C619;

  /*-webkit-appearance: none;*/ 
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  border-radius: 3px;

  background: none; /* Required to get rid of the default background property */
  background-color: whiteSmoke;

  box-shadow: 0 5px 5px -5px #333 inset;
  
  animation: animate-stripes 5s linear infinite;
  background-image:
    linear-gradient(
      135deg,
      transparent,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    );
  background-size: 50px 12px;
}

meter::-webkit-meter-bar {
  animation: animate-stripes 5s linear infinite;
  background-image:
    linear-gradient(
      135deg,
      transparent,
      transparent 66%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    );
  background-size: 50px 12px;
}

meter::-webkit-meter-optimum-value {
  background: #3D9CDD;
}
meter::-moz-meter-bar {
  background: #3D9CDD;
}

monpro-meter-muted {
  background: ##868e96; !important;
}

monpro-meter-primary {
  background: ##007bff; !important;
}
@keyframes animate-stripes {
  to { background-position: -50px 0; }
}

/* slider */
.slider.slider-horizontal {
	display: block;
	position: absolute;
	left: 20px;
	right: 20px;
	/* width: auto; */
}

.slider-track-high {
	width: auto;
	background: #ccc;
	height: 4px !important;
}

.slider-track-low {
	width: auto;
	background: #ccc;
	height: 4px !important;
}

.slider-selection {
	background: #9ccc65;
	height: 4px !important;
	top: 0px;
	bottom: 0px;
}

.slider-start {
	position: absolute !important;
	top: 17px;
}

.slider-end {
	position: absolute !important;
	top: 17px;
}

.slider .tooltip {
	opacity: 1.0;
}

.slider .tooltip-inner {
	color: #495057;
	background-color: #448aff42 !important;
}

.slider .tooltip-inner:before {
	content: '';
	width: 100%;
	height: 70%;
	left: -20%;
	top: 10%;
	display: block;
	position: absolute;
	z-index: -1;
}

.monpro-pagination {
	display: block;
}

.monpro-pagination.inactive {
	display: none;
}

.monpro-pagination-panel {
	display: inline-block;
	border: 1px solid #408aff;
	border-radius: 3px; 
	margin-top: 8px;
}

.monpro-pagination-panel a {
	display: block;
	float: left;
	width: 30px;
	height: 35px;
	outline: none;
	border-right: 1px solid #408aff;
	border-left: 1px solid #408aff;
	color: #FFFFFF !important;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	font-size: 20px;
	background-color: #448aff;
	transition: all ease-in 0.3s;
	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: ease-in;
	transition-delay: 0s;
}
  
.monpro-pagination-panel a:hover, .monpro_pagination-panel a:focus, .monpro_pagination-panel a:active {
	color: #FFFFFF;
    background-color: #7af; 
}
  
.monpro-pagination-panel a.disabled, .monpro_pagination-panel a.disabled:hover, .monpro_pagination-panel a.disabled:focus, .monpro_pagination-panel a.disabled:active {
	cursor: not-allowed;
	opacity: .4;
	background-color: rgba(68,138,255,0.3)
	color: #A8A8A8; 
}

.monpro-pagination-panel a:first-child {
	border: none;
	border-radius: 2px 0 0 2px; 
}

.monpro-pagination-panel a:last-child {
	border: none;
	border-radius: 0 2px 2px 0; 
}

.monpro-pagination-panel input {
	float: left;
	display: block;
	font-weight: normal;
	font-size: 14px;
	margin:5px 0 ;
	padding: 0;
	width: 140px;
	height: 25px;
	outline: none;
	border: none;
	vertical-align: middle;
	text-align: center; 
}

.monpro-pagination-panel input.hidden {
	display: none;
}

.monpro-pagination-panel input.focused {
/*	display: none; */
}

.tab-content {
	background-color: rgba(68,138,255,0.1);
}
.cctv_wrapper {
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.cctv_footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
}
.cctv_video_container {
    margin: auto;
    width: 100%;
    overflow: hidden;
    position: relative;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100px;
    display: flex;
	background: #FFFFFF url(../img/spinner.gif) top no-repeat;
	background-size: 40%;
    cursor: move;
}
.cctv_video_container video {
    pointer-events: none;
    max-height: 100%;
    /* position: relative; */
    position: absolute;
}

.cctv-coldstart:after {
    content: 'Please Select a Date\A and Time to Continue';
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 70px;
    height: 100%;
    padding: 10%;
    white-space: pre-line;
    color: #a0a0a0;
    background: white;
}

.cctv-coldstart-play:after {
    content: 'Click the Play Button\A To Begin Video Playback';
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 70px;
    height: 100%;
    padding: 10%;
    white-space: pre-line;
    color: #a0a0a0;
    background: white;
}

video::-webkit-media-controls {
    display:none !important;
}
video::-webkit-media-controls-enclosure {
    display:none !important;
}


/* timeline */
#timeline_container {
    position: relative;
}
.tabCell {
    float: left;width: 30px;padding:5px;border-bottom:1px solid #ccc;border-right:1px solid #ccc;text-align: center;
}
.tabCell:hover {
    background-color: #F5DDF6;
}
.vis-item {
    top: 0 !important;
    bottom: 0 !important;
    border: 0;
    border-radius: 0 !important;
   	background-color: rgba(173, 214, 241, 0.4);
    z-index: 0;
}
.vis-item.vis-selected {
   	background-color: rgba(173, 214, 241, 0.4);
}

.vis-custom-time {
 	background-color: rgba(57, 156, 249, 0.9); 
    width: 5px;
    z-index: 3;
}
.vis-custom-time div {
    left: -7px !important;
}
.vis-item-content {
    display: none !important;
}
div.tml-busy div {
    cursor: wait !important;
}
.vis-left {
    padding-right: 32px;
}
.vis-right {
    padding-left: 30px;
}
.vis-panel.vis-background.vis-vertical {
    overflow: visible;
}

.form-group .floated-label {
	position: absolute;
	border-bottom: none !important;
}

.form-group .float-left-label {
	position: inherent;
	border-bottom: none !important;
}

/* cctv_thumbnail */
#cctv_thumbnail {
    display: none;
    background: #ddd;
    border: 1px solid #aaa;
    position: absolute;
    width: 150px;
    height: 100px;
    top: -105px;
    left: 0px;
    text-align: center;
    color: white;
    font-weight: bold;
    padding-top: 5px;
    box-sizing: border-box;
    background-position: center;
    background-repeat: no-repeat;
}

/* calendar */
#tml_calendar_btn {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 40px;
    background-image: url(../img/calendar.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
    cursor: pointer;
    z-index: 3;
}
#tml_calendar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    display: none;
}
td.day:not(.disabled) {
/*    background-color: #D5DDF6; */
	background-color: rgba(104, 178, 228, 0.9);
    border-radius: 0;
}

/* plus-minus buttons */
div#pm_container {
    position: absolute;
    top: 47px;
    left: 60px;
    cursor: pointer;
    z-index: 2;
    text-align: center;
}
div#plus_btn {
    background: #ccc;
    height: 16px;
    width: 20px;
    border-radius: 5px 5px 0 0;
    padding-top: 2px;
}
div#minus_btn {
    background: #ccc;
    height: 16px;
    width: 20px;
    border-radius: 0 0 5px 5px;
    padding-top: 2px;
}
div#cctv_leftarrow,
div#cctv_rightarrow {
    position: absolute;
    top: 0;
    cursor: pointer;
    z-index: 2;
    text-align: center;
    width: 30px;
    height: 100%;
    background: #ddd;
}
div#cctv_leftarrow::after,
div#cctv_rightarrow::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    border-left: 3px solid gray;
    border-bottom: 3px solid gray;
    width: 10px;
    height: 10px;
    transform: translate(-25%, -50%) rotate(45deg);
}
div#cctv_leftarrow {
    left: -30px;
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
}
div#cctv_rightarrow {
    right: -29px;
    border-right: 1px solid #bfbfbf;
}
div#cctv_rightarrow::after {
    transform: translate(-75%, -50%) rotate(225deg);
}
.cctv-start-marker,
.cctv-end-marker {
	background-color: rgba(0, 138, 155, 0.9) !important;
}
.modal-dialog {
    width: 700px;
}

.zoomControlls {
    position: absolute;
    bottom: 3px;
    right: 3px;
    padding: 5px;
    background-color: #eeeeeef0;
    cursor: pointer !important;
    border-bottom-left-radius: 4px;
}

.fa {
    vertical-align: middle;
    line-height: 1;
    text-align: center; 
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
