﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}
.mainlogo {
    width: 250px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
.mainwrapperreadonly {
    float: left;
    width: 80%;
}
.conversationsarea {
    float: right;
    width: 19.5%;
    box-shadow: 0 0 4px 2px #d1d1d1;
    border: 1px solid #bbb;
    background-color: #e3e3e3;
    height: 88vh;
    position: sticky;
    left: 0;
    top: 60px;
    overflow: auto;
}
.mainheading{

}
.clickablesections {
    float: left;
    width: 10%;
    position: sticky;
    left: 0;
    top: 60px;
}

.contentview {
    float: right;
    width: 89%;
  
}
.sectioncontent {
    float: left;
    width: 100%;
    box-shadow: 0 0 4px 2px #d1d1d1;
    margin-bottom: 11px;
    border: 1px solid #bbb;
   
    background-color: #e3e3e361;
}
    .sectioncontent h2,.mainheading {
        margin: 0px !important;
        padding: 0px 10px;
        font-size: 20px;
        background-color: #00245D !important;
        color:white;
        padding:10px;

    }
.mainsectioncontent {
    float: left;
    width: 100%;
    padding: 10px;
    background-color:white;
}
.mainsectioncontent h3{
float:left;
width:100%;
margin-top:5px;
border-bottom:1px solid #ccc;
font-size:18px;
}
.headandvalue {
    float: left;
    width: 50%;
    border-bottom: 1px solid #ccc;
    margin:2px 0px;
letter-spacing:1px ;
}
.labelhead {
    margin-bottom: 0;
    float: left;
    background-color: #cccccc5e;
    padding: 2px;
}
.labelvalue {
    margin-bottom: 0;
    font-weight: normal;
    float: left;
    margin-left: 5px;
    padding: 2px;
}
.mainheadsection {
    background-color: #00245D !important;
    color: white;
    float: left;
    width: 100%;
    padding: 5px;
    box-shadow: 0 0 4px 2px #00245D;
    margin-bottom: 11px;
    border: 1px solid #00245D;
    cursor: pointer;
    letter-spacing:1px;
}
    .mainheadsection label {
        margin-bottom: 0px;
        cursor: pointer;
    }
footer {
    width: 100%;
    display: inline-block;
    text-align: center;
    border-top: 1px solid #ccc;
}
.messages {
    padding:0 10px;
    float:left;
    background-color:#ddd;
    position:relative;
    height:80vh;
    overflow:auto;
    width:100%;
    display:block;
}
.outgoingmsg {
    float: right;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
}
.messages label{
    margin-bottom:0px !important;
}
label.sendermsg {
    width: 100%;
}
label.sendertime {
    font-size: 11px;
    font-weight: normal;
    text-align: right;
    width: 100%;
}
.incomingmsg {
    float: left;
    width: 100%;
    margin-bottom: 5px;
}
.incomingmsgcontent {
    float: left;
    background-color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
.outgoingmsgcontent {
    float: right;
    background-color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
label.sendername {
    color:darkblue;
}
.sendmessage {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: white;
    z-index:1030000;
    padding:5px;
}
.txtnewmsg {
    width: 90%;
    max-width: 90%;
    float:left;
}
.btnsendmsg {
    float: right;
    width: 8%;
    height: 33px;
    padding: 0;
}
    .btnsendmsg i {
        margin-top: 5px;
    }

@media (min-width: 768px) {
}
@media (min-width: 601px) {
    .messagehide {
        display:none;
    }
    .messageshow {
        display: none;
        
    }
}
@media (max-width: 600px) {
    .clickablesections{
        display:none;
    }
    .contentview {
        float: right;
        width: 100% !important;
    }
    .headandvalue {
        width: 100% !important;
    }
    .mainwrapperreadonly {
        float: left;
        width: 100%;
    }

    .conversationsarea {
       
        width: 60%;
        position:fixed;
        right:0;
        left:unset;
        bottom:0;
        top:unset;
        height:90vh;
       
    }
    .messagehide {
        display: inline-block;
        float: right;
        cursor: pointer;
    }
    .messageshow {
        display: none;
        float: right;
        cursor: pointer;
    }
    .mainheading {
    }

    .clickablesections {
       
        width: 10%;
       
    }
}
/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #00245D;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #00245D;
    }

.bulkprocessbuttons {
    float: right;
}
div#filesinfo{
    padding:10px;
}
#DocumentPreviewModal .modal-dialog{
    width:90% !important
}
h3.messagedatehead {
    text-align: center;
    font-size: 16px;
    text-decoration: underline;
    float: left;
    width: 100%;
    /* background-color: #ccc; */
    padding: 10px;
    margin: 10px 0px;
}
.divider {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    position: sticky;
    top: 3px;
    margin: 5px 0;
    padding: 3px;
}
    .divider span {
        background: #00245D !important;
        color: white;
        border-radius: 3px;
        padding: 6px;
    }
.date-area {
   
}

.spacer {
   
}
img.imgepreviewsmall {
    width: 100%;
}