@charset "utf-8";
/*!
 *
 * WebRTC Lab
 * @author dodortus (dodortus@gmail.com / codejs.co.kr)
 *
 */

input[type='text'] {
  padding: 6px 10px;
  width: 120px;
  height: 30px;
  border: solid 1px #bbb;
  font-size: 1.3em;
}

.wrap {
  margin-top: 30px;
  position: relative;
  font-size: 1.2em;
  text-align: center;
}

.wrap p {
  font-size: 1.25em;
}

.wrap button {
  margin-top: 20px;
  min-width: 80px;
  vertical-align: top;
}

.room-info {
  vertical-align: top;
}

#create-wrap {
  overflow: hidden;
  max-height: 200px;
  transition: all 0.3s ease-out;
}

#create-wrap.slideup {
  max-height: 0;
}

/********************************************
  Below room style
*********************************************/
video {
  margin: 0 0 20px 0;
  width: 100%;
  z-index: 1;
  background: #222;
  border: solid 1px #fff;
  transition: all 0.6s ease-out;
}

video.effect {
  transform: scale(1, 1);
}

#video-wrap {
  display: none;
  position: relative;
  margin: 0 auto;
}

#video-wrap video {
  margin-bottom: 0;
}

#video-wrap .buttons {
  text-align: left;
}

#share-wrap {
  display: none;
  margin: 10px 0;
}

.room #enter-wrap,
.connected #create-wrap,
.connected #wait-wrap {
  display: none;
}
.connected #local-video {
  position: absolute;
  top: 2px;
  left: 2px !important;
  width: 150px !important;
  border: solid 1px #fff;
  z-index: 2;
}

.room #share-wrap {
  display: block;
}

.room #wait-wrap {
  display: none;
}

.room #video-wrap {
  display: block;
}

.room #content {
  padding-top: 30px;
}
