/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Colors */

:root {
  --pink: #d40065;
  --pinkhover: rgba(212,0,101,0.8); 
  --darkteal: #005d77;
  --lightteal: #ccdfe5;
  --darkgrey: #3c3c3a;
  --mediumgrey: #919191; 
  --lightgrey: rgba(216, 216, 216, 0.8);
  --lightestgrey: #efefef;
} 

.bg-darkgrey {
	background: var(--darkgrey);
}

/* navigation */

.icw-navigation-list {
	padding: 0; 
	margin: 0; 
	width: 100%;
	display: table;
}

.icw-navigation-wrapper { margin-bottom: 48px; }

.icw-navigation-list li { 
	list-style-type: none;
	display: table-cell; 
	text-align: center;
	width: 20%;
	border-right: 1px solid white; 
}


.icw-navigation-list li a {
	display: block;
	background: var(--darkgrey);
	border-bottom: 1px solid white;
	padding: 12px; 
	color: white; 
	font-size: 15px; 
	background: transparent;
}
.icw-navigation-list li a:hover, .icw-navigation-list li a.active {
	background: var(--pink);
}
.icw-navigation-list li a .fas {
	width: 15px; 
}
.icw-avada-content-with-left-content {

}

/* Standards */

.icw-button, #menu-item-1547 a, #menu-item-1548 a {
	color: white !important;
	background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='14 6 20 12 14 18'/%3E%3C/svg%3E") right 10px center no-repeat;
	padding: 7px 40px 7px 15px; 
	border-radius: 50px;
	margin-right: 10px; 
	font-size: 14px;
	line-height: 20px; 
	white-space: nowrap;
	margin-bottom: 10px; 
	display: inline-block;
} 

.icw-button-inline {
	padding: 4px 40px 4px 15px; 	
}

.icw-button:hover, #menu-item-1547 a:hover, #menu-item-1548 a:hover {
	color: white !important;
	background-color: var(--pinkhover);
} 



/* Basic Layout */

.icw-panel {
	background-color: var(--lightgrey); 
	border-radius: 10px; 
	padding: 5px 14px 5px;
	margin-bottom: 24px;
}
.eqh-wrapper .icw-panel, .icw-meine-mitarbeiter {
	padding: 14px 14px 5px;
}
.icw-panel .icon { text-align: center; }
.icw-panel .icon i { color: var(--mediumgrey); font-size: 34px; }

.icw-panel .content { padding-top: 16px; }

.eqh-wrapper {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 24px; 
}

.eqh-wrapper .eqh-item { height: 100%; margin-bottom: 0 !important; }



/* Heading */
.post-content h4.icw-panel-heading {
	color: var(--mediumgrey);
	font-weight: 300;
	font-size: 22px; 
	width: 100%; 
	text-align: center;
	margin-top: 0; 
	margin-bottom: 20px;  
}

.text-left, h4.text-left.icw-panel-heading { text-align: left; }

h2.icw-page-title { margin-bottom: 20px; }

h2.icw-h2 {
	margin-bottom: 32px;
}

/* Profile */

.icw-profile-pic { display: inline-block; /* width: 150px; padding-right: 15px; */ vertical-align: top;  }
.icw-profile-pic img { width: 100%; height: auto; display: block; }
.icw-profile-text { display: inline-block; }

.user-mini-profile {
	border: 1px solid var(--lightgrey);
	padding: 4px;
	height: 40px; 
	margin-bottom: 4px; 	
}

.user-mini-profile-img-wrapper {
	display: inline-block;
	height: 30px;
	overflow: hidden;
	width: 30px;
	margin-right: 6px; 
	background-color: var(--lightgrey);
}

.user-mini-profile-img-wrapper img {
	width: 30px;
	height: auto;
}
.user-mini-profile-name-wrapper {
	display: inline;
	line-height: 30px; 
	height: 30px;
	vertical-align: top; 
}

.dataTable .user-mini-profile-name-wrapper, .dataTable .user-mini-profile {
	height: auto; 
}

.user-mini-profile .fontawesome-icon.fusion-text-flow {
    margin-left: 7px !important;
    margin-top: 6px !important;
}
.userprofile_name {
	font-weight: 600;
}

.icw-mein-profil-dashboard .dateien {
	display: none;
}

/* Audit, Dateien, Summary */
.datei-wrapper {
	margin-bottom: 14px;
}

/* Breadcrumbs */

.breadcrumbs {margin-bottom: 28px; }

.icw-messages { display: none; } /* TEMP */

