html {
    display: table;
    width: 100%;
}
body {
    margin: 0;
    font-family: Roboto, Helvetica, Arial, sans-serif,  "Century Gothic"!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*
/////////////////////////////// General
 */
h1, h2, h3, h4{
    margin:0;
}

.flex{
    display: flex;
}
.column{
    flex-direction: column;
}
.row{
    flex-direction: row;
}
.justify-flex-end{
    justify-content: flex-end;
}
.justify-flex-start{
    justify-content: flex-start;
}
.justify-space-evenly{
    justify-content: space-evenly;
}
.justify-space-between{
    justify-content: space-between;
}
.justify-space-around{
    justify-content: space-around;
}
.justify-center{
    justify-content: center;
}
.align-flex-end{
    align-items: flex-end;
}
.align-flex-start{
    align-items: flex-start;
}
.align-center{
    align-items: center;
}
.text-align-center{
    text-align: center;
}
.wrap{
    flex-wrap: wrap;
}
.full-width{
    width: 100%;
    max-width: 1400px;
}
.half-width{
    width: 50%;
}
.third-width{
    width: 33%;
}
.fifth-width{
    width: 20%;
}
.sixth-width{
    width: 16%;
}
.quarter-width{
    width: 25%;
}
.min-width-80{
    min-width: 80%;
}
.min-width-75{
    min-width: 75%;
}
.min-width-70{
    min-width: 70%;
}
.min-width-60{
    min-width: 60%;
}
.margin-bottom-1{
    margin-bottom: 1rem;
}
button{
    border-radius: 10px;
    cursor: pointer;
}
form{
    width: 260px;
}
/*
//////////////////////////// Scrollbar ////////////////////
 */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.56);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #888;
}
.scroll-width-thin {
    scrollbar-width: thin;
    scrollbar-color: #b6b6b6 #f1f1f1;
}

/*
//////////////////////////// Header ///////////////////////
 */
header>div>a{
    width: 50%;
}
.logo{
    width: 100%;
    padding: 1rem;
    max-width: 500px;
}
#logo-title{
    width: 50%;
}
#header-title{
    font-weight: bold;
    font-size: 1.5rem;
}
#logo-title>h2{
    font-size: 1.335rem;
}
#header-subtitle, .title, .subtitle{
    font-weight: bold;
    font-size: 1rem;
}
#account-menu{
    width: 100%;
}
#account-menu>div{
    padding: 0 0 1rem 1rem;
}
#account-menu>div>a{
    padding-right: 1rem;
    font-weight: bold;
    color: black;
    text-decoration: none;
}
#account-menu>div>a:hover{
    text-decoration: underline;
}
/*
/////////////////////////// Main ////////////////////////
 */
#main-background, #home-background, #finance-background, #financeal-background{
    height: 450px;
    background-position-y: center;
    background-position-x: center;
    background-size: cover;
    width: 100%;
}
#main-background{
    background-image: url("../assets/background/main_background.jpg");
}
#home-background{
    background-image: url("../assets/background/home_background.png");
}
#financeal-background{
    background-image: url("../assets/background/financeal_background.png");
}
#financeal-serenite{
    position: absolute;
    max-width: 600px;
    margin-bottom: 60px;
    margin-top: -60px;
}
.content-row{
    max-width: 1400px;
}
#choice{
    max-width: 800px;
}
.title{
    padding: 2rem 0;
}
#choice>.subtitle{
    width: 100%;
    padding: 2rem;
}
.left-column>.title, .left-column>.subtitle{
    padding: 1rem 0 0 0;
    font-size: 1.5rem;

}
#choice>.title{
    padding: 0!important;
    margin-bottom: -1.5rem;
}
.choice-box{
    width: 50%;
}
.right-column>.choice-box{
    width: 100%;
}
.choice-box{
    position: relative;
    z-index: 1;
}
#choice-person{
    position: absolute;
    z-index: 0;
    max-height: 400px;
    margin-top: 15px;
    margin-left: -130px;
}
.choice-box>div{
    width: 220px;
    height: 102px;
    background-size: cover;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 1rem;
    text-shadow: 1px 1px 10px black;
}
.choice-box>div:hover{
    cursor: pointer;
}
#box-medic{
    background-image: url("../assets/box/box_medic.png");
}
#box-medic:hover{
    background-image: url("../assets/box/box_medic_hover.png");
    color: #7AE644;
}
.right-column>.choice-box>#box-medic:hover{
    background-image: url("../assets/box/box_medic.png");
    color:white;
    cursor: default;
}
#box-it{
    background-image: url("../assets/box/box_it.png");
}
#box-it:hover{
    background-image: url("../assets/box/box_it_hover.png");
    color: #7AE644;
}
.right-column>.choice-box>#box-it:hover{
    background-image: url("../assets/box/box_it.png");
    color:white;
    cursor: default;
}
#box-indus{
    background-image: url("../assets/box/box_indus.png");
}
#box-indus:hover{
    background-image: url("../assets/box/box_indus_hover.png");
    color: #7AE644;
}
.right-column>.choice-box>#box-indus:hover{
    background-image: url("../assets/box/box_indus.png");
    color:white;
    cursor: default;
}
#box-wooden{
    background-image: url("../assets/box/box_wooden.png");
}

