* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: inter;
}
@media all and (orientation: landscape) {
}
@media screen and (min-width: 100%){

}
.global_container {
  /*width: 100%; */
  max-width: 1920px; /* 1540px;*/
  min-height: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  background-color: white;
}



  /*    SCROLLBAR    */
  /* width */
::-webkit-scrollbar {
  padding: 5px 0 5px 0;
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f4f4f4; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #e2e2e2; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cccccc; 
}
/* Gring View with 12 grids */
[class*="c"] {
  float: center;
}

.c1 {
  width: 8.33%;
}
.c2 {
  width: 16.66%;
}
.c3 {
  width: 25%;
}
.c4 {
  width: 33.33%;
}
.c5 {
  width: 41.66%;
}
.c6 {
  width: 50%;
}
.c7 {
  width: 58.33%;
}
.c8 {
  width: 66.66%;
}
.c9 {
  width: 75%;
}
.c10 {
  width: 83.33%;
}
.c11 {
  width: 91.66%;
}
.c12 {
  width: 100%;
}

/*   NAV BAR START   */
.header {
  height: 60px;
  width: 100%;
  /* max-width: 1248; */
  margin: 0 auto;
  background-color: black;
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: left;
}


#logo {
  float: left;
  padding: 12.5px 30px 10px 30px;
  width: 12%;
  min-width: 150px;
  max-width: 200px;
  height: 100%;
}

.navBar {
  width: 35%;
  height: 60px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /* gap: 10px; */
  float: left;
  overflow: hidden;
}
.navbar_username {
  background-color: #000000;
  color: #ffffff;
  max-width: 200px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 0 30px 0 10px;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

li a {
  text-decoration: none;
  color: white;
}

.navBar .active {
  font-weight: bold;
}

/*    NAV BAR END   */

/*   Services Main-Page */
.section {
  width: 100%;
  /* max-width: 1248; */
  margin: 0 auto;
}

.section_one {
  position: relative;
  width: 100%;
  /* max-width: 1248; */
  height: 340px;
  margin: 0 auto;
}

#service_banner {
  width: 100%;
  height: 100%;
}

.section_one .section_title {
  position: absolute;
  white-space: nowrap;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 30px;
  font-weight: bold;
}

#btn {
  width: 15%;
  height: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  border: none;
  border-radius: 15px;
  font-weight: normal;
}

.section_one .reg_btn {
  position: absolute;
  top: 65%;
  left: 34%;
  background-color: black;
  color: white;
}

.reg_btn:hover {
  background-color: #0085e3;
  color: white;
}

.section_one .log_btn {
  position: absolute;
  top: 65%;
  left: 52%;
  background-color: white;
  color: black;
}

.log_btn:hover {
  background-color: #0085e3;
  color: white;
}

.section_two {
  max-width: 1248px;
  padding: 40px 10% 0px 10%;
  margin: 0 auto;
  background-color: #fcfcfc;
}

.section_two h2 {
  padding-bottom: 30px;
}

.box {
  background-color: #f0f0f0;
  padding: 40px;
  margin-bottom: 40px;
}

.box h4 {
  padding-bottom: 15px;
}

/*  Service/Registration  */

.section_one_reg {
  border: 1px black;
  width: 100%;
  /* max-width: 1248; */
  margin: 0 auto;
  height: calc(100vh - 210px); /* 600px; */
}

.reg_mask {
  background-color: #fcfcfc;
  width: 50%;
  height: 100%;
  float: left;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.reg_form {
  border: 1px solid white;
  width: 30%;
  max-width: 175px;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding-top: 15px;
  padding-bottom: 15px;
}

.section_one_success_reg{
  background-color:  white;
  width: 100%;
  /* max-width: 1248; */
  margin: 0 auto;
  height: calc(100vh - 210px);
}

.success_reg_mask{
  border: 1px solid white;
  width: 20%;
  height: 100%;
  margin: 0 auto;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}
.success_reg_mask h3 {
  color: black;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}
.success_reg_mask p {
  color: black;
  text-align: center;
  font-size: 14px;
  padding-bottom: 0px;
}
.basic_div{
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
#success_registration_button {
  background-color: black;
  color: white;
  width: 100%;
  height: 100%;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  margin-top: 15px;
}
#success_registration_button:hover {
  background-color: #0085e3;
  color: white;
}

