@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
    --main-darklg: #1d2635;
    --main-dark: #161d29;
    --primary-color: #2f80ec;
    --main-light: #eeeeee;
    font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #242f41;
}

.modal {
    display: block;
    top: 10vh;
}

.container {
    padding: 0;
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

#video-container {
    display: grid;
    height: 100vh;
}

#video-container.cont_camera_streaming {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
}

#video-container.cont_screen_camera_streaming {
    grid-template-columns: 1fr 20%;
    grid-template-rows: repeat(2, 1fr);
}

#video-container.cont_screen_camera_streaming .cont_screen_streaming {
    grid-row: 1 / -1;
    grid-column: 1 / 2;
}

#video-container .cont_screen_streaming,
#video-container .cont_video_streaming {
    position: relative;
    background-color: #29364c;
}

#video-container video {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 700px) {
    #video-container.cont_camera_streaming {
        grid-template-columns: none;
    }

    #video-container {
        grid-auto-flow: row !important;
    }

    #video-container.cont_screen_camera_streaming .cont_screen_streaming {
        grid-row: 1 / 1;
        grid-column: 1 / 3;
    }
    #video-container.cont_screen_camera_streaming {
        grid-template-columns: none;
        grid-template-rows: repeat(2, 1fr);
    }
}
.navbar {
    padding: 0;
    width: 100%;
}

.navbar-brand {
    color: #FFF !important;
}
.no_messages {
    display: none;
}

a {
    text-decoration: none;
    display: flex;
}

.messages {
    background-color: #383a3e;
    position: absolute;
    width: 40vw;
    height: 94vh;
    top: 5.3vh;
    left: 60vw;
    right: 0;
    margin: 0 auto;
}

.messages > ul {
    max-height: 85vh;
    overflow: hidden;
    overflow-y: scroll;
    color: #FFF;
    padding: 10px 20px;
    width: 100%;
}

.messages > ul > li {
    list-style: none;
    width: 100%;
}

.messages > ul > li > span {
    display: flex;
    align-items: baseline;
    height: 24px;
}

.messages > ul > li > span > p {
    margin-left: 5px;
}

.messages_options {
    position: fixed;
    top: 93vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 40%;
    padding: 0 5px;
}

.messages_options_cont_input {
    width: 100%;
}

#main-video {
    display: none;
}

#video-container {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    max-height: 90vh;
    width: 100%;
    grid-gap: 10px;
}

@media (max-width: 700px) {
    #video-container {
        grid-template-columns: auto;
        grid-gap: 0px;
        height: 80vh;
    }

    .navbar-brand {
        display: none;
    }

    .messages {
        width: 100vw;
        left: 0;
    }

    .messages_options {
        width: 100%;
        top: 88vh;
    }

    .messages_options_teclado {
        width: 100%;
        top: 80vh;
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5px;
    }

    .messages > ul {
        max-height: 85vh;
        margin-top: 1px;
    }
}
.options {
    padding: 1rem;
    display: flex;
    background-color: var(--main-darklg);
}

.options__left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-header-child {
    height: 41px !important;
    width: 33%;
}

@media (max-width: 700px) {
    .navbar-header-child {
        width: 50%;
    }
}
.options__button__leave__session {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.options__button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 5px;
    color: var(--main-light);
    font-size: 1.2rem;
    margin: 0 0.5rem;
}
.options__button > i {
    font-size: 250% !important;
}

html {
	position: relative;
	min-height: 100%;
}

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

.navbar-header {
    display: flex;
    justify-content: space-between;
	width: 100%;
}

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

nav a {
	color: #ccc !important;
}

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

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

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

#main-container {
    max-height: 97vh;
    height: 90vh;
    width: 100%;
}

.vertical-center {
    width: -webkit-fit-content;
    width: fit-content;
    margin: auto;
}

.vertical-center#not-logged form {
	width: -moz-fit-content;
	margin: auto;
}

.vertical-center#not-logged table {
	width: -moz-fit-content;
	margin: auto;
}

.vertical-center table {
	margin-top: 3em !important;
}

.horizontal-center {
	margin: 0 auto;
}

.form-control {
	color: #0088aa;
	font-weight: bold;
}

.form-control:focus {
	border-color: #0088aa;
	-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: #06d362 !important;
	border-color: #06d362;
}

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

.btn-info {
	background-color: #0088aa !important;
	border-color: #0088aa;
}

.btn-info:hover {
	background-color: #00708c !important;
	border-color: #00708c;
}

.btn-warning {
	background-color: #ffcc00 !important;
	border-color: #ffcc00;
	color: #4d4d4d;
}

.btn-warning:hover {
	background-color: #eabb3a !important;
	border-color: #eabb3a;
	color: #4d4d4d;
}

.btn-warning:active {
	color: #4d4d4d;
}

.btn-warning:focus {
	color: #4d4d4d;
}

.btn-warning:active:focus {
	color: #4d4d4d;
}

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

.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;
}

#join {
	padding-top: 40px;
}

#not-logged {
	padding-top: 40px;
}

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

#join-dialog label {
	color: #0088aa;
}

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

#join-dialog hr {
	background: #4d4d4d;
}

#img-div {
	text-align: center;
    padding-bottom: 3em;
}

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

#logged {
	width: 100%;
}

#join {
	max-width: 700px;
    margin: auto;
}

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

#session-header form {
	display: inline;
}

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

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

#video-container > div div {
	float: left;
	width: 50%;
	position: absolute;
}

#video-container p {
    position: absolute;
    padding-left: 5px;
	padding-right: 5px;
	color: #777777;
	font-weight: bold;
	border-bottom-right-radius: 4px;
}

#video-container p.userName {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0px;
    font-weight: lighter;
    font-size: 12px;
    color: #f8f8f8;
}

#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;
}

#main-video p.userName {
	position: absolute;
	right: 0;
	font-size: 16px !important;
    margin-right: 15px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0px;
    font-weight: lighter;
    font-size: 12px;
    background: #777777;
    color: #f8f8f8;
}


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

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

table i {
	cursor: pointer;
	margin-left: 1em;
}

#tooltip-div {
	text-align: left;
}

#tooltip-div hr {
	margin: 5px 0;
}

#login-info {
	text-align: right;
}

#login-info form {
	display: inline;
}

#login-info div {
	display: inline;
	margin-right: 1em;
}

#name-user {
	font-weight: bold;
}


/* xs ans md screen resolutions*/

@media screen and (max-width: 991px) {
	.container .navbar-header {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	.nav-icon {
		padding: 9px 8px 9px 8px;
	}
	nav i.fa {
		font-size: 32px;
	}
	.vertical-center {
		padding-top: 10px;
	}
	#img-div {
		padding-bottom: 1em;
	}
	#img-div img {
		height: 10%;
	}
}
