/*
 * What the Joomla 3 site got from extensions that changed or went away, rebuilt for the Joomla 6 markup.
 * Loaded after styles.css, bootstrap.min.css and font-awesome.min.css.
 */

/* Accordeon Menu CK ("Оделенија" / "Departments"): the module settings of the old mod_accordeonck 2.2.3,
   which printed them inline: a grey gradient box with rounded corners and a shadow, plus / minus icons. */
ul.menu[id^="accordeonck"] {
  padding: 5px;
  margin: 0;
  background: #f0f0f0;
  background: linear-gradient(to bottom, #f0f0f0 0%, #e3e3e3 100%);
  border-radius: 5px;
  box-shadow: 0 0 3px 0 #444;
}
ul.menu[id^="accordeonck"] li > .accordeonck_outer .toggler_icon {
  outline: none;
  background: url(../images/accordeon/plus.png) right center no-repeat !important;
}
ul.menu[id^="accordeonck"] li.open > .accordeonck_outer .toggler_icon {
  background: url(../images/accordeon/minus.png) right center no-repeat !important;
}
ul.menu[id^="accordeonck"] li ul li ul li ul {
  border: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
ul.menu[id^="accordeonck"] li.parent > span {
  display: block;
  position: relative;
}
ul.menu[id^="accordeonck"] li.parent > span span.toggler_icon {
  position: absolute;
  cursor: pointer;
  display: block;
  height: 100%;
  z-index: 10;
  right: 0;
  top: 0;
  background: none;
  width: 20px;
}
ul.menu[id^="accordeonck"] li.level1,
ul.menu[id^="accordeonck"] li.level2,
ul.menu[id^="accordeonck"] li.level3 {
  padding: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
ul.menu[id^="accordeonck"] .accordeonck_outer a {
  font-size: 12px;
}
ul.menu[id^="accordeonck"] a span.accordeonckdesc {
  font-size: 10px;
}
ul.menu[id^="accordeonck"] a span.accordeonckdesc:empty {
  display: none;
}

/* "Конкурси и рецензии" / "Едукативна дејност": the CSS Latest News Enhanced 1.3.1 generated
   (style.css.php, item width 100 %, font size 14 px), for the core Articles module (html/mod_articles/latestnews.php). */
.newslist ul.newsitems {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
  letter-spacing: -1px;
}
.newslist li.newsitem {
  width: 100%;
  overflow: hidden;
  display: inline-block;
  font-size: 14px;
  letter-spacing: normal;
  vertical-align: top;
  margin: 0 0 5px;
  list-style: none;
  padding: 0;
  background-image: none !important;
}
.newslist .news {
  overflow: hidden;
  padding: 2px;
}
.newslist .odd,
.newslist .even {
  border-bottom: none;
  background: none;
  padding: 0;
}
.newslist .newsinfo {
  overflow: hidden;
}
.newslist .newstitle {
  margin: 0;
}

/* Contact pages: the layout of the old FoxContact form ("extended": labels 230 px on the left,
   fields 270 px), for core com_contact (html/com_contact/contact). */
div.foxcontainer {
  width: auto;
  padding: 16px;
  overflow: hidden;
  margin: auto;
}
div.foxcontainer h2 {
  margin: 0 0 10px;
}
div.foxcontainer .control-group {
  float: left;
  width: 100%;
  margin-bottom: 20px;
}
div.foxcontainer .control-label {
  float: left;
  width: 230px;
  text-align: left;
  padding-right: 16px;
  box-sizing: border-box;
  line-height: 28px;
}
div.foxcontainer .control-label label {
  display: inline;
  margin: 0;
  font-size: 12px;
  line-height: 28px;
  color: #656565;
}
div.foxcontainer .control-label .star {
  color: #b94a48;
  font-weight: bold;
}
div.foxcontainer .controls {
  float: left;
  margin: 0;
}
div.foxcontainer .foxcontact-text .controls {
  float: none;
}
div.foxcontainer input[type="text"],
div.foxcontainer input[type="email"],
div.foxcontainer textarea {
  box-sizing: border-box;
  width: 270px;
  margin: 0;
  padding: 4px 5px;
  border: 1px solid #aaa;
  border-radius: 4px;
  color: #555;
  background-color: #fff;
  font-size: 12px;
  transition: border linear .2s, box-shadow linear .2s;
}
div.foxcontainer input[type="text"],
div.foxcontainer input[type="email"] {
  height: 28px;
  line-height: 28px;
}
div.foxcontainer textarea {
  height: 180px;
}
div.foxcontainer input[type="text"]:hover,
div.foxcontainer input[type="email"]:hover,
div.foxcontainer textarea:hover,
div.foxcontainer input[type="text"]:focus,
div.foxcontainer input[type="email"]:focus,
div.foxcontainer textarea:focus {
  background-color: #ffffe0;
}
div.foxcontainer .invalid {
  border-color: #b94a48 !important;
}
div.foxcontainer .form-control-feedback {
  color: #b94a48;
  font-size: 12px;
}

/* Joomla 6 system messages (joomla-alert) in the look of the template's Bootstrap 2 alerts. */
#system-message-container joomla-alert {
  display: block;
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  border: 1px solid #fbeed5;
  border-radius: 4px;
  color: #c09853;
  background-color: #fcf8e3;
}
#system-message-container joomla-alert[type="success"] {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
#system-message-container joomla-alert[type="danger"] {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}
#system-message-container joomla-alert[type="info"] {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
#system-message-container .joomla-alert--close {
  float: right;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* The empty pagination block after the lists (Latest News Enhanced printed it with no margin). */
.newslist .pagination {
  margin: 0;
}

/* Language switcher: Joomla 3's media/mod_languages/css/template.css (html/mod_languages/default.php). */
div.mod-languages ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
div.mod-languages li {
  margin-left: 5px;
  margin-right: 5px;
}
div.mod-languages ul.lang-inline li {
  display: inline;
}
div.mod-languages img {
  border: none;
}
div.mod-languages a {
  text-decoration: none;
}
