#charSheet {}

.csfield {
	padding: 0.5em;
	padding-top: 0.3em;
	border: 3px solid black;
	border-radius: 0.3em;
	background-color: white;
}
.csfield h2, .csfield h3 {
	font-family: Verdana, Arial;
	font-weight: bold;
	display: block;
}
.csfield h2 {
	margin: 0 0 0.2em 0;
	font-size: 1em;
}
.csfield h3 {
	margin: 0;
	margin-top: 0.3em;
	font-size: 0.8em;
}
.csfieldsubtitle {
	font-size: 0.7em;
	margin-top:-0.2em;
	line-height:1em;
	margin-bottom:0.5em;
}

.csfieldrow {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 0.3em;
	margin-top: 0.5em;
}
.flexright {
	justify-content: flex-end;
}
.csfieldfullrow {
	margin-bottom: 0.5em;
}

.addbtn {
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
	text-align: center;
	cursor: pointer;
	color: grey;
}

.csoverlay {
	z-index: 110;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: fixed;
	display: none;
	justify-content: center;
	align-items: center;
	background-color: rgba(255,255,255,0.8);
}
.csoverlay > div {
	max-width: 80%;
	border: 3px solid black;
	border-radius: 0.5em;
	padding: 0.5em;
	background-color: white;
}
.csoClose {
	float: right;
	margin-top: -0.5em;
	margin-right: -0.5em;
	border: 3px solid black;
	border-width: 0 0 3px 3px;
	display: inline-flex;
	width: 2em;
	height: 2em;
	padding: 0.5em;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.input45 { width: 4.5em !important; }
.input35 { width: 3.5em !important; }
.input25 { width: 2.5em !important; }
.input100 { width: 100% !important; }
.mb03 { margin-bottom: 0.3em; }

.csprofilxpinfo, .csnachteilexpinfo, .csfertigkeitenxpinfo, .csfaehigkeitenxpinfo, .cskontaktexpinfo, .cswaffenxpinfo, .csgearxpinfo {
	font-weight: normal;
}


/* ========================================================= */
/* BASISINFOS */
/* ========================================================= */

.cstop {
	width: 100%;
	padding-top: 0.5em;
}
.cstoplogoflex {
	display: flex;
}
.cstoplogoflex img { 
	height: 4.5em; 
	width: auto; 
	display: inline-block; 
	margin-right: 0.5em; 
}

.cstopinfoflex {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.3em;
}
.cstopinfoflex input, .cstopinfoflex select { width: 10em; }
.cstopinfoflex > div {
	white-space: nowrap;
	width: 13em;
}
.cstopinfoflex > div > div {
	display: inline-block;
	width: 4em;
}

.csdmg, .csprofil, .csarmor {
	display: inline-block;
}

/* ========================================================= */
/* SCHADEN */
/* ========================================================= */

.csdmg { width: 18%; }
.kaestchen {
	display: flex;
}
.kaestchen > div {
	width: 1.2em;
	height: 1.2em;
	border: 1px solid lightgrey;
}
.kplus, .gplus {
	display: inline-flex;
	font-size: 0.7em;
}
.skmalus { color: red; font-weight: bold; }
.checkOhnmacht {
	line-height: 100%;
	font-size: 0.7em;
	font-weight: bold;
	color: red;
	margin:0;
}
h3 > i { font-size:0.8em; cursor: pointer; }

/* ========================================================= */
/* ARMOR */
/* ========================================================= */

.csarmor { width: 18%; }
.csatyp { font-size: 0.9em; }


/* ========================================================= */
/* PROFIL
/* ========================================================= */

.csprofil { width: 64%; }
.csprofiles {}
.cseigenschaft {
	display: flex;
	width:100%;
	gap: 0.5em;
	margin-bottom: 0.2em;
	align-items: center;
}
.cseigenschaft > div {
	display: inline-block;
}
.cseigenschaft .input, .cseigenschaft .input input {
	width: 100%;
}
.cstyp {
	width: 1em;
	height: 1em;
	border: 1px grey solid;
	border-radius: 50%;
	display: inline-block;
	cursor: pointer;
}
.cseigenschaft .cstypfield {
	display: inline-flex;	
	align-items: center;
}
.csprofilinfo { 
	display: flex; 
	align-items: center;
	font-size: 0.7em;
}
.csprofilinfo > div { margin-right: 0.3em; }
.neu { background-color: lightgrey; }
.pos { background-color: green; }
.neg { background-color: #e5007d; }

/* ========================================================= */
/* NACHTEILE */
/* ========================================================= */
.csnachteile { width: 50%; }
.csnachteileflex {}
.csnachteil {
	display: flex;
	gap: 0.3em;
	margin-bottom: 0.2em;
}
.csnachteil input { width: 100%; }
.csnachteil .nameflex { width:100%; }
.csnachteil .xpflex input { width: 4em; }
.delcseigenschaft {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}
.delcseigenschaft:hover {
	color: red;
}

.cscontact { width: 50%; }

/* ========================================================= */
/* FERTIGKEITEN & FÄHIGKEITEN */
/* ========================================================= */

.csskill { width: 50%; }
.csskillflex {}
.skillrow {
	display: flex;
	gap: 0.3em;
	margin-bottom: 0.2em;
}
.skill, .skill input { width: 100%; }
.skilllvl input { width: 3em; }
.skillcog {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.csoSkill { display: none; }
.csoSkill h3 { margin: 0; }
.skillstufe { width: 4em; }
.csoSkill > div { margin: 0.4em 0; }
.schwerpunktrow {
	display: flex;
	align-items: center;
	margin-bottom: 0.3em;
}
.schwerpunkt { width: 100%; }
.schwerpunktliste {	
	font-size: 0.7em;
	margin-top: -0.1em;
	margin-bottom: 0.3em;
	line-height: 1em;
	padding-left: 3px;
}
.skillnotiz {
	width:100%;
}
.skillnamerow { display: flex; }
.skillxptypsubrow {
	display: flex;
	gap: 0.5em;
	justify-content: space-between;
}
.skillxptypsubrow > div {
	border: 1px solid grey;
	padding: 0.5em;
	background-color: lightgrey;
	flex-grow: 1;
}

/* ========================================================= */
/* KONTAKTE */
/* ========================================================= */

.cskontakt { width: 36%; }
.cskontaktrow { margin-bottom: 0.3em; }
.cskontaktline1 {
	display: flex;
	gap: 0.3em;
	align-items: center;
}
.contactName { width:100%; }
.cskontaktrow .name { width:100%; }
.cskontaktrow .stufe { width: 4em; }
.contactStufe { width: 4em; }
.contactDelete { cursor:pointer; }

.cskontaktline2 { width:100%; margin-top: 0.2em; }
.contactBeruf { 
	display: flex;
	gap: 0.3em;
	align-items: center;
}
.cskontaktrow .beruf { width:100%; }



/* ========================================================= */
/* WAFFEN */
/* ========================================================= */

.cswaffe { width: 50%; }
.csfahrzeug { width: 50%; }
.csWaffeRow {
	border: 1px solid black;
	padding: 0.2em;
	background-color: lightgrey;
	margin-bottom: 0.3em;
}
.csWaffeBasisRow {
	display: flex;
	align-items: center;
	gap: 0.3em;
	justify-content: space-between;
}
.csWaffeSpecials {}
.CSWaffenSpecial {
	display: flex;
	align-items: center;
	gap: 0.3em;
}


/* ========================================================= */
/* FAHRZEUG */
/* ========================================================= */

.csfskrow {
	display: inline-flex;
	justify-content: center;
}
.csfahrzeug {}
.csfield {}
.csfahrzeugrow {
	display: flex;
	gap: 0.3em;
}
.csfdmg {}
.fk20 {}

.csfdmg table {
	min-width: 7em;
}
.csfdmg td {
	width: 1.2em;
	height: 1.2em;
	border: 1px solid lightgrey;
	text-align: center;
	margin:0;
	padding:0;
	line-height: 100%;
	cursor: pointer;
}
.csfdmg td:first-child {
	border: 0px;
	font-size: 0.8em;
	font-weight: bold;
}
.csfdmg td span {
	font-size: 0.7em;
	color: white;
	font-weight: bold;
}
.csfdmg .leer {
	border: 0px;
}



/* ========================================================= */
/* AUSRÜSTUNG */
/* ========================================================= */

.csgear { width: 50%; }
.csgearflex {}
/*
.csnachteil {
	display: flex;
	gap: 0.3em;
	margin-bottom: 0.2em;
}
.csnachteil input { width: 100%; }
.csnachteil .nameflex { width:100%; }
.csnachteil .xpflex input { width: 4em; }
*/







.csfnotizcell {
	width: 100%;
}


.csnotizflex {
	width: 50%;
}
.csnotizflex textarea {
	width: 100%;
	height: 15em;
}




/* ========================================================================== */
/* Fensterbreiten */
/* ========================================================================== */
/* 1em = 16px */
@media screen and (max-width:800px) {
	.csfieldrow {
		flex-wrap: wrap;
	}
	.csdmg,.csarmor,.csskill,.cswaffe,.csfahrzeug { width: 49%; }
	.cscontact,.csnotizflex,.csgear,.csnachteile,.csprofil { width: 100%; }
	.cstoplogoflex img { display: none; }
}
@media screen and (max-width:600px) {
	.csfieldrow {
		flex-wrap: wrap;
	}
	.csdmg,.csarmor { width: 49%; }
	.csprofil,.csnachteile,.csskill,.cswaffe,.csfahrzeug,.csgear,.cscontact,.csnotizflex  { width: 100%; }
	.cstoplogoflex img { display: none; }
}
@media print {
	body { background-color: white; }
}