/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Για το container των cards */

/* Για κάθε card */
#page_main_ .col-xl-4, #page_main_ .col-lg-6, #page_main_ .col-md-6 {
    margin-bottom: 30px; /* Κενό μεταξύ των σειρών */
    flex: 0 0 33.33%; /* 3 cards ανά γραμμή */
  }
  
  /* Για τα cards */
  .card-upgrade {
    display: block;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 14px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    margin-bottom: 0px; /* Κενό μεταξύ των cards */
  }
  
  .card-upgrade:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    text-decoration: none;
  }
  
  .card-upgrade .icon-wrap {
    margin-bottom: 20px;
  }
  
  .card-upgrade .icon-wrap img {
    width: 48px;
    height: 48px;
    opacity: 0.8;
  }
  
  .card-upgrade h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
  }
  
  .card-upgrade .description {
    font-size: 0.95rem;
    color: #666;
    min-height: 60px;
    margin-bottom: 20px;
  }
  
  .card-upgrade .card-meta {
    list-style: none;
    padding: 15px 0 0 0;
    margin: 0;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of items */
    gap: 15px;
    
  }
  
  .card-upgrade .card-meta li {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .card-upgrade .card-meta img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    
  }
  
  .box_grid ul li:last-child {
    margin-left: auto;
  }

  .features ul li:hover a {
    color: rgb(63, 159, 255) !important;
  }

  .features ul li {
    transition: transform 0.2s ease-in-out; /* Add a smooth transition for the scaling effect */
  }
  
  .features ul li:hover {
    transform: scale(1.1); /* Increase the size by 10% on hover */
  }

  ul.card-meta {
    display: flex;
    justify-content: flex-start; /* Aligns items to the left */
  }

  ul.card-meta li.subcategories{margin-left: inherit;}

  #hero_in.hero_slim{height: 170px;}

  .main-category-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    padding: 0.25rem 0;
}

.main-category-title .menu-link {
    color: #212529;
    text-decoration: none;
}

.main-category-title .menu-link:hover {
    text-decoration: underline;
}

.slim-menu-item .menu-link {
    font-size: 0.95rem;
    padding: 0.15rem 0;
    color: #333;
    text-decoration: none;
}

.slim-menu-item .menu-link:hover {
    text-decoration: underline;
}

.caret-toggle {
    cursor: pointer;
    font-size: 0.75rem;
}

.parent-open > .menu-link {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
    padding: 6px 8px;
}
.menu-left-icon {
    margin-right: 0.5rem;
}

.menu-link.active {
  background-color: #e6f2ff;
  border-radius: 4px;
  font-weight: bold;
  color: #0056b3;
  padding: 4px 8px;
}

.breadcrumb.pages_breadcrumb{
  background: transparent;
  margin: 0;
}

/* Styles for the main breadcrumb container */
ol.breadcrumb.pages_breadcrumb {
  /* You can add styles here for the whole breadcrumb container */
  /* Example: background-color: #f8f8f8; */
  /* Example: padding: 10px 15px; */
  list-style: none; /* Remove default list styling */
  margin: 0; /* Remove default margin */
  padding: 12px 16px; /* Based on the computed styles, this was already present */
  display: flex; /* Based on the computed styles, this was already present */
  align-items: center; /* Vertically align items */
}

/* Styles for individual breadcrumb items */
ol.breadcrumb.pages_breadcrumb li.breadcrumb-item {
  /* You can add styles here for individual items */
  /* Example: margin-right: 5px; */
  /* Example: Add padding if you want space around the text/link within each item */
  /* padding: 5px 10px; */
  display: flex; /* Based on computed styles */
  align-items: center; /* Ensure content within item is aligned */
}

/* Styles for the breadcrumb links */
ol.breadcrumb.pages_breadcrumb li.breadcrumb-item a {
  /* This applies the darker color we discussed for better contrast */
  color: #333333; /* Dark gray color */
  text-decoration: none; /* Remove default underline */
  /* Optional: Add a hover effect */
  /*
  &:hover {
    color: #000000; // Even darker on hover
    text-decoration: underline; // Add underline on hover
  }
  */
  display: block; /* Makes the clickable area larger */
}

/* Styles for the active breadcrumb item (the current page) */
ol.breadcrumb.pages_breadcrumb li.breadcrumb-item.active, ol.breadcrumb.pages_breadcrumb li.breadcrumb-item a:hover {
  /* Change the color for the active item */
  color: #662d91; /* Example: Use the color from the computed styles or choose your own */
  font-weight: normal; /* Make the active item stand out */
  /* The active item is usually not a link, so 'color' applies directly to the text. */
}

/* Styles for separators (if implemented using ::before or ::after) */
/* You need to inspect your HTML/CSS to confirm how separators are added. */
/* If using ::before on subsequent list items: */
ol.breadcrumb.pages_breadcrumb li.breadcrumb-item + li.breadcrumb-item::before {
  content: '/'; /* Example: use a slash */
  padding-right: 8px; /* Space before the separator */
  padding-left: 8px; /* Space after the separator */
  color: #662d91; /* Color of the separator */
  /* display: inline-block; // May be needed depending on implementation */
}


/* begin Box, Post */
.art-post
{
  position: relative;
  margin: 0 auto;
  min-width: 1px;
  min-height: 1px;
}

