.main-menu .navigation > li > a {
  font-size: 17px;
}

.main-menu .navigation > li {
  margin: 0px 10px;
}


.main-menu .navigation > li > ul > li > ul > li.dropdown > a::after {
  top: 0px !important;
}

.admin-menu-text {
  padding-left: 5px;
  color: #bfb4b4;
  border-bottom:1px solid #ccc;
  
}


/* Υποστήριξη για 4ο επίπεδο dropdown */
.main-menu .navigation > li > ul > li > ul > li > ul {
  position: absolute;
  left: 100%;
  top: 10px;
  margin-left: 10px;
  margin-top: 15px;
  width: 240px;
  z-index: 100;
  display: none;
  padding: 18px 0px;
  background: #16436f;
  transition: all 500ms ease;
}

.main-menu .navigation > li > ul > li > ul > li > ul > li {
  padding: 6px 30px;
}

.main-menu .navigation > li > ul > li > ul > li > ul > li > a {
  display: block;
  font-size: 15px;
  font-family: 'Saira', sans-serif;
  color: #fff;
  text-transform: uppercase;
  transition: all 500ms ease;
}

.main-menu .navigation > li > ul > li > ul > li > ul > li.dropdown > a::after {
  font-family: 'Font Awesome 6 Free';
  content: "\f105"; /* fa-angle-right */
  position: absolute;
  right: 10px;
  top: 12px;
  font-size: 16px;
  font-weight: 900;
  z-index: 5;
}

.main-menu .navigation > li > ul > li > ul > li > ul:before{
  position: absolute;
  content: '';
  left: -10px;
  top: 0px;
  width: 10px;
  height: 100%;
}

/* Εμφάνιση όταν γίνεται hover */
.main-menu .navigation > li > ul > li > ul > li.dropdown:hover > ul {
  display: block;
  opacity: 1;
  margin-top: 0;
}
/**********************************/

/* Υποστήριξη για 5ο επίπεδο dropdown */
.main-menu .navigation > li > ul > li > ul > li > ul > li > ul{
  position: absolute;
  left: 100%;
  top: 12px;
  margin-left: 10px;
  margin-top: 15px;
  width: 240px;
  z-index: 100;
  display: none;
  padding: 18px 0px;
  background: #16436f;
  transition: all 500ms ease;
}

.main-menu .navigation > li > ul > li > ul > li > ul > li > ul > li {
  padding: 6px 30px;
}

.main-menu .navigation > li > ul > li > ul > li > ul > li > ul> li > a {
  display: block;
  font-size: 15px;
  font-family: 'Saira', sans-serif;
  color: #fff;
  text-transform: uppercase;
  transition: all 500ms ease;
}

.main-menu .navigation > li > ul > li > ul > li > ul> li > ul > li.dropdown > a::after {
  font-family: 'Font Awesome 6 Free';
  content: "\f105"; /* fa-angle-right */
  position: absolute;
  right: 20px;
  top: 0px;
  font-size: 16px;
  font-weight: 900;
  z-index: 5;
}

.main-menu .navigation > li > ul > li > ul > li > ul> li > ul:before{
  position: absolute;
  content: '';
  left: -10px;
  top: 0px;
  width: 10px;
  height: 100%;
}

/* Εμφάνιση όταν γίνεται hover */
.main-menu .navigation > li > ul > li > ul > li > ul > li.dropdown:hover > ul {
  display: block;
  opacity: 1;
  margin-top: 0;
}

.main-menu .navigation > li > ul > li > ul > li > ul > li > a:hover::before {
  opacity: 1;
}
.main-menu .navigation > li > ul > li > ul > li > ul > li > a::before {
  position: relative;
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: -9px;
  top: 0px;
  opacity: 0;
  transition: all 500ms ease;
  display: inline-block;
}
.main-menu .navigation > li > ul > li > ul > li > ul > li > a::before {
  border: 2px solid #10b1b4;
}
.main-menu .navigation > li > ul > li > ul > li > ul > li > a:hover {
  padding-left: 18px;
  color: #10b1b4;
}


/**********************************/

.banner-carousel .content-box{
  max-width: 90%;
}

/* About Us image */
.about-section .image-box .text {
  width: 140px;
  height: 140px;
}

.page-title {
  padding: 250px 0px 22px 0px;
}

.main-footer .widget-section {
  padding: 114px 0px 30px 0px;
}



/* Floating Join Button */
#sidenav a {
  position: fixed; /* Position them relative to the browser window */
  left: -180px; /* Position them outside of the screen */
  transition: 0.3s; /* Add transition on hover */
  padding: 15px; /* 15px padding */
  padding-right:10px;
  width: 220px; /* Set a specific width */
  text-decoration: none; /* Remove underline */
  font-size: 20px; /* Increase font size */
  color: white; /* White text color */
  border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
  z-index: 1000;
}

