html, body{
    margin:0px;
    height:100%;
    color: #424242;
    font-family:'Helvetica Neue', Helvetica, sans-serif;
	font-weight: 400;
    background: #e9e9e9;
    overflow-x: hidden;
}

#videospace {
    display: block;
    position: absolute;
    top: 39px;
    left: 0px;
    right: 0px;
    float: left;
}

.videocontainer {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}
#presentation, #etherpad, .videocontainer>video {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
    width: 100%;
    height: 100%;
}

#etherpad {
    z-index: 0;
}

.videocontainer>span {
    display: none; /* enable when you want nicks to be shown */
    position: absolute;
    left: 0px;
    bottom: -20px;
    z-index: 0;
    width: 100%;
    font-size: 10pt;
}

#localVideo {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

#remoteVideos {
    display:block;
    position:relative;
    text-align:center;
    height:196px;
    padding: 5px 0px;
    width:auto;
    overflow: hidden;
    border:1px solid transparent;
    z-index: 2;
}

#remoteVideos>span {
    display: inline-block;
    z-index:0;
    border:1px solid #FFFFFF;
    background-image:url(../images/avatar1.png);
    background-size: contain;
}

#remoteVideos>span:hover {
    cursor: pointer;
    cursor: hand;
    transform:scale(1.08, 1.08);
    -webkit-transform:scale(1.08, 1.08);
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    background-color: #FFFFFF;
    -webkit-animation-name: greyPulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: 1;
    -webkit-box-shadow: 0 0 18px #515151;
    border:1px solid #FFFFFF;
    z-index: 10;
}

#chatspace {
    display:none;
    position:absolute;
    float: right;
    top: 40px;
    bottom: 0px;
    right: 0px;
    width: 20%;
    max-width: 200px;
    overflow: hidden;
    /* background-color:#dfebf1;*/
    background-color:#FFFFFF;
    border-left:1px solid #424242;
}

#chatconversation {
    position: relative;
    top: 5px;
    padding: 5px;
    text-align: left;
    line-height: 20px;
    font-size: 10pt;
    width: 100%;
    height: 95%;
    overflow-y: scroll;
    overflow-x: hidden;
    word-wrap: break-word;
    visibility: hidden;
}

.localuser {
    color: #087dba;
}

.remoteuser {
    color: #424242;
}

#usermsg {
    position: relative;
    width: 100%;
    height: 5%;
    padding: 5px;
    z-index: 5;
    max-height:150px;
    min-height:50px;
    visibility:hidden;
    border: 0px none;
    border-top: 1px solid #cccccc;
    background: #FFFFFF;
    box-shadow: none;
    border-radius:0;
    font-size: 10pt;
}

#usermsg: hover {
    border: 0px none;
    border-top: 1px solid #cccccc;
    box-shadow: none;
}

#nickname {
    position: absolute;
    text-align: center;
    color: #9d9d9d;
    font-size: 18;
    top: 100px;
    left: 5px;
    right: 5px;
    width: 95%;
}

#nickinput {
    margin-top: 20px;
    font-size: 14;
}

#spacer {
    height:5px;
}

#settings {
    display:none;
}

#nowebrtc {
    display:none;
}

#header{
    display:block;
    height:39px;
    text-align:center;
    background-color: #2591e5;
}

#left {
	display:block;
    position: absolute;
	left: 0px;
    top: 0px;
    width: 100px;
    height: 39px;
	background-image:url(../images/left1.png);
	background-repeat:no-repeat;
	margin: 0;
	padding: 0;
}

#leftlogo {
    position:absolute;
    top: 5px;
    left: 15px;
    background-image:url(../images/jitsilogo.png);
    background-repeat:no-repeat;
    height: 31px;
    width: 68px;
    z-index:1;
}

#toolbar {
    display:block;
    position:relative;
    height:39px;
    width:auto;
    overflow: hidden;
    z-index:0;
    visibility: hidden;
}

#settingsButton {
    visibility: hidden;
}

.button {
    display: inline-block;
    position: relative;
    color: #FFFFFF;
    top: 0;
    padding: 10px 0px;
    width: 39px;
    cursor: pointer;
    font-size: 11pt;
    text-align: center;
    text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
}

a.button:hover {
    top: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-clip: padding-box;
    -webkit-border-radius: 5px;
    -webkit-background-clip: padding-box;
}

.no-fa-video-camera, .fa-microphone-slash {
    color: #636363;
}

.fade_line {
    height: 1px;
    background: black;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#e9e9e9), to(#e9e9e9), color-stop(50%, black));
}

.header_button_separator {
    display: inline-block;
    position:relative;
    top: 7;
    width: 1px;
    height: 25px;
    background: white;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#087dba), to(#087dba), color-stop(50%, white));
}

#right {
	display:block;
    position:absolute;
    right: 0px;
    top: 0px;
	background-image:url(../images/right1.png);
	background-repeat:no-repeat;
	margin:0;
	padding:0;
	width:100px;
    height:39px;
}

#rightlogo {
    position:absolute;
    top: 6px;
    right: 15px;
    background-image:url(../images/estoslogo.png);
    background-repeat:no-repeat;
    height: 25px;
    width: 62px;
    z-index:1;
}

input[type='text'], textarea {
    display: inline-block;
    font-size: 14px;
    padding: 5px;
    background: #f3f3f3;
    border-radius: 3px;
    font-weight: 100;
    line-height: 20px;
    height: 40px;
    color: #333;
    text-align: left;
    border:1px solid #ACD8F0;
    outline: none; /* removes the default outline */
    resize: none; /* prevents the user-resizing, adjust to taste */
}

input[type='text'], textarea:focus {
    box-shadow: inset 0 0 3px 2px #ACD8F0; /* provides a more style-able
                                         replacement to the outline */
}

textarea {
    overflow: hidden;
    word-wrap: break-word;
    resize: horizontal;
}

button.no-icon {
    padding: 0 1em;
}

button {
    border: none;
    height: 35px;
    padding: 0 1em 0 2em;
    position: relative;
    border-radius: 3px;
    font-weight: bold;
    color: #fff;
    line-height: 35px;
    background: #2c8ad2;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}

form {
    display: block;
}

#downloadlog {
    position: absolute;
    bottom: 5;
    left: 5;
    overflow: visible;
    z-index: 100;
}

.videocontainer>span.focusindicator {
    display: inline-block;
    position: absolute;
    color: #FFFFFF;
    top: 0;
    padding: 5px 0px;
    width: 25px;
    font-size: 11pt;
    text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
    border: 0px;
    z-index: 2;
}

.videocontainer>span.displayname,
.videocontainer>input.displayname {
    display: inline-block;
    position: absolute;
    background: -webkit-linear-gradient(left, rgba(0,0,0,.7), rgba(0,0,0,0));
    color: #b7b7b7;
    bottom: 0;
    left: 0;
    padding: 3px 5px;
    width: 100%;
    height: auto;
    max-height: 18px;
    font-size: 9pt;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
    box-sizing: border-box;
}

#localVideoContainer>span.displayname:hover {
    cursor: text;
}

.videocontainer>a.displayname {
    display: inline-block;
    position: absolute;
    color: #b7b7b7;
    bottom: 0;
    right: 0;
    padding: 3px 5px;
    font-size: 9pt;
    cursor: pointer;
    z-index: 2;
}

#reloadPresentation {
    display: none;
    position: absolute;
    color: #FFFFFF;
    top: 0;
    right: 0;
    padding: 10px 10px;
    font-size: 11pt;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-clip: padding-box;
    -webkit-border-radius: 5px;
    -webkit-background-clip: padding-box;
    z-index: 3;
}
