:root {
  --color-1: #493222;
  --color-2: #AF412B;
  --color-3: #FFD13D;

  --color-4: #C6875D;

  --color-5: #63432E;
  --color-6: #BB8A6A;
  --color-7: #59008E;
  --color-8: #FFFFFF;

  --HeadBanner-height: 80px;
  --BottomMenuSpace-height: 192px;

  --ContentTitle-height: 46px;

  --EdgePadding: 6px;
  --ContentMargin: 4px;

  --NumberOfTiles-row: 3;
  --NumberOfMenuButtons-row: 2;
  --MenuButton-height: 80px;

  --ChatProfilePicSize: 80px;
  --ChatProfileTitleFontSize: 26px;
  --ChatProfileTitleLineHeight: 32px;
  --ChatProfileBoxInsideSpaceMargin: 10px;

  --ChatContentInputBoxHeight: 32px;

  --DiscoverySizeStar: 38px;
  --DiscoverySizeImage: 88px;
  --DiscoveryMarginImageText: 12px;
}
::-webkit-scrollbar {
  display: none;
}

@font-face {
  font-family: Rolando;
  src: url(fonts/Rolando/Rolando.ttf);
}
@font-face {
  font-family: Calibri;
  src: url(fonts/Calibri/Regular.ttf);
}
@font-face {
  font-family: Harrington;
  src: url(fonts/Harrington/Regular.ttf);
}
@font-face {
  font-family: CourierPrime;
  src: url(fonts/CourierPrime/CourierPrime-Regular.ttf);
}






html, body {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-family: Calibri;
}
.HeadBanner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--HeadBanner-height);
  line-height: var(--HeadBanner-height);
  font-size: 18px;
  text-align: center;
  background-color: var(--color-2);
  font-family: Harrington;
  color: #FFFFFF;
  font-size: 40px;
}
.UserSwitcherButton {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: calc((var(--HeadBanner-height) - 30px) / 2);
  line-height: var(--HeadBanner-height);
  font-size: 18px;
  text-align: center;
  background-color: var(--color-2);
  font-family: Harrington;
  color: #FFFFFF;
  font-size: 40px;
}
.MainContentBox {
  position: absolute;
  left: 0;
  top: var(--HeadBanner-height);
  width: 100%;
  height: calc(100% - var(--HeadBanner-height) - var(--BottomMenuSpace-height));
  line-height: 60px;
  font-size: 18px;
  text-align: center;
  background-color: var(--color-1);
}
.MainContentBox_title_box {
  position: absolute;
  left: 0;
  top: 0;
  height: var(--ContentTitle-height);
  width: 100%;
  line-height: var(--ContentTitle-height);
  font-family: Harrington;
  color: var(--color-3);
  font-size: 28px;
}
.MainContentBox_title1 {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  line-height: var(--ContentTitle-height);
  font-family: Harrington;
  color: var(--color-3);
  font-size: 28px;
}
.MainContentBox_title_buttonbox {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  line-height: var(--ContentTitle-height);
  font-family: Harrington;
  color: var(--color-3);
  font-size: 28px;
}
.MainContentBox_title_buttonbox_button_left {
  position: relative;
  float: left;
  height: var(--ContentTitle-height);
  width: var(--ContentTitle-height);
  line-height: var(--ContentTitle-height);
  font-family: Harrington;
  color: var(--color-3);
  font-size: 28px;
}
.MainContentBox_title_buttonbox_button_right {
  position: relative;
  float: right;
  height: var(--ContentTitle-height);
  width: var(--ContentTitle-height);
  line-height: var(--ContentTitle-height);
  font-family: Harrington;
  color: var(--color-3);
  font-size: 28px;
}

