/* css for both desktop and mobile clients */

body, p, input, label, a, button {
    font-family: sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
    user-select: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

form {
    margin: 0;
    padding: 0;
}

input {
    padding: 6px;
    border: 1px solid #000;
}

button {
    /*
    border-radius: 20px;
    padding: 8px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid green;
    */
    background-color: #fff;
    border: 1px solid green;

    border-radius: 5px;
    padding: 5px;
    display: inline-flex;
}

button:hover {
        background-color: #96fd96;
    }

#main_menu {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E0FFFF;
}

#main_menu span:hover {
}

#main_menu span {
        margin: 5px;
}

#map_div div {
    overflow: hidden;
    position: absolute;
}

#log_div {
    text-align: center;
    overflow-y: auto;
}

#res_div span{
    margin-right: 10px; /* Add spacing between spans */
}
#res_div span:last-child{
        margin-right: 0; /* Remove margin from the last span */
}


/* icon btn */
.icBtn {
    border-radius: 5px;
    padding: 2px;
    display: inline-flex;
}

/* class for elements with absolute 0 0 position */
.abs {
    position: absolute;
    top: 0px;
    left: 0px;
}

/* table with map   */
.maptable {
    border-collapse: collapse;
    border: none;
    border-spacing: 0px;
    margin-top: 0px;
}

    .maptable td {
        margin: 0px;
        padding: 0px;
        border: none;
    }

/* help */
.help_page {
    display: none;
}

    .help_page.active {
        display: block;
    }

/* styles for positive and negative notes in log */
.logpos {
    color: #008000;
}

.logneg {
    color: #DF2C34;
}

/*  style for floating text and positive and negative messages   */
.fltext {
    position: absolute;
    transition: all 1s;
    font-family: Verdana;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.posit {
    color: #008000;
}

.negat {
    color: #DF2C34;
}

/* for duration in item list */
.dur {
    background: #ddb722;
}

/* styles for different languages  */
/* 0 = no language, sounds  */
.lang0 {
    color: #101010;
}

/* 1 = human  */
.lang1 {
    color: darkblue;
}

/* 2 = elf  */
.lang2 {
    color: lightseagreen;
}

/* 3 = dwarf  */
.lang3 {
    color: rosybrown;
}

/* 4 = gobin  */
.lang4 {
    color: forestgreen;
}

/* styles for floating text with resources income */
.fr0{
    color:darkgoldenrod;
}

.fr1 {
    color: saddlebrown;
}

@keyframes blinkBorder {
    0% {
        border-color: red;
    }
    50% {
        border-color: transparent;
    }
    100% {
        border-color: red;
    }
}