﻿/* ReSharper disable RedundantUnits */
/* 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 */
.rules .cover img {
    max-width: 500px;
}

.rules h2 {
    margin: 1em 0 0;
}

.rules h5 {
    margin: 0.5em 0 0;
}

.rules .clay, .rules .potter {
    color: #B86B37;
    font-weight: bold;
}

.rules .cloth, .rules .tailor {
    color: #685E50;
    font-weight: bold;
}

.rules .metal, .rules .smith {
    color: #373671;
    font-weight: bold;
}

.rules .stone, .rules.monk {
    color: #377F40;
    font-weight: bold;
}

.rules .paper, .rules.clerk {
    color: #A82B69;
    font-weight: bold;
}


.rules .card {
    float: left;
    margin-right: 1em;
    position: relative;
    margin-bottom: 1em;
}

.rules .overview {
    float: left;
    margin-right: 1em;
    position: relative;
    margin-bottom: 1em;
}

    .rules .overview img {
        height: 7em;
        width: auto;
    }

.rules .overviewText {
    min-height: 8em;
}

.rules .cardImg {
    border-radius: 14%/10%;
    height: 20em;
}

.rules .cardAnatomyText {
    min-height: 21em;
}

.rules .card .label, .rules .overview .label {
    position: absolute;
}

h4, h5 {
    margin-top: 0;
    margin-bottom: 0;
}

.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: 0.8333em;
}

.rules .icon {
    display: inline-block;
    height: 1em;
}

.rules .deviation {
    overflow: hidden;
}

.rules .mote {
    border: 2px solid black;
    padding: .5em;
    margin: .5em;
    background-color: white;
    overflow: hidden;
}

.rules .example {
    border: 2px solid black;
    padding: .5em;
    margin: .5em;
    background-color: white;
    overflow: hidden;
}

.rules .overview.floorAndDeck .label.floor {
    bottom: 1%;
    left: 15%;
}
.rules .overview.floorAndDeck.de .label.floor {
    bottom: 1%;
    left: 16%;
}

.rules .overview.floorAndDeck .label.deck {
    top: 7%;
    left: 25%;
}

.rules .overview.floorAndDeck.de .label.deck {
    top: 9%;
    left: 25%;
}

.rules .overview.player .label.task {
    top: 5%;
    left: 50%;
}

.rules .overview.player .label.completedWorks {
    top: 10%;
    left: 78%;
}

.rules .overview.player .label.handAndWaitingArea {
    top: 40%;
    left: 55%;
}

.rules .card .label.workName {
    top: 2%;
    left: 30%;
}

.rules .card.de .label.workName {
    top: 2%;
    left: 24%;
}

.rules .card .label.workText {
    top: 71%;
    left: 14%;
}
.rules .card.de .label.workText {
    top: 67%;
    left: 9%;
}

.rules .card .label.task {
    top: 45%;
    left: 0%;
}

.rules .card .label.material.bottom {
    bottom: 2.5%;
    left: 30%;
}

.rules .card.de .label.material.bottom {
    bottom: 2.5%;
    left: 26%;
}

.rules .card .label.material.right {
    top: 45%;
    right: 0%;
}

.rules .card .label.value {
    bottom: 3%;
    right: 14%;
}

.rules th, .rules table, .rules td {
    border-collapse: collapse;
    border: 1px solid #043460;
}


.rules th {
    background-color: #043460;
    color: white;
    font-weight: bold;
    font-size: unset;
}

.rules .examples {
    font-style: italic;
}


/* ReSharper disable once DeclarationIsEmpty */
.internal_anchor {
}
