html {
  font-size: 1rem;
}

body {
	font-family: 'Quicksand', sans-serif;
	background: rgb(243,243,243);
}

#container {
	height: 100%;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
    min-width: 740px;
    min-height: 960px;

	display: flex;
	justify-content: center;
	align-items: center;
}

::-webkit-scrollbar
{
  width: 4px;
}

::-webkit-scrollbar-track
{
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb
{
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

a {
	text-decoration: none;
	color: rgb(0, 163, 218);
}

a:hover {
	text-decoration: none;
	color: rgb(38, 144, 180);
}

.contact-info{
	margin-left: 15px;
	padding-bottom: 10px;
	color: gray;
	border-bottom-style: solid; 
	border-color: rgb(240, 240, 240); 
	border-width: 1px; 
}

.message-body {
	overflow-y: auto;
    overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.1);
}

.messageText {
	margin-bottom: 10px;
}

.oobString {
	margin-top: 0px;
	padding: 10px;
    background: rgb(217 238 255);
    border-radius: 10px;
}


.picture {
	width: 100%;
	max-width: 500px;
	float: right;
}

.pictureSent {
	width: 100%;
	max-width: 150px;
	float: right;
}

.delete-icon {
	fill: red;
}

tr:hover {
	color: black;
	background-color: rgba(0,0,0,0.02);
}

/*Settings for each chat bubble start*/

.m-received > .message{
	border-radius: 10px 10px 10px 0px;
}

.m-received > .level1{
	background-color: #ffb9b9;
}

.m-received > .level2{
	background-color: rgb(255, 233, 185);
}

.m-received > .level3{
	background-color: #d7ffe5;
}

.m-received > .level4 {
	background-color: rgb(250, 250, 250);
}

.m-sent > .message {
	border-radius: 10px 10px 0px 10px;
	background-color: rgb(245, 245, 245);
}

.m-received > .message, .m-sent > .message {
	display: inline-block;
	position: relative;
	padding: 10px;
	padding-bottom: 7px;
	margin: 3px ;
	min-width: 120px;
	max-width: 70%;
}

.msg-timestamp {
	position: absolute;
	right: 0;
	bottom: 0;
	margin-right: 5px;
}

.m-received > div > p, .m-sent > div > p {
	/*width: 75%;*/
	/*padding: 20px;*/
	/*min-width: 250px;*/
	margin-bottom: 10px;
}

/*Settings for each chat bubble end*/

/*Footer style*/
html {
	position: relative;
	min-height: 100%;
}



#sendButton {
	background-color: white;
}

#txtMessage {
	border-style: none;
	outline-style:none;
	box-shadow:none;
	border-color:transparent;
}

#txtMessage:active {
	border-style: none;
	outline-style:none;
	box-shadow:none;
	border-color:transparent;
}


#input-bar {
	border-top-style: solid; 
	border-color: rgb(240, 240, 240); 
	border-width: 1px; 
	display: flex; 
	align-items: center; 
	justify-content: center;
}

#frmChat {
	width: 90%;
	margin-top: 10px;
}

#contact-header {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px 8px 0px 0px;
}

#userNameEditButton {
	justify-self: flex-end;
}

#contact-header.minimized {
	display: flex;
	justify-content: center;
	vertical-align: middle;
}

#userName{
    height: 50px;
    line-height: 50px;
	color: gray;
	text-align: center;
	user-select: None;
}

.infoHeading{
	font-size: 1.2em;
}

.infoElement{
	font-size: 1.2em;
}


.align-box {
	justify-content: center;
}

.chatbox__title__tray {
    outline: 0;
    border: none;
    background-color: transparent;
    opacity: 0.5;
	
	width: 30px;
	height: 30px;
	float: right;
	position: relative;

	margin-top: 10px;
	margin-right: 10px;

	transition: 
		transform .2s .3s ease-in-out;
}

	
.chatbox__title__tray:before,
.chatbox__title__tray:after{
	position: absolute;
	content: "";
	width: 10px;
	height: 2px;
	background-color: black;
	position: absolute;
	border-radius: 2px;
	
	top: 14px;
	left: 10px;
}

.chatbox__title__tray:before{
	transform: translateX(-3px) rotate(45deg);
}

.chatbox__title__tray:after{
	transform: translateX(3px) rotate(-45deg);
}

.chatbox__title__tray:hover{
	opacity: 0.7;
	cursor: pointer;
}

.chatbox__title__tray:focus {
	outline: none;
	box-shadow:none;
	border-color:transparent;
	border: none;
}

.chatbox__title__tray.minimized{
	margin: 0px;
	margin-top: 10px;
	transform: rotate(180deg);
}

#chatwindow
{
	height: 90%; 
	width: 60%;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
	min-width: 500px; 
	max-width: 1200px;
	
	border-radius: 10px; 
	border-style: solid; 
	border-color: lightgray; 
	border-width: 0px;

	background-color: white; 
	box-shadow: 0 0 80px -10px rgba(0, 0, 0, 0.1);
	padding: 10px;

	z-index: 100;

	transition:
		width .5s 0s cubic-bezier(.1, 1.2, .3, 1),
		height .6s .15s cubic-bezier(.1, 1.2, .3, 1);
}

