.search-new-container {
    display: flex;
    justify-content: space-between;
}

.new-message .new-message-btn {
    background: transparent;
    border: none;
    float: left;
    position: relative;
    bottom: 30px;
    /* right: 300px; */
}

#new_conversation .fa-edit { 
    color:#47587b;
    font-size : 1.7rem;
    
}

.new-participant {
    display:none;
}

.new-participant .new-participant-btn {
    background: transparent;
    border: none;
    float: right;
    position: absolute;
    top: 0px;
    right: 15px;   
    
}

.new-participant .new-participant-btn .fa-plus { 
    color: #ffffff;
    font-size: 1.1rem;
    padding: 10px;
      
}


.group-info {
    display:none;
}

@media screen and (max-width: 735px) {
    .group-info {
        margin-right: 15px;
    }
}

.group-info .group-info-btn {
    background: transparent;
    border: none;
    float: right;
    position: absolute;
    top: 0px;
    right: 40px;  
    
}

.group-info .group-info-btn .fa-info { 
    color: #ffffff;
    font-size: 1.1rem;
    padding: 15px;
     
}
    



.m-messenger .m-messenger__messages .m-messenger__message.m-messenger__message--out .m-messenger__message-content {
    background: #e62f4a !important;
}

.m-messenger.m-messenger.m-messenger--message-arrow .m-messenger__message.m-messenger__message--out .m-messenger__message-arrow {
    color: #e62f4a !important;
}

.btn-conversation-content {
    white-space: normal !important;
    word-wrap: break-word;
}

.nav-item .m-tabs__link {
    color: #232C4D !important;
}


.titre_messagerie {
    float:none;
    margin: 15px 15px;   
}

.titre p {
    font-size: 1.2rem; 
    font-weight: 400; 
    color: #232C4D; 
    font-family: "Roboto", sans-serif;
 }

/* test */

.tab-message {
    padding: 0 !important;
}

#frame {
    width: 100%;
    /* min-width: 360px;
    max-width: 1000px; */
    height: 92vh;
    min-height: 300px;
    max-height: 720px;
    background: #FFF;
}

@media screen and (max-width: 360px) {
    #frame {
        width: 100%;
        height: 100vh;
    }
}

#frame #sidepanel {
    float: left;
    /* min-width: 280px;
    max-width: 340px; */
    width: 40%;
    height: 100%;
    color: #232c4d;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
    border-right: 1px solid #d4d4d4;

}

@media screen and (max-width: 735px) {
    /* #frame #sidepanel {
        width: 58px;
        min-width: 58px;
    } */
}

#frame #sidepanel #profile {
    width: 80%;
    margin: 25px auto;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile {
        width: 100%;
        margin: 0 auto;
        padding: 5px 0 0 0;
        background: #32465a;
    }
}

#frame #sidepanel #profile.expanded .wrap {
    height: 160px;
    line-height: initial;
}

#frame #sidepanel #profile.expanded .wrap p {
    margin-top: 22px;
}

#frame #sidepanel #profile.expanded .wrap i.expand-button {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

#frame #sidepanel #profile .wrap {
    height: 80px;
    line-height: 60px;
    overflow: hidden;
    -moz-transition: 0.3s height ease;
    -o-transition: 0.3s height ease;
    -webkit-transition: 0.3s height ease;
    transition: 0.3s height ease;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap {
        height: 55px;
    }
}
 #frame #sidepanel #profile .wrap img {
    width: 50px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid #e74c3c;
    height: 50px;
    object-fit: cover ;
    float: left;
    cursor: pointer;
    -moz-transition: 0.3s border ease;
    -o-transition: 0.3s border ease;
    -webkit-transition: 0.3s border ease;
    transition: 0.3s border ease;
} 

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap img {
        width: 40px;
        height: 4px;
        object-fit: cover;
        margin: 4px 0 0 8px;
    }
}

#frame #sidepanel #profile .wrap img.online {
    border: 2px solid #2ecc71;
}

#frame #sidepanel #profile .wrap img.away {
    border: 2px solid #f1c40f;
}

#frame #sidepanel #profile .wrap img.busy {
    border: 2px solid #e74c3c;
}

#frame #sidepanel #profile .wrap img.offline {
    border: 2px solid #95a5a6;
}

#frame #sidepanel #profile .wrap p {
    float: left;
    margin-left: 5px;
    color: #232c4d;
    font-size: 1.0rem;
    font-weight:600;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap p {
        display: none;
    }
}

