/* stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');

/*
html {
	overflow: hidden;
}
*/

body {
	font-family:'Open Sans', sans-serif;
	font-size:13px;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	min-height:100vh;
	overflow: auto;
	color: #646464;
	background: #fafbfd;
	display: flex;
	flex-direction: row;
	margin-left: 0px; /*make sure this attribute exists to force menu pop*/
}
a:hover {
	text-decoration: none;
}
h1 {
	font-weight: 700;
	letter-spacing: 5px;
}
h4 {
	font-weight: 700;
}
.row {
	width: 100%;
}
.pointer {
	cursor:pointer;
}
.btn {
	padding: 5px 10px;
}
.btn-xs {
	margin: 0;
	padding: 0;
	line-height: 1;
	color: #aaa;
	font-weight: 400;
	border-radius: 4px;
	font-size: 11px;
	padding: 3px;
}
.actions {
	display: flex;
	flex-dirction: row;
}
.btn-action {
	width: 25px;
	height: 25px;
	border-radius: 100%;
	color: #383c41;
	border: 0;
	background: #fff;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn-action:hover, #calendar .fc-button-primary:hover {
    background: #383c41;
    color: #fff;
}
.btn-icon-text:hover {
	color: #0d6efd;
}
.btn-default {
	border: 1px solid #ddd;
}
.btn.active {
	color: #212529 !important;
}
.table {
	margin-bottom: 0;
}
.table td, .table th {
	vertical-align: middle;
}
.row.gap{
	margin-bottom: 15px;
}
.full-height{
	height: 100%;
}
.overflow-y {
	overflow-y: auto;
}
.overflow-x {
	overflow-x: auto;
}
li.no-style {
	list-style: none;
}

.datepicker .table {
	color: #636363;
}
.datepicker .table thead th {
	border-bottom: 0;
}
.datepicker .table td, .table th {
	border-top: 0;
}
.loader {
	width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
	z-index: 9999;
}
.loader-inner {
	display: flex;
    flex-direction: column;
    padding: 35px 80px 10px;
    background: #fff;
    border-radius: 4px;
    align-items: center;
}
.custom-file-label {
	font-size: 15px;
}
.form-control, .input-group-text {
	font-size: 15px;
}
.scroll {
	overflow-y: scroll;
}
.modal-scroll {
	overflow-y: scroll;
	height: 600px;
}

.list {
	margin: 0;
	padding: 0;
}
.list li {
	list-style: none;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}
.list li:hover {
	opacity: 0.75;
}
.list .item_bg img {
	width: 50%;
}

#menu {
	flex: 0 0 180px;
	background: #383c42;
}

#content {
	flex: 1 1 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #eee;
	padding-bottom: 15px;
}

#menu ul {
	margin: 0;
	padding: 0;
	width: 100%;
}
#menu li {
	list-style :none;
}
#menu li i {
	flex: 0 0 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#menu li a {
	color: #adadad;
	display: flex;
	flex-direction: row;
	padding: 15px;
	position:relative;
}
#menu li span {
	flex: 1 1 auto;
	margin-left: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
#menu li a:hover {
	color: #fff;
}
#menu li a.active {
	color: #fff;
}
#menu li a.active:after {
	content: "";
	width: 0;
  	height: 0;
  	border-top: 8px solid transparent;
  	border-bottom: 8px solid transparent;
  	border-right:8px solid #eee;
	position:absolute;
	right: 0;
}
#menu li a.active i {
	background: #fff;
	color: #383c42;
	border-radius: 100%;
}

#top-section {
	flex: 0 0 40px;
	width: 100%;
	border-bottom: 1px solid #eee;
	/*box-shadow: 0px 0 10px 2px #aaa;*/
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	color: #383c42;
	background: #fff;
}
#top-section .item, #top-section .item-btn {
	padding: 10px 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	transition: all 0.3s;
}
#top-section .item-btn:hover {
	cursor:pointer;
	background: #eee;
}
#signal {
	width: 8px;
	height: 8px;
	border-radius: 100%;
	background: #dc3545;
	margin-right: 5px;
}
#signal.active {
	background: #28a745;
}
#title-section {
	flex: 0 0 50px;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#notification {
	position:relative;
    display: flex;
    align-items: center;
}
#notification .message {
	position:absolute;
	right: 0;
	display: flex;
    flex-direction: row;
    background: #fff;
    padding: 5px 15px;
    transform: translateX(100%);
}
#notification .icon {
	background: #383c42;
    width: 25px;
    height: 25px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
