@charset "UTF-8";

/* Shared village buildings for race 8 (Egyptian art under carthaginian paths). */
@import url('carthaginian-buildings.css');

.headlineOnly .stickyImage {
    display: none;
}

/* resMerged sprite: 25×231px → 11 frames × 21px (background-position-y via --mergedResourcePosition) */
.merged i.r1 {
    --mergedResourcePosition: 0;
}
.merged i.r2 {
    --mergedResourcePosition: -21px;
}
.merged i.r3 {
    --mergedResourcePosition: -42px;
}
.merged i.r4 {
    --mergedResourcePosition: -63px;
}
.merged i.r5 {
    --mergedResourcePosition: -84px;
}
.merged i.r6 {
    --mergedResourcePosition: -105px;
}
.merged i.r7 {
    --mergedResourcePosition: -126px;
}
.merged i.r8 {
    --mergedResourcePosition: -147px;
}
.merged i.r9 {
    --mergedResourcePosition: -168px;
}
.merged i.r10 {
    --mergedResourcePosition: -189px;
}
.merged i.r11 {
    --mergedResourcePosition: -210px;
}

/* Building icons (gebIcon … g46Icon) */
.gebIcon {
    background-image: url('../img_ltr/g/buildings/default/icon/gebIcon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g1Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g1Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g2Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g2Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g3Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g3Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g4Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g4Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g5Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g5Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g6Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g6Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g7Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g7Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g8Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g8Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g9Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g9Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g10Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g10Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g11Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g11Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g13Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g13Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g14Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g14Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g15Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g15Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g16Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g16Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g17Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g17Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g18Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g18Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g19Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g19Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g20Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g20Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g21Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g21Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g22Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g22Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g23Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g23Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g24Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g24Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g25Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g25Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g26Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g26Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g27Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g27Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g28Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g28Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g29Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g29Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g30Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g30Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g31Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g31Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g32Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g32Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g33Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g33Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g34Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g34Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g35Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g35Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g36Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g36Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g37Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g37Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g38Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g38Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g39Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g39Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g40Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g40Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g41Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g41Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g42Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g42Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g43Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g43Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g44Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g44Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g45Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g45Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g46Icon {
    background-image: url('../img_ltr/g/buildings/default/icon/g46Icon.gif');
    width: 16px;
    height: 16px;
}
.gebIcon.g50Icon {
    background-image: url('../img_ltr/global/buildings/carthaginian/icons/type50_small.png');
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
}
.gebIcon.g51Icon {
    background-image: url('../img_ltr/global/buildings/carthaginian/icons/type51_small.png');
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
}
.gebIcon.g52Icon {
    background-image: url('../img_ltr/global/buildings/carthaginian/icons/type52_small.png');
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
}
i.tribe8_small {
    background-image: url('../img_ltr/global/tribes/carthaginian_small.png');
    width: 14px;
    height: 16px;
    display: inline-block;
}
i.tribe8_medium {
    background-image: url('../img_ltr/global/tribes/carthaginian_medium.png');
    width: 22px;
    height: 26px;
    display: inline-block;
}
.sidebar #sidebarBoxVillageList .content .villageList .listEntry.village .name i[class*='tribe'] {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    margin-inline-end: 4px;
}