#sidenav a:hover {
  left: 0;
  width: 190px;
  .tease {
    display: none;
  }
}

#join {
  top: 50%;
  background-color: #04AA6D;
}

.tease {
  display: block;
  float: right;
  margin-right: -10px;
  transition: 0.3s;
}

.rotate {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.header-top .social-links li a {
  font-size: 28px;
  color: #f5ecb9;
  margin-right: -5px;
  margin-top: -10px;   
}

.header-top .social-links li a.bluesky {
   font-size: 25px !important;
}

.privacy-page {
   ul, li {
     list-style: disc;
     margin-left: 15px;
   }
   p {
     margin-top: 5px;
   }
}

/* Floating Chat Button */
#chatnav {
  position: fixed;
  background: #50DD4C;
  right: 130px; 
  bottom: 30px;
  transition: 0.3s; 
  padding: 10px; 
  width: 50px; 
  text-decoration: none; 
  color: white; 
  border-radius: 5px; 
  z-index: 1000;
  i {
    color: white;
  }
  a {
    font-size: 22pt;
  }
}

/* WG Subleaders */
.service-sidebar .sidebar-banner.wg-subleaders .row .inner-box .image-box .icon-box {
  width: 20px !important;
  height: 20px;
  font-size: 30px;
  line-height: 60px;
  
  .flaticon-estimation {
    margin-left: 15px;
  }
}

.service-sidebar .sidebar-banner.wg-subleaders .row .image-box .icon-box::before {
  width: 60px;
  height: 50px;
}

.wg-subleaders .row .inner-box {
  border-right:1px solid white;
  border-top:1px solid white;
}

.wg-yrileaders {
  margin-top: -30px;
}



/* Events page */ 
.event-buttons {
  padding-bottom: 60px;
  .col {
    float: left;
    width: 31%;
    margin-right: 10px;
    margin-bottom: 5px;
  }
  .theme-btn {
    width: 100%
  }    
}


/* Members Management Table */
.service-page-section.members {
  padding-top: 50px;
}

.table.members {
  font-size: 14px !important;
  img {
    max-width: 100px;
    border-radius: 10px;
    display: block;
  }
  td.action {
    width: 40px;
  }
  td.action a {
    font-size: 18px;
    color: grey;
    border: 1px solid gray;
    padding: 3px;
    border-radius: 5px;
  }
  td.action a:hover {
    color: black;
    background: #ccc;
  } 
}

.table.registrants {
  font-size: 15px !important;
}

.pagination .page-item a {
  font-size: 14px;
  line-height: 25px;
  height: 35px;
}
.page-item:not(:first-child) .page-link
{
  margin-left: -4px;
}

/* News */
.isnextgen {
  color: #036a03;
  font-style: italic;
  font-weight: bold;
}

#cke_notifications_area_ckeditor,
#cke_notifications_area_ckeditor_footer,
#cke_notifications_area_desc,
#cke_notifications_area_body {
  display: none !important;
}

/* Static Info Pages */
.static-page {
  padding-bottom: 150px;
}

img.multimedia-icon {
  width: 45px;
  margin-top: 10px;
}
.mobility-item {
  h4 {
    background: aliceblue;
    padding: 5px;
  }
  margin-top: 20px;
  padding-top: 10px;
}

.dissemination-item {
  margin-top: 5px;
  margin-bottom: 40px;
  border-right: 2px dotted #dbd3d3;
}

.dissemination a {
  font-size: 55px;
  color: #373734;
}
.dissemination a.envelope {
  font-size: 50px;
}

.registries-image img {
  border: 5px solid #f2f0f0;
}

 
/* Patient videos Carousel */
.carousel-item iframe {
   height: 100% !important;
}
.carousel-video-container {
   padding: 0px 120px 50px 120px;
   display: block;
   width: 100%;
   height: 500px;
}

/* Brand Identity */
.identity-page {
  .row {
    font-size: 16px;
  }
  .col-md {
    border:1px solid #ccc;
    border-radius: 20px;
    margin: 10px;
    padding: 10px;
    img {
      max-height: 140px;
      display: flex;
      margin: auto;
      margin-bottom: 20px;
    }
  }
}

/* Google Map */
.service-page-section .google-map {
  width: 100%;
  height: 640px;
  max-width: 980px;
  margin: auto;
  
}



