/* dgalanop
 */
footer {
    display: block;
    padding: 10px 0; /* reduce top and bottom padding */
    margin: 0;
}

footer img {
    width: 300px;
    padding: 10px 20px;
    float: right;
}

footer p {
    display: inline-block;
    float: right;
    line-height: 35px;
    font-size: 22px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 2.5em;
}

.footer-context {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 5px 0 15px;
}

.footer-logo {
    max-width: 100%;
    width: 200px;
    height: auto;
}

.footer-logo-visavis {
    width: 260px;
    max-width: 100%;
    height: auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-left h5 {
    padding-left: 20px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 280px;
    padding: 10px 15px;
    box-sizing: border-box;
}

.footer-center p {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.footer-center img.footer-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
}

.footer-center img.footer-logo-mever {
    width: 160px;
    max-width: 100%;
    height: auto;
}

.right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 400px;
}

.funded-row {
    display: flex;
    align-items: center;
}

.funded-description {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

.emif-logo {
    width: 300px;
    margin-right: 10px;
}

.funded-by {
    font-size: 15px;
    color: #333;
    margin: 0;
}


.info-icon {
    position: absolute;
    right: 10px;
    top: 42%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; /* Push above the icon */

    transform: translateX(-50%) translateY(0); /* Center horizontally */

    background: #f3eafe;
    color: #9056d6;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;

    max-width: 200px;
    width: max-content;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;

    opacity: 0;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    pointer-events: none;
    z-index: 999;
}

/* Show tooltip on hover */
.info-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px); /* Slight animation upward */
}

.file-input-with-icon {
    position: relative;
    width: 40%; /* match your existing style */
}

.file-input-with-icon input[type="file"] {
    width: 100%;
    padding-right: 30px; /* space for the icon */
    box-sizing: border-box;
}

.file-input-with-icon .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

/*@media (max-width: 750px) {*/
/*    .footer-content {*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*        text-align: center;*/
/*    }*/

/*    .footer-left,*/
/*    .footer-visavis,*/
/*    .right-side {*/
/*        text-align: center;*/
/*        width: 100%;*/
/*        margin-bottom: 20px;*/
/*    }*/

/*    .footer-left img,*/
/*    .footer-visavis img,*/
/*    .right-side img {*/
/*        width: 100%;*/
/*        max-width: 250px; !* or 200px depending on your preference *!*/
/*        height: auto;*/
/*        object-fit: contain;*/
/*    }*/
/*}*/
/*@media (max-width: 768px) {*/
/*    body.result-visible #wrapper {*/
/*        display: none;*/
/*    }*/
/*}*/
/*@media (max-width: 768px) {*/
/*    .footer-content {*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*    }*/

/*    .right-side {*/
/*        margin-top: 20px;*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*        text-align: center;*/
/*    }*/

/*    .footer-logo,*/
/*    .emif-logo {*/
/*        max-width: 200px;*/
/*    }*/
/*    .footer-logo-visavis {*/
/*        max-width: 300px;*/
/*    }*/
/*}*/


#thumbs-div, #keys-div, #sv-div, #vm-div {
    width: 50%; /* Adjust width as needed */
    max-width: 800px;
    margin: 0 auto; /* Centers horizontally */
    text-align: center; /* Centers text and inline elements inside */
}


.btn,.image_link {
    background-color: #9056d6; /* Olga */
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 18px;
    width: 110px;
    height: 42px;
    color: #fff;
    cursor: pointer;
    border: 1px solid #9056d6; /* Olga */
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;
    border-radius: 8px;
    margin: 0 0 0 -3px;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
}
/* headernew container */
.headernew {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    padding-bottom: 2px;
    background: #f5f5f5;
}

/* footernew container */
/*.footernew {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    padding: 20px;*/
/*    padding-top: 0px;*/
/*    background: #ffffff;*/
/*}*/

/* Logo styling */
.logo {
    width: 80px; /* Adjust size as needed */
    height: auto;
}

/* Quote styling */
.quote {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex: 1; /* Allows it to take available space */
    padding: 0 20px;
}


.box1 {
    width: 50%; /* Both boxes take half of the screen */
    padding: 20px;
    background-color: white;
    text-align: right;
}

.box2 {
    width: 50%; /* Both boxes take half of the screen */
    padding: 20px;
    background-color: white;
    text-align: left;
    font-size: 30px;
}