.MainContentBox_loginbox {
  position: absolute;
  left: 0;
  top: var(--ContentTitle-height);
  width: calc(100% - (2 * var(--EdgePadding)));
  height: calc(100% - var(--ContentTitle-height));
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
}
.MainContentBox_loginbox_username, .MainContentBox_loginbox_password, .MainContentBox_loginbox_RoomCode, .MainContentBox_loginbox_SubmitButton {
  position: relative;
  float: left;
  width: calc(100% - (2 * var(--ContentMargin)));
  height: 38px;
  margin: var(--ContentMargin);
  font-family: Calibri;
}
.MainContentBox_loginbox_input_lable {
  position: relative;
  float: left;
  height: 100%;
  width: 134px;
  padding: 0 6px 0 0;
  line-height: 38px;
  font-size: 23px;
  text-align: right;
  font-family: Calibri;
  color: #FFFFFF;
}
.MainContentBox_loginbox_input_box {
  position: relative;
  float: left;
  height: 100%;
  width: calc(100% - 140px);
  line-height: 38px;
  font-size: 23px;
  text-align: left;
  background-color: #ffffff;
  font-family: Calibri;
}
.MainContentBox_loginbox_SubmitButton {
  position: relative;
  float: left;
  width: 160px;
  height: 46px;
  margin: 8px calc(50% - 80px) 8px calc(50% - 80px);
  background-color: var(--color-2);
  line-height: 46px;
  font-size: 23px;
  font-family: Calibri;
  color: #FFFFFF;
  border-radius: 12px;
}
.MainContentBox_tilebox {
  position: absolute;
  left: 0;
  top: var(--ContentTitle-height);
  width: calc(100% - (2 * var(--EdgePadding)));
  height: calc(100% - var(--ContentTitle-height));
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
}









/*
.MainContentBox_tilebox_tileBox {
  position: relative;
  float: left;
  width: calc((100% / var(--NumberOfTiles-row)) - (2 * var(--ContentMargin)));
  aspect-ratio: 1/1;
  margin: var(--ContentMargin);
  background-color: var(--color-2);
}
.MainContentBox_tilebox_tileBox_contentbox {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
*/

.MainContentBox_tilebox_tileBox {
  position: relative;
  float: left;
  width: calc((100% / var(--NumberOfTiles-row)) - (2 * var(--ContentMargin)));
  padding-bottom: calc((100% / var(--NumberOfTiles-row)) - (2 * var(--ContentMargin)));;
  margin: var(--ContentMargin);
  background-color: var(--color-2);
  overflow: hidden;
}
.MainContentBox_tilebox_tileBox_contentbox {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}






.MainContentBox_tilebox_categoryspacer {
  position: relative;
  float: left;
  width: calc(100% - (2 * var(--ContentMargin)));
  height: 40px;
  margin: var(--ContentMargin);
  /*background-color: #FFFFFF;*/
}
.MainContentBox_tilebox_categoryspacer_stripe {
  position: absolute;
  left: 0;
  top: 50%;
  width: calc(100% - 30px);
  margin: 0 15px 0 15px;
  height: 2px;
  transform: translateY(-50%);
  background-color: var(--color-2);
}
.MainContentBox_tilebox_categoryspacer_title {
  position: absolute;
  left: calc(50%);
  top: 0;
  width: auto;
  padding: 0 15px 0 15px;
  height: 100%;
  transform: translateX(-50%);
  background-color: var(--color-1);
  color: var(--color-2);
  line-height: 40px;
}



.ProfileImage {
  width: 100%;
  height: 100%;
}


.TileProfileImage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.TileProfileName {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  color: #FFFFFF;
}






.MainContentBox_profilebox {
  position: absolute;
  left: 0;
  top: var(--ContentTitle-height);
  width: calc(100% - (2 * var(--EdgePadding)));
  height: calc(100% - var(--ContentTitle-height));
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
}
.MainContentBox_profilebox_square {
  position: relative;
  float: left;
  width: calc(50% - (2 * var(--ContentMargin)));
  padding-bottom: calc(50% - (2 * var(--ContentMargin)));
  margin: var(--ContentMargin);
  background-color: var(--color-2);
  overflow: hidden;
}
.MainContentBox_profilebox_square_contentbox {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  font-size: 16px;
  line-height: 22px;
}
.MainContentBox_profilebox_description {
  position: relative;
  float: left;
  width: calc(100% - (2 * var(--ContentMargin)) - (2 * var(--EdgePadding)));
  height: auto;
  margin: var(--ContentMargin);
  padding: var(--EdgePadding);
  text-align: left;
  background-color: var(--color-2);
  font-size: 16px;
  line-height: 22px;
}

