/* POPUP */
#popup{
	width: 100%;
	width: 100vw;
	width: 100dvw;
	height: 100%;
	height: 100vh;
	height: 100dvh;
	background: rgba(0, 0, 0, 0.4);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	z-index: 10000;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
#popup.hidden{
	display: none;
}
#popup_content,
#sur_popup_content,
#popup_content_iframe,
#popup_content_iframe_do{
    width: 50%;
    max-width: 860px;
	min-width: 800px;
    overflow: auto;
    padding: 50px;
    background: white;
    color: black;
    position: relative;
    /* top: 50vh; */
    /* left: 50%; */
    /* transform: translate(-50%, 0); */
    box-sizing: border-box;
	max-height: 90vh;
}
#sur_popup_content{
	z-index: 10;
	position: fixed;
    max-width: 600px;
	min-width: 400px;
	box-shadow: 1px 1px 32px #ccc;
}
@media (max-width: 1079px) {
    #popup_content,
    #sur_popup_content,
	#popup_content_iframe,
	#popup_content_iframe_do{
        min-width: 96vw;
		padding: 50px 16px;
    }
}

#popup #close,
#popup #surClose{
	position: absolute;
	right: 4px;
	top: 2px;
	display: block;
	cursor: pointer;
	font-size:150%;
	padding:.5em;
	color: #099ccc;
}
#popup #close:hover,
#popup #surClose:hover{
	color: #535353;
}
#popup #close i,
#popup #surClose i{
	display: block;
}
#popup_content.popup_error,
#sur_popup_content.popup_error{
	color:rgb(153, 15, 15);
}
#popup_content.popup_ok,
#sur_popup_content.popup_ok{
	color:rgb(6, 119, 12);
}
.popup-fa{
	transform: scale(1.5);
	padding-right: 1em;
}
#popup_text button i{
	transform: scale(1.5);
	padding-right: .7em;
}
#popup_text p{
	text-align: justify;
}
#popup_text blockquote{
	margin-left: 1.5em;
	margin-top: 1.5em;
}

#popup_content_iframe{
	padding:50px 10px 50px 10px;
	background: #f6f6f6;
	width: 30%;
    max-width: 600px;
	min-width: 200px;
	overflow: hidden;
	margin-left: 12px;
}
.popup_iframe,
.popup_iframe_do{
	min-height: 90vh;
}
iframe{
	width:100%;
	height:100%;
	border: none;
}
#popup_text_iframe,
#popup_text_iframe_do{
	height: 79vh;
}
#popup_bg{
	width:100vw;
	height:100vh;
	position: absolute;
    z-index: -1;
}

#popup_content.popup_large,
#popup_content_iframe_do{
	max-width: 95vw !important;
	width: 90vw !important;
	padding:16px;
}

#popup hr{
	margin-bottom: 2em;
	margin-top: 2em;
}

/* popup info */
#popup_content.popup_info li{
	list-style: none;
    text-align: left;
}
#popup_content.popup_info p,
#popup_content.popup_info ul
{
	margin-bottom: 1em;
}
#popup_content.popup_info p:not(:first-child){
	margin-top: 1em;
}
#popup_content.popup_info h2{
	color:unset;
	text-transform: unset;
	text-align: left;
	font-size: 120%;
}
#popup_content.popup_info h2:not(:first-child){
	margin-top: 2em;
}
#popup_content.popup_info a{
	font-weight: 500;
	color: #4274b4;
}
#popup_content.popup_info a:hover{
	color: #081f3d;
}

.popup_info_footer{
	text-align: center !important;
	opacity: .4;
	font-size: 70%;
	margin: 4em 0 0 0;
    padding: 2em 0 0 0;
    border-top: 1px dashed #ccc;
}

.popup_form .line{
	width: 100%;
}

.form.popup_form{
	padding: 2em;
}

.form.popup_form input,
.form.popup_form textarea,
.form.popup_form select {
    padding: 8px;
}

.permisDocs{
	display:flex;
	flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
	width:100%;
}
.permisDoc{
	font-size: 120%;
	font-weight: 500;
}
.permisDocLine{
	margin-bottom: .6em;
}
.permisDoc:before{
	content:"\f1c1";
	font-family: var(--font-awesome);
	color:rgb(153, 15, 15);
	font-weight: 600;
	padding-right: .6em;
	transform: scale(1.2);
}
a.permisDocDL {
	color: var(--main-blue);
}
a.permisDocDL:hover{
	color: var(--main-pink);
}
.permisDocDL i{
	padding-left: .6em !important;
	padding-right: .6em !important;
	transform: scale(1.2) !important;
}
.permisDocFilesize{
	font-weight: 200;
	color: grey;
	font-size: 80%;
}

.popup_input #rejet {
    background-color: #93344b;
}