body {
    padding-bottom: 40px;
}

.zf-green {
    color: #68b604;
}

.btn-success {
  background-color: #57a900;
  background-image: -moz-linear-gradient(top, #70d900, #57a900);
  background-image: -ms-linear-gradient(top, #70d900, #57a900);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
  background-image: -webkit-linear-gradient(top, #70d900, #57a900);
  background-image: -o-linear-gradient(top, #70d900, #57a900);
  background-image: linear-gradient(top, #70d900, #57a900);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  background-color: #57a900;
}

.btn-success:active, .btn-success.active {
  background-color: #57a900;
}

div.container a.navbar-brand > img {
    display: inline;
    margin-right: 4px;
}

div.app-caption {
    padding: 25px 0px;    
    font-size:3.0em;
    font-weight: bold;
    color:#6aacaf
}

form ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px 5px;
}

form ul li {    
          
}

.alert ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px 5px;
}



.navbar {
           display:none;
        }
		
		.trenner {
		   padding:0px;
		   margin:0px;
		   height:0px;
		   
		}
		
@media (max-width: 768px) {
	   .navbar {
           display:inline;
        }
		#sitebar {
		    display:none;
		}
		.nodisplaymobile {
		display:none;
		}
		
		.trenner {
		  border-top:1px solid grey !important;
		  height: 20px;
		   
		}
}
	  
	  .list-group.panel > .list-group-item {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  background: #efefef;
  color: black;
}
.list-group-submenu {
  margin-left:20px;
}
.strong {
 font-weight: bold; 

}

/* Header menue */
.header_menue_wrapper {
   width:100%; 
   border:0px solid white; 
   height:20px;
}





.header_menue_inner_left {
   float:left;
   width:19%;
   padding-top:5px;
   padding-left:1%;
}

.header_menue_inner_right {
   float:right;
  
   padding-top:5px;
}


.header_menue_inner_right ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
	overflow: hidden;
}

.header_menue_inner_right ul li {
    float: left;
	padding-right:20px;
	
}

/*
.header_menue_inner a {
    display: block;
    padding: 8px;
   
}
*/
/* Mobile Navigation */

.mobile_navigation_button {
   position: absolute;  
   background: #dfdfdf;   
   left:5px; 
   top:-25px; 
   border:0px; 
   shadow: 0px;
}

.mobile_navigation_nav {
  
   background:transparent; 
   border:0px;
}

/* content */
.ci_container1 {
   border:1px solid grey;
   background: #efefef;
   padding:20px;
   
   -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

}

.clear {
   clear:both;
}

h1 {
   font-size:20px;
}
h2 {
   font-size:20px;
   padding-top:0px;
   margin-top:0px;
}

/* Quicksearch */
.quicksearch {
   margin-bottom: 55px;
   padding-top:3px;
}

.form-group-quicksearch {
   float:left; 
   margin-right:2%;
}

.titelholder {
  
  height:25px; 
  margin-bottom:10px;
}

.titelholder h1{
  margin:0px;
   padding:0px;
}

/* Liste */

.aktionsbar_left {
  width:40%; 
  float:left; 
  margin-left:5px;
}

.footer_bar {
   background: #efefef;
   height: 35px;
  
  padding-top: 7px;
  padding-bottom: 10px;
  padding-left:5px;
  
  -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

@media (max-width: 500px) {
	.aktionsbar_left {
       width:100%; 
       clear:both;
    }
	
	.footer_bar {
	   height: 55px;
	}
}

/* */

.zaeler_button {
float:left; 
width:20px; 
}

.zaeler_auswahl {
float:left; 
}

.zaeler_eintraege {
float:left; 
width:200px;
text-align:right;
font-weight: bold;
}

.listarrow {
   font-size: 10px;
  
}

.tabinhalt {
  border-collapse: separate;
  border-spacing: 1px;
}


.tabinhalt td {
  padding: 10px;
  background-color: white;
}



 .mytable {
  border-spacing: 2px; 
  border-collapse: separate;
 }
 
 .mytable tr {
 background: #d0d7e9;
 }
 
 .mytable td {
	padding:3px;
 }
 
 
  .mytable2,.mytableGruppe,.mytableRechnung,.mytableHaendler,.mytableSonstige {
  border-spacing: 2px; 
  border-collapse: separate;
 }
 
 
 
 .mytable2 tr {
 background: #ffffff;
 }
 .mytableGruppe tr {
 background: #fbffda;
 }
 .mytableRechnung tr {
 background: #ffeaf1;
 }
 
.mytableHaendler tr {
 background: #dddfff;
 }
.mytableSonstige tr {
 background: #d5acff;
 }
 
 .mytable2,.mytableGruppe,.mytableRechnung,.mytableHaendler td {
	padding:3px;
 }
 
 
   .mytable3 {
  border-spacing: 2px; 
  border-collapse: separate;
  border:1px solid black;
  width:100%;
 }
 
 .mytable3 tr {
 background: #ffffff;
 }
 
 .mytable3 td {
	padding:3px;
	font-size:13px;
 }
 
 
 
   .mytable4 {
  border-spacing: 2px; 
  border-collapse: separate;
 }
 
 .mytable4 tr {
 background: #ffffff;
 }
 
 .mytable4 td {
	padding:3px;
	font-size:11px;
 }
								
.innertrenner {
	 padding:20px;
 }
 
 @media (max-width: 500px) {
 .nopaddinglr {
	 padding-left:0px;
	 padding-right:0px;
 }
 
  .innertrenner {
	 padding-left:5px;
	 padding-right:5px;
 }
 
 .titelholder h1{
  font-size:16px;
}


 }


.jba_re_uebersicht {
	padding-top:8px;
	padding-bottom:8px;
}

.jba_re_uebersicht_tr:hover {
	border:2px solid blue;
	outline: 2px solid blue;
}


/* =========================
   GLOBAL OVERLAY (shared)
========================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

/* =========================
   ICON PICKER MODAL
========================= */
#iconPickerModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    max-width: 95%;
    max-height: 80vh;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    padding: 20px;
}

#iconGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    max-height: 55vh;
    overflow-y: auto;
    margin-top: 15px;
}