/* Messages */
.icw-messages-success { color: #08ad00; }

/* Fields */

.acf-field .acf-label label {
    font-weight: 600;
}
.acf-field .acf-label label {
    display: block;
    font-weight: bold;
    margin: 0 0 3px;
    padding: 0;
}


.acf-field-group > .acf-value, .repeater_row { 
	border: 0;
	padding: 0;
}

.icw-block { 
	margin-bottom: 24px; 
}

.icw-navigation-wrapper { }

.icw-profile .picture-wrapper img { width: 200px; height: auto; }


.acf-fields.-left > .acf-field > .acf-input .acf-fields > .acf-field:first-child {
    padding-top: 2px;
}

.acf-fields > .acf-field {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* border bottom below grouped fields */
.acf-field-group, .acf-field-user, .acf-field-repeater, .acf-field-checkbox  {
    border-bottom: #EEEEEE solid 1px !important;
}
.acf-input .acf-field-checkbox  {
    border-bottom: none !important;
}

/* Left Layout Form */
.acf-fields.-left > .acf-field > .acf-label {
	width: calc(20% + 40px) !important;
}
.acf-fields.-left > .acf-field > .acf-input {
	width: calc(80% - 40px) !important;
}

.acf-fields.-left > .acf-field::before {
    width: calc(20% + 40px) !important;
    border: none !important; 
}


/* Repeater */

.acf-input .acf-repeater .acf-row-handle {
    vertical-align: top !important;
}
.acf-repeater .acf-row-handle.order + td {
    padding-top: 7px !important;
}


/* 2 fields in one row */
.acf-field[data-width] + .acf-field[data-width] {
    border-left: 10px solid transparent !important;
}

/* Submit */
.acf-form-submit { margin-top: 32px; }

/* Audtit List Table */

.icw-audits-list { overflow: scroll;}
.audit-list { width: 100%; margin-bottom: 12px; }
.audit-list th, .audit-list td { text-align: left; padding: 12px; background-color: white; }
.audit-list th { background-color: var(--darkgrey); color: white; font-weight: 400; font-size: 14px; }
.audit-list td { background-color: white; line-height: 20px; vertical-align: top;  }  
.audit-list td .icw-button { margin: 0 !important; } 

/* Erhebungsbogen */

.acf-form { margin-bottom: 32px; }

.acf-field .acf-label label {
    font-weight: 500;
    font-size: 16px; 
}

.acf-field p.description {
    line-height: 1.25;
    font-style: italic;
}

.hide-label .acf-clone-fields label { display: none !important;  }
.hide-label .acf-clone-fields .acf-field-file  label { display: block !important;  }
.hide-label .acf-clone-fields .acf-field { padding-top: 0 !important; }
input, select, textarea {
    border-style: solid;
}

.acf-basic-uploader input { border: 0; }


.acf-fields > .acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"]) > .acf-input,
.acf-fields > .acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"]) > .acf-input {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.acfe-field-group-layout-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.acf-field-message { 
	background-color: var(--lightestgrey);
	color: #3c3c3b !important;  
	margin-bottom: 16px !important; 
	border-radius: 10px; 
	padding: 5px 14px !important;  
}

.acf-field-message.hinweis { 
	background: var(--lightteal); 
	color: #005269; 

}

.acf-field-message .acf-label label {
    margin: 0 !important;
}

.acf-field-message.vorbemerkung { 
	background-color: var(--darkteal);
	color: white !important; 
}

.acf-field-message.icw-message { 
	background-color: var(--pink);
	color: white !important;
}

.acf-field-message.anforderung { 
	background-color: var(--lightestgrey);
	color: #3c3c3b !important;  
	margin-bottom: 16px !important; 
}

.acf-field[data-width] + .acf-field[data-width].noborderleft { border-left: 0 !important; }

input, textarea {
	transition: border 300ms ease-out;
}

.acf-field input:focus, .acf-field textarea:focus {
	border: 1px solid  var(--darkteal) !important;
}

.acf-field input:read-only, .acf-field textarea:read-only, .full-text-from-textarea {
  border-color: var(--lightgrey) !important;
  background-color: var(--lightgrey) !important;
}

.full-text-from-textarea {
	padding: 14px 18px !important;
	font-size: 14px;
	line-height: 1.4;
	color: #000000;
	white-space: pre-line;
}

#acf-form.readonly .acfe-repeater-stylised-button {
	display: none; 
}

.acf-field-message p:last-child { margin-bottom: 0; }
.acf-field-message label { font-weight: 400 !important; /* font-size: 16px; */  }

.acf-field-message .acf-label { margin: 0 !important; }

#acf-form-ehb .acfe-field-group-layout-block > .acf-label label,
#acf-form-ehb .acf-fields.-left > .acf-field > .acf-label label { 
	font-weight: 400 !important; 
	color: black;
	font-size: 25px; 

}

