/* 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 h1 {
	font-weight: bold;
	text-align: left;
	background-image: url(/game-plugins/keyper/1.0.0/images/rules/header_background.png);
	border: none;
	margin-top: 1em;
	margin-bottom: 0.5em;
	color: black;
	text-align: center;
	font-size: 2.5em;
	line-height: 1.2em;
	padding: 10px 0px 10px 10px;
}

/*  list symbol */
.rules #meeple {
	margin: 1em 0em 1em 1em;
	list-style-image: url('/game-plugins/keyper/1.0.0/images/rules/list_symbol.png');
}


.rules img.season-icon,
.rules .appendix .season-icon,
.rules img.player-count-icon,
.rules img.trade-resource-type-icon,
.rules img.boat-icon,
.rules img.worker-icon,
.rules img.worker-icon-icon,
.rules img.cylinder-icon,
.rules img.country-icon,
.rules img.tile-type-icon,
.rules img.keyper-combo-icon {
	width: 1.4em;
	height: auto;
	vertical-align: middle;
}
.rules img.trade-resource-type-icon-animals
 {
	width: 1.6em;
	height: auto;
	vertical-align: middle;
}

.rules img.setup {
	width: 5em;
	height: auto;
	vertical-align: middle;
}

.rules .border {
	border-top: 0.1em solid black;
	border-bottom: 0.1em solid black;
	border-left: 0.1em solid black;
	border-right: 0.1em solid black;
	padding: 0.5em;
	background-color: #fef8e1
}

.rules .scoring-table-box {
	float: none;
	margin-right: 0.5em;
	align-content: center;

}

#panelRules .scoring-table-box {
	float: none;
	margin-right: 0.5em;
	margin-left: 0.5em;
	align-content: center;

}

.rules .scoring-table {
	border: 1px solid grey;
	border-collapse: collapse;
	padding: 2px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
	background-color: #f8ecc3;
}

.rules .scoring-table-c {
	border: 1px solid grey;
	border-collapse: collapse;
	padding: 2px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
	background-color: #f8ecc3;
}
#panelRules .scoring-table {
	padding: 1px;
}
.rules .quick-reference-table {
	text-align: center;
}

/*Building Tiles*/
.rules .appendix img {
	padding: 1%;
	width: 30%;
}
.rules .appendix {
	background-color: #fef8e1;
}

.rules .appendix .paragraph, .rules .paragraph {
	background-color: #fef8e1;
	width: 46%;
	position: relative;
	display: inline-block;
	float: none;
	vertical-align: top;
	box-sizing: border-box;
}
/*Building Tiles End*/
#rules .float_right {
	float: right;
	text-align: right;
	margin-right: 1em
}

#rules .float_left {
	float: left;
	text-align: left;
	margin-right: 1em
}

#rules .round_corners {
	border-radius: 5%;
	border: none
}

#rules .really_small {
	width: 8em
}

#rules .really_small2 {
	width: 6em
}

#rules .very_small {
	width: 9em
}

#rules .very_small2 {
	width: 12em
}

#rules .small {
	width: 15em
}

#rules .middle {
	width: 20em
}

#rules .middle2 {
	width: 22em
}

#rules .middle_big {
	width: 25em
}

#rules .small_middle {
	width: 15em
}

#rules .not_so_big {
	width: 42%
}

#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 .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 red;
	color: red;
	text-align: center;
	font-size: .8333em
}

.rules .cell_picture_25 {
	width: 25%;
	vertical-align: top;
}

.rules .cell_picture_30 {
	width: 30%;
	vertical-align: top;
}

.rules .cell_picture_50 {
	width: 50%;
	vertical-align: top;
}

.rules .top {
	vertical-align: top;
}

.rules .bottom {
	vertical-align: bottom;
}

.in-game-control-wrapper {
	display: flex;
}

.rules img.in-game-control {
	width: 5em;
}