html {
  overflow-y: scroll;
}
#tab-bar {
  width: 25.5%;
  float: right;
}

.secondarybox {
  width: 30%;
  float: right;
  border: solid #e4e4e4 1px;
}


.tab {
  padding: 6px;
  text-transform: uppercase;
  text-align: center;
  font-family: 'MyriadPro-SemiBold';
  width: 100%;
  display: inline-block;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  background-color: #AF8462;
  color: white;
  user-select: none;
}

#tab-left {
  float: left;
}

#tab-right {
  float: right;
}

#tab-bar span {
  margin-top: 6px;
  display: inline-block;
}

.tab-arrow {
  display: inline-block;
  padding: 1.5%;
  user-select: none;
}

.tab-arrow:hover {
  cursor: pointer;
}

.secondarybox {
  width: 25.5%;
  float: right;
  border: solid #e4e4e4 1px;
}

#secondary-stream {
    padding: 10px;
    float:right;
    width:100%;
}

#tab-left, #tab-right {
    top: 4px !important;
}
.tab {
  padding: 10px;
  text-transform: uppercase;
  text-align: center;
  background-color: #FFF;
  color:#183B78;
  font-weight: bold;
  display: inline-block;
  flex-direction: column;
  align-items: center;
  border: solid #e4e4e4 1px;
}
#tab-left img, #tab-right img {
    height:20px;
}
.tab:hover {
  cursor: pointer;
}

#messages {
  position: relative;
}

#messages .header {
  padding: 10px;
  text-transform: uppercase;
  text-align: center;
  background-color: #FFF;
}

#messages .content hr {
  height: 1px;
  border-width: 0;
  color: #e4e4e4;
  background-color: #e4e4e4;
}
#messages .content {
    font-family: "PlayfairDisplay-VariableFont_wght", Arial, sans-serif;
    font-size: 0.80rem;
}
#header-logo img {
  height: 47px;
}
#slides img {
  width: 100%;
  display: block;
}
#switch-stream {
    display: none;
    width: 100%;
    text-align: center;
}
#popoutContainer #switch-stream {
  margin-top: 0;
}
#stream-holder.primary #wall-container {
  display: block;
  width: 25%;
  float: right;
}
#stream-holder.primary.messages #secondary-stream {
  display: none;
}
#stream-holder.primary.messages #messages {
  display: block;
  width: 100%;
/*  float: right;*/
}
#stream-holder.primary.secondary #primary-stream {
  width: 74%;
  float: left;
}
/*#stream-holder.primary.secondary #secondary-stream {
  width: 25%;
  float: right;
}*/
/*#stream-holder.primary.secondary #messages {
  display: none;
}*/
#stream-holder.primary.secondary #wall-container {
  display: none;
}
#stream-holder.primary.slides #primary-stream {
  width: 48%;
  float: left;
}
#stream-holder.primary.slides #slides {
  width: 48%;
  float: right;
}
#messages,
#primary-stream,
#secondary-stream,
#slides {
  display: none;
}
.theo-primary-color,
.vjs-selected {
  color: #6DA5D6 !important;
}
.theo-primary-background {
  color: #000000 !important;
  background-color: #6DA5D6 !important;
}
.theo-secondary-color {
  color: #ffffff !important;
}
.theo-secondary-background {
  color: #000000 !important;
  background-color: #ffffff !important;
}
.theo-tertiary-color {
  color: #000000 !important;
}
.theo-tertiary-background {
  color: #ffffff !important;
  background-color: #000000 !important;
}
#messages {
/*  background-color: #f7f6f5;
  border: solid #e4e4e4 1px;*/
  /*					max-height: 592px;*/
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
#message-background {
  background-color: #FFF;
  border-radius: 5px;
  /*					width: 100%;
	height: 592px;*/
  position: relative;
  z-index: 10;
  opacity: 1;
}
#emoji-wall-container .bottom {
  display: none;
  margin-top: -10px;
}
#wall-container .top,
#wall-container .bottom {
  padding: 10px;
}
#wall-container .bottom {
  background-color: #e5f1f6;
  border-radius: 5px;
}
#wall-container .top {
  padding-bottom: 0;
  box-sizing: border-box;
  position: relative;
}
#switch-stream {
  margin-top: 10px;
  width: 100%;
  display: none;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
}
#emoji-wall-container {
  position: absolute;
  top: 52px;
  left: 0;
}
#wall-container #emoji-wall-container .top {
  padding: 0;
}
#messages .content {
  position: relative;
  z-index: 20;
  padding: 10px;
  overflow-y: auto;
  box-sizing: border-box;
}
#messages .header {
  padding: 10px;
  text-transform: uppercase;
  text-align: center;
  background-color: #FFF;
  font-family: "Amplitude-Regular", Arial, sans-serif;
}
hr {
  height: 2px;
  border-width: 0;
  color: #d4d4d4;
  background-color: #d4d4d4;
}
.emoji {
  height: 30px;
  opacity: 1;
  cursor: pointer;
  padding: 5px 5px;
}
#emoji-switch {
  height: 35px;
  cursor: pointer;
}
.emoji:active {
  opacity: 0.5;
}
#emoji-bar {
  text-align: center;
  position: relative;
  z-index: 100;
}
#switch-button {
  width: 100%;
}
#message-div {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000;
  top: 0;
  left: 0;
  opacity: 0.7;
}
#message-div .inner {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translate(0, 50%);
  color: #FFF;
  font-size: 30px;
}

.condense-arrow {
  position: absolute;
  z-index: 20;
  right: -1px;
  top: 41.75%;
  background-color: #6DA5D6;
  padding: 22.5px 13px;
  opacity: 0;
  transition: 1s;
  cursor: pointer;
  border: 1px solid black;
  border-right: 0;
}


#primary-stream:hover .condense-arrow {
  opacity: 1;
  transition: 0.4s;
}

.popoutswitch {
  position: absolute;
  z-index: 20;
  right: 160px;
  top: 10px;
  width: 60px;
  height: 34px;
  opacity: 0;
  transition: 1s;
}

#primary-stream:hover .popoutswitch {
  opacity: 1;
  transition: 0.4s;
}

.popoutswitch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

.popoutswitch input:checked + .slider-round:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.popoutswitch input:checked + .slider-round {
  background-color: #6DA5D6;
}

.popouttext {
  color: white;
  position: absolute;
  right: -145px;
  top: 5px;
  font-family: "NotoSans-Regular";
  text-shadow: 0 0 4px black;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #C1C3C3;
  transition: .4s;
  border-radius: 34px;
}

#popoutContainer {
  z-index: 500;
}

#popoutContainer #primary-stream {
  width: 100% !important;
}

#popoutContainer .condense-arrow, #popoutContainer .secondarybox, #popoutContainer #tab-bar, #popoutContainer #wall-container, #popoutContainer #secondary-stream, #popoutContainer #slides {
  display: none !important;
}
#primary-stream {
    position: relative;
}

@media (max-width: 970px) {
  #messages,
  #primary-stream,
  #secondary-stream,
  #slides,
  #wall-container {
    float: none !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  #wall-container {
    max-width: none !important;
  }
  #tab-bar, .secondarybox {
      width: 100%;
  }
}
