﻿.button {
    width: 220px;
    margin-top: 30px;
    padding: 5px 10px 5px 10px;
    background-color: #aaa;
    color: black;
    text-align: center;
    cursor: pointer;
    opacity: 0.8;
    border-radius: 5px;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.3);
}
    .button:hover {
        opacity: 1.0;
    }

.button-dark {
    width: 220px;
    height: 21px;
    background-color: #121212;
    padding: 10px 20px 10px 20px !important;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 8px 2px rgba(0,0,0,.5);
    opacity: 0.9;
}
    .button-dark:hover {
        opacity: 1;
    }

.button-next {
    width: 220px;
    margin-top: 30px;
    padding: 5px 10px 5px 10px;
    background-color: #6E4A23;
    cursor: pointer;
    float: right;
    border-radius: 5px;
    box-shadow: 0 0 6px 3px rgba(0,0,0,.5);
    opacity: 0.9;
}
    .button-next:hover {
        opacity: 1;
    }

.button-small {
    width: 120px;
    padding: 5px 10px 5px 10px;
    background-color: #6E4A23;
    color: white;
    text-align: center;
    cursor: pointer;
    opacity: 0.9;
    border-radius: 10px;
    float: right;
    border: 2px solid rgba(128, 128, 128, 0.7);
}
    .button-small:hover {
        opacity: 1.0;
    }

.button-title {
    font-weight: normal;
    text-transform: uppercase;
    font-size: x-small;
    margin-top: 5px;
    padding: 0 !important;
}

.button-container .button,
.button-container .button-dark {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

.button-hidden {
    display: none;
}

.center-container {
    text-align: center;
}

.center-container div {
    margin-left: auto;
    margin-right: auto;
}

.eq {
    line-height: 0.1em;
}

.header {
    font-family: Agency;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../img/header-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    color: white;

    animation: header-fade-in ease .3s;
        -moz-animation: header-fade-in ease .3s;
        -webkit-animation: header-fade-in ease .3s;
        -o-animation: header-fade-in ease .3s;
}

.history {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background-color: #6e4a23;
    color: white;
    padding: 10px 10px 60px 10px;
    z-index: -1;
    border-radius: 4px 4px 0px 20px;
}

.history-item {
    cursor: pointer;
}

.lifepoints-container {
    padding: 2px 10px 10px 10px;
    text-align: center;
    text-transform: uppercase;
}

.lifepoints {
    font-size: large;
    font-weight: bold;
}

.lifepoints-label {
    display: block;
    font-size: x-small;
}

.lp-badge {
    transform: translate(155px, -23px);
    background-color: #808080;
    width: 40px;
    padding: 10.5px 2px !important;
    font-size: x-small;
    display: inline-block;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.page {
    background-color: dimgray;
    opacity: .9;
    padding: 10px;
    box-shadow: 0px 0px 30px 15px rgba(0,0,0,.8);
    border-radius: 5px;

    animation: page-fade-in ease .3s;
        -moz-animation: page-fade-in ease .3s;
        -webkit-animation: page-fade-in ease .3s;
        -o-animation: page-fade-in ease .3s;
}

.page-out {
    animation: page-fade-out forwards ease .3s;
        -moz-animation: page-fade-out forwards ease .3s;
        -webkit-animation: page-fade-out forwards ease .3s;
        -o-animation: page-fade-out forwards ease .3s;
}

.page-footer {
    display: flex;
    position: fixed;
    left: 20px;
    bottom: 20px;
    background-color: #6E4A23;
    color: white;
    opacity: 0.8;
    border-radius: 20px 4px 4px 20px;
    height: 40px;
    z-index: 100;
    box-shadow: 0 0 10px 5px rgba(0,0,0,.5);
    
    animation: header-fade-in ease .7s;
        -moz-animation: header-fade-in ease .7s;
        -webkit-animation: header-fade-in ease .7s;
        -o-animation: header-fade-in ease .7s;
}

.page-footer-icon-container {
    padding: 5px 6px 0px 6px;
}

.page-footer-icon {
    width: 30px;
    cursor: pointer;
}

.selection-header {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    padding-left: 5px;
}

.signature-swap {
    display: inline-block;
    border-top: 1px solid rgba(95, 100, 62, 0.2);
    border-bottom: 1px solid rgba(95, 100, 62, 0.2);
}

.source {
    display: inline-block;
    background-color: #707070;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 5px 10px !important;
    width: 20%;
    font-size: small;
    cursor: pointer;
    opacity: 0.8;
}
    .source:hover {
        opacity: 1.0;
    }
    .source-selected {
        background-color: #6E4A23
    }

.source-all {
    font-size: small;
}
    .source-all > div {
        display: inline-block;
        color: whitesmoke;
        cursor: pointer;
    }
    .source-all > div:hover {
        text-decoration: underline;
    }

.subheader {
    margin-top: 5px;
    font-size: small;
}

.superpoints-panel {
    display: flex;
    flex-direction: row;
}

.superpoints-container {
    display: inline-block;
    width: 275px;
    background-color: white;
    color: black;
    padding: 4px;
    margin: 2px;
    text-align: left;
}

.superpoints-value {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 4px;
    width: 100px;
    text-align: center;
    margin: 2px;
}

.talent-name {
    font-size: large;
    font-weight: bold;
    border-bottom: 1px solid rgba(128, 128, 128, .5);
}

.talent-desc {
    font-size: small;
}

.view-character {
    position: fixed;
    height: 40px;
    width: 50px;
    background-color: #e45e39;
    padding: 10px 0px 0px 10px;
    text-transform: uppercase;
    cursor: pointer;

    -webkit-touch-callout: none;
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
    user-select: none;
}

/* RESPONSIVE */

@media screen and (min-width: 800px) {
    .header {
        width: 512px;
        height: 61px;
        font-size: x-large;
        margin-top: 10px;
        padding-top: 1px;
    }

    .header-title {
        padding-top: 12px;
    }
}

@media screen and (min-width: 0px) and (max-width: 800px) {
    .button-small {
        width: 60px;
    }

    .header {
        width: 300px;
        height: 41px;
        margin-top: 20px;
        font-size: medium;
    }

    .header-title {
        padding-top: 6px;
    }

    .selection-header {
      font-size: x-small;
    }
}

/* ANIMATION */

@keyframes page-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: .8;
        transform: translateX(0px);
    }
}
@-moz-keyframes page-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: .8;
        transform: translateX(0px);
    }
}
@-webkit-keyframes page-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: .8;
        transform: translateX(0px);
    }
}
@-o-keyframes page-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: .8;
        transform: translateX(0px);
    }
}

@keyframes page-fade-out {
    0% {
        opacity: .8;
        transform: translateX(0px);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}
@-moz-keyframes page-fade-out {
    0% {
        opacity: .8;
        transform: translateX(0px);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}
@-webkit-keyframes page-fade-out {
    0% {
        opacity: .8;
        transform: translateX(0px);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}
@-o-keyframes page-fade-out {
    0% {
        opacity: .8;
        transform: translateX(0px);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes header-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
@-moz-keyframes header-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
@-webkit-keyframes header-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
@-o-keyframes header-fade-in {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
