﻿:root {
    --app-height: 100%;
}

@font-face {
    font-family: KalamehWebFaNum;
    font-display: block;
    font-style: normal;
    src: url('../../fonts/Abi-FaNum-MediumDot3.woff2') format('woff2')
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #fff;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    font-family: KalamehWebFaNum !important;
    direction: rtl
}

input {
    height: 20px !important;
    border-radius: 5px;
    border-style: none;
    padding: 5px;
}

#map {
    width: 100%;
    height: 100vh;
    border-radius: 0px
}

.aMap {
    display: flex;
    flex-direction: column; /* عکس بالا، متن پایین */
    align-items: center; /* وسط‌چینی افقی */
    justify-content: center; /* وسط‌چینی عمودی */
    text-decoration: none;
}

.aForReload {
    text-decoration: none;
    color: #3252cb;
}

.imgEmperor {
    width: auto; /* اندازه دلخواه */
    height: 35px;
}
.imgEmperorFreeze {
    width: auto; /* اندازه دلخواه */
    height: 30px;
    border-style: dashed;
    border-width: 1px;
    border-radius: 5px;
    border-color: #7c7c7c;
    padding: 1px;
}

.spanMap {
    font-size: 12px;
    color: #000;
    text-align: center;
    font-family: KalamehWebFaNum !important;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px; /* یا هر عرض دلخواه */
}
.spanMapArmy {
    font-size: 12px;
    color: #000;
    text-align: center;
    font-family: KalamehWebFaNum !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px; /* یا هر عرض دلخواه */
}

#btnSetLoc {
    position: fixed;
    top: 220px;
    right: 20px;
    margin-left: -75px;
    width: 150px;
    text-decoration: none;
    color: white;
    background-color: mediumseagreen;
    padding: 5px;
    border-radius: 5px;
    font-size: small;
    padding-bottom: 10px;
    z-index: 999;
    text-align: center;
}

#btnSetLocc {
    position: fixed;
    top: 55px;
    width: 180px;
    text-decoration: none;
    color: white;
    background-color: mediumseagreen;
    padding: 5px;
    border-radius: 5px;
    font-size: small;
    padding-bottom: 10px;
    z-index: 999;
    text-align: center;
    left: 50%;
    margin-left: -90px;
}

#spanAlarm {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    text-decoration: none;
    color: white;
    background-color: red;
    padding: 5px;
    border-radius: 5px;
    font-size: small;
    padding-bottom: 10px;
}

a {
    cursor: pointer
}

#spanAlarm2 {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    text-decoration: none;
    color: red;
    font-size: small;
    text-align: center;
    font-weight: bold;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    margin: 10px;
}

#txtName {
    position: fixed;
    top: 10px;
    left: 50%;
    margin-left: -90px;
    z-index: 1000;
    font-size: small;
    font-family: KalamehWebFaNum !important;
    width: 180px;
    border-style: none;
    border-radius: 5px;
    padding: 5px;
    font-size: large;
    text-align: center;
    height: 30px;
}

#myArmy {
    display: none;
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    min-height: 100px;
    z-index: 999999;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 12px;
    left: 0;
    right: 0;
    line-height: 35px;
    max-width: 700px;
    max-height: 350px;
    overflow-y: scroll;
}

.titrMy {
    font-size: 0.9rem;
    color: #505050;
}

input {
    font-family: KalamehWebFaNum !important;
    text-align: right
}

.swal-overlay--show-modal {
    z-index: 99999999999
}

.titrMyGo {
    font-weight: bold;
    color: crimson
}

#closemyArmy {
    position: absolute;
    left: 10px;
    top: 5px;
    color: crimson;
}

#showMyMap {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999
}

#showMyArmy {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999
}

#enemyArmy {
    display: none;
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    min-height: 100px;
    z-index: 999999;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 12px;
    left: 0;
    right: 0;
    line-height: 35px;
    max-width: 700px;
    max-height: 350px;
    overflow-y: scroll;
}

#aScores {
    position: fixed;
    bottom: 10px;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    text-decoration: none;
    z-index: 999;
    text-align: center;
}

#scoresDiv {
    display: none;
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    min-height: 100px;
    z-index: 999999;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 12px;
    left: 0;
    right: 0;
    line-height: 35px;
    max-width: 700px;
    max-height: 565px;
    overflow-y: scroll;
}

#tableScores {
    text-align: center;
    width: 100%;
    font-size: small
}

    #tableScores > tbody > tr > td {
        border-style: solid;
        border-width: 1px;
        border-color: #8b8b8b
    }

#divDesc {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    min-height: 100px;
    z-index: 999999;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 12px;
    left: 0;
    right: 0;
    line-height: 35px;
    max-width: 700px;
}

#divWarLog {
    display: none;
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    min-height: 100px;
    z-index: 999999;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    left: 0;
    right: 0;
    bottom: 20px;
    line-height: 35px;
    max-width: 700px;
    max-height: 240px;
    overflow-y: scroll;
}

#myArmyInfo {
    display: none;
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    min-height: 100px;
    z-index: 999999;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    left: 0;
    right: 0;
    bottom: 20px;
    line-height: 35px;
    max-width: 700px;
    max-height: 240px;
    overflow-y: scroll;
}

#tableWarLog {
    text-align: center;
    width: 100%;
    font-size: 0.65rem;
}

#betaN {
    position: fixed;
    bottom: 60px;
    left: 10px;
    z-index: 999;
    font-size: 0.8rem;
}

#imgBack {
    position: fixed;
    top: 16px;
    left: 14px;
    z-index: 999;
    font-size: 0.8rem;
    height: 25px
}

#imgRefresh {
    position: fixed;
    top: 16px;
    right: 14px;
    z-index: 999;
    font-size: 0.8rem;
    height: 25px
}

#imgEnemySrc {
    height: 30px;
    margin-right: 8px
}

#imgMySrc {
    height: 30px;
    margin-right: 8px
}

.imgSeasonEmperor {
    height: 30px;
    margin-right: 8px
}

#tagAChangeIcon {
    text-decoration: none !important;
    color: gray !important;
    font-size: small !important;
}

.imgGoldOil {
    height: 35px;
}
.swal-text{
    text-align:center!important
}
.swal2-title{
    font-size:1.1rem!important
}
.swal2-input{
    text-align:center!important;
    height:40px!important
}
.swal2-confirm, .swal2-cancel {
    font-family: KalamehWebFaNum;
}
.swal-overlay--show-modal, .swal2-container {
    z-index: 99999999999
}
.pwa-offcanvas{
    display:none
}