#anfrage .acf-fields.-left > .acf-field > .acf-label label { 
	font-weight: 400 !important; 
	font-size: 16px; 
}

ul.acf-radio-list li, ul.acf-checkbox-list li {
    font-size: inherit !important;
    line-height: inherit !important;
}

.ehb-section { 
	padding: 0 0 15px 0!important; 
}
.ehb-section > .acf-label {  /* ISO-Abschnitt Title wrapper */
	background: var(--mediumgrey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-chevron-compact-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.553 6.776a.5.5 0 0 1 .67-.223L8 9.44l5.776-2.888a.5.5 0 1 1 .448.894l-6 3a.5.5 0 0 1-.448 0l-6-3a.5.5 0 0 1-.223-.67z'/%3E%3C/svg%3E") center bottom 6px no-repeat;; 
	background-size: 32px 32px; 
	border-radius: 10px;  
	text-align: center;
	padding: 10px 10px 26px 10px !important; 
} 

.ehb-section > .acf-label label {	  /* ISO-Abschnitt Title */
	color: white !important; 
	font-size: 22px;
	margin-top: 0 !important; 
	font-weight: 300 !important;  
}

.acf-fields.-border {
    border: 0 !important;
    background: transparent;
} 

.acf-fields.-border > .acf-field {
	padding: 15px 0; 
}

.acf-field-group > .acf-label label { 

}

.iso-groups {  padding: 0 1.25em !important; }
.iso-groups li {  }
.iso-groups a {}
.iso-groups a.active { border-bottom: 1px solid var(--pink); }

.acf-button { 
	transition: opacity 300ms ease-in-out;
	opacity: 1;
	background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='14 6 20 12 14 18'/%3E%3C/svg%3E") right 10px center no-repeat;
	padding: 10px 40px 10px 15px; 
	color: white; border: 0; border-radius: 50px !important; 
	font-size: 14px; 
}

.acf-button:hover, .acf-button:active { 
	opacity: 0.8; 
	cursor: pointer;  
	color: white !important;  
}

.acf-repeater .acf-button { 
	padding: 5px 40px 5px 15px; 
}

/* Im Erhebungsbogen, und auch sonst */
.acf-field textarea{
    padding: 14px 18px !important;
}

#acf-form-ehb .acf-field-group { margin-top: 32px; }
#acf-form-ehb .acf-field-group .acf-field-group .acf-field-group { margin-top: 0px; }

#acf-form-ehb .acf-field .acf-label label {
    font-weight: 500 !important;
}

#acf-form-ehb .acf-fields > .acf-field-group {
    border-top: #EEE solid 2px !important;
}
#acf-form-ehb .acf-fields > .acf-field-group .acf-field-group  .acf-field-group {
    border-top: none !important;
}

/* .tabelle-1 */

.tabelle-1 .acf-input textarea {
	background: url(img/bg_tabelle_test.png) 0px 8px no-repeat;
    background-size: auto;
	background-size: 400px;
	padding-left: 218px;
}
.erhb .fontawesome-icon { color: var(--pink); } 
.erhb.active { border: 0 !important;  } 
.erhb-wrapper { background: var(--lightgrey); list-style: none; padding: 8px 12px !important; display: inline-block; margin-left: -1.25em; margin-top: 24px;  }

.printbutton { display: inline-block !important; margin-bottom: 16px; width: 200px; text-align: left; }
.printbutton i, #toggle-punkte-felder i { color: #222;  }

@media print {
	.fusion-main-menu, .icw-navigation-wrapper { display: none !important; }
	.fusion-standard-logo, .fusion-sticky-logo { height: 75px !important; }
	#main { padding: 0 !important; }
	#main .fusion-row { padding: 0; margin: 0 ; width: 100%; }
	.fusion_builder_column_1_5 { display: none !important; }

	.fusion-header { padding: 0; height: 105px !important; }
	.fusion-header-wrapper .fusion-row { max-width: 100% !important; }
	.fusion-is-sticky .fusion-header-v3 .fusion-sticky-shadow { box-shadow: none !important; }
	.fusion-is-sticky .fusion-header-v3 .fusion-header { position: relative !important; top: 0 !important; padding-bottom: 30px;  }
	
	.breadcrumbs { display: none; }
	
	[data-name="erhebungsbogen_einreichen"] { display: none !important; }

	#wrapper .post-content h2 { font-size: 28px !important; }
	
	.acf-field-message {
		background: transparent;
		color: #005269;
		border: 0 ; 
		border-radius: 0;
		font-size: 14px;
		padding: 0 0 0 15px !important;
		border-left: 5px solid black; 
	}
	.acf-fields > .acf-field {
		border-top: none !important;
	}
	
	.ehb-section { page-break-before: always; }
	.ehb-section > .acf-label {

		text-align: left !important; 
		background: transparent;
		border: none;
		padding: 0 !important;
		margin: 0;  
	}
	.ehb-section > .acf-label label {
		color: black !important;
		font-size: 26px;
		font-weight: 500 !important;
		text-align: left !important; 
	}
	.to-top-container {
		display: none; 
	}
	.noprint, .printbutton { display: none !important;  }  

}

