@charset "UTF-8";
/* CSS Document */
#messagerie {width: 100%; clear: both; float: left; background:#f6f6f6;}
#messagerie .content { width:1200px; display: table; margin: auto;}

@media (max-width: 768px) {
   #messagerie .content { width:calc(100% - 20px); display: table; margin: auto; }  
}


/* BANNER */
#messagerie #slider {width: 100%; clear: both; float: left; height: 270px; background:#c9bfa5;}
#messagerie #slider h1 { float: left; margin-left: 230px; margin-top: 135px; font-family: 'Raleway', sans-serif; text-align: left; text-transform: uppercase; letter-spacing: 4px;  font-size: 60px; font-weight: 200; color: #fff; width: 100%; line-height: 55px; width: 500px;}
#messagerie #slider .vignette { float: right; margin-top: 100px; font-family: 'Raleway', sans-serif; text-align: center; text-transform: uppercase; font-size:10px; font-weight: 600; color: #fff; line-height: 14px; background: url("/img/account-vignette.png"); width: 74px; height: 53px;}

@media (max-width: 768px) {
    #messagerie #slider h1 { margin-left: 0px; margin-top: 40px; width: calc(100% - 75px); text-align: left; font-size: 40px; line-height: 40px; letter-spacing: 2px; }  
    #messagerie #slider .vignette { margin-top: 0px; }
    #messagerie #slider {height: 160px; }

}


/* BODY */
#messagerie #corps { width: 100%; background: #f6f6f6; clear:both; float: left; font-family: 'Raleway', sans-serif; font-size: 14px; color: #333; }
#messagerie #corps .profile { margin-top: -155px;  width:210px; height: 210px; border: 3px solid #fff; border-radius:210px;}
 
#messagerie .star { float: left; width: 30px; margin-left: 10px; margin-right: 20px; margin-top: -2px;}
#messagerie h2 { float: left; font-size: 24px; text-transform: uppercase; font-weight: 200; color: #bd7d16; letter-spacing: 1px; line-height: 30px; }
 
@media (max-width: 768px) {
    #messagerie #corps .profile { display: none; }
    #messagerie .star { margin-left: 0px; margin-right: 10px; margin-top: -2px; display: none; }
    #messagerie h2 { float: left; font-size: 24px; text-transform: uppercase; font-weight: 200; color: #bd7d16; letter-spacing: 1px; line-height: 30px; display: none;  }

}

#messagerie .left { float: left; width: 290px; }
#messagerie .left .item_user { float: left; width: 270px; height: 110px; background: #dfdacd; margin-bottom: 4px; cursor: pointer; }
#messagerie .left .date { float: right; font-size: 10px; font-style: italic; margin-top: 5px; margin-right: 5px; color: #999; }
#messagerie .left .div_photo { float: left; margin-left: 25px; margin-top: 6px; width: 70px; height: 70px; position: relative; }
#messagerie .left .photo { width: 70px; border-radius: 70px; position: absolute; }
#messagerie .left .unread { width: 20px; height: 20px; line-height: 18px; border-radius: 20px; position: absolute; left: 50px; top: 5px; color: #fff; background: #cf9821; text-align: center; }
#messagerie .left .div_infos { float: left; margin-left: 20px; width: 155px; }
#messagerie .left .name { font-size: 18px; color: #333; }
#messagerie .left .ville { font-size: 12px; color: #666; }
#messagerie .left .last_message { width: 90%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: none;  }
#messagerie .left .selected { background: #cf9821; color: #fff; }
#messagerie .left .selected .name { color: #fff; font-weight: 700; }
#messagerie .left .selected .ville { color: #fff;  }
#messagerie .left .selected .last_message { color: #fff;  }
#messagerie .left .selected .date { color: #fff; }

@media (max-width: 768px) {
    #messagerie .left { float: left; width: 100%;}
    #messagerie .left .item_user { float: left; width: 100%; }
    #messagerie .left .div_infos { width: calc(100% - 115px); }
    #messagerie .left .ville { display: none; }
    #messagerie .left .last_message { display: block; }
    
}

