body, * {
    scrollbar-width: thin;
    scrollbar-color: #26272d #1b1c20;
}

#page-global-map {
    overflow: hidden;
}

.global-map-header {
    background-color: #222328;
    border-bottom: 1px solid #696969;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    user-select: none;
    box-shadow: 0px 2px 15px 8px rgb(0 0 0 / 30%);
}

.global-map-header-menu {
    flex: 1;
}

.global-map-header-menu ul {
    display: flex;
    list-style: none;
}

.global-map-header-menu ul li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    transition: none;
}

.global-map-header-menu ul li a:hover {
    background-color: #35363c;
    color: #fff;
}

.global-map-header-menu ul li ul, .global-map-header-profile ul {
    display: none;
    position: absolute;
    background-color: #222328;
}

.global-map-header-menu ul li:hover ul, .global-map-header-profile:hover ul {
    display: block;
}

.global-map-header-profile, .global-map-stats {
    display: flex;
}

.global-map-header-profile span {
    padding: 10px 15px;
    margin-right: 20px;
    color: #FF9800;
    font-size: 12px;
}

.global-map-header-profile a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    transition: none;
}

.global-map-header-profile a img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.global-map-header-profile a:hover {
    background-color: #35363c;
    color: #fff;
}

.global-map-header-profile ul {
    top: 100%;
    width: max-content;
    right: 0;
}

.global-map-header-profile ul li {
    list-style: none;
}

.global-map-stats .gm-stat, .global-map-stats .clan-balance {
    display: flex;
    padding: 10px 25px 10px 25px;
    color: #fff;
    transition: none;
    border-right: 1px solid #26272d;
    align-items: center;
    position: relative;
}

.global-map-stats .gm-stat i, .global-map-stats .clan-balance i {
    font-style: normal;
    margin-right: 10px;
    color: #bdbdbd;
}

.global-map-stats .gm-stat span, .global-map-stats .clan-balance span {
    font-weight: bold;
    font-size: 16px;
}

.tpk-content {
    margin-top: 44px;
}

.tpk-section {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
}

