:root {
    --default: #333;
    --pretoriafm: #da234c;
    --mainchat: #EEFFE6;
    --replychat: white;
    --save: grey ;
}

* {
    font-family:Arial;
}

body {
    overflow-x: hidden;
    overflow-y: hidden;
}

/* login form */

h2 {
    text-align:center;
    color:#003D3D;
    position:fixed;
}

.login-form {
    display: inline-block;
    width: 350px;
    height: 400px;
}

.log_page {
    text-align: center;
}

.log_itm {
    font-family: Arial;
    font-size: 14px;
}

.form-field {
    font-size: 18px;
    padding: 0;
    margin-top: 5px;
    border: 2px solid #333;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    width: 250px;
    height: 30px
}

.form-label {
    font-size: 12px;
}

.login-image {
    width: 200px;
    height:200px;
}

.login-image2 {
    width: 500px;
    height:280px;
}

.qr-image {
    width:180px;
    height:180px;
    margin-left:auto;
    margin-right:auto;
}

.logo {
    position: absolute;
    margin-top: -1px;
    height: 50px;
    width: 50px;
}

/* navbar */
.navbar-flex {
    display: flex;
    background-color: var(--pretoriafm);
}

.navbar {
    height: 45px;
    border-radius: 5px;
}

.navbar a {
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    cursor: pointer;
    position: relative;
    display: inline-block;

}

.dropdown .dropbtn {
    margin-left: 50px;
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
}

@media screen and (max-width: 950px) {
    .dropdown .dropbtn {
        font-size: 12px;
        margin-left: 40px;
    }
}

.dropdown-replies .dropbtn-replies {
    font-size: 16px;
    border: none;
    outline: none;
    color: black;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
}