#box-wooden:hover{
    background-image: url("../assets/box/box_wooden_hover.png");
    color: #7AE644;
}
.right-column>.choice-box>#box-wooden:hover{
    background-image: url("../assets/box/box_wooden.png");
    color:white;
    cursor: default;
}
.main-infos{
    width: 25%;
}
.main-infos>img{
    max-height: 80px;
}
.main-infos>div{
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}
#re-use-logo{
    max-width: 30%;
}
#re-use-text{
    max-width: 65%;
}
#re-use-text-container>div>div{
    height: 33%;
    display: flex;
    align-items: center;
}
#re-use-text-container{
    padding: 1rem;
    width: 100%;
    height: 127px;
    border: 2px solid rgb(145, 174, 124);
    border-radius: 5px;
    box-shadow: 1px 1px 1px #0000002e, inset 1px 1px 1px #00000036;
}
#re-use-text-container>.left-column{
    width: 70%!important;
}
#re-use-text-container>.right-column{
    width: 30%!important;
}

#re-use-text-container>.right-column>div>img{
    margin-left: -20px;
    margin-top: 10px;
}
#re-use-text-container>div{
    padding: 0!important;
}
#re-use-logo>img{
    max-width: 100%;
}
#main-content-background ~ .content-row{
    margin-top: 1rem;
}
#choice>.subtitle{
    padding-top: 5rem;
}
#choice>.subtitle~div{
    padding-bottom: 8rem;
}
.right-column{
    width: 26%;
    padding: 0.5rem 0 1rem 0;
}
.left-column{
    width: 74%;
}
.row-reverse{
    flex-direction: row-reverse;
}
#transaction>div>div>img{
    max-height:80px;
    padding: 1rem;
}
#transaction>.left-column>div{
    height: 25%;
}
#transaction>.right-column{
    width: 8%;
    padding: 0;
}
#transaction>.left-column{
    width: 92%;
}
/*
/////////////////////////////// Finance ////////////////////////
 */
#finance-background{
    background-image: url("../assets/background/finance_background.jpg");
}
@media (min-width: 2000px) {
    #finance-background{
        background-size: 80%;
        background-repeat: no-repeat;
    }
}
#title-finance{
    max-width: 1000px;
    text-align: center;
}
.title-finance{
    color: rgb(121,186,79);
    font-size: 1.2rem;
}
ol{
    list-style-position: inside;
    padding: 0;
}

li{
    padding: 1rem 1rem 0 0;
}
.li-title{
    font-weight: bold;
}
li::marker{
    font-size: 1.6rem;
    font-weight: bold;
    color: rgb(121,186,79);

}
.right-column>img{
    max-width: 200px;
}
.title-finance+div>.right-column{
    width: 15%!important;
}
.title-finance+div>.left-column{
    width: 85%!important;
}
/*
//////////////////////////////// Form ///////////////////////////
 */
