:root {
    --dark: #272b31;
    --ink: #111;
    --muted: #686868;
    --line: #191919;
    --accent: #04aebc;
    --page: #fff;
}
/**/
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: "Gotham-Book";
}
a {
    color: inherit;
    text-decoration: none;
}
.d-none{
    display: none!important;
}
/**/
/*menu*/
.menu-holder {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:clamp(0.8rem, 1.042vw, 1.875rem) clamp(7rem, 6.875vw, 12.375rem);
    color: #fff;
    background: var(--dark);
}
picture img{
    width: clamp(10rem, 10.313vw, 18.563rem);
}
.menu-toggle{
    display: none;
}
.menu-links{
    display: flex;
    gap:clamp(1.8rem, 2.083vw, 3.750rem);
    font-size: clamp(0.9rem, 1.042vw, 1.875rem);
}
/**/
/**/
/*home*/
.home{
    background-position: top right;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding:clamp(7rem, 8.333vw, 15.000rem);
    position: relative;
}
.home.nat{
    background-image: url(../images/bg-main.png);
}
.home.dm,
.home.tei{
    background-image: url(../images/bg-home.png);
}
.home .hero-holder{
    width: fit-content;
    text-align: center;
}
.home .hero-holder h1,
.home .hero-holder small{
    font-size: clamp(2.5rem, 2.500vw, 4.500rem);
    line-height: 1.3;
}
.prem-holder{
    display: flex;
    flex-grow: 1;
    margin:0 auto clamp(1.250rem, 1.042vw, 1.875rem);
    justify-content: center;
}
.home.nat .prem-holder{
    gap:clamp(2.500rem, 2.083vw, 3.750rem);
}
.home.dm .prem-holder,
.home.tei .prem-holder{
    gap:clamp(1.250rem, 1.042vw, 1.875rem);
}
.home.nat .prem-item img{
    width: clamp(12rem, 14.063vw, 25.313rem);
    height: auto;
}
.home.dm .prem-item img,
.home.tei .prem-item img{
    width:clamp(13.125rem, 10.938vw, 19.688rem);
}
.hero-holder span{
    font-size: clamp(0.8rem, 0.833vw, 1.500rem);
}
/**/
.back-link {
    position: absolute;
    top:clamp(3.125rem, 2.604vw, 4.688rem);
    left: clamp(9.375rem, 7.813vw, 14.063rem);
    margin-bottom: clamp(20px, 3vw, 34px);
    color: #2d2d2d;
    font-size: clamp(1.125rem, 0.938vw, 1.688rem);
}

.back-link::before {
    content: "<";
    margin-right: clamp(0.375rem, 0.313vw, 0.563rem);
}
/*home*/
/*mec*/
.mec-holder{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:clamp(2.2rem, 2.083vw, 3.750rem);

}
.mec-holder h2{
    font-size:clamp(2.625rem, 2.188vw, 3.938rem);
}
.mec-holder h2,
.mec-holder span{
    flex-basis: 100%;
}
.mec-holder .mec-item{
    width: clamp(23.000rem, 19.167vw, 34.500rem);
    border:clamp(0.125rem, 0.104vw, 0.188rem) solid var(--ink);
    display: flex;
    flex-direction: column;
    padding: clamp(1.375rem, 1.146vw, 2.063rem) 0;
    background-color: #fff;

}
.mec-holder .mec-item img{
    height: clamp(11.125rem, 9.271vw, 16.688rem);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;

}
.mec-holder span{
    font-size: clamp(1.375rem, 1.146vw, 2.063rem);
}
/*mec*/
/**/
/*form*/ /**/
.entry-section {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 48px) 24px;
}
.entry-section h2 {
    margin: 0 0 42px;
    text-align: center;
    text-transform: uppercase;
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: 0;
}
.entry-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}
.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 66px;
    width: 100%;
}
.form-grid label {
    position: relative;
    /*display: flex;*/
    flex: 1 1 calc(50% - 33px);
    min-width: 280px;
}
/*.form-grid > label.select-field > span {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #1d1d1d;
    font-size: 15px;
    pointer-events: none;
}*/
.form-grid input,
.form-grid select {
    width: 100%;
    height: 45px;
    border: 2px solid var(--line);
    border-radius: 0;
    padding: 10px 18px 10px 24px;
    background: #fff;
    color: #111;
    font: inherit;
}
.form-grid input {
    /*padding-left: 120px;*/
}
.form-grid .validator{
    top:-50%;
    transform: none;
    font-size:10px;
    color:red;
}
.form-grid label:nth-child(5) input,
.form-grid label:nth-child(6) input {
    /*padding-left: 205px;*/
}
.select-field {
    max-width: calc(50% - 33px);
}
.captcha-field {
    position: relative;
}
.captcha-field input {
    padding-right: 132px;
}
.captcha-item {
    position: absolute;
    top: 8px;
    right: 14px;
    width: auto !important;
    height: 34px !important;
}
.form-grid select {
    appearance: none;
    padding-left: 112px;
    color: #8a8a8a;
    background:
        linear-gradient(45deg, transparent 50%, #222 50%) calc(100% - 23px) 18px / 8px 8px no-repeat,
        linear-gradient(135deg, #222 50%, transparent 50%) calc(100% - 17px) 18px / 8px 8px no-repeat,
        #fff;
}
.checks {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    max-width: 820px;
    font-size: 15px;
}
.checks label {
    /*display: flex;*/
    align-items: flex-start;
    gap: 9px;
    line-height: 1.25;
}
.checks .check-text {
    flex: 1 1 auto;
}
.checks a {
    color: #111;
    text-decoration: underline;
}
.checks .validator {
    display: block;
    margin-top: 4px;
    color: #c40000;
    font-size: 13px;
}
.checks input {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 2px;
    accent-color: var(--accent);
}
.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 380px);
    min-height: 58px;
    border: 0;
    background: #000;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.submit-button:hover,
.submit-button:focus-visible {
    background: #173f44;
}
/*legal*/ /**/
.legal-text {
    width: min(100%, 770px);
    margin: 0 auto;
    padding: 10px 20px 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.18;
}
.legal-text p {
    margin: 0 0 4px;
}
/**/

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 24px 20px 34px;
    text-align: center;
    text-transform: uppercase;
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    letter-spacing: 0;
}
.site-footer a:hover,
.site-footer a:focus-visible {
    color: #008f99;
}

