/* Joomla 4/5 compatibility styles for the NVnZ3 Artisteer template.
   Replaces what the Joomla 3 system.css / general.css used to provide. */

.visually-hidden,
.element-invisible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* System messages */
#system-message { margin: 10px 0; padding: 0; }
#system-message dt { font-weight: bold; }
#system-message dd { margin: 0 0 10px 0; padding: 0; }
#system-message dd ul { list-style: none; margin: 0; padding: 8px 12px; border-radius: 3px; }
#system-message dd.message ul,
#system-message dd.success ul { background: #e9f5e9; border: 1px solid #b2d8b2; color: #2f6b2f; }
#system-message dd.notice ul,
#system-message dd.info ul,
#system-message dd.warning ul { background: #fff8e1; border: 1px solid #f0d58a; color: #7a5b00; }
#system-message dd.error ul,
#system-message dd.danger ul { background: #fdecea; border: 1px solid #f2b8b5; color: #8a1f17; }

/* Unpublished items in lists */
.system-unpublished { background: #fff6e6; border-top: 2px solid #f0c36d; border-bottom: 2px solid #f0c36d; }

/* Core Joomla 4 layouts (tags, article info, icons) */
ul.tags { list-style: none; margin: 10px 0; padding: 0; }
ul.tags li { display: inline-block; margin: 0 4px 4px 0; }
ul.tags li a { display: inline-block; padding: 2px 8px; border-radius: 3px; background: #eee; text-decoration: none; }
[class^="icon-"], [class*=" icon-"] { margin-right: .2em; }
.art-postheadericons a img { vertical-align: middle; }

/* Forms rendered by core Joomla 4 layouts (login, contact, registration, ...) */
.control-group { margin-bottom: 10px; }
.control-label { display: block; margin-bottom: 3px; }
.form-control, .form-select { max-width: 100%; box-sizing: border-box; }
.invalid { border-color: #c00 !important; color: #c00; }
.float-start { float: left; }
.float-end { float: right; }
