﻿
.hero {
    vertical-align: top;
    height: 100%;

}
    .hero .hero-icon {
        width: 150px;
    }


    .hero .float-child {
        width: 50%;
        float: left;
        padding: 5px;
        border: 2px solid gray;
        width:190px;
        height:190px;
    }

    .hero .player-name {
        font-weight:bold;
    }

    .hero .hero-weapon {
        height: 50px;
        width: 50px;
        background-size: cover;
    }

.battle-win {
    font-size: larger;
    color: green;
}

.battle-loss {
    font-size: larger;
    color: red;
}


#game-world {
    -moz-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    -webkit-transform: scale(1, -1);
    transform: scale(1, -1);
}

a.noclass {
    cursor:pointer;
}

.main-ui td
{
    vertical-align:top;
}

.map {
    vertical-align: top;
    height: 100%;
}
    .map a {
        font-size: larger;
        cursor: pointer;
        display: block;
        color: green;
        text-decoration:none;
    }
        .map a:hover {
            color: lightgreen;
            text-decoration:none;
        }

    .map table {
        width: 50%;
        float: left;
        width: 110px;
        border:1px solid gray;
    }


.current-action .step-image {
    max-width: 400px;
    max-height: 300px;
}
    .current-action .step-image img {
        max-width: 400px;
        max-height: 300px;
    }



.current-action .items .step-image {
    max-width: 200px;
    max-height: 100px;
}

    .current-action .items .step-image img {
        max-width: 200px; 
        max-height: 100px;
    }

.current-action .step-message {
    max-width: 440px;
    width: 440px;
    font-size: x-large;
    font-style: italic;
    color: chocolate;
    float: left
}

.battle-log {
    font-size:,medium;
    font-style: italic;
    color: chocolate;
}


.fight .answer-message.correct-answer{
    color:forestgreen;
}

.fight .answer-message.incorrect-answer {
    color:red;
}

.current-action .step-buttons.fight {
    float: none;
    font-weight: bold;
}

.current-action .step-buttons {
    margin-left: 25%;
    margin-right: 25%;
}

    .current-action .step-buttons a {
    }

    .current-action .step-buttons a:hover {
    }

.disabled {
    pointer-events: none !important;
    color: gray !important;
}

    .disabled a {
        pointer-events: none !important;
        color: gray !important;
    }


.enemy-hit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: xx-large;
    font-weight: bolder;
    text-shadow: 2px 2px #333333;
}


.hide {
    /*visibility: hidden;
    opacity: 0;*/
    transition: visibility 0s 5s, opacity 5s linear;    
}

#world-json {
    font-size:9pt;
}

.problem-help {

}
    .problem-help .illustration {
        font-size: x-large;
        text-align: center;
        vertical-align: middle;
    }

        .problem-help .illustration td {
            text-align: center;
            vertical-align: middle;
        }

        .problem-help .illustration .fa-circle {
            padding:2px;
        }

        .problem-help .illustration .fa-circle.b {
            color:blue;
        }

        .problem-help .illustration .fa-circle.a {
            color:red;
        }

    .problem-help .multiplication-table .header {
        font-weight: bold;
    }

    .problem-help .multiplication-table .header.a {
        background-color:aqua;
    }

        .problem-help .multiplication-table .header.b {
            background-color: aqua;
        }

    .problem-help .multiplication-table .selected {
        background-color: #c2f1f1;
    }

    .problem-help .multiplication-table .answer {
        font-weight: bold;
        background-color: #c2f1f1; 
        color:red;
    }




.player-ranking-progress {
    position: relative;
    margin-top: 3px;
    overflow: hidden;
}


.fontSilverNumbersSm {
    color: #ffffff;
    font: 13px Georgia;
    text-shadow: 1px 1px 0 #000, 1px 1px 0 #000;
}

.progress-bg {
    /* border: 2px solid rgba(146, 124, 71, 0.8); */
    border: 1px inset rgba(137, 128, 101, 0.6);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 7px;
    position: relative;
    /*width: 135px;*/
    height: 23px;
}

    .progress-bg .progress-container {
        position: absolute;
        left: 1px;
        top: 1px;
        right: 1px;
        bottom: 1px;
        width: auto;
        height: auto;
    }

    .progress-bg .timer {
        font-family: serif;
        position: absolute;
        right: 5px;
        top: 3px;
        text-shadow: 0px 1px 0px #000, 0px -1px 0 #000, -1px 0px 0 #000, 1px 0px 0 #000;
    }
     
    .progress-bg .progress-container .progress-indicator {
    height: 100%;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color: #028530;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #028530), color-stop(100%, #16FF42));
    background: -webkit-linear-gradient(left, #028530 0%, #16FF42 100%);
    background: -moz-linear-gradient(left, rgba(2, 133, 48, 1.0) 0%, rgba(22, 255, 66, 1.0) 100%);
    background: -ms-linear-gradient(left, rgba(2, 133, 48, 1.0) 0%, rgba(22, 255, 66, 1.0) 100%);
    background: -o-linear-gradient(left, rgba(2, 133, 48, 1.0) 0%, rgba(22, 255, 66, 1.0) 100%);
    background: linear-gradient(to right, #028530 0%, #16FF42 100%);
    -webkit-transition: width .5s ease-out;
    -moz-transition: width .5s ease-out;
    -ms-transition: width .5s ease-out;
    -o-transition: width .5s ease-out;
    transition: width .5s ease-out;
}


            .progress-bg  .hdrPoints {
                position: absolute;
                left: 5px;
                top: 3px;
                text-shadow: 0px 1px 0px #000, 0px -1px 0 #000, -1px 0px 0 #000, 1px 0px 0 #000;
            }


.player-inventory .one-item img {
    max-width:30px;
    max-height:30px;
}


.player-inventory .one-item { 
    border: 1px solid transparent; 
}



.pulsate {
    -webkit-animation: pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.6;
}

@-webkit-keyframes pulsate {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        opacity: 0.6;
    }
}