
* {
 box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
}

.speciescolor-1, {
 color: green;
}

.speciescolor-2, {
 color: red;
}

.speciescolor-3, {
 color: blue;
}

.speciescolor-4, {
 color: orange;
}

.speciescolor-5, {
 color: pink;
}

.deactivated {
 opacity: 0.5;
}

#schoolclub_options {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#npclist {
	width: 25%;
	padding: 0;
}

#npclist .npc_img {
	background: #aaa;
	width: 270px;
	height: 270px;
	object-fit: cover;
	margin: auto;
}

#npclist .npc_text {
	opacity: 0;
	background: rgb(var(--beige));
	width: 100%;
	height: 100%;
	max-width: 270px;
	padding: 15px;
}

#npclist .npc_img:hover .npc_text {
	opacity: 1;
}

#npclist .npc_title {
	display: block;
}

#npclist .npc_text p {
	text-align: justify;
	max-height: 200px;
	overflow: auto;
	padding-right: 10px;
}

.memberprofile_rpchars {
	background: rgb(var(--beige));;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	margin: 10px 0;
}

.flex {
	display: flex;
}

.rpcharnew_cat {
	width: 100%;
	margin: 10px 0;
}

.rpcharnew_descr {
	width: 50%;
	margin: 0 15px 3px 0;
}

.rpcharnew_descr strong {
	text-transform: uppercase;
	color: rgb(var(--main-accent));
}

.rpcharnew_box {
	width: 50%;
}

.sectionend {
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
	border-bottom: solid 1px rgba(var(--main-accent), 0.5);
}

#shortquote {
	min-height: 130px;
}

#catOneContent,
#catTwoContent,
#catThreeContent {
	min-height: 250px;
}

.face {
    width: 33.3%;
    min-height: 180px;
}

.fcfont {
	text-transform: uppercase;
	font-size: 0.87em;
	color: rgba(var(--gray), 0.6);
}

.district_descr {
	width: 50%;
	text-align: justify;
	order: 2;
}

.district_descr p {
	max-height: 260px;
	overflow: auto;
	padding-right: 15px;
}

#districtchars {
	width: 50%;
	margin-right: 10px;
	overflow: auto;
	max-height: 310px;
	padding: 0;
	order: 1;
}

.districtpic {
	max-width: 1100px;
	width: 100%; 
	max-height: 200px; 
	object-fit: cover; 
	object-position: center;
}

.width33 {
    width: 100%;
    margin-left: 10px;
}

#districtlist,
#worklist {
	display: flex;
}

#districtlist{
	display: flex;
    height: 350px;
}

#worklist {
	display: flex;
    height: 250px;
}

#worklist {
    background: rgba(var(--main-accent), 0.2);    
    padding: 0;
	margin-bottom: 5px;
}

.workplace {
    padding: 10px;
}

.workdescr {
    overflow: auto;
    max-height: 147px;
    text-align: justify;
    padding-right: 15px;
}

#workchars {
	max-height: 250px;
	background: rgba(var(--beige), 0.6);
}

.work_icon {
	max-width: 250px;
	max-height: 250px;
}

.listchars {
    overflow: auto;
    padding: 10px;
}

.chars .rpavatar,
.job_pic,
.look,
.work_icon,
.closedscenebit {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
}

.chars:hover .rpavatar,
.jobs:hover .job_pic,
.look:hover,
#worklist:hover .work_icon {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
}

.rpchar_postbody {
    font-family: Source Serif Pro, serif;
    letter-spacing: 1px;
    line-height: 2.2;
}

#scene_specs {
    background: rgba(var(--main-accent), 0.2);
    color: rgb(var(--blackish));
}

#profile_extras {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#profile_extras li {
    width: 49%;
    background: rgba(255, 255, 255, 0.35);
    font-size: 25px;
    padding: 0.2em 0;
}

#intro {
    min-height: 70px;
}

.bio_cat {
    margin: 1em 0;
    width: 100%;
    max-width: 1100px;
    display: flex;
}

.rpchar_post_author {
    background: #F9FAF5;
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    height: 220px;
    display: flex;
}

.rpchar_author_information {
    padding: 0;
    width: 700px;
    text-align: center;
}

.rpchar_avatar {
    width: 400px;
    height: 220px;
}

.rpchar_author_information .char_descr {
    background: #ebe8d1;
    height: 220px;
    width: auto;
    font-size: 11px;
}

.rpchar_author_information .char_descr p {
    overflow: auto;
    max-height: 220px;
    padding: 0 12px;
    margin: 0;
    text-align: justify;
    border: 27px solid #ebe8d1;
}