.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
}
.contact-popup.is-open {
    display: flex;
}
.contact-popup__dialog {
    position: relative;
    width: min(100%, 560px);
    border: 2px solid var(--line);
    background: #fff;
    padding: 28px 32px 26px;
    color: #111;
    font-family: "Gotham-Book";
    text-align: left;
}
.contact-popup__close, .castigatori-popup__close  {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}
.contact-popup h2 {
    margin: 0 38px 22px 0;
    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}
.contact-popup p {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.35;
}
.contact-popup a {
    color: #006fc9;
    text-decoration: underline;
}
.message-popup__dialog {
    text-align: center;
}
.message-popup #message-type:empty {
    display: none;
}
.message-popup #message-text {
    display: block;
}

/* chosen select */
.form-grid .chosen-container {
    width: 100% !important;
    font-family: "Gotham-Book";
    font-size: 15px;
}

.form-grid .chosen-container-single .chosen-single {
    height: 45px;
    border: 2px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: #111;
    line-height: 41px;
    padding: 0 44px 0 24px;
}

.form-grid .chosen-container-single .chosen-single span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0;
    color: #111;
}

.form-grid .chosen-container-single .chosen-single div {
    width: 42px;
}

.form-grid .chosen-container-single .chosen-single div b {
    background: none;
    position: relative;
}

.form-grid .chosen-container-single .chosen-single div b::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 17px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: translateY(-65%) rotate(45deg);
}

.form-grid .chosen-container-active.chosen-with-drop .chosen-single {
    /*border-color: var(--accent);*/
    background: #fff;
    box-shadow: none;
}

.form-grid .chosen-container-active.chosen-with-drop .chosen-single div b::before {
    transform: translateY(-35%) rotate(225deg);
}