.icon-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
}

.icon-item:hover {
    background: #f5f5f5;
    transform: scale(1.03);
}

.icon-item i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.icon-name {
    font-size: 11px;
    word-break: break-word;
}

#selectedIconPreview {
    margin-top: 10px;
    font-size: 24px;
    display: inline;
    margin-left: 20px;
}

/* =========================
   KI HELP MODAL
========================= */


#kiHelpModal {
    display: none;
    position: fixed;
    z-index: 9999;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

 
	min-height: 800px;
    max-height: 85vh;

    overflow-y: auto;

    background: white;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);

    padding: 20px;
}

#kiHelpModal::-webkit-scrollbar {
    width: 10px;
}

#kiHelpModal::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}


#kiHelpTextarea {
    width: 100%;
    min-height: 100px;
    margin-top: 10px;
}

.ki-view {
    display: none;
}


/* =========================
   MODAL CLOSE BUTTON
========================= */

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: #e53935;
    color: white;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s;
}

.modal-close:hover {
    background: #c62828;
    transform: scale(1.08);
}


/* ===== MODAL SIZE VARIANTS ===== */

.modal--small {
    width: 500px !important;
}

.modal--medium {
    width: 900px !important;
}

.modal--large {
    width: 1200px !important;
}

.ki-help-trigger {
    cursor: pointer;
    transition: 0.2s;
}

.ki-help-trigger:hover {
    transform: scale(1.05);
}



.loader {
    border: 6px solid #f3f3f3; 
    border-top: 6px solid #4a90e2; 
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 20px auto 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

    .upload-container {
        font-family: Arial, sans-serif;
        background: white;
        padding: 25px;
        border-radius: 15px;
        width: 380px;
        //margin: 30px auto;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .custom-file-label {
        padding: 10px 18px;
        background: #4a90e2;
        color: white;
        border-radius: 8px;
        cursor: pointer;
        display: inline-block;
    }

    input[type="file"] {
        //display: none;
    }

    #crop-area {
        margin-top: 20px;
        max-height: 300px;
        overflow: hidden;
        border-radius: 10px;
    }

    .btn-row {
        margin-top: 20px;
        display: flex;
        gap: 10px;
    }

    .btn-row button {
        flex: 1;
        padding: 10px;
        border: none;
        background: #28a745;
        color: white;
        border-radius: 8px;
        cursor: pointer;
    }
	
	
