:root {
	--accent: #3B5169;
	--accent-hover: #3B5169;
}

:root.ui-2022 {
	--ui-2022-bg: #101a25;
	--nav-bg: #394046;
    --text-color: #eeeeee;
    --link-color: #ffffff;
	--modal-border-color: #FFFFFF20;
	--text-shadow-color: #FFFFFF40;
    overflow: hidden;
}

a, address, b, button, span, small, h1, h2, h3, h4, h5, h6, p, q, blockquote, div, em, strong, ins, ul, ol, li, input, textarea, mark, pre {
    font-family: 'Rubik', Arial, Helvetica, sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #f1f1f1 !important;
}

.ui-2022 body {
	background-color: var(--ui-2022-bg) !important;
	color: var(--text-color);
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
}

:root:not(.ui-2022) .modal-overlay {
	background-color: rgba(0, 0, 0, 0.5);
}

.ui-2022 .modal-overlay {
	align-items: center;
}

.modal-overlay .modal {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 330px;
	height: fit-content;
	width: 100%;
	border-radius: 6px;
	outline: 0;
}

:root:not(.ui-2022) .modal-overlay .modal {
	width: 100%;
	max-width: 60%;
	background-color: #fff;
}

.ui-2022 .modal-overlay .modal {
	max-width: 800px;
	background-color: var(--ui-2022-bg);
}

.ui-2022 a, .ui-2022 a:hover, .ui-2022 a:active {
	text-decoration: none;
	font-weight: bold;
	text-shadow: 0 0 2px var(--text-shadow-color);
	color: #4a75cb;
}

@media (min-width: 768px) {
	.modal-overlay {
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	}
	.modal-overlay .modal {
		margin: 30px auto;
	}

	:root:not(.ui-2022) .modal-overlay .modal {
		width: 600px;
	}

	.ui-2022 .modal-overlay .modal {
		width: 800px;
		min-height: 400px;
		display: flex;
		justify-content: center;
	}
}

@media (min-width: 992px) {
	.modal-overlay .modal {
		width: 900px;
	}
}

@media only screen and (max-width: 768px) {
	.modal-overlay .modal {
		width: 100%;
		max-width: unset;
		height: 100%;
		border-radius: 0px;
	}
}

.modal-overlay .modal-header {
	padding: 15px;
	line-height: 1.42857143;
}

:root:not(.ui-2022) .modal-overlay .modal-header {
	border-bottom: 1px solid #e5e5e5;
}

.modal-overlay .modal-header .modal-title {
	margin: 0;
	font-weight: 500;
}

.modal-overlay .modal-body {
	padding: 15px;
}

:root:not(.ui-2022) .modal-overlay .modal-body {
	border-bottom: 1px solid #e5e5e5;
}

.modal-overlay .modal-footer {
	padding: 15px;
	display: flex;
	justify-content: flex-end;
}

.ui-2022 .modal-overlay .modal-footer {
	justify-content: space-between;
	gap: 10px;
}

.ui-2022 [event-closed].modal-overlay .modal-footer {
	justify-content: center;
}

.modal-overlay label {
	display: block;
	position: relative;
	margin-bottom: 8px;
}

.modal-overlay label>div {
	font-size: small;
	font-weight: 600;
	margin-bottom: 5px;
}

.ui-2022 .modal-overlay label>div {
	font-size: large;
}

.modal-overlay label>input,
.modal-overlay select {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	background-image: none;
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	box-sizing: border-box;
}

:root:not(.ui-2022) .modal-overlay label>input,
:root:not(.ui-2022) .modal-overlay select {
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.ui-2022 .modal-overlay label>input,
.ui-2022 .modal-overlay select {
	border: 1px solid #fff;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	border-radius: 6px;
	background: var(--text-color);
	color: var(--ui-2022-bg);
}

.modal-overlay label>input:focus {
	outline: none;
	border-color: #3c8dbc!important;
	box-shadow: none;
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-image: none;
	outline: none;
	font-weight: 500;
	border-radius: 3px;
	border: 1px solid transparent;
	box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, .09);
}

.ui-2022 .btn {
	border-radius: 3px;
}

.btn.btn-primary {
	color: #fff;
	background-color: var(--accent);
	border-color: var(--accent-hover);
}

