@font-face {
    font-family: 'Title-Font';
    src: url('../fonts/Bastarda-K.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 520px) {
    .col-xs-6 {
        width: 100% !important;
    }
}


.disabled {
    color: grey !important;
}

.top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 23px;
    background-color: black;
}

body {
    background: url(../media/images/Dark-Marble-Floor-Texture.jpg);
    color: azure;

    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;
}

body input {
    background-color: darkgreen;
}

a, .btn-link {
    color: #66dd66;
    text-decoration: none;
}

a:hover, a:active, .btn-link:hover, .btn-link:active {
    color: #66ff66;
    text-decoration: none;
}

a.active, a:active,
.btn-link.active, .btn-link:active,
.btn-link.focus, .btn-link:focus
{
    color: yellow;
    text-decoration: none;
}

a:not(.btn):visited {
    color: #66dd66;
}

li {
    list-style: none;
}

p:first-child:first-letter {
    float: left;
    font-family: Title-Font, Arial, sans-serif;
    mso-generic-font-family: auto;
    font-size: 260%;
    line-height: 100%;
    padding-right: 4px;
}

.top-fixed {
    position: fixed;
    bottom: 40px;
}

.admin-notes {
    color: #5bc0de;
    font-style: italic;
}

.disclaimer {
    padding: 16px;
}

.margin-right-8 {
    margin-right: 8px;
}

#char-infobox-layer {
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
}

#char-infobox {
    position: absolute;
    margin: 5%;
    width: 90%;
    height: 90%;
    z-index: 999;
    padding-top: 8%;
    padding-bottom: 8%;
    padding-left: 6%;
    padding-right: 6%;
    background-image: url(../media/images/parchment.png);
    background-repeat: no-repeat;


    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}

.char-info-header {
    font-weight: bold;
    font-size: 120%;
    color: #2e6da4;
    margin-top: 16px;
    margin-bottom: 8px;
}

.bg-map {

    margin: 2%;
    position: absolute;
    width: 96%;
    height: 96%;
    z-index: -1;

    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0.5;
}

.char-infobox-content {
    overflow: auto;
    width: 100%;
    height: 100%;
    position: relative;

}

::-webkit-scrollbar
{
    width: 12px;  /* for vertical scrollbars */
    height: 12px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track
{
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb
{
    background: rgba(0, 0, 0, 0.3);
}

#chatbox-handle {
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 120%;
    text-shadow: 0 0 4px black,
    0 0 6px white,
    0 0 12px yellow,
    0 0 15px crimson,
    0 0 20px #800000;
    width: 32px;
    height: 32px;
    border: 1px solid white;
    background-color: black;
    z-index: 10;
    text-align: center;
    padding-top:2px;
    margin: 2px;
}

#chatbox {
    display: none;
    position: absolute;
    right: 0px;
    top: 36px;
    border: 1px solid yellow;
    width: 60%;
    height: 140px;
    background-color: black;
    z-index: 10;
    box-shadow: 0 0 4px black, 0 0 8px white, 0 0 12px currentColor;
}

#chatlog {
    height: 116px;
    overflow-y: scroll;
    overflow-x: auto;
    font-size:90%;
}

#chatinputbar {
    height: 18px;

}

#chatinputbar input {
    width: 100%;
    height: 18px;
    font-size:90%;
}

#unreadcount {
    position: absolute;
    right: 2px;
    bottom: 0px;
    color: yellow;
    font-size:80%
}

#char-infobox-name {
    color: #2e6da4;
    font-family: Title-Font, Arial, sans-serif;
    font-size: 20px;
}

#char-infobox-description {
    color: black;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

#mapCanvas {

    background-color: lightgrey;
    border: 1px solid white;
}

#mapCanvasContainer {
    /*
    width: 100%;

    height: 100%;*/
    /* overflow: auto;*/
}

.div {
    display: none;
}

.admin-zone-title, .admin-region-name, .admin-terrain-name {
    color: yellow;
    display: inline;
    background-color: darkblue;
    padding: 4px;
    margin-left: -16px;
}

.item-spawn-point, .mob-spawn-point, .connection, .script {
    color: yellow;
    display: inline;
}

.script-action {
    color: #7DA0B1;
}

.script-action .comment {
    color: yellow;
}