/* Nice-Selectors */
.nice-select {
  border: 1px solid #ccc;
  padding: 3px 35px 2px 5px;
  color: #1c3b77;
}
.nice-select::after {
  top: 10px;
  right: 3px;
}

.nice-select.open .list {
   max-height: 200px;
   overflow-y: scroll;
}

.selectivity-input {
  width: 100%;
}


.category-label {
  display: block;
}


/* Patients Brochures */
.brochure-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 320px;
  margin-top: 20px;
    
}
.brochure-main {
  position: relative;
  z-index: 0;
  cursor: pointer;
  transition: transform 0.3s;
  top: 0px;
  margin-bottom: 15px;
}
.brochure-main img,
.translation-layer img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.brochure-stack:hover .brochure-main {
  transform: scale(1.05);
}
.translation-layer {
  position: absolute;
  top: 20px;
  z-index: 1;
  width: 200px;
  opacity: 0.9;
  filter: blur(1px);
  transform: scale(0.95);
  transition: all 0.3s ease;
}
/*
.translation-layer:nth-child(2) { top: 260px; z-index: 12; transform: translate(7px);  }
.translation-layer:nth-child(3) { top: 230px; z-index: 11;  transform: translate(14px); }
.translation-layer:nth-child(4) { top: 200px; z-index: 10;  transform: translate(21px); }
.translation-layer:nth-child(5) { top: 170px; z-index: 9;  transform: translate(28px); }
.translation-layer:nth-child(6) { top: 140px; z-index: 8;  transform: translate(35px); }
.translation-layer:nth-child(7) { top: 110px; z-index: 7;  transform: translate(42px); }
.translation-layer:nth-child(8) { top: 80px; z-index: 6;  transform: translate(49px); }
.translation-layer:nth-child(9) { top: 50px; z-index: 5;  transform: translate(56px); }
.translation-layer:nth-child(10) { top: 20px; z-index: 4;  transform: translate(63px); }
.translation-layer:nth-child(11) { top: -10px; z-index: 3;  transform: translate(70px); }
.translation-layer:nth-child(12) { top: -40px; z-index: 2;  transform: translate(77px); }
*/

.brochure-stack .translation-layer:hover {
  opacity: 0.9;
  filter: blur(0px);
  transform: scale(1.1);
  z-index: 21;
  cursor: pointer;
}
.translation-label {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(255, 255, 255, 1);
  color: #000;
  font-weight: bold;
  border-radius: 4px;
  font-size: 0.85rem;
  padding: 0px 5px 0px 5px;
  border: 1px solid #dbdada;
}

  
/* Scrolling Top text effect */
/* for Firefox */
@-moz-keyframes my-animation {
  from { -moz-transform: translateX(-100%); }
  to { -moz-transform: translateX(100%); }
}
/* for Chrome */
@-webkit-keyframes my-animation {
  from { -webkit-transform: translateX(-100%); }
  to { -webkit-transform: translateX(100%); }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  to {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.scroll-container {
  overflow: hidden;
}
.scroll-text {
  text-align: right;

  /* animation properties */
  -moz-transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  
  -moz-animation: my-animation 25s linear infinite;
  -webkit-animation: my-animation 25s linear infinite;
  animation: my-animation 25s linear infinite;
}


.registration-form h4,
.member-form h4 {
  margin-top: 20px !important;
  margin-bottom: 10px;
  border-bottom: 1px dotted black;
}

.form-control::placeholder
{
  color: #b6bbbf;
}

table.repository {
  .title {
  	color: #137AC1;
  }
  .detail {
    	color: #52845B;
  }
  .abstract {
  	font-size: 0.9em;
  	line-height: 1.3em;
  	margin-top: 10px;
  }	
}

table.repository-meeting {
  td h2 {
    	margin-top: 30px;
  	margin-bottom: 10px;
  	font-weight: bold;
  }	
}

table.repository .funded {
  font-size: 0.8em;
  color: #bd4d17;
  font-style: italic;
  font-weight: bold;
  img {
    width: 90px;
  }
}



/* Calendar */
.fc {
  font-size: 0.8em !important;
}

/*div.fc-event-title{
  white-space: normal;
}*/

/*.fc .fc-multimonth-multicol .fc-daygrid-more-link {
  background: red;
  color: white;
}*/

.fc-view {
  border: none !important;
}

.fc-listYear-view.fc-view.fc-list {
    font-size: 1.3em !important; 
}	
  
.fc-list-table {
  .fc-event:hover {
    color: blue;
  }
  td.fc-list-event-title {
    width: 100%;
  }
  .calendar {
    background-color: #419b68;
}


table.sessions {
  font-size: 16px;
  td {
    line-height: 1.2em;
  }
}