#log_form_id {
  height: 80%;
  max-width: 175px;
  max-height: 500px;
}

.reg_form h3 {
  color: black;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}

.reg_form p {
  color: black;
  text-align: center;
  font-size: 13px;
  padding-bottom: 30px;
}

.reg_form label {
  font-size: 12px;
}


#fullname {
  margin-top: 5px;
  width: 100%;
  height: 35px;
  background-color: #fcfcfc;
  border: 1px solid #c2c2c2;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

#email {
  margin-top: 5px;
  width: 100%;
  height: 35px;
  background-color: #fcfcfc;
  border: 1px solid #c2c2c2;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
.errorFlash{
  color: red;
  font-size: 20px;
}

#password {
  margin-top: 5px;
  width: 100%;
  height: 35px;
  background-color: #fcfcfc;
  border: 1px solid #c2c2c2;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

#agb {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  font-size: 0.55rem;
  margin: 5px 5px 5px 5px;
}

#underline_text {
  text-decoration: underline;
}

.icon_div {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  margin-bottom: 10px;
  /*
  display: block;
  justify-content: center;
  align-items: center;
  */
}

#icon_registration {
  width: 100%;
  height: 100%;
}

#registration_button {
  background-color: black;
  color: white;
  width: 100%;
  height: 40px;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  margin-top: 15px;
}

#registration_button:hover {
  background-color: #0085e3;
  color: white;
}

#login_button {
  background-color: black;
  color: white;
  width: 100%;
  height: 40px;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  margin-top: 15px;
}

#login_button:hover {
  background-color: #0085e3;
  color: white;
}

.reg_banner {
  width: 50%;
  height: 100%;
  float: left;
}

#registration_banner {
  width: 100%;
  height: 100%;
}

/* =========== Platform Page =========== */

/* .section_one_platform {
   width: 100%; 
   max-width: 1248;     # commment agaiin
  min-height: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}
*/
.platform_container1{
  width: 100%;
  height: 500px;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#createGame_mask{
  min-width: 400px;
  width: 60%;
  max-width: 800px;
  height: 400px;
  background-color: rgb(250, 250, 250); /* #f7f7f7 */
  padding: 50px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
  border-radius: 15px;    /* 3px; */
}

.form_btn_create_close{
  background-color: transparent;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.form_btn_create{
  background-color: transparent;
  width: 100%;
  display: flex;
  flex-direction: row;
}
.createGame_container{
  width: 200px;
}
.createGame_Inputitem{
  /*
  margin-right: 50px;
  width: 200px;
  padding-left: 10px;
  border: none;
  */
  border: none;  /* 2px solid #0095ff; */
  border-radius: 5px;
  background-color: white;
  max-width: 200px;
}
select.createGame_Inputitem option{
  background-color: white;
  color: black;
  font-family: inter, sans-serif;
  border: 2px solid black;
  box-shadow: none;
  outline: none;
}

#btn_close{
  width: 60px;
  height: 35px;
  border: none;
  border-radius: 10px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
#btn_close:hover{
  background-color: rgb(235, 235, 235);
}

