@media all and (max-width: 767px) {
    .js-scrolled.page-sticky .header-sticky {
      height: auto;
    }
}
.page-sticky .header-sticky {
    top: -150px;
}
@media all and (max-width: 767px) {
    .page-sticky .header-sticky {
        z-index: 1002;
    }
}
.js-scrolled.page-sticky .header-sticky {
    top:0;   
}
.modal .modal-dialog .modal-header .btn-close.icon::before {
    color: black;
}
.modal .modal-dialog .modal-header .btn-close:hover::before {
    color: #2850fa;
}
.modal-open .header-sticky {
    transition: .15s opacity linear;
    opacity:0; visibility: hidden;
}
@media (min-width: 1600px) {
  .col-xxxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
    .header .header__buttons .btn.btn--main-small {
        position: relative;
        right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .header .header__buttons .btn.btn--main-small {
        position: relative;
        right: 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .nav-bar.navbar-expand-xl {
    margin-left: 47px;
  }
  .header--bottom .btn--main {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }
  .header--bottom .nav-bar .nav-link { font-size: 14px; }
  /*.header--bottom .header__logo img { max-width: 180px; )*/
  .header__buttons .btn { min-width: auto; }
}
@media (min-width: 1400px) and (max-width: 1620px) {
  .nav-bar.navbar-expand-xl {
    margin-left: 47px;
  }
}

.header .nav-bar {
    position:relative;   
}
.bannerTop5 .bannerTop__image {
    box-shadow: unset !important;  
}
.bannerTop5 .bannerTop__image img {
    max-height: 400px;   
    object-fit: contain !important;
}
@media all and (min-width: 1024px) {
   .bannerTop5 .bannerTop__image img {
        max-height: 550px;   
    } 
}
@media all and (max-width:767px) {
    .contentLeftRightIcons .contentLeftRight__imageWrapper {
        overflow: hidden;
        grid-template-columns: repeat(2,1fr);
    }
}
.js-scrolled .header.sticky {
  position: sticky;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.border-20 { border-radius: 20px; }
.form--global .nice-select .current,
.breadcrumbContainer li:first-child a {
    color: #757575 !important;   
}

.card--content__themeCoral .card--content__categoryWrapper {
  border:1px solid #EB0037 !important;
}

.card--content__themeCoral .card--content__categoryWrapper span, 
.card--content__themeCoral .card--content__dateWrapper span {
    color: #EB0037 !important;
}

/* FIX FOR CHANNELS INTERNATIONAL SLIDER DO NOT REMOVE */
@media all and (max-width: 768px) {
    .pricingChannelsInt .swiper-wrapper .swiper-slide:first-child {
        display: none;   
    }
    .pricingChannelsInt .swiper-wrapper .swiper-slide:last-child {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    .pricingChannelsInt .swiper-wrapper .swiper-slide:last-child .card--features {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        text-align: left;
        justify-content: flex-start;        
    }
    .pricingChannelsInt .swiper-wrapper .swiper-slide:last-child .card--features .card--features__title {
        text-align: left;   
    }
}
/* END FIX */
.co-gray-light { color: rgba(91, 91, 91, .5); }
.co-prim { color: #2850FA; }

.textOnly img {
    object-fit:cover;
    max-width: 100%;
}
.textOnly .rte__body {
    overflow: hidden;   
}
.textOnly a {
    word-wrap: break-word;
    word-break: break-word;
    text-overflow: ellipsis;
    display: inline-block;
}

/* extra */
@media (min-width: 1620px) {
    #nav-home-tab,#nav-profile-tab,#nav-contact-tab,#nav-shortcodes-tab {
        padding-right: 60px;
        padding-left: 60px;
    }
}
#grNumber {
    margin-top:0;
}
.invalid-tooltip.checkboxToolTip {
    top: 22px;
    right: 60px;    
}
.invalid-tooltip.selectToolTip {
   right: 47px; 
}
#helpDeskSearch {
    color:#fff;
}
@media (max-width: 1024px) {
    .dropdown-menu.show {
        position: fixed!important;
        right: 1em!important;
        top: 0em!important;
    }
}

/*only for https://www.modulus.gr/timokatalogos/paketa-yphresiwn-vPBX/*/
@media (max-width: 992px) {
    .page-mmm .header-sticky {
        height: 120px;
        top: -140px;
    }
    .page-mmm.js-scrolled .header-sticky {
        top:0;   
    }
}

.bg-gray.mm-listitem--opened > .mm-listitem__btn, 
.bg-gray.mm-listitem--opened > .mm-panel {
    background-color: #efefef;   
}

.group-link-more a {
    color: #294FFB !important;
    font-family: AeonikPro-Bold,sans-serif !important;
    font-weight: 700 !important;    
    font-size: 14px !important;
    line-height: normal;    
}

.infoText {
    color:#5b5b5b80;
}
.infoText strong {
    font-weight:700;
}

/*fix for timokatalogos/eksatomikeymeni-voip-arithmodotisi/ */
.countrySelected__content .btn,.pricing-voip .btn-back{
    z-index:5;
    position:relative;
}

.collapsesCards form .infoText {
    margin-top: 20px;   
}
.collapsesCards #collapseThree form .g-recaptcha-wrapper {
    margin-top: 15px;   
}

.collapsesCards .inputskin--search .btn {
    top: 58px;   
}

@media all and (min-width: 1200px) {
    .collapsesCards .inputskin--search .btn {
        top: 55px;   
    }
}
@media all and (max-width: 767px) {
    .newsList .card--content {
        padding: 10px 10px 39px;
    }
    .newsList .card--content .card--content__title {
        transition: color .25s linear;   
    }
    .newsList .card--content:focus .card--content__title > *,
    .newsList .card--content:focus-visible .card--content__title > *,
    .newsList .card--content:active .card--content__title > *,
    .newsList .card--content:hover .card--content__title > * {
        color: #294ffb;
        text-decoration: underline;
    }
}

/* helpdesk */
.configurations .card--config__result-tag {
    color: #0A0928;   
}
/*Table of Contents*/
/* This fixes the "hidden under header" issue without JS */
[id^="0heading"], [id^="1heading"] {
    scroll-margin-top: 120px; 
}
.tableOfContents.hidden {
    visibility: hidden !important;   
}
.tableOfContents {
    border-radius: 20px;
    border: 1px solid #E1E1E1;
    padding: 55px 32px 51px 39px;
    top: 153px;
    margin-bottom: 60px;
}
@media all and (min-width: 1200px) {
    .tableOfContents {
        min-height: 300px;
    }
}
.tableOfContents ul {
    list-style-type: none;
}
.tableOfContents ul li {
    margin-bottom: 3px;
}
.tableOfContents ul li a {
    /*padding: 10px;*/
    position: relative;
    color: #0A0A2C;
    height: 100%;
    min-height: 50px;
    display: flex; align-items: center;
    border-radius: 117px;
}
.tableOfContents ul li a:before  {
    content: "";
    width: calc(100% + 25px);
    height: 100%;
    min-height: 50px;
    position: absolute;
    top:0;
    left: -20px;
    border-radius: 117px;    
}
.tableOfContents ul li a:hover  {
    color: #2750FB;   
}
.tableOfContents ul li a:hover:before {
    background: rgba(40, 80, 250, 0.05);   
}

.tableOfContents__mobileToggle {
    display: none; /* Hidden on desktop */
}

.tableOfContents__close {
    display: none; /* Hidden on desktop */
}

.tableOfContents__overlay {
    display: none; /* Hidden on desktop */
}

.tableOfContents__heading {
    display: flex;
    align-items: center;
}

.ml-10 {
    margin-left: 10px;
}

.mb-35 {
    margin-bottom: 35px;
}

/* Mobile styles (768px and below) */
@media (max-width: 768px) {
    .tableOfContents {
        position: fixed !important;
        top: 20px;
        padding:0;
        left: 12px;
        border: unset !important;
        z-index: 10;
        visibility: hidden;
        opacity: 0;
        z-index: 10000;
    }

    /* Mobile toggle button */
    .tableOfContents__mobileToggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 16px 22px;
        color: #0A0A2C;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 100px;
        border: 1px solid #2850FA;
        background: #FFF;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);        
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .tableOfContents__mobileToggle:hover {
        background: #f0f4ff;
    }
    .js-scrolled .tableOfContents { visibility: visible; opacity: 1;}
    .tableOfContents__mobileToggle svg {
        flex-shrink: 0;
    }

    /* Content container - hidden by default on mobile */
    .tableOfContents__content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        padding: 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .tableOfContents__content.active {
        transform: translateX(0);
    }

    /* Header with close button */
    .tableOfContents__header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .tableOfContents__heading {
        flex: 1;
    }

    /* Close button */
    .tableOfContents__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f5f5f5;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        flex-shrink: 0;
        margin-left: 15px;
        transition: background 0.3s ease;
        border-radius: 100px;
        border: 1px solid #2850FA;
        background: #FFF;        
    }

    .tableOfContents__close:hover {
        background: #e0e0e0;
    }

    .tableOfContents__close svg {
        width: 20px;
        height: 20px;
        color: #333;
    }

    /* Overlay */
    .tableOfContents__overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .tableOfContents__overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Enhanced list styling for mobile */
    .tableOfContents__list {
        padding-top: 10px;
    }

    .tableOfContents__list li {
        margin-bottom: 13px !important;
    }

    .tableOfContents__list a {
        display: block;
        padding: 12px 15px;
        border-radius: 117px;
        border: 1px solid #EDEDED;
        background: #FFF;        
    }

    .tableOfContents__list a:active {
        background: #e9ecef;
    }
}

