#overbox3 .overbox3-pdf-new,
#overbox3 .overbox3-pdf-edit,
#overbox3 .overbox3-pdf-list {
	padding: 20px 20px 0 20px;
}
#overbox3 .overbox3-pdf-new::after,
#overbox3 .overbox3-pdf-edit::after,
#overbox3 .overbox3-pdf-list::after {
	clear: both;
	content: " ";
	height: 20px;
	line-height: 20px;
}

/* Modes */

body.pdf_mode_off .pdf_not_off,
body.pdf_mode_list .pdf_not_list,
body.pdf_mode_new .pdf_not_new,
body.pdf_mode_edit .pdf_not_edit,
body.pdf_mode_view .pdf_not_view,
body.pdf_no_model .pdf_if_models,
.pdf_hide_by_mode {
	display: none;
}

body.pdf_mode_new .innerbody .clearboth,
body.pdf_mode_edit .innerbody .clearboth {
	display: none;
}
/*
body.pdf_mode_new #leftmenu,
body.pdf_mode_edit #leftmenu { display: none; }
body.pdf_mode_list #leftmenu { width: 263px; border-color: transparent; }
*/

/* Call */

.pdf_call {
    z-index: 302;
}
.pdf_call iframe,
.pdf_call object {
	vertical-align: top;
	display: block;
	margin: 0 0 0 auto;
}
.pdf_call_loading {
	z-index: 303;
    position: absolute;
    top: 0;
    left: 0;
    width: 980px;
}
.pdf_call_loading p {
    margin: auto;
    width: 300px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    vertical-align: middle;
}
.pdf_call_loading img {
    vertical-align: middle;
    padding-right: 5px;
}

/* Zoom */

#pdf_zoom {
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    z-index: 304;
}
#pdf_zoom,
.pdf_models .pdf_zoom {
    cursor:                                           url(/images/pub/pdf_models/zoom.cur), url(/images/pub/pdf_models/zoom.png), pointer;
    cursor: url(/images/pub/pdf_models/zoom.png) 9 9, url(/images/pub/pdf_models/zoom.cur), url(/images/pub/pdf_models/zoom.png), pointer;
}

/* Menu des criteres V1 */

/*
.pdf_leftmenu_hide {
	display: none;
}
#leftmenu li.pdf_search,
#leftmenu li.pdf_criterion {
    border-top-style: dashed;
    border-top-color: rgba(204, 51, 51, 0.5); ** #c33 **
}
#leftmenu li.pdf_search a,
#leftmenu li.pdf_search a:hover,
#leftmenu li.pdf_criterion a,
#leftmenu li.pdf_criterion a:hover {
	color: #27ba11;
	font-size: 11pt;
	cursor: text;
}
#leftmenu li.pdf_search p {
	padding: 4px 0 0 8px;
}
#leftmenu li.pdf_search #pdf_search {
    width: 180px;
}
#leftmenu .pdf_choice {
    border: 0 none;
    padding: 4px 0 0 8px;
    vertical-align: middle;
}
#leftmenu .pdf_choice input {
    vertical-align: middle;
}
#leftmenu .pdf_choice em {
    color: #999;
}
*/

/* Menu des criteres V2 */

#pdf_criterions_menu .pdf_criterions_hide {
	display: none;
}
#pdf_criterions_menu h5 {
	font-size: 16px;
	font-weight: bold;
	color: #A1A1A1;
	padding: 0 5px 10px 5px;
}
#pdf_criterions_menu .pdf_search,
#pdf_criterions_menu .pdf_criterion {
	margin-top: 10px;
	border-top: 1px dashed rgba(255, 103, 28, 0.5);
	padding: 10px 5px 0 5px;
}
#pdf_criterions_menu h6 {
	font-weight: bold;
	color: #27ba11;
	font-size: 11pt;
	padding-bottom: 0;
}
#pdf_criterions_menu .pdf_search p {
	padding: 0 10px;
}
#pdf_criterions_menu #pdf_search {
	width: 100%;
	max-width: 180px;
}
#pdf_criterions_menu .pdf_choice {
    border: 0 none;
    padding-left: 10px;
    vertical-align: middle;
}
#pdf_criterions_menu .pdf_choice input {
    vertical-align: middle;
}
#pdf_criterions_menu .pdf_choice em {
    color: #999;
}
.pdf_context {
	overflow: auto;
}
@media screen and (max-width: 799px) {
	#pdf_criterions_menu .pdf_search,
	#pdf_criterions_menu .pdf_criterion {
		margin-top: 5px;
		padding: 5px 0 0 0;
	}
	#pdf_criterions_menu .pdf_choice {
		padding-left: 5px;
	}
}
@media screen and (max-width: 250px) {
	#pdf_criterions_menu h6 {
		font-size: 10pt;
	}
}

/* Previsualisation d'une creation */

/* Desactive car bogues sur la page de cmd :
.pdf_models .pdf_mode_view td {
	vertical-align: middle;
	padding-right: 10px;
}
.pdf_models .pdf_mode_view h5 {
	color: #c33;
	font-size: 18px;
	margin-bottom: 10px;
}*/
.pdf_call {
	margin-top: 10px;
}
.pdf_models .pdf_model {
	font-family: Arial, Sans-Serif, FreeSans, Helvetica;
	font-size: 9pt;
	line-height: 1.2;
}

