/*Color Palette by Color Palettes: https://colorpalettes.net/color-palette-3880/ 
Blue-Black: #100e15
Dark-Blue: #323e53
Blue: #408fb4
Icy-Blue: #bddfef
Purple: #64566e 

Hintergrund: #e7d9be*/

html {
	margin:0;
	padding:0;
	height:100%;
}
body {
	background-color: #323e53;
	color: #100e15;
	font-size:16px;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	margin:0;
	padding:0;
	min-height:100%;
}

#chargen_layout {
	display:grid;
	grid-template-columns: 1fr 2fr 300px;
	grid-template-rows: 60px 1fr 70px;
	margin-left:30px;
	margin-top:30px;
	margin-bottom:30px;
}
#chargen_title {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	background-color: #e7d9be;
	border-top: 3px solid #c29f59;
	padding: 0px 20px 5px 20px;
}
#chargen_progressbar {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	display:flex;
	flex-direction: row;
	justify-content:flex-end;
	flex-wrap: wrap;
	background-color: #e7d9be;
	border-top: 3px solid #c29f59;
	padding-top:30px;
	
}
#chargen_content {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	flex-wrap:wrap;
	background-color: #e7d9be;
	min-width:300px;
	padding:20px;
}

#chargen_rightside {
	background-image: url("chargen_images/rand.png");
	background-repeat: repeat-y;
	/*pointer-events:none;*/
	grid-column: 3 / 4;
	grid-row: 1 / 4;
}
#chargen_addinfos {
	grid-column: 3 / 4;
	grid-row: 2 / 3;
	padding-top:40px;
}


table.twithlines th {
	color: #408fb4;
	text-align:left;
	}

.fraktion {
	width: 150px;
	height: 150px;
	margin-left:5px;
	margin-bottom:5px;
	background-repeat:no-repeat;
	border: 1px solid #323e53;
	border-radius:5px;
	background-position: center; 
	background-color: #64566e80;
}
.fraktion:hover {
	background-color: #bddfef80;
}
.arete {
	width: 200px; 
	background-color: #64566e40; 
	border: 1px solid #64566e; 
	border-radius:5px; 
	padding:20px 10px 20px 10px; 
	margin:6px;
	text-align:center;
	font-weight:bold;
	cursor: pointer;
}
.arete:hover {
	background-color: #bddfef80;
}
/* postit tutorial from: https://medienmarmela.de/post-its-und-notizzettel-in-css-gestalten/ */
.info_box {
	margin:0px 0px 20px 0px;
	width:170px;
	padding:5px;
	background-color: #408fb4;
	background-image: linear-gradient(150deg, #408fb4 0%, #bddfef 100%);
	border: 1px solid #bddfef;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
	transform:rotate(3deg);
	border-bottom-right-radius:60px 5px;
	/* Schrift:*/
	text-align:center; 
	font-size: 15px;
}

.info_box::after {
	content:"";
	position: absolute;
	bottom: 0;
	right: -4px;
	width: 100%;
	height: 140px;
	background-image: linear-gradient(173deg, rgba(0,0,0,0) 92%,
	rgba(0,0,0,0.4) 100%);
	transform: rotate(6deg);
	z-index: -1;
	filter: blur(2px);
  }

.freebies_box {
	background-image: url("chargen_images/leseband-kleiner.png");
	background-repeat: no-repeat;
	padding-top:30px;
	padding-left: 20px;
	margin-left:-20px;
	width: 737px;
	height: 100px;
	position:fixed;
	top:15px;
	color: #e1f1f8; 
}

#floating_vorteil_points {
	position: -webkit-sticky; /* Safari */
	position: sticky;
	margin-right: 500px;
	top: 5;
}
#chargen_footer {
	grid-column: 1 / 3;
	grid-row: 3 / 4;
	background-color: #e7d9be;
	padding:20px;
	border-bottom: 3px solid #c29f59;
}

.flex_box {		/*generischer Container fuer flex_item*/
	display:flex;
	flex-wrap: wrap;
}
.flex_item {	/*generischer Container*/
	margin: 10px;
	padding:10px;
	border-radius: 10px;
}
.paradigma {	/*generischer Container*/
	margin: 5px;
	padding: 5px 10px 5px 10px;
	border-radius: 10px;
	background-color: #64566e80;
	border: 1px solid #64566e;
	cursor: pointer;
	font-weight:bold;
	font-size:14px;
}
.paradigma:hover {
	background-color: #bddfef;
	color: #100e15;
}
.empfohlen {
	color: #bddfef;
}
.empfohlen:hover {
	background-color: #bddfef;
	color: #64566e;
}
.para_selected {
	background-color: #323e53;
	color: #bddfef;
	border: 2px solid #408fb4;
}
.spalte {
	width: 48%;
	padding:5px;
}

