:root {
   
    --msger-bg: #fff;
    --border: 2px solid #ddd;
    --left-msg-bg: #ececec;
    --right-msg-bg: #579ffb;
}

.msger {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 460px;
  margin: 25px 10px;
  height: calc(100% - 280px);
  border: var(--border);
  border-radius: 5px;
  background: var(--msger-bg);
  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}

.msger-header {
  display: flex;
  justify-content: space-between;
  border-bottom: var(--border);
  background: #eee;
  color: #666;
  width:100%;
}

.msger-chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  min-height: 250px;
  max-height: 250px;
  width:100%;
}
.msger-chat::-webkit-scrollbar {
  width: 6px;
}
.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}
.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}
.msg:last-of-type {
  margin: 0;
}
.msg-img {
  min-width: 45px;
  min-height: 45px;
  margin-right: 10px;
  background: #ddd;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}
.msg-bubble {
  max-width: 450px;
  padding: 15px;
  border-radius: 15px;
  background: var(--left-msg-bg);
}
.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.msg-text {
  font-size: 0.86em;;
}
.msg-image {
  max-width: 240px;
  max-height: 220px;
}

.left-msg .msg-bubble {
  border-bottom-left-radius: 0;
}

.right-msg {
  flex-direction: row-reverse;
}
.right-msg .msg-bubble {
  background: var(--right-msg-bg);
  color: #fff;
  border-bottom-right-radius: 0;
}
.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.msger-inputarea {
  display: flex;
  padding: 10px;
  border-top: var(--border);
  background: #eee;
}
.msger-inputarea * {
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-size: 1em;
}
.msger-input {
  flex: 1;
  background: #fcfcfe;
  width:100%;
}
.msger-send-btn {
    margin-left: 10px;
    background: #2a234c;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
    border-radius: 5px;
    padding: 0 20px;
}
.msger-send-btn:hover {
  background: #f09620;
}

.msger-chat {
  background-color: #fcfcfe;
}
.msger-header-title img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin: 5px;
}

.mic-img {
    min-width: 45px;
    min-height: 45px;
    margin-left: 10px;
    background: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}
.mic-img:hover, .mic-img.active {
    background: #61be69;
    animation: bg-pulse 1.5s alternate ease-in-out infinite;
}
.mic-img.active img, .mic-img:hover img {
    filter: invert(1);
}

.btn_group {
  margin: 10px 0 0 53px;
  display: block;
  position: relative;
}
.btn {
    padding: 8px 15px;
    position: relative;
    border-radius: 8px;
    border: 1.2px solid #ececec;
    font-size: 12px;
    font-weight: 550;
    background: #2a234c;
    color: #fff;
}
.btn:hover {
    background: #f09620;
    cursor: pointer;
}
ul.post-type-listing {
    display: flex;
    margin-top: 13px;
    margin-left: 10%;
    flex-wrap: wrap;
}
ul.post-type-listing li a {
    display: flex;
    padding: 5px 15px;
    border: 3px solid #ececec;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
    background-color: #ececec;
    font-weight: 600;
    text-transform: capitalize;
}
ul.post-type-listing li a:hover {
    background-color: #f09620;
    color: #000;
}
ul.post-type-listing li {
    padding: 0 10px;
    margin-bottom: 10px;
}
.my-modal-wrap .modal-dialog.chat-panel {
      filter: blur(4px);
}
#unity-container { position: absolute }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #231F20 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('../img/unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; background: url('../img/progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('../img/progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('../img/webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('../img/fullscreen-button.png') no-repeat center }
#unity-mobile-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

.msg-text {
  font-size: 1em;
  line-height: 130%;
}
.grecaptcha-badge {
  display: none!important;
}
@media (max-width: 767px) {
  #myModal .chat-panel {
      width: 600px;
  }
}
@media (max-width: 620px) {
  #myModal .chat-panel {
      width: 95%;
      left: 0;
  }
  #unity-container {
    position: absolute;
    top: -130px;
    width: 100%;
}
#unity-container #unity-canvas {
    width: 100%!important;
    height: 130px!important;
}
  .commdet-desc {
      float: none;
  }
  .commdet-desc .msger {
      max-width: 100%;
  }
}
@media (max-width: 480px) {
  #cancel-box .modal-dialog {
      margin: 0 auto!important;
      width: 350px!important;
  }
}

ul.post-type-listing li a.btn {
    background-color: #f09620;
    color: #000;
    border-color: #204d74;
}

.page-id-15329 .msg-bubble .msg-text .btn_group {
    margin: 0;
}

.page-id-15329 .msg-bubble {
    margin-top: 10px;
}
#inner-page-wrapper .container {
    width: 650px;
    margin-top: 30px
}
#unity-canvas {
    box-shadow: -4px 1px 10px -5px black;
}
@media (max-width: 767px) {
    #inner-page-wrapper .container {
        width: 100%;
    }
}
@media (max-width: 620px){
    #unity-container {
        top: -91px;
        left: 0;
    }
}

