* {
    box-sizing: border-box;
}

body {
    font-family: 'Encode Sans Semi Condensed', sans-serif;
    margin: 0;
    padding: 0;
    background: white;
    background: -webkit-linear-gradient(white, #5FA7F9);
    background: -o-linear-gradient(white, #5FA7F9);
    background: -moz-linear-gradient(white, #5FA7F9);
    background: linear-gradient(white, #5FA7F9);
    letter-spacing: 1px;
    color: #FFF;
	font-size:12px;
}

button {
    outline-style: none;
    border:1px solid #4192FD;
    border-radius:5px;
    display:inline-block;
    min-width:70px;
    min-height:2rem;
    cursor: pointer;
    color: white;
	background-color:#4192FD;
}

button:active {
  border-color:#4192FD;
  color: #4192FD;
  background-color:white;
}

h3, h1 {
 display:none;
}

#main {
    height: 100vh;
}

#wrapper {
    width: 90%;
    display: flex;
    align-content: justify;
    height: calc(100vh - 135px);
    margin:0 auto;
	overflow:none;
}

#header {
	height: 100px;
    margin:0 auto;
    width:90%;
    position:relative;
    padding:10px;
	padding-left:0px;
}

#footer {
    margin:0 auto;
    width:90%;
    height: 35px;
    line-height: 35px;
}

.logo {
    height:100%;
    vertical-align:middle;
	display:inline-block;
	width:auto;
}
.logotext {
	display:inline-block;
    vertical-align: middle;
	font-size:1em;
}

.logotext span{
	font-weight:bold;
	font-size:2.6rem;
}

.logotext div{
	color:#889CB3;
	font-style:italic;
	font-size:1rem;
}

.blue{
	color:#4192FD;
}

.red {
	color:#FE4645;
}

.com {
	color:black;
	font-size:1.4rem !important;
}

#data-info {
	position: absolute;
    bottom: 3px;
    right: 0;
}

#videos {
    width: 30%;
    height: 100%;
    display: inline-block;
}

#remoteVideoDiv,
#localVideoDiv {
    vertical-align: middle;
    width: 100%;
    height: 50%;
	padding-bottom:5px;
}

#remoteVideoDiv {
	padding-top:5px;
	padding-bottom:0px;
}

video {
    height: 100%;
    background: black;
    display: inline-block;
    width: calc(((100vh - 145px)/6) * 4);
    max-width:100%;
}

#first-warning {
  color: black;
  position: fixed;
  width: 50vw;
  height: 15vh;
  left: 25vw;
  top: 300px;
  background-color: white;
  border: 1px solid black;
  font-size: 1.8em;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
	display:none;
}

#warning {
  color: black;
  position: fixed;
  width: 50vw;
  height: 30vh;
  left: 25vw;
  top: 300px;
  background-color: white;
  border: 1px solid black;
  font-size: 1.8em;
  padding: 20px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
	display:none;
}

#textchat {
    height: 100%;
    width: 70%;
    position: relative;
}
#text-from {
    height: calc(100% - 35px);
    width: 100%;
    color: black;
    background: white;
    padding: 0.7em;
	font-size:0.9rem;
    overflow-y: auto;
}
#text-area {
    height: 35px;
    width: 100%;
    position: absolute;
    bottom: 0;
    resize: none;
    margin-right:70px;
    border: none;
    border-top: 1px outset #4192FD;
	font-size:0.9rem;
    font-family: 'Encode Sans Semi Condensed', sans-serif;
	padding-left:5px;
}
.text-line {
    width: 100%;
    padding: 5px 10px;
    box-sizing: border-box; 
    color: #AAAAAA;
}
em {
    color: black;
}
.you-text {
    color: #FDB511;
}
.them-text {
    color: green;
}

#submit {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 35px;
	border-radius:0px;
}

@media only screen and (max-width: 1000px) {
	#wrapper, #main, #videos {
		display:block;
		height:auto;
	}
	#videos {
		width:100%;
	}
	
	#textchat {
		height: 350px;
		width: 100%;
	}
	
	.logotext div{
		display:none;
	}
	.logotext span{
		font-size:7.5vw;
	}

}