* { 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: #E8FCDC;
    border: #080 1px solid;
    color: #080;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    font-size: 11px;
    word-wrap: break-word;
}

.flexcontainer {
	background: #000000;
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
        justify-content: center;
	margin: auto;
}

.flexhead {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
	border-radius: 6px;
    font-weight: bold;
    margin: 5px;
    background: #800000;
    color: #fff;
}

.flexhead a:link {
 color: #ccc;
}

.flexbox {
	background: #000000;
	width: 100%;
	padding: 20px;
	margin: 5px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.flextitle {
	width: 100%;
	color: #800000;
	padding: 10px;
	border-bottom: 2px solid #800000;
	margin-bottom: 10px;
	
	font-weight: bold;
}

.flextitle a:link {
	color: #800000;
}

.right_options {
    float: right;
    letter-spacing: 2px;
}

.chars {
	max-width: 350px;
}

.chars img {
 display: block;
}

.list {
	max-width: 430px;
}

.list img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 50px;
    height: auto;
}

.listchars {
	background: #000000;
	width: 100%;
	height: 150px;
	overflow-y: scroll;
	padding: 10px;
	margin-top: 20px;
}

.rela {
	max-width: 290px;
}

.rela img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 50px;
    height: auto;
}

.relas {
	height: 80px;
	overflow-y: auto;
	overflow-x: auto;
	scrollbar-color: #800000 black;
	margin: 10px 0px;
}

.relas img {
    width: 40px;
    height: auto;
    border-radius: 100%;
    float: left;
    margin-right: 10px;
}

.scene {
	background: #000000;
	width: 100%;
	padding: 10px;
	margin: 5px;
	border: 1px solid #800000;
	border-radius: 6px;
}

.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);
}

#scene_table {
	border-radius: 6px 0 0 6px;
    border-left: 1px solid #ccc;
    padding: 5px;
}