.right_messagerie { float: left; width:calc(100% - 290px); min-height:700px; }
.retour { text-align: right; text-transform: uppercase; font-size: 12px; font-weight: 600; width: 100%; line-height: 14px;}
.retour a { color: #666;}

.messages  { height:500px; overflow-y:scroll; overflow-x: auto;  }
.message_from { float:left; margin-left:20px; margin-bottom:10px; }
.message_from .photo { float:left; width:70px; height:70px; border-radius:50%; margin-right:20px; }
.message_from .message { float:left; width:500px; min-height:30px; padding:20px; background:#fff; border:1px solid #ddd; font-size:14px; color:#666; border-radius:12px; }
.message_from .sent { float:left; margin-left:542px; font-size:11px; color:#999; margin-top:5px; }

.message_to { float:right; margin-right:20px; margin-bottom:10px; }
.message_to .photo { float:right; width:70px; height:70px; border-radius:50%; margin-left:20px; }
.message_to .message { float:right; width:500px; min-height:30px; padding:20px; background:#fff; border:1px solid #ddd; font-size:14px; color:#666; border-radius:12px; }
.message_to .sent { float:right; margin-right:542px; font-size:11px; color:#999; margin-top:5px; }

.message_form { float:left; width:100%; border-top:1px solid #cf9821; height:200px; }
.message_form .photo { float:left; width:70px; height:70px; border-radius:50%; margin-right:20px; margin-left:20px; }
.message_form .inputtext { float:left; background:#fff; border:1px solid #ddd; color:#333; font-size:14px; padding:10px; width:calc(100% - 134px); line-height:18px; height:65px; border-radius:12px; }
.message_form .contact_button { float: right; margin-right: 2px; line-height: 28px; border: 1px solid #af9d6c; padding-left: 20px; padding-right: 20px; color: #bd7d16; text-transform: uppercase; cursor: pointer; }
.message_form .contact_button:hover { background:#af9d6c; color: #fff; }

@media (max-width: 768px) {
    .retour { text-align: left; }
    #messagerie .right_messagerie { float: left; width: 100%; min-height: 530px !important; display: none}
    .messages  { height:auto; overflow-y:none; overflow-x: none;  }
    .message_to { margin-right:0px !important;  width: 100%; }
    .message_from { margin-left:0px !important; width: 100%; }
    .message_from .photo { width:35px !important; height:35px !important; margin-right:10px !important; }
    .message_to .photo { width:35px !important; height:35px !important; margin-left:10px !important; }
    .message { width:calc(100% - 70px) !important; padding:10px !important; }
    .sent { margin-left:5px !important; margin-right: 5px !important; }
    .message_to .sent { float: left !important; margin-left: 10px !important; }
    .message_from .sent { float: right !important; margin-right: 10px !important; }
    
    .message_form .photo { display: none; }
    .message_form .inputtext { font-size:16px; padding:10px; width:calc(100% - 22px); line-height:18px; height:65px; border-radius:12px; }
    .message_form .contact_button { margin-right: 0px; padding:0px; width: 100%; color: #bd7d16; text-transform: uppercase; cursor: pointer; text-align: center}





    
}




#popup_delete { width:600px; display:none; position: fixed; top: 200px; left: 50%; margin-left: -275px; z-index: 10001; background: #f6f6f6; font-family: 'Raleway', sans-serif; font-size: 14px; color: #333;border: 3px solid #fff; padding: 25px; text-align: center;}
#popup_delete .warning { line-height: 28px; float: right; margin-right: 20px; color: #333; text-transform: uppercase; margin-right: 10px; }
#popup_delete .button2 { float: left; line-height: 28px; border: 1px solid #e74c3c; padding-left: 20px; padding-right: 20px; color: #e74c3c; text-transform: uppercase; cursor: pointer; }
#popup_delete .button2:hover { background:#e74c3c; color: #fff; }
#popup_delete .button { float: right; line-height: 28px; border: 1px solid #333; padding-left: 20px; padding-right: 20px; color: #333; text-transform: uppercase; cursor: pointer; }
#popup_delete .button:hover { background:#333; color: #fff; }

#bravo { background: url("/img/bienvenue.png"); width: 432px; height: 229px; left: 50%; top: 200px; margin-left: -216px; text-align: center; font-size: 20px; line-height: normal; font-weight: 200; color: #bd7d16; text-transform: uppercase; z-index: 10001; position: fixed; }
#bravo span { font-size: 45px; line-height: 30px; font-weight: 200; text-transform: none; }