/*----------------------------------------------------------
GENERAL
----------------------------------------------------------*/
body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    color: var(--color-1);
}

.quotation-page-wrapper {
    margin: 3rem var(--padding-general-left);
}

.quotation-page-wrapper form{
    padding: 1rem 5%;
}

/*----------------------------------------------------------
QUOTATION TABLE
----------------------------------------------------------*/
h1 {
    font-family: var(--secondary-font);
    text-align: center;
    text-decoration: underline;
}

table.quotation {
    width: 100%;
    border-collapse: collapse;
}

.quotation img {
    width: 7rem;
}

.quotation tr {
    position: relative;
    border-bottom: 1px solid grey;
}

.quotation td {
    text-align: center;
    color: var(--color-black);
}

.quotation td i {
    opacity: 0.5;
    color: var(--color-1);
    transition: all 0.3s;
}

.quotation td i:hover {
    color: red;
    opacity: 1;
    cursor: pointer;
    transform: scale(110%);
}

.quotation tfoot td {
    color: var(--color-1);
}

.quotation tfoot td:nth-child(odd) {
    text-align: right;
}

/*----------------------------------------------------------
WARNING
----------------------------------------------------------*/
.warning {
    display: block;
    margin: 2rem 0;
    font-size: 25px;
    text-align: center;
    color: red;
}

/*----------------------------------------------------------
DESCRIPTION
----------------------------------------------------------*/
h2 {
    margin-bottom: 0.5rem;
    text-decoration: underline;
}

.project-description {
    border-radius: 15px;
    box-sizing: border-box;
    padding: 0.5rem;
    width: 100%;
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
}

.project-description:focus-visible {
    outline-color: var(--color-1);
}

/*----------------------------------------------------------
ADDRESSES
----------------------------------------------------------*/
.address-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid grey;
    border-radius: 15px;
    padding: 1rem;
}

.address-wrapper label {
    display: flex;
    flex-direction: column;
    margin: 0.5rem 0;
}

.address-wrapper input[type=text] {
    border-radius: 5px;
    border-color: var(--color-3);
    border-style: solid;
    padding: 0.5rem;
    font-family: var(--main-font);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}

.address-wrapper input[type=text]:focus-visible {
    /* border-color: var(--color-1); */
    outline-color: var(--color-1);
}

.address-wrapper label[for=for-entreprise] {
    flex-direction: row;
}

/*----------------------------------------------------------
CGV
----------------------------------------------------------*/
.cgv {
    display: block;
    margin: 1rem 0;
}

/*----------------------------------------------------------
SEND MY REQUEST
----------------------------------------------------------*/
input.send-my-request {
    border: none;
    border-radius: 10px;
    padding: 0.8rem 0;
    background-color: var(--color-4);
    width: 100%;
    font-family: var(--secondary-font);
    font-size: 20px;
    color: white;
}

input.send-my-request:enabled {
    cursor: pointer;
    transition: 1s all;
}

input.send-my-request:enabled:hover {
    filter: brightness(105%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(-0.1rem);
}

input.send-my-request:disabled {
    opacity: 0.4;
}

/*----------------------------------------------------------
FOOTER
----------------------------------------------------------*/
footer {
    color: white;
}

/*----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
MEDIA QUERIES
------------------------------------------------------------
------------------------------------------------------------
----------------------------------------------------------*/
@media screen and (max-width: 767px) {
    nav i {
        color: white;
    }

    .quotation-page-wrapper {
        margin: 4rem 0rem 1rem;
    }

    .quotation-page-wrapper h1 {
        font-size: 30px;
        margin-top: 0;
    }

/*----------------------------------------------------------
QUOTATION TABLE
----------------------------------------------------------*/
    .quotation-wrapper {
        overflow-x: scroll;
    }

    .quotation th, .quotation td {
        font-size: 1rem;
    }

}