/* Logo styling inside Box 1 */
.box1 img {
    height: 80px; /* Adjust the logo size as needed */
    max-width: 300px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

.left-side {
    width: 30%; /* Both boxes take half of the screen */
    padding: 20px;
    /*background-color: white;*/
    text-align: left;
    height: 50px; /* Adjust the logo size as needed */
    max-width: 300px;
    display: flex;
    align-items: center; /* Align items horizontally in the same line */
}
.middle-side {
    width: 20%; /* Both boxes take half of the screen */
    padding: 20px;
    /*background-color: white;*/
    text-align: left;
    height: 50px; /* Adjust the logo size as needed */
    max-width: 200px;
    display: flex;
    align-items: center; /* Align items horizontally in the same line */
}

/*.right-side {*/
/*    display: flex;*/
/*    align-items: center; !* Align items horizontally in the same line *!*/
/*}*/

/*.emif-logo {*/
/*    width: 400px; !* Adjust the EMIF logo size *!*/
/*    margin-right: 10px; !* Space between the EMIF logo and Funded By text *!*/
/*}*/

/*.funded-by {*/
/*    font-size: 16px;*/
/*    color: #333; !* Dark text color *!*/
/*    margin: 0; !* Remove margin for better alignment *!*/
/*}*/
/* Responsive design */
@media (max-width: 600px) {
    .headernew {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        width: 60px;
        margin-bottom: 10px;
    }

    .quote {
        font-size: 1rem;
    }
}

#navigation a {
    text-decoration: none;
    color: white;
}

#navigation ul {
    padding: 3px 0;
    text-align: right;
    margin: 0 20px 0 0;
}

#navigation ul li {
    list-style-type: none;
    display: inline;
    cursor: pointer;
}

#navigation li:before {
    content: " | ";
}

#navigation li:first-child:before {
    content: none;
}

#navigation {
    background-color: #9056d6; /* Olga */
    font-size: 14px;
    color: white;
    font-family: 'Bitter', sans-serif;
}

.logo-container img {
    height: 60px; /* Adjust as needed */
    max-width: 200px; /* Ensures it doesn't get too wide */
    width: auto; /* Maintains aspect ratio */
    padding: 10px 20px;
}

.content-logo {
    display: flex; /* Places Box 1 and Box 2 side by side */
    gap: 20px; /* Adds space between the boxes */
    padding: 20px;
}


#wrapper1 h1 {
    margin-bottom: 0;
    /*font-family: 'Bitter', sans-serif;*/
    font-size: 40px;
    font-weight: bold;
}

#wrapper1 {
    text-align: center;
    position: relative;
}


#wrapper1_1 h1 {
    margin-bottom: 0;
    font-size: 30px;
    font-weight: 200;
}

#wrapper1_1 {
    text-align: center;
    position: relative;
}
.add-border {
    border: 5px solid #9056d6 !important; /* Border thickness, style, and color */
    padding: 30px; /* Adds space inside the border */
    margin: 10px; /* Adds space outside the border */
    margin-left: 50px;
    margin-right: 50px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); /* Shadow creates depth */
}


.disabled_input {
    opacity: 0.3;
}
*:disabled,input:disabled+label{
    cursor:not-allowed;
}
.input_box li input[type="text"] {
    display: inline-block;
    margin: 0;
    font-size: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: whitesmoke;
    width: 800px;
    font-family: "Urbanist", Tahoma, sans-serif;
    padding: 10px;
    border: none;
    border-bottom: solid 2px #969696;
}

.input_box li input[type="text"]:focus {
    outline: none
}

.input_box {
    list-style: none;
    margin-top: 2px;
    margin-bottom: 0;
}
.input-with-info {
    position: relative;
    width: 100%;
}

.input-with-info .icon {
    position: absolute;
    right: 10px;
    top: 42%;
    width: 24px;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.input-with-info input {
    padding-right: 30px; /* space for the icon on the right */
    width: 100%;
    box-sizing: border-box;
}

.consent_p{
    width: 754px;
    margin: 0 auto;
    background: rgba(222, 222, 222);
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 20px;
}
.container {
    display: block;
    position: relative;
    padding-left: 0;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 4px;
    left: 5px;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 1px solid lightgray;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: lightblue;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #9056d6;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}
/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 7px;
    top: 1px;
    width: 4px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* OLD
 */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Urbanist", Tahoma, sans-serif;
    color: #404040;
    background: #ffffff;
    font-size: 16px;
    display: table;
}

.collapsible {
    background-color: white;
    color: #333;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    border: 2px solid #F0F0F0;
    text-align: left;
    outline: 0;
    font-size: 16px;
    margin-top: 10px;
    font-family: "Urbanist", Tahoma, sans-serif;
}
.active, .collapsible:hover {
    background-color: #f1f1f1;
}
.collapsible:after {
    content: '\002B';
    color: #333;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.active:after {
    content: "\2212";
    color: #333;
}
.content {
    padding: 0 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s linear;
    background-color: white;
}
.iframe {
    overflow-y: hidden;
}
#body-content h1 {
    color: #333;
    font-weight: normal;
    font-size: 24px;
    line-height: 46px;
}
h1 {
    display: block;
    font-size: 26px;
    -webkit-margin-before: 0.67em;
    -webkit-margin-after: 0.67em;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    font-weight: normal;
}
img {
    max-width: 190%;
    height: auto;
    width: auto \9;
}
#upload-div {
    width: 80%;
	max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    padding: 0 0 0 0;
}

