
/* START OF BUDDYUPDATES STYLE */

/******************** For buddy updates page by MD ***********************/
.buddy-updatesPage{
    /*overflow: hidden;*/
    background-color: #fff;
    font-family: Sniglet-Regular;
}
/* main posts body */
.post-body{
    padding:10px 15px 25px 50px;
    background: url('../img/bgpattern.png');
    background-size: cover;
    min-height: 640px; /*temp to be removed later*/
    border-left-width:4px;
    border-right-color: #ffe315;
    border-right-style:dashed;
}
/* chat menus of RHS */
.RHS-BU{
    padding:10px 25px 25px 25px;
    min-height: 500px; /*temp to be removed later*/
}

/* menus with slider at bottom */
.bu-menubar{   
    margin-bottom: 50px;
    cursor: pointer;
}

/* menus with slider at bottom */
.bu-menus{
    padding: 15px 20px;
    font-size: initial;
    font-weight: bolder;
    text-align: center;
}

/* for chat menubar */
.RHS-BU .bu-menubar{
    width:100%;
}

/* for chat menus */
.RHS-BU .bu-menubar .bu-menus{
    width:33.33%
}

/*.bu-menubar .bu-menus :hover,.bu-menubar .bu-menus :focus{
    
}*/
/** posts slider **/
/* slider handle */
#posts-handle{
    width: 50%;
    height: 11px;   
    text-align: center;
    /*line-height: 1.6em;*/
    background-color: #ffbf0d;
    cursor: pointer;  
    margin-left:0;
}

/* slider at the bottom of menus*/
#posts-slider,#chat-slider {
    background-color: yellow; /*Rohini has given this code "#ffe315" but it is not alike */
    height:5px;
    width:100%;
    display: flex;
    float:left
}

/** chat slider **/
/* slider handle */

#chat-handle {
    width: 33.3%;
    height: 11px;   
    text-align: center;
    /*line-height: 1.6em;*/
    background-color: #ffbf0d;
    cursor: pointer; 
    margin-left:0;
}

/**********************************************/
/*textarea for status */
#stat{
    width:100%;
    padding:15px; 
    font-size:initial;
    margin-bottom: 15px
}

/* announce button */
#post_status{
    border-radius: 20px;
    background-color: #339eff;
    padding: 10px 25px;
    box-shadow:5px 5px #005899; 
}

/* camera for attching photos */
#pick_img>img,#editpick_img>img{
    width : 7%;
    display : inline;
}
/********************************************/
/******************** Chat ******************/
.chat-tabulars{
    padding-bottom:15px;
    border-bottom: 2px solid lightgrey; 
    background-color: appworkspace;
    display: inline-block;
    width:100%;
    margin-bottom: 10px;  
    cursor: pointer;
    background-color: #fff;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    display: inline-block;
}

.limitxt {
    white-space: nowrap; 
    overflow: hidden;    
    text-overflow: ellipsis;
}

.ct-one,.ct-two,.ct-three {
    height:50px;    
}

.ct-one>p,.ct-three>p,.ct-three,.ct-two>p {
    line-height:50px;
}

.grouprequest .ct-two>p {
    line-height:inherit;
}

.cb-outer, #editGroupModalContent, .buddyrequest, .grouprequest,#createGroupModalContent,.confirm-alert,.success-alert, #apMod{  
    border: 2px solid #4d7c03; 
    box-shadow: 0px 0px 0px 12px greenyellow;  
    border-radius: 4px;    
    padding: 15px;
}

.cb-outer{
    min-height:600px;    
    margin:50px 10px;
    display: inline-block;
    position: relative;   
}

.close-box{    
    position: absolute;    
    left:calc(100% - 30px);
    bottom:calc(100% - 30px);   
    height:60px;
    width: 60px;    
    border-radius: 30px;          
    text-align: center;
    font-size: 25px;
    color:#fff;
    cursor: pointer;
}

.close-box .glyphicon{
    vertical-align: bottom;    
}

.chatboxhead{
    /*height:10%;*/
    background-color: #f2f2f2;
    border: 1px solid #cccccc;
    /*position: absolute;*/
    border-radius: 15px;
    z-index:100;
    cursor: pointer;
}

.chatWith{      
    display: inline-block;    
    width:60%;
    vertical-align: middle;
    font-size: large;
}

.chatboxhead .profile-pic{
    width: 18%;
    /*height: 80%;*/
    border-radius: 50%;
    margin: 10px 10px;
    display: inline-block;
    position: relative;
}

