@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
a, button {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  color: inherit;
  cursor: pointer;
}

a:hover, button:hover {
  text-decoration: none;
}

a:focus, button:focus {
  outline: 0;
}

button {
  padding: 0;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul a {
  display: inline-block;
}

input, textarea {
  outline: none;
  box-shadow: none !important;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 1;
}

input:-moz-placeholder, textarea:-moz-placeholder {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 1;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 1;
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
  color: transparent !important;
}

input:focus:-moz-placeholder, textarea:focus:-moz-placeholder {
  color: transparent !important;
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
  color: transparent !important;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

input:focus {
  box-shadow: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

a, img {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

html {
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

.wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover !important;
}

.video {
  position: relative;
  width: 69%;
}

.video-box {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.video-box > * {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.chat {
  position: relative;
  width: 31%;
  padding: 44px 46px 44px 20px;
}

.chat__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.chat__main {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 300px);
  padding: 1em;
  background: rgba(18, 32, 45, 0.9);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.chat__messages {
  margin: 0 0 10px;
  height: calc(100% - 30px);
  overflow-x: hidden;
  overflow-y: auto;
}

.chat__messages::-webkit-scrollbar {
  width: 5px;
}

.chat__messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat__messages::-webkit-scrollbar-thumb {
  background: #E0E0E0;
}

.chat__messages::-webkit-scrollbar-thumb:hover {
  background: #bababa;
}

.chat__message {
  position: relative;
  padding: 0.5em 0;
  border-bottom: 1px dashed #E0E0E0;
  background-clip: content-box;
  cursor: pointer;
  transition: background 0.2s;
}

.chat__message:last-child {
  border-bottom-color: transparent;
}

.chat__message:hover {
  background-color: rgba(29, 97, 139, 0.5);
}

.chat__message-info {
  margin: 0 0 3px;
  color: #1483FF;
}

.chat__message-name {
  padding-right: 0.5em;
  font-weight: bold;
}

.chat__message-time {
  display: inline-block;
  font-size: 0.8em;
  white-space: nowrap;
}

.chat__message-text {
  color: #fff;
}

.chat__options {
  white-space: nowrap;
}

.chat__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 20px 0 0;
  padding: 0 0 0 20px;
  cursor: pointer;
}

.chat__option:last-child {
  margin: 0;
}

.chat__option > span:nth-child(2) {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.chat__option > span:nth-child(3) {
  font-size: 0.8em;
  font-weight: bold;
  color: #707070;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.chat__option input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.chat__option input[type="checkbox"]:checked + span:after {
  content: "✔";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8em;
  line-height: 0;
  color: #707070;
}

.chat__form {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1em;
  background: rgba(18, 32, 45, 0.9);
}

.chat__form input, .chat__form textarea {
  width: 100%;
  color: #000;
}

.chat__form input, .chat__form textarea, .chat__form button {
  border-radius: 3px;
  border: 0;
  background: #fff;
}

.chat__form-row {
  position: relative;
  margin: 0 0 8px;
}

.chat__form-row:last-child {
  margin: 0;
}

.chat__form-hint {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin: 16px 0 0;
  padding: 3px;
  border: solid 1px #FFFFFF;
  border-radius: 4px;
  color: #fff;
  background: #000;
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.chat__form-hint:before {
  content: "";
  position: absolute;
  top: -15px;
  left: 16px;
  border-width: 0;
  border-top: 15px solid transparent;
  border-left: 15px solid #000;
}

.chat__form-hint_active {
  display: inline-block;
  opacity: 1;
}

.chat__form-input {
  display: flex;
  align-items: center;
  padding: 0 0.5em;
  height: 26px;
  font-weight: bold;
}

.chat__form-area {
  padding: 0.5em;
  height: 160px;
  resize: none;
}

.chat__form-area::-webkit-scrollbar {
  width: 5px;
}

.chat__form-area::-webkit-scrollbar-track {
  background: transparent;
}

.chat__form-area::-webkit-scrollbar-thumb {
  background: #E0E0E0;
}

.chat__form-area::-webkit-scrollbar-thumb:hover {
  background: #bababa;
}

.chat__form-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 133px;
  height: 26px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}

.chat__form-submit:hover {
  color: #fff;
  background: #1483FF;
}

@media (max-width: 1600px) {
  .chat__form-area {
    height: 100px;
  }
  .chat__main {
    height: calc(100% - 240px);
  }
}

@media (max-width: 1199px) {
  .wrapper {
    min-height: auto;
  }
  .chat {
    padding: 0 0 0 10px;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  .video {
    width: 100%;
    height: 50%;
  }
  .chat {
    padding: 10px 0 0;
    width: 100%;
    height: 50%;
  }
  .chat__form-area {
    height: 60px;
  }
  .chat__main {
    height: calc(100% - 175px);
  }
}
@media (max-width: 991px) and (orientation: landscape) {
	.video {
		height: 100%;
	}
	.chat {
		display: none;
	}
}

@media (max-width: 575px) {
  html {
    font-size: 14px;
  }
  .video {
    height: 30%;
  }
  .chat {
    height: 70%;
  }
}