.card--icon-text-image__tagArticleLink {
    color: #2850FA;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    height: 30px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 43px;
    border: 1px solid #2750FB;
    transition: color .15s linear, background .15s linear;
}
/*.card--icon-text-image__tagArticleLink:hover {*/
/*    background: #2850FA;*/
/*    color: white;*/
/*}*/
/* Prevent body scroll when modal is open */
body.toc-open {
    overflow: hidden;
}
.card--config__contentBottom {
    position: relative; z-index:5;   
}

/* Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 9px;
    border-radius: 20px;
    border: 1px solid rgba(10, 10, 44, 0.11);
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), url(<path-to-image>) lightgray -171.489px 0px / 159.011% 100% no-repeat;
    box-shadow: 0 4px 35px 0 rgba(10, 10, 44, 0.14);    
    padding: 5px;
}

.autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    height: 50px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    /*border-bottom: 1px solid #f0f0f0;*/
    font-size: 14px;
    color: rgba(10, 10, 44, 1);
    border-radius: 15px;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: rgba(238, 241, 255, 1);
    border: 1px solid rgba(39, 78, 245, 1);
}

.autocomplete-item strong {
    color: rgba(40, 80, 250, 1);
    font-weight: 600;
}

.autocomplete-no-results {
    padding: 16px;
    text-align: center;
    color: rgba(10, 10, 44, 1);
    font-size: 14px;
}