#frame #sidepanel #profile .wrap i.expand-button {
    float: right;
    margin-top: 23px;
    font-size: 1.0em;
    cursor: pointer;
    color: #435f7a;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap i.expand-button {
        display: none;
    }
}

#frame #sidepanel #profile .wrap #status-options {
    position: absolute;
    left:30px;
    opacity: 0;
    visibility: hidden;
    width: 100px;
    height:140px;
    margin: 10px 0 0 0;
    border-radius: 6px;
    z-index: 99;
    line-height: initial;
    background: #435f7a;
    -moz-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap #status-options {
        width: 58px;
        margin-top: 57px;
        left:0px;
    }
}

#frame #sidepanel #profile .wrap #status-options.active {
    opacity: 1;
    visibility: visible;
    margin: 60px 0 0 0;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap #status-options.active {
        margin-top: 52px;
    }
}

#frame #sidepanel #profile .wrap #status-options:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #435f7a;
    margin: -8px 0 0 24px;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap #status-options:before {
        margin-left: 23px;
    }
}

#frame #sidepanel #profile .wrap #status-options ul {
    overflow: hidden;
    border-radius: 6px;
}

#frame #sidepanel #profile .wrap #status-options ul li {
    padding: 15px 0 15px 0px;
    display: block;
    cursor: pointer;
}

@media screen and (max-width: 735px) {
   /*  #frame #sidepanel #profile .wrap #status-options ul li {
         padding: 15px 0 35px 22px; 
    } */
}

#frame #sidepanel #profile .wrap #status-options ul li:hover {
    /* background: #496886; */
    font-weight: 500;
}

#frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
    position: absolute;
    left:22px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin: 5px 0 0 0;
    font-weight: 0;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
        width: 12px;
        height: 12px;
    }
}

#frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
    content: '';
    position: absolute;
    width: 17px;
    height: 17px;
    margin: -3px 0 0 -3px;
    background: transparent;
    border-radius: 50%;
    z-index: 0;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
        height: 18px;
        width: 18px;
    }
}

#frame #sidepanel #profile .wrap #status-options ul li p {
    padding-left: 0px;
    margin-top: 3px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 0.9rem;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #profile .wrap #status-options ul li p {
        display: none;
    }
}

#frame #sidepanel #profile .wrap #status-options ul li#status-online span.status-circle {
    background: #2ecc71;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-online.active span.status-circle:before {
    border: 1px solid #2ecc71;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-away span.status-circle {
    background: #f1c40f;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-away.active span.status-circle:before {
    border: 1px solid #f1c40f;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-busy span.status-circle {
    background: #e74c3c;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-busy.active span.status-circle:before {
    border: 1px solid #e74c3c;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-offline span.status-circle {
    background: #95a5a6;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-offline.active span.status-circle:before {
    border: 1px solid #95a5a6;
}

#frame #sidepanel #profile .wrap #expanded {
    /* padding: 70px 0 0 5px; */
    background:#fcfcfc;
    display: none;
    line-height: 14px !important;
    width: 45%;
    height: 22%;
    top: 75px;
    position: absolute;
    right: 35px;
    z-index: 2;
    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.5);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.5);
}

#frame #sidepanel #profile .wrap #expanded label {
    float: left;
    clear: both;
    margin: 0 8px 5px 0;
    padding: 5px 0;
}

#frame #sidepanel #profile .wrap #expanded input {
    border: none;
    margin-bottom: 6px;
    background: #32465a;
    border-radius: 3px;
    color: #f5f5f5;
    padding: 7px;
    width: calc(100% - 43px);
}

#frame #sidepanel #profile .wrap #expanded input:focus {
    outline: none;
    background: #435f7a;
}

#frame #sidepanel #search {
    border-top: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    font-weight: 400;
    /* margin-bottom: 5px; */
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #search {
        display: none;
    }
}

#frame #sidepanel #search label {
    position: absolute;
    margin: 10px 0 0 20px;
}

#frame #sidepanel #search input {
    font-family: "proxima-nova", "Source Sans Pro", sans-serif;
    padding: 10px 0 10px 10px;
    margin-right: -46px;
    width: 100%;
    border: none;
    color: #242C4D;
    background: #FFFFFF;
}

#frame #sidepanel #search input:focus {
    outline: none;
    background: #ffffff;
}

