html {
  font-size: 1rem;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: rgb(255,255,255);
  background: linear-gradient(124deg, rgba(255,255,255,1) 0%, rgb(243, 243, 243) 100%);
}

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

::-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;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.1);
}

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

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

.delete-icon {
	fill: red;
}

/*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 {
	border-radius: 8px 8px 0px 0px;
	display: grid;
	grid-template-columns: [first] 5% auto [last] 5%;
}

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

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

#contact-name:hover {
    height: 50px;
    line-height: 50px;
	color: gray;
	text-align: center;
	cursor: pointer;
}

.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: auto;
	background-color: white;
	border-radius: 15px;
	padding: 15px;
	box-shadow: 0 0 100px -10px rgba(0, 0, 0, 0.1);
}

#chatwindow.minimized {
	width: 230px;
	height: 50px;
	padding: 0px;
	transition:
		width 2s .3s cubic-bezier(.1, 1.2, .3, 1),
		height .3s .00s ease-in-out;
}

.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-top: 50px;
	margin-left: 15px;
}

.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;
}

#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);
}

.table {
	margin: 0;
}


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

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

/*Reload-Button*/
#reloadButton{
	display: none; 
	cursor: pointer;
}

#scrollDownButton > img {
	display: block;
	margin: auto;
}

#scrollDownButton  {
	margin-top: 1em;
	cursor: pointer;
}