/* Carthage units 71–80 (override leftover Spartan CSS for race 8) */
i.unit.u71,
img.unit.u71,
i.unit_small.u71,
i.unit_medium.u71,
i.unit.u72,
img.unit.u72,
i.unit_small.u72,
i.unit_medium.u72,
i.unit.u73,
img.unit.u73,
i.unit_small.u73,
i.unit_medium.u73,
i.unit.u74,
img.unit.u74,
i.unit_small.u74,
i.unit_medium.u74,
i.unit.u75,
img.unit.u75,
i.unit_small.u75,
i.unit_medium.u75,
i.unit.u76,
img.unit.u76,
i.unit_small.u76,
i.unit_medium.u76,
i.unit.u77,
img.unit.u77,
i.unit_small.u77,
i.unit_medium.u77,
i.unit.u78,
img.unit.u78,
i.unit_small.u78,
i.unit_medium.u78,
i.unit.u79,
img.unit.u79,
i.unit_small.u79,
i.unit_medium.u79,
i.unit.u80,
img.unit.u80,
i.unit_small.u80,
i.unit_medium.u80 {
    background-image: url('../img_ltr/global/units/carthaginian/icon/carthaginian_small.png');
}
i.unit_medium.u71,
i.unit_medium.u72,
i.unit_medium.u73,
i.unit_medium.u74,
i.unit_medium.u75,
i.unit_medium.u76,
i.unit_medium.u77,
i.unit_medium.u78,
i.unit_medium.u79,
i.unit_medium.u80 {
    background-image: url('../img_ltr/global/units/carthaginian/icon/carthaginian_medium.png');
}
i.unit.u71,
img.unit.u71,
i.unit_small.u71 {
    background-position: 0 0;
}
i.unit.u72,
img.unit.u72,
i.unit_small.u72 {
    background-position: 0 -16px;
}
i.unit.u73,
img.unit.u73,
i.unit_small.u73 {
    background-position: 0 -32px;
}
i.unit.u74,
img.unit.u74,
i.unit_small.u74 {
    background-position: 0 -48px;
}
i.unit.u75,
img.unit.u75,
i.unit_small.u75 {
    background-position: 0 -64px;
}
i.unit.u76,
img.unit.u76,
i.unit_small.u76 {
    background-position: 0 -80px;
}
i.unit.u77,
img.unit.u77,
i.unit_small.u77 {
    background-position: 0 -96px;
}
i.unit.u78,
img.unit.u78,
i.unit_small.u78 {
    background-position: 0 -112px;
}
i.unit.u79,
img.unit.u79,
i.unit_small.u79 {
    background-position: 0 -128px;
}
i.unit.u80,
img.unit.u80,
i.unit_small.u80 {
    background-position: 0 -144px;
}
i.unit_medium.u71 {
    background-position: 0 0;
}
i.unit_medium.u72 {
    background-position: 0 -26px;
}
i.unit_medium.u73 {
    background-position: 0 -52px;
}
i.unit_medium.u74 {
    background-position: 0 -78px;
}
i.unit_medium.u75 {
    background-position: 0 -104px;
}
i.unit_medium.u76 {
    background-position: 0 -130px;
}
i.unit_medium.u77 {
    background-position: 0 -156px;
}
i.unit_medium.u78 {
    background-position: 0 -182px;
}
i.unit_medium.u79 {
    background-position: 0 -208px;
}
i.unit_medium.u80 {
    background-position: 0 -234px;
}
img.unitSection.u71Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t1.png');
}
img.unitSection.u72Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t2.png');
}
img.unitSection.u73Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t3.png');
}
img.unitSection.u74Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t4.png');
}
img.unitSection.u75Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t5.png');
}
img.unitSection.u76Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t6.png');
}
img.unitSection.u77Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t7.png');
}
img.unitSection.u78Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t8.png');
}
img.unitSection.u79Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t9.png');
}
img.unitSection.u80Section {
    background-image: url('../img_ltr/global/units/carthaginian/section/t10.png');
}
img.unitFull.u71Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t1.png');
}
img.unitFull.u72Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t2.png');
}
img.unitFull.u73Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t3.png');
}
img.unitFull.u74Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t4.png');
}
img.unitFull.u75Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t5.png');
}
img.unitFull.u76Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t6.png');
}
img.unitFull.u77Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t7.png');
}
img.unitFull.u78Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t8.png');
}
img.unitFull.u79Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t9.png');
}
img.unitFull.u80Full {
    background-image: url('../img_ltr/global/units/carthaginian/full/t10.png');
}

/* Questmaster mentor: tribe 8 (override leftover Spartan art) */
.sidebar #sidebarBoxQuestmaster .header #questmasterButton.vid_8 .mentor {
    background-image: url('../img_ltr/hud/sidebar/tasks/mentorCarthaginian.png');
    width: 120px;
    height: 135px;
    position: relative;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