#upload-div h3 {
    padding: 0 0 10px 0;
    margin: -30px 0 20px;
    border-bottom: 1px dotted #DDD;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    font-weight: normal;
}

#upload-div p {
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    line-height: 22px;
}

#upload-div input[type="text"], #upload-div input[type="url"], #upload-div input[type="file"], .image-upload {
    background-color: #edece8;
	font-size: 16px;
	width: 100%;
    height: 40px;
    margin: auto auto 10px;
    padding: 2px 15px 2px 15px;
    /*border: none;*/
    color: #000000;
    outline: none;
    border-radius: 8px;
}

#upload-div #submit-btn, #new_tab-btn, #new_tab-btn2, #plus-btn {
    font-family: "Urbanist", Tahoma, sans-serif;
    font-weight: bold;
    margin-right: auto;
    margin-left: auto;
    margin-top: auto;
    font-size: 18px;
    padding: 15px 15px 15px 15px;
    cursor: pointer;
    border: none;
    background: #9056d6;
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
}

#about-btn, #disc-btn {
    margin-right: auto;
    margin-left: auto;
    margin-top: auto;
    font-size: 11px;
    padding: 5px 5px 5px 5px;
    cursor: pointer;
    border: none;
    background: #9056d6;
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    /* box-shadow: 0px 3px 1px #2075aa; */
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
}

#output {
    padding: 5px;
    font-size: 8px;
}

#output img {
    border: 1px solid #DDD;
    padding: 5px;
}
progress {
    border: 0 none;
    background-color: #edece8;
    color: #9056d6;
}
progress::-webkit-progress-bar {
    background-color: #edece8;
}
progress::-webkit-progress-value {
    color: #9056d6;
}


progress::-webkit-progress-bar {
    background-color: #edece8;
}

progress::-webkit-progress-value {
    background-color: #9056d6; /* Visavis color */
}

progress::-moz-progress-bar {
    background-color: #9056d6;
}





/*#footer{*/
/*    text-align: center;*/
/*    height: 25px;*/
/*    padding-top: 3px;*/
/*    font-size: 12px;*/
/*    border-top-width: 1px;*/
/*    border-top-style: solid;*/
/*    border-top-color: #EEEEEE;*/
/*    color: #404040;*/
/*    font-family: "Segoe UI", Tahoma, sans-serif;*/
/*}*/
/*#footer .cc {*/
/*    display: inline-block;*/
/*    border-width: 0;*/
/*    vertical-align: middle;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    background-position: 0 0;*/
/*}*/
/*#footer p{*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    font-size: 12px;*/
/*    font-family: "Segoe UI", Tahoma, sans-serif;*/
/*    color:#404040;*/
/*    background: #ffffff;*/
/*}*/

.btn_feedback {
    background-color: #9056d6;
    font-family: "Urbanist", Tahoma, sans-serif;

    font-weight: bold;
    font-size: 18px;
    /*width: 150px;*/
    height: 42px;
    color: #fff;
    cursor: pointer;
    border: 1px solid #9056d6;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}
.btn_feedback:hover {
    background-color: grey;
    transform: scale(1.05);
}
/*.img_footer {*/
/*    height: 45px;*/
/*    width: auto;*/
/*}*/

a:hover {
    cursor: pointer;
}

.image-upload > input {
    position: absolute;
    top: -100px;
}
.image-upload label img {
    height: 40px;
    width: 40px;
    vertical-align: middle;
    line-height: 2em;
}
.image-upload img {
    cursor: pointer;
}

#about {
    margin: 50px auto 15px;
    padding: 0 50px 40px;
    width: 700px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #FFF;
    text-align: justify;
    line-height: 22px;
}
/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .content-logo {
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
        margin: 0;
        gap: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .box1,
    .box2 {
        width: 100%;
        padding: 5px 0;
        text-align: center;
        margin: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .box1 img {
        max-width: 120px; /* smaller logo */
        height: auto;
    }

    .box2 {
        font-size: 18px; /* smaller slogan text */
        line-height: 1.1;
        margin-top: 0;
    }
    #wrapper1_1 h1 {
        margin-top: 0;
        font-size: 22px; /* slightly smaller main heading */
    }
    .box2 p {
        margin-bottom: 0;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .right-side {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .emif-logo {
        max-width: 200px;
    }
    .footer-logo-visavis {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .footer-context {
        font-size: 1rem;
    }

    .footer-center p {
        font-size: 0.9rem;
    }

    .footer-logo,
    .footer-logo-visavis,
    .footer-center img.footer-logo,
    .footer-center img.footer-logo-mever {
        width: 100%;
    }

    .emif-logo {
        width: 100%;
    }

    footer p {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    body.result-visible #wrapper {
        display: none;
    }
}