body{
	margin: 0px !important;
	background-color: black !important;
	height: 100% !important;
	font-family: Arial, Helvetica, sans-serif !important;
	overflow: hidden !important;
}

.topnav {
  overflow: hidden;
  background-color: #333;
  height: 48px;
}

.content{
	height: calc(100% - 48px);
}

.topnav .logo {
	background: url("logo.svg") no-repeat center left;
	width: 105px;
    height: 100%;
    background-size: contain;
	margin: 0px 5px 0px 5px;
}

iframe.panel,#hlsPlayer{
	border: 0px;
	height: inherit;
	width: inherit;
}

#hlsPlayer {
	display: inline-block;
}

.hidden {
	display: none;
}

.topnav .nav-item {
  color: #f2f2f2;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav .nav-item.ignore-border {
	border-left: 0px !important;
	border-right: 0px !important;
}

.topnav .nav-item.nav-left {
  float: left;
	border-right: 1px solid #1b1b1b;
}

.topnav .nav-item.nav-right {
  float: right;
	border-left: 1px solid #1b1b1b;
}

.topnav .clickable:hover {
  background-color: #ddd;
  color: black;
  cursor: pointer;
}

.topnav .clickable.active {
  background-color: #4CAF50;
  color: white;
}

iframe {
	border: 0px;
	overflow: none;
}

button {
    background: #333;
    color: white;
}

/*Desktop View Large*/
@media only screen and (min-width: 1368px) {
	.video{
		height: 100%;
	}

	.chat-view{
		height: inherit;
		position: absolute;
	}

	.chat-view .chats{
		height: 100%;
		width: 100%
	}

	.chats .panel.panel-duo{
		width: 50%;
	}

	.chats .panel.panel-duo:last-child{
		position: absolute;
	}

	.chat-view.chat-single{
		width: 21%;
	}
	.video.video-single{
		width: 79%;
	}

	.chat-view.chat-duo{
		width: 40%;
	}
	.video.video-duo{
		width: 60%;
	}
}

/*Desktop View Small*/
@media only screen and (max-width: 1367px) {
	.video{
		height: 40%;
		width: 100%;
	}
	
	.chat-view{
		height: 60%;
		width: 100%;
	}

	.chat-view .chats{
		height: inherit;
		width: inherit;
	}
	.chats .panel.panel-duo{
		width: 50%;
	}

	.chats .panel.panel-duo:last-child{
		position: absolute;
		padding-bottom: 29px;
	}
	
	.nav-item{
		font-size: 9pt !important;
		padding: 18px 8px 18px 8px !important;
	}
}

/*Mobile View Portrait*/
@media only screen and (max-device-width: 1367px) and (orientation: portrait) {
	.video{
		height: 40%;
		width: 100%;
	}
	
	.chat-view{
		width: inherit;
	}

	.chat-view .chats{
		width: 100%;
		height: 60%;
	}
	.chats .panel.panel-duo{
		width: 50%;
	}

	.chats .panel.panel-duo:last-child{
		position: absolute;
	}
	
	.nav-item{
		font-size: 9pt !important;
		padding: 18px 8px 18px 8px !important;
	}
}


/*Mobile View Landscape*/
@media only screen and (max-device-width: 1367px) and (orientation: landscape) {
	.video{
		height: 100%;
	}

	.chat-view{
		height: inherit;
		position: absolute;
	}

	.chat-view .chats{
		height: 100%;
		width: 100%
	}

	.chats .panel.panel-duo{
		width: 50%;
	}

	.chats .panel.panel-duo:last-child{
		position: absolute;
	}

	.chat-view.chat-single{
		width: 41%;
	}
	.video.video-single{
		width: 59%;
	}

	.chat-view.chat-duo{
		width: 60%;
	}
	.video.video-duo{
		width: 40%;
	}
	
	.nav-item{
		font-size: 9pt !important;
		padding: 18px 8px 18px 8px !important;
	}
}

.custom-modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.5);
	color: #f2f2f2;
  }

  .custom-modal header {
	font-weight: 700;
    display: flex;
    align-items: center;
  }

  .custom-modal #headerText {
	font-weight: 700;
  }
  
  .custom-modal .custom-modal-content {
	background-color: #333;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 750px;
  }

  .custom-modal .custom-modal-body {
	padding-top: 20px;
  }

  .custom-modal .custom-modal-body .input-row {
  	display: flex;
	padding-bottom: 10px;
  }

  .custom-modal .custom-modal-body .input-row label {
    display: flex;
    align-items: center;
	width: 100px;
    margin-bottom: 0px;
  }

  .custom-modal .custom-modal-body .input-row input {
    flex-grow: 1;
	margin-left: 20px;
  }

  .custom-modal .custom-modal-body .input-row select {
	min-width: 100px;
    max-width: 300px;
	margin-left: 20px;
  }
  
  .custom-modal footer {
	padding-top: 20px;
	justify-content: center;
    display: flex;
  }

  .custom-modal footer button {
	margin-left: 10px;
	margin-right: 10px;
	padding-left: 10px;
	padding-right: 10px;
  }
  
  .custom-modal .close {
	margin-left: auto;
	color: white;
	font-size: 28px;
	font-weight: bold;
    width: fit-content;
  }
  
  .custom-modal .close:hover,
  .custom-modal .close:focus {
	color: gray;
	text-decoration: none;
	cursor: pointer;
  }