.ad-side {
  margin: 5px 0 0 0;
}
h1 {
  font-size: 18px;
  line-height: 22px;
}
h2 {
  font-size: 16px;
  font-weight: normal;
}
#start-chat {
  font-size: 16px;
  background-color: #0A8549;
  clear: both;
  cursor: pointer;
  float: none;
  font-weight: bold;
  text-transform: uppercase;
}
.random-ad2 {
  display: none;
}

#random-chat {
    position: relative;
    margin: 0px auto;
    height: 100%;
    top: 0;
    margin-top: 0;
    border-radius: 5px;
    min-height: 450px;
    margin-bottom: -22px; 
}
#exit {
  border:0;
}

#random-chat-center {
  text-align: center;
  background: #23447c;
  width: 97%;
  max-width: 400px;
  color: #ffff;
  margin: 0 auto;
  border-radius: 5px;
  padding: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#random-chat #chatbox {
    padding: 0 0 0 1%;
    webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    top: 0;
    bottom: 92px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column; 
    max-height: none; 
}
.btn-warning {
    background-color: #18817A !important;
}
#random_chat {
    position: relative;
    margin-bottom: 0; 
}
#more-buttons {
    background: #fff;
    padding: 0px;
    top: 0;
    left: 14%;
    right: 0;
    z-index: 999999;
}
#more-buttons button {
    font-size: 16px !important;
    width: 33.33% !important;
}
#more {
    width: 14% !important;
    font-size: 33px !important;
    line-height: 0;
    color: #fff;
    background: #1aad0b;
    padding: 0;
    border: 0;
}
#more:disabled,
#send_message:disabled {
    background: #aaa;
}

#report_random span.image {
    background: url(../img/glyphicons-halflings.png) -143px -120px transparent;
    width: 16px;
}
#random-welcome {
  position: absolute;
  top:0;
}
#start_random input {
    text-align: center;
    float: none !important;
    background: none repeat scroll 0 0 #fff;
    border: 0;
    margin: 0;
    DISPLAY: inline-block;
    font-size: 18px;
    color: #000;
    padding: 17px 0 10px 0;
    width: 164px;
    resize: none;
    border-bottom: 5px solid #38b728;
}
#start_random button {
      padding: 16px 0;
      float: none;
      width: 37%;
      max-width: 160px;
      margin: 5px;
      font-size: 20px;
}
#start_random div {text-align: center;}

.alert {
  padding: 10px 9px;
  width: 96%;
}

#random-chat #chatbox ul li {
   list-style: none;
   min-height: 20px;
   clear: both;
}
#chat {
    line-height: 0;
    position: absolute;
    WIDTH: 100%;
    bottom: 0;
    Z-INDEX: 999;
}
footer {
  display: none;
}

#logo {
  display: inline-block;
  float:none;
}


.go_back {
    margin: 8px 2px 0 2px;
}
.random-ad, .random-add2 {
    text-align: center;
    padding: 20px 0;
 }

.image-blur {
  filter: blur(8px);
  transition: filter 0.3s;
}

.image-blur:hover {
  filter: blur(0);
}

.report-btn {
  display: block;
  margin-top: 10px;
  color: #fff;
  background-color: #2396f3;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  width: 115px;
  cursor: pointer;
}

.age-warning {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-align: center;
  padding: 10px;
}
@media screen and (min-width:768px) {

  #logo {
    float:left;
  }

  footer {
    display: block;
  }
  #random-chat {
    position: relative;
    margin: 0px auto;
    height: 90%;
    margin-bottom: 20px;
    top: 0;
    margin-top: 20px; 
    border-radius: 5px; 
  }
}

/* @media (prefers-color-scheme: light) {
  body { background-color: #a7c2e3; }
}
/* @media (prefers-color-scheme: dark) {
  body { background-color: #000000; }
} */ */
