/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/

/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/piwigo.org_cs.css);

/****************************************************************/
/* 2. TEXT SETTINGS */
/****************************************************************/

/* 2.1 This sets the default Font Group */

.pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}

.pun {FONT-SIZE: 12px; LINE-HEIGHT: normal}

/* IEWin Font Size only - to allow IEWin to zoom. Do not remove comments \*/
* HTML .pun {FONT-SIZE: 68.75%}
/* End IE Win Font Size */

/* Set font size for tables because IE requires it */
.pun TABLE, .pun INPUT, .pun SELECT, .pun OPTGROUP, .pun TEXTAREA, DIV.postmsg P.postedit {FONT-SIZE: 1em}

/* 2.2 Set the font-size for preformatted text i.e in code boxes */

.pun PRE {FONT-FAMILY: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace}

/* 2.3 Font size for headers */

.pun H2, .pun H4 {FONT-SIZE: 1em}
.pun H3 {FONT-SIZE: 1.1em}
#brdtitle H1 {FONT-SIZE: 1.4em}

/* 2.4 Larger text for particular items */
DIV.postmsg P {LINE-HEIGHT: 1.4}
DIV.postleft DT {FONT-SIZE: 1.1em}
.pun PRE {FONT-SIZE: 1.2em}

/* 2.5 Bold text */

DIV.postleft DT, DIV.postmsg H4, TD.tcl H3, DIV.forminfo H3, P.postlink, DIV.linkst LI,
DIV.linksb LI, DIV.postlinksb LI, .blockmenu LI, #brdtitle H1, .pun SPAN.warntext, .pun P.warntext {FONT-WEIGHT: bold}

/****************************************************************/
/* 3. LINKS */
/****************************************************************/

/* 3.1 Remove underlining for main menu, post header links, post links and vertical menus */

#brdmenu A:link, #brdmenu A:visited, .blockpost DT A:link, .blockpost DT A:visited, .blockpost H2 A:link,
.blockpost H2 A:visited, .postlink A:link, .postlink A:visited, .postfootright A:link, .postfootright A:visited,
.blockmenu A:link, .blockmenu A:visited {
	TEXT-DECORATION: none
}

/* 3.2 Underline on hover for links in headers and main menu */

.blockpost H2 A:hover {TEXT-DECORATION: underline}

/****************************************************************/
/* 4. BORDER WIDTH AND STYLE */
/****************************************************************/

/* 4.1 By default borders are 1px solid */

DIV.box, .pun TD, .pun TH, DIV.forminfo, DIV.blockpost LABEL {
	BORDER-STYLE: solid;
	BORDER-WIDTH: 1px
}

/* 4.2 Special settings for the board header. */

#brdheader DIV.box {BORDER-TOP-WIDTH: 4px}

/* 4.3 Borders for table cells */

.pun TD, .pun TH {
	BORDER-BOTTOM: none;
	BORDER-RIGHT: none
}

.pun .tcl {BORDER-LEFT: none}

/* 4.4 Special setting for fieldsets to preserve IE defaults */

DIV>FIELDSET {
  border:none;
  border-top:2px solid #ddd;
}

/****************************************************************/
/* 5. VERTICAL AND PAGE SPACING */
/****************************************************************/

/* 5.1 Page margins */

HTML, BODY {MARGIN: 0; PADDING: 0}
#punwrap {width:960px; margin:20px auto;}

/* 5.2 Creates vertical space between main board elements (Margins) */

DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 12px}
#punindex DIV.blocktable, DIV.blockpost {MARGIN-BOTTOM: 6px}
DIV.block2col DIV.blockform, DIV.block2col DIV.block {MARGIN-BOTTOM: 0px}

/* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */

DIV.linkst, DIV.linksb {MARGIN-TOP: -12px}
DIV.postlinksb {MARGIN-TOP: -6px}

/* 5.4 Put a 12px gap above the board information box in index because the category tables only
have a 6px space beneath them */

#brdstats {MARGIN-TOP: 12px}

/****************************************************************/
/* 6. SPACING AROUND CONTENT */
/****************************************************************/

/* 6.1 Default padding for main items */

DIV.block DIV.inbox, DIV.blockmenu DIV.inbox {PADDING: 3px 6px}
.pun P, .pun UL, .pun DL, DIV.blockmenu LI, .pun LABEL, #announce DIV.inbox DIV {PADDING: 3px 0}
.pun H2 {PADDING: 4px 6px}

