
body {
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.no-js #loader-wrapper {
    display: none;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    z-index: 1001;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    opacity: 0.7;
    z-index: 1000;
}

.loaded #loader {
    opacity: 0;
}

.loaded #loader-wrapper {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.tabmenu {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tabmenu button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tabmenu button:hover {
    background-color: #ddd;
}

.tabmenu button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

#buttonSave {
    visibility: hidden;
    margin-left: 10px;
}

#buttonDataEdit {
    /*float: right;*/

}

.logoutButton {
    float: right !important;
}

.subtabmenu-cont {
    border: none;
    padding: 0;
}

.subtabmenu {
    border: 1px solid #ff3c3c;
    background-color: #ff7373;
}

.subtabmenu button {
    padding: 10px 12px;
    /*float: right;*/
}

.subtabmenu button.hover {
    background-color: #ff5151;
}

.subtabmenu button.active {
    background-color: #ff3c3c;
}

.subtabcontent {
    border: 1px solid #ff3c3c;
}

#buttonDataEditSave {
    visibility: hidden;
    margin-left: 10px;
    background-color: #ff0606;
}

.basileia-txt {
    font-family: 'Rouge Script', cursive;
    font-size: 80px;
    margin-bottom: 20px;
    margin-left: 20px;
    text-decoration: underline;
}

td {
    padding: 3px;
    position: relative;
}

label {
    font-size: 20px;
    padding-left: 3px;
    padding-right: 3px;
}

td label {
    background-color: rgba(255, 255, 255, 0.6);
    padding-top: 2px;
    padding-bottom: 3px;
    display: inline-block;
    width: 190px;
    text-align: center;
}

.sum-row td {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.total-row td {
    border-top: 3px solid black;
    border-bottom: 3px solid black;
}

input {
    font-size: 18px;
    opacity: 0.8;
}

input:read-only {
    background-color: lightgrey;
}

#basic-info-cont input {
    margin-top: 5px;
    margin-left: 3px;
}

table {
    border-collapse: collapse;
    /*border: 1px solid black;*/
}

canvas {
    opacity: 0.85;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /*flex-direction: column;*/
    margin-top: 30px;
}

.content-wrapper div {
    flex-grow: 1;
    /*max-width: 50%;*/
}

@media (max-width: 800px) {
    .content-wrapper div {
        flex-grow: 1;
        /*max-width: 100%;*/
    }
}

.content-wrapper div table {
    vertical-align: middle;
}

#canvas-cont {
    flex-grow: 4 !important;
    max-width: 67% !important;
    position: relative;
}

@media (max-width: 800px) {
    #canvas-cont {
        flex-grow: 6 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

#bg-canvas {
    /*position:absolute;*/
    z-index: -1;
}

.table-cont {
    position: relative;
    padding: 10px;
    overflow: auto;
}

.stat-cont table {
    padding: 2px;
    margin: 4px;
    border: 2px solid black;
}

#MK-cont table {
    background: #217322;
}

#GK-cont table {
    background: #232899;
}

#LK-cont table {
    background: #eecf08;
}

#DG-cont table {
    background: #c81818;
}

.table-cont table {
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.tableWeapons-cont table {
    border: 2px solid rgba(240, 152, 7, 0.85);
}

.tableArmor-cont table {
    border: 2px solid rgba(7, 71, 240, 0.85);
}

.tableInventory-cont table {
    border: 2px solid rgba(71, 169, 7, 0.85);
}

.tableSkills-cont table {
    border: 2px solid rgba(255, 30, 0, 0.85);
}

.tableTalent-cont table {
    border: 2px solid rgb(255, 180, 51);
}

.small-input {
    width: 50px;
}

.medium-input {
    width: 90px;
}

.large-input {
    width: 150px;
}

.xlarge-input {
    width: 250px;
}

.xxlarge-input {
    width: 370px;
}

.fcinhuge-input {
    width: 580px;
}

.small-label {
    width: 50px;
}

.medium-label {
    width: 90px;
}

.large-label {
    width: 150px;
}

.xlarge-label {
    width: 250px;
}

.xxlarge-label {
    width: 370px;
}

.fcinhuge-label {
    width: 580px;
}

#tableWeapons tr:nth-child(even) {
    background-color: rgba(240, 152, 7, 0.6);
}

#tableWeapons tr:nth-child(odd) {
    background-color: rgba(240, 152, 7, 0.35);
}

#tableWeapons tr:nth-child(1) {
    background-color: transparent !important;
}

#tableWeapons tr:nth-child(2) {
    background-color: transparent !important;
}

#tableWeapons tr:nth-child(3) {
    background-color: rgba(240, 152, 7, 0.85);
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableArmor tr:nth-child(even) {
    background-color: rgba(7, 71, 240, 0.6);
}

#tableArmor tr:nth-child(odd) {
    background-color: rgba(7, 71, 240, 0.35);
}

#tableArmor tr:nth-child(1) {
    background-color: transparent !important;
}

#tableArmor tr:nth-child(2) {
    background-color: rgba(7, 71, 240, 0.85) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableInventory tr:first-child {
    background-color: rgba(71, 169, 7, 0.85) !important;
    border-bottom: 2px solid black;
}

#tableInventory tr:nth-child(even) {
    background-color: rgba(71, 169, 7, 0.6);
}