.wpd_header_builder, .wpd-page-title, .main_footer {
    display: none;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.row [class*=span] {
    padding-right: 0;
    padding-left: 0;
}

.container-full-width {
    /* width: 100%; */
    width: 100vw;
}

.back_to_top_container {
    display: none !important;
}

.global-map svg {
    background: url(/img/maps/Isle_V3_1920.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.global-map svg g.selected {
    stroke: #fff;  
}

.global-map svg path:hover {
    opacity: 1;
}

.global-map g {
    opacity: 0.25;
}

.global-map g.busy {
    opacity: 0.85;
}

.global-map g.airdrop {
    opacity: 1;
    -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}

.global-map g.great-zone {
    opacity: 1;
    -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}

.global-map g polygon {
    stroke-width: 3px;
    stroke: #7b929d;
}

.global-map g.airdrop polygon {
    stroke-width: 1px;
    stroke: #ff5722;
    stroke-dasharray: 4;
}

.global-map g.great-zone polygon {
    stroke-width: 1px;
    stroke: #ef41ff;
    stroke-dasharray: 3;
}

.map-content:hover #map-layer-areas g polygon {
    stroke: #212b31;
}
 
.global-map g polygon:hover {
    stroke-width: 3px !important;
    stroke: #2f444f;
}

.global-map g.selected polygon {
    stroke-width: 4px !important;
    stroke: #121212;
}

.global-map g.fog polygon, .global-map g.selected.fog polygon {
    stroke-dasharray: 8;
    stroke-width: 6px !important;
}

.global-map g.airdrop:hover polygon {
    stroke-width: 2px !important;
    stroke: #ff5722;
}

.meteor-shelter polygon {
    stroke: #121212 !important;
}

.global-map g.meteor-shelter {
    opacity: 1;
    -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}

.map-info-btn {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 75px;
    height: 48px;
    background: url(../img/icons/map-panel.svg) no-repeat center #222328;
    border-radius: 5px 0 0 0;
    transition: bottom 0.1s;
    cursor: pointer;
}

.season-info-btn {
    position: fixed;
    left: 0;
    top: 44px;
    width: 75px;
    height: 48px;
    background: url(../img/icons/map-event-info.svg) no-repeat center #222328;
    border-radius: 0 0 5px 0;
    transition: top 0.1s;
    cursor: pointer;
}

.clans-info-btn {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 75px;
    height: 48px;
    background: url(../img/icons/map-clans.svg) no-repeat center #222328;
    border-radius: 0 5px 0 0;
    transition: top 0.1s;
    cursor: pointer;
}

.map-info-btn:hover, .season-info-btn:hover, .clans-info-btn:hover {
    background-color: #41434a;
}

.map-info {
    position: fixed;
    right: 0;
    bottom: -100%;
    width: 470px;
    max-height: 735px;
    height: max-content;
    background: #222328;
    border-radius: 5px 0 0 0;
    visibility: hidden;
    box-shadow: -3px 0px 12px 2px rgb(140 140 140 / 65%);
    user-select: none;
    transition: all 0.15s;
    z-index: 10;
}

.season-info {
    position: fixed;
    left: 0;
    top: -100%;
    width: 400px;
    background: #222328;
    border-radius: 0 0 5px 0;
    visibility: hidden;
    box-shadow: -3px 0px 12px 2px rgb(140 140 140 / 65%);
    user-select: none;
    transition: all 0.15s;
    z-index: 10;
}

.clans-info {
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 470px;
    height: 550px;
    background: #222328;
    border-radius: 0 5px 0 0;
    visibility: hidden;
    box-shadow: -3px 0px 12px 2px rgb(140 140 140 / 65%);
    user-select: none;
    transition: all 0.15s;
    z-index: 19;
}

.map-info.showed {
    visibility: visible;
    bottom: 0;
}

.season-info.showed {
    visibility: visible;
    top: 44px;
}

.clans-info.showed {
    visibility: visible;
    bottom: 0;
}

.map-info-header, .season-info-header, .clans-info-header {
    padding: 15px 15px 15px 25px;
    display: flex;
}

.map-info-header .title, .season-info-header .title, .clans-info-header .title {
    color: #fff;
    font-size: 24px;
    flex: 1;
}

.map-info-header .btn-close, .season-info-header .btn-close, .clans-info-header .btn-close {
    background: url(../img/icons/cross-white.svg) no-repeat center;
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.map-info-header .btn-close:hover {
    opacity: 1;
}

.map-info-content, .season-info-content, .clans-info-content {
    padding: 5px 15px 15px 25px;
}

.content-section {
    margin-bottom: 10px;
    width: 100%;
}

.content-section span {
    text-transform: uppercase;
    font-size: 10px;
    color: #8c8c8c;
    display: block;
    margin-bottom: -2px;
}

.content-section div.large {
    font-size: 20px;
    color: #fff;
}

.content-section div.big {
    font-size: 16px;
    color: #fff;
}

.content-section div.medium {
    font-size: 14px;
    color: #fff;
}

#territory_desc {
    font-size: 14px;
}

.attack {
    margin: 10px 0;
}

.attack .raid {
    color: #fff;
    background: url(/img/icons/raid_white.svg) 8px center #222328 no-repeat;
    padding: 5px 12px 5px 64px;
    border-radius: 4px;
    border: 2px dashed #fff;
}

.attack .raid.my-clan {
    color: #fff;
    background: url(/img/icons/raid_orange.svg) 8px center #222328 no-repeat;
    padding: 5px 12px 5px 64px;
    border-radius: 4px;
    border: 2px dashed #eb5e28a6;
}

.attack .raid span {
    display: block;
}

.attack .raid i {
    display: block;
    font-style: normal;
    color: #8c8c8c;
}

.attack .btn-attack, .btn-join {
    display: block;
    text-align: center;
    background-color: #FF5722;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 4px;
    margin: 0 50px;
}

.attack .btn-attack:hover, .btn-join:hover {
    background-color: #d84010;
    color: #fff;
}

.clan-neutral {
    font-size: 16px !important;
    color: #c7c7c7 !important;
}

#territory_clan a {
    color: #fff;
}

#territory_clan a:hover {
    color: #fff;
    text-decoration: underline;
}

#territory_capture {
    font-size: 16px !important;
}

div.no-attackers {
    font-size: 14px;
    color: #fff;
}

div.use-fog {
    font-size: 14px;
    color: #fff;
    padding: 5px 12px 5px 50px;
    border-radius: 4px;
    margin: 5px 0;
    background: url(/img/icons/fog.svg) 8px center #222328 no-repeat;
    border: 2px dashed #eb5e28a6;
}

.clan-list {
    overflow-y: auto;
    width: 100%;
    background-color: #26272d;
    border-radius: 4px;
    padding: 10px 20px 10px 10px;
    min-height: 180px;
}

div.clan-position {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    font-size: 12px;
}

div.clan-position.clan-leader {
    font-size: 14px;
}

.clan-position i {
    margin-right: 10px;
    font-style: normal;
    color: #8c8c8c;
}

.clan-position a {
    flex: 1;
    font-size: 14px;
    color: #fff;
}

div.clan-position.my-clan a {
    color: #d84010;
}

.clan-position.clan-leader a {
    font-size: 16px;
}

.clan-position span {
    font-weight: bold;
    margin-left: 10px;
    font-size: 12px;
}

#territory_bonuses div {
    display: flex;
    width: 100%;
    color: #fff;
    font-size: 14px;
    align-items: center;
    margin: 4px 0;
}

#territory_bonuses div span {
    font-weight: bold;
    margin-right: 10px;
    color: #fff;
    font-size: 16px;
    width: 70px;
    text-align: right;
    display: flex;
    justify-content: right;
    background-color: #2f2f33;
    height: 32px;
    padding-right: 10px;
    align-items: center;
} 