.script-action .stop {
    width:100%;
    height:10px;
    border-bottom: 1px solid red;
}

.script-action .showkeylink {
    color: lightgreen;
}

.script-action-key {
    color: deepskyblue;
}

.shopitem-name, .shopitem-stats, .shopitem-img, .shopitem-price, .shop, .loader {
    vertical-align: middle !important;
}

.shop td {
    border-top:1px solid grey;
}
.table-shop {
    width: 100%;
}


.shopitem-stats {
    color: #7DA0B1;
    font-size: 80%;
}

.shopitem-description, .skill-description {
    color: #7DA0B1;
    font-size: 80%;
}

.red {
    color: red;
    display: inline;
}

.orange {
    color: orange;
    display: inline;
}

.green {
    color: #66dd66;
    display: inline;
}

.darkgreen {
    color: #3c763d;
    display: inline;
}

.grey {
    color: #BBBBBB;
    display: inline;
}

.white {
    color: white;
    display: inline;
}

.yellow {
    color: yellow;
    display: inline;
}

.script-link {

}

.flash-error {
    color: yellow;
}

.flash-info {
    color: greenyellow;
}

.flash-green {
    color: #66dd66;
}

.flash-yellow {
    color: yellow;
}

.flash-red {
    color: red;
}

.item-equipped-title {
    color: yellow;
}

.item-uneqipped-title {
    color: white;
}

.item-type-special {
    color: #5bc0de;
}


#items table > tbody > tr:nth-of-type(odd) {
    background-color: #122b40;
}

#items table > tbody > tr:nth-of-type(even) {
    background-color: #144166;
}

#content {

    padding: 2px;
    margin: 2px;

}

#admin-list-spawnpoints-mob {
    color: #dd6666;
}

#admin-list-connections {
    color: darkorchid;
}

#admin-list-spawnpoints-item {
    color: #5eb5e0;
}

#admin-list-scripts {
    color: yellow;
}

#admin-list-connections, #admin-list-spawnpoints-item, #admin-list-spawnpoints-mob, #admin-list-scripts {
    border: 1px solid #7DA0B1;

    margin: 8px;
}

#zone-mobs table, tr {
    border-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

#zone-mobs td {
    border-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 8px !important;
}

.focus-box {
    padding: 4px;
    border-radius: 6px;
    border: 1px solid #666666;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.8);
}

.focus-box.god {
    border: 1px solid yellow;
    box-shadow: 0 0 4px black, 0 0 8px white, 0 0 12px currentColor;
}

/* Player Status */

.health-green, .health-yellow, .health-red {
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}


#char-data .wounds {

}

#char-data .wounds .wound {
    display: inline-block;
    width: 14px;
    height: 16px;
    margin: 2px;
    text-shadow: 0 0 4px black, 0 0 8px white, 0 0 12px currentColor;
    vertical-align: bottom;
    opacity: 0.3;
}

#char-data .wounds .wound:after {
    font: 14px RPGAwesome;
    content: "";
}

.wound.none {
    color: chartreuse;
}

.wound.light {
    color: yellow;
}

.wound.medium {
    color: orange;
}

.wound.severe {
    color: red;
}

#char-data .wounds .wound.wounded {
    opacity: 1;
}

.leftbox {
    position: absolute;
    float: left;
    margin-right: 8px;
    width: 100px;
}

.rightbox {
    position: relative;
    float: right;
    width: 80%;
}

.rightbutton {
    position: relative;
    float: right;

}

img.item-image {
    float: left;
    margin-right: 8px;
    height: 16px;
    width: 16px;
}

.admin-header {
    font-size: 130%;
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: underline;
    mso-generic-font-family: auto;
}

.yellow-block {
    color: #ffcc00;
}

.header {
    font-size: 200%;
    font-family: Title-Font, Arial, sans-serif;
    mso-generic-font-family: auto;
    margin-bottom: 8px;
    padding-left: 2px;
    /* text-shadow: 0 -1px 1px #FFFFFF, 0 1px 1px #666666;

     */
    text-shadow: 0 0 4px black,
    0 0 6px white,
    0 0 12px yellow,
    0 0 15px crimson,
    0 0 20px #800000;
}

