/* Override bootstrap */

/* IDs */

#help-panel {
    
    display: none;
}

#users-panel {
    
    display: none;
}

#private-messages-panel {
    
    display: none;
    
    /*
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 80%;
    position: fixed;
    width: 45%;
    margin-left: 75px;
    height: 100%;
    */
}

#all-messages {
    
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 75%;
    position: fixed;
    width: 47%;
    /* margin-left: 75px; */
    padding-right: 15px;
    height: 100%;
}

#all-private-chats {
    
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 100%;
    position: fixed;
    width: 47%;
    /* margin-left: 75px; */
    padding-right: 15px;
    height: 100%;
}

/* Statuses */

.status-online {
    
    color: #4ad04a;
}

.status-away {
    
    color: #b3b502;
}

/* Other colours */

.options-color {
    
    color: #ccc;
}

.user-details-background-color {
    
    background-color: #2b3138;
}

.user-details-background-color:hover {
    
    background-color: #3a4046;
}

.notification {
    
    color: #8fb9e2 !important;
}

html, body {
    
    width: 100%;
    height: 100%;
    background-color: #343a40;
}

footer {
    
    width: 100%;
    position: fixed;
    bottom: 0;
    color: white;
    height: 20px;
}

.private-chat-container-from {
    
    float: left;
    width: 50%;
    background-color: #3e87d7;
    padding: 15px;
    border-radius: 0 15px 15px 15px;
}

.chat-tag-from {
    
    background-color: #3e87d7;
    height: 15%;
    max-height: 50px;
    width: 40%;
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
    border-radius: 15px 15px 0 0;
}

.chat-tag-to {
    
    background-color: #273c75;
    height: 15%;
    max-height: 50px;
    width: 40%;
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
    border-radius: 15px 15px 0 0;
}

.all-private-messages {
    
    display: none;
}

.all-private-chats {
    
    display: block;
}

.private-chat-container-to {
    
    float: right;
    width: 50%;
    background-color: #273c75;
    padding: 15px;
    border-radius: 10px;
}

.username-container {
    
    min-width: 62%;
    max-width: 62%;
    display: inline-block;
}

.username-font {
    
    font-weight: 400;
    color: #ccc;
}

.chat-username-font {
    
    font-weight: 800;
    color: #ccc;
}

.users-margin-top {
    
    margin-top: 10px;
}

.username-margin-top {
    
    margin-top: 7px;
}

.status-container {
    
    min-width: 30px;
    max-width: 5%;
    width: 5%;
    display: inline-block;
}

.option-container {
    
    min-width: 10%;
    max-width: 10%;
    display: inline-block;
}

.users-container {
    
    width: 100%;
    margin-bottom: 5px;
}

.private-container {
    
    width: 100%;
    margin-bottom: 5px;
    height: 80%;
    padding: 0 15px;
}

.panel-heading {
    
    color: #8fb9e2;
    padding-bottom: 18px;
    font-weight: 400;
}

.panel-horizontal-rule {
    
    background-color: #8fb9e2;
}

.login-card {
    
    padding: 35% 10% 5% 10%;
    border-radius: 0 0 15px 15px;
}

.enter-button {
    
    width: 30%;
    margin-left: 5px;
    position: absolute;
    height: 85%;
    margin-top: 5px;
    
    transition: 0.5s;
}

.text-input {
    
    width: 70%;
    height: 85%;
    margin-top: 5px;
    margin-left: 5px;
    background-color: #a4a4a4;
}

.username-warning {
    
    visibility: hidden;
}

.icon-title {
    
    margin: 0;
    font-size: 0.8em;
}

.icon-padding {
    
    padding-left: 7px;
}

.chat_icon {
    
    width: 100px;
    height: 100px;
}

.icon-column {
    
    max-width: 75%;
    min-width: 75px;
}

.icon-panel {
    
    width: 100%;
    margin: 0 5px 0 0;
}

.fade-row {
    
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
}

.fade-out-row {
    
    -webkit-animation: fadeout 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeout 1s; /* Firefox < 16 */
    -ms-animation: fadeout 1s; /* Internet Explorer */
    -o-animation: fadeout 1s; /* Opera < 12.1 */
    animation: fadeout 1s;
}

.row {
    
    flex-wrap: nowrap !important;
}

/* Colour schemes */

/* --- Dark --- */

.bg-chat-dark {
    
    background-color: #23272b!important;
}

.bg-input-dark {
    
    background-color: #474f56;
    border: 1px solid #77828c;
}

.bg-button-dark {
    
    background-color: #b6c1cc;
    font-weight: bold;
}

.chat-from-bubble-head-color {
    
    background-color: #1771d4 !important;
}

.chat-from-bubble-color {
    
    background-color: #3e87d7 !important;
}

.chat-to-bubble-head-color {
    
    background-color: #d4174f !important;
}

