
/*
 * Allgemein
 * Plugin-Wrapper
 * Live Search
 * Btn Reduce Preview Items
 * Titel der Übersichtsgrafiken
 * Ausgabe Suchresultat (result full)
 * Ausgabe Suchresultat (Preview)
 * Emotionen
 * Fingermodus
 * Open Plus Info Buttons und Texte
 * Suche-nach Buttons
 * Spick Anatomische Richtungen
 * Spick Ernährung und Meridian
 * Überladungs-Test
 * Muskel Übersichts Bilder
 * No Access Message after login
 * Navigation auf /kinedata mit Bold items
 * 
 * Neue Ausgabe der Detail-Seite mit Grid
 * 
 */






/************** Allgemein **************/
p {
  margin-bottom: 0.5em;
}
::placeholder{
	color: #111;
}


/************** Plugin-Wrapper **************/
#pluginOuterWrap{
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 15px;
	position: relative;
}
@media(max-width: 600px){
	#pluginOuterWrap{
		flex-wrap: wrap;
	}
}


/************** Live Search **************/
#live_search{
	max-width: 100%;
}


/************** Btn Reduce Preview Items **************/

#reduce-button-container {
    margin: 10px 0;
    text-align: center;
}
#reduce-button{
	background: #FFF;
}

/************** Titel der Übersichtsgrafiken **************/

.muscle-ov-title{
	font-size: 1.8em;
	line-height: 1.9em;
	font-weight: 500;
	margin-bottom: 30px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}



/************** Ausgabe Suchresultat (result full) **************/
div#searchresult {
    margin-top: 30px;
}
div#searchresult {
    margin-bottom: 60px;
}
#result-wrap{
	margin: 30px 0;
	position: relative;
}
#result-wrap h2{
	font-size: 2.3em;
	padding: 15px 7px;
}
.result-row{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
@media(max-width: 900px){
	.result-row{
		flex-wrap: wrap;
	}
}
/*
@media(max-width: 1020px){
	.result-row{
		flex-wrap: wrap;
	}
	.result-item{
		min-width: 48%;
	}
}
@media(max-width: 700px){
	.result-item{
		min-width: 100%;
	}
}
*/
.result-row:nth-child(3) {
  margin-bottom: 45px;
}
/*.result-row:last-child {
  margin-bottom: 90px;
}*/
/*.result-item-outer-wrap{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}*/
.result-item{
	padding: 5px 15px 15px;
	margin: 7px;
	border: 1px solid #b0a7a7;
	border-top: 8px solid #b0a7a7; 
	border-radius: 5px 5px 0 0;
	hyphens: none;
	background: #FFF;
	position: relative;
	
}

@media(max-width:767px){
	#result-row-0 .result-item{
		width: 30%;
	}
	#result-row-1 .result-item{
		width: 100%;
	}
	#result-row-2 .result-item{
		width:100%;
		justify-content: center;
	}
	#result-row-3 .result-item,
	#result-row-4 .result-item {
		width: 100%;
	}
}
@media(max-width:501px){
#result-row-0 .result-item{
		width: 44%;
	}
}

.result-item-title, .result-item-title-at-bild{ /* Bild hat keine Waage die ein und ausblendet */
	font-weight: bold;
	margin-bottom: 7px;
	white-space: nowrap;
	margin-right: 34px;
	cursor: pointer;
}
.result-item:nth-child(2){
	border-top-color: #ffd64f;
}
.result-item:nth-child(3){
	border-top-color: #ff8080;
}
.result-item:nth-child(4){
	border-top-color: #0FA3B1;
}
.result-item:nth-child(5){
	border-top-color: #48639C;
}
.close-button { /* Schliessen Button wenn Result Item zu den Balance Möglichkeiten kopiert wurde */
  padding: 0 5px;
  background: #FFF;
  right: 0px;
  position: absolute;
}


/* Meridian-Bild */
.meridian-img-wrap{
	height: 60px;
}