.art-post-body
{
  position: relative;
  padding: 10px 20px 50px 20px;
}


.art-post
{
  margin: 0;
}

a img
{
  border: 0;
}

.art-article img, img.art-article
{
  border: solid 0 #B7A971;
  margin: 7px;
}

.art-metadata-icons img
{
  border: none;
  vertical-align: middle;
  margin: 2px;
}

.art-article table, table.art-article, .custom-article-block table, .Data table
{
  border-collapse: collapse;
  margin: 1px;
}

.art-article th, .art-article td, .custom-article-block th, .custom-article-block td, .Data th, .Data td
{
  padding: 3px 5px;
  border: solid 2px #fff;
  vertical-align: middle;
  text-align: left;
}

.art-article th, .custom-article-block th,.Data thead
{
  text-align: center;
  vertical-align: middle;
  padding: 7px;
}

pre
{
  overflow: auto;
  padding: 0.1em;
}

/* end Box, Post */


/* begin PostHeaderIcon */

h4.art-postheader
{
  color: #343932;
  margin: 5px 0 5px 0;
  float:right;
  width:50px;
  padding:2px 5px;
  background: #FFCC66;
  font-size:13px;
  font-weight: normal;
}

h4.art-postheader a:link
{
   color: #343932; text-decoration: none;font-size: 13px;
}


/* end PostHeaderIcon */
.Data p, .custom-article-block p{
  margin-bottom: 0px;
}

p.empty-paragraph {
  max-height: 10px;
  overflow: hidden;
  margin-bottom: 0px; 
}
#list_sidebar .box_list .wrapper {
  min-height: auto;

}
#list_sidebar .box_list
{
  min-height: auto;
}

#site-locales{margin-left: 20px;}
#site-locales .locale { float: left; height: 20px; font-size:10px; }
	#site-locales .locale a.flag { background-repeat:no-repeat; background-position: 0px 2px; line-height:16px; display: block; padding-left: 20px; margin-left: 0px; height: 30px; line-height: 30px;  color:#ccc }
	#site-locales .current a {text-decoration: underline;}
	#site-locales .locale a.flag.locale-gr { background-image:url(/admin/rs/adminUI/images/flags/gr.png); }
	#site-locales .locale a.flag.locale-en { background-image:url(/admin/rs/adminUI/images/flags/en.png); }
	#site-locales .locale a.flag.locale-de { background-image:url(/admin/rs/adminUI/images/flags/de.png); }



.autocomplete-box {
    border: 0px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 10;
    color:#0056b3;
    text-align: left;
}

.autocomplete-box div {
    padding: 8px 12px;
    cursor: pointer;
}

.autocomplete-box div:hover {
    background-color: #f0f0f0;
}


.info_tab{ border:1px solid #B4B3B3; padding: 0px; width:214px; float: right;margin: 3px 10px 3px 10px; border-radius: 6px 6px 0 0; font-size: 14px; line-height: 22px; color: #969494; font-weight: normal;}
.info_tab a:link { font-size: 14px; font-weight: normal; margin: 0; padding: 0; text-decoration: none;}
.info_tab img{margin: 0 3px 0 0; padding: 0 0 0 5px; float: left;}

.to_hide{display: none;}

.error,.notice,.success, .errorbox, .info, .user_notices{padding:.8em;margin-bottom:1em;border:1px solid #ddd; margin: 10px 0;clear: both;}
.error p,.notice p,.success p, .errorbox p, .info p, .user_notices p{margin: 0;}
.error, .errorbox{background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4}
.notice{background:#fff6bf;color:#514721;border-color:#ffd324}

.success{background:#e6efc2;color:#264409;border-color:#c6d880}
.error a{color:#8a1f11}
.notice a{color:#514721}
.success a{color:#264409}


/* ==== Custom Article Block Styling ==== */
.custom-article-block {

}

.custom-article-header {
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.custom-article-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  justify-content: space-between; /* This will push the items to the edges */
}

.custom-article-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
  color: #2a2a2a;
}

.custom-article-reference {
  background-color: #e6f0ff;
  color: #0a3d62;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.custom-article-reference a {
  color: inherit;
  text-decoration: none;
}
.custom-article-reference a:hover {
  text-decoration: underline;
}


.custom-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end; /* αυτό κάνει τη στοίχιση δεξιά */
  margin-top: 8px;
}


.custom-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: white;
}

.custom-badge-level {
  background-color: #f0a542;
}

.custom-badge-video {
  background-color: #3c91e6;
}

.custom-badge-exercise {
  background-color: #ba70a3;
}

.custom-btn-examples {
  background: none;
  border: 1px dashed #999;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #444;
  transition: all 0.2s ease;
}

.custom-btn-examples:hover {
  background-color: #f8f8f8;
}

.custom-examples-block {
  margin-top: 16px;
  padding-left: 10px;
  border-left: 3px solid #e0e0e0;
}

.custom-example {
  background-color: #eef6fa;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}


.custom-article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.custom-meta-left {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
}

.autocomplete-count {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    background: #f7f7f7;
    border-bottom: 1px solid #eee;
}

.autocomplete-item .counter {
    margin-right: 6px;
    color: #888;
}
