@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@font-face {
    font-family: 'ModGroteskStandardRegular';
    src: url('assets/fonts/ModGroteskStandard-Regular.otf') format('opentype');
}
@font-face {
    font-family: 'ModGroteskStandardMedium';
    src: url('assets/fonts/ModGroteskStandard-Medium.otf') format('opentype');
}
@font-face {
    font-family: 'ModGroteskStandardBold';
    src: url('assets/fonts/ModGroteskStandard-Bold.otf') format('opentype');
}

:root{
    --primary:#0018eb;
    --accent:#00AF66;
    --epexigisiColor:#0018eb;
    --bgcolor: #EEEEEE;
}

html,body{
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body{
    /* font-family: "Didact Gothic", sans-serif; */
    font-family: 'ModGroteskStandardRegular';
    /* font-family: "Manrope", sans-serif; */
    background: var(--bgcolor);
}


/* ΕΠΕΞΗΓΗΣΗ ΛΟΓΑΡΙΣΜΟΥ */

.bill-point span {
    position: relative;
    display: block;
    width: 18px;
    border-radius: 100%;
    aspect-ratio: 1;
    background: var(--epexigisiColor);
    z-index: 0;
}

.bill-point span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid var(--epexigisiColor);
    opacity: 0.6;
    aspect-ratio: 1;
    width: calc(100% + 15px);
    border-radius: 100%;
    z-index: -1;
}

.bill-slider .splide__pagination {
    position: static;
    margin-top: 40px;
}

.bill-slider .splide__pagination__page.is-active {
    background: var(--primary);
    transform: none;
    opacity: 1;
}

.bill-slider .splide__pagination__page {
    opacity: 1;
    width: 12px;
    height: 12px;
}

.bill-slider .splide__arrow {
    background: white;
    opacity: 1;
    width: 3em;
    height: 3em;
    transition: all 0.3s ease-out;
}

.bill-slider .splide__arrow svg * {
    transition: all 0.3s ease-out;
    fill: var(--primary);
}

.bill-slider .splide__arrow:hover svg * {
    fill: white;
}

.bill-slider .splide__arrow:hover {
    background: var(--primary);
}

.bill-slider .splide__arrow--next {
    right: -5em;
}

.bill-slider .splide__arrow--prev {
    left: -5em;
}

.tooltip-content {
    background: var(--epexigisiColor);
    margin: -5px -9px;
    padding: 20px;
}

.tippy-box[data-theme~='blue'] {
    background-color: var(--epexigisiColor);
    color: white;
}

.tippy-box[data-theme~='blue'] .tippy-arrow {
    color: var(--epexigisiColor);
}

.mobile-trigger {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
}

.mobile-trigger span {
    display: block;
    position: relative;
    transition: all 0.3s ease-out;
    width: 100%;
    border-bottom: 2px solid var(--primary_black);
}

.mobile-trigger span:before {
    content: "";
    transition: all 0.3s ease-out;
    position: absolute;
    margin-top: -6px;
    left: 0;
    width: 100%;
    border-bottom: 2px solid var(--primary_black);
    display: block;
}

.mobile-trigger span:after {
    content: "";
    transition: all 0.3s ease-out;
    position: absolute;
    margin-top: 6px;
    left: 0;
    width: 100%;
    border-bottom: 2px solid var(--primary_black);
    display: block;
}

.mobile-trigger.close span {
    border-color: transparent;
}

.mobile-trigger.close span:before {
    margin: 0;
    transform: rotate(45deg);
}

.mobile-trigger.close span:after {
    margin: 0;
    transform: rotate(-45deg);
}

.bill-tabs a {
    transition: all 0.3s ease-out;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    display: block;
    padding: 1.4rem;
    position: relative;
}

.bill-tabs a.active {
    background: var(--activeTabColor);
}

.bill-tabs a:before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    background: var(--epexigisiColor);
    height: 2px;
    width: 100%;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.bill-tabs a.active:before {
    opacity: 1;
}

.bill-tabs a:not(.active):hover {
    color: var(--epexigisiColor);
}

.bill-tabs a:not(.active):hover:before {
    opacity: 1;
}

.blue-icon-hover svg * {
    transition: all 0.3s ease-out
}

.blue-icon-hover:hover svg * {
    fill: var(--primary) !important;
}

