﻿/* Style used in HeaderMenu.razor & FooterMenu.razor: for KAVX logo*/
.logo {
    width: auto;
    height: 100px;
    align-content: center;
}

    .logo img {
        height: 100%; /* Fill the anchor vertically */
        width: auto; /* Preserve aspect ratio */
        max-height: 100%; /* Prevent image overflow */
    }

/* Style used in HeaderMenu.razor: for selected language*/
.language_flag {
    height: 1.5rem;
    /*margin: auto;*/
    border: 1px solid var(--neutral-layer-3);
    margin-top: 5px;
}

/* Style used in FooterMenu.razor: Connect With Us =. Social Medias*/
.content-on-right {
    margin-left: auto; /* Cette propriété pousse le conteneur à l'extrémité droite */
    align-items: flex-end;
    align-content: flex-end;
}

.social_media_link {
    height: 40px;
    padding-right: 5px;
    padding-left: 5px;
}

.social_media_img:hover {
    background: #0c77fb;
}


/* Style used in KAVXCompSubMenuExtensible.razor */
.container-subMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px; /* Ajoutez un espace autour du contenu si nécessaire */
    border-bottom: 1px solid #ebebeb;
}
/* Style used in ComputeButton*/
.container_button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px; /* Ajoutez un espace autour du contenu si nécessaire */
    /*padding-right: 5vw;*/ /* Ajoutez un espace autour du contenu si nécessaire */
}

/* Style used in KAVXCompAntennaRequirements to display Selected Band*/
.band-card {
    display: inline-block;
    background-color: #87ceeb;
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 0.7rem;
    margin: 0.5rem 0.3rem;
    font-weight: 700;
}
/* Style used in KAVXCompAntennaRequirements to display "X" of Selected Band*/
.delete-band {
    background: none;
    border: none;
    color: white;
    padding: 0.2rem 0.2rem 0.3rem 0.5rem;
    cursor: pointer;
}

    .delete-band:hover {
        color: red;
    }

/* Style used in KAVXCompAntennaRequirements & PCBDesign: To display the parameters label and input*/
.form-field {
    display: flex;
    margin: 0.5rem;
    align-items: center;
}

    .form-field > label {
        min-width: 13.5rem;
    }

    .form-field > div {
        flex-grow: 1;
    }

/* Style used in KAVXCompOverlayLoading */
.spinner-container {
    position: absolute; /* Position the spinners absolutely */
    display: flex;
    justify-content: center;
    align-items: center;
    top: 33%; /* Position at the vertical center */
    left: 48.75%; /* Position at the horizontal center */
}

.overlayLabel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,98,177,0.3);
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-top: 15px;
    border-radius: 20px;
    box-shadow: 0px 0px 50px 6px rgba(245, 70, 6, 0.3);
}

.spinner-border {
    width: 3em;
    height: 3em;
    cursor: not-allowed;
    border-radius: 50%;
    border: 0px solid #444;
    box-shadow: -10px -10px 10px #6359f8, 0px -10px 10px 0px #9c32e2, 10px -10px 10px #f36896, 10px 0 10px #ff0b0b, 10px 10px 10px 0px#ff5500, 0 10px 10px 0px #ff9500, -10px 10px 10px 0px #ffb700;
    animation: rotate_3922 0.7s linear infinite;
}

@keyframes rotate_3922 {
    to {
        transform: rotate(360deg);
    }
}

/* Style used in EveryWhere */
.input_as_fluent {
    appearance: none;
    color: inherit;
    background: transparent;
    border: 0px;
    height: calc(100% - 4px);
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 calc(var(--design-unit) * 2px + 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    outline: none;
    box-sizing: border-box;
    position: relative;
    color: inherit;
    border: calc(var(--stroke-width) * 1px) solid transparent;
    border-radius: calc(var(--control-corner-radius) * 1px);
    height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: padding-box linear-gradient(var(--neutral-fill-input-rest),var(--neutral-fill-input-rest)),border-box var(--neutral-stroke-input-rest);
}

    .input_as_fluent:hover {
        background: border-box;
        background-color: rgba(204, 204, 204,0.5);
        border: calc(var(--stroke-width) * 1px) groove;
        border-bottom: calc(var(--stroke-width) * 1px) solid;
    }

    .input_as_fluent:focus {
        appearance: none;
        color: inherit;
        background: transparent;
        border: 0px;
        height: calc(100% - 4px);
        margin-top: auto;
        margin-bottom: auto;
        padding: 0 calc(var(--design-unit) * 2px + 1px);
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        width: 100%;
        outline: none;
        box-sizing: border-box;
        position: relative;
        color: inherit;
        border: calc(var(--stroke-width) * 1px) solid transparent;
        border-radius: calc(var(--control-corner-radius) * 1px);
        height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        background: padding-box linear-gradient(var(--neutral-fill-input-rest),var(--neutral-fill-input-rest)),border-box var(--neutral-stroke-input-rest);
    }

    .input_as_fluent:disabled {
        cursor: not-allowed;
        color: rgba(50, 49, 48, 0.3);
    }

.container_bands {
    display: flex;
    width: 100%;
    align-items: center;
    flex-grow: 1;
}

.image-style {
    width: 200px; /* Set width */
    height: 200px; /* Set height */
    object-fit: contain; /* Fit image without distortion */
}

.image-MCTC-style {
    width: 5rem; /* Set width */
    height: 6rem; /* Set height */
}


.notice_bottom {
    height: auto;
    background-color: #222222;
    color: #FFFFFF;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    z-index: 10;
    flex-direction: row;
    font-family: var(--body-font);
    font-weight: normal;
    font-size: var(--type-ramp-minus-1-font-size);
    line-height: var(--type-ramp-minus-1-line-height);
    text-align: center;
}

/* Style used in FooterMenu.razor: Connect With Us =. Social Medias*/
.footer-content-on-right {
    margin-left: auto; /* Cette propriété pousse le conteneur à l'extrémité droite */
    align-items: flex-end;
    align-content: flex-end;
    margin-right: 1rem;
}

.container-for-logo-and-socialmedias {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 450px) {
    .footer-content-on-right {
        margin-left: 1rem; /* Cette propriété pousse le conteneur à l'extrémité droite */
        align-items: center;
        align-content: center;
        margin-right: auto;
    }

    .container-for-logo-and-socialmedias {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .notice_bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
}

.container-for-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

/*style="padding: 5px; height: 100px; width: 100%; display: flex; align-items: center; min-width:300px"*/

.content-on-right-language {
    display: flex;
    flex-direction: column;
    margin-left: auto; /* Cette propriété pousse le conteneur à l'extrémité droite */
    align-items: flex-end;
    align-content: flex-end;
}

@media screen and (max-width: 550px) {
    .container-for-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-right: 0rem;
        padding-left: 0rem;
    }

    .content-on-right-language {
        margin-left: 1rem; /* Cette propriété pousse le conteneur à l'extrémité droite */
        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: center;
        margin: 0.25rem;
    }

    .language_flag {
        height: 1.5rem;
        /*margin: auto;*/
        border: 1px solid var(--neutral-layer-3);
        margin-left: 5px;
        margin-top: 0px; 
    }
}

.banner-header-small-screen {
    display: none;
}

.wrapper-banner-header-small-screen {
    display: none;
}

.title_style {
    margin-left: 1rem;
    display: block;
}

@media screen and (max-width: 800px) {
    .title_style {
        display: none;
    }

    .banner-header-small-screen {
        display: flex;
        width: 100%;
        background: #0c1923;
        align-items: center;
        justify-content: center;
        min-height: 3rem;
    }

    .wrapper-banner-header-small-screen {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}