#zone-image {
    width: 200px; /*  maximum image width */
    max-width: 25%; /*  1/4 of the surrounding container */

    margin-right: 8px; /*  margin to separate the description from the image */
    margin-bottom: 8px;
    margin-top: 4px;
}

#zone-image img {

}

.zone-mob-container {
    margin-bottom: 8px !important;
    margin-right: 4px;
    max-width: 180px;
}

.mob-image {
    max-width: 64px;
    max-height: 64px;

}

.mob-image-overlay {
    position: absolute;
    margin-left: +8px;
    margin-top: -60px;
}

.td-mob-image {
    text-align: center;
}

.shop-row {
    border-bottom: 1px dashed grey!important;
}

.zone-mob-picture {
    width: 80px !important;
    text-align: center;
    height: 80px !important;
    vertical-align: bottom;
}

.bank-account-balance {
    color: greenyellow;
    margin-bottom: 8px;
}

#zone-title {
    display: inline;
}

#loadingDiv {
    display: none;
    float: right;
    margin-left: 16px;
    margin-right: 32px;
    margin-top: 4px;
}

#zone-connectionlist {
    margin-bottom: 8px;
}

#zone-connectionlist table {
    width: 100%;
}


#zone-info {
    padding-right: 20px !important;
}

#zone-description {

}

#script-output {
    margin-bottom: 8px;
}

#zone-connections {
    margin-bottom: 0px;
}

#zone-connections ul {
    padding-right: 20px !important;

    margin: 0 !important;
    padding-left: 0px !important;
    list-style: none;
}

#zone-connections li {
    margin: 0 !important;
    padding: 0 !important;
}

#zone-items ul {
    margin: 0 !important;
    padding-left: 4px !important;
    list-style: none;
}

#zone-items li {
    margin: 0 !important;
    padding: 0 !important;
}

#zone-items table tr td {
    vertical-align: middle;
}

#zone-items td.item-actions {
    text-align: left!important;

}

#zone-items .items-table {
    width: auto!important;
}

#zone-items .item-name {
    padding-right:8px!important;
}

#zone-items .item-image {
    margin-left: 8px!important;
}

#zone-items .item-row {
    border: 0px!important;
}

.borderless td, .borderless th {
    border: none;
}

#zone-mobs ul {
    margin: 0 !important;
    padding-left: 4px !important;
    list-style: none;
}

#zone-mobs li {
    margin: 0 !important;
    padding: 0 !important;
}

#char-items, #char-data {
    margin-bottom: 8px;
}

#char-items ul {
    margin: 0 !important;
    padding-left: 4px !important;
    list-style: none;
}

#char-items li {
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}

#char-skills ul {
    margin: 0 !important;
    padding-left: 4px !important;
    list-style: none;
}

#char-skills li {
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;

}

#footer {

}

.item-row {

}

.item-list-name {
    float: left;
    vertical-align: middle;
    padding-left: 8px;
}

.item-list-amount {
    float: left;
    vertical-align: middle;
}

.item-canproduce {
    color: green;
}

.item-cannotproduce {
    color: red;
}

@media (min-width: 1024px) {
    .item-row {
        border-top: 1px dashed grey!important;
    }
}

#message-dead {
    margin-top: 8px;
    padding-top: 8px;
}

/* centered Login-Form on non-phones */

@media (min-height: 420px) and (min-width: 420px) {
    #login-form, #registration-form {
        position: fixed;
        left: 50%;
        margin-left: -200px;
        margin-top: 5%;
        width: 400px;
        height: 85%;
        border: 1px solid #808080;
        border-radius: 8px;
        padding: 8px;
        background-color: rgba(23, 23, 23, 0.5);
        opacity: 1;
        transition: all 350ms ease-in-out;
        box-shadow: 0 0 4px black;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    #login-form.initial, #registration-form.initial {
        opacity: 0;
        margin-top: -70px;
    }
}

.news {
    margin-bottom:16px;
}

.news-title {
    border-bottom: 1px solid green;
    font-weight: bold;
}

.news-meta {
    font-size: 90%;
    color: grey;
}

#registration-form {
    padding-top:16px;
}

.property {
    display: inline-block;
    margin-right: 4px;
}

.admin-only {
    display: none;
}

body.admin-view .admin-only {
    display: inherit;
}