#chatInfo
{
	height: 80%; 
	width: 30%;
	margin-left: auto;
	margin-top: auto;
	margin-bottom: auto;
	min-width: 300px; 
	max-width: 400px;
	
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px; 
	border-style: solid; 
	border-color: lightgray; 
	border-width: 0px;

	background-color: white; 
	box-shadow: 0 0 100px -10px rgba(0, 0, 0, 0.15);
	padding: 10px;

	z-index: 100;

	transition:
		width .5s 0s cubic-bezier(.1, 1.2, .3, 1),
		height .6s .15s cubic-bezier(.1, 1.2, .3, 1);
}

#userPicker
{
	margin-bottom: 30px;
	background-color: white;
	border-radius: 15px;
	padding: 15px;

	box-shadow: 0 0 100px -10px rgba(0, 0, 0, 0.1);

	overflow-x: hidden;
	overflow-y: scroll;
    max-height: 80%;
}

#userPicker::-webkit-scrollbar-track {
	margin-top: 15px;
    margin-bottom: 15px;
}

.buttons {
	max-width: 90%;
}

.choiceButton {
	margin: 3px;
	border-color: lightgray;
	color: rgb(100, 100, 100);
}

.choiceButton:focus {
	outline: none !important;
	box-shadow:none !important;
}

.choiceButton:active {
	outline: none !important;
	box-shadow:none !important;
}

.levelcheckbox{
	margin-left: 15%;
}

.custom-control-input:checked~#level3checkLabel::before{
	background-color: rgb(0, 150, 0);
	border-color: rgb(0, 150, 0);
	box-shadow: none;
}

.custom-control-input:checked~#level2checkLabel::before{
	background-color: rgb(220, 140, 0);
	border-color: rgb(220, 140, 0);
	box-shadow: none;
}


.custom-control-input:checked~#level1checkLabel::before{
	background-color: rgb(170, 0, 0);
	border-color: rgb(170, 0, 0);
	box-shadow: none;
}

.custom-control-input:checked~#tippCheckLabel::before{
	background-color: rgb(105, 105, 105);
	border-color: rgb(105, 105, 105);
	box-shadow: none;
}

#level1checkLabel::before{
	box-shadow: none;
	border-color: rgb(170, 0, 0);
}

#level2checkLabel::before{
	box-shadow: none;
	border-color: rgb(220, 140, 0);
}

#level3checkLabel::before{
	box-shadow: none;
	border-color: rgb(0, 150, 0);
}

#tippCheckLabel::before{
	box-shadow: none;
	border-color: rgb(105, 105, 105);
}

.table {
	margin: 0;
}


.skipPoints{
	font-size: 2em;
	text-align: center;
	vertical-align: middle;
}

.tippString {
	font-size: 15px;
	text-align: center;
	vertical-align: middle;
	color: rgb(170,170,170);
}

/*Zurück-Button*/
#backButton{
	display: none; 
	cursor: pointer;
	display: inline;
	position: absolute;
	top: 10px;
    left: 10px;
}

.commandButtonList {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 40px;
}

@keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}

.loading {
    animation: rotating 2s linear infinite;
}

.button {
	border-radius: 5px;
	cursor: pointer;
	width: 40px;
	height: 40px;
}

.button:hover > img{
	opacity: 1;
}


.button > img {
	display: block;
	margin: auto;
	width: 40px;
	opacity: 0.6;
}



/* __________________FEEDBACK-ERROR-CONTAINER____________________*/
#feedbackErrorContainer {
	margin-left: auto;
	margin-right: auto;
    margin-top: 2%;
	padding: 15px;
	width: 100%;

	overflow-x: hidden;
	overflow-y: scroll;
    max-height: 15%;
	height: fit-content;

	position: relative;

	display: flex;
	justify-content: center;
	flex-direction: row;
}

#feedbackErrorContainer > a {
	margin: 25px;
	cursor: pointer;

	color: black;
    overflow: hidden;
}

#feedbackContainer {
	background-color: rgb(211, 167, 48);
	border-radius: 15px;
	padding: 15px;
	box-shadow: 0 0 100px -10px rgba(0, 0, 0, 0.1);

	overflow-x: hidden;
	overflow-y: scroll;
    max-height: 100%;

	display: flex;
	justify-content: center;
	flex-direction: row;
}

#errorContainer {
	background-color: rgb(179, 65, 65);
	border-radius: 15px;
	padding: 15px;
	box-shadow: 0 0 100px -10px rgba(0, 0, 0, 0.1);

	overflow-x: hidden;
	overflow-y: scroll;
    max-height: 100%;

	display: flex;
	justify-content: center;
	flex-direction: row;
}

#feedbackErrorContainer .count {
	background-color: white;
	border-radius: 10px;

	padding: 2px 5px 2px 5px;

	margin-right: 10px;
}

#feedbackErrorContainer .text {
	color: white;
	font-size: 18px;
}