html {
    margin-bottom: 2em;
}

h2 {
	margin-bottom: 20px;
}

.reset-form {
    max-width: 300px;
    margin: 0 auto;
    display: grid;
}

.span-placeholder-h {
    height: 10px;
}

/*input[disabled] {
    background-color: darkgrey;
}*/

.attention {
    border: 2px solid orange;
    border-radius: 25px;
    max-width: 550px;
    margin: 20px auto 0 auto;
    padding: 10px;
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    /*height: calc(2.25rem + 2px);*/
    height: 2em;
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    /*height: calc(2.25rem + 2px);*/
    height: 2em;
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    /*height: calc(2.25rem + 2px);*/
    height: 2em;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    /*height: calc(calc(2.25rem + 2px) - 1px * 2);*/
    height: 100%;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "Suchen";
    background-color: #e9ecef;
    border-left: 1px solid #ced4da;
    border-radius: 0 .25rem .25rem 0;
}

.conversation-item {
    cursor: pointer;
    margin-bottom: 15px;
}

.conversation-item:hover {
    background: #eee;
}

.conversation-time {
    float: right;
    margin: 0 15px;
}

.messages-container {
    overflow: hidden;
    background: #f8f8f8;
    padding-bottom: 20px;

    -webkit-box-shadow: inset 0px 0px 5px 2px rgba(0,0,0,0.25);
    -moz-box-shadow: inset 0px 0px 5px 2px rgba(0,0,0,0.25);
    box-shadow: inset 0px 0px 5px 2px rgba(0,0,0,0.25);
}

.message-input {
    position: relative;
    bottom: 0%;
    margin-top: 10px;
    margin: auto;
    border: 1px solid silver;
    /*height:51px;*/
    overflow: hidden;
}

.message-input-text {
    resize: vertical;
}

.input-group-fix {
    display: flex!important;
}

.input-group-btn-fix {
    display: flex!important;
    align-items: stretch;
    width: auto!important;
}

/*.message-input-text > textarea {
    padding: 15px;
    border: none;
    float: left;
    width: 90%;
    max-width: 90%;
    min-width: 90%;
    background: white;
    height: 50px;
    resize: none;
    
}*/

.message-input-submit {

}

.message-input-submit > button {
    float: left;
    width: 10%;
    /*padding: 15px;*/
    background: #ddd;
    border: none;
    cursor: pointer;
    height: 50px;
    min-height: 100%;
}

.message-input-end::after {
    clear: both;
}
/*
.message-wrapper {
    overflow:hidden;
}

.message {
    margin: 10px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #999; 
    max-width: 80%;
    background: white;
}

.message::after {
    clear: both;
}

.left {
    -webkit-box-shadow: 5px 5px 2px 0px rgba(0,0,0,0.55);
    -moz-box-shadow: 5px 5px 2px 0px rgba(0,0,0,0.55);
    box-shadow: 5px 5px 2px 0px rgba(0,0,0,0.55);
    float: left;
}

.right {
    -webkit-box-shadow: -5px 5px 2px 0px rgba(0,0,0,0.55);
    -moz-box-shadow: -5px 5px 2px 0px rgba(0,0,0,0.55);
    box-shadow: -5px 5px 2px 0px rgba(0,0,0,0.55);
    float: right;
}*/

.left {
    margin-left: 0;
    margin-right: auto;
    min-width: 20%;
    max-width: 80%;
    display: table;
}

.right {
    margin-right: 0;
    margin-left: auto;
    min-width: 20%;
    max-width: 80%;
    display: table;
}

.left > .panel-heading {
    text-align: left;
}

.right > .panel-heading {
    text-align: right;
}

.left > .panel-body > div, .right > .panel-body > div {
    white-space: pre-wrap;
}

.message-time {
    text-align: right;
    color: #aaa;
    margin-top: 5px;
    margin-right: -10px;
    margin-bottom: -15px;
}

.left-user {
    width: 100%;
    overflow: hidden;
    float: left;
    text-align: left;
}

.left-user::after {
    clear: left;
}

.right-user {
    width: 100%;
    overflow: hidden;
    float: right;
    text-align: right;
}

.left-user::after {
    clear: right;
}

#top-button {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 80px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
}

#top-button:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
