/* *** popup *** */

.pop_flex {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.pop_displayNone {
	display: none;
}

.pop_patiente {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.59);
	text-align: center;
	min-height: 22px;
	z-index: 1;
}

.pop_patiente div {
	display: table-cell;
	vertical-align: middle;
    width: 16px;
    height: 16px;
	background-image: url(images/patiente.gif);
    background-repeat: no-repeat;
    background-position: center;
	cursor: pointer;
}

.pop_patiente img {
	vertical-align: initial;
}

.pop {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 100000;
}

.pop > div {
	max-width: 1200px;
	width: 93vw;
	height: 90vh;
	margin: auto;
	height: 100%;
	padding-bottom: 80px;
	line-height: 1.4em;
}

.pop > div > div:first-child {
	font-size: 1.2em;
	width: 100%;
	padding: 5px 0;
	height: 50px;
	align-items: center;
}

.pop .pop_titre {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;        
	flex: 1;
	/* line-height: 1; 30/04/2017 */
	line-height: 1.5; /* 04/08/2018 : fenêtre Quand Argentine*/
}

.pop > div > div > div:nth-child(2) {
	opacity: 0.7;
	transition: all 0.2s;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.pop > div > div > div:nth-child(2):hover {
	opacity: 1;
}

.pop .pop_corps {
	width: 100%;
	height: 100%;
	animation: visi 1s;
	background-color: #fff;
	background-image: url("images/loading.gif");
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes visi {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

.pop .pop_corps iframe {
	width: 100%;
	height: 100%;
}

/* pour permettre le scroll d'une iframe sur iPhone */
.pop .pop_cont_iframe {
	-webkit-overflow-scrolling: touch;	
	overflow-y: auto;
}
.pop .pop_corps iframe {
	margin-bottom: -9px; /* evite d'avoir 2 barres de defilement sur Chrome en petit */
}
/* */

.pop.mNoir {background-color: rgba(0, 0, 0, 0.75); color: #fff;}
.pop.mNoir > div > div > div:nth-child(2) {
	background-image: url("images/fermer-b.svg");
    background-size: 30px 30px;
}

.pop.mBlanc {background-color: rgba(255, 255, 255, 0.9);color: #000;font-weight: bold;}
.pop.mBlanc > div > div > div:nth-child(2) {
	background-image: url("images/fermer.svg");
    background-size: 30px 30px;
}

@media screen and (max-width: 640px) {
	.pop > div {
		width: 100vw;
		padding-bottom: 50px;
	}
	.pop .pop_titre {
		margin-left: 10px;
	}
	.pop > div > div > div:nth-child(2) {
		margin-right: 10px;
	}
	.pop .pop_corps {
		border: 1px solid #000 !important;
	}
}


/* *** box : Boite de dialogue *** */

.box {
	display: none;
	position: absolute;
	z-index: 10000;
	background-color: #f5f5f5;
	padding: 5px;
	border: 1px solid #b8b8b8;
	border-radius: 5px;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.75);
	line-height: 1.5;
	margin-top: 4px;
	margin-bottom:10px;
}

.boxColle {
	margin-top: 0;
}

.boxFullScreen {
	border: 1px solid #ccc;
	top: 10%;
}

.b-btn-close {
	position: absolute;
	color: #999;
	text-align: center;
	cursor: pointer;
	border: 1px solid #b8b8b8;
	background-color: rgb(248, 248, 248);
	font-size: 20px;
	right: -16px;
	top: -16px;
	width: 28px;
	height: 28px;
	border-radius: 20px;
	z-index: 1;
	opacity:0.7;
}

.b-btn-close:after {
	content: '\2716';
	position: relative;
	top: -3px;
}

.b-btn-close:hover {
	color:#6e64ff;
	opacity: 1;
}

.b-titre {
	text-align: center;
	font-size: 1.3em;
	margin-bottom: 15px;
}

.b-button {
	-webkit-appearance:none;
	border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
	cursor: pointer;
    border-radius: 3px;
}

.b-button:hover {
	border-color:#666;
	background-color:#01E79C;
}

.lvind {color:#000055;font-size:12pt;max-height:355px;overflow:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative;}
.heightAuto .lvind {height:auto;}
.lvhd {position:absolute;}
.lvind a {display:block;white-space:nowrap;margin:0 5px;/*padding:0 15px;*/padding:0 5px;}
.lvind a:link {color:#0000AA;text-decoration:none;}
.lvind a:hover {color:#000;text-decoration:none;background-color:#A4D842;}
.lvind a:active {color:#0000AA;text-decoration:none;}
.lvind a:visited {color:#0000AA;text-decoration:none;}
.lvin {width:15px;height:13px;cursor:pointer;}
.lvih {width:15px;height:13px;cursor:pointer;background-color:#30B4CF;}
.lvti {color:#0000AA;font-family:Arial;font-size:10pt;margin-top:10px;}

@media screen and (max-width: 750px) {
}

@media screen and (max-width: 640px) {
	.box {
		left: 0 !important;
		width: 100% !important;
		border: 1px solid #ccc;
		border-radius: 0;
	}
	.boxFullScreen {
		position: fixed;
		top: 0 !important;
		left: 0 !important;
		margin-top: 0 !important;
		border: 4px solid #888;
		border-width: 4px;
		top: 0;
		height: 100%;
		margin: 0;
		text-align: center;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
	}
	.b-btn-close {
		color: #bbb;
		font-size: 30px;
		right: 9px;
		top: -35px;
		width:45px;
		height: 35px;
		border-radius: 20px 20px 0 0;
		border-bottom: 0;
	}
	.boxFullScreen .b-btn-close {
		position: fixed;
		color: #f5f5f5;
		font-size: 30px;
		right: 0;
		top: 0;
		height: 40px;
		border-radius: 0;
		border: 0;
		width: 100%;
		background-color: #888;
		display: block;
		text-align: right;
		padding-right: 15px;
	}
	.b-button {
		padding:8px;
		border-radius:0;
	}
	.lvind {font-size:17pt;}
	.boxFullScreen .lvind {height:94%;max-height:none;}
}