.fast_filter{
  width: 100%;
  height: 100px;
  background-color: black;
  border-top: 1px solid rgb(50, 50, 50);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.fast_filter_btn{
  width: 125px;
  height: 60px;
  justify-content: flex-end;
  margin-left: 40px;
  margin-right: 40px;
  color: white;
  border-radius: 10px;
  border: 0px;
}
/*
.fast_filter_btn:hover{
  background-color: black;
  color: white;
}
*/

#fast_filter_btn1{
  background-color: #386641;
}
#fast_filter_btn2{
  background-color: #818479 ;
}
#fast_filter_btn3{
  background-color: #6a994e;
}
#fast_filter_btn1:hover{
  background-color: black;
  color: white;
  border: 2px solid white;
}
#fast_filter_btn2:hover{
  background-color: black;
  color: white;
  border: 2px solid white;
}
#fast_filter_btn3:hover{
  background-color: black;
  color: white;
  border: 2px solid white;
}
#split_section{
  width: 33.4%;
  height: 800px;
  background-color: rgb(0, 7, 14);
  border-bottom: 1px solid rgb(201, 201, 201);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.match_appointments{
  width: 100%;
  height: 50px;
  background-color: rgb(243, 243, 243);
  border-right: 1px solid rgb(201, 201, 201);
  display: flex;
  justify-content: center;
  align-items: center;
}
#match_date_titles{
  font-size: 14px;
  color: black;
  margin-left: 18px;
}
.match_items{
  width: 100%;
  height: 50px;
  font-size: 12px;
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(201, 201, 201);
  display: flex;
  justify-content: left;
  font-size: 14px;
  color: black;
}
.match_items2{
  width: 100%;
  height: 150px;
  font-size: 12px;
  background-color:  rgb(255, 255, 255); 
  border-bottom: 1px solid rgb(201, 201, 201);
  border-right: 1px solid rgb(201, 201, 201);
  display: flex;
  flex-direction: column;
  justify-content: left;
  font-size: 14px;
  color: black;
}
.match_item_time{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.match_item_loc_mode{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
audio.platform_audio{
  width: 50px;
  height: 20px;
  background-color: black !important;
  color: white  !important;
}
.user_icon_div{
  width: 53%;
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  background-color: transparent;
}
#gamefacts_icon_div{
  width: 20px;
  height: 20px;
  background-color: transparent;
  margin-right: 25px;
}
.user_btn{
  width: 25px;
  height: 25px;
  visibility: hidden;
}

#user_icon{
  width: 100%;
  height: 100%;
  visibility: visible;
}
#user_icon:hover{
  cursor: pointer;
}
#filter_div{
  display: flex;
  justify-content: center;
}
#search_btn {
  width: 125px;
  height: 35px;
  /*
  margin-left: 40px;
  margin-right: 40px;
  */
  justify-content: flex-end;
  margin-top: 30px;
  background-color: #0095ff;
  color: white;
  border-radius: 10px;
  border: 0px;
}

#search_btn:hover {
  background-color: #0080db;
}

.search_bar {
  width: 100%;
  /* max-width: 1248; */
  height: 50px;
  background-color: #ededed;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.search_bar ul {
  width: 75%;
  min-width: 450px;
  height: 87.5%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  list-style-type: none;
  font-size: 10px;
  padding-left: 3%;
}

.search_bar ul li a {
  color: black;
  text-decoration: none;
}
.search_bar ul li select {
  color: black;
  font-family: inter;
  text-decoration: none;
}

#platform_filter_bg{
  width: 100%;
  min-height: 700px;
  height: 100%;
  /* background-color: #0095ff; */
  display: flex;
  flex-direction: row;
  background-color: #ffffff; 
}
#platform_filter_bg_img{
  width: 100%;
  min-height: 600px;
  background-image: url('/static/stadium_Game.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* PLATFORM LEFT */
#platform_menu{
  width: 15%;
  min-width: 150px;
  min-height: 600px;
  height: 100%;
  background-color: white;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid rgb(218, 218, 218);
}
.platform_menu_checkboxes{
  margin-left: 30px;
  }
#team_size_checkbox{
  font-size: 13px;   
}
#court_material_checkbox{
  font-size: 13px;   
}
/* PLATFORM RIGHT */

#platform_interface{
  width: 85%;
  height: 100%;
  background-color: rgb(255, 255, 255);
}

.titleBar{
  height: 60px;
  width: 100%;
  max-width: 400px;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.btn_date{
  width: 50px;
  height: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;

  background-color: white;
  color: black;
  border: 0.15em solid rgb(0, 0, 0);

  border-radius: 10px;
  flex-direction: row;
  justify-content: space-between;
}
#btn_dateActive{
  background-color: black;
  color: white;
}

#btn_createMatch{
  width: 125px;
  height: 35px;
  margin-top: 13px;
  margin-bottom: 12px;
  background-color: #0095ff;
  color: white;
  border-radius: 10px;
  border: 0px;
}
#btn_createMatch:hover {
  background-color: #0080db;
}
#date_text{
  width: 100%;
  height: 50px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#date_text p{
  margin-left: 50px;
}
#date_text form{
  margin-right: 50px;
}
.descriptionBar{
  width: 50%;
  height: 60px;
  font-size: 12px;
  background: transparent;
  color: #7f7f7f;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 40px;
}
.descrBarItem{
  width: 25%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.match_card{
  width: 100%;
  height: 60px;
  background-color: white;
  border-bottom: 1px solid rgb(203, 203, 203);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 5px;
}
.match_card:hover {
  background-color: black;
  color: white;
  }
.match_card:hover #p_matchCard{
    background-color: black;
    color: white;
    }
