/*
Theme Name:     souplinecontest v13
Description:    Soupline Contest
Author:         toolbox

*/
:root {
  --red-color: #0054a6;
  --black-color: #000000;
  --grey-color: #F3F4F4;
  --grey-darker: #3a1f21;
  
  --brown-color: #77050d;
  --border-color: #ffffff;
  --form-border-color: #77050d;  
  --main-background-color: #FFFFFF;
  
  
  --button-color: #ffffff;
  --button-background-color: #0054a6;  
  
  --checkbox-border-color: #231f20;
  --checkbox-fill-color: #231f20;
  
  --popup-background-color: #0054a6;
  --popup-color: #ffffff;
}

@font-face {
	font-family: 'PFHighway';
        src: url('./fonts/PFHighwayGothic-Regular.otf') 
            format("opentype");  
        
}

@font-face {
	font-family: 'PFHighway-Bold';
        src: url('./fonts/PFHighwayGothic-Bold.otf') 
            format("opentype");  
        
}

@font-face {
	font-family: 'CeraPro';
        src: url('./fonts/CeraProRegular.otf') 
            format("opentype");  
        
}

html{
    font-size: 16px;    
}

body{ 
    background-color: var(--main-background-color);
    color: var(--main-color); 
    font-family: 'PFHighway', sans-serif;
    font-size: 1rem;       
    width: 100%; 
    
}

body *{
    font-family: 'PFHighway', sans-serif;   
    
}

.body-background{
    /* fallback solid color για πολύ παλιούς browsers */
    background-color: #1660a9;

    /* modern browsers */
    background: linear-gradient(90deg, #1660a9 0%, #48bdee 100%);

    /* vendor prefix για παλαιότερα WebKit browsers */
    background: -webkit-linear-gradient(left, #1660a9 0%, #48bdee 100%);    
}

a{
    text-decoration: none;
    color: var(--black-color);
    
}

*:focus {
    outline: none;
    
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  
}

/* Track */
::-webkit-scrollbar-track {
/*  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;*/
    background-color: transparent;    
    
}
 
#form::-webkit-scrollbar-track {
/*  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;*/
    background-color: var(--brown-color);
    
}

.simple::-webkit-scrollbar-track {
/*  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;*/
    background-color: #ffffff;
    
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: transparent; 
  
/*  border-radius: 10px;*/
}

#form::-webkit-scrollbar-thumb {
  background: var(--border-color); 
  
/*  border-radius: 10px;*/
}

.simple::-webkit-scrollbar-thumb {
  background: #000000; 
  
/*  border-radius: 10px;*/
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: transparent; 
  
}

#form::-webkit-scrollbar-thumb:hover {
  background: var(--border-color); 
  
}

.simple::-webkit-scrollbar-thumb:hover {
  background: #000000; 
  
}

img{
    pointer-events: none;
    
}

.full-image img{
    width: 100%;
    height: auto;
}

/*
* Συνηθως Διαφορετικα
*/

.mobile{display: none !important;}
.pc{display: block !important;}    

.line{
    width: 100%;
    float: left;        
}

.frame{
    position: relative;
}

.top-line{
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;    
}

.top-line.pc{
    display: flex!important;        
    
}

.col{
    display: block;
    position: relative;
    
}

.left-area {
    flex-basis: 50%;
    height: 100%;    
    background-color: transparent;
    
}

.right-area {
    flex-basis: 50%;  
    height: 100%;
    z-index: 10;
    background-color: transparent;    
    text-align: center;    
    
}

.pc .right-area{
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-content: flex-end;  
    
}

.products-right{
    width: 38vw;
    margin-bottom: 0;
    
}

.all-together{
    width: 100%;
    height: auto;
    display: block; /* Αποτρέπει τα περιττά κενά γύρω από το inline element */
    object-fit: contain; /* Διασφαλίζει ότι η εικόνα δεν θα παραμορφωθεί */
    position: absolute;
    left: 0;
    top: 0;        
}

.logo{
    position: absolute;
    top: -2px;
    left: 5vw;
    width: 15vw;    
}

.left-area .left-text{
    width: 85%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: 11%;
    margin-top: 14%;    
}

.show-form, .endoftime{
    width: 55%;
    display: block;
    
}

.show-form{
    margin: 5% 0 5% 5%;
    
}

.diarkeia{
    color: #ffffff;
    line-height: 1.5rem;
    font-size: 1.3rem;
    padding-right: 0;
    text-align: center;
}

.pc .diarkeia{
    padding-right: 23%;    
}

.endoftime{
    color: #ffffff;
    line-height: 2rem;
    font-size: 2.3rem;    
    margin: 55% auto 40% auto;    
}

.endoftime p{
    padding-bottom: 1rem;
}

.strong{
    font-family: 'PFHighway-Bold', sans-serif;   
    font-weight: bold;
}

.diarkeia .strong{
    font-size: 1.4rem;    
}