.chatboxcontent{
    position:absolute;
    /*background-color: #fff;*/
    height:60%;
    top:16%;
    width: 96%;
    overflow-y:auto;
    overflow-x:hidden;
}

.msgFrom,.myMsg{
    min-height: 50px;
    border-radius: 15px;
    max-width:50%; 
    margin: 10px 0;
}

.msgFrom{
    background-color: #ffa300;
    border: 1px solid #ff8500;
}

.myMsg{
    float:right;
    background-color: #157fce;
    border: 1px solid #005899;max-width:50%; 
}

.chatmsg{
    margin-left:5%;
    margin-right:5%;
    word-wrap: break-word;
    color:#fff;   
    display: inline-block;
    padding:15px 25px;
    font-size:initial;
}

.ChatDate{
    margin: 10px 0;
    text-align: center;
}

.msgTime{
    float:right;
    font-size: 0.7em;
    display: inline-block;
    margin-left: 50px;
    margin-top: 5px;
}

.indiChatboxtextarea, .groupChatboxtextarea{
    position: absolute;
    bottom:0;   
    width:90%;
    margin:2%;
    font-size: medium;
}

.grp_noti{
    background-color: #f2f2f2;
    text-align: center;
    display: inline-block;
    padding: 10px 25px;
    font-size: small;
    border-radius: 10px;
    margin: 10px 0;
}

.sender_membername{
    font-size:0.7em;;
}

.group-dropdown{
    vertical-align: middle
}

.group_dd_option{
    display:block;    
}

.post_option>span,.group_dd_option>span{
    cursor: pointer;
    margin:10px;
    display: inline-block;
    font-size:initial;
    width:90%;
}

.group_dd_option>hr{
    display: block;
    height: 1px;    
    border-top: 1px solid #ccc;   
}

.group-pic{
    width:80%;
    height:80%;
}

#editGroupModalContent{
    max-height:90%;
}

#editGroupModal .editgroup-lower,#editGroupModal .editgroup-lowest,#createGroupModalContent 
.editgroup-lowest{
    max-height: 250px;
    overflow-y: auto;
    border:1px solid graytext;
}

#editGroupModal .profile-pic{
    border-radius:0px;
}

#editGroupModalContent .col-md-7{
    padding-top:25px;
}

#editGroupModalContent .editgroup_name>label{
    font-size: large;
    color: #4d7c03;
}

#editGroupModalContent .glyphicon{
    color:greenyellow;
}

.green-button{
    border-radius: 20px;
    background-color: #7dcc00;
    padding: 10px 25px;
    box-shadow: 5px 5px #4d7c03;
}

.empty_valid{
    color:red;
}

.buddyrequest,.grouprequest{
    border:none; 
    display:inline-block;
    width:100%;
    max-height:150px;
    overflow-y: auto;
}

.buddyrequest .green-button, .group-upper .green-button,.grouprequest .green-button{
    padding: 6px 12px;
}

.removeFromBuddyList, .leaveGroup,.sendGrpReq,.sendReqToBud,.removeFromGroup,.leftGroup{
    color:darkgray;
    cursor: pointer;
}

#searchGroup{
    width:50%;
}

#selectGrpImg{
    margin-left: 12%;
    margin-top: 5%;
}

.MyGroups {
    max-height : 430px;
    overflow-y:auto;
}

.buddy_list {
    max-height : 480px;
    overflow-y:auto;
}

.Message-insider{
    display: inline-block;
    width: 100%;
    max-height: 750px;
    overflow-y: auto;
}

#searchBuddy{
    width:84%;
    margin-left: 8%;
}

.allGrpMsgCount,.allMsgCount{
    color:#7dcc00;
}

.msgCount{
    background-color: #7dcc00;
    width:25px;
    height:25px;
    border-radius: 50%;
    border:1px solid #255625;
    color:#fff;
    display: inline-block;
    text-align: center;
    margin-left: 5px;

    line-height: 25px;
}

.group-notice{
    bottom: 2%;
    position: absolute;
    text-align: center;
    background-color: #f2f2f2;
    padding: 0 5%;
    left: 15%;
    border-radius: 15px;
}