.chat_card{
  width: 100%;
  height: 60px;
  background-color: white;
  border-bottom: 1px solid rgb(203, 203, 203);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 5px;
}
.chat_card:hover {
  background-color: black;
  color: white;
  }
.chat_card:hover #chatItem_username{
    background-color: black;
    color: white;
    }
.chatItem{
  min-width: 250px;
  content: left;
  padding-left: 20px;
}
.btn_match_card{
    width: 100%;
    height: 100%;
    font-size: 12px;
    background: transparent;
    border: none;
}
.format_gameFacts{
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-left: 40px;
}
.format_chatFacts{
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-left: 0px;
}
.platformItem{
  width: 25%;
  height: 100%;
  background: transparent;
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.chatItem{
  width: 25%;
  height: 100%;
  background: transparent;
  color: black;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#p_matchCard{
  text-align: center;
}
#chatItem_username{
  text-align: center;
  font-size: 16px;
}

#matchCard_nogames{
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  margin: 0 0;
}
.btn_joinMatch{
  width: 125px;
  height: 35px;
  margin-top: 13px;
  margin-bottom: 12px;
  margin-right: 40px;

  background-color: black;
  color: white;
  border: 0px;

  border-radius: 10px;
}

.btn_joinMatch:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}

#filter_bg{
  background-color: #eaeaea;
  border-radius: 10px;
  margin-bottom: 20px;
}
.filter_window_top_margin{
  width: 80%;
  height: 50px;
  margin: 0 auto;
}
.filter_window{
  width: 60%;
  max-width: 800px;
  height: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-style: solid;
  border-width: 1px;
  border-color: #dbdbdb;
}
.filter_window_title{
  width: 80%;
  height: 10%;
  margin: auto;
  display: flex;
  justify-content: center;
}
#filter_title{
  font-size: 20px;

  margin: auto;
  margin-bottom: 0;
  color: black;
}
.filter_window_body{
  width: 80%;
  height: 75%;
  margin: auto;
  display: flex;
  justify-content: center;
}
.filter_left{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.filter_right{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.filter_pairs{
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 0 auto;
}
.filters{
  margin: 0 20px 20px 20px;
}
.filter_labels{
  font-size: 14px;
}
.filter_window_bottom{
  width: 100%;
  height: 15%;
  display: flex;
  justify-content: center;
}

.user_search {
  width: 100%;
  /* max-width: 1248; */
  background-color: white;
  margin: 0 auto;
}

.user_search .user {
  width: 100%;
  /* max-width: 1248; */
  height: 100px;
  background-color: #ffffff;
  border-bottom: 2px solid #dcdcdc;
  padding: 10px 0px 10px 25px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-right: 55px;
}

#challange_btn { /* .user_search # challange_btn was before */
  width: 90px;
  height: 35px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background-color: #0095ff;
  color: white;
}
#challange_btn:hover {
  background-color: black;
  color: white;
}

/* ============ GAME DETAILS PAGE =============  */

/* left */ 
.section_one_game_details{
  width: 100%;
  /* height: 700px; */
  
  height: 100vh;
  display: flex;
  /* flex-direction: column; */
  margin: 0 auto;
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
}
.game_details_left{
  width: 10%;
  min-width: 150px;
  height: 100%;
  background-color: white;
  color: black;
}
#game_details_close{
  justify-content: center;
  padding-top: 30px;
}
/* right */
.game_details_interface{
  width: 80%;/* 80%; */
  height: calc(100vh - 210px);
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.game_details_header{
  width: 100%;
  height: 100px;
  padding-top: 30px;
  background-color: rgb(255, 255, 255);
  border-bottom: 2px solid #e4e4e4;
  display: flex;
  flex-direction: row;
}
/*
.game_details_header_left{
  ;
}
*/
.chatting_with_container{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: bottom;
}
.chatting_with_container_icon{
  width: 25px;
  height: 25px;
  visibility: hidden;
}
#chatting_with_username{
  margin-left: 20px;
}
.game_details_container{
  width: 100%;
  height: calc(100% - 150px); 
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
}
.game_details_container_left{
  width: 50%;
  height: 100%;
  border-right: 2px solid #e4e4e4;
  padding-top: 25px;
}
.game_details_card{
  height: 50px; 
  max-width: 300px;
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: #ffffff;
  text-align: center; 
  margin: 10px 10px 10px 0;
  padding-left: 0px;
  border: 0px solid #e3e3e3;
  border-radius: 10px;
  font-size: 14px;
}
.game_details_container_right{
  width: 50%;
  height: 100%;
  background-color: white;
}
.game_details_container_left p{
  padding-top: 30px;
  font-size: 14px;
}
.game_details_container_right p{
  padding-top: 30px;
  padding-left: 30px;
  font-size: 14px;
}
.googleMap{
  width: 100%;
  height: 400px;
  border: 0;
  padding: 10px 30px 30px 30px ;
  filter:brightness(1) saturate(120%) contrast(100%);
}
.game_details_address_div{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#copy_address{
  padding-right: 20px;
}
#btn_copy_to_clipcoard{
  width: 20px;
  height: 20px;
  background-color: rgb(255, 255, 255);
  border: none;
  transition: transform 0.2s ease-in-out;
  opacity: 0.35;
}
#btn_copy_to_clipcoard:hover{
  opacity: 0.5;
}
#btn_copy_to_clipcoard.clicked{
  transform: scale(0.7);
}