.bottom-line{
    padding: 0 0 2rem 0;
    display: flex;
    align-content: center;
    justify-content: center;
}

.submition-closed .bottom-line{
    padding-top: 2rem;    
}

.bottom-line a{
    font-size: 1rem;
    color: #ffffff;
    padding-bottom: 1px;
    border-bottom: 1px solid #ffffff;
    display: inline-block;
    float: left;
}

.bottom-line a.oroi{
    margin-right: 10px;
}

.bottom-line a.gdpr{
    margin-left: 10px;
}

#form, #nikites{
    background-color: var(--grey-color);
    border-radius: 20px;
    width: 37vw;
    margin: 5rem auto;
    position: relative;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); /* Θολό glow */
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    
}

#nikites{
    margin-top: 1rem;
}

#nikites *{
    font-family: 'CeraPro', sans-serif;    
    font-size: 1rem;
    line-height: 1.4rem;
}

#nikites .strong-effect{
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.3rem;
    
}

#nikites p{
    padding-bottom: 0.3rem;
}

#nikites p.more-padding{
    padding-top: 1rem;
    
}

.small-logo{
    width: 6vw;
    position: absolute;
    top: 0;
    right: 2rem;
    
}

#form h2, #nikites h2, .thank-you{
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    text-align: center;
    
}

#form h2, #nikites h2{
    color: var(--red-color);    
    padding: 1rem 0;    
    font-family: 'CeraPro', sans-serif;        
}

.thank-you{
    color: var(--black-color);
    padding: 3rem 0;    
    display: none;
}

#form .form-line{
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--grey-darker);
}

#form .form-line input{
    background-color: transparent;
    border: 0;
    color: var(--black-color);
    font-size: 1.1rem;
    padding: 0.3rem 0;    
}

#form .form-line input::placeholder{
    color: var(--black-color);    
}

#form .form-line input.full-width{
    width: 100%;
}

#form .two-fields{
    display: flex;
}

#form .form-line input.width-60{
    display: block;
    width: 60%;
}

#form .form-line input.width-40{
    display: block;    
    width: 40%;
}

.form-control{
    border: 0;    
    width: 70%;
    margin: 0;    
    display: grid;
    grid-template-columns: 2em auto;
    gap: 0.5em;    
}

.form-control input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: transparent;
    /* Not removed via appearance */
    margin: 0.5rem 0 0 0;
    
    font: inherit;
    color: transparent;
    width: 2em;
    height: 2em;
    border: 0.15em solid var(--checkbox-border-color);
    border-radius: 0.15em;
    transform: translateY(-0.075em);    
    
    display: grid;
    place-content: center;    
}

input[type="checkbox"]::before {
  content: "";
  width: 1.8em;
  height: 1.8em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1.8em 1.8em var(--checkbox-fill-color);
  
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);  
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.form-control .checkbox-text{
    font-size: 0.7rem;
    line-height: 0.9rem;
    
}

#form .form-line *{
    font-family: 'CeraPro', sans-serif;    
    
}

#form button{
    background-color: var(--red-color);
    border-radius: 40px;
    padding: 0rem 2rem 0.1rem 2rem;
    display: block;
    color: #ffffff;
    border: 0;
    font-size: 1.2rem;
    margin: 0.9rem 0;
    
}

#form button:hover{
    cursor: pointer;
    
}

.form-action-area{
    display: flex;
    margin: 1rem 15%;
    
}

#nikites .nikites-content{
    text-align: center;
    padding-bottom: 1rem;
    
}

#nikites .nikites-content strong{
    font-weight: bold;
}

.final-label{
    font-family: 'Arial', sans-serf;
    text-align: center;
    padding-top: 5rem;   
    font-size: 1.2rem;
    line-height: 1.4rem;
}

/*
* Form Area
*/

.jconfirm .jconfirm-holder{
    width: 50%;
    margin: 0 auto;
}
.jconfirm-box{text-align: center;}
.jconfirm.jconfirm-light .jconfirm-box{background-color: var(--popup-background-color) !important; border: 1px solid color: var(--popup-color);}
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content, .jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{ min-height: 20px;}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{color: var(--popup-color) !important; background-color: transparent !important;}
.jconfirm-title-c{font-family: 'PFHighway', sans-serif; line-height: 1.5; font-weight: 400; color: var(--popup-color);}
.jconfirm-content{font-family: 'PFHighway', sans-serif; font-weight: 400; color: var(--popup-color);}

/*
 * Fancy Box Area
*/

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content{
    width  : 70%!important;
    height : 70%!important;
    max-width  : 70%!important;
    max-height : 70%!important;
    margin: 0;
}

.fancybox__iframe html,
.fancybox__iframe body{
    background-color: #ffffff;    
}

body.simple{ 
    background-color: #ffffff;
    color: #000000; 
    font-family: 'PFHighway', sans-serif;
    font-size: 1.2rem;       
    width: 96%; 
    top: 0px;
    height: auto;
    padding: 2%;
}