#frame #sidepanel #search input::-webkit-input-placeholder {
    color: #575962;
}

#frame #sidepanel #search input::-moz-placeholder {
    color: #575962;
}

#frame #sidepanel #search input:-ms-input-placeholder {
    color: #575962;
}

#frame #sidepanel #search input:-moz-placeholder {
    color: #575962;
}

#frame #sidepanel #contacts {
    height: calc(100% - 177px);
    overflow-y: scroll;
    overflow-x: hidden;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #contacts {
        height: calc(100% - 149px);
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
    }
    #frame #sidepanel #contacts::-webkit-scrollbar {
        display: none;
    }
}

#frame #sidepanel #contacts.expanded {
    height: calc(100% - 334px);
}

#frame #sidepanel #contacts::-webkit-scrollbar {
    width: 4px;
    border-radius: 5px;
    background: #2c3e50;
}

#frame #sidepanel #contacts::-webkit-scrollbar-thumb {
    background-color: #243140;
    border-radius: 5px;
}

#frame #sidepanel #contacts ul {
    list-style-type: none;
    padding-inline-start: unset;
}

#frame #sidepanel #contacts ul li.contact {
    position: relative;
    padding: 10px 0 15px 8px;
    font-size: 0.9em;
    cursor: pointer;
    /* background: #243140;
    border-right: 5px solid #243140; */
    color: rgb(0, 0, 0);
}

#frame #sidepanel #contacts ul li.contact.new {
    background: #32465a;
    border-right: 5px solid #435f7a;
    color: #FFFFFF;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #contacts ul li.contact {
        padding: 6px 0 15px 8px;
    }
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #contacts ul li.contact.new {
        padding: 6px 0 15px 8px;
    }
}

#frame #sidepanel #contacts ul li.contact:hover {
    background: #32465a;
    border-right: 5px solid #18212b;
    color: #ffffff;
}

#frame #sidepanel #contacts ul li.contact.active {
    position: relative;
    padding: 10px 0 15px 8px;
    font-size: 0.9em;
    cursor: pointer;
    background: #c5e2ff;
    border-right: 5px solid #acd5ff;
    color: #000000;
}

#frame #sidepanel #contacts ul li.contact.active span.contact-status {
    border: 2px solid #32465a !important;
}

#frame #sidepanel #contacts ul li.contact .wrap {
    width: 88%;
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #contacts ul li.contact .wrap {
        width: 100%;
    }
}

#frame #sidepanel #contacts ul li.contact .wrap span {
    position: absolute;
    left: 0;
    margin: 8px 0 0 -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #2c3e50;
    background: #95a5a6;
}

#frame #sidepanel #contacts ul li.contact .wrap span.online {
    background: #2ecc71;
}

#frame #sidepanel #contacts ul li.contact .wrap span.away {
    background: #f1c40f;
}

#frame #sidepanel #contacts ul li.contact .wrap span.busy {
    background: #e74c3c;
}

#frame #sidepanel #contacts ul li.contact .wrap img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    float: left;
    margin-right: 0px;
    /* margin-top: 10px; */
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #contacts ul li.contact .wrap img {
        margin-right: 0px;
        width: 40px;
        height:40px;
        object-fit: cover;
        float:none;
    }
}

#frame #sidepanel #contacts ul li.contact .wrap .meta {
    padding: 5px 0 0 0;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #contacts ul li.contact .wrap .meta {
        display: none;
    }
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .name {
    font-weight: 600;
    margin-left: 50px;
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .preview {
    margin: 5px 0 0 0;
    padding: 0 0 0 10px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-transition: 1s all ease;
    -o-transition: 1s all ease;
    -webkit-transition: 1s all ease;
    transition: 1s all ease;
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .preview span {
    position: initial;
    border-radius: initial;
    background: none;
    border: none;
    padding: 0 2px 0 0;
    margin: 0 0 0 5px;
    opacity: .5;
}

#frame #sidepanel #bottom-bar {
    position: absolute;
    width: 100%;
    bottom: 0;
}

#frame #sidepanel #bottom-bar button {
    float: left;
    border: none;
    width: 50%;
    padding: 10px 0;
    background: rgb(244, 81, 108);
    color: #f5f5f5;
    cursor: pointer;
    font-size: 0.85em;
    font-family: "proxima-nova", "Source Sans Pro", sans-serif;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #bottom-bar button {
        float: none;
        width: 100%;
        padding: 15px 0;
    }
}

