:root {
    --color1:#009cda;
    --color2:#ffffff;
    --color3:#da00da;
    --color4:#868686;
    --color5:#d6f3ff;
    --color6:yellowgreen;
    ;
}
html {
    scroll-behavior: smooth;
}
  
/* Layout CSS */
body {
    margin: 0;
    padding-top: 56px; /* Height of the navbar */
}
#notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    /* display: none; */
}
.notification-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color2);
    text-align: center;
    /* background-color: var(--color2);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    */
    z-index: 1001;
    width: 96vw;
    max-width: 570px;
    height: 96vh;
    max-height: 570px;
    /* display: none; */
}
.wrap {
    width: 100%;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
footer {
    background: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.site-index {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.text-black {
    color: black;
}
/* Intro */
.outer-intro {
    display: flex;
    /*min-height: calc(100vh - 56px);*/
    flex-wrap: wrap;
    align-items: center;
    background-image: url('/images/zap.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 50%;
    background-color: var(--color1);
    color: var(--color2);
    padding: 20px 20px 0px 20px;
}
.parallelogram2 {
    position: absolute;
    top: 56px; /* Ajustez la position verticale pour ajuster la hauteur */
    left: 0;
    right: 0;
    height: 100%;
    background-color: #00648c;
    clip-path: polygon(0 50%, 100% 30% , 100% 70%, 0 95%);
    z-index: 0;
  }
.inner-intro {
    flex: 1;
    min-width: 50%;
    box-sizing: border-box;
    padding: 20px 20px 0px 20px;
    text-align: center;
    z-index: 1;
}
.inner-intro .button {
    display: inline-block;
    background-color: var(--color1);
    color: var(--color2);
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 50px; /* Rounded left and right */
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.inner-intro .button.outline {
    background-color: var(--color2);
    color: var(--color1);
}
.inner-intro .button:hover {
    background-color: var(--color6);
    color: var(--color2);
}
/* facts */
.facts {
    margin-top: 55px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-bottom: 54px;
}
.fact-container {
    flex: 1;
    min-width: 25%;
    box-sizing: border-box;
    padding : 20px 20px 0px 20px;
    text-align: center;
}
.fact-container .list {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.fact-container .list ul {
    padding-inline-start: 0px;
    list-style-type:square;
}
.fact-container h3 {
    color: var(--color1);
}
/* section */
.section-title {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding-top: 26px;
}
.section-title .logo {
    height: 50px;
}
.section-title .text {
    max-width: 66vw;
}
.section-title .text p {
    margin-bottom: 0;
    padding-bottom: 25px;
}
.section-blue {
    background-color: var(--color1);
    color: var(--color2);
}
.section-white {
    background-color: var(--color2);
    color: var(--color1);
}

/* appk */
#appk {
    scroll-margin-top: 56px;
}
.appk-logo {
    background-color: var(--color2);
    border-radius: 50%;
    padding: 2px;
}
.appk-title {
    text-align: center;
    background-color: var(--color1);
    color: var(--color2);
    padding-top: 56px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.appk_section {
    background-color: var(--color1);
    color: var(--color2); 
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: space-around;
    padding: 54px 2vw 54px 2vw;
}
.appk_section ul {
    padding-left: 5vw;
    list-style-type:none;
    text-align: left;
}
.appk-container {
    flex: 1;
    min-width: 25%;
    box-sizing: border-box;
    padding : 20px 20px 0px 20px;
    text-align: center;
}
.appk_buttons {
    width: 100%;
    background-color: var(--color1);
    padding-bottom: 52px;
}
.appk_buttons .download-logo {
    padding-right: 5px;
    padding-bottom: 7px;
}
.buttons_container {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
.button {
    display: inline-block;
    background-color: var(--color1);
    color: var(--color2);
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 50px; /* Rounded left and right */
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.4s;
    border: 1px solid var(--color2);
}
.button-reverse {
    background-color: var(--color2);
    color: var(--color1);
}
.button.outline {
    background-color: var(--color2);
    border: var(--color2) 1px solid;
    color: var(--color1);
}
.button:hover {
    background-color: var(--color6);
    color: var(--color2);
}
.appk-logo-background {
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    display: inline-block;
}
/* mise en situation */
.situation-picture {
    position: relative;
}
.situation-text {
    position: absolute;
    bottom: 10px;
}
/* form */
.form-container {
    padding-top: 30px;
}
.user-form {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 52px;
}
.user-left-form {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}
.user-left-form label {
    text-align: end;
    align-content: center;
    width: 45%;
    padding-right: 12px;
    padding-left: 12px;
}
.form-control {
    width: 45%;
}   
.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-bottom: 1rem;
}

/* user (Achat) */
#achat {
    scroll-margin-top: 56px;
}
.user-container {
    flex: 1;
    min-width: 50%;
    align-content: center;
}
.user-field {
    display: flex;
    justify-content: space-between;
}
.user-container .help-block {
    width: 93%;
    text-align: center;
    font-weight: bold;
    color: var(--color2);
    margin-top: 10px;
    margin-left: 10px;
    background-color: lightcoral;
    border-radius: 5px;
}
.user-button::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 20px;
    background: url('/images/triangle-up.svg') repeat-x;
    background-size: 20px 20px;
}
.user-button::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 20px;
    background: url('/images/triangle-up.svg') repeat-x;
    transform: rotate(180deg);
    background-size: 20px 20px;
}
.user-button {
    max-width: 325px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background-color: var(--color6);
    position: relative;
    background-color: var(--color6);
}
.field-user-quantity {
    display: flex;
}
#user-quantity {
    appearance: auto;
    text-align: center;
}
.field-user-quantity .control-label {
    flex: 1;
    align-content: center;
}
#user-quantity {
    text-align: center;
    width: 4em;
}
.payment-logo {
    height: 18px;
}
.payment-infos {
    display: flex;
    align-content: center;
    justify-content: space-around;
    padding-top: 18px;
}
.payment-infos-text {
    width: 6em;
    font-size: medium;
    text-align: center;
    font-weight: bold;
    line-height: normal;
}
.port-infos-text {
    padding-top: 12px;
    font-size: small;
    text-align: center;
}

/* spec */
.spec-footer-logo {
    width: 60px;
    background-color: var(--color2);
    border-radius: 50%;
    padding: 2px;
    display: inline-block;

}
.specifications-container {
    padding-left: 10px;
    padding-right: 10px;
}
.outer-table {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 72px;
}
.inner-table {
    flex: 1;
    min-width: 33%;
    box-sizing: border-box;
}
.spec-table {
    margin-left: auto;
    margin-right: auto;
}
.spec-table th {
    background-color: antiquewhite;
    padding: 5px 10px 5px 10px;
}
.spec-table tr:nth-child(even) {
    background-color: var(--color5);
}
.spec-footer {
    display: flex;
    justify-content: space-evenly;
    padding: 50px 10% 0px 10%;
}
main > .container {
    padding: 70px 15px 20px;
}

/* .footer {
    font-size: .9em;
    height: 60px;
    z-index: 2;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
} */
.footer {
    position: relative;
    background-color: var(--color1);
    color: var(--color2);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-links-wrapper {
    background-color: var(--color1);

    padding: 15px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    text-decoration: none;
    color:var(--color2);
}

.footer-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}




.not-set {
    color: #c55;
    font-style: italic;
}
/* Contact Form */
#contactform-verifycode-image {
    border-radius: 10px;
}
#contact {
    scroll-margin-top: 56px;
}
.site-contact {
    width: 100%;
}
.outer-contact {
    display: flex;
    flex-wrap: wrap;
}
.inner-contact {
    flex: 1;
    min-width: 50%;
    box-sizing: border-box;
    padding : 20px 20px 0px 20px;
    text-align: center;
}
.inner-contact label {
    width: 29%;
}
.inner-contact .help-block {
    width: 100%;
    padding-top: 6px;
    font-weight: bold;
    color: darkblue;
}
.contact-presentation {
    max-width: 580px;
    background-color: #00719d;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 10px 10px 10px -7px rgba(0, 0, 0, 0.42);
}
.contact-title {
    background-color: var(--color6);
    margin-right: -25px;
    margin-left: -25px;
    margin-bottom: 20px;
}
.contact-title h2.success {
    background-color: var(--color6);
}
.contact-title h2.warning {
    background-color: orange;
}
.contact-title h2.error {
    background-color: red;
}
.contact-content a:first-child {
    color: var(--color6);
    text-decoration: none;
    font-weight: bold;
}
.contact-content a:first-child:hover {
    color: var(--color2);
    text-decoration: underline;
    font-weight: bold;
}
.contact-content a:first-child:visited {
    color: var(--color6);
}
.captcha-group {
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

#login-form .form-group {
    justify-content: center;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: black;
}
.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color:var(--color1);
}
.nav > li > form > button.logout:focus {
    outline: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
    .inner-intro {
        min-width: 100%;
    }
    .fact-container {
        min-width: 100%;
    }
    .appk-container {
        min-width: 100%;
    } 
    .situation-text {
        bottom: 4px;
        font-size: 0.42em;
    }
    .user-container {
        min-width: 100%;
    }
    .inner-contact {
        min-width: 100%;
    }
    .inner-table {
        min-width: 100%;
    }
    .user-left-form .form-control {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .user-left-form label {
        width: 100%;
        text-align: left;
    }
    .contact-button {
        padding-bottom: 30px;
    }
}

/* End CSS */