/* Antagonist  (Link zu Antagonist ausgeschaltet, auch in JS )
.antagonist{
	cursor: pointer;
}
.antagonist:not(:empty):before{
	content: 'x';
	font-family: peb;
	padding-right: 5px;
	cursor: pointer;
	color: #48639C;
	font-size: 140%;
}
*/
/* Muskel Bild */
.result-img {
	max-height: 100px;
	min-width: 55px;
	margin-bottom: 15px;
	box-shadow: 1px 1px 6px 0 #d9d9d9;
	position: relative;
	z-index: 1;
	transition: all 0.8s;
	cursor: pointer;
}
.img-descr {
	line-height: 1.1;
	font-size: 80%;
	
}
.imgWrapEnlarged .img-descr  {
	text-align: center;
}
@keyframes imgAnimation { 
	from{
		right: 300px;
	}
	to {
		right: 15px;
	}
}
.imgWrapEnlarged{
	position: absolute;
	right: 15px;
	top: 5%;
	background: #FFF;
	border: 1px solid #b0a7a7;
	box-shadow: 2px 2px 15px 0 #a4a4a4;
	border-radius: 15px;
	border-top: 16px solid;
	animation-name: imgAnimation;
	animation-duration: 1.2s;
	z-index: 1;
}
.imgWrapEnlarged .result-img{
	max-height: 600px;
	box-shadow: none;
}

.imgWrapEnlarged .img-descr{
	font-size: 120%;
}

/* WIRD JETZT ÜBER MU-PLUGIN GEMACHT
.imgWrapEnlarged:before{
	content: 'a';
	font-family: peb;
	position: absolute;
	right: 15px;
	top: 10px;
	font-size: 20px;
	border: 5px solid #b0a7a7;
	border-radius: 50%;
	line-height: 1.1;
	padding: 0px 2px 0px 2px;
	color: #48639c;
	z-index: 2;
	cursor: pointer;
}
*/

/* Meridian Bild */
.result-item-content.meridian {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.meridian-img {
	height: 60px;
	width: auto;
	max-width: unset;
	margin-left: 15px;
	position: relative;
	cursor: pointer;
	box-shadow: 1px 1px 6px 0 #d9d9d9;
	transition: all 0.8s;
}
.meridian-img.show-meridian {
	z-index: 2;
	max-height: 90vw;
	box-shadow: 1px 1px 2px 0 #a4a4a4;
	border-top: 0px solid; /*8px solid #b0a7a7;*/
	border-radius: 0px;
	top: 50%;
    left: 50%;
}
#meridian-orientation{
	height: 25px;
	padding: 0;
	cursor: pointer;
	transition: all 0.8s;
	cursor: pointer;
}
#meridian-orientation.rotate-90{
	transform: scaleX(-1);
}
.rotate-90{
	rotate: -90deg;
	right: 50%;
}
.z-index1000{
	z-index: 1000;
}
#meridian-range{
	-webkit-appearance: none;
	outline: none;
	width: 100%;
	height: 6px;
	background: #FF7F7F;
	outline: none;
	cursor: pointer;
	margin-top: 15px;
}
#meridian-range-wrap{
	display: flex; 
	align-items: center; 
	gap: 10px;
	margin-top: 10px;
}
input[type='range']::-moz-range-thumb { /* Range button in FireFox */
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #48639C;
	
}
#meridian-range::-webkit-slider-thumb { /* Range button in Chrome */
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #48639C;
}

/* Farben */
.result-item-content.colors{
	display: flex;
	flex-direction: column;
    justify-content: space-between;
	align-items: center;
    flex-wrap: wrap;    
}

/* Icons Info/Balance vor Item Title*/
.balance:before{
	background: url('img/balance.png') center center / contain no-repeat;
	width: 27px;
	height: 27px;
	content: ' ';
	display: inline-block;
	margin: 8px 7px -7px 0;
}
/*.info:before{
	background: url('img/info.png') center center / contain no-repeat;
	width: 30px;
	height: 30px;
	content: ' ';
	display: inline-block;
	position: relative;
	bottom: -9px;
	margin-right: 7px;
}
*/
/************** Emotionen **************/
.emWrap{
	padding-top: 5px;
	position: relative;
	display: flex; 
	flex-direction: column; 
	justify-content: stretch;
	line-height: 1.2;	
}
.result-item-emotions{
	position: relative;
	transition: all 0.8s;
}
@media (max-width:500px){
	#emotions{
		hypens: auto;  /* Emotionen trennen, sprengt sonst den Container */
	}		
}
.emPair{
	/*text-transform: lowercase;*/
	padding: 4px 5px 5px 0;
	cursor: pointer;
	display: flex; 
	justify-content: space-between;
	align-items: center;
}
.emPairNr{
	background: #FF7F7F;
	color: #FFFFFF;
	font-size: 12px;
    line-height: 1;
	display: flex;
    justify-content: center;
    align-items: center;
	padding: 0 5px;
	margin-right: 5px;
	border-bottom: 1px solid #FFFFFF;
}
.emPair:nth-child(odd){
	background: #eaeaea;
}
.emNeg {
	display: flex;
}
.emPos{
	text-align: right;
}
.bull {
	width: 30px; 
	text-align: center;
}
.fadeEmo{
	opacity: 0.5;
}
.prioEmo{
	background: #FFD64F !important;
	opacity: 1;
}