#territory_bonuses div i {
    opacity: 0.8;
    font-size: 12px;
    font-style: normal;
    line-height: 14px;
    flex: 1;
    padding-left: 5px;
    height: 32px;
    display: flex;
    align-items: center;
} 

#min_points {
    color: #fff;
    padding: 5px 12px 5px 30px;
    border-radius: 4px;
    margin: 5px 0;
    background: url(/img/icons/sword_light.svg) 8px center #222328 no-repeat;
    border: 2px solid #eb5e28a6;
}

.clans-info .content-section {
    height: unset;
}

.gm-clan-list {
    overflow-y: auto;
    width: 100%;
    min-height: 330px;
    max-height: 390px;
    background-color: #26272d;
    border-radius: 4px;
    padding: 10px 20px 10px 10px;
    margin-bottom: 20px;
    flex: 1;
}

.gm-clan-list.gm-list-full {
    min-height: 390px;
}

.gm-clan-list div {
    margin: 2px 0;
    display: flex;
    align-items: center;
}

.gm-clan-list div a {
    color: #fff;
}

.gm-clan-list div .clan-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    margin-right: 8px;
}

.airdrop-cards {
    display: none;
    z-index: 1000;
    position: fixed;
    width: 400px;
    left: calc(50% - 200px);
    height: 230px;
    top: 300px;
    background: #222328;
    border-radius: 5px;
    box-shadow: -3px 0px 12px 2px rgb(140 140 140 / 65%);
    user-select: none;
    padding: 10px 30px;
    color: #fff;
}

.airdrop-clan-list {
    max-height: 200px;
    overflow-y: auto;
}

.airdrop-cards .airdrop-clans-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.airdrop-clans .clan-item span {
    margin-right: 20px;
    font-weight: bold;
}

.clan-cards {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.clan-cards .clan-card {
    position: absolute;
    width: 54px;
    height: 76px;
    text-align: center;
    margin-left: -27px;
    margin-top: -38px;
    cursor: pointer;
}

.clan-cards .clan-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.7;
}

.clan-cards .clan-card img[src='https://dynastica.ru/templates/default/img/icons/shield_large.svg'] {
    border-radius: 0;
}