.rpchar_author_information .specs {
    float: left;
    max-width: 320px;
    width: 100%;
    height: 220px;
}

.rpchar_author_information .name {
    padding: 20px;
    height: 80px;
    text-align: right;
    background: rgba(var(--main-accent), 0.5);
    overflow: hidden;
}

.rpchar_author_information .name a:link,
.rpchar_author_information .name a:visited,
.rpchar_author_information .name a:hover,
.rpchar_author_information .name a:active {
    text-decoration: none;
}

.rpchar_author_information .name strong {
    text-transform: uppercase;
}

.rpchar_author_information .icon_age {
    width: 100%;
}

.rpchar_author_information .icon_age .icon {
    max-width: 220px;
    max-height: 100px;
    height: 100%;
    float: left;
}

.rpchar_author_information .icon_age .age {
    background: rgb(var(--blackish));
    color: rgb(var(--beige));
    width: 100%;
    height: 100px;
    text-align: center;
    padding: 24px 0;
    box-sizing: border-box;
}

.rpchar_author_information .author {
    background: rgba(var(--main-accent), 1);
    color: rgb(var(--blackish));
    clear: both;
    padding: 10px;
    text-align: left;
    font-size: 11px;
    padding: 12px;
    height: 40px;
    box-sizing: border-box;
}

.green_alert {
    background: #CDDA6D;
    color: rgb(var(--blackish));
    text-align: center;
    padding: 5px;
    margin-bottom: 15px;
    font-size: 11px;
    word-wrap: break-word;
}

.flexcontainer {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    font-size: 1em;
    background: rgb(var(--beige));
}

.half {
    width: 50%;
}

.flexhead {
    background: #9EA490 url(../../../images/design_lighthouse/cat-thead.png);
    background-size: cover;
    width: 100%;
    padding: 2em;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    color: rgb(var(--gray));
    font-family: Oswald, sans-serif;
}

.flexhead a:link {
    color: rgb(var(--gray));
}

.flexbox {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: rgb(var(--beige));
    color: rgb(var(--blackish));
}

.flextitle {
    width: 100%;
    border-bottom: 1px solid rgba(var(--main-accent), 0.6);
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 7px;
	font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 0.05em;
    color: rgb(var(--main-accent));
}

.flextitle a:link {
    color: rgb(var(--accent2));
}

.right_options {
    float: right;
    letter-spacing: 2px;
}

.face {
    width: 33.3%;
    min-height: 180px;
}

.takennames {
    width: 100%;
    margin: 0;
}

.name25 {
    width: 25%;
}

.scroll150 {
    overflow: auto;
    max-height: 150px;
}

.min-height {
    min-height: 100px;
}

.chars {
    margin: 10px auto;
    padding: 15px;
    width: 30%;
    border: 1px solid rgba(var(--main-accent), 0.5);
}

.chars .rpavatar {
    margin-bottom: 6px;
    object-fit: scale-down;
    width: 100%;
}

.chars .flextitle {
    font-size: 1.5em;
    text-transform: uppercase;
    padding: 10px;
    margin: 0;
    border: 0;
    background: #e5ead6;
}

.chars .flextitle a:link {
    text-decoration: none;
}

.char_age {
    background: #ebe8d1;
    font-size: 14px;
    display: flex;
    height: 100px;
}

.char_age strong {
    margin: 1.35em auto;
    font-size: 24px;
    font-weight: 900;
}

.char_specs,
.char_quote {
    padding: 1.5em;
    margin: 0;
    display: flex;
}

.char_specs {
    background: #fbfcf7;
}

.char_quote {
    padding: 1em;
    margin: 0;
    display: flex;
    height: 150px;
    overflow: auto;
    border: solid 12px #fbfcf7;
    background: #fbfcf7;
}

.chars img {
    display: block;
}

.usercp_charinfo {
    width: 50%;
    text-align: center;
}

