/* Modal Content */
/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 25; /* Sit on top */
	
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */

	button.ajouter {
		position: absolute;
		font-size: 1.666rem;
		padding: 0px 0px 26px 0px!important;
		width: 20px;
		height: 0px;
		bottom: 1px;
		vertical-align: middle;
		margin: 0px;
		right: -24px;
	}
	.modal-dialog {
		padding-top: 100px; /* Location of the box */
	}
}
.modal-content {
	position: relative;
	background-color: var(--color-bg-default);
	margin: auto;
	padding: 0;
	border: 1px solid #888;
    max-width: 90%;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0
		rgba(0, 0, 0, 0.19);
    &.modal_small {
        width: 50%;
    }
    &.modal_large {
        width: 70%;
    }
    &.modal_export {
        width : 850px;
    }
}
.modal-title {
	text-align: left;
}
/* The Close Button */
.modal-close {
	color: #333333;
	float: right;
	font-size: 2.333rem;
	font-weight: bold;
}

.modal-close:hover, .close:focus {
	color: #ff3300;
	text-decoration: none;
	cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--main-color-opac15);
    color: #666666;
    border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    cursor: move;
}

.modal-body {
	padding: 15px;
}

.modal-footer {
	margin-top:20px;
	h3 {
		font-size :	var(--fs-10);
	}
}

.zoneHide{
	display: none;
}
#myDiv {
  display: none;
  text-align: center;
}

.display_table{
	display: table;
}
.display_cell{
	display: table-cell;
	vertical-align: middle;
}
div.display_cell {
	padding :10px;
}

.validation_modal {padding:15px 0px;}



.modal_attention {
	background-image: url(../IconeV2/Global/alerte.svg);
    background-repeat: no-repeat;
    background-position: 0% center;
    padding: 3% 5% 3% 17%;
    background-size: 80px;
	font-weight: bold;
	min-height: 80px;
}
.modal_erreur {
	background-image: url(../IconeV2/Global/Stop.svg);
	background-repeat: no-repeat;
	background-position: 0% center;
	padding: 3% 5% 3% 17%;
	background-size: 80px;
	min-height: 80px;
	font-weight: bold;
	min-height: 80px;
}
.modal_information {
	background-image: url(../IconeV2/Global/information.svg);
    background-repeat: no-repeat;
    background-position: 0% center;
    padding: 3% 5% 3% 17%;
    background-size: 80px;
	font-weight: bold;
	background-size: 80px;
	min-height: 80px;
}

.icone-modal {
	background-size: 80px;
	min-height: 80px;
	width: 80px;
	height: 80px;
	
	display: table-cell;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: 5% center;

	&.interrogation{
		background-image: url(../IconeV2/Global/interrogation.svg);
	}

	&.information{
		background-image: url(../IconeV2/Global/information.svg);
	}

	&.error{
		background-image: url(../IconeV2/Global/stop.svg);
	}

	&.attention {
		background-image: url(../IconeV2/Global/alerte.svg);
	}
}

/*** Message d'erreur dans popup ***/

#message_erreur_popup{// Deprecated
	display:block;
	width: 60%;
	margin:0px auto 5px;
	vertical-align:middle;
	text-align:center;
	img{
		margin:1%;
		vertical-align:middle;
		height:100%;
	}
}

/*** Modal question ***/
#modal_interrogation .question {
    background-image: url(../IconeV2/Global/interrogation.svg);
    background-repeat: no-repeat;
    background-position: left 10px;
    padding: 3% 1% 2% 16%;
    background-size: 10%;
    margin: 30px 10px 0px 10px;
	font-weight: bold;
	}
#modal_attention .attention {
	background-image: url(../IconeV2/Misc/alerte.png);
    background-repeat: no-repeat;
    background-position: left 10px;
    padding: 3% 1% 2% 16%;
    background-size: 9%;
    margin: 30px 10px 0px 10px;
	font-weight: bold;
}


.popup_informative {
	background-color: #2B7DE226;
}

.popup_error {
	background-color: #FD0D0D26;
}

.popup_alert {
	background-color: #FE6B3D26;
}

#modal-title {
    word-wrap: anywhere;
}