/* 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 */

@font-face {
  font-family: 'Garamond';
  src: local('Garamond'),
       url('/fonts/garamond.ttf') format('truetype'); 
}


#rules .garamond {
  font-family: 'Garamond', regular;
  font-weight: bold;
  border: none;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  text-align: center;
}
#rules .title {
  font-family: 'Garamond', regular;
  font-weight: bold;
  text-align: center;
	font-size: 2em;
  background-image: url('/Games/GloryIslands/images/rules/background.jpg');
    background-color: #DDC096;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #FDE7B6;
  
	
}
#rules .gameTitle {
  font-family: 'Garamond', regular;
  font-weight: bold;
  text-align: center;
	font-size: 3em;
	color: #503d2e;
}

#rules h3 {
	color: #614927;
	font-size: 1.5em;
	clear: left;
  font-family: 'Garamond', regular;
	margin-top: .5em;
	margin-bottom: .5em;
	text-align: left
}



.rules .chapter .title {
	color: #503d2e
}

#rules .round_corners {
	border-radius: 5%;
	border: 1px solid #503d2e
}

#rules .very_small {
	width: 10%
}

#rules .small {
	width: 20%
}

#rules .small_big {
	width: 25%
}

#rules .small_middle {
	width: 15%
}

#rules .middle {
	width: 50%
}

#rules .big {
	width: 70%
}

#rules .very_big {
	width: 97%
}

#rules .component {
    overflow-y: hidden;
	float: none;
	margin-right: 1em;
	margin-left: 1em;
	margin-top: 1em;
	margin-bottom: 1em
}

#rules .float_right {
	float: right;
	text-align: right;
	margin-right: 1em
}

#rules .float_left {
	float: left;
	text-align: right;
	margin-right: 1em
}

#rules .red {
	color: #b00000
}

#rules .deviation {
	overflow: hidden
}

.rules .example {
	border: 2px solid #000;
	font-style: italic;
	padding: .5em;
	margin: .5em;
	background-color: #fff;
	overflow: hidden
}

#rules .label {
	display: inline-block;
	border-radius: 50%;
	height: 1.2em;
	width: 1.2em;
	background: #fff;
	border: 2px solid #666;
	color: #666;
	text-align: center;
	font-size: .8333em
}


