﻿/* add all special styles used for displaying the rules */ 

/* .rules: used for all elements loading rules (rules at main site, rules ingame, popup with rules extract 
   #rules: div with complete rules used at main site and ingame display 
   #rulesContainer #rules: ingame rules display only 
   #sidebarPanel #rules: ingame rules display on right side only 
   #sidebarBottom #rules: ingame rules display at bottom only 
   .ui-popup .rules: popup with rules extract only */

#rules .chapter .title {
  background-color: #8e7c58;
  color: #f0ebe0;
  text-align: center;
  padding: 0px;
  font-size: 2em;
  font-variant: small-caps;
}

#rules h1 {
  background-color: #8e7c58;
  color: #f0ebe0;
  font-size: 1.75em;
  font-variant: small-caps;
  text-align: left;
}
   
#rules h2 {
  color: #726447;
  font-size: 1.5em;
  font-variant: small-caps;
  margin: 0.2em 0em;
  clear: left;
}

#rules h3 {
  color: #726447;
  font-size: 1.25em;
  font-variant: small-caps;
}

#rules h4 {
  color: #726447;
  font-variant: small-caps;
}

#rules .rolepic { width: 20%; float: left; margin-right: 2em; }
#rules .traderpricepic { width: 50%; float: right; margin-right: 2em; }
#rules .examplepicright { width: 30%; float: right; margin-left: 2em; }
#rules img.inlinePic { width: 2em; }

#sidebarPanel #rules .nosidebar { display:none; }
.ui-popup .rules .nopopup { display:none; }

#rules .appendix .paragraph { width: 98%; }
#rules .appendix.cards .paragraph { width: 47%; }
#rules .appendix.cards .images img { width: 24%; float: left; margin-right: 1em; }
#rulesContainer #rules .appendix.cards .paragraph { width: 100%; }

.rules img.card { width: 12%; }
