/* ===== CSS VARIABLES ===== */
:root {
    --color-valid: #4caf50;
    --color-invalid: #f44336;
    --color-focus: #667eea;
    --color-focus-alpha: rgba(102, 126, 234, 0.1);
    --color-invalid-alpha: rgba(244, 67, 54, 0.2);
    --color-valid-alpha: rgba(76, 175, 80, 0.2);
    --color-disabled: #f5f5f5;
    --color-border: #ccc;
    --transition-speed: 0.3s;
    --border-radius: 4px;
    --icon-checkmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-x-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f44336' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.defaultDarkContainer {
    border: 2px solid grey;
    border-radius: 0.5em;
    margin: 0 auto !important;
    filter: drop-shadow(2px 4px 4px black);
}

.notificationBadge {
    border-radius: 50%;
    position: absolute;
    top: -10%;
    left: 0%;
    width: 1em;
    height: 1em;
    font-size: 0.6em;
    background-color: red;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 12px #000;
    z-index: 103;
    animation: pulseBlink 1.5s infinite;
}

.notificationBadge::before {
    content: '!';
}

.show-more-section .show-more-item,
.show-more-section .show-more-item.social-rank {
    display: none;
}

.show-more-section .show-more-item:not(.social-rank):nth-child(-n+4),
.mobile .show-more-section .show-more-item {
    display: block;
}
.show-more-section .show-more-item.social-rank:nth-child(-n+3) {
    display: inline-block;
}

.show-more-list.show-all .show-more-item {
    display: block;
}

.show-more-section.show-all .show-more-item.social-rank {
    display: inline-block;
}

.mobile .show-more-section .show-more-btn {
    display: none;
}

.show-more-btn:not(.social-rank-btn) {
    cursor: pointer;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/upArrow.png);
    transform: rotate(180deg);
    width: 24px;
    height: 24px;
    filter: drop-shadow(0px 1px 1px black) drop-shadow(0px 1px 1px black);
}

.show-more-btn.upArrow {
    transform: rotate(0deg);
}

.mute-button {
    display: flex;
    border: none;
    cursor: pointer;
    font-size: 2em;
    margin-left: 10px;
    background: none;
    color: white;
    height: 100%;
}

.input-stable {
    outline: 0 !important;
    border: 2px solid #ccc !important;
    transition: border-color 0.3s;
}

.input-stable[readonly] {
    pointer-events: none;
}

.input-stable:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.headerBaseStyle {
    font-weight: bold; color: white; text-shadow: 0px 0px 4px black, 0px 0px 4px black;
}

.noTextSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.back-dark-transp {
    background-color: #30303088;
}

.transition-bg {
    transition: background 0.6s ease;
}

.modal-window {
    /*background-image: url('/static/img/texture3.png');*/
    outline: 3px solid grey;
    max-width: 90%;
    max-height: 90%;
    box-sizing: border-box;
    opacity: 1;
    -webkit-transition: opacity 250ms linear;
    transition: opacity 250ms linear;
}

/* basic dialog modal from Utils.makeDialog */
.basic-dialog {
	background-color: #222;
	background-image: url(../img/bgForElements/texture3.png);
	background-repeat: repeat;
	border: 2px solid #fff;
	border-radius: 6px;
	color: #f2f2f2;
	padding: 1em;
	text-align: center;
}
.mobile .basic-dialog {
	font-size: 1.5em;
}
.basic-dialog button {
	display: inline-block;
	margin: 0.5em;
}
.basic-dialog::backdrop {
	background-color: #0008;
}
/* end of dialog modal */
.basicTexture {
    background-color: #222;
    background-image: url(../img/bgForElements/texture3.png);
    background-repeat: repeat;
}
.darkTableLookLike {
    margin: 0 auto;
    width: 99%;
    padding: 0 0 0.25em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background: url(../img/bg.png) repeat scroll 0 0 #222;
    border: 1px solid #080808;
    border-radius: 0.25em;
    color: white;
    box-shadow: 0 0 3px #050505 inset, 0 1px 1px #444;
}

.darkTableLookLike .darkTableLookLikeHeader {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    font-size: 1.5em;
    width: 100%;
    background-color: #0000000d;
    border-radius: 0.5em 0.5em 0 0;
    background-image: url(../img/bgForElements/texture3.png);
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
}

.darkTableLookLike .darkTableLookLikeList {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-image: url(../img/bgForElements/texture3.png);
    background-color: #0000000d;
    background-size: auto;
    padding: 0.5em;
    gap: 1em;
}

.darkTableLookLike .darkTableLookLikeRow {
    align-items: center;
    width: 100%;
    transition: all ease 0.2s;
    cursor: pointer;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
}

.darkTableLookLike .darkTableLookLikeData {
    font-size: 1.25em;
    padding: 0.2em 0.5em;
    width: 100%;
    transition: all ease 0.2s;
    cursor: pointer;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
}

.mobile .darkTableLookLike {
    font-size: 2em;
}

.color-q1 {
	color: #e80d0d;
}
.color-q2 {
	color: #ce7e01;
}
.color-q3 {
	color: #e6ee07;
}
.color-q4 {
	color: #209b20;
}
.color-q5 {
	color: #b123a4;
}
.color-q6 {
	color: #01b3b3;
}
.color-q7 {
	color: #015fbc;
}
.color-q8 {
	color: #fe5416;
}

.grid-sp-2 {
	grid-column: span 2;
}

.grid-sp-3 {
	grid-column: span 3;
}

.grid-sp-4 {
	grid-column: span 4;
}

.grid-col-1 {
    grid-template-columns: minmax(0, 1fr) !important;
}

.grid-col-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.grid-col-2-m-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.mobile.grid-col-2-m-1 {
    grid-template-columns: minmax(0, 1fr) !important;
}

.grid-col-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.grid-col-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.grid-col-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.grid-col-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.grid-col-7 {
    grid-template-columns: repeat(7, 1fr) !important;
}

.grid-col-8 {
    grid-template-columns: repeat(8, 1fr) !important;
}

.grid-col-2-span {
    grid-column: span 2;
}

.grid-col-3-span {
    grid-column: span 3;
}

.grid-col-span {
    grid-column: 1/-1;
}

.grid-row-span-2 {
    grid-row: span 2;
}

.grid-row-span-3 {
    grid-row: span 3;
}
.grid-row-span-4 {
    grid-row: span 4;
}

.grid-row-span {
    grid-row: 1/-1;
}

.insideShadowWrapper {
    margin: 0 auto;
    box-shadow: inset 0 0 3px 1px black;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    background-color: #00000040;
    border-radius: 0.5em;
    padding: 0.4em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #555;
}

.insideShadowWrapper.grid-1 {
    grid-template-columns: 1fr;
}

.insideShadowWrapper.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.insideShadowWrapper.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.insideShadowWrapper.marked {
    box-shadow: inset 0 0 3px 1px #66ff00;
    border: 1px solid #66ff00;
    background-color: #a7a9a726;
}

.insideShadowWrapper:hover {
    background-color: rgba(255, 255, 255, 0.18) !important;
}

.insideShadowWrapper > div,
.darkTableLookLike .darkTableLookLikeHeader > div {
    justify-self: center;
    align-self: center;
    font-weight: 900;
}