/* CSS für den Rahmen */
.cropper-face {
    border: 2px solid red !important; /* Grüner Rahmen */
}



/* Schatten hinter dem Rahmen */
.cropper-crop-box {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); /* Schwarzer Schatten */
}



/* Cropper-Ecken sichtbar machen */
.cropper-point {
    width: 12px;
    height: 12px;
    background-color: #e74c3c; /* Rote Farbe */
    border-radius: 50%; /* Runde Ecken */
    border: 5px solid white;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
} 


.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.image-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 150px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    display: block;
}

.image-card .buttons {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}

.image-card button {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.image-card button.select {
    background: #4a90e2;
    color: white;
}

.image-card button.select:hover {
    background: #357ABD;
}

.image-card button.delete {
    background: #e74c3c;
    color: white;
}

.image-card button.delete:hover {
    background: #c0392b;
}

.video-preview-box {

    padding:15px;
    background:#f5f5f5;
    border-radius:10px;
    margin-top:10px;

}



/* Download-Liste */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #ababab;
  border-radius: 8px;
}

.download-item .fa {
  font-size: 1.5rem;
  color: #e10816;
  flex-shrink: 0;
}

.download-item > div:nth-child(2) {
  flex: 1;
}


/* ------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------ */
.mybtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.mybtn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.mybtn:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: #e10816;
  border-color: #e10816;
}

.btn--outline:hover {
  background: #e10816;
  color: #ffffff;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}


/* ==========================================
   IMAGE LIGHTBOX
========================================== */

#imageLightbox {
    display: none;

    position: fixed;
    z-index: 10000;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    max-width: 95vw;
    max-height: 95vh;

    padding: 10px;

    border-radius: 12px;

    background: white;

    box-shadow: 0 0 40px rgba(0,0,0,.4);
}

#imageLightbox img {
    display: block;

    max-width: 90vw;
    max-height: 85vh;

    border-radius: 8px;
}

/* klickbare Vorschaubilder */

.lightbox-image {
    cursor: zoom-in;

    transition: .25s ease;
}

.lightbox-image:hover {
    transform: scale(1.03);
    opacity: .9;
}

/* Social Media */

.sm_wrapper_insta1_desktop {
				border:1px solid #dfe0e4;
				/*width:525px;*/
				width:80%;
				padding:12px;
				
				background-color: white;
				
				border: 1px solid green;
				border-color: #e5e6e9 #dfe0e4 #d0d1d5;
				border-radius: 3px;
			}
			
			
			.sm_insta_fliesstext {
				font-family: helvetica, arial, 'lucida grande', sans-serif;
				letter-spacing: normal;
				font-size: 18px;
				
				color:#000000;
				
				background-color: #fff;
				
				
				word-wrap: break-word;
				width: 100%;
				
				white-space: pre-line;
				line-height: 1.5em;
				
				height: auto;
				overflow: hidden;
				
				padding-bottom:15px;
				
				width:480px;
				
			}
			
			
			.sm_insta_head {
			  width:100%;
			  height: 50px;
			  
			 
			 
			 background-repeat: no-repeat;
			 color: #425893;
			 font-size: 13px;
			 font-weight:bold;
				
			}
			
			.sm_insta_head img {
			    width: 100%;
			}
			
			.sm_insta_footer img {
			    width: 100%;
			}
			
			
			.sm_insta_head_firma {
				padding-left:52px;
				padding-top:6px;
			}
			
			
			.sm_insta_footer {
			  width:100%;
			  height: 55px;
			 background-image: url("grafik/fb_footer.png");
			 background-size: contain;
			 background-repeat: no-repeat;
			
				
			}
			
			.sm_insta_calltoaction_wrapper {
				width: 100%;
				background-color: #f0f2f5;
				height:60px;
				margin-top: -10px;
				margin-bottom: 20px;
			}
			
			.sm_insta_calltoaction_title {
				
				padding-top:10px;
				padding-left:20px;
				font-weight: bold;
				font-size: 14px;
				
				float:left;
				width:50%;
		   
			}
			
			.sm_insta_calltoaction_button {
				float:right;
				
				padding-top:10px;
				padding-right:10px;
			}
			
			.vorschauimage1 img {
			   width: 100%;
			}
			