.usercp_charinfo .title {
    font-size: 1.3em;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.usercp_charinfo .title a:link {
    position: relative;
    top: 20px;
    text-decoration: none;
}

.rpicon, .rpicon60, .rpiconstat {
    border-radius: 100%;
    border: solid 2px rgba(var(--main-accent), 0.5);
	padding: 5px;
    object-fit: cover;
}

.rpicon {
    width: 80px;
    height: 80px;
}

.rpicon60 {
    width: 60px;
    height: 60px;
}

.rpiconstat {
	width: 90px;
	height: 90px;
}

.usercp_charinfo .usercp_options {
	font-size: 1.2em;
	background: rgba(var(--gray), 0.2);
	padding: 5px 0;
	letter-spacing: 2px;
}

.rpchar_info {
    width: 100%;
}

.rpchar_info .postbit_field {
    background: rgba(var(--gray), 0.15);
    width: 100%;
    padding: 4px;
    margin: 3px auto;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3em;
    font-size: 0.8em;
}

.profile_header {
    max-width: 1100px;
    max-height: 220px;
    width: 100%;
}

.profile_field {
    width: 100%;
}

.profile_field .quote {
    height: 220px;
    overflow: auto;
    text-align: justify;
    background: rgba(var(--blackish), 0.95);
    width: calc(100% - 400px);
    padding: 25px;
    color: rgba(var(--beige), 0.8);
}

.profile_field .left {
    background: #ddd;
    width: 100%;
    height: 200px;
}

.profile_field .right {
    width: 220px;
}

.profile_field .age {
    background: #aaa;
    height: 100px;
}

.cat75 {
    width: calc(100% - 270px);
    float: right;
    height: 540px;
}

.cat100 {
 width: 100%;
}

.profile_cat {
    text-align: justify;
    padding: 40px;
    margin: 0;
}

.darkcat {
    background: rgba(var(--main-accent), 0.35);
}

.lightcat {
    background: rgba(var(--main-accent), 0.2);
}

.look {
    width: 270px;
	height: 270px;
	background: url(../../../images/design_lighthouse/rpchar_look.png);
	object-fit: cover;
}

.profile_cat ul {
    list-style-type: none;
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
    justify-content: space-between;
    flex-wrap: wrap;
	font-family: Montserrat, sans-serif;
}

.profile_cat ul li {
    background: rgba(var(--main-accent), 0.4);
    padding: 1em 5em;
    margin: 1em;
    text-align: center;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 0.78em;
}

.profile_cat ul li:hover {
	background: rgba(var(--beige), 0.9);
}

.profile_cat ul li:hover a:link {
	font-weight: bold;
}

.profile_cat .scroll {
    max-height: 390px;
	height: calc(100% - 15%);
    overflow: auto;
    padding-right: 20px;
    line-height: 1.6;
}

.profile_cat .title {
    font-weight: 900;
    font-size: 1.25em;
    margin: 0 0 10px 0;
    height: 15%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(var(--accent2), 0.9);
    text-align: left;
    font-family: Montserrat, sans-serif;
    line-height: 1em;
}

.profile_lookbit {
    width: 100%;
    max-width: 1100px;
}

.profile_lookbit img.look {
    max-width: 270px;
    max-height: 270px;
    width: 25%;
}

.rpchar_scenebit {
	width: 48%;
	margin: 1%;
}

.scene_scroll {
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 300px;
}

.rpchar_scenebit .title,
.scene_index .title {
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.rpchar_scenebit .title .a:link,
.rpchar_scenebit .title .a:visited,
.rpchar_scenebit .title .a:hover,
.rpchar_scenebit .title .a:active {
    text-decoration: none;
}

.rpchar_scenebit ul.details {
	list-style-type: none;
	display: block;
	margin: 0.2em 0;
	padding: 0;
}

.rpchar_scenebit .details li {
}

.profile_scenebit {
	overflow: auto;
	max-height: 350px;
	display: flex;
	flex-flow: row wrap;
	padding: 30px 30px 20px 30px;
}

.closedscene {
    color: #cccccc;
	border-bottom: 1px solid rgba(var(--gray), 0.6);
}

.jobs {
    width: 33.3%;
    margin: 0 auto;
}

.jobs .job_title {
    background: rgba(var(--main-accent), 0.7);
    font-family: Oswald, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px;
}

.jobs .job_title .sub {
    font-family: Source Sans Pro, sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    text-transform: none;
}

.jobs .job_descr {
    text-align: justify;
    overflow: auto;
    padding: 15px;
    min-height: 200px;
    max-height: 200px;
    background: rgba(var(--main-accent), 0.3);
}

.job_staff {
    background: rgba(var(--main-accent), 0.5);
    padding: 15px;
    min-height: 100px;
    max-height: 200px;
    overflow: auto;
}

.job_options {
    background: rgba(var(--main-accent), 0.1);
    padding: 15px;
    text-align: center;
}

.job_pic {
    width: 100%;
    object-fit: scale-down;
}

/* .jobs img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 50px;
    height: auto;
}

*/

.job_chars {
    width: 100%;
    height: 220px;
    background: #dde0d3;
    overflow-y: scroll;
    padding: 10px;
}

.species {
    max-width: 100%;
}

.species img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 50px;
    height: auto;
}

.specieschars {
    width: 50%;
    height: 150px;
    background: #e0dfd1;
    border: 1px solid #C1BC8F;
    overflow-y: scroll;
    padding: 10px;
    float: right;
}

.species .flexbox {
    width: 50%;
}

.usercp_rela {
	width: 50%;
	float: left;
}

.usercp_rela .sub {
	color: rgb(var(--gray));
	display: block;
	font-size: 0.8em;
}

.usercprel_op {
	background: rgba(var(--accent3), 0.4);
	text-align: center;
	padding: 4px 0;
	margin: 10px 0 0 0;
}

.usercp_rela .usercp_relbeschr {
	text-align: justify;
	min-height: 160px;
	max-height: 160px;
	padding-right: 15px;
	margin: 0;
	overflow: auto;
}

.rela {
	width: 48%;
	height: 160px;
	padding: 0;
	position: relative;
	margin: 1%;
}

.relainfo {
	position: absolute;
	padding: 40px;
	width: 100%;
	top: 0;
	left: 0;
	background: rgba(var(--main-accent), 0.2);
}

.relaname, .relabild {
	float: left;
	min-height: 80px;
	margin: auto;
}

.relaname {
	width: calc(100% - 80px);
	padding: 15px 25px;
}

.relabild {
	width: 80px;
}

.relabeschr {
	opacity: 0;
	transition: 0.4s;
}

.rela:hover .relabeschr {
	opacity: 1;
	width: 100%;
	height: 100%;
	background: #fff;
	position: absolute;
	top: 0;
	left: 0;
	transition: 0.4s;
}

.relaprofilelink {
	padding: 5px 0;
	margin: 0;
	background: rgba(var(--main-accent), 0.6);
	font-family: Montserrat, sans-serif;
	font-weight: bold;
	letter-spacing: 0.5px;
	font-size: 0.85em;
	text-transform: uppercase;
	text-align: center;
}

.relabeschr .scroll {
	padding: 15px;
	margin: 0;
	text-align: justify;
	overflow: auto;
	max-height: 130px;
	box-sizing: border-box;
}

.rela img {
    float: left;
    margin-right: 20px;
    border-radius: 100%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.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_index {
	width: 49%;
	padding: 15px;
	border-left: solid 25px rgba(var(--main-accent), 0.8);
	margin: 0.5%;
	background: rgba(var(--beige), 0.8);
}

.scene_index ul.details {
	list-style-type: none;
	margin: 0.2em 0;
	padding: 0;
	font-size: 0.85em;
}

.scene_index ul.details li {
	display: inline;
	margin-right: 1em;
}

.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;
    height: 40px;
    object-fit: cover;
}

.memberlist-img {
    border-radius: 100%;
    width: 100px;
    height: 100px;
}

.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: rgba(var(--accent3), 0.6);
}