.form-grid .chosen-container .chosen-drop {
    margin-top: -2px;
    border: 2px solid var(--line);
    border-top: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.form-grid .chosen-container .chosen-search {
    padding: 8px;
}

.form-grid .chosen-container .chosen-search input[type="text"] {
    height: 34px;
    border: 1px solid #d5dce2;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: #111;
    font-family: "Gotham-Book";
    font-size: 14px;
    padding: 6px 30px 6px 10px;
}

.form-grid .chosen-container .chosen-results {
    margin: 0;
    padding: 0;
    max-height: 245px;
    color: #111;
}

.form-grid .chosen-container .chosen-results li {
    padding: 9px 14px;
    height: auto;
    min-height: 0;
    line-height: 1.25;
    font-size: 15px;
    white-space: normal;
}

.form-grid .chosen-container .chosen-results li.highlighted {
    background: var(--accent);
    color: #fff;
}

.form-grid .chosen-container .chosen-results li.result-selected {
    background: #fff;
    color: #111;
    font-family: "Gotham-Book";
}

.form-grid .chosen-container .chosen-results li.result-selected.highlighted {
    background: var(--accent);
    color: #fff;
}

.form-grid .chosen-container .chosen-results li.no-results {
    background: #fff;
    color: var(--muted);
}
.chosen-container-single .chosen-single div{
    top:0px;
}

@media (min-width: 768px) and (max-width: 1440px){
    .home.nat {
        background-image: url(../images/bg-main-tab.png);
        background-color: #dedee0;
    }

    .home.dm,
    .home.tei{
        background-image: url(../images/bg-home-tab.png?r=1);
        background-color: #dedee0;
    }
}
@media (min-width: 901px) and (max-width: 1100px){
    .home.dm,
    .home.tei{
        padding: 50px;
    }
    .back-link {
        top: 25px;
    }
}
/**/
@media (max-width: 900px){
    .menu-holder{
        padding: 0.8rem 2rem;
    }
    picture img{
        width: 6.2rem;
    }
    .menu-toggle{
        display: block;
        background-color: transparent;
        border:0 transparent;
        outline:none;
    }
    .menu-toggle svg{
        stroke: #fff;
    }
    .menu-links:not(.show){
        display: none;
    }
    .menu-toggle line {
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }
    /* The Animation Logic */ /*de la ai nu de la mine*/
    .menu-toggle.is-active .top {
        transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle.is-active .middle {
        opacity: 0;
    }
    .menu-toggle.is-active .bottom {
        transform: translateY(-6px) rotate(-45deg);
    }
    /* The Animation Logic */ /*de la ai nu de la mine*/
    .menu-links.show{
        position: absolute;
        bottom: 0;
        transform: translateY(100%);
        right: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        background-color: var(--dark);
        width: 50%;
        padding:1rem 1rem 1rem 2rem;
        font-size: 1.4rem;
    }
    /**/
    /*home*/
    .home{
        background-position: top right;
        background-size: 100% auto;
        background-repeat: no-repeat;
        padding:clamp(12.000rem, 41.667vw, 30.000rem) clamp(1.250rem, 2.604vw, 1.875rem) clamp(1.875rem, 3.906vw, 2.813rem);
        position: relative;
        background-color: #dbdbdb;
    }
    .home.nat{
        background-image: url(../images/bg-main-mb.png?r=1);
    }
    .home.dm,
    .home.tei{
        background-image: url(../images/bg-main-mb.png?r=1);
    }
    .home .hero-holder{
        width: 100%;
    }
    .home .hero-holder h1,
    .home .hero-holder small{
        font-size: clamp(1.875rem, 3.906vw, 2.813rem);
    }
    .prem-holder{
        display: flex;
        flex-grow: 1;
        margin:0 auto clamp(1.250rem, 1.042vw, 1.875rem);

    }
    .home.nat .prem-holder{
        gap:clamp(1.250rem, 2.604vw, 1.875rem);
    }
    .home.dm .prem-holder,
    .home.tei .prem-holder{
        gap:clamp(1.250rem, 1.042vw, 1.875rem);
    }
    .home.nat .prem-item img{
        width: clamp(9.375rem, 19.531vw, 14.063rem);
        height: auto;
    }
    .home.dm .prem-item img,
    .home.tei .prem-item img{
        width:clamp(6.250rem, 13.021vw, 9.375rem);
    }
    /**/
    /*mec*/
    .mec-holder{
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap:0;
    }
    .mec-holder h2{
        font-size:clamp(2.625rem, 2.188vw, 3.938rem);
        margin: clamp(1.250rem, 2.604vw, 1.875rem) 0 0 ;
    }
    .mec-holder h2,
    .mec-holder span{
        flex-basis: 100%;
    }
    .mec-holder .mec-item{
        width: 70%;
        border:clamp(0.125rem, 0.104vw, 0.188rem) solid var(--ink);
        display: flex;
        flex-direction: column;
        padding: clamp(1.375rem, 1.146vw, 2.063rem) 0;
        margin-top:clamp(1.250rem, 2.604vw, 1.875rem);

    }
    .mec-holder .mec-item img{
        height:clamp(8.750rem, 18.229vw, 13.125rem);
        width: auto;
        object-fit: contain;
        flex-shrink: 0;
        aspect-ratio: 1 / 1;

    }
    .mec-holder .mec-item:last-of-type {
        margin-bottom:clamp(1.250rem, 2.604vw, 1.875rem);
    }
    .mec-holder .mec-item  span{
        font-size: clamp(1.063rem, 2.214vw, 1.594rem);
    }
    .mec-holder  span{
        font-size: clamp(0.938rem, 1.953vw, 1.406rem);
    }
    /*mec*/
    .back-link {
        position: relative;
        top:initial;
        left:initial;
        font-size: clamp(0.813rem, 1.693vw, 1.219rem);
    }
    /*footer*/
    .site-footer{
        flex-direction: column;
    }
    .site-footer span{
        display: none;
    }
    .contact-popup__dialog {
        padding: 24px 20px 22px;
    }
    .contact-popup h2 {
        font-size: 28px;
    }
    .contact-popup p {
        font-size: 18px;
    }

    .checks label {
        display: block;
    }

    .select-field {
        max-width: 100%;
    }
    .form-grid select {
        padding: 10px 18px 10px 24px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi){
    .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span, .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container-single .chosen-search input[type=text], .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-rtl .chosen-search input[type=text] {
        background-image: none !important;
    }
}