h1 {
	background-color: #323e53;
	border-radius:5px;
	padding: 5px 10px 5px 10px;
	color: #bddfef;
	font-size: 18px;
	font-variant:small-caps;
}

h2 {
	letter-spacing:-2px;
	color: #64566e;
	border-bottom: 2px solid #64566e;
}

h3 {
	color: #408fb4;
	line-height:0px;
}

/* h4 used inside the info_box */ 
h4 {
	margin:0px;
	line-height:0,2;
	color: #323e53;
	font-variant: small-caps;
	border-bottom:2px solid #408fb4;
}
/* h5 is used in the title of the fractions */
h5 {
	background-color: #323e53;
	margin-top: 100px;
	padding-right:2px;
	color: #bddfef;
	font-size: 12px;
	font-variant:small-caps;
}

textarea {
	border:1px solid #64566e ;
    width:96%;
    margin:5px;
    padding:10px;
	min-height:200px;
}

.vorteil {
	background-color: #64566e40;
	border: 1px solid #64566e;
	border-radius: 5px;
	padding:5px;
	margin-bottom: 4px;
	display:flex;
	flex-wrap: wrap;
	margin-left:20px;
	pointer-events:none;
	
}
.checked {
	background-color:#bddfef80;
	pointer-events:auto;
}
.vorteil_check {
	margin-left:-20px;
	width: 25px;
    height: 25px;
	pointer-events:auto;
}
.vorteil_name {
	font-weight:bold; 
	border-right: 1px solid #64566e;
	vertical-align: center;
	width:80%;
	padding-left:10px;
	padding-top:6px;
}

.text::first-letter {
  font-weight: bold;
  font-size:38px;
  float:left;
  padding-top: 10px;
  padding-right: 3px;
}

/* hr style from: https://codepen.io/ibrahimjabbari/pen/ozinB (changend from style 15) */
hr.moons {
	border: 4px double #64566e; 
	border-left: none; border-right: none; border-bottom: none;
	text-align: center;
}
hr.moons:after {
	content: '\00263D' '\0025EF''\00263E';
	
	background-color: #e7d9be;
	display: inline-block;
	position: relative;
	top: -15px; 
	padding: 0 10px;
	color: #64566e ;
	font-size: 18px;
}

hr.planets {
	border: 4px double #64566e; 
	border-left: none; border-right: none; border-bottom: none;
	text-align: center;
}
hr.planets:after {
	content: '\002646' '\002645''\002644';
	background-color: #e7d9be;
	display: inline-block;
	position: relative;
	top: -15px; 
	padding: 0 10px;
	color: #64566e ;
	font-size: 18px;
}

.form_textbox {
	background-color: whitek;
	pointer-events: auto;
}

.form_textbox.disabled {
	background-color: #DBDBC9;
	pointer-events:none;
}

.button, .button:visited {
	background-color:#323e53;
	display:inline-block;
	padding: 8px; 
	color:#bddfef; 
	text-decoration:none; 
	border-radius:8px;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
	position:relative; 
	cursor:pointer; 
	font-weight:bold;
	text-align:center;
	border:0px;
	font-size:13px;
}
 	
.button:hover {
	background-color:#bddfef; 
	color:#100e15; 
}

.button_unfold {
	background-color:#bddfef;
	display:inline-block;
	color:#64566e ; 
	width:50px;
	height:50px;
	text-decoration:none; 
	border-radius:8px;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
	cursor:pointer; 
	font-weight:bold;
	text-align:center;
	border:0px;
	font-size:26px;
	margin-top: -55px;
	position:absolute; 
}
.button_unfold:hover {
	background-color:#64566e ; 
	color:#bddfef; 
}
/* Chargen Progressbar */
.arrow_pointer {
	height: 20px;
	position: relative;
	background: #408fb4;
	padding-left: 15px;
	margin-bottom:5px;
	font-weight: bold;
	margin-right: 10px;
  }
  .arrow_pointer::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-left: 10px solid #e7d9be;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
  }
  .arrow_pointer::after {
	content: "";
	position: absolute;
	right: -10px;
	bottom: 0;
	width: 0;
	height: 0;
	border-left: 10px solid #408fb4;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
  }
  
  .arrow_pointer.inaktiv {
	height: 20px;
	position: relative;
	background: #64566e ;
	padding-left: 15px;
	margin-bottom:5px;
	font-weight: bold;
	margin-right: 10px;
  }
  .arrow_pointer.aktiv::after {
	  border-left: 10px solid #bddfef;
  }
  .arrow_pointer.inaktiv::after {
	  border-left: 10px solid #64566e ;
  }