/* ameos_filemanager 1.4.x - Anpassungen MG Gals */
.files .toolbar.row, .toolbar.row {
  position:static !important; top:auto !important; left:auto !important;
  height:auto !important; width:auto !important; background:none !important;
  display:flex !important; flex-wrap:wrap; align-items:center;
  margin:0 0 15px 0 !important; padding:0 !important; float:none !important;
}
.toolbar.row > div { float:none !important; width:auto !important; padding:0 !important; position:static !important; }
.toolbar.row > .col-md-8 { flex:1 1 100%; margin-bottom:10px; }
.toolbar.row > .col-md-2 { flex:0 0 auto; margin-right:10px; }
.toolbar .toolbar-item { display:inline-block; text-align:center; min-width:0; margin:0 15px 5px 0; font-size:13px; line-height:1.3; }
.toolbar .toolbar-item .fa-2x { font-size:20px; }
.toolbar .form-group { margin:0; }

/* Tabelle in Inhaltsspalte halten */
.files { max-width:100%; overflow-x:auto; }
.files table { width:100% !important; max-width:100%; table-layout:fixed; }
.files table th, .files table td { word-wrap:break-word; overflow-wrap:break-word; vertical-align:top; }
.files table th:nth-child(1), .files table td:nth-child(1) { width:30px; }
.files table th:nth-child(2), .files table td:nth-child(2) { width:40px; }
.files table th:nth-child(4), .files table td:nth-child(4) { width:95px; }
.files table th:nth-child(5), .files table td:nth-child(5) { width:80px; white-space:nowrap; }
.files table th:nth-child(6), .files table td:nth-child(6) { width:75px; }

/* Slider (ehem. sp_responsive) */
.mg-slider { margin-top:10px; }
.mg-slider .item img { width:100%; height:auto; }
.mg-slider .carousel-control { top:50%; bottom:auto; width:32px; height:48px; margin-top:-24px; background:#e8261b !important; opacity:1; font-size:22px; line-height:48px; text-shadow:none; color:#fff; }
.mg-slider .carousel-control.left { left:0; }
.mg-slider .carousel-control.right { right:0; }

/* Visual / Hero (fluid_styled_content) */
#visual .frame { margin:0; }
#visual .ce-gallery { margin-bottom:0; box-shadow:0px -5px 7px 5px #000; }
#visual .ce-gallery img, #visual .image-embed-item { width:100%; height:auto; display:block; }
#visual .ce-gallery figure, #visual .ce-column, #visual .ce-row { margin:0; padding:0; }

/* fluid_styled_content Bilder wie frueher (responsive, Text-umfliessend max. 50%) */
.ce-gallery img, .image-embed-item { max-width:100%; height:auto; }
.ce-gallery figure { margin:0; }
.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery { max-width:50%; }
.ce-intext.ce-right .ce-gallery { margin-left:15px; }
.ce-intext.ce-left .ce-gallery { margin-right:15px; }
@media (max-width:767px) {
  .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery { float:none; max-width:100%; margin:0 0 10px 0; }
}