#is-online{
    width: 15px;
    height: 15px;
    background-color: greenyellow;
    border: 1px solid #4d7c03; 
    position: absolute;
    border-radius: 50%;
    left: 75%;
    top: 1%;
}
/************************Scrollbar Styling********************/
.chatboxcontent::-webkit-scrollbar {
    width: 10px;
    opacity:0.8;
}
/* Track */
.chatboxcontent::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}
/* Handle */
.chatboxcontent::-webkit-scrollbar-thumb {
    background: rgb(211,211,211);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.chatboxcontent::-webkit-scrollbar-thumb:window-inactive {
    background:rgba(16, 15, 15, 0.18); 
}
/*********************************************************/
.warning-alert{
    border: 2px solid #cc2211; 
    box-shadow: 0px 0px 0px 12px #ff4622;  
    border-radius: 4px;    
    padding: 15px;
    font-size:large;
    text-align:center;
    font-family: Sniglet-Regular;
    margin-top: 50%;
}

.alert-imgs {
    width: 25%;
    margin-left: auto;
    margin-right: auto;
}

.confirm-alert,.success-alert {
    font-size:large;
    text-align:center;
    font-family: Sniglet-Regular;
    margin-top: 50%;
}

.confirm-alert .modal-footer {
    text-align: center;
}

.confirm-alert .modal-footer >button {
    background-color: #b0d612;
    border: 1px solid #4d7c03;   
    padding:5px 25px;
    color:#fff;
    font-size:large;
}

.warning-alertMessage >span,.success-alertMessage >span{
    color:#ff4622;
    font-size:larger
}
/******************************************************************/
.AllPosts{
    max-height: 600px; 
    overflow-y: auto;
}

.MyPosts{
    max-height: 800px; 
    overflow-y: auto;
}

.post{
    border: 2px solid #cccccc; 
    box-shadow: 0px 0px 0px 12px #e6e6e6;  
    border-radius: 4px;    
    padding: 15px;
    margin-bottom: 50px;
    margin-right: 10px;
}

/*.postsl{
    padding-right:10px;
}

.postsr{
    padding-right:10px;
}*/

.post-header{
    display: flex;
    margin-bottom: 15px;
}

.post-profile-pic{
    width: 55px;
    height: 55px;
    position: absolute;
    border-radius: 50%;
}
.post-person{
    font-size: large;
    color:#339eff;
}

.post-time{
    font-size:small;
    color:#cccccc;
}

.post-content{

}

.post-likcoms{
    padding:10px 0;
    border-bottom: 1px solid #cccccc;
    color:#339eff;
}

.post-like{
    width: 30px;
    height: 30px;
    display: inline-block
}

.post-numOflc{
    float:right;
    padding: 5px 0;
    cursor: pointer;
}

.post-coms{
    padding:15px 0;        
}

.com-profile-pic{
    width: 35px;
    height: 35px;
    border-radius: 50%;
}
.com-time{
    float:right;
    font-size:small;
    color:#cccccc;
    width: 30%;
}

.com-content{
    color:#b3b3b3;
}

.com-person{
    width: 50%;
    display: inline-block;
}

#postCom{
    /*width:80%*/
}

.post-coms .col-md-10{
    padding-left: 0;
}

.post-footer{
    padding:10px 0;       
}

.Allcomments{
    max-height: 30vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.remCom{
    display:none;
}

.numOfLikes:hover,.numOfComs:hover{
    text-decoration: underline;
    cursor:pointer;
}

.likePost{
    cursor: pointer;
}

.rem-img{    
    position: absolute;    
    left:calc(100% - 25px);
    bottom:calc(100% - 10px);   
    height:20px;
    width: 20px;    
    border-radius: 30px;          
    text-align: center;
    font-size: 25px;
    color:#fff;
    cursor: pointer;
}

#img-preview .modal-dialog {
    /*width:80%;*/
}

.img-preview {

}

.img-preview-container {
    padding:4px;
}

.cropper {
    border: 3px #ffffff dashed;
    outline: 3px dashed #000;
    position: absolute;
    left: 30%;
    top: 30%;
    width: 40%;
    height: 40%;    
    overflow:hidden;
}

.img-cropped {   
    /* margin-left:-225px;
     margin-top:-185px;*/
}

.img-cropped-container {
    position: relative;
    width:100%;  
    overflow: hidden;
}

.edit-com, .del-com{
    float: right;
    margin-right: 10px;
    color: #339eff;
}

.attachImgInChat{
    position: absolute;
    display: inline-block;
    top: 82%;
    left: 94.5%;
    font-size: x-large;
    cursor: pointer;
    color:#339eff;
}