#frame #sidepanel #bottom-bar button:focus {
    outline: none;
}

#frame #sidepanel #bottom-bar button:nth-child(1) {
    border-right: 1px solid #2c3e50;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #bottom-bar button:nth-child(1) {
        border-right: none;
        border-bottom: 1px solid #2c3e50;
    }
}

#frame #sidepanel #bottom-bar button:hover {
    background: #435f7a;
}

#frame #sidepanel #bottom-bar button i {
    margin-right: 3px;
    font-size: 1em;
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #bottom-bar button i {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 735px) {
    #frame #sidepanel #bottom-bar button span {
        display: none;
    }
}

#frame .content {
    float: right;
    width: 60%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}


@media (max-width: 795px) and (min-width: 360px) {

}



/* @media screen and (max-width: 735px) {
    #frame .content {
        width: calc(100% - 58px);
        min-width: 300px !important;
    }
}

@media screen and (min-width: 900px) {
    #frame .content {
        width: calc(100% - 340px);
    }
} */

#frame .content .contact-profile {
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #f4516c;
    color: #fff;
    position: relative;
    top: -8px;
}

#frame .content .contact-profile img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
    margin: 11px 12px 0 9px;
}

#frame .content .contact-profile p {
    float: left;
}

#frame .content .contact-profile .social-media {
    float: right;
}

#frame .content .contact-profile .social-media i {
    margin-left: 14px;
    cursor: pointer;
}

#frame .content .contact-profile .social-media i:nth-last-child(1) {
    margin-right: 20px;
}

#frame .content .contact-profile .social-media i:hover {
    color: #435f7a;
}

#frame .content .messages {
    height: auto;
    width: 100%;
    min-height: calc(100% - 160px);
    max-height: calc(100% - 160px);
    overflow-y: scroll;
    overflow-x: hidden;
    border-right: 1px solid #d4d4d4;
    }

@media screen and (max-width: 735px) {
    #frame .content .messages {
        max-height: calc(100% - 105px);
        width:100%;
        border: none;
    }
}

#frame .content .messages::-webkit-scrollbar {
    width: 4px;
    border-radius:5px;
    background: transparent;
}

#frame .content .messages::-webkit-scrollbar-thumb {
    background-color: #0000004d;
    border-radius: 5px;
}

#frame .content .messages ul li {
    display: inline-block;
    clear: both;
    float: left;
    margin: 15px 15px 10px 0px;
    width: calc(100% - 25px);
    font-size: 0.9em;
}

#frame .content .messages ul li:nth-last-child(1) {
    margin-bottom: 20px;
}

#frame .content .messages ul li.sent img {
    margin: 6px 8px 0 -20px;
}

#frame .content .messages ul li.sent p {
    background: #e62f4a;
    color: #f5f5f5;
}

#frame .content .messages ul li.replies img {
    float: right;
    margin: 6px 0 0 8px;
}

#frame .content .messages ul li.replies p {
    background: #f5f5f5;
    float: right;
}

#frame .content .messages ul li img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
    float: left;
}

#frame .content .messages ul li p {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 205px;
    line-height: 130%;
}

@media screen and (min-width: 735px) {
    #frame .content .messages ul li p {
        max-width: 300px;
    }
}

#frame .content .message-input {
    position: absolute;
    bottom: 0;
    width: 100%;
    border: 1px solid #e6e0e0;
    z-index: 99;
}

#frame .content .message-input .wrap {
    position: relative;
}

#frame .content .message-input .wrap input {
    font-family: "proxima-nova", "Source Sans Pro", sans-serif;
    float: left;
    border: none;
    width: calc(100% - 50px);
    padding: 18px 32px 10px 8px;
    font-size: 1.0em;
    color: #232c4d;
}

@media screen and (max-width: 735px) {
    #frame .content .message-input .wrap input {
        padding: 18px 32px 16px 8px;
    }
}

#frame .content .message-input .wrap input:focus {
    outline: none;
}

#frame .content .message-input .wrap .attachment {
    position: absolute;
    right: 60px;
    z-index: 4;
    margin-top: 10px;
    font-size: 1.1em;
    color: #435f7a;
    opacity: .5;
    cursor: pointer;
}

@media screen and (max-width: 735px) {
    #frame .content .message-input .wrap .attachment {
        margin-top: 17px;
        right: 65px;
    }
}