.dropdown-replies:hover {
    background-color: #ddd;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: white;
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content-replies {
    margin-top: -30%;
    margin-left: 100%;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content-replies a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content-replies a:hover {
    background-color: #ddd;
}

.dropdown-replies:hover .dropdown-content-replies {
    display: block;
}

/* Popup Modal Styles */

.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: white;
}

@media screen and (max-width: 950px) {
    .popup {
        width: 100%;
        font-size: 10px;
    }
}

.popup-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.top-popup {
    background-color: var(--pretoriafm);
    height: 100px;
    color: white;
}

@media screen and (max-width: 950px) {
    .top-popup {
        height: 50px;
    }
}

.top-popup-heading {
    position: absolute;
    margin-top: 40px;
    margin-left: 14%;
}

@media screen and (max-width: 950px) {
    .top-popup-heading {
        font-size: 10px;
        margin-top: 10px;
        margin-left: 10%;
    }
}

.c-form {
    max-width: 300px;
}

@media screen and (max-width: 950px) {
    .c-form {
        width: 100px;
    }
}

/* end modal */

.now-playing-container {
    display: flex;

}

.now-playing-title {
    position: absolute;
    left: 250px;
     max-width: 450px;
    color: white;
    font-size: 12px;
}

@media screen and (max-width: 950px) {
    .now-playing-title {
        font-size: 8px;
        left: 120px;
    }
}

.now-playing-container p {
    margin: 0;
    padding: 0;
}

.now-playing {
    color: white;
    font-size: 12px;
    margin-top: 1px;
}

@media screen and (max-width: 950px) {
    .now-playing {
        font-size: 8px;
    }
}

.user-time {
    position: absolute;
    right: 200px;
    color: white;
    font-size: 12px;
}

@media screen and (max-width: 950px) {
    .user-time {
        font-size: 8px;
        right: 10%
    }
}

#status-indicator {
    margin-right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* pins */

.pins {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 30px;
    border: none;
    border-radius: 2px;
    min-height: 17px;
    margin-left: 100px;
    font-size: 10px;
    background-color: white;
    color: black;
    transition-duration: 0.4s;
}

.pins:hover {
    background-color: var(--pretoriafm);
    color: white;
}

@media screen and (max-width: 950px) {
    .pins {
        font-size: 8px;
        padding: 1px;
    }
}

/* display dates */

.nav-form {
    justify-content: center;
    color: white;
    margin: 0 auto;
    margin-left: 40%;
    margin-top: -28px;
    width: 100%;
    font-size: 10px;
}

@media screen and (max-width: 1230px) {
    .nav-form {
        margin-top: -20px;
    }
}

@media screen and (max-width: 900px) {
    .nav-form {
        margin-top: -22px;
        margin-left: 100px;
    }
}

.view-form {
    display: flex;

}

.view-form p {
    margin-top: -0.5px;

}

.search-but {
    margin-left: 10px;
    max-height: 16px;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    font-size: 10px;
    background-color: white;
    color: black;
    transition-duration: 0.4s;
}

.search-but:hover {
    background-color: var(--pretoriafm);
    color: white;
}

.label-days {
    color: white;
}

.days {
    margin-left: 5px;
    display: inline-block;
    border: none;
    max-height: 14px;
    font-size: 10px;
    border-radius: 2px;
}

/* alert scroll */

.scroll-text {
    margin-top: 10px;
    font-size: 15px;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* message */

.div-box{
    margin-left: 40px;
}

.box-main {
  display: flex;
  justify-content: center;
}

.box-notifications {
    color: red;
    width: 100%;
    overflow: hidden;
    margin-bottom: -4%;
}

.box-all{
    margin: 1%;
    margin-top: 3%;
    float: left;
    width: 30%;
    height: 500px;
    border-radius: 10px;
    -webkit-box-shadow: 2px 1px 3px 3px rgba(0,0,0,0.55);
    box-shadow: 2px 1px 3px 3px rgba(0,0,0,0.55);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 0;
}

.box-all.active {
    margin-top: 4%;
    width: 50%;
    height: 500px;
    z-index: 20;
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.box-none {
    display: none;
}

.top-box-heading{
    top: 0;
    width: 100%;
    height: 10%;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    font-size: 12px;
    overflow: hidden;
    background-color: var(--pretoriafm);
    text-align: center;
    font-family: Arial, sans-serif;
}

.top-box-heading-replies{
    top: 0;
    width: 100%;
    height: 10%;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    font-size: 12px;
    overflow: hidden;
    background-color: var(--pretoriafm);
    text-align: center;
    font-family: Arial, sans-serif;
}

.container-chat {
    word-wrap: break-word;
    max-height: 440px;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
}

@media screen and (max-width: 900px) {
    .container-chat {
        margin-left: -20px;
    }
}

.box-wa {
    list-style-type: none;
}

.span1 {
    color: #333;
    font-size:7px;
    font-weight: bold;
}

.span2 {
    font-weight: bold;
    color: #333;
    font-size:13px;
    margin-left: 20%;
}

@media screen and (max-width: 900px) {
    .span2 {
        margin-left: 5%;
    }
}

.span2-reply {
    color: #333;
    font-size:15px;
    margin-left: 30px;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.container-notification {
    margin-right: 10%;
    height: 10px;
    width: 10px;
    float: right;
    background-color: red;
    border-radius: 50%;
    animation: blinker 1s linear infinite;
}

.wtime {
    margin-left: 10px;
    font-size: 10px;
    color: #BDBDBD;
    margin-bottom: 10px;

}

.rec-img {
    border-radius: 5px;
    padding: 5px;
    width: 100px;
    height: 90px;
    margin-left: 25%;
}

.save-button {
    cursor: pointer;
    border-radius: 2px;
    border: none;
    font-size: 9px;
    color: white;
    background-color: var(--save);
    transition-duration: 0.4s;
}

.save-button:hover {
    color: black;
    background-color: white;
}

.right {
    margin-left: 75%;
}

@media screen and (max-width: 900px) {
    .right {
        margin-left: 30px;
    }
}

.save-button-archive {
    cursor: pointer;
    border-radius: 5px;
    border: none;
    font-size: 9px;
    color: white;
    background-color: blue;
    animation: blinker 1s linear infinite;
}

.m-text {
    background-color: var(--mainchat);
    border-radius: 10px;
    font-size: 12px;
    width: 90%;
    padding: 1px;
    transition: 0.5s ease-in-out;
}

.m-text-line {
    margin-left: 7px;
}

.m-text-reply {
    background-color: #D0E7FA;
    border-radius: 10px;
    width: 80%;
    padding: 1px;
}

.replied {
    background-color: #F26C62;
    border-radius: 2px;
    color: white;
    font-size: 9px;
    text-align: center;
    max-width: 45px;
    margin-left: 80%;
    margin-bottom: -6px;
}

@media screen and (max-width: 900px) {
    .replied {
        background-color: #F26C62;
        border-radius: 10px;
        color: white;
        font-size: 9px;
        margin-left: 0;
    }
}

audio::-webkit-media-controls-panel,
audio::-webkit-media-controls-enclosure {
    background-color: #EEFFE6;
}

.aud-player {
    padding-top: 12px;
    padding-bottom: 12px;
    width: 100%;
    background-color: transparent;
}

.doc-view {
    text-decoration: none;
}

.doc-view p {
    color: black;
    font-size: 12px;
    margin-left: 30px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.doc-view p:hover {
    color: darkcyan;
}

.vid-player {
    border-radius: 5px;
    padding: 5px;
    margin-left: 25%;
    border-radius: 7px;
    width:150px;
}

.button {
    cursor: pointer;
    background-color: var(--pretoriafm);
    width: 80px;
    border-radius: 5px;
    color: white;
    border: 2px double white;
    transition-duration: 0.4s;
}

.button:hover {
    background-color: white;
    color: black;
}

.button-inv {
    background-color: white;
    width: 40px;
    border-radius: 5px;
    color: black;
    border: 1px double white;
    font-size: 8px;
    transition-duration: 0.4s;
}

.button-inv:hover {
    background-color: #333;
    color: black;
}

.pin-button {
    margin-top:-10px;
    margin-left:80%;
}

.status_page {
    margin-left:20px;
}

.status1 {
    margin:-10px;
}

.status1-1 {
    margin-top:-20px;
    font-size:10px;
}

.container-chat-reply {
    word-wrap: break-word;
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

.message-list {
    display: flex;
    justify-content: center;
    margin-left: 10%;
    width: 900px;
    padding:10px;
}

/* office reload */
.office_reload {
    position: absolute;
    right: 200px;
    color: white;
    display: none;
}

.office_reload > p {
    margin-left: -15px;
}

/* replies page */
.box-all-reply{
    margin-left: 8%;
    margin-top: 3%;
    width: 80%;
    height: 500px;
    border-radius: 10px;
    -webkit-box-shadow: 2px 1px 3px 3px rgba(0,0,0,0.55);
    box-shadow: 2px 1px 3px 3px rgba(0,0,0,0.55);
    transition: all 0.3s ease-in-out;
    position: absolute;
    z-index: 1;
}

@media screen and (max-width: 800px) {
    .box-all-reply{
        margin-top: 7%;
    }
}

.reply-search {
    position: absolute;
    margin-top: 4%;
    margin-left: 10%;
    z-index: 2;
}

.button-unread-replies {
    font-size: 9px;
    cursor: pointer;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 5px;
    margin-left: 39%;
    margin-top: 3%;
    transition-duration: 0.4s;
}

.button-unread-replies:hover {
    background-color: #da234c;
    color: white;
}

.search-number {
    border: none;
    border-radius: 5px;
}

@media screen and (max-width:860px) {
    .search-number {
        display: none;
    }
}

.button-search-office {
    font-size: 9px;
    cursor: pointer;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 5px;
    margin-top: 3%;
    margin-left: 5px;
    transition-duration: 0.4s;
}

.button-search-office:hover {
    background-color: #da234c;
    color: white;
}

@media screen and (max-width:860px) {
    .button-search-office {
        display: none;
    }
}

.search_numbers_heading {
    margin-left: 20px;
}

@media screen and (max-width:860px) {
    .search_numbers_heading {
        display: none;
    }
}

.button-search {
    font-size: 9px;
    cursor: pointer;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 5px;
    margin-top: 3%;
    margin-left: 5px;
    transition-duration: 0.4s;
}

.button-search:hover {
    background-color: #da234c;
    color: white;
}

.button-saved-replies {
    font-size: 9px;
    cursor: pointer;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 5px;
    margin-left: 43%;
    margin-top: 3%;
    transition-duration: 0.4s;
}

@media screen and (max-width:900px){
    .button-saved-replies {
        font-size: 8px;
        padding: 1px;
    }
}

@media screen and (max-width:400px){
    .button-saved-replies {
        margin-left: 40%;
    }
}

.button-saved-replies:hover {
    background-color: #da234c;
    color: white;
}

.replies {
    list-style-type: none;
}

.reply-style {
    border-radius:10px;
    margin-left: 10%;
    background-color: var(--mainchat);
    width: 50%;
}

.reply-style-selected {
    border-radius:10px;
    margin-left: 10%;
    background-color:#FFE6FF;
    width: 50%;
}

.reply-content {
   padding: 6px;
}

.reply-main {
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
}

.reply-dot {
    border-top: 1px dotted #f00;
    color: black;
    margin-bottom: 5px;
}

.reply-number {
    padding-top: 5px;
    margin-right: 20px;
    font-size: 10px;
    color: #BDBDBD;
}

.reply-date {
    margin-left: 20px;
    font-size: 10px;
    color: #BDBDBD;
}

.reply-name {
    font-size: 15px;
    font-weight: bold;
    margin-left: 38%;
}

.reply-user-name {
    font-size: 15px;
    font-weight: bold;
    margin-left: 9px;
}

.reply-time {
    margin-left: 5px;
    padding-top: 5px;
    font-size: 10px;
    color: #BDBDBD;
}

/*
.reply-user {

}
*/

.reply-message {
    margin-top: 5px;
    margin-left: 10px;
    font-size: 14px;
    text-align: center;
}

/*
.reply-form {

}
*/

.reply-sub-container {
    margin-left: 9px;
}

.upload-form {
    margin-left: 49.5%;
}

/*
.form-forward {
}
*/

input[type=file]::file-selector-button {
    cursor: pointer;
    background-color: var(--pretoriafm);
    width: 60px;
    font-size: 8px;
    border-radius: 5px;
    color: white;
    border: 2px double white;
    transition-duration: 0.4s;
}

input[type=file]::file-selector-button:hover {
    background-color: white;
    color: black;
}

.form-chat {
    font-size: 12px;
    font-weight: bold;
}

.chat-forward {
    font-size: 12px;
    background-color: var(--replychat);
    border: none;
    border-radius: 5px;
    margin-bottom: 3px;
    width: 30%;
}

.chat-reply {
    word-wrap: break-word;
    font-size: 12px;
    background-color: var(--replychat);
    border: none;
    border-radius: 5px;
    padding: 3px;
    width: 70%;
}

.button-reply {
    cursor: pointer;
    background-color: var(--pretoriafm);
    font-size: 8px;
    width: 45px;
    border-radius: 5px;
    color: white;
    border: 2px double white;
    transition-duration: 0.4s;
}

.button-reply:hover {
    background-color: white;
    color: black;
}

.button-reply-upload {
    cursor: pointer;
    background-color: var(--pretoriafm);
    font-size: 8px;
    width: 45px;
    height: 16px;
    border-radius: 5px;
    color: white;
    border: 2px double white;
    text-align: center;
    line-height: 11px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.button-reply-upload:hover {
    background-color: white;
    color: black;
}

.button-reply-upload.progress {
    background-color: white;
    color: black;
    border-color: var(--pretoriafm);
    transition: none;
}

.button-reply-upload.done {
    background-color: var(--pretoriafm);
    color: white;
    border-color: white;
}

.button-reply-upload.error {
    background-color: red;
    color: white;
    border-color: darkred;
}

/*
.replied-message {

}
*/

.user-reply-style {
    margin-bottom: 5px;
    border-radius: 10px;
    background-color: #d0fbf9;
    width: 40%;
    margin-left: 50%;
    padding: 5px;
}

.reply-chat-box {
    border: solid 1px #d9edee;
    border-radius: 10px;
    background-color: #d9edee;
    width: 80%;
    margin-top: 0;
    margin-bottom:2px;
    padding: 5px;
}

.replied-message-chat {
    margin-left:25px;
}

.reply-name-chat {
    font-size: 12px;
}

.reply-time-chat {
    margin-left: 28%;
    font-size: 10px;
    color: #BDBDBD;
}

.reply-message-chat {
    padding-top: 10px;
    margin-left: 15px;
    font-size: 13px;
}

/* search page */

.search-form {
    margin-top: 5px;
    font-size: 12px;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.search-results {
    display: flex;
    justify-content: center;
}

.search-items {
    margin-top: 10px;
}

.search-line-1 {
    margin-left: 20px;
    margin-bottom: 5px;
    font-size: 10px;
}

.search-line-2 {
    margin-top: 5px;
    margin-left: 30px;
}

.search-box {
    border-radius: 5px;
}

.selected {
    background-color: #FDE7E5;
    margin-left: 10px;
    transition-duration: 0.4s;
}