#notification .content {
	white-space: nowrap;
	padding: 5px 15px;
}

#main-section {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	display: flex;
}
.
#signal {
	width: 12px;
    height: 12px;
    display: inline-block;
    background: #ddd;
    border-radius: 100%;
    margin-right: 5px;
}
#signal.success {
	background: #7ece14;
}
#signal.fail {
	background: #de2828;
}
#user-section {
	margin-left: auto;
	display: flex;
	flex-direction: row;
}
#user-section .name i {
	margin-right: 5px;
}
.ddl_extension {
	position:relative;
	z-index:99;
	width: 20px;
	text-align: center;
	cursor: pointer;
}
.ddl_extension ul {
	position:absolute;
	top:41px;
	right:0;
	background:#fff;
	margin:0;
	padding:0;
	width:250px;
	border:1px solid #eee;
	border-top:0;
	display:none;
}
.ddl_extension li {
	list-style: none;
	margin-bottom:1px;
}
.ddl_extension li:hover {
	background:#f5f5f5;
}
.ddl_extension li a {
	width: 100%;
    height: 100%;
    text-decoration: none;
    color: #555;
    display: block;
    padding:10px 30px;
}
.ddl_extension li i {
	width:25px;
}
.divider {
	border-bottom:1px solid #f5f5f5;
}
#page-title {
	font-size: 26px;
	font-weight: 700;
  margin: 10px 15px;
}
#page-subtitle {
	margin-left: 5px;
	font-weight: 300;
}

.box {
	/*box-shadow: 0px 0 5px 0px #eceaea;*/
    padding: 15px;
    margin: 0 15px;
    border: 1px solid #eee;
    background: #fff;
}
.box.right {
	margin-right: 0;
}
.box.left {
	margin-left: 0;
}
#video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	max-height: 530px;
}
#vonageContainer {
	position: absolute;
	width: 100%;
	height: 100%;
}
.stats_iframe iframe {
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
}
.flex-grow {
	flex: 1
}
.unit {
	font-size: 50%;
	text-transform: uppercase;
}
.btn-box {
	cursor: pointer;
}
.btn-box:hover {
	background:  #f8f8f8;
}
.btn-box.active {
	background: #383c42;
  color: #fff;
}
/*==========navicon=========================*/
.navicon-container {
	margin-left: -15px;
}
.navicon-button {
  display: inline-block;
  position: relative;
  transition: 0.25s;
  cursor: pointer;
  user-select: none;
  opacity: .8;
  padding: 15px;
}
.navicon-button .navicon:before, .navicon-button .navicon:after {
  transition: 0.25s;
}
.navicon-button:hover {
  transition: 0.5s;
  opacity: 1;
}
.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
  transition: 0.25s;
}
.navicon-button:hover .navicon:before {
  top: .525rem;
}
.navicon-button:hover .navicon:after {
  top: -.525rem;
}

.navicon {
  position: relative;
  width: 20px;
  height: 3px;
  background: #383c41;
  transition: 0.5s;
  border-radius: 2.5rem;
}
.navicon:before, .navicon:after {
  display: block;
  content: "";
  height: 3px;
  width: 20px;
  background: #383c41;
  position: absolute;
  z-index: -1;
  transition: 0.5s 0.25s;
  border-radius: 1rem;
}
.navicon:before {
  top: .425rem;
}
.navicon:after {
  top: -.425rem;
}

.open:not(.steps) .navicon:before,
.open:not(.steps) .navicon:after {
  top: 0 !important;
}

.open .navicon:before,
.open .navicon:after {
  transition: 0.5s;
}

/* Minus */
.open {
  transform: scale(0.75);
}

/* Arrows */
.open.larr .navicon:before, .open.larr .navicon:after,
.open.rarr .navicon:before,
.open.rarr .navicon:after,
.open.uarr .navicon:before,
.open.uarr .navicon:after {
  width: 1.5rem;
}
.open.larr .navicon:before,
.open.rarr .navicon:before,
.open.uarr .navicon:before {
  transform: rotate(35deg);
  transform-origin: left top;
}
.open.larr .navicon:after,
.open.rarr .navicon:after,
.open.uarr .navicon:after {
  transform: rotate(-35deg);
  transform-origin: left bottom;
}

.open.uarr {
  transform: scale(0.75) rotate(90deg);
}

/* Arrows */
.open.rarr .navicon:before {
  transform: translate3d(1em, 0, 0) rotate(-35deg);
  transform-origin: right top;
}
.open.rarr .navicon:after {
  transform: translate3d(1em, 0, 0) rotate(35deg);
  transform-origin: right bottom;
}