.btn.btn-primary:hover {
	background-color: var(--accent-hover);
	border-color: var(--accent-hover);
}

.btn-success {
    background-color: #5cb85c;
    border-color: #4cae4c;
    color: var(--text-color);
}

[event-closed] .message {
	text-align: center;
}

#webconference-iframe {
	width: 100%;
	height: 100%;
	z-index: 1;
	border: 0;
	margin: 0;
}

nav {
	width: 100%;
	background-color: #fff;
}

nav button {
	height: 25px;
	width: 140px;
	background-color: var(--accent);
	color: #fff;
	border: none;
}

.ui-2022 #own-video {
	max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
	width: 100%;
    transform: rotateY(180deg);
}

.ui-2022 .no-video #own-video {
	display: none;
}

.ui-2022 .modal-inner-form {
    padding: 30px;
    min-width: 160px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ui-2022 .modal-inner-form input {
	margin-bottom: 10px;
    margin-top: 10px;
}

.ui-2022 .side-content {
	width: 390px;
}

.ui-2022 [user-form-2022] .modal-body {
    display: flex;
	justify-content: center;
}

.ui-2022 [login-form] .modal-body,
.ui-2022 [login-form] .modal-header,
.ui-2022 [login-form] .modal-footer {
	width: 300px
}

.ui-2022 [reset-pw-form] .modal {
	width: 360px;
}

.ui-2022 [user-form-2022], [login-form] input {
    width: 100%;
}

.ui-2022 [login-form] {
	height: 100%;
	width: 100%;
	margin: 0;
	display: flex;
	justify-content:center;
	background-color: var(--ui-2022-bg);
}

.ui-2022 [login-form] .modal {
	width: 300px;
}

.ui-2022 .own-video {
	width: 390px;
	height: calc(390px / 4 * 3);
	background: #00000060;
	border-radius: 8px;
	box-shadow: 0 0 5px rgb(255 255 255 / 4%);
	position: relative;
}

@media only screen and (max-width: 768px) {
	.ui-2022 [user-form-2022] .modal-body {
		flex-direction: column;
		max-height: 100%;
		height: 100% !important;
	}
	
	.ui-2022 .side-content {
		width: 100%;
	}

	.ui-2022 .own-video {
		width: calc(100vw - 30px);
		height: calc((100vw - 30px) / 4 * 3);
	}
}

.ui-2022 .page-header {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
    z-index: 1;
}

.ui-2022 .lector-logo {
	font-size: 26px;
	min-width: 130px;
	margin-left: 20px;
}

:root.logged-in.ui-2022 .hidden-logged-in,
:root.ui-2022:not(.logged-in) .visible-logged-in {
	display: none;
}

.ui-2022 span.user-firstname {
	font-weight: bold;
}

.ui-2022 .user-avatar {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 100px;
	border-radius: 50%;
	background: #ffffff20;
}

.ui-2022 .no-video .user-avatar {
	display: block;
}



/* Apple Switch */
.ui-2022 input.apple-switch {
	position: relative;
	-webkit-appearance: none;
	outline: none;
	width: 50px;
	height: 30px;
	background-color: #fff;
	border: 1px solid #828282;
	border-radius: 50px;
	box-shadow: inset -20px 0 0 0 #e6e6e6;
}
  
.ui-2022 input.apple-switch:after {
	content: "";
	position: absolute;
	top: 1px;
	left: 1px;
	background: transparent;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	box-shadow: 2px 4px 6px rgb(0 0 0 / 40%);
}
  
.ui-2022 input.apple-switch:checked {
	box-shadow: inset 20px 0 0 0 #4ed164;
	border-color: #4ed164;
}

.ui-2022 input.apple-switch:checked:after {
	left: 20px;
	box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
}




/* Ativadores camera e mic */
.ui-2022 .activators {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	justify-content: space-around;
}

.ui-2022 .activators > div {
	display: flex;
	align-items: center;
	font-size: 20px;
	text-shadow: 0 0 2px black;
}

.reset-pw-link {
	display: flex;
	justify-content: flex-end;
	padding: 0 15px;
}

.reset-pw-success {
	color: #181;
}

.reset-pw-error {
	color: #811;
}