#frame .content .message-input .wrap .attachment:hover {
    opacity: 1;
}

#frame .content .message-input .wrap button {
    float: right;
    border: none;
    width: 50px;
    padding: 14px 0;
    cursor: pointer;
    background: #32465a;
    color: #f5f5f5;
}

@media screen and (max-width: 735px) {
    #frame .content .message-input .wrap button {
        padding: 16px 0;
    }
}

#frame .content .message-input .wrap button:hover {
    background: #435f7a;
}

#frame .content .message-input .wrap button:focus {
    outline: none;
}

 /* Messagerie / Options messages / Nouveau - En attente - groupe */
 
  .topnav {
    display:block;
    background: #fcfcfc;
    padding: 20px 5px 20px 0;
    /* width: 50%;
    height: 30px; */
    text-decoration:none;
    font-family: "Roboto", sans-serif;
    font-size:12px;
    color:#232c4d;
    text-align: center;
   }

   .topnav:hover {
    background-color:#47587b;
    text-decoration:none;   
  }
  

  .topnav:active {
    background-color: #F4516C;
    text-decoration:none;
  } 

 /* Messagerie input - groupe */
 .nouveau-message-simple {
    display: none;
}

.form-groupe {
    display: none;
}

.form-style-1 {
    margin: 5px;
    max-width: 400px;
    padding: 4px;
    font: 13px "proxima-nova", "Source Sans Pro", sans-serif;
}

.form-style-1 li {
    padding: 0;
    display: block;
    list-style: none;
    margin: 10px 0 0 0;
}
    
.form-style-1 label {
    margin:0 0 3px 0;
    padding:0px;
    display:block;
    font-weight: bold;
}
    
.form-style-1 input[type=text], select {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #f4516c;
    border-radius: 10px;
    padding:5px 1px 7px 3px;
    margin:0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;  
}
    
.form-style-1 .field-divided{
    width: 55%;
}
    
.form-style-1 .field-long{
    width: 100%;
}
    
.form-style-1 .field-select{
    width: 100%;
}
    

.form-style-1 .field-textarea{
    height: 100px;
}
    
.form-style-1 input[type=submit], .form-style-1 input[type=button] {
    background: #f4516c;
    border:1px solid #f4516c;
    border-radius: 10px;
    padding: 5px 15px 7px 15px;
    border: none;
    color: #fff;
    outline: none;
    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.155);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.155);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.155);
}

.form-style-1 input[type=submit]:hover, .form-style-1 input[type=button]:hover{
    background:#435f7a;

    -webkit-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.155);
    -moz-box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.155);
    box-shadow: 1px 1px 8px 0px rgba(0,0,0,0.155);
}


.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none;
}


.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    /* border-bottom: 1px solid #dee2e6; */
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    z-index: 9999;
}


.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    z-index: 999 !important;
    right: 0;
    bottom: 0;
    left: 0;
    /* z-index: 1040; */
    background-color: #232C4D; 
}

.modal-backdrop.fade {
    opacity: 0.2;
}

.modal-backdrop.show {
    opacity: 0.8;
}



 /* Fields in modal window */

  .form-style-2{
	font: 13px "proxima-nova", "Source Sans Pro", sans-serif;
	max-width: 1000px;
	margin: 10px auto;
	padding: 16px;
	background: none;
}

.form-style-2 input[type="text"],

.form-style-2 select 
{
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	background: #fff;
	margin-bottom: 4%;
	border: 1px solid #ccc;
	padding: 3%;
	color: #555;
	font: 13px "proxima-nova", "Source Sans Pro", sans-serif;
}

div#listeparticipant li {
    color: #000000;
    list-style: none;
    font: 13px "proxima-nova", "Source Sans Pro", sans-serif;
    margin: auto;
}

.nouveau-message-simple-dropdown {
    display: inline-block;
    width: 70%;
    margin: -3px;
}

p.user-name {
    color: #000;
}


.input-group-prepend .button.btn.btn-outline-secondary {
    border: 1px solid #000000;
    color: #000;
}



/*Message responsive*/


@media (max-width: 767px) and (min-width: 360px) {

    #frame .content .messages ul li {
        width: calc(100% - 13%);
       
    }

    .new-message .new-message-btn {
        bottom: 0px;
    }

}


@media (max-width: 960px) and (min-width: 768px) {

  
}


@media (max-width: 1200px) and (min-width: 961px) {

}