/* Activation tribe 8 */
#content.activate
    .activateWithSectors
    .activationScreen
    #presentation
    #tribeSelectors
    input[value='8']
    + .selector:after {
    background-image: url('../img_ltr/activate/tribeSelection/tribe8.png');
}
#content.activate
    .activateWithSectors
    .activationScreen
    #presentation
    #tribeSelectors
    input[value='8']
    + .selector
    + .tribeDescription
    ul
    li:before {
    background-image: url('../img_ltr/global/units/carthaginian/icon/carthaginian_small.png');
    background-size: auto;
    background-position: 0 0;
}
#content.activate .activateWithSectors .activationScreen #presentation.confirmation #selectedTribe.tribe8 .character {
    background-image: url('../img_ltr/activate/carthaginian_character.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 215px;
}

.reportInfoIcon {
    position: relative;
}

body.ltr .iconButton.linkOasisfinder {
    background-image: url('../img_ltr/map/buttons/cropfinder.gif');
}

body.rtl .iconButton.linkOasisfinder {
    background-image: url('../img_rtl/map/buttons/cropfinder.gif');
}

body.ltr .iconButton.iconRequireGold .iconButton.linkOasisfinder,
body.rtl .iconButton.iconRequireGold .iconButton.linkOasisfinder {
    background-position: -32px top;
}

/* City slots 41–43 sit below the normal 540px village map */
body.isCity.buildingsV3 .village2 #villageContent {
    min-height: 680px;
    overflow: visible;
    position: relative;
}
body.isCity.buildingsV3.village2 div#center div#contentOuterContainer #content {
    min-height: 680px;
    overflow: visible;
}
body.isCity.buildingsV3 .buildingSlot.a40.city {
    width: 802px;
    height: 602px;
}
body.isCity.buildingsV3 .buildingSlot.a40.g0.city svg.emptyWall {
    top: -50px !important;
    left: -18px !important;
}

/* Watchtower tab: reuse wall upgradeHeader layout with tribe extension art */
#build .upgradeHeader .buildingIllustration.watchTowers.roman {
    background-image: url(../img_ltr/global/buildingExtensions/roman/section/watchTowers.png);
    width: 140px;
    height: 140px;
}
#build .upgradeHeader .buildingIllustration.watchTowers.teuton {
    background-image: url(../img_ltr/global/buildingExtensions/teuton/section/watchTowers.png);
    width: 140px;
    height: 140px;
}
#build .upgradeHeader .buildingIllustration.watchTowers.gaul {
    background-image: url(../img_ltr/global/buildingExtensions/gaul/section/watchTowers.png);
    width: 140px;
    height: 140px;
}
#build .upgradeHeader .buildingIllustration.watchTowers.egyptian {
    background-image: url(../img_ltr/global/buildingExtensions/egyptian/section/watchTowers.png);
    width: 140px;
    height: 140px;
}
#build .upgradeHeader .buildingIllustration.watchTowers.hun {
    background-image: url(../img_ltr/global/buildingExtensions/hun/section/watchTowers.png);
    width: 140px;
    height: 140px;
}
#build .upgradeHeader .buildingIllustration.watchTowers.spartan {
    background-image: url(../img_ltr/global/buildingExtensions/spartan/section/watchTowers.png);
    width: 140px;
    height: 140px;
}
#build .upgradeHeader .buildingIllustration.watchTowers.viking {
    background-image: url(../img_ltr/global/buildingExtensions/viking/section/watchTowers.png);
    width: 140px;
    height: 140px;
}

/* ===== Carthaginian buildings (gid 50–52) ===== */
#build .upgradeHeader .buildingIllustration.g50 {
    background-image: url(../img_ltr/g/upgradeView/buildingIllustrations/carthaginian/g50.png);
    width: 241px;
    height: 160px;
}
#build .upgradeHeader .buildingIllustration.g50.isCity {
    background-image: url(../img_ltr/g/upgradeView/buildingIllustrations/carthaginian/g50_city.png);
    width: 241px;
    height: 160px;
}
#build .upgradeHeader .buildingIllustration.g51,
#build .upgradeHeader .buildingIllustration.g51.carthaginian {
    background-image: url(../img_ltr/g/upgradeView/buildingIllustrations/carthaginian/g51.png);
    width: 241px;
    height: 160px;
}
#build .upgradeHeader .buildingIllustration.g52,
#build .upgradeHeader .buildingIllustration.g52.carthaginian {
    background-image: url(../img_ltr/g/upgradeView/buildingIllustrations/carthaginian/g52.png);
    width: 241px;
    height: 160px;
}