.imgAsMsg{   
    border-radius: 15px;
    margin-left: 5%;
    margin-right: 5%;
    word-wrap: break-word;
    color: #fff;
    display: inline-block;
    padding: 15px;
    font-size: initial;
    max-width: 50%;
    background-color: #f2f2f2;
    border: 1px solid #c2c2c2;
    margin: 10px 0;
    margin-left: 5%;
    margin-right: 5%;
}
.myImg{
    float:right;
}

.imgFrom{
    float:left;
}

.imgAsMsg .msgTime,.imgAsMsg .sender_membername{
    color:black;
    font-size: 1em;
}       

.imgAsMsg >img{
    border-radius: 15px;
}

#GalleryCarousel .carousel-inner {
    height: 150px !important;
    width:90%;
    margin-left: 5%;
}

#GalleryCarousel .carousel-inner .item .col-md-3>img{
    height: 150px !important;
    width:100%;
    cursor:pointer;
}

#GalleryCarousel .carousel-control {
    width:5%;
    background-image: none;
}

#GalleryCarousel .carousel-inner {
    /*     padding-left:5%;
         padding-right:5%;*/
}

#GalleryOneImg .carousel-caption{
    top:20px;
    text-align: start;
}

#postOptions .glyphicon{
    color:#339eff;
    cursor: pointer;
    padding: 5px;
}

ul[aria-labelledby='postOptions']{
    min-width: initial;
    border-radius: 10px;
    padding: 5px 10px;
}

.EditPost{
    border-bottom: 1px solid #a2a2a2;
    padding: 5px 15px;
    cursor: pointer;
}

.deletePost,.ReportPost{
    padding: 5px 15px;
    cursor: pointer;
}

.editrem-img {
    position: absolute;    
    left: calc(100% - 28px);
    bottom: calc(100% - 103px);
    height: 25px;
    width: 30px;   
    border-radius: 30px;          
    text-align: center;
    font-size: 25px;
    color:#fff;
    cursor: pointer;
}

.edit-comY,.edit-comN {
    color: white;
    margin-left: 5%;
    margin-top: 3%;
    padding: 2px 10px;
    border-radius: 20px;
    background-color: #339eff;
    box-shadow: 5px 5px #005899;
}

.editT {
    width: 95%;
}

.endofposts {
  line-height: 0.5;
  text-align: center;
}
.endofposts span {
  display: inline-block;
  position: relative;  
}
.endofposts span:before,
.endofposts span:after {
  content: "";
  position: absolute;
  height: 5px;
  border-bottom: 1px solid gray;
  border-top: 1px solid gray;
  top: 0;
  width: 200%;
}
.endofposts span:before {
  right: 100%;
  margin-right: 15px;
}
.endofposts span:after {
  left: 100%;
  margin-left: 15px;
}

.limitxt .glyphicon-file {
    color:#339eff;
}

@media screen and (max-width: 575px) { 
    body{
        background-color: blue;
    }
    
   #post_status {   
        padding: 2px 8px;            
        margin-top: 5px;
    }

    .bdup-myact {
        padding-left:15px;
    }

    .post-body {
        padding:10px 15px 25px 15px;   
    }
    
    .navbar-nav {
        margin: 0 -15px 20px -15px;
        padding-right: 0px;
        padding-left: 15px;
    }

    .bu-menus {
        padding: 10px 20px;
    }

    #stat {
        padding:5px 5px 0 5px;
        margin-bottom: 0;
    }

    .post-coms .col-md-10,.post-header .limitxt {
        padding-left: 15px;
    }
    
    .com-profile-pic {
        width: 45px;
        height: 45px;
       
        border-radius: 50%;
    }

    .post-profile-pic{
        width: 55px;
        height: 55px;
    }

    #posts-handle {
        float:left;
    }
    
     #pick_img > img,#editpick_img>img {
        width: 20%;     
    }
}

/* Small devices (landscape phones, 576px and up) ORANge*/
@media screen and (min-width: 576px) and (max-width: 767px) {  
    body{
        background-color: orange;
    }

    #pick_img > img,#editpick_img>img {
        width: 10%;     
    }
    
     .confirm-alert, .success-alert {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    #apMod{
        margin:40px 20px auto 20px;       
    }
}

/* Medium devices (tablets, 768px and up) yellow */
@media screen and (min-width: 768px) and (max-width: 991px) {  
    body {
        background-color: yellow;
    } 
}

/***************************************************/
/************ END OF BUDDYUPDATES STYLE ************/