/* ========= Chatroom ========= */


#chat_manager_container{
  width: 100%;
  height: 100%;
  /*
  max-width: 1000px;
  height:  calc(100vh - 210px);
  max-height: calc(100vh - 210px);   - 150px also good 
  */
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  margin: 40px;
  overflow: hidden;
}

#chatroom_container{
  width: 100%;
  max-width: 800px;  /* 1000px */
  height: 100%;
  max-height: 600px;
  /*
  height:  calc(100vh -url(https://www.google.com/search?q%3Dphotoshop%2Bmuster%2Berzeugen%26sourceid%3Dchrome%26ie%3DUTF-8#fpstate%3Dive%26vld%3Dcid%3Aaa816a6f%2Cvid%3Am-IEJKBuka0%2Cst%3A0) 210px);
  max-height: calc(100vh - 210px);   - 150px also good 
  */
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  margin: 40px;
  overflow: hidden;
}
#messages_container{
  width: 100%;
  height: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  background-color: #f7f7f7;      /*#f4f4f4;*/
  /* chat_bg2_2.jpg */   
  background-image: url('/static/chat_bg/chat_bg_003.svg');
  background-size: 100% auto;  /* Stretch the image to cover the div exactly */
  background-repeat: no-repeat; /* Do not repeat the image */
}
#messages{
  font-size:  14px;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding: 50px;
  color: #000000;
  border-radius: 5px;
  overflow-y: auto;
}

#message_user_container_main{
  width: 100%;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: end;
}
#message_user_container_other{
  width: 100%;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: end;
}
.message_time{
  font-size: 12px;
  color: #515151;    /* #848484; */
  font-weight: 500;
}
.message_user_main{
  margin-top: 5px;
  margin-right: 5px;
  width: fit-content;
  max-width: calc(100% - 200px);;
  overflow-wrap: break-word;
  color: rgb(255, 255, 255);
  background-color: black;     /* #2196f3   rgb(0, 0, 0);   #0095ff;    rgb(41, 41, 41) */
  padding: 10px 15px 10px 15px;
  border-radius:  12px 12px 0 12px; 
  justify-content: flex-end;
  box-shadow: 1px 3px 5px rgb(165, 165, 165);
}
.message_user_other{
  margin-top: 5px;
  margin-left: 5px;
  width: fit-content;
  overflow-wrap: break-word;
  color: white;
  background-color: black;     /* #2196f3  #000000;  #ff7400;*/
  padding: 10px 15px 10px 15px;
  border-radius:  10px 10px 10px 0;
  max-width: calc(100% - 200px); /* Leaves 100px space on the right */
  box-shadow: 1px 3px 5px rgb(165, 165, 165);
}
#message_input_form{
  background-color: #ffffff;
  width: 100%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  padding: 0 0 0 5px;
}

#message_input{
  width: 90%;
  height: 50%;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  border-style: solid;
  border-width: 0.1px;
  border-color: #cbcbcb;
}

#btn_send_message{

  width: calc(10% + 50px);
  height: 50%;
  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 14px;
  font-style: normal;
  border: 0;
  border-radius: 10px;
  background-color: black;  /* #0095ff;*/
  color: white;
  margin-left: 40px;
}

