/* ==== Base / Resets (minimal needed) ==== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "IBM Plex Serif", serif;
font-size: 17px;
line-height: 22px;
color: #222;
background-color: #FFF;
font-weight: 300;
 background-image: url(../bg-mireasa.png);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top center; 
}
@media (min-width: 900px) {
    .main-container .plate {
        display: block;
    }
}
@media (min-width: 900px) {
    .main-container .plate img:nth-child(1) {
        width: 10%;
        position: fixed;
        top: 50%;
        left: 3%;
    }
    .main-container .plate img:nth-child(2) {
        width: 10%;
        position: fixed;
        top: 50%;
        right: 3%;
    }
}
.title-header-mireasa {
    font-size: 15px;
    margin-bottom: 0;
    text-align: center;
    line-height: 2em;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    color: #2bafe5;
    font-weight: 700;
    position: relative;
    z-index: 5;
    padding-bottom: 20px;
    padding-top: 20px;
}
.contest-ended-message {
text-align: center;
color:Red;
}
a {
text-decoration: none;
color: #222;
}

ul {
list-style: none;
padding: 0;
margin: 0;
}

img {
width: 100%;
height: auto;
}

/* Container used inside header/footer */
.main-container {
/* background-color: #fff; */
}

/* desktop width */
@media only screen and (min-width: 1024px) {
.main-container {
width: 1030px;
/* background-color: #FFF; */
margin: 0 auto;
position: relative;
z-index: 1;
padding: 0;
}
}

/* ================= HEADER + MENU ================= */

.header {
position: relative;
height: 90px;
z-index: 1000001;
background-color: #FFF;
}