.chat-to-bubble-color {
    
    background-color: #d73e64 !important;
}

/* --- Light --- */

/* Fonts */

.sender {
    
    color: #ddd;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 10px;
    padding-left: 5px;
}

.message {
    
    color: #fff;
    font-size: 1.2em;
    padding-right: 3px;
}

/* Styling */

.wrapper {
    
    width: 100%;
    margin: 0 auto;
}

.container-fluid {
    
    padding: 0;
    margin: 0;
}

.row {
    
    padding: 0;
    margin: 0;
}

.chat-holder {
    
    padding: 0;
    margin: 0;
}

.main-panel {
    
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 80%;
    position: fixed;
    width: 100%;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

.input-wrapper {
    
    width: 100%;
    height: 10%;
    z-index: 2;
    
    position: fixed;
    bottom: 0;
    margin: 0 0 0 -15px;
    padding: 0 20px 0 0;
    
    transition: 0.5s;
}

.enter-button {
    
    width: 20%;
    margin-left: 5px;
    position: absolute;
    height: 85%;
    margin-top: 5px;
    
    transition: 0.5s;
}

.text-input {
    
    width: 80%;
    height: 85%;
    margin-top: 5px;
    margin-left: 5px;
    background-color: #a4a4a4;
}

.panel {
    
    background-color: #3f3f3f;
    height: 100%;
    position: fixed;
    margin: 0;
    padding: 0;
}

.private-input-container {
    
    display: none;
    position: fixed;
    bottom: 0;
    width: 45%;
    height: 10%;
}

.private-from {
    
    width: 60%;
    margin-bottom: 20px;
    clear: both;
}

.private-to {
    
    float: right;
    width: 60%;
    margin-bottom: 20px;
    clear: both;
}

.chat-from-bubble-head-p {
    
    margin-bottom: 0;
}

.chat-from-bubble-head {
    
    padding: 5px 10px !important;
    border-radius: 10px 10px 0 0;
}

.chat-from-bubble-foot {
    
    padding: 5px 10px !important;
    border-radius: 0 0 10px 10px;
    min-height: 15px;
}

.chat-from-bubble {
    
    width: 100%;
    padding: 10px;
}

.inner-panel {
    
    background-color: #2b3138;
}

.dark {
    
    background-color: #4f4f4f;
}

.row:nth-child(even) {
    
    background-color: #3a4046;
}

    
.sidebar {
    
    width: 0px;
    display: none;
}

/* Small devices (landscape phones, less than 768px) */
/* @media (min-width: 576px) { */
@media (min-width: 776px) {

    .enter-button {
    
        width: 30%;
        margin-left: 5px;
        position: absolute;
        height: 85%;
        margin-top: 5px;
        
        transition: 0.5s;
    }
    
    .text-input {
        
        width: 70%;
        height: 85%;
        margin-top: 5px;
        margin-left: 5px;
        background-color: #a4a4a4;
    }
    
    .input-wrapper {
    
        width: 100%;
        height: 10%;
        z-index: 2;
        
        position: fixed;
        bottom: 0;
        margin: 0 0 0 -20px;
        padding: 0 20px 0 20px;
        
        transition: 0.5s;
    }

    /* The sidebar menu */
    .sidebar {
        display: block;
        height: 100%; /* 100% Full-height */
        width: 75px; /* 0 width - change this with JavaScript */
        position: fixed; /* Stay in place */
        z-index: 3; /* Stay on top */
        top: 0;
        right: 0;
        overflow-x: hidden; /* Disable horizontal scroll */
        padding-top: 55px; /* Place content 60px from the top */
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    }
    
    /* The sidebar links */
    .sidebar a {
      padding: 8px 8px 8px 32px;
      text-decoration: none;
      font-size: 25px;
      color: #818181;
      display: block;
      transition: 0.3s;
    }
    
    /* When you mouse over the navigation links, change their color */
    .sidebar a:hover {
      color: #f1f1f1;
    }
    
    /* Position and style the close button (top right corner) */
    .sidebar .closebtn {
      position: absolute;
      top: 0;
      right: 25px;
      font-size: 36px;
      margin-left: 50px;
    }
    
    /* The button used to open the sidebar */
    .openbtn {
        min-width: 60px;
        max-width: 60px;
        font-size: 1em;
        cursor: pointer;
        background-color: #111;
        color: white;
        padding-top: 10px;
        padding-bottom: 10px;
        border: none;
    }
    
    .openbtn:hover {
      background-color: #444;
    }
    
    /* Style page content - use this if you want to push the page content to the left when you open the side navigation */
    #main {
      transition: margin-right .5s; /* If you want a transition effect */
      padding: 20px;
    }
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
/*
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}
*/

/* */
/* Animations /*
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Fade Out */
@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Firefox < 16 */
@-moz-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Opera < 12.1 */
@-o-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}