.blue-image{
    filter: brightness(0) saturate(100%) invert(9%) sepia(90%) saturate(6431%) hue-rotate(239deg) brightness(101%) contrast(127%);
}

/* ΕΠΕΞΗΓΗΣΗ ΛΟΓΑΡΙΣΜΟΥ */


@media (hover: hover){
  .main-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;

    &:before {
        content: "";
        position: absolute;
        left: 0;
        width: 0;
        height: 100%;
        z-index: -1;
        top: 0;
        background: linear-gradient(90deg, var(--primary) 70%, var(--accent));
        border-radius: 60px;
        transition: all 0.4s ease-out;
    }

    &:hover:before {
        width: 100%;
    }
}

    .support-component {
    &:hover {
        img {
            filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(6%) hue-rotate(31deg) brightness(103%) contrast(102%);
        }
    }
}


}

.main-btn-wrapper:hover .main-btn:not(.main-btn-no-hover):before {
    width: 100%;
}

.main-btn.main-white {
    &:before {
        background: white;
    }
}

.main-btn.secondary {
    &:before {
        background: linear-gradient(90deg, #007b48, var(--accent));
    }
}

.support-component {
    &:hover {
        .main-btn:before {
            width: 100%;
        }
    }
}

.my-on-popup {
    &:before {
        content: "";
        background: white;
        border-radius: 1rem;
        z-index: -1;
        position: absolute;
        inset-inline: 0;
        top: 20px;
        bottom: 0;
        border: 1px solid rgba(0 0 0 /10%);
    }
}

@media(hover:hover){
.hover-white:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(2%) hue-rotate(235deg) brightness(108%) contrast(101%);
}
}



.help-component {
    &:before {
        content: "";
        position: absolute;
        inset-inline: 0;
        background: var(--accent);
        bottom: 0;
        top: 20px;
        border-radius: 1rem;
        z-index: -1;
    }
}

.main-tabs{
    button{
        position: relative;
        padding-bottom: 0.8rem;

        &:before{
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            height: 4px;
            background: var(--accent);
            transition: all 0.3s ease-out;
            width: 0;
        }

        &:hover:before{
            width: 100%;
        }
    }

    button.active{
        &:before{
            width: 100%;
        }
    }
}



.splide__arrow{
    background: var(--primary);
    width: 60px;
    height: auto;
    aspect-ratio: 1;
    z-index: 3;
    opacity: 1;
    transition: all 0.3s ease-out;

    svg{
        *{
            fill: white;
            transition: all 0.3s ease-out;
        }
    }

    &:hover{
        background: var(--accent);

        svg{
            *{
                fill: white;
            }
        }
    }
}

.main-categories-slider{

    padding-inline: 85px;

    .splide__arrow--prev{
        left: 0;
    }
    .splide__arrow--next{
        right: 0;
    }
}
.white-image{
    filter: brightness(0) saturate(100%) invert(100%) sepia(96%) saturate(13%) hue-rotate(229deg) brightness(104%) contrast(100%);
}

.accordion{
    .accordion-title{
        width: 100%;
        display: flex;
        background: white;
        align-items: center;
        justify-content: space-between;
        gap: 1.2rem;
        padding: 0.6rem;
        padding-right: 1.3rem;
        font-weight: 600;
        transition: all 0.3s ease-out;

        &:hover{
            background: var(--primary);
            color: white;
        }
    }
    .accordion-content{
        padding: 1rem;
        display: none;
        font-size: 1.1rem;
        margin:0 !important;

        ul{
            list-style-type: disc;
            margin-left: 1.8rem;
        }

        ol{
            list-style-type: decimal;
            margin-left: 1.8rem;
        }
    }
}

.accordion.active{
    .accordion-title{
        background: var(--primary);
        color: white;

        span{
            transform: rotate(180deg);
        }
    }
}

.useful-slider{
    a{
        position: relative;
        z-index: 1;

        &:before{
            content: "";
            width: 120%;
            aspect-ratio: 1;
            background: var(--accent);
            border-radius: 100%;
            position: absolute;
            bottom: 0;
            left: 50%;
            transition: all 0.5s ease-out;
            transform: translateX(-50%) translateY(70%) scale(0);
            z-index: -1;
        }

        &:hover:before{
            transform: translateX(-50%) translateY(70%) scale(2.2);
        }

        &:hover{
            .use-icon{
                color: white;
            }
            img{
                filter: brightness(0) saturate(100%) invert(100%) sepia(96%) saturate(13%) hue-rotate(229deg) brightness(104%) contrast(100%);
            }
        }

        img{
            filter: brightness(0) saturate(100%) invert(54%) sepia(47%) saturate(5314%) hue-rotate(126deg) brightness(93%) contrast(101%);
            transition: all 0.3s ease-out;
        }
    }
    .use-icon{
        font-size: 3.5rem;
        color: var(--accent);
        transition: all 0.5s ease-out;
    }
}