/* Small “Antena” brand text/image above logo */
.antena-brand {
width: 52px;
height: 13px;
display: block;
position: absolute;
top: 0;
left: 50%;
margin-left: -26px;
background: url(https://a1.ro/templates/default/images-21/antena.png) no-repeat;
background-size: contain;
text-indent: -9999px;
}

/* Main A1 logo in the middle */
.logo {
height: 55px;
width: 50px;
position: absolute;
top: 18px;
left: 50%;
margin: 0 0 0 -18px;
text-indent: -9999px;
}

.logo,
.logo a {
display: block;
width: 34px;
height: 41px;
background: url(https://a1.ro/templates/default/images-21/master-logo-antena1.svg) no-repeat;
background-size: cover;
}

/* Body lock when menu open */
.removeScroll {
overflow: hidden;
}

.removeScroll .nav-menu {
overflow-x: hidden;
overflow-y: scroll;
height: 100%;
}

/* Hamburger icon */
.hamburger {
position: absolute;
top: 0;
left: 0;
display: block;
width: 50px;
height: 50px;
padding-top: 25px;
z-index: 5;
background-color: #fff;
cursor: pointer;
}

.bar {
display: block;
width: 24px;
height: 2px;
margin: 4px auto;
transition: all .3s ease-in-out;
background-color: #000;
}

/* Hamburger animation (X state) */
.hamburger.active .bar:nth-child(2) {
opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
transform: translateY(4px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}

/* Navbar wrapper */
.navbar {
padding-top: 90px;
}

/* Mobile menu default hidden */
.nav-menu,
.nav-menu ul {
display: none;
}

/* Mobile menu open */
.nav-menu.active {
display: block;
background-color: #fff;
position: relative;
width: 100%;
height: 100vh;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
/* Safari smooth scroll */
overflow-x: hidden;
max-height: calc(100vh - 80px);
}

/* Submenu open state */
.submenu.active ul {
display: block;
background-color: #f1f1f1;
}

.navbar li {
position: relative;
}

.navbar li a,
.submenu-open-more {
display: block;
padding: 10px;
border-bottom: solid 1px #ddd;
color: #222;
}

.navbar li a:hover,
.submenu-open-more:hover {
color: #da0f10;
cursor: pointer;
}

/* Arrow for submenu toggle */
.submenu-arrow {
width: 24px;
height: 24px;
position: absolute;
top: 5px;
line-height: 12px;
right: 5px;
cursor: pointer;
}

.submenu-arrow:before {
content: "<";
display: block;
font-size: 14px;
font-weight: bold;
text-align: center;
line-height: 34px;
transform: rotate(-90deg);
}

.submenu.active>.submenu-arrow:before {
transform: rotate(90deg);
right: -3px;
position: relative;
}

.cauta {
display: none;
}

/* AntenaPlay link (not used in your markup, can remove if unneeded) */
.link-antenaplay {
float: right;
height: 50px;
background: url(./images-21/antenaplay.png) no-repeat left center;
background-size: 40%;
color: #000;
padding: 13px 10px 10px 30px;
text-align: right;
text-decoration: none;
margin-top: 25px;
}

/* Icons on the right: search + user */
.cauta-mobile {
float: right;
width: 24px;
height: 24px;
text-indent: -9999px;
background: url(https://a1.ro/templates/default/images-21/icon-new-menu__search.svg) no-repeat center;
cursor: pointer;
margin-top: 10px;
}
.user-login {
float: right;
width: 24px;
height: 24px;
text-indent: -9999px;
background: url(https://a1.ro/templates/default/images-21/icon-user.svg) no-repeat center;
cursor: pointer;
margin-top: 10px;
}

/* App promo block in menu */
.app-title {
padding: 30px 15px 15px 15px;
text-align: center;
}

.app-logo {
background-color: #da0f10;
border-radius: 30%;
top: 10px;
width: 30px;
height: 30px;
display: inline-block;
position: relative;
}

.app-logo::before {
content: "";
background: url(https://a1.ro/templates/default/images-21/master-logo-antena1.svg) no-repeat;
background-size: cover;
width: 16px;
height: 19px;
filter: brightness(0) invert(1);
position: absolute;
left: 6px;
top: 6px;
}

.app-button {
width: 300px;
height: 50px;
margin: 0 auto;
list-style: none;
}

.navbar .app-button a {
width: 140px;
height: 50px;
font-size: 13px;
padding: 6px 40px 10px 10px;
line-height: 18px;
color: #8f9193;
border-radius: 10px;
border: 1px solid #ddd;
background-image: url(https://a1.ro/templates/default/images-21/footer-logo.png?v3);
background-repeat: no-repeat;
background-size: 900px;
}

.navbar .app-button a:hover,
.navbar .app-social:hover {
box-shadow: 10px 10px 30px #ccc;
color: #8f9193;
}

.gplay {
float: left;
background-position: -65px -107px;
}

.appstore {
float: right;
background-position: -65px -168px;
}

.gplay:hover {
background-position: 92px -107px;
}

.appstore:hover {
background-position: 92px -168px;
}

/* Social row inside menu */
.navbar .app-social {
width: 300px;
height: 50px;
border: 1px solid #ddd;
padding: 10px 10px 10px 130px;
margin: 15px auto 45px auto;
clear: both;
border-radius: 10px;
list-style: none;
position: relative;
}

.app-social::before {
content: "Urmareste-ne";
position: absolute;
top: 15px;
left: 15px;
font-size: 13px;
line-height: 18px;
color: #8f9193;
}

.navbar .app-social a {
width: 27px;
height: 27px;
margin-left: 4px;
display: block;
float: left;
text-indent: -9999px;
border: 0;
padding: 0;
background-image: url(https://a1.ro/templates/default/images-21/footer-logo.png?v3);
background-repeat: no-repeat;
background-size: 600px;
filter: grayscale(100%);
opacity: .6;
transition: all .1s;
}

.navbar .app-social a:hover {
filter: grayscale(0%);
opacity: 1;
}

.app-facebook {
background-position: 3px -153px;
}

.app-instagram {
background-position: -26px -153px;
}

.app-youtube {
background-position: -57px -153px;
}

.app-tiktok {
background-position: -89px -153px;
}

.app-linkedin {
background-position: -119px -153px;
}

/* Animated header tweaks */
header.animated .menu-search {
top: 43px;
z-index: 10;
}

header.animated .antena-brand {
z-index: 10;
}

header.animated .logo {
top: 30px;
}

.animated .hamburger {
padding-top: 36px;
background-color: transparent;
height: auto;
}

.animated .user-login,
.animated .cauta-mobile {
margin: 38px 10px 0 15px;
z-index: 10;
position: relative;
background-size: contain;
}

/* Optional overlay animation (originally commented out)
.animated .overlay-wrapper {
height: 107px;
overflow: hidden;
position: absolute;
width: 100%;
pointer-events: none;
z-index: 4;
top: 0;
}
.animated .overlay-wrapper .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0;
background-color: #dc0510;
z-index: 3;
}
*/

/* ================= FOOTER ================= */

footer {
margin: 30px 0 0 0;
text-align: center;
position: relative;
}

footer .controller {
background-image: url(https://a1.ro/templates/default/images-21/shade-light.png);
padding: 15px;
position: relative;
}

footer .wrapper {
background-color: #fff;
padding: 15px;
}

.social-logo {
padding: 15px 0;
}

footer p {
font-size: 14px;
}

/* Useful links row */
footer .linkuri-utile {
list-style-type: none;
font-size: 14px;
color: #DA0F10;
margin-bottom: 15px;
}

footer .linkuri-utile li {
padding: 5px 0;
display: block;
}

footer .linkuri-utile a,
footer .linkuri-utile #ot-sdk-btn.ot-sdk-show-settings {
color: #DA0F10;
font-size: 14px;
border-color: #fff;
background-color: transparent;
}

/* Partner sites list */
.parteneri li,
.social-logo li,
.social-logo a {
display: inline-block;
list-style: none;
}

.parteneri a {
padding: 3px 10px 4px 10px;
display: inline-block;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
line-height: 24px;
color: #DA0F10;
}

.parteneri a:hover {
background-color: #DA0F10;
color: #FFF;
}

/* Footer social icons (large round logos) */
.social-logo a {
filter: grayscale(100%);
opacity: 0.5;
width: 50px;
height: 50px;
transition: all .3s;
margin-right: 5px;
}

.social-logo li:last-child a {
margin-right: 0;
}

.social-logo a:hover {
filter: grayscale(0%);
opacity: 1;
}

.social-logo li {
padding: 0 1px;
}

.social-logo a {
width: 50px;
}
.success {
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
}
/* Footer links hover on desktop */
@media only screen and (min-width: 1024px) {
footer .linkuri-utile li {
display: inline-block;
}

footer .linkuri-utile li a,
footer #ot-sdk-btn.ot-sdk-show-settings {
padding: 3px 10px 4px 10px;
display: inline-block;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
line-height: 24px;
}

footer .linkuri-utile li a:hover,
footer #ot-sdk-btn.ot-sdk-show-settings:hover {
background-color: #DA0F10 !important;
color: #FFF;
}

.parteneri {
padding: 0 50px;
}
}


/* ADDED FROM <style> - master.blade*/
.field-box.success p {
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
padding: 10px 20px;
text-align: center;
}

.contest-form-wrapper {
/* max-width: 640px; */
margin: 0px auto;
padding: 15px;
}

.contest-form {
background: #ffffff;
border-radius: 8px;
padding: 25px 20px 30px;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.field-row {
margin-bottom: 16px;
}

.field-label {
display: block;
font-weight: 500;
margin-bottom: 4px;
font-size: 15px;
}

.field-input {
width: 100%;
border: 1px solid #ddd;
border-radius: 4px;
padding: 8px 10px;
font-size: 14px;
font-family: inherit;
font-family: "IBM Plex Serif", serif;
}

.field-input:focus,
.textarea:focus {
outline: none;
border-color: #da0f10;
box-shadow: 0 0 0 1px rgba(218, 15, 16, 0.15);
}

.textarea {
min-height: 100px;
resize: vertical;
}

/* checkboxes */
.checkbox-row {
margin-top: 8px;
}

.checkbox-label {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 14px;
cursor: pointer;
}

.checkbox-input {
margin-top: 2px;
}

/* error styles */
.has-error .field-input,
.has-error .textarea {
border-color: #da0f10;
}

.form-errors-global {
background: #ffe5e7;
border: 1px solid #da0f10;
color: #7f0508;
padding: 10px 12px;
border-radius: 4px;
margin-bottom: 15px;
font-size: 14px;
}

.error-message {
margin-top: 4px;
font-size: 13px;
color: #da0f10;
}

/* submit button */
.btn-submit {
display: inline-block;
background: #da0f10;
border: none;
color: #fff;
padding: 10px 26px;
font-size: 15px;
border-radius: 20px;
cursor: pointer;
transition: background .2s, box-shadow .2s;
}

.btn-submit:hover {
background: #b70c0d;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.submit-row {
text-align: center;
margin-top: 10px;
}

.success-box {
margin-bottom: 20px;
}

.has-error .field-input,
.has-error textarea {
border: 2px solid #e63946 !important;
background-color: #fff5f5;
}
.field-row,
#success-box {
scroll-margin-top: 80px;
/* adjust to your header height */
}


/* =============== LP BYD layout =============== */

.byd-wrap {
max-width: 970px;
margin: 0 auto;
padding: 0 0 24px 0;
}

/* Hero BYD card */
header.byd-header {
    position: relative;
        /* background: #ffffff; */
        /* box-shadow: 0 10px 30px rgba(0, 0, 0, .08); */
        /* padding-bottom: 30px; */
        border-radius: 10px;
        overflow: hidden;
}

.img-header {
width: 100%;
display: block;
}

/* Main H1 under hero image */
.title-header-byd {
text-align: center;
margin: 20px auto 10px;
padding: 0 20px;
}

.title-header-byd h1 {
font-size: clamp(26px, 3vw, 32px);
line-height: 1.2;
}

/* Contest subtitles text */
.byd-subtitle {
font-size: clamp(16px, 2.2vw, 20px);
max-width: 850px;
margin: 0 auto 6px;
text-align: center;
padding: 0 20px;
}

.byd-subtitle span {
font-weight: 800;
}

/* Form card */
.byd-card {
background: #ffffff;
box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
padding: 0 68px 18px;
}

.byd-card h2 {
margin: 20px 150px;
font-size: 26px;
font-weight: 500;
text-align: center;
color: #eb1010;
}

/* Responsive tweaks */
@media (max-width: 900px) {
.byd-card {
padding: 0 20px 18px;
}

.byd-card h2 {
margin: 20px 30px;
font-size: 22px;
}
}

/* Grid layout for fields, like in LP-BYD */
.byd-form-grid {
display: grid;
gap: 12px;
position: relative;
}

@media (min-width: 700px) {
.byd-form-grid {
grid-template-columns: 1fr 1fr;
}

.byd-form-grid .byd-full {
grid-column: 1 / -1;
/* textarea row full width */
}
}

/* The textarea row inside grid */
.byd-form-grid .byd-full textarea {
min-height: 120px;
resize: vertical;
}

/* Optional: group of checkboxes can use this if vrei să le aliniezi mai frumos */
.byd-checks {
display: grid;
gap: 8px;
margin: 8px 0;
}

/* Mobile: header image covers nicely */
@media (max-width: 760px) {
.img-header {
object-fit: cover;
}
}

/* On very small screens, bring things tighter */
@media (max-width: 560px) {
.byd-card {
padding: 0 15px 18px;
}
}
.byd-cta {
display: block;
background: #eb1010;
color: #ffffff;
padding: 12px 16px;
border-radius: 10px;
border: none;
font-weight: 600;
cursor: pointer;
margin: 20px auto;
font-size: 25px;
line-height: normal;
}

.form-img {
position: absolute;
padding-top: 30px;
width: 30%;
right: 0;
bottom: 0px;
display: block;
}


input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    font-family: "IBM Plex Serif", serif;
/* width: 100%;
padding: 12px;
border-radius: 10px;
border: 1.5px solid #d1d5db;
background: #ffffff;
font-size: 16px; */
}
.popup-meniu form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
}

.popup-meniu.active {
    opacity: 1;
    visibility: visible;
}

.popup-meniu .inchide-search {
    position: absolute;
    top: 10px;
    right: 16px;
    cursor: pointer;
    font-weight: bold;
}



/*======================NEW FORM CSS==========================*/
/* === CONTAINER (the form card) === */
.contest-form {
    max-width: 550px;
    /* same as .form-body form */
    margin: 0 auto;
    background-color: #ffffff;
}

/* === LAYOUT: two columns like original .block-50 === */
.contest-form .field-box {
    padding-bottom: 10px;
}

.contest-form .block-50 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media all and (min-width: 560px) {
    .contest-form .block-50 {
        flex-wrap: nowrap;
    }
}

.contest-form .block-50 .wrapper {
    width: 100%;
}

@media all and (min-width: 560px) {
    .contest-form .block-50 .wrapper {
        width: 49%;
    }
}

/* full-width rows */
.contest-form .block-100 {
    width: 100%;
}

.contest-form .form-row {
    width: 100%;
}

/* === INPUTS / TEXTAREA (same as form-body + global input styles) === */
.contest-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.contest-form textarea,
.contest-form select {
    font-family: "IBM Plex Serif", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    background-color: #FFF;
    font-weight: 300;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.45);
    outline: none;
    width: 100%;
    margin: 0 0 10px;
    padding: 16px 17px 14px;
}

.contest-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.contest-form textarea:focus,
.contest-form select:focus {
    border: 1px solid #d83326;
    background-color: #FFF;
}

.contest-form ::placeholder {
    color: #222222;
}

/* file input + title */
.contest-form .form-title-image {
    font-weight: 700;
    text-align: center !important;
}

.contest-form .image-field {
    width: 100%;
}

/* textarea spacing (like .form-body textarea) */
.contest-form textarea {
    margin: 10px 0 16px;
}

/* === CHECKBOXES (same as original #chk / #abonareNL) === */
#abonareNL {
    cursor: pointer;
    margin-top: 5px;
}

#chk,
#chksecond,
#newsletter {
    margin-right: 4px;
    margin-bottom: 8px;
    width: 13px;
    height: 13px;
    float: left;
    margin-top: 5px;
    cursor: pointer;
}
@media (min-width: 980px) {
    .controller_mireasa {
        /* width: 970px; */
        padding: 35px 110px;
    }
}
 .controller_mireasa p {
     font-size: 18px;
     text-align: left;
     margin-bottom: 16px;
     line-height: 1.4;
     color: #000000;
 }
label.container p {
    display: table;
    margin-bottom: 0;
}

.regulament-label {
    display: table;
}

.regulament-label a {
    text-decoration: underline;
}

/* === ERROR MESSAGES === */
.eroarez,
.eroarezcheckbox {
    display: none;
    color: red;
    margin-bottom: 20px;
    transition: all 0.4s;
}

/* you can add a helper if you show them via JS / validation */
.has-error .eroarez {
    display: block;
}

/* === SUBMIT BUTTON (override generic red fill) === */
.contest-form button,
.contest-form input[type="submit"] {
    background-color: #ffffff;
    border: 1px solid #d83326;
    color: #d83326;
    font-weight: 400;
    margin: 16px auto 0;
    display: block;
    width: 100%;
    text-transform: uppercase;
    padding: 16px 35px;
    cursor: pointer;
}

.contest-form button:hover,
.contest-form input[type="submit"]:hover {
    background-color: #d83326;
    color: #ffffff;
}

/* === LEGEND TEXT === */
.contest-form .legend {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

/* ORIGINAL MIREASA FORM STRUCTURE */
.article-column.form-body form {
    max-width: 550px;
    margin: 0 auto;
}

.field-box {
    margin-bottom: 20px;
    width: 100%;
}

.block-50 {
    float: left;
    width: 50%;
}

@media (max-width: 680px) {
    .block-50 {
        width: 100%;
    }
}

.block-100 {
    width: 100%;
}

.form-row.wrapper {
    /* margin-bottom: 15px; */
    width: 100%;
}

.form-row-file {
    margin: 25px 0;
}

/* INPUTS */
.form_text.in {
    width: 100%;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.35);
    font-size: 16px;
    color: #222;
    outline: none;
    border-radius: 0 !important;
}

.form_text.in:focus {
    border: 1px solid #d83326;
}

/* FILE FIELD TITLE */
.form-title-image {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* CHECKBOXES */
.container {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: block;
    user-select: none;
    font-size: 16px;
    margin-bottom: 10px;
}

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    border: 1px solid #000;
    background-color: #fff;
}

.container input:checked~.checkmark {
    background-color: #000;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked~.checkmark:after {
    display: block;
}

.container .checkmark:after {
    left: 6px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ERROR MESSAGES */
.eroarez {
    color: #d83326 !important;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.has-error .eroarez {
    display: block !important;
}

/* SUBMIT BUTTON */
.send {
    width: 100%;
    background: transparent;
    color: #d83326;
    border: 1px solid #d83326;
    padding: 20px 0;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    font-family: "IBM Plex Serif", serif;
}

.send:hover {
    background: #d83326;
    color: #fff;
}

/* LEGEND */
.legend {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

.popup-meniu #search-box {
    font-size: 16px;
    line-height: 32px;
    color: #222;
    background-color: #FFF;
    border: solid 1px #bbb;
    width: 100%;
    margin: 15px 0;
    padding: 3px 10px;
}
.inchide-search {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #eee;
    color: #000;
    font-weight: 700;
    width: 26px;
    height: 26px;
    text-align: center;
    cursor: pointer;
    font-family: "IBM Plex Sans", serif;
    border-bottom-left-radius: 4px;
}
.popup-meniu input[type="submit"] {
    background-color: #DA0F10;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 25px;
    cursor: pointer;
    border:0px;
}
.popup-meniu .ex-h1 {
    font-size: 24px;
    line-height: 32px;
    display: block;
    width: 100%;
}
.popup-meniu {
    display: none;
    position: fixed;
    top: 50%;
    right: 0;
    left: 0;
    z-index: 4;
}

.popup-meniu.active {
    display: block;
    z-index: 99999;
}

.popup-meniu form {
    background-color: #FFF;
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 20px 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media all and (min-width: 700px) {
    .popup-meniu form {
        padding: 30px 40px 50px;
    }
}

.popup-meniu form h1,
.popup-meniu form .ex-h1 {
    width: 100%;
}

@media all and (min-width: 700px) {

    .popup-meniu form h1,
    .popup-meniu form .ex-h1 {
        letter-spacing: -1.5px;
    }
}

.popup-meniu form input[type=search] {
    font-family: "IBM Plex Sans", sans-serif;
    margin: 0;
    border-right: 0;
    width: calc(100% - 80px);
    font-weight: 400;
}

@media all and (min-width: 700px) {
    .popup-meniu form input[type=search] {
        width: calc(100% - 100px);
    }
}

.popup-meniu form input[type=submit] {
    font-family: "IBM Plex Sans", sans-serif;
    margin: 0;
    width: 80px;
    padding-left: 0;
    padding-right: 0;
    font-weight: 400;
    font-size: 14px;
}

@media all and (min-width: 700px) {
    .popup-meniu form input[type=submit] {
        width: 100px;
        font-size: 16px;
    }
}

.popup-meniu ul {
    list-style-type: none;
    background-color: #FFF;
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

@media all and (min-width: 1020px) {
    .popup-meniu ul {
        max-width: 700px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        font-size: 18px;
    }
}

@media all and (min-width: 1020px) {
    .popup-meniu li {
        width: 49%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.popup-meniu li a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media all and (min-width: 1020px) {
    .popup-meniu li a {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding: 10px 20px;
    }
}

@media (hover: hover) {
    .popup-meniu li a:hover {
        background-color: #DA0F10;
        color: #FFF;
    }
}

.popup-meniu li:last-child a {
    border-bottom: none;
}

@media all and (min-width: 1020px) {
    .popup-meniu li.mobile-only {
        display: none;
    }
}

.popup-meniu .close {
    top: 15px;
    right: 15px;
    position: fixed;
}