.emWrapEnlarged {
	position: absolute;
	margin: auto;
	background: #fff;
	max-width: 800px;
	max-height: 80vh;
	width: auto;
	transform: translateX(25vw) scale(2);
	z-index: 1;
}
.emWrapEnlarged:hover {
  z-index: 2;
}
@media(max-width:990px){
	.emWrapEnlarged{
		transform: translateX(18vw) scale(1.5);
	}
}
@media(max-width:800px){
	.emWrapEnlarged{
		transform: translateX(13vw) scale(1.2);
	}
}
@media(max-width:600px){
	.emWrapEnlarged{
		transform: unset;
		position: initial;
		margin: 7px;
	}
}

#lupe {
    width: 20px;
    height: 20px;
    rotate: 90deg;
    position: absolute;
    top: 7px;
	right: 7px;
	cursor: pointer;
}
.lupeEnlarged{
	width: 15px !important;
    height: 15px !important;
	top: 5px !important;
	right: 7px !important;
	rotate: 0deg !important;
	
}
.show-engl-src{
	width:30px;
	height: 20px;
	background: #FFF url(/wp-content/plugins/pebweb-kine-search/img/flag-english.webp);
	background-size: cover;
	margin-top: 15px;
	cursor: pointer;
}



/************** Ausgabe Suchresultat (Preview) **************/  