/* 6.2 Special spacing for various elements */

.pun H1 {PADDING: 3px 0px 0px 0}
#brdtitle P {PADDING-TOP: 0px}
DIV.linkst {PADDING: 8px 6px 3px 6px}
DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px}
#brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT  {LINE-HEIGHT: 1.4em}
#viewprofile DT, #viewprofile DD {PADDING: 0 3px; LINE-HEIGHT: 2em}

/* 6.4 Create some horizontal spacing for various elements */

#brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT  {MARGIN-RIGHT: 12px}

/****************************************************************/
/* 7. SPACING FOR TABLES */
/****************************************************************/

.pun TH, .pun TD {PADDING: 4px 6px}
.pun TD P {PADDING: 5px 0 0 0}

/****************************************************************/
/* 8. SPACING FOR POSTS */
/****************************************************************/

/* 8.1 Padding around left and right columns in viewtopic */

DIV.postleft DL, DIV.postright {PADDING: 6px}

/* 8.2 Extra spacing for poster contact details and avatar */

DD.usercontacts, DD.postavatar {MARGIN-TOP: 5px}
DD.postavatar {MARGIN-BOTTOM: 5px}

/* 8.3 Extra top spacing for signatures and edited by */

DIV.postsignature, DIV.postmsg P.postedit {PADDING-TOP: 15px}

/* 8.4 Spacing for code and quote boxes */

DIV.postmsg H4 {MARGIN-BOTTOM: 10px}
.pun BLOCKQUOTE, DIV.codebox {MARGIN: 5px 15px 15px 15px; PADDING: 8px}

/* 8.5 Padding for the action links and online indicator in viewtopic */

DIV.postfootleft P, DIV.postfootright UL, DIV.postfootright DIV {PADDING: 10px 6px 5px 6px}

/* 8.6 This is the input on moderators multi-delete view */

DIV.blockpost INPUT, DIV.blockpost LABEL {
	PADDING: 3px;
	DISPLAY: inline
}

P.multidelete {
	PADDING-TOP: 15px;
	PADDING-BOTTOM: 5px
}

/* 8.7 Make sure paragraphs in posts don't get any padding */

DIV.postmsg P {PADDING: 0}

/****************************************************************/
/* 9. SPECIAL SPACING FOR FORMS */
/****************************************************************/

/* 9.1 Padding around fieldsets */

DIV.blockform FORM, DIV.fakeform {PADDING: 20px 20px 15px 20px}
DIV.inform {PADDING-BOTTOM: 12px}

/* 9.2 Padding inside fieldsets */

.pun FIELDSET {PADDING: 0px 12px 0px 12px}
DIV.infldset {PADDING: 9px 0px 12px 0}
.pun LEGEND {PADDING: 0px 6px}

/* 9.3 The information box at the top of the registration form and elsewhere */

DIV.forminfo {
	MARGIN-BOTTOM: 12px;
	PADDING: 9px 10px
}

/* 9.4 BBCode help links in post forms */

UL.bblinks LI {PADDING-RIGHT: 20px}

UL.bblinks {PADDING-BOTTOM: 10px; PADDING-LEFT: 4px}

/* 9.5 Horizontal positioning for the submit button on forms */

DIV.blockform P INPUT {MARGIN-LEFT: 12px}

/****************************************************************/
/* 10. POST STATUS INDICATORS */
/****************************************************************/

/* 10.1 These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/

DIV.icon {
	FLOAT: left;
	MARGIN-TOP: 0.1em;
	MARGIN-LEFT: 0.2em;
	DISPLAY: block;
	BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em;
	BORDER-STYLE: solid
}

DIV.searchposts DIV.icon {MARGIN-LEFT: 0}

/* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The
margin creates space for the post status indicator */

TD DIV.tclcon {MARGIN-LEFT: 2.3em}

#punviewtopic {
  margin-top:20px;
}

#punviewtopic #brdheader, #punviewtopic #announce {
  display:none;
}

DIV.blockpost {
  -moz-border-radius:5px;
  margin-bottom:10px;
}

div.postsignature {
  /* display:none; */
  color:#aaa;
  padding-bottom:5px;
}
div.postsignature a:link, div.postsignature a:visited {
  color:#aaa;
  border-bottom:1px dotted #aaa;
}
div.postsignature a:hover {
  color:#f70;
  border-bottom:1px dotted #f70;
}
div.postsignature hr {
  width:20px;
  background-color:#aaa;
  color:#aaa;
}

