* { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}

.groupcolor-1 { color: green; }
.groupcolor-2 { color: red; }
.groupcolor-3 { color: blue; }
.groupcolor-4 { color: orange; }
.groupcolor-5 { color: pink; }
.deactivated { opacity: 0.5; }

.green_alert {
    background: #0f0f0f;
    border: #080 1px solid;
    color: #080;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    font-size: 11px;
    word-wrap: break-word;
}

.flexcontainer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.flexhead {
    width: 100%;
    padding: 10px;
    border: 1px solid #0f0f0f;
    font-weight: bold;
    margin: 5px;
    background: #500a08;
    color: #837c58;
}
.flexhead a:link { color: #ccc; }

.flexbox {
    width: 100%;
    padding: 20px;
    margin: 5px;
    background: #0b0b0b;
    border: 1px solid #0f0f0f;
}

.flextitle {
    width: 100%;
    padding: 15px;
    border-bottom: 3px solid #500a08;
    color: #837c58;
    font-weight: bold;
    margin-bottom: 20px;
letter-spacing: 0.2em;
}
.flextitle a:link { color: #0066a2; }

.right_options {
    float: right;
    letter-spacing: 4px;
}

.chars { max-width: 300px; }
.chars img { display: block; }

.list { max-width: 300px; }
.list img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 50px;
    height: auto;
}
.listchars {
    width: 100%;
    height: 150px;
    background: #0f0f0f;
    overflow-y: scroll;
    padding: 10px;
    margin-top: 20px;
}

.rela { max-width: 200px; }
.rela img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 50px;
    height: auto;
}
.relas {
    width: 100%;
    height: 80px;
    background: #ddd;
    overflow-y: scroll;
    padding: 10px;
    margin-top: 20px;
}
.relas img {
    width: 40px;
    height: auto;
    border-radius: 100%;
    float: left;
    margin-right: 10px;
}

.scene {
    width: 100%;
    padding: 10px;
    margin: 5px;
    background: #0f0f0f;
    border: 1px solid #0b0b0b;
}
.yourturn { font-weight: bold; }
.postnow { font-weight: bold; color: red; }

.forumbit-img {
    float: right;
    border-radius: 100%;
    margin-left: 10px;
    width: 40px;
}

.forumdisplay-img {
    float: right;
    border-radius: 100%;
    margin-left: 10px;
    width: 40px;
}

.memberlist-img {
    float: left;
    border-radius: 100%;
    margin-right: 10px;
    width: 20px;
}

.calendar { max-width: 290px; }
.calendar li {
    width: 28px;
    height: 28px;
    border-radius: 100%;
    display: inline-block;
    text-align: center;
    margin: 2px;
    padding: 4px;
}
.calendar li:not(.scene) { background-color: #ddd; }
.calendar li.empty { opacity: 0.3; }
.calendar li.event { background-image: linear-gradient(45deg, transparent 50%, #fc90be 50%); }
.calendar li.scene { background-color: #91e0f6; border: none; }
.calendar li.birthday::before {
	content: "\f1fd";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-top: -10px;
    margin-left: 10px;
    font-size: 10px;
    color: #a55edc;
}

.calendarslider {
    overflow: hidden;
    display: flex;
}
.calendarslider .flexcontainer {
    flex: none;
    margin: 0;
    position: relative;
}

.displaymonth_year .displaymonth { opacity: 0.3; }

.map { position: relative; }
.address {
    position: absolute;
    width: 20px;
    height: 20px;
    padding: 2px;
    background: #ddd;
    border-radius: 100%;
    transform: translate(-50%, -50%);
}
.address img { width: 100%; }

.text25 { width: calc(25% - 5px); }
.text50 { width: calc(50% - 5px); }
.text100 { width: 100%; }

.popup_overlay:target {
    opacity: 1;
    pointer-events: auto;
}
.popup_overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    pointer-events: none;
}
.popup {
    width: 100%;
    max-width: 1000px;
    max-height: 80%;
    overflow-y: auto;
    background: #fff;
    padding: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: justify;
}
.popup_overlay a.close {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.flexname {
    width: 100%;
    border-bottom: 3px solid #500a08;
    color: #837c58;
font-size: 20px;
    font-weight: bold;
    padding-bottom: 10px;
letter-spacing: 0.2em;
}
.flextitle a:link { color: #0066a2; }