.join_room_announcement{
  margin: 10px 0 5px 0;
  display: flex;
  justify-content: center;
}
#joined_chat_div{
  background-color: #e6d9cf;    /*#5d5d5d;*/
  color: black;
  border: none;
  width: fit-content;
  padding: 2px 10px 2px 10px;
  border-radius: 5px;
  font-size: 11px;
}
.date-divider{
  width: 100%;
  height: 50px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.date-divider-content{
/*background-color: rgb(89, 89, 89); #90857b;   rgb(244, 244, 244)   */
background-color: #f1f1f1;
/*color: white;*/
color: black;
border: none;
width: fit-content;
padding: 2px 10px 2px 10px;
border-radius: 5px;
font-size: 11px;
font-weight: 500;
box-shadow: 1px 3px 5px rgb(165, 165, 165);
}



/* ============ USER PAGE =============  */
.section_one_user_page{
  width: 100%;
  height: 700px;
  background-color: #386641;
  display: flex;
}
.user_menu{
  width: 15%;
  min-width: 150px;
  height: 100%;
  background-color: white;
  color: black;
  border-right: 1px solid rgb(218, 218, 218);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.user_title{
  background-color: white;
  width: 100%;
  padding: 30px 30px 20px 30px;
}
.user_settings{
  width: 100%;
  margin: 0 0 20px 0;
}
.user_settings_btn{
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: left;
  align-items: center;
  padding-left: 30px;
  border: none;
  background-color: white;
  font-size: 14px;
}

.user_settings_btn:hover{
  background-color: #f6f6f6;
}
.user_settings_btn_Active{
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: left;
  align-items: center;
  padding-left: 30px;
  border: none;
  font-size: 14px;
  background-color: #f6f6f6;
}
.user_settings_Password_form{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 12px;
}
.user_settings_inputField{
  width: 200px;
  height: 25px;
  margin: 5px 0px 30px 0px;
}
.user_settings_inputField_bottom{
  width: 200px;
  height: 25px;
  margin: 5px 0px 15px 0px;
}
#btn_forgot_password{
  color: #909090;
  background-color: white;
  font-size: 12px;
  border: 0px;
  text-align: left;
  margin: 5px 0px 15px 0px;
}
#btn_forgot_password:hover{
  color: #5a5a5a;
}
#btn_user_settings_submit{
  width: 125px;
  height: 40px;
  background-color: #0095ff;
  color: white;
  border-radius: 10px;
  border: 0px;
}
.alert_settings{
width: 450px;
height: 60px;
background-color: #0095ff;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
padding: 10px;
margin-top: 20px;
border-radius: 5px;
}
.closeAlert{
  width: 20px;
  height: 20px;
  background-color: #0095ff;
  color: white;
  border: none;
  font-weight: bold;
  text-align: center;
  padding-top: 1.5px;
  text-decoration:none;
}
#alert_success{
  background-color: rgb(0, 178, 0);
  color: white;
}
#alert_error{
  background-color: #FF3333;
  color: white;
}
.margin_left_20px{
  margin: 20px 20px 20px 20px;
}
.user_content{
  width: 85%;
  min-width: 450px;
  height: 100%;
  min-height: 200px;
  background-color: rgb(255, 255, 255);
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.user_content_layout_title{
  padding: 50px 0px 50px 0px ;
  padding-left: 100px;
}
.user_content_layout_title_menu{
  padding: 50px 0px 50px 40px ;
  font-size: 20;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
}
.user_content_div{
  width: 100%;
}
.user_content_layout{
  max-width: 50%;
  padding-left: 100px;
  padding-bottom: 10px;
  padding-top: 10px;
  padding-right: 80px;
  font-size: 14px;
}
.user_content_layout_username{
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
  padding-bottom: 50px;
}

#form_change_username{
  width: 200px;
  height: 45px;
  margin-top: 10px;

}

.user_content_layout_frame{
  width: 100%;
}
.btn_change_username{
  width: 125px;
  height: 30px;
  margin-top: 13px;
  margin-bottom: 12px;
  margin-right: 40px;
  background-color: black;
  color: white;
  border: 0px;
  border-radius: 7px;
  font-size: 12px;
}
.btn_change_username:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}
.user_content_text{
  font-size: 14px;
  color: #484848;
}

/* FOOTER */
.footer {
  /* max-width: 1248; */
  width: 100%;
  min-height: 150px;
  height: 150px;
  margin: 0 auto;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20%;
}
.footer p {
  color: white;
  text-align: left;
}