.form-div{
    margin-top: 1rem;
    width: 80%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height:300px;
    padding-right: 0.5rem;
}
.error-text{
    font-size: 0.8rem;
    color: red;
}
.error{
    background-color: red!important;
}
input, textarea, select{
    background-color: white;
    border: 2px solid rgb(95,149,56);
    border-radius: 5px;
    box-shadow: 1px 1px 1px #0000002e, inset 1px 1px 1px #00000036;
}
textarea{
    resize: vertical;
    margin-bottom: 0.5rem;
    min-height: 60px;
}
label{
    min-height: 27px;
}
input:disabled, textarea:disabled, select:disabled{
    border-color: grey;
    background-color: lightgrey;
}
input:focus, textarea:focus{
    border-color: #7AE644;
    outline: none;
}
span+input, span+textarea{
    border-color: red!important;
}
.nav-button{
    background-color: #00ab00;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    margin: 0.5rem;
    border-radius: 2rem;
}
.nav-button:hover{
    background-color: green;
}
.nav-button:disabled{
    background-color: grey;
    cursor: default;
}
div[class^="form-section"]{
    display: flex;
    flex-direction: column;
}
select{
    margin-bottom: 0.5rem;
}
input{
    font-family: inherit;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
input{
    min-height: 16px;
}
textarea{
    font-family: inherit;
    font-size: 0.8rem;
}
label{
    font-size: 0.9rem;
}
#form-button{
    border: none;
    background-color: transparent;
    height: 46px;
    font-size: 15px;
    color: white;
    cursor: pointer;
}
#form-button:disabled{
    cursor: default;
}
.form-img{
    width: auto;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}
input[type="file"] {
    display: none;
}
.custom-file-upload {
    background-color: white;
    border: 2px solid rgb(95,149,56);
    border-radius: 5px;
    box-shadow: 1px 1px 1px #0000002e, inset 1px 1px 1px #00000036;
    cursor: pointer;
    font-size: 3rem;
    font-weight: bold;
    color: rgb(95,149,56);
    height: 120px;
    width: 120px;
    background-position-y: center;
    background-position-x: center;
    background-size: contain;
    background-repeat: no-repeat;

}
.custom-file-upload:hover{
    border-color: #7AE644;
    color: #7AE644;
}
#images>div{
    padding: 1rem 0 0 1rem;
    height: 140px;
    position: relative;
}
.delete-image-button{
    position: absolute;
    right: -5px;
    top: 12px;
    border-color: red;
    background-color: white;
    border-radius: 100px;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0 0.1rem 0 0.4rem;
    color: red;
    cursor: pointer;
    box-shadow: 1px 1px 1px #0000002e, inset 1px 1px 1px #00000036;
}
.delete-image-button>div{
    transform: rotate(45deg);
    position: relative;
    top: -1.4px;
    right: 0.7px;
}
.delete-image-button:hover{
    background-color: red;
    color: white;
}
.delete-image-button:hover~.custom-file-upload{
    border-color: red;
    color:red;
}
.delete-image-button:hover~.custom-file-upload>div{
    transform: rotate(45deg);
}
.form-button, .form-button-small, .form-button-green, .form-button-red{
    background-position-x: center;
    background-size: cover;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
}
.form-button-green{
    background-image: url("../assets/form_button_green.png");
}
.form-button-green:hover{
    background-image: url("../assets/form_button_green_hover.png");
}
.form-button-red{
    background-image: url("../assets/form_button_red.png");
}
.form-button-red:hover{
    background-image: url("../assets/form_button_red_hover.png");
}
.form-button,.form-button-small{
    background-image: url("../assets/form_button_hover.png");
}
.form-button:hover,.form-button-small:hover{
    background-image: url("../assets/form_button.png");
}
.form-button, .form-button-green, .form-button-red{
    padding: 0.9rem 2rem;
    max-width: max-content;
}
.form-button-small{
    padding: 0.4rem 3rem;
}
#add-image{
    margin-left: 1rem;
}
#infos-text{
    font-size: 0.9rem;
}
input[type='checkbox']{
    margin-bottom: 0!important;
}
#submit>div{
    margin-bottom: 0.5rem;
}
/*
/////////////////////////// Table/////////////////////
 */
#tab{
    position: relative;
    z-index:1;
    font-size: 0.8rem;
    max-height: 70px;
}