.clan-cards .clan-card .clan-info {
    font-weight: bold;
    color: #fff;
    background: #222328b5;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 16px;
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clan-cards .clan-card:hover img, .clan-cards .clan-card:hover .clan-info {
    opacity: 1;
}

.unique-card {
    position: absolute;
    width: 55px;
    height: 55px;
    text-align: center;
    margin-left: -27px;
    margin-top: -27px;
    cursor: pointer;
    border: 2px dashed #ededed;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #ffc1072e;
}

.unique-card.small {
    width: 36px;
    height: 36px;
    margin-left: 35px;
    margin-top: -30px;
    border: 1px dashed #ededed;
    opacity: 0.4;
}

.clan-cards .unique-card img {
    max-width: 38px;
    max-height: 38px;
    width: auto;
    height: auto;
}

.clan-cards .unique-card.small img {
    max-width: 24px;
    max-height: 24px;
    width: auto;
    height: auto;
}

.unique-hint {
    visibility: hidden;
    background: #222328;
    color: #fff;
    width: 300px;
    min-height: 120px;
    height: max-content;
    border-radius: 4px;
    bottom: 62px;
    left: -130px;
    padding: 10px 12px;
    position: absolute;
    box-shadow: -3px 0px 12px 2px rgb(41 41 41 / 65%);
    transition: bottom 0.3s;
    z-index: 2;
}

.unique-card:hover {
    background-color: #ffc10761;
}

.unique-card.small:hover {
    opacity: 1;
}

.unique-hint-desc {
    line-height: normal;
    font-size: 12px;
}

.unique-hint-value {
    margin-top: 10px;
    background: #313233;
    border-radius: 4px;
    padding: 8px 12px;
    line-height: normal;
}

.unique-hint-header {
    line-height: normal;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #424245;
    padding-bottom: 8px;
}

.unique-hint-footer {
    line-height: normal;
    font-size: 12px;
    margin-top: 10px;
}

.clan-hint {
    visibility: hidden;
    background: #222328;
    color: #fff;
    width: 270px;
    height: 160px;
    border-radius: 4px;
    bottom: 62px;
    left: -110px;
    padding: 10px 12px;
    position: absolute;
    box-shadow: -3px 0px 12px 2px rgb(41 41 41 / 65%);
    transition: bottom 0.3s;
    z-index: 2;
}

.clan-hint-title {
    font-size: 16px;
    color: #fff;
    transition: none;
    width: 100%;
    display: block;
    overflow-x: hidden;
    text-overflow: ellipsis;
    height: 26px;
    white-space: nowrap;
}

.clan-hint-title:hover {
    color: #d5d5d5;
    transition: none;
}

.clan-hint-desc {
    font-size: 12px;
}

.clan-hint.showed {
    visibility: visible;
    bottom: 82px;
}

.unique-hint.showed {
    visibility: visible;
    bottom: 70px;
}

.unique-card.small .unique-hint.showed {
    visibility: visible;
    bottom: 50px;
}

.clan-hint-level {
    line-height: normal;
    color: #bdbdbd;
}

.clan-hint-level span {
    margin: 0 10px;
}

.clan-hint-slogan {
    line-height: normal;
    color: #bdbdbd;
    margin-top: 8px;
    font-style: italic;
    height: 36px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clan-hint-props {
    display: flex;
    width: 100%;
    border-top: 1px solid #26272d;
    padding-top: 10px;
    margin-top: 10px;
}

.clan-hint-props div {
    width: 33.33%;
    text-align: center;
}

.clan-hint-props div b {
    font-size: 18px;
    line-height: normal;
    display: block;
}

.clan-hint-props div span {
    color: #bdbdbd;
}

.territory-stats {
    display: flex;
    margin-bottom: 15px;
    color: #fff;
    align-items: center;
    justify-content: center;
}

.territory-stats .t-stat {
    width: 33.333%;
    display: flex;
    cursor: help;
    padding: 4px 8px;
}

.territory-stats .t-stat:hover {
    background: #24252b;
}

.territory-stats .t-stat div {
    flex: 1;
    margin-left: 10px;
}

.territory-stats .t-stat b {
    display: block;
    font-size: 20px;
    line-height: 22px;
}

.territory-stats .t-stat i {
    height: 34px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    width: 34px;
}

.territory-stats .t-stat#t-min i {background-image: url(/img/icons/t-helm.svg);}
.territory-stats .t-stat#t-def i {background-image: url(/img/icons/t-sword.svg);}
.territory-stats .t-stat#t-fam i {background-image: url(/img/icons/t-star.svg);}

.territory-stats .t-stat span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #8c8c8c;
    line-height: normal;
    flex: 1;
}

.gm-notify {
    position: fixed;
    z-index: 20;
    transition: right 0.15s;
    visibility: hidden;    
    width: 350px;
    min-height: 130px;
    padding: 10px 20px 15px;
    background-color: #212121;
    border: 1px solid #323232;
    box-shadow: 0px 4px 7px 8px rgba(0,0,0,.06);
    color: #fff;
    right: -350px;
    top: 70px;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    flex-direction: column;
}

.gm-notify.showed {
    visibility: visible;
    right: 30px;
}

.gm-notify .gm-notify-header {
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #7d7d7d;
}

.gm-notify .gm-notify-text {
    overflow-y: auto;
    background-color: #272727;
    border-radius: 4px;
    padding: 5px 10px;
    line-height: normal;
    font-size: 13px;
    min-height: 70px;
    max-height: 250px;
    width: 100%;
}

.gm-top-bar {
    position: fixed;
    z-index: 17;
    top: 70px;
    width: 610px;
    left: calc(50% - 305px);
    padding: 10px 20px;
    background-color: #212121;
    border: 1px solid #323232;
    box-shadow: 0px 4px 7px 8px rgba(0,0,0,.06);
    color: #fff;
    border-radius: 6px;
    display: flex;
    justify-content: center;
}

.gm-btn {    
    border: 1px solid #373737;
    border-radius: 5px;
    padding: 5px 12px;
    background-color: #212121;
    line-height: normal;
    user-select: none;
}

.gm-top-bar .gm-btn:last-child {
    margin-right: 0;
}

.gm-btn:hover {
    background-color: #313030;
}

.gm-btn-orange {background-color: #a54928; border: 1px solid #323232;} .gm-btn-orange:hover {background-color: #c75e37;}

.gm-btn i {
    margin-right: 10px;
}

.gm-btn svg {
    width: 28px;
    height: 28px;
}

.gm-btn[data-box-id="leader_history"] svg {
    width: 32px;
    height: 32px;
}

.gm-btn svg path, .gm-btn svg polygon {
    fill: #fff;
}


.gm-top-bar .gm-btn {
    margin: 0 5px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    width: 150px;
}

.gm-box {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    background-color: #212121;
    border: 1px solid #323232;
    color: #fff;
}

.gm-box.gm-box-dialog {
    top: 200px;
    width: 600px;
    left: calc(50% - 300px);
    max-height: 800px;
    height: max-content;
    border-radius: 5px;
    box-shadow: 0px 4px 7px 8px rgba(0, 0, 0, .06);
    z-index: 17;
}

.gm-box-header {
    text-align: center;
    padding: 8px 10px 25px;
    font-size: 22px;
}

.gm-box-body {
    max-height: calc(100% - 90px);
    overflow-y: auto;
    width: 1170px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.gm-box-footer {
    padding: 5px 10px;
    max-width: 100%;
    width: 1170px;
    margin-right: auto;
    margin-left: auto;
}

.gm-box-close {
    background: url(../img/icons/cross-white.svg) no-repeat center;
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.8;
    position: absolute;
    right: 15px;
    top: 15px;
}

.gm-box-close:hover {
    opacity: 1;
}

.gm-box thead {
    background: #1b1c20;
}

.gm-box table th {
    padding: 10px 10px;
}

.gm-box table tr {
    border: 1px solid #373737;
}

.gm-box table td, .gm-box table th {
    text-align: left;
    font-size: 16px;
}

.gm-box table td a {
    color: #86caff;
}

.gm-box .clan-color {
    margin-right: 10px;
    width: 15px;
    height: 15px;
    border-radius: 2px;
}

.gm-top-bar .gm-btn:first-child {margin-left: 0;}
.gm-top-bar .gm-btn:last-child {margin-right: 0;}

.gm-alert {
    background: #2f2f33;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
}

.gm-alert.green {border: 1px solid #4caf50;}
.gm-alert.orange {border: 1px solid #FF5722;}

.season-ended {
    position: fixed;
    z-index: 18;
    top: 70px;
    width: 300px;
    left: calc(50% - 150px);
    padding: 10px 20px;
    background-color: #212121;
    border: 1px solid #F44336;
    box-shadow: 0px 4px 7px 8px rgba(0,0,0,.06);
    color: #F44336;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    font-size: 20px;
    text-transform: uppercase;
    user-select: none;
}

.season-reg {
    position: fixed;
    z-index: 18;
    top: 70px;
    width: 550px;
    left: calc(50% - 275px);
    padding: 10px 20px;
    background-color: #212121;
    border: 1px solid #ff9800;
    box-shadow: 0px 4px 7px 8px rgba(0,0,0,.06);
    color: #FF9800;
    border-radius: 6px;
    justify-content: center;
    font-size: 15px;
    text-transform: uppercase;
    user-select: none;
    text-align: center;
}

.season-reg span {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.season-reg span:hover {
    color: #ffaa2d;
}

.clan-fame {
    margin-left: 10px !important;
    background: #3a3b41;
    color: #fff;
    padding: 1px 5px;
    line-height: normal;
    border-radius: 4px;
    cursor: help;
}

.ajax {
    height: 400px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    width: 100%;
    flex-direction: column;
}

.map-info .ajax {
    max-height: 400px;
    height: auto;
}

.ajax-loading {
    text-align: center;
    width: 100%;
    color: #fff;
    margin-top: 30px;
    background-color: #26272d;
    padding: 5px 0;
}

.ter-owner {
    height: 65px;
}
.ter-attackers {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.ter-dinos {
    height: 50px;
    display: flex;
}

#territory_clan {
    line-height: normal;
    font-size: 24px;
    margin-top: 5px;
}

.ter-dinos .content-left {
    width: 50%;
}

.gm-join span {
    line-height: normal;
    color: #fff;
    font-size: 12px;
    margin-bottom: 15px;
}

.gm-items-bar {
    position: fixed;
    z-index: 17;
    bottom: 30px;
    width: 710px;
    left: calc(50% - 355px);
    padding: 10px;
    background-color: #212121;
    border: 1px solid #323232;
    box-shadow: 0px 4px 7px 8px rgba(0, 0, 0, .06);
    color: #fff;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    opacity: 0.8;
}

.gm-items-bar .clan-items {
    display: flex;
}

.gm-items-bar:hover {
    opacity: 1;
}

.gm-items-bar .gm-item {
    justify-content: center;
    width: 80px;
    height: 42px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    border: 1px solid #434343;
    background: linear-gradient(#373737, #212121);
    cursor: pointer;
    margin: 0 2px;
    user-select: none;
}

.gm-items-bar .gm-item:hover {
    background: linear-gradient(#434343, #292929);
}

.gm-items-bar .gm-item i {
    font-style: normal;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.gm-items-bar.disabled {
    cursor: no-drop;
    opacity: 0.6;
}

.gm-items-bar.disabled:hover {
    opacity: 0.6;
}

.gm-items-bar .gm-item.disabled {
    opacity: 0.4;
}

.gm-items-bar.disabled .gm-item:hover {
    background: linear-gradient(#373737, #212121);
    cursor: no-drop;
}

.gm-items-bar .gm-item.disabled:hover {
    background: linear-gradient(#373737, #212121);
    cursor: no-drop;
}
.gm-item i:before {
    width: 32px;
    height: 32px;
    content: '';
    display: block;
    margin-right: 8px;
} 
.gm-item[data-art="1"] i:before, .shop-item-img[data-art="1"] {
    background: url(/templates/default/img/icons/gm_fog_cloud_sun.svg) center no-repeat;
} 
.gm-item[data-art="2"] i:before, .shop-item-img[data-art="2"] {
    background: url(/templates/default/img/icons/gm_fog_cloud.svg) center no-repeat; 
}
.gm-item[data-art="3"] i:before, .shop-item-img[data-art="3"] {
    background: url(/templates/default/img/icons/gm_shield.svg) center no-repeat; 
}
.gm-item[data-art="4"] i:before, .shop-item-img[data-art="4"] {
    background: url(/templates/default/img/icons/gm_weapon.svg) center no-repeat; 
}
.gm-item[data-art="5"] i:before, .shop-item-img[data-art="5"] {
    background: url(/templates/default/img/icons/gm_scout.svg) center no-repeat; 
}
.gm-item[data-art="6"] i:before, .shop-item-img[data-art="6"] {
    background: url(/templates/default/img/icons/gm_airdrop.svg) center no-repeat; 
}
.gm-item[data-art="8"] i:before, .shop-item-img[data-art="8"] {
    background: url(/templates/default/img/icons/gm_spy.svg) center no-repeat; 
}
.gm-item.gm-empty {
    opacity: 0.25;
}

.active-bonus-3 i {background: url(/templates/default/img/icons/gm_shield_black.svg) center no-repeat;}
.active-bonus-4 i {background: url(/templates/default/img/icons/gm_weapon_black.svg) center no-repeat;}
.active-bonus-5 i {background: url(/templates/default/img/icons/gm_scout_black.svg) center no-repeat;}
.active-bonus-8 i {background: url(/templates/default/img/icons/gm_spy_black.svg) center no-repeat;}
.event-3 i {background: url(/templates/default/img/icons/meteor.svg) center no-repeat;}

.need-clan {
    display: block;
    position: absolute;
    background: #222328;
    left: 10px;
    width: calc(100% - 20px);
    top: 100px;
    border-radius: 4px;
    text-align: center;
    opacity: 0.9;
}

#particles-js {
    display: none;
}

.clan-card .loc-effects {
    position: absolute;
    width: 96px;
    height: 32px;
    bottom: -38px;
    right: calc(50% - 48px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.clan-card .use-immunity {
    background: url(/templates/default/img/icons/gm_shield.svg) center no-repeat;
    width: 32px;
    height: 32px;
    cursor: help;
}

.clan-card .debuff-block {
    background: url(/templates/default/img/icons/gm_block.svg) center no-repeat;
    width: 32px;
    height: 32px;
    cursor: help;
}

.shop-items-btn {
    width: 90px;
    height: 42px;
    border: 1px solid #434343;
    background: linear-gradient(#373737, #212121);
    border-radius: 4px;
    margin-left: 15px;
}

.shop-items-box {
    display: none;
    position: absolute;
    bottom: 50px;
    left: calc(50% - 355px);
    padding-bottom: 20px;
    width: 710px;
}

.shop-items {
    background: #212121; 
    border: 1px solid #323232;
    box-shadow: 0px 4px 7px 8px rgba(0, 0, 0, .06);
    border-radius: 6px;
    padding: 10px 5px;
}

.shop-items-btn:hover .shop-items-box {
    display: block;
}

.shop-items-btn:hover {
    box-shadow: inset 0px 4px 7px 8px rgb(0 0 0 / 25%);
}

.shop-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #26272d;
}

.shop-items .shop-item:last-child {
    border-bottom: none;
}

.shop-item-img {    
    margin-right: 15px;
    width: 32px;
    height: 32px;
}

.shop-item-name {
    flex: 1;
    margin-right: 30px;
}

.shop-item-title {
    line-height: normal;
    margin-bottom: 2px;
}

.shop-item-desc {
    color: #bdbdbd;
    line-height: 13px;
    font-size: 11px;
}

.shop-item-cooldown {
    color: #bdbdbd;
    line-height: 13px;
    font-size: 11px;
    margin-top: 7px;
}

.shop-item-price {
    font-weight: bold;
}

.shop-item-controls {
    margin-left: 15px;
    display: flex;
}

input[type="number"].shop-item-amount {
    border-radius: 4px 0 0 4px !important;
    margin-bottom: 0 !important;
    padding: 4px 4px 4px 10px;
    color: #1b1c20;
    width: 55px;
}

.shop-item-btn {
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    background: #eead05;
    display: flex;
    align-items: center;
    padding: 0 10px;
} 

.shop-item-btn:hover {
    background: #f1b00b;
}

.shop-item-btn:before {
    font-family: 'FontAwesome';
    content: '\f07a';
    margin-right: 10px;
    font-size: 14px;
}

.shop-items-btn span {
    display: flex;
    height: 100%;
    align-items: center;
    text-transform: uppercase;
    justify-content: center;
    user-select: none;
}

.gm-bonuses-bar {
    display: none;
    position: fixed;
    bottom: 65px;
    left: 15px;
    z-index: 18;
}

.gm-bonuses-bar .active-bonuses {
    display: block; 
}

.gm-bonuses-bar .active-bonus {
    position: relative;
    margin-top: 6px;
    border: 2px solid #212121;
    background-color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.gm-bonuses-bar .active-bonus:first-child {
    margin-top: 0;
} 

.gm-bonuses-bar .active-bonus i {
    width: 38px;
    height: 38px;
    display: block;
}

.gm-bonuses-bar .active-bonus .bonus-hint {
    display: none;
    position: absolute;
    bottom: -1px;
    left: 60px;
    width: max-content;
    background-color: #212121;
    z-index: 18;
}

.gm-bonuses-bar .active-bonus:hover .bonus-hint {
    display: block;
    padding: 10px 15px;
    visibility: visible;
}

.gm-bonuses-bar .active-bonus .bonus-hint b {
    margin-bottom: 5px;
    color: #fff;
    display: block;
    white-space: nowrap;
    font-size: 16px;
}

.gm-bonuses-bar .active-bonus .bonus-hint b u {
    text-decoration: none;
    border-bottom: 1px dashed #fff;
}

.gm-bonuses-bar .active-bonus .bonus-hint p {
    margin-bottom: 5px;
    color: #bdbdbd;
    max-width: 450px;
    line-height: normal;
}

.gm-bonuses-bar .active-bonus .bonus-hint span {
    color: #bdbdbd;
    line-height: 13px;
    font-size: 11px;
    white-space: nowrap;
    font-style: italic;
}

#territory_unique div {
    display: flex;
    width: 100%;
    color: #fff;
    font-size: 14px;
    align-items: center;
    margin: 4px 0;
}

#territory_unique div span {
    font-weight: bold;
    margin-right: 10px;
    color: #fff;
    font-size: 16px;
    width: 70px;
    text-align: right;
    display: flex;
    justify-content: right;
    background-color: #2f2f33;
    height: 32px;
    padding-right: 10px;
    align-items: center;
} 


#territory_unique div i {
    opacity: 0.8;
    font-size: 12px;
    font-style: normal;
    line-height: 14px;
    flex: 1;
    padding-left: 5px;
    height: 32px;
    display: flex;
    align-items: center;
} 

.anim_blink {
    animation-name: airdrop_blinker;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(1.0,0,0,1.0);
    animation-duration: 2s;
    -webkit-animation-name: airdrop_blinker;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
    -webkit-animation-duration: 2s;
}

.gm-layers-panel {
    position: fixed;
    left: 10px;
    top: 110px;
    width: 64px;
    height: max-content;
    background: #222328;
    border-radius: 5px;
    transition: top 0.1s;
    padding: 10px;
}

.gm-layer-caption {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    user-select: none;
}

.gm-layer-toggle {
    cursor: pointer;
    margin: 7px 0;
    border-radius: 5px;
    background: linear-gradient(#18191d, #17181c, #121316);
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-layers-panel .gm-layer-toggle:first-child {
    margin-top: 2px;
}

.gm-layers-panel .gm-layer-toggle:last-child {
    margin-bottom: 2px;
}

.gm-layer-toggle span {
    display: none;
    position: absolute;
    left: 65px;
    top: 0;
    background: #222328;
    color: #fff;
    padding: 10px 20px;
    width: max-content;
    border-radius: 4px;
    user-select: none;
}

.gm-layer-toggle:hover span {
    display: block;
}

.gm-layer-toggle div {
    width: 22px;
    height: 22px;
}

.gm-layer-toggle div svg path, .gm-layer-toggle div svg g, .gm-layer-toggle div svg polygon {
    fill: #fff;
}

.gm-layer-toggle.selected {
    background: linear-gradient(#18191d, #17181c, #121316);
    background: #9E9E9E;
    box-shadow: inset 1px 6px 9px 10px rgb(0 0 0 / 27%);
}

.gm-layer-toggle i.bg-custom {
    width: 25px;
    height: 25px;
    display: block;
    background-size: cover;
}

.gm-layer {
    display: none;
}

.gm-layer.showed {
    display: block;
}

.gm-layer.gm-top-bar.showed, .gm-layer.gm-items-bar.showed {
    display: flex;
}

.gm-layer-sep {
    border-top: 1px solid #373737;
    margin: 10px 5px;
}

.gm-box-title {
    font-size: 20px;
    margin: 20px 0 10px;
}

.quote {
    background: #1c1c1c;
    border-left: 5px solid #373737;
}

.gm-cache {
    display: none;
}

.adm-upd-loc {
    display: none;
    background: url(../img/icons/gm-refresh.svg) no-repeat center;
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.4;
    margin-right: 8px;
} 

.adm-upd-loc:hover {
    opacity: 0.6;
}
.map-info:hover .adm-upd-loc {
    display: block;
}

.gm-box-nav {
    margin: 10px 0 25px;
    display: flex;
    justify-content: center;
}

.gm-box-nav a {
    margin: 0 10px;
    font-size: 16px;
    border-bottom: 1px dashed;
    padding-bottom: 2px;
}

.loc-options {
    color: #fff;
    margin: 5px 0 15px 0;
}

.loc-btn {
    position: relative;
    width: max-content;
}

.loc-btn .gm-btn {
    background-color: #a54928;
}

.loc-btn .gm-btn:hover {
    background-color: #b95936;
}

.loc-btn.pressed .gm-btn {
    box-shadow: inset 1px 3px 8px 4px rgb(0 0 0 / 35%);
}

.gm-box.gm-box-dialog .gm-btn {
    width: max-content;
}

.gm-box-dialog .gm-box-footer {
    margin-top: 20px;
    display: flex;
    justify-content: right;
    padding: 5px 0;
}

.loc-btn ul {
    display: none;
    position: absolute;
    bottom: 40px;
    left: 0;
    background: #212121;
    border: 1px solid #373737;
    width: max-content;
    border-radius: 5px;
    box-shadow: 0px 4px 7px 8px rgba(0, 0, 0, .06);
    padding: 4px 0;
}

.loc-btn.pressed ul {
    display: block;
}

.loc-btn ul li {
    list-style: none;
    padding: 6px 10px;
    font-size: 13px;
    line-height: normal;
    display: flex;
    align-items: center;
}

.loc-btn ul li:hover {
    background: #383838;
}

.loc-btn ul li i {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 16px;
    height: 16px;
    display: block;
    margin-right: 8px;
}

.loc-btn ul li i.item-box {background-image: url(/img/icons/clan-store.svg);}
.loc-btn ul li i.item-airdrop {background-image: url(/img/icons/airdrop-white.svg);}

.loc-btn ul li span {
    flex: 1;
}

.loc-btn ul li b {
    text-align: right;
    margin-left: 30px;
    color: #9E9E9E;
    font-weight: normal;
}

.gm-item-preview {
    border: 1px solid #212121;
    border-radius: 5px;
    padding: 10px 20px;
    background: #2f2f33;
}

.gm-item-preview li {
    list-style: none;
}

.gm-item-preview  .subitem-list {
    margin-bottom: 10px;
}

.gm-item-preview  .subtitle:first-child {
    margin-top: 5px;
}

#minusDefShop .amount {
    border-radius: 5px;
    color: #212121;
    padding: 6px 14px;
    font-size: 16px;
    margin-bottom: 0;
    width: 100px;
}

#minusDefShop .quote {
    margin: 10px 0 0;
}

.gm-item-select {
    background: #1c1c1c;
    border-left: 5px solid #373737;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.clan-ancient-coins a {
    background: #8ac34a;
    color: #fff;
    display: block;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 4px;
    margin-left: 10px;
    opacity: 0.7;
}

.clan-ancient-coins a:hover {
    opacity: 1;
}

.convert-coins {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
}

.convert-coins.showed {
    display: block;
}

.convert-coins-box {
    background-color: #222328;
    margin-top: 15px;
    width: max-content;
    padding: 15px 25px;
    border-radius: 5px;
}

.convert-coins-title {
    font-size: 16px;
    margin-bottom: 15px;
}

.convert-coins-title .gm-box-close {
    right: 20px;
    top: 28px;
}

#convert-coins-val {
    border-radius: 5px;
    color: #212121;
    padding: 6px 14px 6px 14px;
    font-size: 16px;
    margin-bottom: 0;
    width: 150px;
    text-align: left;
}

.convert-coins-inputs div {
    display: flex;
    align-items: center;
}

.convert-coins-inputs div i {
    text-align: left;    
    flex: 1;
    line-height: normal;
}

.convert-coins-inputs span {
    color: #636363;
    font-size: 13px !important;
    font-weight: normal !important;
    display: block;
}

.convert-coin-hint {
    font-size: 13px;
    margin: 15px 0;
    color: #9E9E9E;
}

.convert-coins-footer {
    display: flex;
    justify-content: right;
}

.convert-coins .gm-btn {
    width: max-content;
}

#addRaid {
    width: 800px;
    left: calc(50% - 400px);
}

#addRaid .quote {
    margin: 0 0 10px; 
    font-size: 13px;
    line-height: normal;
}

#addRaid .quote.collapsed {
    cursor: pointer;
    max-height: 140px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}

#addRaid #robber_steam_id {
    border-radius: 5px;
    color: #212121;
    padding: 6px 14px;
    font-size: 16px;
    margin-bottom: 0;
}

.quote-spoiler {
    cursor: pointer;
    margin-bottom: 20px;
    text-align: right;
    margin-top: -10px;
    color: #ff5722;
}

#territory_dinos {
    line-height: normal;
}

@keyframes airdrop_blinker {
    from { opacity: 1.0; }
    to { opacity: 0.0; }
  }
   
  @-webkit-keyframes airdrop_blinker {
    from { opacity: 1.0; }
    to { opacity: 0.0; }
  }

@media screen and (max-width: 640px) {
    .global-map {
        height: 100%;
        position: relative;
    }
    .global-map-header-menu ul li.m-hide  {
        display: none;
    } 
    .season-info, .clans-info, .map-info {
        width: 100%;
    }
    .servers-status {
        display: none;
    }
    .gm-top-bar {
        top: unset;
        bottom: 100px;
        z-index: 6;
    }
    .clan-cards .clan-card {
        width: 30px;
        height: 42px;
        margin-left: -15px;
        margin-top: -22px;
    }    
    .clan-cards .clan-card img {
        width: 24px;
        height: 24px;
    }

    .clan-cards .clan-card .clan-info {
        font-weight: normal;
        font-size: 10px;
        line-height: normal;
    }
    .map-info {
        position: unset;
        bottom: unset;
        border-radius: 0;
    }
}
  