.calendar li.empty {
    opacity: 0.3;
}

.calendar li.event {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuX0JvYzdFIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoNDUpIj48bGluZSB4MT0iMCIgeT0iMCIgeDI9IjAiIHkyPSI1IiBzdHJva2U9IiNCQzAwNzIiIHN0cm9rZS13aWR0aD0iNCIvPjwvcGF0dGVybj48L2RlZnM+IDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybl9Cb2M3RSkiIG9wYWNpdHk9IjAuMzkiLz48L3N2Zz4=);
}

.calendar li.scene {
    background-color: rgba(var(--main-accent), 0.7);
}

.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: rgb(var(--blackish));
}

.calendarslider {
    overflow: hidden;
    display: flex;
}

.calendarslider .flexcontainer {
    flex: none;
    margin: 0;
    position: relative;
}

.displaymonth_year .displaymonth {
    opacity: 0.3;
}

.map {
    position: relative;
	text-align: center;
}

.xy_coords {
	position:fixed;
	bottom: 0%;
    width: 100%;
	background: #9EA490 url(../../../images/design_lighthouse/cat-thead.png);
    background-size: cover;
    padding: 2em;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    color: rgb(var(--gray));
    font-family: Oswald, sans-serif;
}

.address {
    position: absolute;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: #fff;
    border-radius: 100%;
    transform: translate(-50%, -50%);
}

.address img {
    width: 100%;
}

.text25 {
    width: calc(25% - 5px);
}

.text50 {
    width: calc(50% - 5px);
}

.text25b {
    width: 25%;
}

.text50b {
    width: 50%;
}

.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);
}