/* × and + */
.open.plus .navicon,
.open.x .navicon {
  background: transparent;
}
.open.plus .navicon:before,
.open.x .navicon:before {
  transform: rotate(-45deg);
}
.open.plus .navicon:after,
.open.x .navicon:after {
  transform: rotate(45deg);
}

.open.plus {
  transform: scale(0.75) rotate(45deg);
}

.navicon-button.open {
	float:right;
}

.filelist_section {
	overflow-y: auto;
	height: 100%;
}
.events_wrap {
	height: calc(100% - 55px);
    overflow-y: auto;
    position: relative;
}
ul.events {
	width: 100%;
	margin: 0;
	padding: 0 5px;
    position:absolute;
}
ul.events > li {
	list-style:none;
	margin-bottom: 15px;
}
.events li .time {
	font-weight: bold;
}
.events .event_items {
	margin: 0;
	padding: 0;
}
.events .event_items li {
	border-left: 1px solid #ddd;
    padding: 5px 5px 5px 15px;
    list-style: none;
    position:relative;
}
.events .event_items li:before {
	content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #eee;
    position: absolute;
    left: 0;
    top: 40%;
}
.events .event_items li:hover {
	opacity: 0.75;
}
.events .event_items li.active {
	background: #636363 !important;
    color: #fff;
}
.events .event_items li:nth-child(even) {
	background: #f8f8f8;
}
ul.grid {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.grid li {
	--size: calc(100%/3 - 5px);
	flex: 0 0 var(--size);
	padding-top: var(--size);
	height: 0;
	list-style: none;
	border: 1px solid #eee;
	margin-right: 5px;
	margin-bottom: 5px;
	background: #f8f8f8;
	cursor: pointer;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position:relative;
	overflow:hidden;
}
.item_bg {
	display: flex;
	align-items: center;
	justify-content: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: 100%;
	position:absolute;
	z-index: 1;
}
.item-info {
	z-index: 2;
	font-weight: 300;
	color: #fff;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	background: black;
}

.grid .item_bg img {
	width: 10%;
}

.grid li:hover {
	opacity: 0.75;
}

.grid .btn-add-new {
	border: 3px dashed #ddd;
	border-radius: 4px;
	background: #f8f8f8;
	font-size: 35px;
	font-weight: 300;
}
.preview {
	border-radius: 4px;
	height: 250px;
	font-size: 35px;
	font-weight: 300;
	background-color: #f8f8f8;
	border: 2px dashed #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
}
.preview-lg {
	border-radius: 4px;
	padding-top: 56.25%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	background-color: #f8f8f8;
}
.preview-content {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}
.btn-preview {
	cursor: pointer;
}
.progress {
	flex: 1 1 auto;
}
.progress-txt {
	flex: 0 0 50px;
	text-align:right;
}

.grid .uploader {
	position:relative;
	justify-content: center;
}
.grid .twb_progress{
	position: absolute;
    top: 50%;
    width: 60%;
    height: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #aaa;
}
.grid .twb_progress .bar {
    height: 100%;
    background: #383c42;
    position: relative;
    transition: all 0.1s;
}
.grid .twb_progress .text {
	position:absolute;
	top: 150%;
	right: 0;
	color: #383c42;
	font-size: 11px;
}
.grid .time {
	font-size: 17px;
}
.list-thumbnail {
	width: 50px;
	height: 40px;
	border: 2px solid #fff;
	position:relative;
}
td.thumbnail_wrap {
	padding: 0px 15px;
    vertical-align: middle;
}

#file_manager_component, #dashboard_component {
	width: 100%;
	height: 100%;
}

.cursor-pointer{
	cursor: pointer;
}
#system_status {
	color: red;
}
#system_status.system_online {
	font-weight: 700;
	color: #00a819;
}
#video_offline_message {
	height: 100%;
	width: 100%;
	background-color: #eeeeee;
	font-size: 150%;
	display: flex;
	justify-content: center;
	align-items: center;
	}
}

/*==========responsive style================*/
@media (max-width: 768px) {
	body {
		margin-left: -180px;
	}
	.no-gutters>.col, .no-gutters>[class*=col-] {
		margin-bottom: 15px;
	}
	.box.right {
		margin-right: 15px;
	}
	.box.left {
		margin-left: 15px;
	}
	#content {
		overflow-y: auto;
	}
	#top-section {
		position: fixed;
		z-index: 99;
	}
	#title-section {
		margin-top: 40px;
	}
	.grid .time {
		font-size: 11px;
	}
}
