/*!* Civitas empire-building game.
*
* @author sizeof(cat) <sizeofcat AT riseup.net>
* @copyright 2012 - 2021 sizeof(cat)
* @version 0.3.0.1202021
* @license GPL-3.0-or-later*/.scale{animation:scale-frames linear 1s;animation-iteration-count:1;transform-origin:50% 50%}@keyframes scale-frames{0%{transform:rotate(0) scaleX(1) scaleY(1)}10%{transform:rotate(-3deg) scaleX(0.9) scaleY(0.9)}20%{transform:rotate(-3deg) scaleX(0.8) scaleY(0.8)}30%{transform:rotate(3deg) scaleX(0.7) scaleY(0.7)}40%{transform:rotate(-3deg) scaleX(0.6) scaleY(0.6)}50%{transform:rotate(3deg) scaleX(0.5) scaleY(0.5)}60%{transform:rotate(-3deg) scaleX(0.5) scaleY(0.5)}70%{transform:rotate(3deg) scaleX(0.6) scaleY(0.6)}80%{transform:rotate(-3deg) scaleX(0.7) scaleY(0.7)}90%{transform:rotate(3deg) scaleX(0.8) scaleY(0.8)}100%{transform:rotate(0) scaleX(0.9) scaleY(0.9)}}.poof{animation:poof-frames linear 1s;animation-iteration-count:1;transform-origin:50% 50%}@keyframes poof-frames{0%{transform:rotate(0) scaleX(1) scaleY(1)}10%{transform:rotate(-3deg) scaleX(0.9) scaleY(0.9)}20%{transform:rotate(-3deg) scaleX(0.8) scaleY(0.8)}30%{transform:rotate(3deg) scaleX(0.7) scaleY(0.7)}40%{transform:rotate(-3deg) scaleX(0.6) scaleY(0.6)}50%{transform:rotate(3deg) scaleX(0.5) scaleY(0.5)}60%{transform:rotate(-3deg) scaleX(0.4) scaleY(0.4)}70%{transform:rotate(3deg) scaleX(0.3) scaleY(0.3)}80%{transform:rotate(-3deg) scaleX(0.2) scaleY(0.2)}90%{transform:rotate(3deg) scaleX(0.1) scaleY(0.1)}100%{transform:rotate(0) scaleX(0) scaleY(0)}}@font-face{font-family:lumberjack;src:url(../fonts/lumberjack.woff2) format("woff2"),url(../fonts/lumberjack.woff) format("woff");font-weight:400;font-style:normal}*{user-select:none;font-family:Lumberjack}a{color:#fff;text-decoration:none}body{margin:0;padding:0;font-style:normal;font-weight:400;overflow:hidden;background-color:#000;font-size:14px}body>p{display:none}ul,li{margin:0;padding:0;list-style-type:none}.clearfix{clear:both}:focus{outline:0}::-moz-focus-inner{border:0}p{margin-top:0}input[type=range]{width:100%;margin:10px 0 0}input[type=range]:focus{outline:0}input[type=range]::-webkit-slider-runnable-track{width:100%;height:8px;cursor:pointer;background-color:#9b6b46;border-radius:2px;border:1px solid #9b6b46}input[type=range]::-webkit-slider-thumb{height:16px;width:16px;border:1px solid #442813;border-radius:100%;background-color:#000;cursor:pointer;margin-top:-5px}input[type=range]:focus::-webkit-slider-runnable-track{background-color:#9b6b46}input[type=range]::-moz-range-track{width:100%;height:14px;cursor:pointer;background-color:#9b6b46;border-radius:2px;border:1px solid #9b6b46}input[type=range]::-moz-range-thumb{height:16px;width:16px;border:1px solid #442813;border-radius:100%;background:#442813;cursor:pointer}input[type=range]:focus::-moz-slider-runnable-track{background:#9b6b46}input[type=number].small,input[type=password].small,input[type=text].small{width:70px}input[type=text],input[type=number],select{border:1px solid #c0a582;background:#c0a582;color:#000;padding:2px 6px;font-size:12px;border-radius:0}.ui{width:100%;height:100%;position:relative}.ui>header{width:100%;height:48px;left:0;z-index:9999;top:0;position:fixed;box-sizing:border-box}.ui>header .resource-panel{width:65%;position:absolute;top:0;right:0;padding:8px 12px 14px 0;font-size:16px}.ui>header .resource-panel .resource{float:right}.ui>header .resource-panel .resource .amount{color:#bababa;padding:0 2px 0 4px}.ui>header .resource-panel img{height:24px;width:24px;display:inline-block;vertical-align:middle;line-height:24px;text-align:center;margin-right:6px}.ui>header .top-panel{width:30%;position:absolute;top:0;left:0;padding:8px 0 14px 12px;color:#bababa;font-size:16px;text-align:left}.ui>header .top-panel .resource{float:left}.ui>header .top-panel .resource .amount{color:#bababa;padding:0 2px 0 4px}.ui>header .top-panel img{height:24px;width:24px;display:inline-block;vertical-align:middle;line-height:24px;text-align:center;margin-right:6px}.ui>footer{background-color:transparent;position:fixed;bottom:0;z-index:9999}.ui>footer>a{width:52px;height:52px;margin:0 5px 0 0;cursor:pointer;float:left;background-size:52px;background-repeat:no-repeat;background-color:transparent}.ui .game{position:relative;z-index:99;width:3549px;height:1824px;overflow:hidden}.ui .game .building{width:160px;height:160px;cursor:pointer;position:absolute;background-size:160px;background-color:transparent;background-repeat:no-repeat;background-position:50%}.ui .game .building.large{width:260px;height:260px;background-size:260px}.ui .game .building .notification{width:46px;height:46px;position:absolute;top:45%;left:45%}.ui dd img{vertical-align:middle;margin-left:4px}.ui dt img{vertical-align:middle}.ui a.disabled{background-color:#878787;color:#4e2c12;cursor:default}.ui .hidden,.ui .espionage-rel{display:none}.ui .range-combo input[type=range],.ui .select-combo select{float:left;width:60%!important;padding:4px 0}.ui .range-combo input[type=text],.ui .select-combo input[type=number]{float:right;width:40px;text-align:center;padding:4px 0}.ui .select-combo input[type=button]{float:right;border:1px solid #c0a582;border-left:1px solid #000;background-color:#c0a582;padding:4px;font-size:12px;cursor:pointer;border-top-right-radius:3px;border-bottom-right-radius:3px}.ui .range-combo input[type=text].espionage-chance{width:26px;border-right:0}.ui .range-combo input[type=text].espionage-value{border-top-right-radius:3px;border-bottom-right-radius:3px}.ui span.green{color:#008a0b}.ui span.red{color:#f00000}.ui span.blue{color:#5d5def}.ui .viewport{top:48px;position:relative;overflow:hidden}.loading{display:none;position:fixed;top:10px;right:10px;background-color:#000;height:46px;width:46px;z-index:99999999}.hr{border-top:1px solid #ccc;padding-top:5px;margin-top:5px;clear:both;height:0}.float-left{float:left}.float-right{float:right}img.avatar{border-radius:100%;border:0;padding:0;width:90px;height:90px}img.avatar.small{width:64px;height:64px}img.avatar.right{float:right;margin:0 10px 0 0}img.small{width:20px;height:20px}p.title,p span.title{font-size:14px}p.description,p span.description{font-size:12px}dl.nomg{margin:0!important}td.icon{width:60px}a.github{width:32px;height:32px;display:inline-block}a.wikipedia{width:20px;height:20px;display:inline-block}.ui>footer{padding:8px 8px 0;position:fixed;bottom:0}.ui>footer a{display:inline-block;text-indent:-999em}.ui>header{color:#fff;padding:5px 10 16px}.character-info{position:fixed;top:48px;left:0;padding:15px;z-index:999;font-size:28px;text-shadow:-1px -1px #201106;color:#fff;white-space:nowrap}.character-info small{font-size:18px;display:block}.avatar-banner{float:left;margin-right:10px;width:86px;height:86px;padding:9px;border-radius:50%}.avatar-banner span{width:86px;height:86px;display:block;background-size:cover;border-radius:50%}.character-info:after{content:"";width:104px;height:108px;position:absolute;left:15px;margin-top:10px;z-index:-1;filter:hue-rotate(0)}.character-info.right{left:auto;right:0;text-align:right}.character-info.right .avatar-banner{float:right;margin-right:0;margin-left:10px}.character-info.right:after{right:15px;left:auto}.ui .cityavatar{cursor:pointer}.modal-overlay{width:100%;height:100%;position:fixed;top:0;display:none;z-index:999998;background-position:0 0;background-repeat:repeat;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiOAMAANUAz5n+TlUAAAAASUVORK5CYII=)}.modal-overlay .modal{width:500px;margin-left:auto;margin-right:auto;z-index:999999;position:absolute;color:#666;display:none;box-shadow:0 0 5px #000}.modal-overlay .modal>header{background-image:linear-gradient(to bottom,#9b6b46,#6a4324);color:#fff;font-size:18px;padding:4px 10px;text-align:left;text-transform:uppercase}.modal-overlay .modal>section{background-color:#fff;border-bottom:1px solid #ccc;min-height:50px;padding:20px;text-align:left}.modal-overlay .modal>footer{background-color:#f0f0f0;padding:10px}.modal-overlay .modal .btn{border-radius:3px;padding:4px 10px;color:#fff!important;text-transform:uppercase;text-align:center;font-size:14px;display:inline-block;border:1px solid #6a4324;background-image:linear-gradient(to bottom,#9b6b46,#6a4324);color:#fff}.modal-overlay .modal .btn:hover{border:1px solid #442813;background-image:linear-gradient(to bottom,#6a4324,#442813);color:#fff}.notifications{position:fixed;top:50px;right:10px;width:360px;z-index:99999}.achievements-notifications{position:fixed;bottom:70px;width:340px;z-index:99998}.notifications .notty,.achievements-notifications .notty,.achievement{padding:10px;margin-bottom:10px;color:#454545;font-size:14px;background-color:#dcdce6;box-shadow:0 0 2px #000;position:relative;overflow:hidden;opacity:.9}.achievement.has{border-radius:4px;background-color:#c6c438;background-image:linear-gradient(to bottom,#f5f36b,#c6c438)}.achievement{opacity:1}.achievements-list .achievement{width:350px;float:left;margin-right:10px;min-height:70px;max-height:80px;border-radius:4px}.achievements-list .achievement:nth-child(even){margin-right:0}.achievements-list{padding:10px 0;max-height:420px;overflow:auto}.achievement{border-radius:60px;background:linear-gradient(to bottom,#e5e5e5 0,#8e8e8e 100%)}.achievements-notifications .notty{border-radius:60px;background-image:linear-gradient(to bottom,#e0e000,#c7c538);box-shadow:0 0 2px #000}.notifications .notty.error{background-color:#e194a0}.notifications .notty.event{background-color:#76bce5}.notifications .notty.research{background-color:#78e2d1}.notifications .notty.religion{background-color:#c79bfd}.notifications .notty .hide,.achievements-notifications .notty .hide{position:absolute;display:inline-block;height:24px;width:24px;right:0;top:0;padding:0;cursor:pointer;display:none;margin:6px}.achievements-notifications .notty .hide{top:14px;right:6px}.notifications .notty .right,.achievements-notifications .notty .right,.achievement div.right{width:79%;height:100%;float:left;display:block!important}.notifications .notty .left,.achievements-notifications .notty .left,.achievement div.left{height:100%;float:left;display:block!important}.notifications .notty .time-ago,.achievement .time-ago{font-size:9px;position:relative;float:right}.notifications .notty .right .time-ago,.achievement .right .time-ago{margin-right:10px}.notifications .notty .left,.achievements-notifications .notty .left,.achievement .left{width:20%}.notifications .notty .right .inner,.achievements-notifications .notty .right .inner,.achievement .right .inner{padding-left:10px;font-size:12px}.notifications .notty .left .img:after{content:'';background:#000;background:linear-gradient(transparent,rgba(0,0,0,0.6),transparent);width:1px;height:50px;position:absolute;right:-10px}.notifications .notty .left .img,.achievements-notifications .notty .left .img,.achievement .left .img{width:46px;background-size:auto 100%;height:46px;position:relative}.achievement .left .img{margin:0 auto}.achievement .left .points{font-size:14px;text-align:center}.notifications .notty:after,.achievements-notifications .notty:after,.achievement:after{content:".";visibility:hidden;display:block;clear:both;height:0;font-size:0}.notifications .notty h2,.achievements-notifications .notty h2,.achievement h2{margin:0 0 5px;font-size:18px;color:#454545;text-transform:uppercase}.ui .progress{border:1px solid #878787;background:#a8a8a8;line-height:100%;display:inline-block;position:relative;padding:0;padding:7px 10px;height:48px;border:0;width:100%!important;box-sizing:border-box}.ui .progress.small{width:200px;padding:4px 5px;height:25px}.ui .progress.big{width:400px}.ui .progress.large{width:400px;margin:0 auto;display:block}.ui .progress.small .bar{height:17px;line-height:17px;font-size:13px;border-radius:2px}.ui .progress.large .bar p{height:40px;font-size:20px}.ui .progress .bar{background-color:#6a4324;height:34px;line-height:34px;font-size:20px;border-radius:4px;border:0}.ui .progress .bar p{position:absolute;text-align:center;width:100%;margin:0;text-shadow:1px 1px 2px #000;color:#fff;line-height:inherit;font-size:inherit}.ui .progress .bar.good{background-color:#008a0b}.ui .progress .bar.bad{background-color:#d19900}.ui .progress .bar.vbad{background-color:#f00000}.ui .progress .bar.ubad{background-color:#8a0000}.ui .progress .bar.vgood{background-color:#0091ad}.ui .progress .bar.ugood{background-color:#5d5def}footer a[data-panel=trades]{background-image:url(../images/assets/ui/toolbar/trades.png)}footer a[data-panel=storage]{background-image:url(../images/assets/ui/toolbar/storage.png)}footer a[data-panel=buildings]{background-image:url(../images/assets/ui/toolbar/build.png)}footer a[data-panel=council]{background-image:url(../images/assets/ui/toolbar/council.png)}footer a[data-panel=world]{background-image:url(../images/assets/ui/toolbar/worldmap.png)}footer a[data-panel=ranks]{background-image:url(../images/assets/ui/toolbar/ranks.png)}footer a[data-panel=debug]{background-image:url(../images/assets/ui/toolbar/debug.png)}footer a[data-panel=help]{background-image:url(../images/assets/ui/toolbar/help.png)}.panel header .close{background:url(../images/ui/close.png) no-repeat}.panel footer .attack span{background:url(../images/assets/ui/icons/attack.png) no-repeat}.panel footer .spy span{background:url(../images/assets/ui/icons/spy.png) no-repeat}.panel footer .scout span{background:url(../images/assets/ui/icons/spy.png) no-repeat}.panel footer .ceasefire span{background:url(../images/assets/ui/icons/sign.png) no-repeat}.panel footer .claim span{background:url(../images/assets/ui/icons/upgrade.png) no-repeat}.panel footer .unclaim span{background:url(../images/assets/ui/icons/downgrade.png) no-repeat}.panel footer .caravan span{background:url(../images/assets/ui/icons/caravan.png) no-repeat}.panel footer .join span{background:url(../images/assets/ui/icons/home.png) no-repeat}.panel footer .alliance span{background:url(../images/assets/ui/icons/alliance.png) no-repeat}.panel footer .pact span{background:url(../images/assets/ui/icons/pact.png) no-repeat}.panel footer .start span{background:url(../images/assets/ui/icons/start.png) no-repeat}.panel footer .pause span{background:url(../images/assets/ui/icons/stop.png) no-repeat}.panel footer .demolish span{background:url(../images/assets/ui/icons/demolish.png) no-repeat}.panel footer .war span{background:url(../images/assets/ui/icons/war.png) no-repeat}.panel footer .upgrade span{background:url(../images/assets/ui/icons/upgrade.png) no-repeat}.panel footer .downgrade span{background:url(../images/assets/ui/icons/downgrade.png) no-repeat}.game .building .notification.error{background:url(../images/assets/ui/icons/notify-error.png) no-repeat}.game .building .notification.paused{background:url(../images/assets/ui/icons/notify-pause.png) no-repeat}.game .building .notification.requirements{background:url(../images/assets/ui/icons/notify-missing.png) no-repeat}.ach.img{background:url(../images/assets/ui/icon_achievement.png) no-repeat}.loading{background:url(../images/ui/loading.svg) no-repeat}.notifications .notty .hide,.achievements-notifications .notty .hide{background:url(../images/ui/close.png) no-repeat}.panel ul.advices li{background:url(../images/ui/check.png) no-repeat}.religion-list .religion{background:url(../images/assets/ui/religion.png) no-repeat 50%}.game{background:#000 url(../images/city/map.jpg) no-repeat}.panel td a.sbtn.start{background:url(../images/assets/ui/icons/start.png) no-repeat}.panel td a.sbtn.pause{background:url(../images/assets/ui/icons/stop.png) no-repeat}#window-battle .battleground{background:url(../images/battle/bg2.png) no-repeat}a.wikipedia{background:url(../images/ui/wikipedia.png) no-repeat}a.github{background:url(../images/ui/github.png) no-repeat}.window .avatar-select-top{background:url(../images/ui/avatar-background.png) no-repeat 50%}.window fieldset{background:url(../images/ui/border-top-left.png) no-repeat,url(../images/ui/border-top-right.png) no-repeat 100% 0,url(../images/ui/border-bottom-right.png) no-repeat 100% 100%,url(../images/ui/border-bottom-left.png) no-repeat 0 100%,url(../images/ui/border-top.png) repeat-x,url(../images/ui/border-right.png) repeat-y 100% 100%,url(../images/ui/border-bottom.png) repeat-x 100% 100%,url(../images/ui/border-left.png) repeat-y 0 100%,url(../images/ui/panel-background.png) repeat}.window .button{background:url(../images/ui/buttons-bg-corners.png) no-repeat -219px 0,url(../images/ui/buttons-bg-corners.png) no-repeat calc(100% + 131px) 0,url(../images/ui/buttons-bg.png) repeat-x}.window .button.highlight{background:url(../images/ui/buttons-bg-corners.png) no-repeat -219px -106px,url(../images/ui/buttons-bg-corners.png) no-repeat calc(100% + 131px) -106px,url(../images/ui/buttons-bg.png) repeat-x 0 -106px}.window .button.button-gray{background:url(../images/ui/buttons-bg-corners.png) no-repeat -219px -159px,url(../images/ui/buttons-bg-corners.png) no-repeat calc(100% + 131px) -159px,url(../images/ui/buttons-bg.png) repeat-x 0 -159px}.window .button.button-green{background:url(../images/ui/buttons-bg-corners.png) no-repeat -219px -212px,url(../images/ui/buttons-bg-corners.png) no-repeat calc(100% + 131px) -212px,url(../images/ui/buttons-bg.png) repeat-x 0 -212px}.window .button.button-blue{background:url(../images/ui/buttons-bg-corners.png) no-repeat -219px -265px,url(../images/ui/buttons-bg-corners.png) no-repeat calc(100% + 131px) -265px,url(../images/ui/buttons-bg.png) repeat-x 0 -265px}.window .button:hover{background:url(../images/ui/buttons-bg-corners.png) no-repeat -219px -53px,url(../images/ui/buttons-bg-corners.png) no-repeat calc(100% + 131px) -53px,url(../images/ui/buttons-bg.png) repeat-x 0 -53px!important}.ui>footer{background:url(../images/ui/border-top-left.png) no-repeat,url(../images/ui/border-top-right.png) no-repeat 100% 0,url(../images/ui/border-top.png) repeat-x,url(../images/ui/border-right.png) repeat-y 100% 100%,url(../images/ui/border-left.png) repeat-y 0 100%,url(../images/ui/panel-background.png) repeat}.ui>header{background:url(../images/ui/border-bottom.png) repeat-x 100% 100%,url(../images/ui/panel-background.png) repeat}.avatar-banner{background:url(../images/ui/avatar-banner-circle.png) no-repeat}.character-info:after{background:url(../images/ui/avatar-banner-flag.png) no-repeat}.ui .progress{background:url(../images/ui/progress-bar-corners-big.png) no-repeat -50px 0,url(../images/ui/progress-bar-corners-big.png) no-repeat calc(100% + 50px) 0,url(../images/ui/progress-bar-big.png) repeat-x}.ui .progress.small{background:url(../images/ui/progress-bar-corners-small.png) no-repeat -25px 0,url(../images/ui/progress-bar-corners-small.png) no-repeat calc(100% + 25px) 0,url(../images/ui/progress-bar-small.png) repeat-x}.ui .panel footer a{background:url(../images/ui/button-bg.png) no-repeat}.ui .panel header .close{background:url(../images/ui/panel-close.png) no-repeat}.ui .panel footer a.light-link{background:url(../images/ui/button-bg.png) no-repeat -100px 0}.ui .panel footer a.green-link{background:url(../images/ui/button-bg.png) no-repeat -150px 0}.ui .panel footer a.red-link{background:url(../images/ui/button-bg.png) no-repeat -200px 0}.ui .panel footer a.blue-link{background:url(../images/ui/button-bg.png) no-repeat -250px 0}.ui .panel footer a.indigo-link{background:url(../images/ui/button-bg.png) no-repeat -300px 0}.ui .panel footer a.orange-link{background:url(../images/ui/button-bg.png) no-repeat -350px 0}.ui .panel footer a:hover{background:url(../images/ui/button-bg.png) no-repeat -50px 0!important}.ui .panel{background:url(../images/ui/border-top-left.png) no-repeat,url(../images/ui/border-top-right.png) no-repeat 100% 0,url(../images/ui/border-bottom-right.png) no-repeat 100% 100%,url(../images/ui/border-bottom-left.png) no-repeat 0 100%,url(../images/ui/border-top.png) repeat-x,url(../images/ui/border-right.png) repeat-y 100% 100%,url(../images/ui/border-bottom.png) repeat-x 100% 100%,url(../images/ui/border-left.png) repeat-y 0 100%,url(../images/ui/panel-background.png) repeat}.ui>aside{background:url(../images/ui/border-left.png) repeat-y 0 100%,url(../images/ui/panel-background.png) repeat}.ui .btn,.ui-tabs .ui-tabs-nav .ui-tabs-anchor{background:url(../images/ui/tab-bg-corners.png) no-repeat -36px 0,url(../images/ui/tab-bg-corners.png) no-repeat calc(100% + 42px) 0,url(../images/ui/tab-bg.png) repeat-x}.ui .btn.gray,.ui-tabs .ui-tabs-nav li.gray .ui-tabs-anchor{background:url(../images/ui/tab-bg-corners.png) no-repeat -36px -108px,url(../images/ui/tab-bg-corners.png) no-repeat calc(100% + 42px) -108px,url(../images/ui/tab-bg.png) repeat-x 0 -108px}.ui .btn.green,.ui-tabs .ui-tabs-nav li.green .ui-tabs-anchor{background:url(../images/ui/tab-bg-corners.png) no-repeat -36px -144px,url(../images/ui/tab-bg-corners.png) no-repeat calc(100% + 42px) -144px,url(../images/ui/tab-bg.png) repeat-x 0 -144px}.ui .btn.blue,.ui-tabs .ui-tabs-nav li.blue .ui-tabs-anchor{background:url(../images/ui/tab-bg-corners.png) no-repeat -36px -180px,url(../images/ui/tab-bg-corners.png) no-repeat calc(100% + 42px) -180px,url(../images/ui/tab-bg.png) repeat-x 0 -180px}.ui .btn:hover,.ui-tabs .ui-tabs-nav .ui-tabs-anchor:hover{background:url(../images/ui/tab-bg-corners.png) no-repeat -36px -36px,url(../images/ui/tab-bg-corners.png) no-repeat calc(100% + 42px) -36px,url(../images/ui/tab-bg.png) repeat-x 0 -36px!important}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{background:url(../images/ui/tab-bg-corners.png) no-repeat -36px -72px,url(../images/ui/tab-bg-corners.png) no-repeat calc(100% + 42px) -72px,url(../images/ui/tab-bg.png) repeat-x 0 -72px!important}table{width:100%;padding:0;border-spacing:1px;border-collapse:separate}table td{text-align:left;vertical-align:middle;padding:10px}table thead td,table tfoot td{padding:10px}table tr.notify{background-color:#8a0000}table td.center{text-align:center}table td img{vertical-align:middle}table tbody tr:hover{background-color:rgba(149,96,35,.4);color:#fff;opacity:1}table tr:hover td:first-child a{color:#fff}table tr td:last-child a{border-radius:3px;padding:4px 10px;color:#fff!important;text-transform:uppercase;text-align:center;font-size:14px;text-decoration:none!important;display:inline-block}table tr td a.disabled{display:none}table tr td.large{width:45%}table tr td.medium{width:25%}table td a.sbtn{width:28px;height:28px;padding:0!important;border:0!important;background-size:contain!important}table thead td,table tfoot td{background-color:rgba(0,0,0,.5);color:#fff}table tr td:last-child a{border:1px solid #6a4324;background-image:linear-gradient(to bottom,#9b6b46,#6a4324);color:#fff}table tr td:last-child a:hover{border:1px solid #442813;background-image:linear-gradient(to bottom,#6a4324,#442813);color:#fff}.tabs>ul>li{float:left}.tabs>ul>li>a{color:#454545;text-decoration:none;padding:6px 8px;display:block}.tabs ul li.ui-tabs-active a{color:#fff!important}.tabs ul li.ui-tabs-active{background-image:linear-gradient(to bottom,#9b6b46,#6a4324);color:#fff}.ui-tabs-panel>p,.ui-tabs-panel>div>p{margin-top:10px}.ui-tabs-panel .contents{max-height:340px;overflow:auto}.ui-tabs-panel:after,.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-tabs-panel:after,.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-tabs-panel{position:relative;margin-top:10px}.ui-tabs-panel>span{display:inline-block;padding:4px 10px}.ui-tabs .ui-tabs-nav li{position:relative;margin-right:2px}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{font-size:14px;color:#fff;text-decoration:none;text-shadow:-1px -1px #201106;font-weight:300;position:relative;padding:8px 20px}.tipsy{font-size:12px;position:absolute;padding:5px;z-index:100000}.tipsy-inner{background-color:#fff;color:#000;max-width:280px;padding:10px;text-align:left}.tipsy-inner{border-radius:3px}.tipsy-inner{box-shadow:0 0 5px #bababa}.tipsy-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #fff}.tipsy-arrow-n{border-bottom-color:#fff}.tipsy-arrow-s{border-top-color:#fff}.tipsy-arrow-e{border-left-color:#fff}.tipsy-arrow-w{border-right-color:#fff}.tipsy-n .tipsy-arrow{top:0;left:50%;margin-left:-5px;border-bottom-style:solid;border-top:0;border-left-color:transparent;border-right-color:transparent}.tipsy-nw .tipsy-arrow{top:0;left:10px;border-bottom-style:solid;border-top:0;border-left-color:transparent;border-right-color:transparent}.tipsy-ne .tipsy-arrow{top:0;right:10px;border-bottom-style:solid;border-top:0;border-left-color:transparent;border-right-color:transparent}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-top-style:solid;border-bottom:0;border-left-color:transparent;border-right-color:transparent}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;border-top-style:solid;border-bottom:0;border-left-color:transparent;border-right-color:transparent}.tipsy-se .tipsy-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:0;border-left-color:transparent;border-right-color:transparent}.tipsy-e .tipsy-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:0;border-top-color:transparent;border-bottom-color:transparent}.tipsy-w .tipsy-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:0;border-top-color:transparent;border-bottom-color:transparent}.tipsy.item .tipsy-inner{background-color:#4e2c12;opacity:.98;color:#fff}.tipsy.item .tipsy-arrow{border:5px dashed #4e2c12}.tipsy.item .tipsy-arrow-n{border-bottom-color:#4e2c12}.tipsy.item .tipsy-arrow-s{border-top-color:#4e2c12}.tipsy.item .tipsy-arrow-e{border-left-color:#4e2c12}.tipsy.item .tipsy-arrow-w{border-right-color:#4e2c12}.tipsy.item h4{font-size:14px;padding:0;margin:0 0 10px}.tipsy.item span.flavour{font-style:italic;color:#ffd000}.ui .panel{position:fixed;top:30%;left:30%;z-index:99997;background-color:#150f0c;min-width:220px;max-width:360px;min-height:100px;max-height:460px;color:#fff;padding:20px;box-shadow:0 0 10px #000}.ui .panel header{text-transform:uppercase;margin-bottom:10px;cursor:move;font-size:18px;text-shadow:-1px -1px #201106;font-weight:300;padding:0}.ui .panel header a{width:24px;height:24px;display:block;float:right;cursor:pointer}.ui .panel section{font-size:12px}.ui .panel section dl{margin:10px auto}.ui .panel section dt{float:left;text-align:right;width:45%;line-height:20px;margin-bottom:5px}.ui .panel section dd{margin-left:50%;line-height:20px;margin-bottom:5px}.ui .panel section .buildings.left{width:680px;float:left;position:relative}.ui .panel section .buildings-info.right{display:none;float:left;width:440px;margin-left:10px}.ui .panel footer{clear:both;border:1px solid #6e5036;border-top:0;background-color:#150f0c;padding:0 10px 10px;margin-top:-2px}.ui .panel footer a{width:46px;height:46px;display:inline-block;cursor:pointer;margin-right:8px;border-radius:10px}.ui .panel footer a:hover{background-color:#a1805e}.ui .panel .toolbar{margin-top:10px;clear:both;font-size:14px}.ui .panel .toolbar .btn{font-size:14px;color:#fff;text-decoration:none;text-shadow:-1px -1px #201106;font-weight:300;position:relative;padding:8px 20px;text-transform:uppercase;text-align:center;display:inline-block;cursor:pointer;text-decoration:none}.ui .panel .toolbar .btn.iblock{display:inline-block;width:auto;margin-right:4px}.ui .panel a{color:#fff;text-decoration:underline}.ui .panel .section{padding:20px}.ui .panel fieldset{border:1px solid #6e5036;margin-bottom:10px}.ui .panel fieldset legend{padding:0 10px;margin:auto}.ui .panel fieldset select{width:100%;border:1px solid #ababab;padding:4px 0}.ui .panel fieldset p{margin:10px 0 0}.ui .panel .b-name{font-size:26px;margin:0 0 10px}.ui .panel .army-item-inc,.ui .panel .army-item-dec,.ui .panel .navy-item-inc,.ui .panel .navy-item-dec{width:20px;height:20px;border:1px solid #ababab;position:absolute;text-decoration:none}.ui .panel .army-item-inc,.ui .panel .navy-item-inc{left:0;top:0;background-color:#008a0b;border-bottom-right-radius:20px}.ui .panel .army-item-dec,.ui .panel .navy-item-dec{right:0;top:0;background-color:#f00000;border-bottom-left-radius:20px}.ui .panel .army-recruiter,.ui .panel .navy-recruiter{width:630px;float:right;padding:10px 0 0;max-height:410px;overflow:auto}.ui .panel .navy-item,.ui .panel .army-item,.ui .panel .storage-item{width:75px;height:75px;float:left;text-align:center;margin:0 4px 4px 0;position:relative;box-shadow:inset 0 0 30px 0 #4e2c12;border-radius:4px;font-size:11px}.ui .panel .storage-item:hover{box-shadow:inset 0 0 30px 0 rgba(78,44,18,.3)}.ui .panel .navy-item,.ui .panel .army-item{width:65px;height:65px;font-size:11px;position:relative}.ui .panel .storage-item.small{width:46px;height:46px;font-size:11px;padding:4px;float:none;display:inline-block}.ui .panel .storage-item .title{width:100%;display:inline-block;width:100%;padding-top:4px;font-size:12px}.ui .panel .navy-item span.amount,.ui .panel .army-item span.amount,.ui .panel .storage-item span.amount{position:absolute;bottom:0;right:4px}.ui .panel .navy-item img{margin:8px auto 0}.ui .panel .army-item img{margin:15px auto 0}.ui .panel .storage-item.small img{margin:4px auto 0;width:32px;height:32px}.ui .panel .storage-item img{width:32px}.ui .panel .settlements-list{overflow:auto;max-height:415px}.ui .panel .column{width:290px;float:left}.ui .panel .column-small{width:215px;float:left}.ui .panel .column-full{width:440px;clear:both}.ui .panel .column-small:nth-child(2){margin-left:10px}.ui .panel .column:last-of-type{margin-left:10px}.ui .panel .army-list,.ui .panel .navy-list{float:left;width:140px;padding:10px 0 0}.ui .panel .army-recruiter fieldset,.ui .panel .navy-recruiter fieldset{display:block;float:left;margin:0 10px 10px 0;width:176px;position:relative}.ui .panel .army-recruiter fieldset:nth-child(3n){margin-right:0!important}.ui .panel .army-recruiter fieldset>img,.ui .panel .navy-recruiter fieldset>img{float:right;cursor:pointer;bottom:10px;right:10px;position:absolute}.ui .panel .army-recruiter fieldset .info,.ui .panel .navy-recruiter fieldset .info{float:right;width:100px;margin-left:10px}.ui .panel .army-recruiter fieldset .cost,.ui .panel .navy-recruiter fieldset .cost{float:left;width:60px}.ui .panel ul.advices{max-height:300px;display:block;margin:0;padding:10px 0 0;overflow:auto}.ui .panel ul.advices li{line-height:30px;padding-left:50px}.ui .panel .hired-mercenaries-list{max-height:370px;overflow:auto}.ui .panel header .close{display:block;float:right;height:24px;width:24px;display:block;overflow:hidden;text-indent:-9999em}.ui .panel header .close:hover{background-position:0 100%}.ui .panel section{border:1px solid #6e5036;background-color:#150f0c;padding:8px}.ui .panel footer a{display:inline-block;width:32px;height:32px;line-height:32px;text-align:center;padding:9px}.ui .panel footer a span{width:32px;height:32px;line-height:32px;display:block;background-size:cover}.ui .panel footer a+a{margin-right:10px}.ui .panel footer a img{display:block}.ui .panel .column.preview-image img{max-width:290px}.ui .panel section:after{clear:both}.ui .panel .preview-image{height:300px;position:relative}.ui .panel .preview-image img{max-width:100%;max-height:200px;width:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#panel-new-spy,#panel-new-scout,#panel-new-caravan{max-width:660px;max-height:600px;width:280px}#panel-new-army{max-width:660px;max-height:600px}#panel-academy{max-height:700px;max-width:620px;width:620px}#panel-academy .column-left{width:290px;max-height:400px;overflow:auto;margin-top:10px;float:left}#panel-academy .column-right{width:298px;float:left;margin-left:10px}#panel-academy .technology{cursor:pointer;float:left;margin:4px}#panel-academy .technology.selected{opacity:1}#panel-academy .technology.selected img{box-shadow:inset 0 0 30px 0 #008a0b}#panel-academy .technology.has img{box-shadow:inset 0 0 10px 0 #f00000}#panel-academy .technology img{width:46px;height:46px;border-radius:100%;padding:10px;box-shadow:inset 0 0 10px 0 #008a0b}#panel-church h2,#panel-embassy h2,#panel-academy h2{text-align:center}#panel-tavern{max-height:700px;max-width:640px;width:640px}#panel-embassy{max-height:600px;max-width:720px;width:720px}#panel-church{max-height:600px;max-width:620px;width:620px}#panel-help .ui-tabs-panel li>a,#panel-help p>a{text-decoration:underline}#panel-ranks{width:300px}#panel-ranks .ranks-list{height:300px;overflow:auto}#panel-church .religion-list{padding:20px}#panel-church .religion-list .religion:nth-child(4),#panel-church .religion-list .religion:nth-child(8){margin-right:0}#panel-church .religion-list .religion{border-radius:100%;width:128px;height:128px;margin:0 10px 10px 0;float:left;box-shadow:inset 0 0 10px 0 #008a0b;position:relative;cursor:pointer}#panel-church .religion-list .religion.selected{box-shadow:inset 0 0 30px 0 #008a0b}#panel-church .religion-list .religion span{position:absolute;bottom:0;padding-bottom:20px;width:128px;text-align:center}#panel-new-caravan .caravan-resources{overflow:auto;max-height:200px}#panel-tavern .hero-list{width:70px;padding:10px 20px}#panel-tavern .hero-info{width:300px;padding:20px}#panel-tavern .hero-items{width:160px;padding:0}#panel-tavern .hero-items .slot{width:46px;height:50px;font-size:11px;float:left;text-align:center;margin:0 4px 4px 0;position:relative;box-shadow:inset 0 0 3px 0 rgba(0,0,0,.75);font-size:34px}#panel-tavern .hero-info h3{margin:0 0 10px}#panel-campaign{min-width:400px}#panel-place{width:490px;max-width:490px;max-height:600px;height:auto}#panel-barracks,#panel-shipyard{width:790px;max-width:790px;height:auto;max-height:600px}#panel-council section dd,#panel-barracks section dd,#panel-shipyard section dd{width:auto}#panel-buildings{max-width:1190px;max-height:650px;height:auto;width:690px}#panel-buildings .b-desc{margin-bottom:10px}#panel-buildings.expanded{width:1150px!important}#panel-buildings .building-item{width:160px;height:160px;float:left;text-align:center;margin:0 10px 10px 0;position:relative;background-color:#eccfb6;border-radius:8px;cursor:pointer;border-top-right-radius:0}#panel-buildings .building-item:nth-child(4n){margin-right:0}#panel-buildings .building-item:after{display:block;background:0 0;border:10px solid #008a0b;border-bottom:10px solid transparent;border-left:10px solid transparent;content:"";position:absolute;top:0;right:0}#panel-buildings .building-item.disabled:after{display:block;background:0 0;border:10px solid #8a0000;border-bottom:10px solid transparent;border-left:10px solid transparent;content:"";position:absolute;top:0;right:0}#panel-buildings .building-item.disabled img{filter:grayscale(1);opacity:.6}#panel-buildings .building-item.active{box-shadow:inset 0 0 30px 0 #008a0b}#panel-buildings .building-item .title{padding-top:6px;display:inline-block;color:#4e2c12;font-size:14px}#panel-buildings .building-item img.building{width:130px;position:absolute;bottom:0;left:50%;transform:translate(-50%,-10px)}#panel-buildings .bldg-tabs{padding:10px 0 0;overflow:auto;max-height:534px}#panel-council{width:770px;max-width:770px;height:auto;max-height:550px}#tab-production{overflow:auto;max-height:460px}#panel-debug{max-width:600px;width:600px;height:auto;max-height:420px}#panel-debug .console{overflow:auto;max-height:300px}#panel-debug .console p{padding:2px 5px;margin:2px 0 0;line-height:26px}#panel-debug .console span{padding:2px 6px;margin-right:6px;border-radius:6px}#panel-debug .console span.error{background-color:#f00000;color:#fff}#panel-debug .console span.error-message{background-color:#f00000;color:#fff}#panel-debug .console span.log-message{color:#454545;background-color:#fff}#panel-debug .console span.date{background-color:#0091ad}#panel-debug .console span.namespace{background-color:#f00000;color:#fff}#panel-debug .console span.namespace.game-ui{background-color:#b293fb;color:#454545}#panel-debug .console span.namespace.game-world{background-color:#5d5def}#panel-debug .console span.namespace.game-achievement{background-color:#008a0b}#panel-debug .console span.namespace.game-event{background-color:#0091ad;color:#454545}#panel-debug textarea{width:100%;height:200px;padding:5px;border:0;box-shadow:inset 0 0 10px 0 rgba(0,0,0,.75);font-size:10px;resize:none!important;box-sizing:border-box}#panel-help{max-width:800px;width:800px;height:auto;max-height:620px}#panel-help fieldset{float:right;width:200px;margin:20px}#panel-help fieldset li{font-size:14px;line-height:24px}#panel-help .ui-tabs-panel{max-height:510px;overflow:auto}#panel-help .ui-tabs-panel p,#panel-help .ui-tabs-panel li{font-size:13px;line-height:20px}#panel-help img.help{width:200px}#panel-help h3{font-size:20px}#panel-settlement{width:600px;max-width:600px;max-height:600px;height:auto}#panel-building{max-height:600px;max-width:1400px}#panel-place footer a.claim,#panel-place footer a.unclaim,#panel-place footer a.scout,#panel-place footer a.caravan,#panel-settlement footer a.attack,#panel-settlement footer a.caravan,#panel-settlement footer a.spy,#panel-settlement footer a.alliance,#panel-settlement footer a.pact,#panel-settlement footer a.join,#panel-settlement footer a.war,#panel-settlement footer a.ceasefire{display:none}.ui>aside{color:#fff;position:absolute;padding:0 0 0 10px;position:fixed;top:48px;right:0;bottom:0;z-index:999;background-color:#150f0c;height:100%;box-sizing:border-box}.ui>aside .panel{position:static;top:0;left:0;z-index:99997;background-color:#eccfb6;padding:10px;box-shadow:0 0 0 transparent;width:310px;background:0;max-height:100%}.ui>aside .panel header{cursor:default;padding:0}.ui>aside .panel section{height:calc(100% - 81px)}.ui>aside .panel section p{text-align:justify}.ui>aside .panel .column{border-bottom:1px solid #6e5036;margin-bottom:10px;width:100%!important;float:none}.ui>aside .panel .column:last-of-type{margin-left:0!important}.ui>aside:empty{display:none}#panel-storage{max-width:650px;width:650px;max-height:700px;height:auto}#panel-storage .storage-board{width:640px;height:100%}#panel-storage .total-storage,#panel-storage .used-storage{font-weight:700}#panel-storage p{margin-top:10px}#panel-trades{width:800px;max-width:800px;max-height:500px;height:auto}#panel-trades table.mercenaries td:nth-child(3){width:20%;text-align:right}#panel-world{max-width:1020px;max-height:600px;width:1020px;height:600px;box-sizing:border-box}#panel-world .worldmap{width:960px;height:510px;background-size:auto 100%;position:relative;overflow:hidden}#panel-world .worldmap .ruins,#panel-world .worldmap .settlement,#panel-world .worldmap .troop{width:40px;height:40px;position:absolute;cursor:pointer}#panel-world .w-t-p{opacity:.3}.window{width:100%;height:100%;position:fixed;top:0;left:0;color:#fff;z-index:99999;background:radial-gradient(ellipse at center,#46494e 0,black 100%)}.window .logo{margin:3% auto 0;width:300px;text-align:center;font-size:62px}.window fieldset{margin:20px auto 0;border:0;color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:460px;font-size:18px;padding:40px}.window fieldset>p{font-size:14px}.window ul{margin-left:20px}.window .about-game,.window .options-game{position:relative;display:none;padding:10px 0;margin:0}.window li>a,.window p>a{text-decoration:underline}.window .ui-tabs-panel>div{padding:20px}.window .tabs ul li a{text-decoration:none}.window input[type=password],.window input[type=text],.window select{border:1px solid #918d69;background:0 0;color:#fff;padding:5px 10px;font-size:14px}.window select option{color:#000}.window select{width:122px}.window input[type=password],.window input[type=text]{width:100px}.window .button{display:block;margin-top:5px;border-radius:3px;padding:10px;text-shadow:-1px -1px 0 rgba(0,0,0,.3);color:#fff;font-size:18px;text-transform:uppercase;text-align:center}.window .avatar-select{width:100%;height:180px;overflow:auto;padding:0;margin:0}.window .avatar-select img.avatar{cursor:pointer;border-radius:100%;border:0;padding:0;margin:0;width:90px;height:90px;float:left}.window .avatar-select img.avatar.selected{box-shadow:inset 0 0 20px 0 rgba(0,0,0,.75)}.window dt{line-height:20px;float:left;text-align:right;width:45%;margin-bottom:5px}.window dl{width:360px;margin:10px auto}.window dd{margin-left:50%;line-height:20px;margin-bottom:5px}.window .button.highlight,.window .toolbar a{color:#fff}.window .toolbar a:hover,.window .button.highlight:hover{color:#fff}.window .ui-control{border-radius:3px;padding:2px 10px;color:#000;font-size:14px}.window .ui-control.on{background-color:#008a0b;box-shadow:0 0 5px #008a0b}.window .ui-control.off{background-color:#f00000;box-shadow:0 0 5px #f00000}.window .github{position:absolute;top:10px;right:10px}.window fieldset .error,.window fieldset .options,.window fieldset .new-game{border:1px solid #6e5036;background-color:#150f0c;padding:20px}.window .new-game dd input,.window .new-game dd select{border:1px solid #563a25;box-shadow:inset 0 0 2px #1e0f05;background:#201106;border-radius:5px;height:33px;box-sizing:border-box;font-size:18px;color:#fff;padding:0 8px!important;margin:0 0 10px;width:240px}.window .new-game dl{width:100%}.window .new-game dd{margin-left:38%}.window .new-game dt{line-height:33px;width:35%}.hr{padding:0;margin:5px 0 15px;border-top:1px solid #251b13}.window .button{font-size:30px;margin-top:10px;padding:7px 10px!important;border:none!important}.window .button:hover{font-size:30px;padding:7px 10px;border:0}.window .new-game dl{margin:20px auto}.window .avatar-select-top{position:absolute;top:50%;left:0;transform:translate(-50%,-67%);width:128px;height:128px;background-size:cover;padding:13px;border-radius:50%;z-index:2;cursor:pointer}.window .avatar-select{display:none;height:320px;position:absolute;top:61px;left:61px;right:61px;width:auto;background:#150f0c}.window .avatar-select img.avatar{width:100px;height:100px;margin:2px}.window fieldset .about-game{border-top:0}#window-battle .container{width:1040px;position:relative;margin:40px auto 0}#window-battle .toolbar{margin:4px auto;width:100%}#window-battle .battleground{width:990px;line-height:1.3;height:520px}#window-battle .attack,#window-battle .defense{font-size:14px;position:absolute;top:-32px;background-color:#fff;border-radius:20px;padding:4px 10px;color:#000;z-index:2}#window-battle .attack{left:200px}#window-battle .defense{right:200px}#window-battle .status{width:480px;height:60px;position:absolute;bottom:-60px;left:22%;border:1px solid #ccc;overflow:auto;background-color:#fff;padding:20px}#window-battle .battleground .cell img{position:absolute;top:6px;left:-8px;transform:rotate(90deg);display:block;z-index:1}#window-battle .battleground .cell .amount{color:#fff;position:absolute;font-size:10px;right:16px;bottom:2px;background-color:#000;border-radius:100%;transform:rotate(90deg);padding:4px;z-index:2}#window-battle .turns{font-size:16px;position:absolute;top:-36px;right:49%;background-color:#fff;border-radius:100%;padding:6px;color:#000;z-index:2}#window-battle .status p{color:#454545;font-size:10px}.window .toolbar a{border-radius:3px;padding:10px;text-transform:uppercase;text-align:center;cursor:pointer;display:inline-block;font-size:14px}#window-battle .battleground .cell .moves{width:10px;height:10px;display:block;border-radius:100%;background-color:#c53636;position:absolute;top:42px;box-shadow:0 0 2px #000;right:0;z-index:2}#window-battle .battleground .cell .moves.has{background-color:#298719}#window-battle .battleground ol{margin-left:20px;padding:0}#window-battle .battleground ol.even{position:relative;left:1.95em}#window-battle .battleground ol.odd{position:relative;margin-top:-5.6%;margin-bottom:-5.6%}#window-battle .battleground .cell{position:relative;margin:1em auto;width:2em;height:3.6em;border-radius:20em/1em;background:0 0;transform:rotate(-90deg);display:inline-block;opacity:.8;margin-right:1.94em}#window-battle .battleground .cell:before,#window-battle .battleground .cell:after{position:absolute;width:inherit;height:inherit;border-radius:inherit;background:inherit;content:''}#window-battle .battleground .cell:before{transform:rotate(60deg)}#window-battle .battleground .cell:after{transform:rotate(-60deg)}#window-battle .battleground .cell.empty,#window-battle .battleground .cell.selected,#window-battle .battleground .cell:hover{background-color:#fff}#window-battle .battleground .cell.empty{opacity:.2}#window-battle .battleground .cell.selected{opacity:1}#window-battle .battleground .cell:hover{opacity:1;cursor:pointer}#window-battle .battleground .cell.canattack{background-color:#fe9466;opacity:.4!important}#window-battle .battleground .cell.canmove{background-color:#80bc50;opacity:.4!important}#window-error .error-message,#window-error .error-code{font-size:14px;color:#f00000}