/* Liste des modeles */

.pdf_models .pdf_model.pdf_hide_by_page,
.pdf_models .pdf_model.pdf_hide_by_filter,
.pdf_models .pdf_model.pdf_hide_by_category {
    display: none;
}
.pdf_models .pdf_model {
	width: 202px;
    float: left;
}
.pdf_models .pdf_preview {
    display: block;
    border: 1px solid #bbb;
}
.pdf_models .pdf_shadow {
    padding-left: 1px;
}
.pdf_models .pdf_model p {
	color: #888;
	font-style: normal;
}
.pdf_models .pdf_model strong {
	display: block;
	color: black;
    font-weight: bold;
	font-style: normal;
}

/* Pagination des modeles */

#pdf_pages_top,
#pdf_pages_bottom {
    /*position: relative; top: 0; left: 0;*/
    padding-bottom: 10px;
	overflow: auto;
}
#pdf_pages_top .pdf_pages_nav {
	float: right;
    /*position: absolute; top: 0; right: 0;*/
    width: 202px;
    text-align: center;
}
#pdf_pages_bottom {
    clear: left;
    margin-left: auto;
    width: 202px;
    text-align: center;
}
.pdf_page_prev,
.pdf_page_next {
    background-color: #c33;
    color: white;
    border-radius: 3px;
    box-shadow: 1px 1px 1px #999;
    padding: 1px 5px;
}
@media screen and (max-width: 799px) {
	#pdf_pages_top .pdf_pages_nav {
		display: block;
		float: none;
		margin: 0 0 0 auto;
	}
}
@media screen and (max-width: 580px) {
	#pdf_pages_top,
	#pdf_pages_bottom {
		overflow: visible;
	}
	#pdf_pages_top .pdf_pages_nav,
	#pdf_pages_bottom {
		width: auto;
		margin-right: 0;
	}
}

/* Boites V4 */

body.pdf_mode_list .pdf-box-space {
	padding: 20px 0 20px 30px;
}
.pdf_right {
	float: right;
	width: 696px; /* 3*(202+30) */
	margin-left: 10px;
}
body.pdf_mode_new .pdf_right,
body.pdf_mode_edit .pdf_right {
	float: none;
	width: auto;
	margin: 0;
	padding: 0 10px;
}
.pdf_models .pdf_model {
    margin: 0 30px 30px 0;
}
#pdf_pages_top .pdf_pages_nav,
#pdf_pages_bottom {
	margin-right: 30px;
}
#pdf_criterions_menu {
	overflow: auto;
}
@media screen and (max-width: 1050px) {
	.pdf_right {
		width: 666px; /* 3*(202+20) */
	}
	body.pdf_mode_list .pdf-box-space {
		padding-left: 20px;
	}
	.pdf_models .pdf_model,
	#pdf_pages_top .pdf_pages_nav,
	#pdf_pages_bottom {
		margin-right: 20px;
	}
}
@media screen and (max-width: 920px) {
	.pdf_right {
		width: 464px; /* 2*(202+30) */
		margin-left: 30px;
	}
	body.pdf_mode_list .pdf-box-space {
		padding-left: 30px;
	}
	.pdf_models .pdf_model,
	#pdf_pages_top .pdf_pages_nav,
	#pdf_pages_bottom {
		margin-right: 30px;
	}
}
@media screen and (max-width: 799px) {
	.pdf_right {
		width: 424px; /* 2*(202+10) */
		margin-left: 10px;
	}
	body.pdf_mode_list .pdf-box-space {
		padding-left: 10px;
	}
	.pdf_models .pdf_model,
	#pdf_pages_top .pdf_pages_nav,
	#pdf_pages_bottom {
		margin-right: 10px;
	}
}
@media screen and (max-width: 650px) {
	.pdf_right {
		width: 202px;
		margin-left: 30px;
	}
	body.pdf_mode_list .pdf-box-space {
		padding: 30px;
	}
	.pdf_models .pdf_model,
	#pdf_pages_top .pdf_pages_nav,
	#pdf_pages_bottom {
		margin-right: 0;
	}
}
@media screen and (max-width: 580px) {
	.pdf_right {
		width: 202px;
		margin-left: 10px;
	}
	body.pdf_mode_list .pdf-box-space {
		padding: 10px;
	}
}
@media screen and (max-width: 450px) {
	.pdf_right {
		float: none;
		width: auto;
	}
	.pdf_models .pdf_model {
		float: none;
		width: 202px;
		max-width: 100%;
		margin: auto;
	}
	.pdf_models .pdf_model img {
		max-width: 100%;
	}
	#pdf_pages_top {
		max-width: 202px;
		margin: auto;
	}
	#pdf_criterions_menu .pdf_criterion:nth-last-child(1) {
		padding-bottom: 5px;
		border-bottom: 1px dashed rgba(255, 103, 28, 0.5);
		margin-bottom: 20px;
	}
	.pdf_context {
		overflow: visible;
	}
}
/*eof*/