.autocomplete-loading {
    padding: 16px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Scrollbar Styling */
.autocomplete-results::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 8px 0;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.autocomplete-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .autocomplete-results {
        max-height: 250px;
    }
    
    .autocomplete-item {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/*end of table of contents - help desk */

/*WCAG */
.swiperTextCards .swiper-slide .card--white-text p {
    color: #757575 !important;   
}

.swiperTextCards .btn--trans {
    border-color: #0E39FB !important;
    background: #0E39FB !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .swiper .swiper-slide {
    opacity: 1 !important;
    transition: none !important;
  }
}

.bannerTop7-overflow { overflow: unset; }
.bannerTop7__search .inputskin :is(input, textarea, .nice-select) { color: white !important; }
.bannerTop7__search .input-search { font-family: AeonikPro,sans-serif !important; line-height: normal; }
@media (min-width: 992px) {
  .support-center-container .card--whiteLink {
    min-height: 350px;
  }
}
.equipmentBanner__nav ul li:first-child a{
    color:#2850fa;
}

@media all and (min-width: 1024px) and (max-height: 1200px) {
    .tableOfContents {
        padding: 35px 12px 31px 19px;
    }
    .tableOfContents__list {
        height: calc(100dvh - 340px);
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    /* Modern standard */
    .tableOfContents__list {
      scrollbar-width: thin;           /* auto | thin | none */
      scrollbar-color: rgba(40, 80, 250,.2) #f1f1f1;  /* thumb track */
      padding-right: 5px;
    }
    
    /* Chrome/Safari/Edge */
    .tableOfContents__list::-webkit-scrollbar { width: 8px; }
    .tableOfContents__list::-webkit-scrollbar-track { background: #f1f1f1; }
    .tableOfContents__list::-webkit-scrollbar-thumb { background: rgba(40, 80, 250,.2) border-radius: 4px; }        
}

/*integration cards - type with Image */
.bannerMain.sliderIconsText.withImage .card.card--white-text {
    transform: translateY(0);
    transition: transform .2s linear;
}
.bannerMain.sliderIconsText.withImage .card.card--white-text:hover { transform: translateY(-5px); }
.bannerMain.sliderIconsText.withImage .card.card--white-text .btn--trans:hover { opacity: .8 !important; }
.bannerMain.sliderIconsText.withImage .card--white-text { height: 100%; padding: 30px 20px 30px; justify-content: flex-start; }
.bannerMain.sliderIconsText.withImage .card--white-text__image { width : 100%; }
.bannerMain.sliderIconsText.withImage .card--white-text__wrapper   {
    height: 100%;
    display: flex;
    flex-direction: column;      
}
.bannerMain.sliderIconsText.withImage .card--white-text .btn {
    margin-top: auto !important;
}
.bannerMain.sliderIconsText.withImage .swiperTextCards .swiper-slide .card--white-text p {
    margin-bottom: 20px;   
}

@media screen and (min-width: 1200px) {
    .bannerMain.sliderIconsText.withImage .card--white-text {
        min-height: unset;
        padding: 40px 42px 20px 42px;
        justify-content: flex-start;
    }
    .bannerMain.sliderIconsText.withImage .card--white-text__wrapper   {
        height: 100%;
        display: flex;
        flex-direction: column;      
    }
    .bannerMain.sliderIconsText.withImage .card--white-text .btn {
        margin-top: auto !important;
    }
    .bannerMain.sliderIconsText.withImage .swiperTextCards .swiper-slide .card--white-text p {
        margin-bottom: 20px;   
    }
}

/*table single slider*/
.swiperTablesDetailedSkin .swiper-slide:not(:first-child) .card--features,
.swiperTablesDetailedSkin .swiper-slide:first-child .card--features {
  text-align: left !important;
  justify-content: flex-start  !important;
  padding-right: 75px;
}

/*table single articles*/
.tableSingleArticles .container .tableSingleArticles-container {
    background: #F0F2FE;
    padding: 13px;
    border-radius: 20px;
}
.tableSingleArticles .container .tableSingleArticles-container .card--features {
    border-radius: 15px;
    background: white;
}

.tableSingleArticles .container .tableSingleArticles-container .card--features:nth-child(2n+1) {
    background: #F0F2FE;
}

.tableSingleArticles .container .tableSingleArticles-container .card--features .card--features__title {
    padding: 17px;
    margin-left: 0;
}
.tableSingleArticles .container .tableSingleArticles-container .card--features .card--features__title .card__body p:not(:last-child) { margin-bottom: 10px; }
@media (min-width: 768px) {
  /* 1. Setup the main container */
  .tableSingleArticles .container .tableSingleArticles-container .card--features .card--features__title {
    display: flex; align-items: center;
  }

  /* 2. Target the first item inside the title container */
  .tableSingleArticles .container .tableSingleArticles-container .card--features .card--features__title > *:first-child {
    flex: 0 0 320px;    
    max-width: 320px; 
    word-break: break-word;
  }
}

/*slider comparison*/
.sliderComparison .card--pricingDetailed__wrapperEnd {
    display: block; visibility: visible; height: 100%; opacity: 1;   
}
.sliderComparison .card--pricingDetailed__wrapperEnd ul li { line-height: 13px; }
.sliderComparison .card--pricingDetailed__wrapperEnd ul li strong { font-weight: normal; }
.sliderComparison .card--pricingDetailed__wrapperEnd ul li:has(> strong)::before {
  content: "+"; width: 17px; height: 17px;
  background-image: none;
  display: flex; justify-content: center;
}
.sliderComparison .card--pricingDetailed__wrapperEnd ul li:not(:has(strong))::before {
  content: "-"; width: 17px; height: 17px;
  background-image: none;
  display: flex; justify-content: center;
  background: rgba(45, 103, 227, 0.41);
}

@media (max-width: 768px) {
  .swiperTablesDetailedSkin .swiper-slide .card--features:not(:first-child) .card--features__title {
    top:0;      
  }
}
/*swiper comparison*/
.swiperPricingCardsComparison .card--pricingDetailed__wrapperButtons {
    margin-top: auto !important;   
}
.swiperPricingCardsComparison .card--pricingDetailed__tag { max-width: fit-content; }
