/*
Theme Name:     Shell troxos 1.0
Description:    Toolbox
Author:         toolbox

*/

:root {
  --main-color: #16201F;  
  --border-color: #16201F;
  
  --form-border-color: #16201F;  
  --main-background-color: #ffffff;
    
  --button-color: #ffffff;
  --button-background-color: #16201F;  
  
  --checkbox-border-color: #16201F;
  --checkbox-fill-color: #16201F;
  
  --popup-background-color: #ffffff;
  --popup-color: #16201F;
}

@font-face {
    font-family: '__DINNextPaneuropean_3fce0f';
    src: url('./fonts/c49253e3d6bc6a57-s.p.woff2')  format('woff2');
}

html{
    font-size: 16px;        
}

body{
    font-family: "__DINNextPaneuropean_3fce0f", sans-serif;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f9d673;
    position: relative;
}

body *{
    font-family: "__DINNextPaneuropean_3fce0f", sans-serif;    
}

.img img{
    width: 100%;
    height: auto;
    
}

.background-effect{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    
}

.page-wrapper{
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

#canvasContainer-564{
    width: 564px;
    height: 564px;
    margin: 0 auto;
    position: relative; 
    
}

.class-564{
    width: 100px;
    height: 128px;
    position: absolute;
    z-index: 6;
    top: 25px;
    left: 240px;
}

.class-564-alt{
    width: 140px;
    display: block;
    margin: 0 auto;
}

.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* full screen */
    background: rgba(0, 0, 0, 0.4); /* απαλό γκρι/μαύρο φόντο */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: auto; /* επιτρέπει click μόνο στο popup */
    display: none;
}

.pop-up.active{
    display: flex;                
}

.pop-up .hide{
    display: none;
}

.pop-up::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* το ημιδιαφανές overlay */
    pointer-events: none; /* δεν μπλοκάρει το popup */
}

.pop-up button.close-popup {
    position: relative;
    z-index: 2; /* πάνω από το overlay */
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pop-up button.close-popup:hover {
    background: #f0f0f0;
}     

.popup-area{
    width: 60%;
    text-align: center;
}

.full-image{
    width: 100%;
}

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

.popup-area h2{
    font-size:3rem; color: #ffffff; font-weight: bold;                
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.winning-image {
    display: block;
    width: 300px; /* παράδειγμα */
    height: auto;
    transition: opacity 0.3s;
}

.image-wrapper.loading .winning-image {
    opacity: 0.5; /* δείχνει ότι φορτώνει */
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 4px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.image-wrapper.loading .loader {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/*------------------------------------------------------------------------------*/

.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: 'Source Sans Pro', sans-serif; line-height: 1.5; font-weight: 400; color: var(--popup-color);}
.jconfirm-content{font-family: 'Source Sans Pro', sans-serif; font-weight: 400; color: var(--popup-color);}

/*
 * Fancy Box Area
*/

.fancybox-slide--iframe .fancybox-content {
    width  : 85%;
    height : 85%;
    max-width  : 85%;
    max-height : 85%;
    margin: 0;
    background: #b32024;
}

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

body.simple{ 
    background-color: #ffffff;
    background: linear-gradient(55deg, #ffffff 0%, #ffffff 60%, #ffffff 100%);
    color: #000000; 
    font-family: 'Georgia', sans-serif;
    font-size: 1.2rem;       
    width: 96%; 
    top: 0px;
    height: auto;
    padding: 2%;
    overflow: auto;
}

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

.simple strong{
    font-weight: bold;
}

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












    