body img.g51.carthaginian:not(.big) {
    background-image: url(../img_ltr/themes/default/buildings/carthaginian/g51.png);
}
body img.g52.carthaginian:not(.big) {
    background-image: url(../img_ltr/themes/default/buildings/carthaginian/g52.png);
}
body img.g51.carthaginian.big {
    background-image: url(../img_ltr/global/buildings/carthaginian/big/g51.png);
    width: 184px;
    height: 123px;
    background-size: 160px 120px;
}
body img.g52.carthaginian.big {
    background-image: url(../img_ltr/global/buildings/carthaginian/big/g52.png);
    width: 184px;
    height: 123px;
}
/* Build menu / upgrade logos without tribe class still get Carthage art */
body img.build_logo.big.g51,
body img.build_logo.building.big.g51 {
    background-image: url(../img_ltr/global/buildings/carthaginian/big/g51.png);
    width: 184px;
    height: 123px;
}
body img.build_logo.big.g52,
body img.build_logo.building.big.g52 {
    background-image: url(../img_ltr/global/buildings/carthaginian/big/g52.png);
    width: 184px;
    height: 123px;
}
body img.g50.carthaginian.big {
    background-image: url(../img_ltr/global/buildings/carthaginian/big/g50.png);
    width: 160px;
    height: 120px;
}