/* Auditzeitplan */



/* Top Menu: Log In / Dashboard Override */

#menu-item-3680 { padding-right: 0; }

#menu-item-1547, #menu-item-1548 {
	position: absolute;
	top: 15px;
	right: 0;
	float: none;
	height: 0; 
}
#menu-item-1547 a, #menu-item-1548 a {
	display: block; 
	height: auto !important; 
	margin-right: 0; 
	font-weight: 400;
}

/* Bewertung */
.iso-group-valuate-row.odd {
	background-color: var(--lightestgrey); 
}
.group-valuate  { margin-bottom: 32px; }
.group-valuate table { margin-top: 8px; }
.group-valuate label {
	font-weight: 500;
	font-size: 21px;
}

.group-valuate td, .group-valuate th {	
	padding: 4px 6px; 
	text-align: left;
}
.group-valuate table {
	width: 100%; 
}

.group-valuate .count { width: 50px; border-right: 2px solid white; vertical-align: top; }
.group-valuate .kriterien { width: 138px; border-right: 2px solid white; vertical-align: top; }
.group-valuate .ko { width: 50px; border-right: 2px solid white; vertical-align: top;  }
.group-valuate .message, .group-valuate .text  { border-right: 2px solid white; width: 40%;  font-size: 12px; vertical-align: top; }
.group-valuate .max_punkte, .group-valuate .erreichte_punkte  { border-right: 2px solid white; vertical-align: top; }
.group-valuate .points { width: 90px; vertical-align: top;  }
.group-valuate .beschreibung { border-right: 2px solid white; vertical-align: top; }

/* Fällt weg */

.acf-field[data-name="geltungsbereich_der_interdisziplinaren_zusammenarbeit"] { display: none; }
.acf-field[data-name="abteilung_klinik"] { display: none; }
.acf-field[data-name="einrichtung_zertifikatsnummer"] { display: none; }

/* Upload Felder EB nach Auditstatus */
/*
10 : Anfrage
20 : Beratung
30 : Angebot
40 : Auftrag
50 : Beauftragung (Auditor)
60 : Planung
70 : Audit
80 : fachliche Prüfung
85 : Zertifikatsentscheidung DQS
90 : Zertifikat
100 : Rechnung
110 : Abgeschlossen
120 : Out
*/
/*
.audit-status-10 .acf-field[data-name="dateien_hochladen"],
.audit-status-20 .acf-field[data-name="dateien_hochladen"],
.audit-status-30 .acf-field[data-name="dateien_hochladen"],
.audit-status-40 .acf-field[data-name="dateien_hochladen"],
.audit-status-50 .acf-field[data-name="dateien_hochladen"],
.audit-status-60 .acf-field[data-name="dateien_hochladen"],
.audit-status-70 .acf-field[data-name="dateien_hochladen"] { 
	display: none; 
}
*/
.audit-id-6766 .acf-field[data-name="dateien_hochladen"],
.audit-id-7832 .acf-field[data-name="dateien_hochladen"]
{ 
	display: block; 
}



/* Inline per-field edit button in audit view */
.icw-edit-inline-button {
	display: inline-block;
	font-size: 11px;
	font-weight: normal;
	color: #555;
	background: #e0e0e0;
	border-radius: 4px;
	padding: 2px 8px;
	text-decoration: none;
	margin-left: 8px;
	vertical-align: middle;
	transition: background 0.15s;
}
.icw-edit-inline-button:hover {
	background: #bbb;
	color: #222;
	text-decoration: none;
}

/* Hide ACF repeater add/remove controls on all readonly audit forms */
.acf-form.readonly .acf-repeater .acf-actions,
.acf-form.readonly .acf-repeater > .acf-actions,
.acf-form.readonly .acf-row-handle,
#strukturdaten .acf-repeater .acf-actions,
#strukturdaten .acf-repeater > .acf-actions,
#strukturdaten .acf-row-handle,
#auditergebnis .acf-repeater .acf-actions,
#auditergebnis .acf-row-handle {
	display: none !important;
}

/* Reliable hide for repeater add/remove controls on the audit view page */
.icw-readonly-view .acf-repeater .acf-actions,
.icw-readonly-view .acf-repeater > .acf-actions,
.icw-readonly-view .acf-row-handle {
	display: none !important;
}
