﻿/* 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
   #rulesPage: ingame rules page display
   #panelRules: ingame rules sidepanel display
   #popup.rules: popup with rules extract only */

span.clear {
    clear: left;
    display: block;
}

.rules .image img {
    width: 10em;
    height: auto;
    float: left;
    margin-right: 1em;
}

#rules .appendix.sanddollar-actions .image img {
    width: 30%;
    float: left;
    margin-right: 1em;
}

.rules .symbol-explanation .image img {
    height: 4em;
    width: auto;
    margin-bottom: 0.5em;
}

.rules .symbol-explanation .image.large img {
    height: 8em;
    width: auto;
    margin-bottom: 0.5em;
    margin-right: 0.5em;
    float: left;
}

.rules .scoring-objectives .image img {
    width: 30%;
    float: left;
    margin-right: 1em;
}

.rules .paragraph.starting-tiles .image img {
    width: 40%;
    float: left;
    margin-right: 1em;
}

#rules .paragraph.starting-tiles {
    width: 46%;
}

#rulesContainer .paragraph.starting-tiles {
    width: 95%;
}

.rules .symbol-explanation {
    background-color: white;
    display: inline-block;
    padding: 1em;
    margin: 0.3em 0 0.7em;
    border: 1px solid black;
}

.rules .symbol-explanation .paragraph {
    width: 8em;
    text-align: center;
    float: left;
    margin: .5%;
    padding: 1%;
    background-color: #f9eed6;
}

.rules .symbol-explanation .paragraph.wide {
    width: 30%;
    text-align: center;
}

.rules img.standard-img-size {
    height: 1em;
    width: auto;
}

.rules img.person-img-size {
    height: 2em;
    width: auto;
    float: left;
    margin-right: 0.5em;
    clear: left;
}

.rules .scoring-objectives.paragraph {
    width: 95%;
}

.modal.starting_tile_popup {
    width: 600px;
}

.modal.scoring_card_popup {
    width: 1000px;
}

.modal.symbol_explanation_popup {
    width: 700px;
    height: 400px;
    overflow: auto;
}

#rules .appendix.sanddollar-actions .paragraph {
    width: 45%;
}

#rulesContainer #rules .appendix.sanddollar-actions .paragraph {
    width: 100%;
}

.rules .feature_card_breakdown {
    width: 400px;
    height: auto;
}

.red_circle {
    background-color: #f15170;
    border-radius: 50%;
    border: 1px solid black;
    color: white;
    height: 2em;
    width: 2em;
    line-height: 2em;
    vertical-align: middle;
    text-align: center;
    float: left;
    clear: left;
    margin-right: 0.5em;
}

.icon_with_explanation {
    margin: 0.5em;
}

.icon_with_explanation > img {
    height: 2em;
    width: auto;
    margin-right: 0.5em;
    float: left;
}

.hints4Handling div p {
    margin: 1em;
}