/*top padding for blog title not under header top*/
@media only screen and (max-width: 414px) {
	#eb .eb-brand {
 		 margin: 35px 0 10px;
		}
	html .gkMainbodyInner {
          padding: 80px 24px 24px;
	}
}
#eb .eb-brand {
  margin: 35px 0 10px;
}
#eb .eb-showcase-indicators > li, #eb .eb-showcase-indicators > li.active {
  height: 4px;
  width: 15px;
  margin: 15px 3px 0;
}
/* ---- end ---- */
.centered-module-content {
	text-align: center;
	margin-left: 10px;
    margin-right: 10px;
	display: block;
	max-width: 90%;
}
.box li a, .box li .separator {
  padding: 0;
}
.extra-padding {
    padding: 10px;
}
#gkBtn a {
  padding: 0 5px;
}
#es .o-media {
    margin-top: 12px;
    margin-bottom: 10px;
}
#gkContent {
    width: 80%;
}
@media only screen and (max-width: 600px) {
  #eb .eb-brand-name {
    font-size: 25px;
	}
}
/* Sticky Mobile Header Behavior */
@media screen and (max-width: 767px) {
  .gkHeaderTop {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
  }

  .gkHeaderTop.hidden {
    transform: translateY(-100%);
  }
}

/* TABS Content shadow*/
/* shadow on content tab scrolling */

.gkTabsContainer {
    box-shadow: inset 0 6px 6px -6px rgba(0, 0, 0, 0.2), inset 0 -6px 6px -6px rgba(0, 0, 0, 0.2);
}

/* End shadow */

/* light grey active tab */
.gkTabsNav li.active, .gkTabsNav li.active:hover {
  background-color: #f0f0f1;
  border-bottom-color: #f0f0f1;
  border-bottom: 4px;
  z-index: 1000;
}
.gkTabsContainer {
  background-color: #f0f0f1;
}
#es .mod-card__context {
  background-color: white;
}

/* Parent wrapper */
.gkTabsGK5Container {
  position: relative;
  overflow: hidden;  /* Hide overflow but allow inner scroll */
}

/* Scrollable tab area */
.gkTabsGK5Wrap {
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;  /* Hide scrollbar in IE */
  scrollbar-width: none;     /* Hide scrollbar in Firefox */
}
.gkTabsGK5Wrap::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome/Safari */
}

/* Gradient fade right */
.gkTabsGK5Container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.25), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

/* Gradient fade left */
.gkTabsGK5Container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

/* Show gradients when scrollable */
.gkTabsGK5Container.show-left::before { opacity: 1; }
.gkTabsGK5Container.show-right::after { opacity: 1; }

/* Arrow icons only */
.gkTabsGK5Container .scroll-left-btn,
.gkTabsGK5Container .scroll-right-btn {
  position: absolute; /* position relative to container */
  top: 40%; /* vertical center */
  transform: translateY(-40%); /* adjust for true center */
  background: transparent !important; 
  color: #fff; 
  font-weight: bold; 
  font-size: 30px; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
 /* padding: 6px 8px; */
  border: none; 
  z-index: 10; /* make sure arrows are on top */
}

/* Position left and right arrows */
.gkTabsGK5Container .scroll-left-btn {
  left: 5px; /* distance from left edge */
}

.gkTabsGK5Container .scroll-right-btn {
  right: 5px; /* distance from right edge */
}

/* Optional hover effect */
.gkTabsGK5Container .scroll-left-btn:hover,
.gkTabsGK5Container .scroll-right-btn:hover {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); 
  color: #fff; 
}

/* end arrow buttons */

/* Left & right positions */
.gkTabsGK5Container .scroll-left-btn { left: 5px; }
.gkTabsGK5Container .scroll-right-btn { right: 5px; }

/* Show arrows only when needed */
.gkTabsGK5Container.show-left .scroll-left-btn { opacity: 1; }
.gkTabsGK5Container.show-right .scroll-right-btn { opacity: 1; }

.gkTabsGK5Container .scroll-left-btn:hover,
.gkTabsGK5Container .scroll-right-btn:hover {
  background: rgba(0,0,0,0.6);
}

/* Prevent text selecting while dragging */
.gkTabsGK5Wrap,
.gkTabsNav,
.gkTabsNav li,
.gkTabsNav li span {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}


/* end scrolling tabs in GK TABS */

/* modificare la ES dropdown hight 64 de la dropdown menu */
/* Original Button/Link Style for the Main Button inside #gkBtn */
#gkBtn > a {
  height: 64px;
  line-height: 64px;
  color: #F75A38;
  font-size: 13px;
  font-weight: bold;
  padding: 0 24px;
  text-transform: uppercase;
  font-family: 'Overpass', sans-serif;
}

/* Fix for <li> and <a> in the dropdown */
#gkBtn ul li,
#gkBtn .dropdown-menu li {
  height: auto;          /* Remove the inherited height */
  line-height: normal;    /* Set a normal line-height for <li> */
  padding: 0;            /* Remove padding from <li> */
}