.rotate45cw {

    -moz-transform: rotate(45deg); /* FF */
    -o-transform: rotate(45deg); /* Opera */
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}

.rotate180 {
    -moz-transform: rotate(-180deg); /* FF */
    -o-transform: rotate(-180deg); /* Opera */
    -ms-transform: rotate(-180deg); /* IE 9 */
    -webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
    transform: rotate(-180deg);
}

/* adjust button-link to match our colors */
.btn-link,
.btn-link:active,
.btn-link:hover,
.btn-link:focus,
.btn-link:visited {
    padding: 4px 4px;
    margin-bottom: 1px;
    border-radius: 6px;
    border: 1px solid #666666;
    font-size: 90%;
    background-color: rgba(0, 0, 0, 0.25);
    transition: color 200ms linear;
}

.btn-stretch {
    min-width: 140px;
}

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

.btn-link:before {
    /* content: '[';*/
}

.btn-link:after {
    /* content: ']'; */
}

.btn-link.zone-connection {
    border: none;
    padding: 4px 8px;
}

td.zone-connection {
    width: 100%;
}

td.zone-connection button {
    border: none;
    text-align: left;
    width: 100%;
}

td.zone-connection button .path-icon.path-accessible {
    color: white;
}

td.zone-connection button .path-icon.path-hidden {
    color: white;
    opacity: 0.25;
}

td.zone-connection i {
    width: 16px;
    text-align: center;
    vertical-align: center;
}

table.items-table {
    width: 100%;
}

table.items-table td.item-actions {
    text-align: right;
    width: 140px !important;

}

table.items-table td.item-image {
    /* minimum width for the image */
    width: 1px;
}

table.items-table button.inventory-action {
    width: 68px;
}

.admin-actionbar {
    border-bottom: 3px double silver;
    margin-bottom: 8px;
    padding: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px black;
}

/** size small+ */
@media (min-width: 768px) {
    body.admin-mode {
        padding-top: 80px;
    }

    .admin-actionbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }
}

/** size medium+ */
@media (min-width: 992px) {
    body.admin-mode {
        padding-top: 42px;
    }
}

/*  USER PROFILE */

.char-name {
    color: lightgreen;
    font-weight: bold;
}

.char-stats {

}

.char-stat {
    display: inline-block;
    margin-right: 4px;
}

.char-stat-poison {
    color: red;
}
.char-stat-regen {
    color: lightgreen;
}
.char-stat-invisible {
    color: deepskyblue;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0.25; }
}


.char-actual-char {
    color: yellow;
}

.user_character_list li {
    margin-bottom: 8px;
}

.skill-list {

}

.skill-entry {
    height: 32px;
    vertical-align: middle;
}
.skill-entry i {
    width: 20px;

}


.item-info, .skill-info {
    display: none;
    margin: 0px;
    padding: 0px;
}

.skill-info {
    margin-bottom: 4px;
}

#combat-style, #combat-styles {
    width: 140px;
    text-align: center;
}

#combat-styles {
    height: auto;
    border: 1px solid darkgray;
    background-color: black;
    padding: 8px;
    display: none;
    position: absolute;
    border-radius: 4px;
    z-index: 100;
}

.combat-style-label {
    color: red;
    margin-bottom: 4px;
}

.mob-name {
    font-weight: bold;
}

/* tab-header buttons */
.btn.tab-header {
    transition: all 200ms ease-in-out;
}
.btn.tab-header.inactive {
    opacity: 0.25;
    text-shadow: 0 0 0 black;
}
.btn.tab-header.active {
    opacity: 1;
    text-shadow: 0 0 2px black, 0 0 4px yellow, 0 0 6px green;
}



@keyframes wobble {
    from {
        transform: none;
    }

    15% {
        transform: translate3d(-5%, 0, 0);
    }

    30% {
        transform: translate3d(4%, 0, 0);
    }

    45% {
        transform: translate3d(-3%, 0, 0);
    }

    60% {
        transform: translate3d(2%, 0, 0);
    }

    75% {
        transform: translate3d(-1%, 0, 0);
    }

    99% {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: none;
    }
}

.wobble {
    animation-name: wobble;
}


.animated {
    animation-duration: 0.2s;
    animation-fill-mode: both;
}

