/* 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 ul {
    padding-left: 1.8em;
    list-style-image: url('/game-plugins/huntersandscouts/1.0.0/images/list_image.png');
}

#rules .appendix {
    display: block;
}

#rules .character_name {
    text-align: center;
    font-weight: bold;
    background-color: gray;
    margin-bottom: 0.5em;
}

#rules .characterDiv {
    position: relative;
    display: block;
    float: left;
    width: 6.6em;
    height: 10em;
}

#rules .appendix .hunting_ground_container {
    width: 10em;
    display: inline-block;
    float: none;
    margin: 0.2em;
}

#rules .appendix .holy_place.paragraph {
    width: 20em;
    display: inline-block;
    float: none;
    vertical-align: top;
}

#rules .holy_place_front_side {
    float: left;
    width: 10em;
}

#rules .holy_place_back_side {
    float: right;
    width: 10em;
}

#rules .location {
    position: relative;
    float: none;
    display: inline-block;
    width: 10em;
    height: 6.6em;
}

#rules :not(.holy_place_front_side):not(.holy_place_back_side):not(.hunting_ground_container) > .location {
    margin: 0.2em;
}

#rules .appendix .paragraph.card {
    float: none;
    display: inline-block;
    width: 19em;
}

#rules .appendix .paragraph.item {
    float: none;
    display: inline-block;
    width: 7.2em;
}

#rules .card_explanation {
    float: right;
    display: block;
    width: 11.5em;
}

#rules .roundedCornersVertical {
    border-radius: 15.1%/10%;
    background-color: #896f5f;
    border: 1px solid black;
    box-sizing: border-box;
}

#rules .roundedCorners {
    border-radius: 10%/15.1%;
    background-color: #896f5f;
    border: 1px solid black;
    box-sizing: border-box;
}

#rules .verticalImg {
    position: absolute;
    width: 90%;
    height: 94.29%;
    top: 2.85%;
    left: 5%;
}

#rules .horizontalImg {
    position: absolute;
    width: 94.29%;
    height: 90%;
    top: 5%;
    left: 2.85%;
}

#rules .characterNameVertical {
    position: absolute;
    top: 97%;
    left: 0%;
    width: 154.2%;
    font-size: 0.85em;
    font-weight: bold;
    text-align: center;
}

#rules .locationLabel {
    width: 64%;
    position: absolute;
    top: 94%;
    left: 0%;
    font-size: 0.5em;
    font-weight: bold;
    text-align: center;
}

#rules .itemLabel {
    width: 100%;
    position: absolute;
    top: 2%;
    left: 0%;
    font-size: 0.6em;
    font-weight: bold;
    text-align: center;
}

#rules .vertical {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    -webkit-transform-origin: 5.5% 20%;
    -moz-transform-origin: 5.5% 20%;
    -o-transform-origin: 5.5% 20%;
    -ms-transform-origin: 5.5% 20%;
    transform-origin: 5.5% 20%;
}

#rules .vertical2 {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    -webkit-transform-origin: 6% 8%;
    -moz-transform-origin: 6% 8%;
    -o-transform-origin: 6% 8%;
    -ms-transform-origin: 6% 8%;
    transform-origin: 6% 8%;
}

#rules .character_ability {
    position: absolute;
    top: 60.5%;
    left: 22%;
    width: 71.5%;
    height: 34%;
}

#rules .holy_place_ability {
    position: absolute;
    left: 12%;
    top: 70%;
    width: 82.5%;
    height: 22.5%;
    text-align: center;
}

#rules .holy_place_ability > img {
    position: relative;
    vertical-align: top;
    width: auto;
    height: 90%;
    padding-left: 0%;
    padding-right: 0%;
    margin-right: 0%;
    margin-left: -1%;
}

#rules .holy_place_ability > .sunset {
    position: relative;
    vertical-align: top;
    display: inline-block;
    height: 90%;
    width: 18%;
    margin-left: 1%;
    margin-right: 1%;
    background-size: contain;
    background-repeat: no-repeat;
}

#rules .holy_place_ability > span {
    height: 50%;
    vertical-align: top;
    width: auto;
    display: inline-block;
    font-size: 0.83em;
    position: relative;
    white-space: pre;
    padding-left: 0%;
    padding-right: 0%;
    margin-right: 0%;
    margin-left: 0%;
}

#rules .holy_place_ability .built_item {
    background-image: url('/game-plugins/huntersandscouts/1.0.0/images/Item.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 15%;
    height: 100%;
    padding-top: 0%;
    margin-left: 2%;
    margin-right: 2%;
    float: none;
    vertical-align: top;
    position: relative;
    display: inline-block;
}

#rules .holy_place_ability .built_item > .checkmark {
    width: 100%;
}

#rules .keep_two {
    position: relative;
    width: 32%;
    height: 100%;
    margin-left: 2%;
    margin-right: 2%;
    display: inline-block;
    vertical-align: top;
}

#rules .keep_two > img {
    position: relative;
    vertical-align: top;
    width: auto;
    margin-left: 2%;
    margin-right: 2%;
    height: 90%;
}

#rules .holy_place_ability .keep_two > span {
    position: absolute;
    width: auto;
    left: 0%;
    top: 20%;
    height: 40%;
    font-size: 0.63em;
    font-weight: bold;
    fill: blue;
    text-shadow: 0 1px 5px #f3f3f3;
}

#rules .keep_three {
    position: relative;
    width: 50%;
    height: 100%;
    margin-left: 2%;
    margin-right: 2%;
    display: inline-block;
    vertical-align: top;
}

#rules .keep_three > img {
    position: relative;
    vertical-align: top;
    width: auto;
    margin-left: 2%;
    margin-right: 2%;
    height: 90%;
}

#rules .holy_place_ability .keep_three > span {
    position: absolute;
    width: auto;
    left: 0%;
    top: 10%;
    height: 60%;
    font-weight: bold;
    fill: blue;
    text-shadow: 0 1px 5px #f3f3f3;
}

#rules .sunset.white {
    background-image: url('/game-plugins/huntersandscouts/1.0.0/images/sunset_white.png');
    background-repeat: no-repeat;
}

#rules .sunset.black {
    background-image: url('/game-plugins/huntersandscouts/1.0.0/images/sunset_black.png');
    background-repeat: no-repeat;
}

#rules .ability_row {
    position: relative;
    width: 100%;
    margin-top: 5%;
    height: 25%;
    text-align: center;
}

#rules .ability_double_row {
    position: relative;
    width: 100%;
    margin-top: 5%;
    height: 40%;
    text-align: center;
}

#rules .ability_row > img,
#rules .ability_double_row > img {
    height: 100%;
    width: auto;
    vertical-align: top;
    padding-left: 0%;
    padding-right: 0%;
    margin-right: 0%;
    margin-left: -1%;
}

#rules .ability_row > span,
#rules .ability_double_row > span {
    line-height: 100%;
    font-size: 0.83em;
    display: inline-block;
    width: auto;
    vertical-align: top;
    position: relative;
    white-space: pre;
    padding-left: 0%;
    padding-right: 0%;
    margin-right: 0%;
    margin-left: 0%;
}

#rules .hunting_ground {
    background-image: url('/game-plugins/huntersandscouts/1.0.0/images/jagdgebiete.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}