body[data-theme='default'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g51.carthaginian {
    background-image: url(../img_ltr/themes/default/buildings/carthaginian/g51.png);
}
body[data-theme='default'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g52.carthaginian {
    background-image: url(../img_ltr/themes/default/buildings/carthaginian/g52.png);
}
body[data-theme='night'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g51.carthaginian {
    background-image: url(../img_ltr/themes/night/buildings/carthaginian/g51.png);
}
body[data-theme='night'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g52.carthaginian {
    background-image: url(../img_ltr/themes/night/buildings/carthaginian/g52.png);
}
body[data-theme='winter'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g51.carthaginian {
    background-image: url(../img_ltr/themes/winter/buildings/carthaginian/g51.png);
}
body[data-theme='winter'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g52.carthaginian {
    background-image: url(../img_ltr/themes/winter/buildings/carthaginian/g52.png);
}

/* Punic wall layers */
body[data-village-perspective='perspectiveBuildings'][data-theme='default']
    #background
    .behindContent
    .wall.carthaginian {
    width: 794px;
    height: 540px;
    background-image:
        url(../img_ltr/themes/default/buildings/carthaginian/g50Bottom.png),
        url(../img_ltr/themes/default/buildings/carthaginian/g50Top.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='default']
    #background
    .behindContent
    .wall.carthaginian.isCity {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/default/buildings/carthaginian/g50Bottom_city.png),
        url(../img_ltr/themes/default/buildings/carthaginian/g50Top_city.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='default']
    #background
    .behindContent
    .wall.carthaginian.isCity.hasWatchtowers {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/default/buildings/carthaginian/g50Bottom_city_watchTowers.png),
        url(../img_ltr/themes/default/buildings/carthaginian/g50Top_city_watchTowers.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='default']
    #background
    .behindContent
    .wall.carthaginian.isShore {
    width: 794px;
    height: 540px;
    background-image:
        url(../img_ltr/themes/default/buildings/carthaginian/g50Bottom_shore.png),
        url(../img_ltr/themes/default/buildings/carthaginian/g50Top_shore.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='default']
    #background
    .behindContent
    .wall.carthaginian.isShore.isCity {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/default/buildings/carthaginian/g50Bottom_shore_city.png),
        url(../img_ltr/themes/default/buildings/carthaginian/g50Top_shore_city.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='default']
    #background
    .behindContent
    .wall.carthaginian.isShore.isCity.hasWatchtowers {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/default/buildings/carthaginian/g50Bottom_shore_city_watchTowers.png),
        url(../img_ltr/themes/default/buildings/carthaginian/g50Top_shore_city_watchTowers.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='night']
    #background
    .behindContent
    .wall.carthaginian {
    width: 794px;
    height: 540px;
    background-image:
        url(../img_ltr/themes/night/buildings/carthaginian/g50Bottom.png),
        url(../img_ltr/themes/night/buildings/carthaginian/g50Top.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='night']
    #background
    .behindContent
    .wall.carthaginian.isCity {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/night/buildings/carthaginian/g50Bottom_city.png),
        url(../img_ltr/themes/night/buildings/carthaginian/g50Top_city.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='night']
    #background
    .behindContent
    .wall.carthaginian.isCity.hasWatchtowers {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/night/buildings/carthaginian/g50Bottom_city_watchTowers.png),
        url(../img_ltr/themes/night/buildings/carthaginian/g50Top_city_watchTowers.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='night']
    #background
    .behindContent
    .wall.carthaginian.isShore {
    width: 794px;
    height: 540px;
    background-image:
        url(../img_ltr/themes/night/buildings/carthaginian/g50Bottom_shore.png),
        url(../img_ltr/themes/night/buildings/carthaginian/g50Top_shore.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='night']
    #background
    .behindContent
    .wall.carthaginian.isShore.isCity {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/night/buildings/carthaginian/g50Bottom_shore_city.png),
        url(../img_ltr/themes/night/buildings/carthaginian/g50Top_shore_city.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='night']
    #background
    .behindContent
    .wall.carthaginian.isShore.isCity.hasWatchtowers {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/night/buildings/carthaginian/g50Bottom_shore_city_watchTowers.png),
        url(../img_ltr/themes/night/buildings/carthaginian/g50Top_shore_city_watchTowers.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='winter']
    #background
    .behindContent
    .wall.carthaginian {
    width: 794px;
    height: 540px;
    background-image:
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Bottom.png),
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Top.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='winter']
    #background
    .behindContent
    .wall.carthaginian.isCity {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Bottom_city.png),
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Top_city.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='winter']
    #background
    .behindContent
    .wall.carthaginian.isCity.hasWatchtowers {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Bottom_city_watchTowers.png),
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Top_city_watchTowers.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='winter']
    #background
    .behindContent
    .wall.carthaginian.isShore {
    width: 794px;
    height: 540px;
    background-image:
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Bottom_shore.png),
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Top_shore.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='winter']
    #background
    .behindContent
    .wall.carthaginian.isShore.isCity {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Bottom_shore_city.png),
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Top_shore_city.png);
}
body[data-village-perspective='perspectiveBuildings'][data-theme='winter']
    #background
    .behindContent
    .wall.carthaginian.isShore.isCity.hasWatchtowers {
    width: 802px;
    height: 602px;
    background-image:
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Bottom_shore_city_watchTowers.png),
        url(../img_ltr/themes/winter/buildings/carthaginian/g50Top_shore_city_watchTowers.png);
}

body[data-theme='default'] #contentOuterContainer .village2 #villageContent .buildingSlot img.g40 {
    top: -171px;
    right: -200px;
}
body[data-theme='default'] #contentOuterContainer .village2 #villageContent .buildingSlot.g40 svg {
    top: -60px;
}

/* Crop balance: per-unit upkeep rows */
#content.production .balanceTroops tr.unitCropRow td.unitCropLabel {
    padding-inline-start: 1.5em;
    font-weight: normal;
}
#content.production .balanceTroops tr.unitCropRow .unitCropMeta {
    opacity: 0.75;
    font-size: 0.92em;
}
#content.production .balanceTroops tr.unitCropRow img.unit {
    vertical-align: middle;
}