.insideShadowWrapper.align-base > div,
.darkTableLookLike .darkTableLookLikeHeader.align-base > div {
    align-self: baseline;
    font-weight: 900;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.modal-window .modal-header {
    height: 50px;
    border-bottom: 1px #303030 solid;
    box-sizing: border-box;
}

.modal-window .modal-content {
    height: calc(100% - 50px);
}

.border-bottom {
    border-bottom: 1px #303030 solid;
}

.overflow-auto {
    overflow: auto;
}

.display_contents {
    display: contents;
}

.justify_content_center {
    justify-content: center;
}

.overflow-hidden {
    overflow: hidden !important;
}

.overflow-unset {
    overflow: unset;
}

div.modal-window.popup {
    animation-name: popup;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation-fill-mode: forwards;
    box-shadow: 4px 4px 8px -4px black;
    background: url(../img/bg3.png) repeat scroll 0 0 #222!important;
}

.link-like {
    cursor: pointer;
    text-decoration: none;
    color: #3787ea;
    transition: color 0.5s ease-in-out;
}

.link-like:hover {
    color: #9320A6;
    text-decoration: none;
}

.link-like:visited {
    color: #007F00;
}

.link-like:active {
    color: #FF5733;
}

.txt-italic {
	font-style: italic;
}

.txt_capitalize {
	text-transform: capitalize;
}

.txt-underline {
    text-decoration: underline;
}

.txt_upper {
	text-transform: uppercase;
}

.txt_lower {
	text-transform: lowercase;
}

.btn-buy {
    background: linear-gradient(to bottom, #19b416 5%, #0d5608 100%) !important;
    box-shadow: inset 0px -3px 1px 1px #054404, inset 0px 1px 4px 0px rgb(108 253 91) !important;
    outline: 3px solid black !important;
    border-radius: 6px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    direction: ltr;
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: -.022em;
    line-height: 1.47059;
    overflow: visible;
    border: none !important;
    padding: 5px 15px;
    text-align: center;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    text-shadow: 0 -1px 1px #222 !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-buy:hover {
    background-image: radial-gradient(100% 75% at 50% 100%, #1eab0c 0%, #259225 100%) !important;
    text-decoration: none;
}

.btn-buy:active {
    box-shadow: inset 0px 0px 3px 3px #054404, inset 0px 1px 4px 0px rgb(255 197 197) !important;
}

.mobile .btn-buy {
    outline: 5px solid black;
    border-radius: 0.25em !important;
}

.mobile .btn-m-font3{
    font-size: 3em;
}

.btn-p-15-2 {
    padding: 1.5em 2em !important;
}

.btn-p-05-1 {
    padding: 0.5em 1em;
}

.text-center {
	text-align: center
}
.text-right {
	text-align: right
}
.text-left {
	text-align: left
}

.mobile .btn-fight:active {
    box-shadow: inset 0px 0px 3px 3px #054404, inset 0px 1px 4px 0px rgb(255 197 197) !important;
}

.btn-gray {
    background-image: linear-gradient(to bottom, #b3b3b3 5%, #424242 100%) !important;
    outline: 2px solid black !important;
    box-shadow: inset 0px -3px 1px 0px #202020, inset 0px 1px 1px 0px rgb(255 255 255) !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-gray:active {
    box-shadow: inset 0px 0px 3px 3px #202020, inset 0px 1px 4px 0px rgb(255 255 255) !important;
}

.btn-gray:hover {
    background-image: radial-gradient(100% 75% at 50% 100%, #b3b3b3 0%, #424242 100%) !important;
}

.mobile .btn-gray:active {
    box-shadow: inset 0px 0px 3px 3px #b3b3b3, inset 0px 1px 4px 0px #424242 !important;
}

.btn-yellow {
    cursor: pointer;
    background: linear-gradient(to bottom,#ffd507 0,#d55100 100%) !important;
    box-shadow: inset 0px -3px 1px 1px #6f2900, inset 0px 1px 4px 0px rgb(255 237 197) !important;
    outline: 3px solid black;
    text-shadow: 0 -1px 1px #222 !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-yellow:active {
    box-shadow: inset 0px 0px 3px 3px #663f00, inset 0px 1px 4px 0px #debd09 !important;
}

.btn-yellow:hover {
    background-image: radial-gradient(100% 75% at 50% 100%, #d68706 0%, #debd09 100%) !important;
}

.mobile .btn-yellow:active {
    box-shadow: inset 0px 0px 3px 3px #d68706, inset 0px 1px 4px 0px #debd09 !important;
}

.btn-green {
    width: fit-content;
    padding: 5px 15px;
    outline: 3px solid black;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    cursor: pointer;
    background: linear-gradient(to bottom, #4CAF50 5%, #45a049 100%) !important;
    box-shadow: inset 0px -4px 2px 1px #165315, inset 0px 1px 4px 0px rgba(255, 255, 255, 0.7) !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-green:hover {
    background: linear-gradient(to bottom, #45a049 5%, #4CAF50 100%) !important;
}

.btn-green:active {
    box-shadow: inset 0px 0px 3px 3px #0d5410, inset 0px 1px 4px 0px #0b4e0e !important;
}

.btn-blue {
    width: fit-content;
    padding: 5px 15px;
    outline: 3px solid black;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    cursor: pointer;
    background: linear-gradient(to bottom, #0073e6 5%, #005bb7 100%) !important;
    box-shadow: inset 0px -3px 1px 1px #04397c, inset 0px 1px 2px 0px rgba(255, 255, 255, 0.7) !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-blue:hover {
    background: linear-gradient(to bottom, #005bb7 5%, #0073e6 100%) !important;
}

.btn-blue:active {
    box-shadow: inset 0px 0px 3px 3px #083366, inset 0px 1px 4px 0px #04396e !important;
}

.btn-purple {
    width: fit-content;
    padding: 5px 15px;
    outline: 3px solid black;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    cursor: pointer;
    background: linear-gradient(to bottom, #951eaa 5%, #8c1bbd 100%) !important;
    box-shadow: inset 0px -3px 1px 1px #460e4f, inset 0px 1px 2px 0px rgba(255, 255, 255, 0.7) !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-purple:hover {
    background: linear-gradient(to bottom, #7b1fa2 5%, #9c27b0 100%) !important;
}

.btn-purple:active {
    box-shadow: inset 0px 0px 3px 3px #310444, inset 0px 1px 4px 0px #6b1779 !important;
}

.btn-red {
    cursor: pointer;
    background: linear-gradient(to bottom, #ff4d4d 0, #cc0000 100%) !important;
    box-shadow: inset 0px -3px 1px 1px #660000, inset 0px 1px 4px 0px rgb(255 197 197) !important;
    outline: 3px solid black;
    text-shadow: 0 -1px 1px #222 !important;
    transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.btn-red:active {
    box-shadow: inset 0px 0px 3px 3px #330000, inset 0px 1px 4px 0px #cc0000 !important;
}

.btn-red:hover {
    background-image: radial-gradient(100% 75% at 50% 100%, #990000 0%, #cc0000 100%) !important;
}

.mobile .btn-red:active {
    box-shadow: inset 0px 0px 3px 3px #990000, inset 0px 1px 4px 0px #cc0000 !important;
}

.text-promotion-style {
    text-shadow: 2px 2px 2px #000, 2px 3px 5px #000, -1px 1px 0 #0000, 1px 1px 0 #0000;
    color: white;
    font-weight: bold;
}

.text-shadow-2-2-black {
    text-shadow: 0px 0px 2px black, 0px 1px 2px black !important;
}

.text-shadow-2-2-white {
    text-shadow: 0px 0px 2px white, 0px 1px 2px white;
}

.text-no-shadow {
    text-shadow: unset !important;
}

.filter-shadow {
    filter: drop-shadow(0px 0px 6px black);
}

.h-unset {
    height: unset;
}

.btn-buy.disabled, .disabled:not(.ticketOption) {
    pointer-events: none;
    cursor: default;
    opacity: .6;
}

.gradient-yellow {
    background-image: linear-gradient(144deg, #e5e204, #FFD63E 50%,#FFCB71);
}

.close_button {
    width: 25px;
    height: 25px;
    /*box-shadow: 0px 0px 2px 4px rgba(0, 0, 0, 0.25);*/
    border: 2px solid #0b2127;
    border-radius: 0.25em;
    background: #242424;
    left: 104%;
    top: 17%;
    margin-top: -75px;
    margin-left: -75px;
    position: absolute;
    display: block;
    z-index: 200;
    text-indent: -9999px;
}
.close_button:before,
.close_button:after {
    content: '';
    width: 55%;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 48%;
    left: 22%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.close_button:after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.close_button:hover {
    cursor: pointer;
    filter: brightness(1.25);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-grid {
    display: grid !important;
}

.d-block {
    display: block !important;
}

.d-inline-block {
    display: inline-block;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.grid-flow-c {
	grid-auto-flow: column;	
}

.grid-flow-r {
	grid-auto-flow: row;	
}

.grid-flow-d {
	grid-auto-flow: dense;	
}

.grid-flow-rd {
	grid-auto-flow: row dense;	
}

.grid-flow-cd {
	grid-auto-flow: column dense;	
}

.hidden {
    display: none !important;
}

.d-flex-important {
    display: flex !important;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flow-wrap {
    flex-flow: wrap;
}

.p-0 {
    padding: 0 !important;
}

.p-5 {
    padding: 5px;
}

.p-1 {
    padding: 1em;
}

.p-2 {
    padding: 2em !important;
}

.p-15-0 {
    padding: 1.5em 0 !important;
}

.p-1-0 {
    padding: 1em 0 !important;
}

.p-05 {
    padding: 0.5em !important;
}

.p-025 {
    padding: 0.25em;
}

.p-10 {
    padding: 10px;
}

.p-1-2 {
    padding: 1em 2em !important;
}

.p-05-1 {
    padding: 0.5em 1em !important;
}

.p-0-05 {
    padding: 0em 0.5em !important;
}

.p-0-25 {
    padding: 0em 0.25em !important;
}

.p-025-1 {
    padding: 0.25em 1em !important;
}

.p-05-125 {
    padding: 0.5em 1.25em;
}

.p-0-1 {
    padding: 0 1em;
}

.p-05-1 {
    padding: 0.5em 1em;
}

.p-05-15 {
    padding: 0.5em 15em;
}

.p-075-15 {
    padding: 0.75em 1.5em;
}

.p-075-2 {
    padding: 0.75em 2em;
}

.events-none {
    pointer-events: none;
}

.p-right-04 {
    padding-right: 0.4em;
}

.p-right-0 {
    padding-right: 0em;
}

.p-right {
    padding-right: 5px;
}

.p-top-1 {
    padding: 1em 0 0 0;
}

.p-top-2 {
    padding: 2em 0 0 0;
}

.p-top-9{
    padding-top: 9em;
}

.p-top-10{
    padding-top: 10em;
}

.p-bottom-05 {
    padding-bottom: 0.5em;
}

.m-0 {
    margin: 0 !important;
}

.m-left-5 {
    margin-left: 5px;
}

.m-left-05 {
    margin-left: 0.5em !important;
}

.m-5 {
    margin: 5px;
}

.m-10 {
    margin: 10px;
}

.m-20 {
    margin: 20px;
}

.m-30 {
    margin: 30px;
}

.m-bot-0 {
    margin-bottom: 0;
}

.m-bot-05 {
    margin-bottom: 0.5em;
}

.m-bot-075 {
    margin-bottom: 0.75em;
}

.m-bot-1 {
    margin-bottom: 1em;
}

.m-bot-2 {
    margin-bottom: 2em;
}


.m-bot-10 {
    margin-bottom: 10px;
}

.m-bot-30 {
    margin-bottom: 30px;
}

.m-bot-50 {
    margin-bottom: 50px;
}

.m-bot-60 {
    margin-bottom: 60px;
}

.font-size-04 {
    font-size: 0.4em;
}

.font-size-05 {
    font-size: 0.5em;
}

.font-size-06 {
    font-size: 0.6em;
}

.font-size-07 {
    font-size: 0.7em;
}

.font-size-075 {
    font-size: 0.75em;
}

.font-size-08 {
    font-size: 0.8em !important;
}

.font-size-1 {
    font-size: 1em !important;
}

.font-size-12 {
    font-size: 1.2em;
}

.font-size-125 {
    font-size: 1.25em !important;
}

.font-size-15 {
    font-size: 1.5em;
}

.font-size-175 {
    font-size: 1.75em;
}

.font-size-2 {
    font-size: 2em;
}

.font-size-225 {
    font-size: 2.25em;
}

.font-size-25 {
    font-size: 2.5em;
}

.font-size-3 {
    font-size: 3em;
}

.font-normal {
    font-weight: normal;
}

.text-bold {
    font-weight: bold;
}

.justify-center {
    justify-content: center;
    justify-items: center;
}

.justify-start {
    justify-items: start;
}

.justify-end {
    justify-items: end;
}

.justify-stretch {
    justify-items: stretch;
}

.justify-self-center {
    justify-items: center;
}

.justify-self-start {
    justify-self: start;
}

.justify-self-end {
    justify-self: end;
}

.justify-self-stretch {
    justify-self: stretch;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.align-start {
    align-items: start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: end;
}

.align-self-stretch {
    align-self: stretch;
}
.align-self-start {
    align-self: start;
}

.align-self-center {
    align-self: center;
}

.align-self-end {
    align-self: end;
}

.align-stretch {
    align-items: stretch;
}

.gap-05 {
    gap: 0.5em;
}

.gap-25 {
    gap: 0.25em;
}

.gap-1 {
    gap: 1em;
}

.gap-15 {
    gap: 1.5em;
}

.gap-2 {
    gap: 2em;
}

.gap-3 {
    gap: 3em;
}

.p-unset {
    position: unset !important;
}
.p-absolute {
    position: absolute;
}

.p-relative {
    position: relative;
}

.break-all {
    word-break: break-all;
}

.break-word {
    word-break: break-word;
}

.trans-opacity-250 {
    transition: opacity 250ms linear;
}

.max-w-80 {
    max-width:80%;
}

.w-100 {
    width: 100% !important;
}

.w-98 {
    width: 98% !important;
}

.w-97 {
    width: 97% !important;
}

.w-95 {
    width: 95% !important;
}

.w-90 {
    width: 90% !important;
}

.w-85 {
    width: 85% !important;
}

.w-80 {
    width: 80% !important;
}

.w-75 {
    width: 75% !important;
}

.w-55 {
    width: 55% !important;
}

.w-60 {
    width: 60% !important;
}

.w-67 {
    width: 67% !important;
}

.w-65 {
    width: 65% !important;
}

.w-30 {
    width: 30% !important;
}

.w-33 {
    width: 33% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40%;
}

.w-45{
    width: 45% !important;
}

.w-48{
    width: 48% !important;
}

.w-49{
    width: 49% !important;
}

.w-50 {
    width: 50% !important;
}

.w-25 {
    width: 25% !important;
}

.w-20 {
    width: 20%;
}

.w-22 {
    width: 22% !important;
}

.w-25vw {
    width: 25vw;
}

.h-100 {
    height: 100%;
}

.h-98 {
    height: 98%;
}

.h-90 {
    height: 90%;
}

.h-50 {
    height: 50%;
}

.z-1 {
    z-index: 1;
}

.z-25 {
    z-index: 25;
}

.z-50 {
    z-index: 50;
}

.z-97 {
    z-index: 97 !important;
}

.z-98 {
    z-index: 98 !important;
}

.z-100 {
    z-index: 100;
}

.z-400 {
    z-index: 400;
}

.m-1-auto {
    margin: 1em auto;
}

.m-05-auto {
    margin: 0.5em auto !important;
}

.m-025-auto {
    margin: 0.25em auto !important;
}

.m-auto, .m-0-auto {
    margin: 0 auto;
}

.m-top-10px {
    margin-top: 10px;
}

.m-top-20px {
    margin-top: 20px;
}

.m-05 {
    margin: 0.5em;
}

.m-1 {
    margin: 1em;
}

.m-05-1 {
    margin: 0.5em 1em !important;
}

.m-top-10 {
    margin-top: 10em;
}

.m-top-1 {
    margin-top: 1em !important;
}

.m-top-2 {
    margin-top: 2em;
}

.m-top-3 {
    margin-top: 3em;
}

.m-top-05{
    margin-top: 0.5em !important;
}

.h-50px {
    height: 50px;
}

.h-100px {
    height: 100px;
}

.h-1l {
    height: 1.4em;
}

.h-2l {
    height: 2.7em;
}

.h-2{
    height: 2em;
}

.h-3{
    height: 3em;
}

.h-3l {
    height: 4.0em;
}

.h-4l {
    height: 5.2em;
}

.h-5l {
    height: 6.4em;
}

.h-10l {
    height: 12.8em;
}

.h-15l {
    height: 19.2em;
}

.w-50px {
    width: 50px;
}

.w-100px {
    width: 100px;
}

.w-40px {
    width: 40px;
}

.w-20em {
    width: 20em !important;
}

.w-25vw {
    width: 25vw;
}

table.brd-space-1 {
	border-spacing: 1em;
}

table.brd-space-075 {
	border-spacing: 0.75em;
}

table.brd-space-05 {
	border-spacing: 0.5em;
}

table.brd-space-025 {
	border-spacing: 0.25em;
}

.brd-1-solid {
	border: 1px solid currentcolor;
}

.brd-2-solid {
	border: 1px solid currentcolor;
}

.brd-rad-025 {
	border-radius: 0.25em;
}
.brd-rad-05 {
	border-radius: 0.5em !important;
}
.brd-rad-075 {
	border-radius: 0.75em;
}
.brd-rad-1 {
	border-radius: 1em;
}
.brd-rad-125 {
	border-radius: 1.25em;
}

.m-right-10 {
    margin-right: 10px;
}
.cursor-pointer {
    cursor: pointer;
}

.cyan {
    color: cyan;
}

.neon-green {
    color: #49fb35;
}

.red {
    color: #ff0722;
}

.light-gray {
    color: #bfb7b8;
}

.white {
    color: white !important;
}

.green{
    color: green;
}

.gold {
    color: gold;
}

.black-bg {
    background-color: #000000b8;
}

.black{
    color: black !important;
}

.align-end {
    align-items: end;
}

.align-flex-start {
    align-items: flex-start;
}

.align-stretch{
    align-items: stretch;
}

.align-start {
    align-items: start !important;
}

.align-flex-end {
    align-items: flex-end;
}
.simple_modal {
    font-family: 'Helvetica Neue',Helvetica, sans-serif;
    color: white;
    opacity: 1;
    -webkit-transition: opacity 250ms linear;
    transition: opacity 250ms linear;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-window.size-sm {
    width: 350px;
    height: 300px;
}

.modal-window.size-md {
    width: 600px;
    height: 600px;
}

.modal-window.size-bh {
    width: 600px;
    height: 90%;
}

.no-margin {
    margin: 0 !important;
}

.circle {
    position: absolute;
    margin: auto;
    inset: 0px;
    height: 5vw;
    width: 5vw;
    border-radius: 50%;
    background: #a5c6c7;
    transition: 5s ease;
}

.globeLoader {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    bottom: 0;
    width: 5vw;
    animation: pulse 1.5s infinite alternate;
    border-radius: 50%;
    box-shadow: 0 0 0 #e2eae9;
}

.actionStatus {
    position: fixed;
    left: unset !important;
    right: 150px;
    bottom: 50px;
    width: 250px;
    height: auto;
    font-size: 18px;
    border:2px solid #d3d3d3;
    border-radius: 10px;
    text-align: center;
    padding: 16px;
    transition: opacity 250ms linear;
    z-index: 300;
}

.mobile .actionStatus > p {
    font-size: 2.5em !important;
}

.mobile .actionStatus > span {
    font-size: 0.5em !important;
}

.mobile .actionStatus {
    bottom: 80% !important;
    margin: 0 auto;
    width: 75% !important;
    left: 0 !important;
    right: 0 !important;
}

.vanishingLine {
    background-image: linear-gradient(90deg, transparent, #fff8 20%, #fff8 80%, transparent);
    border: 0 none;
    height: 0.25em;
    margin: 0 auto;
    width: 100%;
}

.battleOrderIcon {
    filter: sepia(1) saturate(10) hue-rotate(30deg) drop-shadow(0px 0px 4px black) brightness(2);
}

.hovertext:after {
    border: 2px solid grey;
    font-family: 'Open Sans', Arial;
    content: attr(data-hover);
    visibility: hidden;
    opacity: 0;
    background-color: #000000cc;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1em;
    padding: 0.5em 1em;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    z-index: 500;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(2px 2px 4px black);
}

.hovertext.left100:after {
    left: 100%;
}

.hovertext:hover:after {
    opacity: 1;
    visibility: visible;
}

.outline-black {
    outline: 3px solid black !important;
}

.color-white {
    color: #ffffff !important;
}

.bg-color-white {
    background-color: #ffffff;
}

.bg-color-brighter {
    background-color: #fff1;
}

.bg-color-darker {
    background-color: #0001;
}

.bg-color-blue {
    background-color: #0995de;
}

.bg-color-red {
    background-color: #de092a;
}

.bg-color-yellow {
    background-color: #debd09;
}

.bg-color-lemon {
    background-color: #95de09;
}

.bg-color-green {
    background-color: #22ad07;
}

.bg-color-cyan {
    background-color: #09debd;
}

.bg-color-purple {
    background-color: #5309de;
}

.bg-color-magenta {
    background-color: #bd09de;
}

.bg-color-black {
    background-color: #000;
}

.bg-color-white {
    background-color: #000;
}

.bg-color-none {
    background-color: unset;
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.disabled, .disabledWithGray {
    filter: grayscale(1);
    cursor: default;
    pointer-events: none;
}

.sizing-box {
    box-sizing: border-box !important;
}

.battleIcon {
    background-image: url(../img/buttonIcons/swords.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: invert(1) drop-shadow(0px -1px 0px black);
    width: 40px;
    height: 40px;
    min-width: 30px !important;
    margin: 0 auto;
}

.f-invert-1 {
    filter: invert(1);
}

.v-hidden {
    visibility: hidden;
}
.v-visible {
    visibility: visible;
}

.align-self-start {
    align-self: start;
}

.align-self-center {
    align-self: center;
}

.justify-self-center {
    justify-self: center;
}

.justify-self-start {
    justify-self: flex-start !important;
}

.justify-self-end {
    justify-self: flex-end;
}
.zoom-2 {
    zoom: 2;
}
.zoom-15 {
    zoom: 1.5;
}
.transform-scale-15 {
    transform: scale(1.5);
}

.transform-capitalize{
    text-transform: capitalize;
}

.flex-100 {
    flex: 100%;
}

.mobile .mobile-hidden {
	display: none !important;
}

.white-space-no-wrap {
    white-space: nowrap;
}

.opacity-0{
    opacity: 0;
}

.baby-blue {
	color: #a1caf1;
}

.text-white {
	color: #f2f2f2;
}

.text-black {
	color: #080808;
}
/**
 * perhaps we would like red, red, and green text
 */

button.baby-blue, input.baby-blue, select.baby-blue {
	background: #a1caf1;
	border-color: currentcolor;
	color: #f2f2f2;
	text-shadow: 0 0 2px #3d4c59;
}

.defaultForm.resetStyle {
    margin: 0;
    padding: 0;
    box-shadow: unset;
    background-color: unset;
}
.defaultForm {
    margin: 1.5em auto;
    background-color: #ffffff;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.defaultForm button,
.defaultForm .defaultFormBtn {
    background-color: #4caf50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.25em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.defaultForm .defaultFormBtn:hover {
    background-color: #45a049;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.defaultForm .defaultFormBtn:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.defaultForm input, .defaultForm select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box !important;
}

.mobile .defaultForm input, .mobile .defaultForm select {
    font-size: 0.7em;
}

.defaultForm label {
    display: block;
    font-weight: bold;
}

.defaultForm legend {
    font-size: 1.5em;
}

.defaultForm fieldset {
    border-radius: 8px;
}

.mobile .defaultForm {
    font-size: 2em;
}


.defaultForm input[type="submit"],
.defaultForm button[type="submit"],
.defaultForm .defaultFormBtn {
    background-color: #4caf50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.25em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.defaultForm input[type="submit"]:hover,
.defaultForm button[type="submit"]:hover {
    background-color: #45a049;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Base form container */
.validatedForm {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    font-size: 1.25em;
}

.validatedForm input[name="receiverName"],
.validatedForm input[name="title"],
.validatedForm input[name="sum"],
.validatedForm select[name="currencyId"],
.validatedForm select[name="product"],
.validatedForm input[name="quantity"],
.validatedForm input[name="price"]
{
    font-size: 1.25em;
    padding: 0.25em 0.5em;
    border-radius: 0.5em;
    text-align: center;
}

.validatedForm .bbcodebuttons {
    font-size: 0.875em;
    border-radius: 0.5em;
}

.validatedForm p {
    margin: 0 !important;
}

/* Form field wrapper */
.form-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.form-field-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-field-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* CSS Validation Styles */
/* Valid input base styles */
.validatedForm input:valid:not(:placeholder-shown):not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]),
.validatedForm input[type="checkbox"]:checked,
.validatedForm input[type="radio"]:checked,
.validatedForm select:valid:not(:placeholder-shown),
.validatedForm textarea:valid:not(:placeholder-shown) {
    border-color: var(--color-valid);
    border-width: 2px;
}

/* Invalid input base styles */
.validatedForm input:invalid:not(:placeholder-shown):not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]),
.validatedForm select:invalid:not(:placeholder-shown),
.validatedForm textarea:invalid:not(:placeholder-shown) {
    border-color: var(--color-invalid);
    border-width: 2px;
}

/* ===== FOCUS STATES ===== */
.validatedForm input:valid:focus:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]),
.validatedForm select:valid:focus,
.validatedForm textarea:valid:focus {
    outline: none;
    border-color: var(--color-valid);
    box-shadow: 0 0 0 3px var(--color-valid-alpha);
}

.validatedForm input:invalid:focus:not(:placeholder-shown):not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]),
.validatedForm select:invalid:focus:not(:placeholder-shown),
.validatedForm textarea:invalid:focus:not(:placeholder-shown) {
    outline: none;
    border-color: var(--color-invalid);
    box-shadow: 0 0 0 3px var(--color-invalid-alpha);
}

/* ===== ICON BACKGROUNDS MIXIN ===== */
/* Helper: Add padding and background icon to inputs */
.validatedForm input[type="text"],
.validatedForm input[type="email"],
.validatedForm input[type="url"],
.validatedForm input[type="password"],
.validatedForm input[type="search"],
.validatedForm input[type="tel"],
.validatedForm input[type="number"],
.validatedForm input.digit,
.validatedForm input.number,
.validatedForm input[type="date"],
.validatedForm input[type="time"],
.validatedForm input[type="datetime-local"],
.validatedForm input[type="month"],
.validatedForm input[type="week"] {
    padding-right: 35px;
}

/* Valid icon background */
.validatedForm input[type="text"]:valid:not(:placeholder-shown),
.validatedForm input[type="email"]:valid:not(:placeholder-shown),
.validatedForm input[type="url"]:valid:not(:placeholder-shown),
.validatedForm input[type="password"]:valid:not(:placeholder-shown),
.validatedForm input[type="search"]:valid:not(:placeholder-shown),
.validatedForm input[type="tel"]:valid:not(:placeholder-shown),
.validatedForm input[type="number"]:valid:not(:placeholder-shown),
.validatedForm input.digit:valid:not(:placeholder-shown),
.validatedForm input.number:valid:not(:placeholder-shown),
.validatedForm input[type="date"]:valid:not(:placeholder-shown),
.validatedForm input[type="time"]:valid:not(:placeholder-shown),
.validatedForm input[type="datetime-local"]:valid:not(:placeholder-shown),
.validatedForm input[type="month"]:valid:not(:placeholder-shown),
.validatedForm input[type="week"]:valid:not(:placeholder-shown) {
    background-image: var(--icon-checkmark);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* Invalid icon background */
.validatedForm input[type="text"]:invalid:not(:placeholder-shown),
.validatedForm input[type="email"]:invalid:not(:placeholder-shown),
.validatedForm input[type="url"]:invalid:not(:placeholder-shown),
.validatedForm input[type="password"]:invalid:not(:placeholder-shown),
.validatedForm input[type="search"]:invalid:not(:placeholder-shown),
.validatedForm input[type="tel"]:invalid:not(:placeholder-shown),
.validatedForm input[type="number"]:invalid:not(:placeholder-shown),
.validatedForm input.digit:invalid:not(:placeholder-shown),
.validatedForm input.number:invalid:not(:placeholder-shown),
.validatedForm input[type="date"]:invalid:not(:placeholder-shown),
.validatedForm input[type="time"]:invalid:not(:placeholder-shown),
.validatedForm input[type="datetime-local"]:invalid:not(:placeholder-shown),
.validatedForm input[type="month"]:invalid:not(:placeholder-shown),
.validatedForm input[type="week"]:invalid:not(:placeholder-shown) {
    background-image: var(--icon-x-mark);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* ===== RANGE INPUT ===== */
.validatedForm input[type="range"] {
    width: 100%;
    cursor: pointer;
}

/* ===== CHECKBOX & RADIO ===== */
.validatedForm input[type="checkbox"],
.validatedForm input[type="radio"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--color-valid);
}

.validatedForm input[type="checkbox"]:focus,
.validatedForm input[type="radio"]:focus {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.validatedForm input[type="checkbox"]:invalid:not(:checked) + label,
.validatedForm input[type="radio"]:invalid:not(:checked) + label {
    color: var(--color-invalid);
}

/* ===== FILE INPUT ===== */
.validatedForm input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.validatedForm input[type="file"]:valid {
    border-color: var(--color-valid);
}

.validatedForm input[type="file"]:invalid {
    border-color: var(--color-invalid);
}

/* ===== COLOR INPUT ===== */
.validatedForm input[type="color"] {
    width: 60px;
    height: 40px;
    cursor: pointer;
    padding: 4px;
}

.validatedForm input[type="color"]:valid {
    border-color: var(--color-valid);
}

.validatedForm input[type="color"]:invalid {
    border-color: var(--color-invalid);
}

/* ===== SELECT DROPDOWN ===== */
.validatedForm select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-sizing: border-box;
    cursor: pointer;
}

.validatedForm select:valid:not(:placeholder-shown) {
    border-color: var(--color-valid);
    border-width: 2px;
}

.validatedForm select:invalid:not(:placeholder-shown) {
    border-color: var(--color-invalid);
    border-width: 2px;
}

/* ===== TEXTAREA ===== */
.validatedForm textarea {
    resize: vertical;
    min-height: 100px;
}

.validatedForm textarea:valid:not(:placeholder-shown) {
    border-color: var(--color-valid);
    border-width: 2px;
}

.validatedForm textarea:invalid:not(:placeholder-shown) {
    border-color: var(--color-invalid);
    border-width: 2px;
}

/* ===== ERROR MESSAGES ===== */
.validatedForm .error-message {
    color: var(--color-invalid);
    font-size: 0.85em;
    margin: 5px 0;
    display: none;
    font-weight: normal;
}

.validatedForm input:invalid:not(:placeholder-shown):not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]) ~ .error-message,
.validatedForm select:invalid:not(:placeholder-shown) ~ .error-message,
.validatedForm textarea:invalid:not(:placeholder-shown) ~ .error-message {
    display: block;
}

/* ===== DISABLED STATE ===== */
.validatedForm input:disabled,
.validatedForm select:disabled,
.validatedForm textarea:disabled {
    background-color: var(--color-disabled);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== LABELS ===== */
.validatedForm label {
    display: block;
    font-weight: bold;
}

.validatedForm label.required::after {
    content: ' *';
    color: var(--color-invalid);
}

.form-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0.5rem 0;
}
/* ===== SUBMIT BUTTONS ===== */
.validatedForm input[type="submit"],
.validatedForm button[type="submit"] {
    transition: opacity var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.validatedForm:invalid input[type="submit"],
.validatedForm:invalid button[type="submit"] {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #9e9e9e;
    pointer-events: none;
}

/* ===== GLOBAL TRANSITIONS ===== */
.validatedForm input,
.validatedForm select,
.validatedForm textarea {
    transition: border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease,
    background-color var(--transition-speed) ease;
}

/* ===== SUCCESS MESSAGE ===== */
.validatedForm .success-message {
    background-color: var(--color-valid);
    color: white;
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    display: none;
}

.validatedForm .success-message.show {
    display: block;
}



.info-box {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
}


/*IN MULTIPLE TAGS*/
.citizenAvatar,
.companyAvatar {
    width:40px;
    height:40px;
    border-radius: 0.25em;
    border:1px solid #888;
}
.citizenEmptyAvatar,
.companyEmptyAvatar {
    width:40px;
    height:40px;
    border-radius: 0.25em;
    border:0;
}

.mobile is:(.citizenAvatar, .companyAvatar, .citizenEmptyAvatar, .companyEmptyAvatar) {
    border-radius: 0.125em;
}

.mobile .companyAvatar {
    zoom: 2;
}

/*CITIZEN TAG*/
.citizenTag {
    word-break: break-word;
    font-weight: bold;
    word-wrap: break-word;
    cursor: pointer;
}

.citizenTag .citizenInactive {
    color: #888;
}
.citizenTag .citizenBanned {
    color: #f00;
    text-decoration: line-through;
}

/*COMPANY TAG*/

.companyTag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    border-radius: 10px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    text-decoration: none;
    transition: box-shadow 0.2s ease-in-out;
    word-break: break-word;
    font-weight: bold;
    word-wrap: break-word;
    cursor: pointer;
}
/*.companyTag:hover {*/
/*box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2);*/
/*}*/
.companyTag .companyName {
    font-weight: bold;
}

/*ARTICLE PREVIEW TAG*/

.articleCreator .banned {
    color: #f00;
    text-decoration: line-through;
}
.articleCreator .inactive {
    color: #888;
}

/*SHOUT TAG*/

.shoutEditButtons {
    width:260px;
    margin:auto;
    text-align: center;
    min-height: 35px;
}

.shoutContainer {
    border-radius: 0.5em;
    padding: 0.75em 0.5em;
    width: 76% !important;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.25fr 2.5fr;
    align-items: start;
    background: url(../img/bgForElements/newShoutBg.jpg);
    background-size: 120%;
    background-position: center;
    border: 2px solid grey;
    box-shadow: inset 0 0 3px 1px black;
    filter: drop-shadow(2px 2px 4px black);
}

.mobile .shoutContainer {
    width: 97% !important;
}

.shoutAuthor > .d-flex:has(.shoutEditButtons div div:not([style*="display: none"])) {
    flex-direction: column !important;
}

.shoutContainer .shoutAuthor {
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    padding-bottom: 0 !important;
    align-items: center;
    color: #00000082;
    text-shadow: none;
    gap: 0.5em;
}

.shoutContainer .shoutContent {
    word-break: break-word;
    text-align: left;
    padding: 0.5em;
    background: #ffffff3b;
    border-radius: 0.5em;
    color: black;
    text-shadow: none;
}

.shoutContainer .shoutEditButtons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: unset;
    min-height: unset;
    text-shadow: none;
    margin: 0;
    background: #0000006b;
    padding: 0.25em;
    border-radius: 0.5em;
    align-items: center;
}

.shoutContainer .showShoutDetails {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: white;
}

.shoutContainer .shout2 {
    color: white;
    text-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.5em;
}

.mobile .shoutContainer .shout2 {
    gap: 0.25em;
}

.shoutContainer .shoutModerator {
    background: none repeat scroll 0 0 rgb(255 120 0 / 20%) !important;
    border: 2px solid rgb(255 120 0 / 30%) !important;
    padding: 0.5em !important;
}

.shoutContainer .shoutAvatar {
    justify-self: center;
    border: 2px solid grey !important;
}

.mobile .shoutContainer .shoutAvatar {
    zoom: 1.5;
}

.shoutContainer input[type="submit"] {
    margin: 0 !important;
    padding: 0.75em 1.25em !important;
}

/*CITIZNE DETAILS TAG*/
.citizenDetails {
    background-color: #222;
    background-image: url('../img/bgForElements/texture3.png');
    border: 2px solid grey;
    border-radius: 0.75em;
    position: absolute;
    -webkit-transition: opacity 250ms linear;
    transition: opacity 250ms linear;
    margin: 0 auto;
    background-size: cover;
    filter: drop-shadow(2px 4px 6px black);
}

.mobile .citizenDetails {
    font-size: 2em;
}

img.dialog-citizen {
    height: 5em;
    width: 5em;
}

.articleHeaderContent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    align-items: flex-start;
    height: 100%;
}

.shoutCommentsFlex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.mobile .shoutCommentsFlex {
    gap: 0.25em;
}

.shoutCommentsFlex > .shoutContainer {
    background: #6d6d6d1c;
    box-shadow: none;
    filter: none;
    width: 90% !important;
    border: none;
    padding: 0.25em !important;
    margin-bottom: 0 !important;
}

.darkform .headerGrid {
	display: grid;
	grid-template-columns: 1fr 4fr 1fr;
}
/* others */
.bigDarkTexture {
	background-image: url('../img/bgForElements/texture3.png');
    background-color: #00000040;
}

/* Main container */
.darkform {
	background: url('../img/bg.png') repeat scroll 0 0 #222;
	color: #f2f2f2;
	font-size: 1.25em;
	margin: 0 auto;
	overflow-y: visible;
	position: relative;
	width: 97%;
}
.darkform.no-bg {
    background: unset;
    border: unset;
    box-shadow: unset;
}
.darkform.bg-wall {
	background-attachment: scroll, scroll;
	background-color: #222;
	background-image: url(../img/bgForElements/texture3.png);
	background-position: 0 0, 0 0;
	background-repeat: repeat, repeat;
}

.darkform.bg-black-alpha {
	background: #1116;
}
.darkform.bg-white-alpha {
	background: #eee3;
}

.darkform.txt-shadow, .darkform .txt-shadow {
	text-shadow: 0 0 2px black;
}

.darkform, .darkformBorder {
	border: 1px solid #080808;
	border-radius: 0.25em;
	box-shadow: 0 0 4px #0008 inset; 
	padding: 0.5em;
}

.darkform.auctionForm {
	font-size: 1em;
}
.mobile .darkform {
    font-size: 2em;
}
.mobile .darkform.darkBiggerMobileFont {
    font-size: 3em;
}

.darkform select, .darkform button, .darkform table {
	font-size: inherit;
}

.darkform .p-old-std {
	padding: 0.75em 1.5em 0.8125em;
}

.darkform .border-old-std {
	border-radius: 0.4em;
	border: 1px solid #4448;
}

.darkform.bg-dark-sand, .darkform .bg-dark-sand {
	background: url('../img/bg3.png') repeat scroll 0 0 #222;
	border-color: #111;
}

.no-shadow-and-border {
    border: unset !important;
    box-shadow: unset !important;
}

.shadowWrapper {
    background-image: url(../img/bgForElements/texture3.png);
    background-color: #0202022b;
    border: 2px solid black;
    border-radius: 0.5em;
    box-shadow: inset 0 0 3px 1px black;
    padding: 0.5em;
    border-bottom: 1px solid #555;
}

.mobile .shadowWrapper {
    padding: 1em;
}

.darkform .centeredWrapper {
    background-color: #000000d4;
    width: 66%;
    margin: 0.5em auto;
    border: 2px solid black;
    border-radius: 0.5em;
    box-shadow: 0 0 3px 1px black;
}

.mobile .darkform .centeredWrapper {
    width: 86%;
}

.darkform h2 {
    font-size: 1.66em;
    color: white;
    text-shadow: -3px -1px 10px black;
    border-radius: 10px;
    margin: auto;
}

/* Selected + hover option */
.darkform .option {
	align-items: center;
	border-radius: 0.5em;
    /*box-shadow: inset 0px -3px 1px 0px #202020, inset 0px 1px 1px 0px rgb(255 255 255) !important;*/
    box-shadow: inset 0px -3px 1px 0px #512600, inset 0px 1px 1px 0px rgb(255 255 255) !important;
    color: #f2f2f2;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-weight: bold;
	justify-content: center;
    /*background-image: linear-gradient(to bottom, #b3b3b3 5%, #424242 100%);*/
    background-image: linear-gradient(to bottom, #ffa200 5%, #904300 100%);
    /*outline: 2px solid black !important;*/
    outline: 3px solid black !important;
	text-shadow: 0 0 2px #000;
	transition: background 0.5s;
    padding: 0.5em 0;
    font-size: 0.8125em;
}

.mobile .darkform .option {
    font-size: 1em;
}
.darkform .option:hover {
    /*background-image: radial-gradient(100% 75% at 50% 100%, #b3b3b3 0%, #424242 100%);*/
    background-image: radial-gradient(100% 75% at 50% 100%, #ffa200 0%, #904300 100%);
}
.darkform .option:active {
    /*box-shadow: inset 0px 0px 3px 3px #202020, inset 0px 1px 4px 0px rgb(255 255 255) !important;*/
    box-shadow: inset 0px 0px 3px 3px #512600, inset 0px 1px 4px 0px rgb(255 255 255) !important;
}

.darkform .option.selected,
.darkform .option.selectedAny {
	/*background: linear-gradient(to bottom, #eadc35 0, #e07400 100%) !important;*/
    box-shadow: inset 0px -3px 1px 0px #0047b7, inset 0px 1px 1px 0px rgb(255 255 255) !important;
    background: linear-gradient(to bottom, #2c79f3 0, #00b0f4 100%) !important;
}
.darkform .option.selected:hover,
.darkform .option.selectedAny:hover {
	/*background: linear-gradient(to bottom, #f3e32c 0, #f47e00 100%) !important;*/
	background: linear-gradient(to bottom, #2caaf3 0, #00bff4 100%) !important;
}

/* Drop down selects */
.darkform .notActive, .darkform :disabled {
	cursor: not-allowed;
	filter: brightness(0.75);
}

.darkform.m-v-05em {
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}
h2.darkform-whiteHeader, .darkform h2.whiteHeader {
	color: #f2f2f2;
	margin: 0.125em auto 0;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
h3.darkform-whiteHeader, .darkform h3.whiteHeader {
	color: #f2f2f2;
	margin: 0.5em auto 0.25em;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
.darkform .selectedOptions {
    /*background: #080808;*/
    border-radius: 0.35em;
    display: flex;
    z-index: 95;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 70px;
}
.darkform .selectedOptions > .bubbleOption {
    background: linear-gradient(to bottom, #2caaf3 0, #00bff4 100%);
    box-shadow: inset 0px -3px 1px 0px #0047b7, inset 0px 1px 1px 0px rgb(255 255 255);
    color: #fff;
    padding: 3px;
    border-radius: 0.25em;
    margin: 0 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.darkform .dropdownSelect {
	background: #0000;
	border-radius: 0.35em;
	color: #f2f2f2;
	display: inline-block;
	height: 5em;
	width: 12em;
	margin: 1em 2em;
	transition-delay: 0.2s;
	vertical-align: top;
}
.darkform .dropdownSelect .dropdownDark {
	background: #080808;
	border: 0.35em solid #000;
	border-radius: 0.35em;
	display: none;
	height: auto;
	left: 3%;
	max-height: 40vh;
	overflow-y: auto;
	padding: 0.5em;
	position: absolute;
	width: 90%;
    z-index: 98;
}
.darkform .dropdownSelect:hover .option {
	box-shadow: 0 0 0 4px #080808;
}
.darkform .dropdownSelect:hover .dropdownDark {
	display: grid;
	gap: 0.5em;
	grid-auto-rows: 1fr;
}

.darkform .dropdownSelect.compact {
    width: 9em;
    height: 4em;
    margin: 0.5em 1em;
}

.jobMarketContainer .darkform .dropdownSelect {
    background: unset;
    border-radius: unset;
    color: #f2f2f2;
    display: inline-block;
    height: unset;
    width: unset;
    margin: unset;
    transition-delay: 0.2s;
    vertical-align: top;
}

.jobMarketContainer .darkform .dropdownSelect .dropdownDark {
    display: grid;
    gap: 0.5em;
    grid-auto-rows: 1fr;
    background: unset;
    border: unset;
    border-radius: 0.35em;
    height: auto;
    left: unset;
    max-height: unset;
    overflow-y: auto;
    padding: 0.5em;
    position: unset;
    width: unset;
    z-index: 98;
}

.mobile .dropdownSelect > .option {
    zoom: 1.2;
}

.darkform .multiChoiceDark {
	display: grid;
	gap: 0.25em;
	grid-auto-rows: 1fr;
}

.darkform .flex_template_column_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.darkform .text_form_style {
    color: white;
    text-transform: uppercase;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bolder;
}

.darkform .text_form_style {
    margin-top: 0.5em;
}

.mobile .darkform .selectedOption {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
}

.darkform .xflagsMedium,
.darkform .xflagsBig {
    border: 2px solid black;
    border-radius: 0.25em;
}

.darkform .currencySpan {
    font-size: 1em;
    font-weight: bold;
}

.grid_template_d8_m5, .dropdownDark, .grid_template_d8_m3, .grid_template_d8_m4, .grid_template_d8_m2 {
	grid-template-columns: repeat(8, 1fr);
}
.grid_template_d6_m4, .grid_template_d6_m3, .grid_template_d6_m5 {
	grid-template-columns: repeat(6, 1fr);
}
.grid_template_d5_m5, .grid_template_d5_m3,
.mobile :is(.grid_template_d8_m5, .grid_template_d6_m5, .dropdownDark) {
	grid-template-columns: repeat(5, 1fr);
}
.grid_template_d4_m4, .grid_template_d4_m2, .grid_template_d4_m3,
.mobile :is(.grid_template_d6_m4, .grid_template_d8_m4, .grid_template_d4_m4) {
	grid-template-columns: repeat(4, 1fr);
}
.grid_template_d3_m3, .grid_template_d3_m2,
.mobile :is(.grid_template_d8_m3, .grid_template_d5_m3, .grid_template_d3_m3, .grid_template_d4_m3) {
	grid-template-columns: repeat(3, 1fr);
}
.grid_template_d2_m1, .grid_template_d2_m2,
.mobile :is(.grid_template_d3_m2, .grid_template_d8_m2, .grid_template_d4_m2, .grid_template_d2_m2){
	grid-template-columns: repeat(2, 1fr);
}	
.mobile .grid_template_d2_m1 {
	grid-template-columns: repeat(1, 1fr);
}
.darkform .dropdownSelect.hideForAMoment:hover .dropdownDark {
	display: none;
}
.darkform .dropdownDark.option {
	padding: 0.5em 0;
}
.darkform .multiChoiceDark .option {
	padding: 0.5em;
}
.darkform .dropdownSelect>.option {
	align-items: center;
	box-sizing: border-box !important;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	min-height: 100%;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
.darkform .productImage {
	height: 3em;
	width: 3em;
}
.darkform :invalid {
	color: red;
	box-shadow: 0 0 2px red;
}

/* Quality */
.darkform .quickQualitySelect {
	margin: 0.5em;
	text-align: center;
}
.darkform .quickQualitySelect h3 {
	color: #f2f2f2;
	margin: 0 auto;
	text-shadow: 0 0 2px #080808;
}
.darkform .quickQualitySelect>.quantityLIst>div {
	align-items: center;
	display: flex;
	justify-content: center;
}
.darkform .quickQualitySelect .quantityList {
	/* we should change it to flax classes */
	align-items: start;
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(6, 1fr);
	justify-content: center;
	margin: 0 auto;
}
.darkform .quickQualitySelect .quantityList div {
	font-weight: 900;
	height: 3em;
}

/* other */
.darkform .linkToStorage,
.darkform .linkToMyAuctions {
    background: #000000d4;
    box-shadow: 0 0 3px 1px black;
	border-radius: 0.25em;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/*.mobile .darkform .linkToStorage {*/
    /*top: 64%;*/
    /*right: 4%;*/
/*}*/

.mobile .darkform .linkToMyAuctions {
    width: fit-content;
    left: 1%;
    top: 3%;
}

.darkform .linkToStorage a:hover {
	filter: brightness(1.5);
}

.darkform .dropdownDark.extraPadding > .option {
	padding: 1em;	
}

.mobile .darkform .dropdownDark > .option {
    padding: 15px;
}

.white-header {
	color: #f2f2f2 !important;
	text-shadow: 0 0 2px black;
}
.white-header:not(h1, h2, h3, h4) {
	font-size: 1.25em;
	font-weight: 900;
}

.font_s125em {
	font-size: 1.25em;
}
.font_s15em {
	font-size: 1.5em;
}
.font_s2em {
	font-size: 2em !important;
}

.radioDark {
	margin: 0.25em auto;
	display: block;
}
.radioDark>div {
	border-radius: 0 !important;
	display: inline-block !important;
	margin: 0.25em;
	padding: 0.25em 1.5em !important;
}
.radioDark>div:first-child {
	border-radius: 1em 0 0 1em !important;
}
.radioDark>div:last-child {
	border-radius: 0 1em 1em 0 !important;
}
.radioDark>div:only-child {
	border-radius: 1em !important;
}

.productMarketOfferList.mateuszStyle .offerer, .productMarketOfferList.mateuszStyle .productMarketOffersHeader > div:first-child {
    display: none;
}
.productMarketOfferList.mateuszStyle .gridMoreColumns {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
}
.marginAutoBottom {
	margin: 0.75em auto;
}

.darkform .grUL, .darkform .grML, .darkform .grBL {
    border: 1px solid #484848;
    font-size: 2em;
    font-weight: 900;
    cursor: pointer;
}
.darkform .grUL, .darkform .grBL {
    justify-self: center;
    padding: 0;
    width: 1.5em;
}
.darkform .grUL {
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
    border-radius: 0 5px 5px 0;
}

.darkform .grBL {
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
    border-radius: 5px 0 0 5px;
}

.darkform .grUL:active,
.darkform .grBL:active{
    background-image: linear-gradient(to bottom, #d68706 0, #f8dd36 100%)!important;
}

.darkform div > .btn-yellow:active {
    background-image: linear-gradient(to bottom, #d68706 0, #f8dd36 100%)!important;
}

.darkform .number {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    color: black;
    margin: 0;
    text-align: center;
    width: 3em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #484848;
    font-size: 1.5em;
    font-weight: 900;
}

/* BACKGROUNDS */
.newsheaderBg, .shoutsHeaderBg, .eventsHeaderBg {
    background-position: center !important;
    background-size: cover !important;
}
.newsheaderBg {
    background-image: url("../img/bgForElements/newsFilterBg.jpg") !important;
}
.shoutsHeaderBg {
    background-image: url("../img/bgForElements/shoutsHeaderBg.jpg") !important;
}
.eventsHeaderBg {
    background-image: url("../img/bgForElements/warRoomBg.png") !important;
}

.eventsPoliticalBg {
    background-image: url("../img/bgForElements/politicalEventsBanner.jpg") !important;
    background-position: center -70px;
    background-size: cover;
}

.bg-dark {
    background-color: #222 !important;
    background-image: url(../img/bgForElements/texture3.png) !important;
    background-repeat: repeat, repeat;
    border-radius: 6px;
    color: white;
}

.bg-dark-row {
    align-items: center;
    background-color: #00000040;
    border-radius: 0.5em;
    border-bottom: 1px solid #555;
    box-shadow: inset 0 0 3px 1px black;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}

.darkform .btn-grey-blue {
	background: linear-gradient(45deg, #67889e, #4090c5);
	border:2px solid black;
	border-radius: 0.4em;
	box-shadow: 0 -4px 4px #fff8 inset, 0 0 4px 4px #0008 inset;
	color: #111;
	font-weight: bold;
	padding: 0.4em 1.2em;
	text-shadow: 0 0 2px #ddd;
}

.darkform .filterInput {
    height: 30px;
    font-size: 1.25em;
    width: 180px;
    border-radius: 0.25em;
    text-align: center;
}
.mobile .darkform .filterInput {
    height: 60px;
    font-size: 1.5em;
    width: 90%;
}

#createProductOfferForm .storageCountryList {
    height: 250px;
}

.mobile #createProductOfferForm .storageCountryList {
    height: unset;
}

    .darkform.darkNavbar {
        font-size: 1em;
        display: inline;
        background:unset;
        border: unset;
        border-radius: unset;
        box-shadow: unset;
        padding: unset;
    }
    .darkform.darkNavbar .option {
        padding: 0;
    }
    .darkform.darkNavbar .dropdownSelect {
        height: 100%;
        width: 8.5%;
        margin: 0;
    }

    .newsheaderBg .searchArticleBtn {
        position: absolute;
        bottom: 4%;
        right: 1%;
    }

.ribbon {
    width: 100%;
    text-align: center;
    font-size: 23px !important;
    background: linear-gradient(to bottom, #3F4347, #2c3035);
    box-shadow: rgba(0,0,0,0.3) 0 1px 1px;
    font-family: 'Helvetica Neue',Helvetica, sans-serif;
    height: 55px;
}

.ribbon p {
    font-size: 25px !important;
    color: #FFFFFF;
    text-shadow: #080d11 0 1px 0;
    margin:0px;
    padding: 15px 10px;
}

.ribbon-content {
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ribbon-stitches-top {
    margin-top:4px;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
}

.ribbon-stitches-bottom {
    margin-bottom:2px;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
}

.ribbon-right {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
}
.ribbon-right span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#F70505 0%, #8F0808 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; right: -21px;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
.ribbon-right span::before {
    content: "";
    position: absolute; left: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid #8F0808;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #8F0808;
}
.ribbon-right span::after {
    content: "";
    position: absolute; right: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #8F0808;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #8F0808;
}

.ribbon-left {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
}
.ribbon-left span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#F70505 0%, #8F0808 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    left: -21px;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
.ribbon-left span::before {
    content: "";
    position: absolute; left: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid #8F0808;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #8F0808;
}
.ribbon-left span::after {
    content: "";
    position: absolute; right: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #8F0808;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #8F0808;
}

.custom-tooltip {
    position: absolute;
    z-index: 9999;
    background: #222;
    color: #fff !important;
    border: 2px solid #35540A;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    font-size: 1em;
    line-height: 1.4;
    max-width: 280px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(5px);
    pointer-events: auto;
    user-select: none;
    opacity: 0;
    font-family: sans-serif;
}

.mobile .custom-tooltip {
    font-size: 2em;
    max-width: 90vw;
}

.custom-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}
.custom-tooltip.hide {
    opacity: 0;
    transform: translateY(5px);
}

.custom-tooltip img {
    max-width: 100%;
    height: auto;
}

.custom-tooltip > * {
    color: #fff;
}

/* Make tooltip elements tappable on mobile */
[tooltip] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.custom-tooltip .smallDescLabel {
    padding-top: 0 !important;
    line-height: unset !important;
    margin: 0 !important;
    min-height: unset !important;
}

.custom-tooltip .blueLabel {
    box-shadow: none;
}

.custom-tooltip .smallDescLabel {
    width: 150px;
}

.mobile .custom-tooltip .smallDescLabel {
    width: 50vw;
}

.mobile .custom-tooltip .descStatsLabel {
    padding: 0.25em 0.5em;
    border-radius: 0.5em;
}