.MainContentBox_profilebox_editbox_title {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.MainContentBox_profilebox_editbox_content {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  min-height: 22px;
  text-align: left;
  font-size: 16px;
  line-height: 22px;
}


.MainContentBox_profilebox_editbox_feed_head {
  position: relative;
  float: left;
  width: 100%;
  height: 32px;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.MainContentBox_profilebox_editbox_feed_head_contentbox_title {
  position: relative;
  float: left;
  width: calc(100% - 40px - 80px);
  height: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.MainContentBox_profilebox_editbox_feed_head_contentbox_ordernr {
  position: relative;
  float: left;
  width: 80px;
  height: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.MainContentBox_profilebox_editbox_feed_head_contentbox_visible {
  position: relative;
  float: left;
  width: 40px;
  height: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.MainContentBox_profilebox_editbox_feed_text {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  min-height: 22px;
  text-align: left;
  font-size: 16px;
  line-height: 22px;
}




.MainContentBox_messagesbox {
  position: absolute;
  left: 0;
  top: var(--ContentTitle-height);
  width: calc(100% - (2 * var(--EdgePadding)));
  height: calc(100% - var(--ContentTitle-height));
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
}
.MainContentBox_messagesbox_tileBox {
  position: relative;
  float: left;
  width: calc(100% - (2 * var(--ContentMargin)));
  height: auto;
  margin: var(--ContentMargin);
  line-height: 16px;
  font-size: 13px;
}
.MainContentBox_messagesbox_tileBox_image {
  position: relative;
  float: left;
  width: var(--ChatProfilePicSize);
  height: var(--ChatProfilePicSize);
  margin: 0 var(--ChatProfileBoxInsideSpaceMargin) 0 0;
  background-color: var(--color-2);
}
.MainContentBox_messagesbox_tileBox_title {
  position: relative;
  float: left;
  width: calc(100% - var(--ChatProfilePicSize) - var(--ChatProfileBoxInsideSpaceMargin));
  height: var(--ChatProfileTitleLineHeight);
  line-height: var(--ChatProfileTitleLineHeight);
  font-size: var(--ChatProfileTitleFontSize);
  overflow: hidden;
  text-align: left;
  color: #FFFFFF;
  font-family: Harrington;
}
.MainContentBox_messagesbox_tileBox_content {
  position: relative;
  float: left;
  width: calc(100% - var(--ChatProfilePicSize) - var(--ChatProfileBoxInsideSpaceMargin));
  height: calc(var(--ChatProfilePicSize) - var(--ChatProfileTitleLineHeight));
  line-height: 16px;
  font-size: 13px;
  overflow: hidden;
  text-align: left;
  color: #FFFFFF;
  font-family: Calibri;
}



.MainContentBox_chatbox {
  position: absolute;
  left: 0;
  top: var(--ContentTitle-height);
  width: calc(100% - (2 * var(--EdgePadding)));
  height: calc(100% - var(--ContentTitle-height));
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
}
.MainContentBox_chatbox_messagesbox {
  position: relative;
  float: left;
  height: calc(100% - var(--ChatContentInputBoxHeight));
  width: calc(100% - (2 * var(--ContentMargin)));
  margin: 0 var(--ContentMargin) 0 var(--ContentMargin);
  overflow: scroll;
}
.MainContentBox_chatbox_tileBox {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  margin: var(--ContentMargin) 0 var(--ContentMargin) 0;
  line-height: 16px;
  font-size: 13px;
}
.MainContentBox_chatbox_tileBox_image {
  position: relative;
  float: left;
  width: var(--ChatProfilePicSize);
  height: var(--ChatProfilePicSize);
  margin: 0;
  background-color: var(--color-2);
}
.MainContentBox_chatbox_tileBox_content {
  position: relative;
  float: left;
  width: calc(100% - var(--ChatProfilePicSize) - var(--ChatProfileBoxInsideSpaceMargin) - 8px);
  height: auto;
  line-height: 16px;
  font-size: 13px;
  background-color: #FFFFFF;
  overflow: hidden;
  text-align: left;
  padding: 4px;
  border-radius: 4px;
}
.MainContentBox_chatbox_tileBox_spacer {
  position: relative;
  float: left;
  width: var(--ChatProfileBoxInsideSpaceMargin);
  height: var(--ChatProfilePicSize);
  margin: 0;
}
.MainContentBox_chatbox_maininput {
  position: relative;
  float: left;
  height: var(--ChatContentInputBoxHeight);
  width: calc(100% - (2 * var(--ContentMargin)));
  margin: 0 var(--ContentMargin) 0 var(--ContentMargin);
  line-height: var(--ChatContentInputBoxHeight);
  font-size: 15px;
}
.MainContentBox_chatbox_maininput_messagebox {
  position: relative;
  float: left;
  width: calc(100% - var(--ChatContentInputBoxHeight) - 4px);
  height: 100%;
  margin: 0;
}
.MainContentBox_chatbox_maininput_messagebox_inputbox {
  position: absolute;
  width: calc(100%);
  height: calc(100% - 8px);
  left: 0;
  top: 0;
  padding: 0 0 0 6px;
  margin: 0;
  border-width: 0;
  border-radius: 8px;
  background-color: #FFFFFF;
  margin: 4px 0 4px 0;
}
.MainContentBox_chatbox_maininput_submitbutton {
  position: relative;
  float: left;
  width: var(--ChatContentInputBoxHeight);
  height: 100%;
  margin: 0 0 0 4px;
}




.MainContentBox_discoverybox {
  position: absolute;
  left: 0;
  top: var(--ContentTitle-height);
  width: calc(100% - (2 * var(--EdgePadding)));
  height: calc(100% - var(--ContentTitle-height));
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
  font-family: CourierPrime;
}
.MainContentBox_discoverybox_tileBox {
  position: relative;
  float: left;
  width: calc(100% - (2 * var(--ContentMargin)));
  height: auto;
  margin: var(--ContentMargin);
  line-height: 16px;
  font-size: 13px;
}
.MainContentBox_discoverybox_tileBox_head {
  position: relative;
  float: left;
  width: calc(100% - var(--DiscoverySizeStar));
  height: var(--DiscoverySizeStar);
  margin: 0;
  text-align: left;
}
.MainContentBox_discoverybox_tileBox_head_subtitle, .MainContentBox_discoverybox_tileBox_head_title {
  position: relative;
  float: left;
  width: calc(100%);
  height: calc(var(--DiscoverySizeStar) / 2);
  line-height: calc(var(--DiscoverySizeStar) / 2);
  font-size: calc(var(--DiscoverySizeStar) / 3);
  margin: 0;
  text-align: left;
  color: #FFFFFF;
}

.MainContentBox_discoverybox_tileBox_star {
  position: relative;
  float: left;
  width: var(--DiscoverySizeStar);
  height: var(--DiscoverySizeStar);
  margin: 0;
  text-align: left;
}

.MainContentBox_discoverybox_tileBox_image {
  position: relative;
  float: left;
  width: var(--DiscoverySizeImage);
  height: var(--DiscoverySizeImage);
  background-color: var(--color-2);
  overflow: hidden;
  margin: 0 var(--DiscoveryMarginImageText) 0 0;
}
.MainContentBox_discoverybox_tileBox_description {
  position: relative;
  float: left;
  width: calc(100% - var(--DiscoverySizeImage) - var(--DiscoveryMarginImageText));
  height: auto;
  text-align: left;
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--color-2);
  text-decoration-thickness: 2px;
}


.BottomMenuSpace {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - (2 * var(--EdgePadding)));
  height: var(--BottomMenuSpace-height);
  padding: 0 var(--EdgePadding) 0 var(--EdgePadding);
  line-height: 32px;
  font-size: 18px;
  background-color: var(--color-1);
}
.BottomMenuSpace_button {
  position: relative;
  float: left;
  width: calc((100% / var(--NumberOfMenuButtons-row)) - (2 * var(--ContentMargin)));
  height: var(--MenuButton-height);
  line-height: var(--MenuButton-height);
  margin: var(--ContentMargin);
  font-size: calc(var(--MenuButton-height) / 3);
  background-color: var(--color-2);
  text-align: center;
  font-family: Rolando;
  color: #FFFFFF;
}



.TotalOverlayBox_content_charselect_listbox {
  position: relative;
  float: left;
  width: 100%;
  height: 200px;
  overflow: scroll;
}
.TotalOverlayBox_content_charselect_listbox_item {
  position: relative;
  float: left;
  width: 100%;
  height: 36px;
}
.TotalOverlayBox_content_charselect_logout {
  position: relative;
  float: left;
  width: 100%;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 24px;
}



.TotalOverlayBox_content_phonebook_title {
  position: relative;
  float: left;
  width: 100%;
  height: 36px;
  line-height: 36px;
  font-size: 28px;
  text-align: center;
  font-family: Harrington;
}
.TotalOverlayBox_content_phonebook_search {
  position: relative;
  float: left;
  width: 100%;
  height: 36px;
}
.TotalOverlayBox_content_phonebook_search_inputboxcontainer {
  position: relative;
  float: left;
  width: calc(100% - 48px);
  height: 36px;
  line-height: 36px;
  font-family: Harrington;
  margin: 0 4px 0 4px
}
.TotalOverlayBox_content_phonebook_search_submiticon {
  position: relative;
  float: left;
  width: 36px;
  height: 36px;
  margin: 0 4px 0 0;
  line-height: 36px;
  font-family: Harrington;
}
.TotalOverlayBox_content_phonebook_contactsbox {
  position: relative;
  float: left;
  width: 100%;
  height: 400px; /* ToDo: needs to be dynamic */
  overflow: scroll;
}
.TotalOverlayBox_content_phonebook_contactsbox_item {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}
.TotalOverlayBox_content_phonebook_contactsbox_item_picture {
  position: relative;
  float: left;
  width: 60px;
  height: 60px;
  background-color: var(--color-2);
}
.TotalOverlayBox_content_phonebook_contactsbox_item_title {
  position: relative;
  float: left;
  width: calc(100% - 60px);
  height: 32px;
  line-height: 32px;
  font-size: 28px;
  overflow: hidden;
}
.TotalOverlayBox_content_phonebook_contactsbox_item_subtitle {
  position: relative;
  float: left;
  width: calc(100% - 60px);
  height: 24px;
  line-height: 24px;
  font-size: 18px;
  overflow: hidden;
}


.TotalOverlayBox_content_button {
  position: relative;
  float: left;
  width: 100%;
  height: 40px;
  background-color: blue;
}
.TotalOverlayBox_content {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 75%;
  height: auto;
  max-height: 75%;
  transform: translate(-50%, -50%);
  background-color: var(--color-1);
  border-radius: 14px;
  overflow: hidden;
}
.TotalOverlayBox {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.7);
}


.inputbox_phonebooksearch{
  position: absolute;
  width: calc(100%);
  height: calc(100% - 8px);
  left: 0;
  top: 0;
  padding: 0 0 0 6px;
  margin: 0;
  border-width: 0;
  border-radius: 8px;
  background-color: #FFFFFF;
  margin: 4px 0 4px 0;
}






.inputbox_clean{
  position: absolute;
  width: calc(100%);
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 0 0 6px;
  margin: 0;
  border-radius: 0;
  background-color: transparent;
}


.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.clickable {
  cursor: pointer;
}

.click_transparent {
  pointer-events: none;
}