#gkBtn ul li a,
#gkBtn .dropdown-menu li a {
  height: auto;          /* Override the fixed height from parent */
  line-height: normal;   /* Set line-height to normal */
  padding: 10px 20px;    /* Adjust padding for dropdown items */
  font-size: 14px;       /* Adjust font size for dropdown items */
  text-transform: none;  /* Remove text transformation for dropdown */
  font-weight: normal;   /* Optional: Remove bold for dropdown */
}

/* end modificare la dropdown ES ------ */

/* modificare notifications like gkSocial ---- */
/* Apply styles specifically to .o-nav inside #es */

#es .mod-es-menu-bar .o-nav {
    display: flex;
    align-items: center;      /* Vertically center items */
    flex-wrap: wrap;          /* Allow items to wrap if needed */
}

#es .mod-es-menu-bar .o-nav__item {
    flex: 0 0 auto;           /* Prevent items from shrinking */
    margin-right: 2px;
    padding: 0 4px;
    height: 38px;
    line-height: 38px;
    border: 1px solid #EAEAEA;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    color: #F75A38;
    font-family: 'Overpass', sans-serif;
}
#es .mod-es-menu-bar__icon-link {
  padding: 0 8px;
}

/* end modificare */
/* problema scroll butoane la modulul de postaRE */
#es .es-story-panel-buttons {
  position: relative;
  z-index: 2;
  color: #666;
  padding: 2px 0 8px;
  display: flex;
  overflow-x: auto; /* ✅ Enables horizontal scrolling when needed */
  white-space: nowrap; /* ✅ Prevents buttons from wrapping */
  scrollbar-width: thin; /* ✅ Makes scrollbar thinner */
}

/* Ensure buttons stay inline and don't wrap */
#es .es-story-panel-button {
  flex: 0 0 auto; /* ✅ Prevents shrinking */
  margin-right: 8px; /* ✅ Adds spacing between buttons */
}

/* Optional: Hide scrollbar but keep scrolling */
#es .es-story-panel-buttons::-webkit-scrollbar {
  height: 5px; /* ✅ Set scrollbar height */
}

#es .es-story-panel-buttons::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2); /* ✅ Scrollbar color */
  border-radius: 10px;
}
/*scris butoane alb */
#es .es-story-panel-button i {
  color: white;
}
/*text in formular input LOGIN*/
#es .o-form-group--float .o-control-label {
    top: 7px;
	font-size: 10px;
}
#es .o-form-group--float.is-focused .o-control-label {
    top: 5px;
	color: #0000002e;
	font-size: 8px;
}
#es .o-form-group--float.is-filled .o-control-label, #es .o-form-group--float.is-focused .o-control-label {
  top: 5px;
  left: 16px;
  font-size: 8px;
}
#es .o-form-group--float .o-form-control {
  height: 40px;
}
#fd .o-form-control {
	height: 40px;
}
#fd .o-form-group--ifta .o-form-label {
	top: 3px;
  left: 16px;
  font-size: 10px;
}
#fd .o-form-group--ifta.is-focused .o-form-label {
    top: 0px;
	color: #0000002e;
	font-size: 8px;
}
/*post-types alignment*/
#es .es-stream-filter-bar__cell:not(:first-child) {
  margin-top: 10px;
}
/* Removes border and outline from EasySocial story toggle */
#es .is-story-selection .es-story-avatar-popbox-toggle {
  border: none !important;
}

/* search and pen flashing 
/* Initially hide both icons */
/*#gkSearch .fa-search,
#gkSearch .fa-pen {
  visibility: hidden;
}*/

/* Flashing search/post icons effect */
.fa.fa-pen {
  animation: flash-red-black 1s infinite;
}

@keyframes flash-red-black {
  0%, 100% {
    color: red;
  }
  50% {
    color: black;
  }
}

.fa.fa-search {
  animation: flash-red-black 1s infinite;
}

@keyframes flash-red-black {
  0%, 100% {
    color: red;
  }
  50% {
    color: black;
  }
}
/* end FLASHING icons */

/* custom for quickpost */
#gkQuickPost {
  border-left: 1px solid #EAEAEA;
  padding: 0 15px;
  height: 64px;
  line-height: 64px;
  min-width: 64px;
  text-align: center;
  cursor: pointer;
}

#quickPostModal .btn-close {
  padding: 12px;
  line-height: 1;
}

#quickPostModal .btn-close:after {
  display: none;
}

#quickPostModal {
  max-width: 900px;
  margin-left: 0;
  transform: translateX(-50%);
  left: 50%;
  padding: 0!important;
  width: 90%;
  top: 10%;
  height: auto;
}

#quickPostModal .modal-title {
  margin: 0;
  font-size: 16px;
}

#quickPostModal .modal-body {
  padding: 15px;
}
/* MENU custom style */
#gkHeaderNav .gkMainMenu .gkmenu.level0 > li {
  padding: 5px 0;
}
#gkHeaderNav .gkMainMenu .gkmenu.level0 > li > a.haschild::after, #gkHeaderNav .gkMainMenu .gkmenu.level0 > li > span.haschild::after {
  padding-left: 2px;
}
#gkHeaderNav .gkMainMenu .gkmenu > li div.childcontent li {
  font-size: 0.7rem;
}
/* end MENU */
/*cookie*/
.cc-trigger.cc-trigger-handle svg {
  height: .3rem;
}
.n3tcc--loaded .cc-trigger {
  font-size: small;
}