#tableInventory tr:nth-child(odd) {
    background-color: rgba(71, 169, 7, 0.35);
}

#tablePurse tr:first-child {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 2px solid black;
}

#tablePurse tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.6);
}

#tablePurse tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.35);
}

#tableWeight tr:nth-child(even) {
    background-color: rgba(100, 100, 100, 0.6);
}

#tableWeight tr:nth-child(odd) {
    background-color: rgba(100, 100, 100, 0.35);
}

#tableWeight tr:nth-child(4) {
    background-color: rgba(100, 100, 100, 0.85) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableWeaponTalents tr:first-child {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 2px solid black;
}

#tableWeaponTalents tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.6);
}

#tableWeaponTalents tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.35);
}

.tableTalents tr:first-child {
    background-color: rgba(255, 180, 51, 0.85) !important;
    border-bottom: 2px solid black;
}

.tableTalents tr:nth-child(even) {
    background-color: rgba(255, 180, 51, 0.6);
}

.tableTalents tr:nth-child(odd) {
    background-color: rgba(255, 180, 51, 0.35);
}

#tableSkills tr:first-child {
    background-color: rgb(255, 30, 0) !important;
    border-bottom: 2px solid black;
}

#tableSkills tr:nth-child(even) {
    background-color: rgba(255, 30, 0, 0.6);
}

#tableSkills tr:nth-child(odd) {
    background-color: rgba(255, 30, 0, 0.35);
}

#tableNotes tr:first-child {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 2px solid black;
}

#tableNotes tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.6);
}

#tableNotes tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.35);
}

#tableNegativeAttributes tr:first-child {
    background-color: rgba(100, 100, 100, 0.85) !important;
    border-bottom: 2px solid black;
}

#tableNegativeAttributes tr:nth-child(even) {
    background-color: rgba(100, 100, 100, 0.6);
}

#tableNegativeAttributes tr:nth-child(odd) {
    background-color: rgba(100, 100, 100, 0.35);
}

#tableDataEditWeapons tr:nth-child(even) {
    background-color: rgba(240, 152, 7, 0.6);
}

#tableDataEditWeapons tr:nth-child(odd) {
    background-color: rgba(240, 152, 7, 0.35);
}

#tableDataEditWeapons tr:nth-child(1) {
    background-color: rgba(240, 152, 7, 0.85);
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableDataEditWeapons tr:nth-child(2) {
    background-color: transparent !important;
}

#tableDataEditArmor tr:nth-child(even) {
    background-color: rgba(7, 71, 240, 0.6);
}

#tableDataEditArmor tr:nth-child(odd) {
    background-color: rgba(7, 71, 240, 0.35);
}

#tableDataEditArmor tr:nth-child(1) {
    background-color: rgba(7, 71, 240, 0.85) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableDataEditArmor tr:nth-child(2) {
    background-color: transparent !important;
}

#tableDataEditItems tr:nth-child(even) {
    background-color: rgba(71, 169, 7, 0.6);
}

#tableDataEditItems tr:nth-child(odd) {
    background-color: rgba(71, 169, 7, 0.35);
}

#tableDataEditItems tr:first-child {
    background-color: rgba(71, 169, 7, 0.85) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableDataEditItems tr:nth-child(2) {
    background-color: transparent !important;
}

#tableDataEditWeaponTalents tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.6);
}

#tableDataEditWeaponTalents tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.35);
}

#tableDataEditWeaponTalents tr:first-child {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableDataEditWeaponTalents tr:nth-child(2) {
    background-color: transparent !important;
}

.tableDataEditTalents tr:nth-child(even) {
    background-color: rgba(255, 180, 51, 0.6);
}

.tableDataEditTalents tr:nth-child(odd) {
    background-color: rgba(255, 180, 51, 0.35);
}

.tableDataEditTalents tr:first-child {
    background-color: rgba(255, 180, 51, 0.85) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableDataEditTalents tr:nth-child(2) {
    background-color: transparent !important;
}

#tableDataEditSkills tr:nth-child(even) {
    background-color: rgba(255, 30, 0, 0.6);
}

#tableDataEditSkills tr:nth-child(odd) {
    background-color: rgba(255, 30, 0, 0.35);
}

#tableDataEditSkills tr:first-child {
    background-color: rgb(255, 30, 0) !important;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

#tableDataEditSkills tr:nth-child(2) {
    background-color: transparent !important;
}

.delete-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 90px;
    background-color: #989898;
    font-size: 18px;
}

.delete-dataedit-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 150px;
    background-color: #ff0606;
    font-size: 18px;
}

.delete-character-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 250px;
    background-color: #ff0606;
    font-size: 18px;
}

.delete-campaign-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 250px;
    background-color: #ff0606;
    font-size: 18px;
}

.delete-session-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 150px;
    background-color: #ff0606;
    font-size: 18px;
}

.delete-campaigncharacter-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 250px;
    background-color: #ff0606;
    font-size: 18px;
}

.login-character-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 150px;
    background-color: #d6d6d6;
    font-size: 18px;
}

.open-campaign-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 150px;
    background-color: #d6d6d6;
    font-size: 18px;
}

.open-session-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 150px;
    background-color: #d6d6d6;
    font-size: 18px;
}

.open-campaigncharacter-button {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 150px;
    background-color: #d6d6d6;
    font-size: 18px;
}

.add-new-button {
    width: 100%;
    height: 100%;
}