table{
    border-collapse: collapse;
}
#table-medic{
    margin-top: -60px;
}
#table-medic>thead>tr>th{
    padding: 0.5rem;
    background-color: rgb(161, 209, 200);
    border: solid 2px white;
}
#table-medic>tbody>tr>td{
    background-color: rgb(240,244,246);
    border: solid 2px white;
}
#table-indus{
    margin-top: -100px;
}
#table-indus>thead>tr>th{
    padding: 0.5rem;
    background-color: rgb(251, 187, 101);
    border: solid 2px white;
}
#table-indus>tbody>tr>td{
    background-color: rgb(245,249,252);
    border: solid 2px white;
    width: 200px;
}
#table-it{
    min-width: 1330px;
    margin-top: -45px;
}

#table-it>thead>tr>th{
    padding: 0.5rem;
    background-color: rgb(188, 223, 234);
    border: solid 2px white;
}
#table-it>tbody>tr>td{
    background-color: rgb(245,249,252);
    border: solid 2px white;
    width: 16.5%;
}
#table-wooden{
    min-width: 1330px;
    margin-top: -77px;
}
#table-wooden>thead>tr>th{
    padding: 0.5rem;
    background-color: rgb(209, 209, 209);
    border: solid 2px white;
}
#table-wooden>tbody>tr>td{
    background-color: rgb(245,249,252);
    border: solid 2px white;
    width: 25%;
}

/*
/////////////////////////// Account ////////////////////
 */
#account-infos{
    margin-bottom: 1rem;
    margin-top: 1rem;
}
#account-infos>div{
    padding: 1rem;
}
.account-box{
    width: 30%;
    background: lightgrey;
    height: 500px;
}
.account-box-title{
    border-bottom: 1px solid grey;
}
.account-box-title>img{
    max-width: 5rem;
    position: absolute;
}
.account-box-title>h3{
    padding: 0.7rem;
}
.account-box-title>a{
    padding: 0.5rem;
}
.account-box>div>div{
    padding: 10px;
}
.account-box>div>a{
    text-decoration: none;
    color: black;
}
.account-box>div>a:nth-child(even)>div{
    background-color: rgba(0, 0, 0, 0.1);
}
.account-box>div>a>div:hover{
    background-color: rgba(0, 0, 0, 0.2);
}
.account-box>div>a>div{
    padding: 0.5rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.5);
}
.account-box, #account-infos, #sale-infos{
    background-color: rgb(242,242,242);
    border-radius: 10px;
    border: 1px solid rgb(56, 93, 138);
}
#sales, #searches, #contacts{
    overflow: auto;
    height: 388px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
#catch-phrase{
    width: -webkit-fill-available;
    width: -moz-available;
    height: max-content;
    padding: 1rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.66);
}
/**
////////////////////////// Sale
 */
#admin-mailer{
    max-height: 200px;
}
.overflow-y{
    overflow-y: auto;
    overflow-x: hidden;
}
#admin-mailer>div>#container>div>div{
    overflow: hidden;
}
#admin-mailer>div>#container>div:nth-child(odd){
    background-color: lightgrey;
}
#sale-infos>div>div>h3{
    padding: 1rem 0;
}
#infos-equipements>div{
    background-color: rgb(242,242,242);
    border-radius: 10px;
    border: 1px solid rgb(102, 166, 65);
    padding: 1rem;
    margin-bottom: 1rem;
}
#infos-images>img{
    max-width: 200px;
}

/*
/////////////////////////////// Footer //////////////////
 */
footer{
    background-color: black;
    margin-top: 4rem;
}
footer>div{
    width: 100%;
    max-width: 1400px;
}
#footer-links, #footer-logo{
    width: 50%;
}
#footer-links{
    padding: 0.5rem 0 0.5rem 1rem;
}

#footer-links>a{
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 0.8rem;
    text-decoration: none;
}
/**
////////////////////////////// Sale
 */
#infos-equipements>div{
    display: flex;
    flex-direction: column;
}
#sale-infos label{
    min-height: auto;
}
#sale-infos #container{
    background-color: transparent;
    border-radius: 0;
    border: none;
    padding: 0;
    margin-bottom: 0;
}
#sale-infos #container>div{
    display: flex;
    flex-direction: column;
    background-color: rgb(242,242,242);
    border-radius: 10px;
    border: 1px solid rgb(102, 166, 65);
    padding: 1rem;
    margin-bottom: 1rem;
}
#sale-infos #images >div{
    width: fit-content;
}
#sale-infos img{
    max-width: 200px;
}

/**
//////////// Other
 */
#legal>h3{
    margin: 2rem 0 1rem 0;
}