div.postfootright {
  font-size:10px;
}

div.postfootleft {
  display:none;
}

#brdfooter div.box {border:none;}

.linkst ul {
  float:left;
  margin:0;
}

#brdtitle {display:none;}
#brdheader div.box {
  border:0;
  background-color:#f9f9f9;
  -moz-border-radius:5px;
}
#brdmenu {
  background-color:transparent;
}

#announce, #hot_tags {
  background-color:#f9f9f9;
}

#announce div.box, #hot_tags div.box {
  border:0;
}

#announce h2, #hot_tags h2 {
  font-weight:bold;
}

#vf h2 {display:none;}
#vf div.box {
  border:1px solid #cdcdcd;
}
#vf.blocktable td {
  background-color:transparent;
  border:none;
  border-bottom:1px solid #cdcdcd;
}

#vf.blocktable .tc_tags {
  display:none;
}

#vf.blocktable .isticky {
  background-color:#fff4ea;
}

.topicLineOdd {background-color:#f9f9f9}


#punviewforum #announce {display:none}
#puntimeline #brdmenu, #puntimeline #announce {display:none}
#punnews #brdheader, #punnews #announce, #punnews .conr {display:none}
#puntodo #brdmenu, #puntodo #announce {display:none}
#puntimeline span.resolved {color:#999;}

#punindex div.blocktable {
  /* border:1px solid #cdcdcd; */
  clear:both;
  background-color:#f9f9f9;
  -moz-border-radius:5px;
  margin-bottom:15px;
}

#punindex .blocktable h2 {
  font-weight:bold;
}

#punindex .blocktable .tcr {
  display:none;
}
#punindex .blocktable .box {
  border:none;
}

#punindex .blocktable td {
  background-color:transparent;
  border:none;
  border-bottom:1px solid #ddd;
  vertical-align:bottom;
}

#punindex .blocktable td.tcl {
  width:90%;
}
#punindex .blocktable td.tc2, #punindex .blocktable td.tc3 {
  text-align:right;
  width:80px;
}

#punindex .blocktable thead {display:none}

#brdstats .box {border:none}

#punindex #announce {
  float:left;
  overflow:hidden;
}
#punindex #hot_tags {
  float:right;
}

#punindex #announce, #punindex #hot_tags {
  width:475px;
  height:116px;
  -moz-border-radius:5px;
}

#punnews {
  margin-top:-10px;
  color:#464646;
}
#punnews a {
  color:#f70;
}
div.newsblock {
  border-bottom:1px solid #d1d1d1;
  width:700px;
  margin-bottom:20px;
}
#newsseealso {
  float:right;
  width:200px;
  background-color:#f1f1f1;
  -moz-border-radius:5px;
  padding:5px 10px;
}
#newsseealso a {
  color:#333;
}
#newsseealso a:hover {
  color:#f70;
}
div.newsseealsoTitle {
  font-weight:bold;
  margin-bottom:10px;
  font-size:14px;
  text-align:left;
}
#newsseealso li {
  margin-bottom:5px;
}
#newsseealso li#firstBlogItem {
  margin-top:20px;
}
#newsseealso img {
  margin-bottom:-3px;
}
#punnews h2 {
  font-family:Verdana, sans-serif;
  font-size:22px;
  letter-spacing:3px;
  color:#999;
  padding:0;
  margin-bottom:20px;
}
#punnews h2.newstitle {
  font-size:16px;
  font-weight:bold;
  font-family:"Trebuchet MS",Verdana, sans-serif;
  letter-spacing:normal;
  margin-bottom:0;
}
#punnews h2.newstitle a {
  color:#21759B;
}
#punnews h2.newstitle a:hover {
  color:#f70;
}
#punnews div.newsmeta {
  color:#999;
  font-size:11px;
  margin-bottom:10px;
}
#punnews div.newsmeta a {
  color:#999;
  border-bottom:1px solid #ddd;
}

#punnews div.newscomments {
  text-align:right;
  font-style:italic;
  font-size:11px;
  color:#999;
}
#punnews div.newscomments a {
  color:#999;
}

#punnews div.newscomments a:hover {
  border:none;
  color:#f70;
}

/* new design 2017-11, by Lisa, CSS by plg */

#punindex .blocktable h2 {
  color: #ff7700;
  font-size: 16px;
  margin-bottom: 10px;
  padding-top:10px;
}