.simple p{
    padding-bottom: 1rem;
    text-align: justify;
}

.simple strong{
    font-weight: bold;
}

.simple a{
    font-weight: bold;    
    color: #000000;     
    
}

/*
 * Fancy Box Area
*/

/*
 * Mobile Portrait
*/
@media (max-width: 926px) {
    
    .body-background{
        background: #1b4a90;        
    }
    
    .frame{
        overflow-x: hidden;        
    }
    
    .pc, .top-line.pc{
        display: none !important;
        
    }
    .mobile{
        display: block !important;
        
    }    
    
    .mobile-background{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        
    }    
    
    .mobile-effect{
        display: none;
        
    }
    
    body{
        height: auto;                
        
    }
 
    .background-color.mobile{
        position: relative;  
        z-index: 5;
        
    }
    
    .line{
        position: relative;
        z-index: 10;        
        
    }
    
    .logo{
        width: 25vw;
        height: 10vh;                
        
    }
    
    .logo img{
        display: none;                
        
    }
    
    .background.mobile{
        position: absolute;
        top: 0;
        width: 100%;
        height: auto;        
    } 
    
    .fake-click{
        width: 100%;
        height: 300px;
        background-color: transparent;
        position: absolute;
        float: left;
        z-index: 30;        
    }
    
    .top-line-mobile {
        background-color: transparent;
        position: relative;
        overflow: hidden;
        width: 70%;
        height: auto;
        margin: 10% 15% 0 15%;
        padding-bottom: 1rem;        
    }
    
    .products-mobile{
        width: 60%;
        margin-left: 40%;
    }
    
    .top-line-mobile a{
        width: 90%; 
        height: auto; 
        position: relative; 
        top: 0;
        margin-left: 5%;
        display: block;        
    }
    
    .diarkeia.mobile{
        text-align: center;
        padding: 0 0 1rem 0;
        font-size: 0.7rem;
        line-height: 0.9rem;
        position: relative;
        z-index: 10;
        float: left;
        width: 100%;          
    }
            
    .diarkeia .strong{
        font-size: 0.9rem;        
    }    
    
    #form{
        width: 80%;
        margin: 0 auto 2rem auto;
        padding: 1rem;
        border-radius: 10px;                
    }
    
    .small-logo{
        width: 17vw;
        right: 1.1rem;        
    }
    
    #form h2{
        width: 100%;
        padding: 0.5rem 0;
        position: relative;        
    }
    
    #form h2.full-image img{
        display: block;
        width: 50%;
        margin: 0.2rem auto 0 auto;
    }
    
    h2.hide-arrow::before{
        display: none;
    }
    
    h2::before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #777777; /* Χρώμα του βέλους */
        margin: 5px auto 0; /* Απόσταση από το h2 */
        position: absolute;
        left: 1rem;
    }

    #nikites h2::before {
        display: none;        
    }
    
    #nikites .strong-effect{
        font-size: 0.8rem;
        line-height: 1rem;        
    }
    
    #nikites * {
        font-size: 0.8rem;
        line-height: 1rem;        
    }    
    
    #form h2, .thank-you, #nikites h2{
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    #form .form-line input{
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
       
    #form button{
        font-size: 1rem;
        margin: 1.3rem 0;        
    }
    
    .endoftime{
        text-align: center;
        line-height: 1rem;
        font-size: 1.3rem;
        margin: 15% auto 15% auto;        
    }
    
    .form-action-area{
        margin-left: 0;
        margin-right: 0;
    }
    
    .bottom-line a{
        font-size: 0.7rem;
    }
    
    .jconfirm .jconfirm-holder{
        width: 70%;        
        
    }    
    
    .fancybox__carousel .fancybox__slide.has-iframe .fancybox__content{
        width  : 90%!important;
        height : 90%!important;
        max-width  : 90%!important;
        max-height : 90%!important;        
        
    }
    
    .simplepage h2{
        font-size: 1rem;        
        
    }
    
    #nikites{
        width: 70vw;    
    }
    
    .final-label{
        font-size: 1rem;
        line-height: 1.2rem;
    }    
    
    .form-control .checkbox-text{
        padding-top: 1rem;
    }
    
    .form-control{
        width: 100%;
        grid-template-columns: 1.5em auto;
    }
    
    .form-control input[type="checkbox"]{
        width: 1.5em;
        height: 1.5em;
        margin-top: 1.5rem;
    }
    
    input[type="checkbox"]::before {
        width: 1.3em;
        height: 1.3em;
        box-shadow: inset 1.3em 1.3em var(--checkbox-fill-color);
    }    
}

/* 
 * Tablet Portrait
 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .small-logo{
        width: 10vw;
        
    }    
}

/* 
 * Mobile Landscape 
 */
@media only screen and (max-width:926px) and (orientation: landscape) {
    .small-logo{
        width: 12vw;
        
    }    
}











































