/**************************************************************************/
/*** 				Mise en forme du tableau des sorties 				***/
/**************************************************************************/

body{
	background: #f7f7f0;
	margin: 0;
}

/*** Simule le DIV crée dans le logiciel de design web ***/
#div_container_page_papa
{
	font-family:arial;		
}

#wrapper-sorties{
	display: flex;
  	flex-flow: column;
  	z-index=10;
  	padding: 56px 1px 0 2px;
}

/************************* Boite de titre (Nom + photo + Déconnexion) *************************/
#header-sorties {
	/*background: #ed6969;*/
	background-image: linear-gradient(#2ea3e6, #066398);
	vertical-align: middle;
	padding: 8px 2px 12px 8px;
	font-weight:bold;
	font-size: 18px;
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;	
    height:40px;
    box-shadow: 0px 1px 10px black;
    z-index:2;
}
#header-img-wrapper{
	width: 40px;
	height: 40px;
	border-radius: 20px;
	overflow: hidden;
}
#header-name{
	font-weight: bold;
	font-size: 18px;
	color: white;
	font-style: italic;
	margin-left: 5px;
}
#header-btn{
	/*display: inline-block;*/
	background: white;
	color: black;
	margin-right: 8px;
	font-size: 18px;
	font-weight: bold;
    padding: 5px 30px 5px 30px;
    margin-left: 50px;
}
#header-btn:hover{
	cursor:pointer;	
}

/************************* Boite de commentaires *************************/
#wrapper-comments
{ 	
	width: 100%;
	height: 125px;
	font-size: 14px;
	z-index: 1;
	display: flex;
	flex-flow: row;
	/* Commenter la ligne suivante pour afficher la boîte de commentaires :*/	
	display: none;
}
#inside-comments{
	border: 2px solid #3c94d5;
	padding:0;
	display: flex;
  	flex-flow: column;
  	flex: 1;
  	width: 100%;
  	height: 100%;
}
.comment-border-space{
	width: 0px;
	height: 100%;
}
#comments-msg-box{
	flex: 1;
	overflow-y: scroll;
}
.comments-msg{
	margin:1px;
}
.comment-msg-nom{
	display: inline-block;
	background: #aaddae;
	border-radius: 3px;
	padding: 2px;
}

.comment-msg-msg{
	display: inline-block;
}
.comment-msg-date{
	display: inline-block;
	background: #d5e0fb;
	border-radius: 3px;
	padding: 2px;
}
#comments-send-box
{
	background: #3c94d5;
	height:30px;
	padding:2px;
	display: flex;
	flex-direction: row;
}
#btn_send_comment{
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	height: 30px;
	vertical-align: middle;	
	padding:0;
	margin:0;	
}
#txt_comment{
	border-style: inset;
	border-width: 2px;
	font-size: 14px;
	font-family: monospace;
	width: 15em;
	padding: 1px 0px 1px 0px;
	background-color: white;
	flex:1;
	margin:3px;
	padding-left: 5px;
}


/************************* Liste des sorties *************************/
#body-sorties{
	/*overflow-x: scroll;*/
  	white-space: nowrap;
  	flex-grow : 1;	
  	margin-top:10px;
  	margin-bottom:10px;
}
.form-sortie{
	display: inline-block;
	vertical-align:top;
	font-size: 12px;
	margin: 0 4px 0 0;
	background: #ddd;
	border-radius: 3px;
}
.table-sortie-wrapper {   	
  	white-space: nowrap;
  	text-align: center;
}

.table-sortie {
  	border-spacing:2px;
	border:0;  
}

.table-sortie th {
  	font-weight: normal;
  	border-radius: 3px;
  	padding: 5px 15px 5px 15px;
  	font-size: 12px;
	font-family: Tahoma;
}
.table-sortie th.header_matin {
	background: #f3ecab;
}
.table-sortie th.header_soir {
	background: #fcd5b4;
}

.table-sortie td {  
  	border-radius: 3px;
  	padding: 4px; 
  	color: #404040;
  	font-family: Tahoma;
  	font-size: 12px;
}
.table-sortie td.user_matin{
	background: #90ee90;
}
.table-sortie td.user_soir{
	background: #fcd5b4;
}

.Btn_Add{
  Background: #83bcd6;
  width: 100%;  
  border-radius: 6px;
  padding: 4px;  
  font-weight: bold;
  font-size: 12px;
  font-family: Tahoma;
}
.Btn_Add:hover{
  cursor:pointer;
}

.Btn_Remove{
  Background: #ed6969;
  width: 100%;
  border-radius: 6px;
  padding: 4px;  
  font-weight: bold;
  font-size: 12px;
  font-family: Tahoma;
}
.Btn_Remove:hover{
  cursor:pointer;
}
.Btn_Finished{
  width: 100%;  
  border-radius: 6px;
  padding: 4px;  
  font-weight: bold;
  font-size: 12px;
  font-family: Tahoma;
}
.Btn_Finished:hover{
  cursor:not-allowed;
}


/**************** Pop Up ******************/	
#popup_container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    z-index: 2147483647;
}

#popup_table{
  border-radius: 10px;  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  width: 50%;
}
table#popup_table thead, tfoot {
    color: #fff;
}
table#popup_table td{
  margin: 50px;
  padding: 20px;
}
table#popup_table th{
    border-radius: 10px 10px 0 0;
    background-color: #333;
}


#close-button {
    margin: 5px 5px 5px 5px;
    float: right;
    width: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: #FF0000;
}
#close-button:hover {
    background-color: darkgray;
}
#popup_icon{
    background-image: url('info.png');
	width: 50px;
	height: 50px;
	background-size: 100% 100%;
}
#popup_titre{
    font-weight: bold;
}

/**************** Alert Pop Up ******************/	
#alert_message_container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    z-index: 2147483647;
}

#alert_message_table{
  border-radius: 10px;  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  width: 50%;
}
table#alert_message_table thead, tfoot {
    color: #fff;
}
table#alert_message_table td{
  /*margin: 50px;*/
  padding: 20px;
}
table#alert_message_table th{
    border-radius: 10px 10px 0 0;
    background-color: #333;
}
#alert_text {
    text-align: center;
    display: block;
    width: 100%;
}
#alert_buttons_wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.alert_button{
    flex-grow: 1;
    display: block;
    text-align: center;
    margin: 0 10% 0 10%;
    padding: 5px;
}
.alert_button:hover{
    cursor: pointer;
}

#alert-close-button {
    margin: 5px 5px 5px 5px;
    float: right;
    width: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: #FF0000;
    visibility: hidden;
}
#alert-close-button:hover {
    background-color: darkgray;
}