.home-grid{
    a{
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        font-weight: 900;
        padding: 2rem;
        overflow: hidden;
        box-shadow: inset 0 0 0 0 var(--primary);
        transition: all 0.3s ease-out;
        z-index: 1;
        position: relative;

        

        &:hover{
            background: #D6D8EE;
            span,img{
                transform: scale(1.1);
            }
        }

        /* &:hover{
            box-shadow: inset 0 0 0 5px var(--primary);
        } */

        span{
            font-size: 3rem;
            color: var(--accent);
            transition: all 0.3s ease-out;
            margin-right: auto;
        }

        img{
            height: 60px;
            width: 60px;
            transition: transform 0.3s ease-out;
            filter: brightness(0) saturate(100%) invert(50%) sepia(48%) saturate(2729%) hue-rotate(122deg) brightness(89%) contrast(101%);
        }

        p{
            display: flex;
            align-items: center;
            gap: 0.2rem;

            span{
                color: black;
                font-size: 1rem;
            }
        }
    }
}

.footer-info-links{
    a{
        span{
            font-size: 1.7rem;
        }

        p{
            position: relative;

            &:before{
            content: "";
            width: 0;
            height: 2px;
            background: white;
            position: absolute;
            bottom: 0;
            left: 0;
            transition: all 0.3s ease-out;
        }
        }

        

        &:hover{

            p:before{

                width: 100%;
            }
        }
    }
}

.breadcrumb_last{
    color: var(--primary);
    max-width: 400px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}
#breadcrumbs > span{
    display: flex;
    column-gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.category-head{
    img{
        filter: brightness(0) saturate(100%) invert(100%) sepia(96%) saturate(13%) hue-rotate(229deg) brightness(104%) contrast(100%);
    }
}

.pattern-container{
    position: relative;
    z-index: 1;

    &:before{
        content: "";
        width: 60%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        /*background-image: url('Blue-Stripes.svg');*/
        background-repeat: repeat-y;
        background-size: 100%;
        z-index: -1;
    }
}

.single-content{

    article{
        > ol,>ul{

            > li{
            *:not(li){
                margin-top: 1.3rem;
            }
            }

            
        }
        

    }

    ol{
            list-style-type: decimal;
             margin-left: 2.3rem !important;
        }
        ul{
            list-style-type: disc;
             margin-left: 2.3rem !important;
        }


    table{
            width: 100%;
    text-align: center;
    font-size: 1.1rem;
    border-left: 1px solid rgba(0 0 0 /10%);
    border-top: 1px solid rgba(0 0 0 /10%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    }

    thead tr:first-of-type {
    background: var(--primary);
    color: white;
    border-right: 1px solid rgba(0 0 0 /10%);
    border-bottom: 1px solid rgba(0 0 0 /10%);
}

th {
    padding: 1rem;
    border-right: 1px solid rgb(255 255 255 /40%);
}

td {
    border-right: 1px solid rgba(0 0 0 /10%);
    border-bottom: 1px solid rgba(0 0 0 /10%);
    padding: 1rem;
    background-color: #fff;
}
}

@media(max-width:1024px){
    .breadcrumb_last{
        color: white;
    }
}

@media(max-width:991px){
    .splide__arrow{
        width: 40px;
    }
}
@media(max-width:768px){

    .main-categories-slider,.useful-slider{

     padding:0;
     padding-bottom: 60px;

     .splide__arrows{
        position: absolute;
        bottom: 0px;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        left: 0;
        width: 100%;
     }
}
.splide__arrow{
    position: unset;
    transform: none;
}

#breadcrumbs > span{
    max-width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: auto;
}

}

@media(max-width:620px){
    .home-grid {
        a{

            padding: 1rem;

            span{
                font-size: 2rem;
            }

            img{
                width: 40px;
                height: 40px;
            }
        }
    }
}