#punindex div.blocktable {
  background-color:transparent;
}

#punindex .blocktable td {
  border-bottom: 1px solid #eee;
}

#punindex .blocktable td.tcl {
    padding: 12px 0px;
}

#brdmenu A:link, #brdmenu A:visited, .blockpost DT A:link, .blockpost DT A:visited, .blockpost H2 A:link, .blockpost H2 A:visited, .postlink A:link, .postlink A:visited, .postfootright A:link, .postfootright A:visited, .blockmenu A:link, .blockmenu A:visited {
    font-size: 14px;
}

#brdmenu {
    background-color: #fff;
    padding-bottom: 20px;
    padding-left: 0;
}

div.tclcon h3 a:link, div.tclcon h3 a:visited {
  COLOR: #4e4e4e;
}

div.tclcon, td.tc2, td.tc3 {
  color:#999;
}

#brdstats {
    MARGIN-TOP: 35px;
}

#punindex #announce, #punindex #hot_tags {
  display: none;
}

#brdmenu {
  float:left;
}
#brdwelcome {
  float:right;
}

/* viewforum */

p.postlink {
  float: none;
  width: auto;
  text-align: center;
  margin: 0 0 20px 0;
  clear: both;
}

DIV.linkst {
  clear:both;
}
DIV.linkst .conr, DIV.linksb .conr {
  width: auto;
}

.postlink.conr a {
  border: 2px solid #ff7700;
  padding: 8px 13px 8px 10px;
  color: #ff7700;
  font-weight: normal;
}

.postlink.conr a:hover {
  background-color:#ff7700;
  color:#fff;
}

DIV.linkst .pagelink.conl,
DIV.linksb .pagelink.conl
{
  width:auto;
  float:right;
}

DIV.linksb p.postlink {
  margin-top:20px;
}

#vf div.box {
    border: none;
}

#vf.blocktable {
  margin-top:10px;
}
#vf.blocktable .isticky,
.topicLineOdd
{
  background-color:transparent;
}

.pun TH {
  background-color: transparent;
  border:none;
  border-bottom: 2px solid #eee;
  font-size: 14px;
}

#vf.blocktable td {
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.pun TH, .pun TD {
    PADDING: 12px 6px;
}

.tcr {
  text-align: right;
}

/* viewtopic */
#punviewtopic #brdheader {
  display:block;
}

DIV.postlinksb .conl {
  float:right;
  width: auto;
}

.postlinksb UL {
    MARGIN-LEFT: 0;
}

DIV.postlinksb .conr {
    WIDTH: 16em;
    width: auto;
    margin: 30px 0;
}

.pun H2 {
    PADDING: 11px 0px;
}

DIV.postmsg {
    font-size: 13px;
}

/* username en orange */
.pun .postleft dl dt strong a {
  color:#f70;
}

.postleft dd {
  color:#999;
}

/* Pas de bordure droite sur postleft (le texte créé la bordure naturellement)
Virer le #2, #3...
*/

/* post date */
h2 span a {
  color:#999;
}

.postfootright A:link, .postfootright A:visited, .postfootright {
  font-size: 11px;
}

/* hide post number #2 or #3 */
.blockpost h2 .conr {
  display: none;
}

DIV.blockpost {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.rowodd, .roweven {
  background-color: transparent;
}

DIV.blockpost.firstpost {
  border-top: 1px solid #eee;
  margin-top: 10px;
}

DIV.blockpost H2 {
  text-align: right;
}

DIV.blockpost H2 a:link {
  font-size:12px;
  color:#999;
}

DIV.blockpost H2 a:hover {
  text-decoration: none;
}

DIV.blockpost H2 a:hover:before {
  border:none;
}

DIV.blockpost DIV.box, DIV.postleft {
  overflow: visible;
}

DIV.postleft {
  border:none;
  margin-top: -35px;
}
DIV.postright {
  border-left: 1px solid #eee;
  padding-left: 20px;
}

.postmsg blockquote, .codebox {
    background-color: #f9f9f9;
    border-left: 5px solid #e9e9e9;
}

/*
.postfootright {
  visibility:hidden;
}

.blockpost:hover .postfootright {
  visibility: visible;
}
*/

.postfootright {
  padding:10px 6px 5px 6px;
}
.postfootright ul {
  display:none;
  padding:0;
}
.showpostactions {
  font-size: 16px;
  cursor:pointer;
}
a.showpostactions:hover {
  border:none;
}