.prev-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 0px;
	border-bottom: 8px solid #FFF;
}
.prev-row:nth-child(odd){
	background: #eaeaea;
}
.prev-item-content{
	display: flex;
}
.prev-item-content.prev-symptoms {
  width: 70%;
  flex-shrink: 0;
}
.prev-select-wrap {
  display: flex;
  gap: 15px;
}
.show-symptoms-btn{
	width: 30px;
	height: 30px;
	border: 1px dotted;
	background-image: url('/wp-content/uploads/icon-symptome.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 22px 21px;
	cursor: pointer;
}
.prev-row-selected{
	background: #B0A7A7 !important;
	color: #FFFFFF;
}
.prev-error {
	background: #ff7f7f !important;
	color: white;
	padding: 0 15px;
}
.selection{ /* Select Button */
	transition: all 0.3s;
	width: 60px;
	border-radius: 0;
}
.selection:hover{
	background: #FF7F7F;
	color: #FFFFFF;
	font-weight: 600;
}

.highlight{
	background: #FF7F7F;
	color: #FFFFFF;
	font-weight: bold;
	padding: 0 2px;
}


/************** Fingermodus **************/
.item-fingermodus{  /* Result item mit Fingermodus */
	display: flex;
}
.fingermodus-cont{ /* container für Fingermodus Bild und plus-info Button */
	width: 55px; 
	margin-right: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
}
.result-item-emotions .fingermodus-cont{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}


/************** Open Plus Info Buttons und Texte **************/
.open-plus-info-btn, 
.plus-info-btn-look{ /* Elemente die nur so aussehen sollen, ohne JS Funktion */
	width: 25px;
	height: 25px;
	margin-top: 15px;
	text-align: center;
	line-height: 1;
	font-size: 17px;
	font-family: peb;
	border: 1px solid;
	border-radius: 3px;
	transition: transform 1s, box-shadow 0.3s;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
  padding-top: 4px;
	box-shadow: 0px 0px 8px rgb(0, 0, 0, 0.15);
}
.open-plus-info-btn{
	transform: rotate(90deg);
}
.open-plus-info-btn:hover, .plus-info-btn-look:hover {
	box-shadow: none;
}
.plus-info-arrow-up{
	transform: rotate(-90deg);
}
.plus-info-hidden{ /* Die einzelnen Texte */
	max-height: 0px;
	overflow: hidden;
	transition: all 1s;
}
.plus-info-show{
	max-height: 750px;
	padding: 15px 0;
	overflow: auto;
}
.item-plus-info{ /* Der ganze graue Bereich */
	padding: 0 15px;
	margin: 0 5px;
	background: #e9e9e9;
  width: calc(100% - 10px);
	display: flex;
	flex-direction: column;
  justify-content: center;
	align-items: center; 
	position: relative;
	z-index: 1;	
	cursor: pointer;
}
@media(max-width:900px){
	.item-plus-info{
		position: fixed;
		top: 5vh;
		left: calc(50% - 45vw);
		width: 90%;
		max-width: 900px;
		box-shadow: -4px 4px 8px 0 #B0A7A7;
	}
	.plus-info-show::before {
		content: 'a';
		font-family: peb;
		position: absolute;
		right: 15px;
		top: 10px;
		font-size: 20px;
		border: 5px solid #b0a7a7;
		border-radius: 50%;
		line-height: 1.1;
		padding: 0px 2px 0px 2px;
		color: #48639c;
		z-index: 999;
	}
}
.item-plus-info-col{
	 display: flex; 
	 gap: 30px; 
	 flex-wrap: wrap;
}
.item-plus-info li{
	margin: 0 0 0 20px;
}
.item-plus-info li::marker {
  color: #8c8484;
}
.item-plus-info li.sub_title{
	margin: 0 0 0 10px;
	list-style-type: square;
}
.item-plus-info li.sub_title::marker{
	color: #ff7f7f;
}

.plus-info-em-inner-wrap{
	display: flex;
	gap:15px;
}
.plus-info-inner-box{
	border: 0px solid #aaa;
	padding: 0 0;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
	transition: padding 0.5s, border 0.5s;
}
.plus-info-show .plus-info-inner-box{
	border: 1px solid #aaa;
  padding: 5px 10px;
  border-radius: 8px;
}
#plus-info-Ernährung{
	flex-wrap: nowrap;
}
@media(max-width:1100px){
	#plus-info-Ernährung{
		flex-wrap: wrap;
	}
}


/************** Suche-nach Buttons **************/
.searchForWrap {
	display: flex;
	/*justify-content: space-between;*/
	align-items: flex-end;
	gap: 15px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}
.btn-row{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap-reverse;
}
.searchForBtnStyle{
	min-width: 80px;
	margin: 0 0 10px;
	padding: 15px 25px;
	border: 1px solid #b0a7a7;
	border-radius: 999px;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
  font-size: 14px;
	box-shadow: 2px 2px 15px 0 #a4a4a4;
	transition: box-shadow 0.5s;
}
.searchForBtnStyle:hover{ 
	box-shadow: none;
}
.searchForBtnClicked{
	box-shadow: none;
	border-color: #222;
}
#searchMuscleBtn{
	background: #B0A7A7;
	color: #FFFFFF;
}
#searchNutriBtn{
	background: #FFD64F;
	color: #48639C;
}
#searchSymptomBtn{
	background: #FF7F7F;
	color: #FFFFFF; 
}
#searchMeridianBtn{
	background: #0FA3B1;
	color: #FFFFFF; 
}


/************** Spick und Tool Buttons **************/
.spickBtns { 
    display: flex;
    align-items: flex-end;
    gap: 15px;
	flex-wrap: wrap;
}
/*@media(max-width:765px){
	.spickBtns {
		flex-wrap: wrap;
	}
}*/
#row_spick_n_tools {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


/************** Spick Anatomische Richtungen **************/

#cheat-body-dir {
    position: absolute;
    right: 0;
    width: 0px;
    max-width: 0px;
    max-height: 573px;
    z-index: 10;
    box-shadow: 2px 2px 15px 0 #a4a4a4;
    opacity: 0;
    transition: all 1s;
}

