/* DIVERS */
form, h1, h2 { margin: 0 }
h1 a, h2 a { text-decoration: none }
img { border: 0 }
ul, ol, dl, hr, .indent { overflow: hidden }
textarea { margin-bottom: 2px; overflow-y: hidden; resize:none }
select, input[type="submit"] { cursor: pointer }
input, textarea { outline: none; box-shadow: none }
.css-select { position: relative; overflow: hidden }
.css-select select { position: absolute; top: 0; left: 0; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0; width:100% }
.css-readonly { position: relative }
.css-readonly div { position: absolute; width: 100%; height: 100% }
.center-marge { margin: 0 auto }
.noindex { display: none }
.ajaxload { margin: 16px auto 0; width: 16px; height: 11px; background-image: url('common/ajaxload.gif'); display: none }
.avert, div.erreur, .conf { text-align: center } 
.avert { margin-bottom: 1em }
div.erreur { margin-bottom: 1.4em }
.conf { margin:1.5em 0 }
.clear { clear: both; height: 1px; overflow: hidden }

#footer-toplink { display:none }
#corp-over { overflow: hidden; width: 100% } #photo #corp-over, #galeries #corp-over { overflow: visible } /*popup fb*/
#corp-clear { clear: both; height: 1px; overflow: hidden }

/* NO-COPY */
.nocopy { cursor: default; -webkit-user-select: none }
.nocopy img { -webkit-touch-callout: none }

/* ACCUEIL */
#ac_ph_fs + #ac_txt, #ac_ph_fs + #ac_profil { margin-top: 1.2em }
/* GALERIES */
#photo h1 { background:none; border:none; text-align:center }
#ac_gal li, #ac_gal_mt li { background-image: none }
#ac_gal a, #ac_gal_mt a { outline: none }
#ph_description { width:550px; margin: 0 auto; }
#ph_navigation, #ph_description, #InfoArrowkeys { text-align: center; margin-top: 12px }
.gal_tumb_div { float: left }
.gal_tumb_last_row, .gal_tumb_last_row ~ .gal_tumb_div { margin-bottom: 0!important }
.gal_tumb_div img { max-width: 100%; max-height: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box }
#ph_film { margin: 2em auto 0; border-spacing: 0; table-layout: fixed }
#ph_film td { width: 84px; padding:0; }
#ph_film .mg { width: 6px }
#ph_film .mg::after { content: "\00a0"; }
#ph_film .img-o { width: 100% }

#galeries img, #photo #mn_conteneur img { display: block } /* sup marge sous la photo */
#center-pic { margin: 0 auto }
#ph_accueil tr:last-child td { padding-bottom: 0!important }
#ph_accueil h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
#ph_accueil .img-o { margin: 0 auto; width: 200px }
#last_top_link { filter: alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6 }
.desc { filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0 }
#last_top_link:hover, #ph_accueil td:hover .desc { filter: alpha(opacity=100); -moz-opacity: 1; opacity: 1 }
#last_top_link { margin-top: 0.8em; float:right }
.gal_button { float: right; text-decoration: none }
.pic_info_conteneur, .pic_info_conteneur_first { margin: 20px auto 0; position: relative }
.pic_info_conteneur_first { margin-top:0 }
.pic_info_over { visibility:hidden; /*n1*/ filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0; position: absolute; left: 1px; bottom: 1px; z-index:1 }
.pic_info_bg { position:absolute; width:100%; height:100%; filter: alpha(opacity=83); -moz-opacity: 0.83; opacity: 0.83; }
.pic_info { position:relative; padding: 5px 10px 10px }
.pic_info_titre { text-align: center; font-weight: bold }
.pic_info_desc { text-align: center }
.pic_info .marge { margin-top: 1em }

/* COMMENTS */
#gb-m1, #gb-m2 { border-spacing: 0; border-collapse: collapse }
#gb-m2 img, #gb-m1 img { border-radius: 4px }
#gb-m1 td { vertical-align: top }
#gb-m1 .cel-1 { width: 152px }
#gb-m1 .cel-1 p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
#gb-m1 img { margin-top:4px }
#gb-m2 img { float: left; margin: 0.3em 0.5em 0 0 }
#gb-m2 p { overflow: auto }

/* NEWS */
.news_link { margin-top: 0.4em }

/* BREAK-WORD */
#ph_accueil, #gb-m1, #gb-m2 { width: 100%; table-layout: fixed }
#ph_accueil td, #gb-m1 .cel-2, #gb-m2 .cel-2 { word-wrap: break-word }

/* PARTAGE */
.img_bar_bottom { position: relative; height: 20px; margin-top: 6px }
.img_auteur { position: absolute; right: 0; line-height: 20px; cursor: default; z-index: 2 }
.share_buttons_img { position: absolute; z-index: 1 }
.share_buttons div { display: inline-block; height: 20px; margin-right: 6px; border-radius: 2px; cursor: pointer; filter: alpha(opacity=55); -moz-opacity: 0.55; opacity: 0.55 }
.share_buttons div:hover { filter: alpha(opacity=100); -moz-opacity: 1; opacity: 1 }
.fr .fb-button { width:73px; background: url('common/share-buttons-fr.gif') 0 0 }
.fr .twitter-button { width:70px; background: url('common/share-buttons-fr.gif') 0 20px }
.en .fb-button { width:58px; background: url('common/share-buttons-en.gif') 0 0 }
.en .twitter-button { width:58px; background: url('common/share-buttons-en.gif') 0 20px }

/* TXT */
.f-left { float: left; margin: 0 8px 8px 0 }
.f-right { float: right; margin: 0 0 8px 8px }
.center { text-align: center }
.right { text-align: right }

/* Image preload responsive */
.img-pl { max-width: 100% }
.img-pl div { position: relative } 
.img-pl img { position: absolute; top: 0; width: 100% }
.img-pl img:first-child { z-index: 1 }
.img-pl img:last-child { height: 100% }

/* Image carrée preload responsive */
.img-o { max-width: 100%; overflow: hidden; position: relative; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box }
.img-o div { padding-top: 100% }
.img-o img { position: absolute; top: 0 }
.img-o.l img { left: -1000%; right: -1000%; margin: 0 auto; height: 100%; max-width: none }
.img-o.p img { width: 100% }
.img-o img:first-child { z-index: 1 }

/* Iframe et embed responsive */
.iframe { max-width: 100%; overflow: auto }
.iframe div { position: relative }
.iframe iframe, .iframe embed  { position: absolute; top: 0; width: 100%; height: 100% }
.iframe.video.f- { width: 100%!important }

/* Provisoir */
.pwdhack { position: relative }
.pwdhack input { width: 100%; letter-spacing: 0.12em }
.pwdhack input:last-child { position: absolute; top: 0; left: 0; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0 }