/* Colors:  green: color: #006853; orange: FEC537 */
html {
	position: relative;
	min-height: 100%;
}

nav {
	height: 50px;
	width: 100%;
	z-index: 1;
	background-color: #006853 !important;
	border-color: #006853 !important;
	border-top-right-radius: 0 !important;
	border-top-left-radius: 0 !important;
}

.navbar-header {
	width: 100%;
}

.nav-icon {
	padding: 5px 15px 5px 15px;
	float: right;
}

nav a {
	color: #fff !important;
}

nav i.fa {
	font-size: 40px;
	color: #fff;
}

nav a:hover {
	color: #a9a9a9 !important;
}

nav i.fa:hover {
	color: #a9a9a9;
}

#main-container {
	padding-bottom: 80px;
}

/*vertical-center {
	position: relative;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
}*/

.horizontal-center {
	margin: 0 auto;
}

.form-control {
	color: gray;
	font-weight: bold;
}

.form-control:focus {
	border-color: gray;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 136, 170, 0.6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 136, 170, 0.6);
}

input.btn {
	font-weight: bold;
}

.btn {
	font-weight: bold !important;
}

.btn-success {
	background-color: #006853 !important;
	border-color: #006853;
}

.btn-success:hover {
	background-color: #006853 !important;
	border-color: #006853;
}

.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	background-color: #FEC537;
}

.footer .text-muted {
	margin: 20px 0;
	float: left;
	color: #ccc;
}

.openvidu-logo {
	height: 35px;
	float: right;
	margin: 12px 0;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.openvidu-logo:hover {
	-webkit-filter: grayscale(0.5);
	filter: grayscale(0.5);
}

.demo-logo {
	margin: 0;
	height: 22px;
	float: left;
	padding-right: 8px;
}

a:hover .demo-logo {
	-webkit-filter: brightness(0.7);
	filter: brightness(0.7);
}

#join-dialog {
	margin-left: auto;
	margin-right: auto;
	max-width: 70%;
}

#join-dialog h1 {
	color: #4d4d4d;
	font-weight: bold;
	text-align: center;
}

#img-div {
	text-align: center;
	margin-top: 3em;
	margin-bottom: 3em;
	/*position: relative;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);*/
}

#img-div img {
	height: 15%;
}

#join-dialog label {
	color: #006853;
}

#join-dialog input.btn {
	margin-top: 15px;
}

#session-header {
	margin-bottom: 20px;
}

#session-title {
	display: inline-block;
}

#buttonLeaveSession {
	float: right;
	margin-top: 20px;
}

#video-container video {
	position: relative;
	float: left;
	width: 100%;
	cursor: pointer;
}

#video-container div {
	float: left;
	position: relative;
	margin-left: -50%;
}

#video-container p {
	display: inline-block;
	background: #f8f8f8;
	padding-left: 5px;
	padding-right: 5px;
	color: #777777;
	/* font-weight: bold; */
	border-bottom-right-radius: 4px;
}

video {
	width: 100%;
	height: auto;
}

#main-video p {
	position: absolute;
	display: inline-block;
	background: #f8f8f8;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 22px;
	color: #777777;
	font-weight: bold;
	border-bottom-right-radius: 4px;
}

#session img {
	width: 100%;
	height: auto;
	display: inline-block;
	object-fit: contain;
	vertical-align: baseline;
}

#session #video-container img {
	position: relative;
	float: left;
	width: 50%;
	cursor: pointer;
	object-fit: cover;
	height: 180px;
}

.card-body-bg {
	background-color: #f0f8ff;
	padding: 5px;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 25px;
	float: right;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* 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: 18px;
	width: 18px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

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

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: 20px;
}

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

/* xs ans md screen resolutions*/

@media screen and (max-width: 991px) and (orientation: portrait) {
	#join-dialog {
		max-width: inherit;
	}

	#img-div img {
		height: 10%;
	}

	#img-div {
		margin-top: 2em;
		margin-bottom: 2em;
	}

	.container-fluid>.navbar-collapse,
	.container-fluid>.navbar-header,
	.container>.navbar-collapse,
	.container>.navbar-header {
		margin-right: 0;
		margin-left: 0;
	}

	.navbar-header i.fa {
		font-size: 30px;
	}

	.navbar-header a.nav-icon {
		padding: 7px 3px 7px 3px;
	}
}

@media only screen and (max-height: 767px) and (orientation: landscape) {
	#img-div {
		margin-top: 1em;
		margin-bottom: 1em;
	}

	#join-dialog {
		max-width: inherit;
	}
}

body {
	background-color: #f4f4f4;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
	background-color: #006853;
	color: white;
	padding: 15px 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header img {
	height: 50px;
	margin-right: 15px;
}

.select2-container {
	width: 100% !important;
	/* Ensure the Select2 container takes the full width */
}

.video-container {
	position: relative;
	width: 100%;
	height: 70vh;
	margin-top: 20px;
	border: 1px solid #ccc;
	background-color: black;
	display: flex;
	justify-content: left;
	align-items: left;
	overflow: hidden;
}

#remote_stream,
#local_stream {
	width: 100%;
	height: 100%;
	background-color: black;
}

#local_stream {
	position: absolute;
	width: 200px;
	height: 150px;
	bottom: 20px;
	right: 20px;
	background-color: black;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

video {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
	/* Adjust this property */
}

#mute-label {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 10px;
	background-color: rgba(255, 0, 0, 0.7);
	color: white;
	border-radius: 5px;
	display: none;
}

.button-container {
	margin-top: 20px;
	text-align: center;
	justify-content: center;
}

.btn-custom {
	margin: 5px;
	padding: 10px 20px;
	font-size: 16px;
}

.btn-custom:disabled {
	opacity: 0.6;
}

.alert {
	margin-top: 20px;
}

.button-container {
	display: flex;
	align-items: center;
	gap: 10px;
	/* Adjust the gap between elements as needed */
}

.custom-control.custom-switch {
	display: flex;
	align-items: center;
	margin-left: 10px;
	/* Optional: Adjust margin as needed */
}

.custom-control-input:checked~.custom-control-label i {
	color: red;
	/* Optional: Change color when checked */
}

.custom-control-input:not(:checked)~.custom-control-label i {
	color: green;
	/* Optional: Change color when not checked */
}