.cheat-body-dir-show {
    opacity: 1 !important;
	width: 100% ! important;
	max-width: 777px !important;
}

@media (max-width: 768px) {
    .bodyDirShow {
        width: 100% !important;
        height: auto !important;
    }
}


/************** Spick Ernährung und Meridian **************/

#cheat-nutrition, #cheat-meridian, #cheat-emotions, #cheat-ton{
    position: absolute;
    right: 3%;
    width: 0;
    height: auto;
    max-height: 0;
	margin-bottom:30px;
    overflow: hidden;
    background: #FFF;
    z-index: 10;
    box-shadow: 2px 2px 15px 0 #a4a4a4;
    opacity: 0;
    transition: max-height 1s ease, opacity 1s ease, width 1s ease;
}

.cheat-nutrition-show, .cheat-meridian-show, .cheat-emotions-show, .cheat-ton-show{
    opacity: 1 !important;
    width: 94% !important;
    max-height: 3500px !important; 
    transition: max-height 1s ease, opacity 1s ease, width 1s ease;
}

/*#cheat-ton{
	bottom: -110px;
	background: #eaeaea !important;
}
.cheat-ton-show{
	
}
#cheat-ton .tone-tool{
	padding: 40px;
}*/

#nutri-table{
	background: #FFF;
	width:98%;
	margin: auto;
	border-collapse: collapse;
	border: none;
}
#nutri-table td{
	padding: 0 8px;
	border: 1px solid #bbb;
}
#nutri-table td:first-child{
	font-weight: bold;
}
#nutri-table th{
	border: none;
	padding: 15px 0;
}
#meridian-links-wrap{
	padding:30px;
}
ul.meridian-links{
	list-style-type: square;
	list-style-position: inside;
	padding: 0;
}
ul.meridian-links li::marker {
	font-size: 24px;
	line-height: 0.5;
}
.meridian-links li{
	max-width: 300px;
	padding: 10px;
	border-bottom: 1px solid #b0a7a7 
}
.meridian-links li:hover{
	background: #FF7F7F !important;
	color: #FFF;
}
#cheat-meridian-inner-wrap{
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: nowrap;
}
#meridian-pic{
	max-width: calc(100% - 220px);
	position: absolute;
	right: 0;
	top: 30px;
	max-height: 100vh;
}

/* Farbe der Boulets bei den Meridian Links */

ul.reg-meridians li:nth-child(-n+4)::marker {
    color: red;
}
ul.reg-meridians li:nth-child(n+5):nth-child(-n+6)::marker {
    color: #FFE406;
}
ul.reg-meridians li:nth-child(n+7):nth-child(-n+8)::marker {
    color: #d0d0d0;
}
ul.reg-meridians li:nth-child(n+9):nth-child(-n+10)::marker {
    color: blue;
}
ul.reg-meridians li:nth-child(n+11):nth-child(-n+12)::marker {
    color: lime;
}

ul.reg-meridians li:hover::marker{
	color: #FFF !important;
}


/************** Überladungs-Test **************/

#overload-test {
	width: 100%;
	max-width: 221px;
	cursor: zoom-in;
}
#overload-test.overload-test-enlarged {
	position: absolute;
	max-width: 442px !important;
	box-shadow: 5px 5px 5px #AAA;
	cursor: zoom-out;
}


/************** Muskel Übersichts Bilder **************/

/*.muscle-overview-img{
	width: 1160px;
	max-width: unset;
	height: 700px;
}*/

#all-overviews-outer-wrap{
	margin: 90px 0 0;
}

.muscle-overview-title{
	text-align: center;
}

img[usemap], map area{ /* Ränder bei area wenn clicked */
    outline: none !important;
}



/************** Neue Ausgabe der Detail-Seite mit Grid (noch nicht im Einsatz)**************/

.kd-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  /*align-items: start;*/
}

.kd-card {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.kd-card-head {
    background: #0fa3b1;
	color: #FFF;
    font-weight: 700;
	text-transform: uppercase;
    padding: 4px 15px;
	border-radius: 10px 10px 0 0;
}
.kd-card-content{
	padding: 15px;
}

/* Test, läuft CSS durch?
body:before{
	background: lime;
	padding: 5ps 10px;
	content: 'CSS ok';
	font-weight:bold;
}*/

