﻿@font-face {
  font-family: 'nestle-condensed-font';
  src: url('../fonts/PT/NestleTextTF-BoldCnd.woff') format('woff');
}
@font-face {
  font-family: 'nestle-font';
  src: url('../fonts/PT/NestleTextTF-Book.woff') format('woff');
}
@font-face {
  font-family: 'nestle-brush';
  src: url('../fonts/PT/NestleBrush-Regular.woff') format('woff');
}

:root {
	--background: white;
	--color: #007cba;
	--font-family-headlines: "nestle-condensed-font", Arial, sans-serif;
	--font-family-body: "nestle-font", Arial, sans-serif;
	--font-size-textboxes: 1.25rem;
	--color-textboxes: white;
	--checkbox-size: 25px;
	--checkbox-symbol: url(pt/lochmara-tick.svg);
}

body.brand_pt {
    background: var(--background);
	font-family: var(--font-family-body);
	color: var(--color);
}

@media (min-width: 1200px) {
    .container {
        width: 70%;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 30px;
        margin: 50px auto;
    }
}

.header-text, .data-input-header-text, .confirm-data-input-header-text, .success-header-text {
    color: var(--color);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: var(--font-family-headlines);
    line-height: 1.17;
}

.consent-revocation {
    color: black;
}

.confirm-consent-revocation {
    color: black;
    font-weight: bold;
}

.edit-div {
    outline-width: 1px;
    outline-color: var(--color);
    background-color: var(--color-textboxes);
    padding: 16px 30px 16px 15px;
    border-radius: 9px;
}

.editable-dll {
    background-color: var(--color-textboxes);
    font-size: var(--font-size-textboxes);
    color: var(--color);
}

.editable-input {
    background-color: var(--color-textboxes);
    font-size: var(--font-size-textboxes);
}

.input-row {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
}

.mandatory-advice {
    margin-bottom: 10px;
}

.evk-label-div {
    font-size: 16px;
    padding-left: var(--checkbox-size);
}

.consent-revocation, .confirm-consent-revocation {
    font-size: 16px;
    margin-top: 10px;
}

@media (max-width: 420px) {
    .evk-label-div, .consent-revocation, .confirm-consent-revocation {
		font-size: 14px;
    }
}

.evk-div {
    margin-bottom: 15px;
}

.buttonrow {
    margin-top: 15px;
}

button {
    border: 2px;
    border-radius: 0px;
    padding: 12px 50px 12px 25px;
    background-color: #007cba;
    background-image: url(pt/white-right-arrow.svg);
    background-size: 15px auto;
    font-family: 'nestle-brush';
    background-position: center right 15px;
    background-repeat: no-repeat;
    color: #fff;
    transition: background-color .2s;
}

button:hover {
    background-color: #2a92ce;
}

.button-back.pull-left {
    position: relative; /* For pseudo-element positioning */
    border: 2px;
    border-radius: 0px;
    padding: 12px 25px 12px 50px; /* Adjust padding for space on the left */
    background-color: #007cba;
    font-family: 'nestle-brush';
    color: #fff;
    transition: background-color 0.2s ease;
    text-align: left; /* Ensure text alignment stays correct */
    background-image: none; /* Remove the default arrow */
}

/* Arrow pseudo-element */
.button-back.pull-left::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    left: 15px; /* Position arrow on the left */
    top: 50%;
    transform: translateY(-50%) scaleX(-1); /* Flip the arrow horizontally */
    background-image: url(pt/white-right-arrow.svg);
    background-size: 15px auto;
    background-repeat: no-repeat;
    z-index: 1; /* Ensure it appears on top */
}

.button-back.pull-left:hover {
    background-color: #2a92ce;
}

a {
    color: var(--color);
}

.confirm-input-line-div {
    color: black;
}

.row.confirm-header-div {
    font-size: 20px;
    font-weight: bold;
}

.confirm-evk-div {
    color: black;
    font-size: 16px;
    padding-top: 40px;
}

.confirm-consent-revocation {
    color: black;
}

.confirm-newsletter-list-item {
    color: black;
}

.data-input-header-div, .confirm-data-input-header-div {
    padding-top: 40px;
}

label.disabled, a.disabled {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}

.evk-checkbox:before {
    border: 1px solid #007cba;
    background-color: #fff;
    content: "";
    position: absolute;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border-radius: 4px;
}

.evk-checkbox:after {
    content: "";
    position: absolute;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border-radius: 4px;
    background-image: var(--checkbox-symbol);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0; /* Unsichtbar im Standardzustand */
    transition: opacity 0.2s ease; /* Smooth transition */
}

.evk-checkbox:checked:after {
    opacity: 1; /* Sichtbar bei Auswahl */
}

/* Standard-Checkbox bleibt sichtbar */
.newsletter-checkbox {
    position: relative;
    margin: 0;
}

/* Benutzerdefinierte Checkbox-Rahmen */
.newsletter-checkbox:before {
    content: "";
    position: absolute;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border: 1px solid #007cba;
    border-radius: 4px;
    background-color: #fff;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.evk-checkbox:disabled:before {
    border-color: #c7d2d7;
}

/* Benutzerdefiniertes Häkchen */
.newsletter-checkbox:after {
    content: "";
    position: absolute;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    border-radius: 4px;
    background-image: var(--checkbox-symbol); /* Dein gewünschtes Häkchen-Bild */
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0; /* Unsichtbar im Standardzustand */
    z-index: 0; /* Liegt unter der nativen Checkbox */
    transition: opacity 0.2s ease; /* Smooth transition */
}

/* Gecheckt-Zustand */
.newsletter-checkbox:checked:after {
    opacity: 1; /* Häkchen sichtbar */
}

.newsletter-checkbox-label-div {
    padding-left: 20px;
    height: 40px;
    font-family: var(--font-family-body);
    color: var(--color);
}

.row.header-div {
    margin-bottom: 20px;
}

.success-post-header-text {
    color: black;
}