html {
    font-family: 'Calibri', sans-serif;
    height: 100%;
    overflow: hidden;
}

body {
    background-color: #284378;
    margin: 0;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

#content-all {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
 }
#center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    height: 100%;
}
  
#selector {
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid #284378;
    display: flex;
    flex-direction: row;
    
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#selector p {
    margin: 18px 16px;
    color: #284378;
    font-weight: bold;
    font-size: 20px;
}

#selector img {
    margin: 9px 16px 9px 10px;
}

#selector:hover {
    border: 3px solid #2196F3;
}

.error-import {
    border: 3px solid #ef7b11 !important;  
}

#error-import-p, #success-import-p {
    display: none;
    font-weight: bold;
    margin: 8px 0px;
}

#error-import-p {
    color: #ef7b11;
    font-style: italic;
}

#config-file {
    display: none;
}

#version {
    color: #2196F3;
    margin: 2px 4px;
    font-size: 10px;
    position: absolute;
}

#question {
    margin-top: 50px;
    display: none;
    width: 100%;
}

#question > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 560px;
    padding: 20px;
    margin: 0 auto;
}

#progress-bar-content {
    width: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#progress-bar-text {
    margin: 6px;
    font-weight: bold;
    color: #FFFFFF;
}

#progress-bar {
    background-color: #FFFFFF;
    height: 16px;
    padding: 4px;
    margin: 4px;
    width: 90%;
}

#progress-bar-progress {
    background-color: #284378;
    height: 100%;
    width: 0%;
    transition: width cubic-bezier(0.36, 0.91, 1, 1.01) 1.4s;
}

#question-content {
    background-color: #FFFFFF;
    width: 96%;
    border-radius: 2px;
    margin-top: 40px;
}

#question-text {
    margin: 30px 40px 40px 40px;
    font-weight: bold;
    color: #284378;
    font-size: 18px;
}

#question-choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.btn-choice {
    background-color: #284378;
    color: #FFFFFF;
    padding: 8px 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px;
    border-radius: 1px;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.btn-choice:active {
    transform: scale(0.94);
}

#recap-devis {
    max-width: 1500px;
    padding: 20px 0px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    display: none;
    overflow-y: auto;
}

#recap-devis > div {
    display: flex;
    flex-direction: row;
    align-items: start;
    height: 100%;
}

#recap, #devis {
    margin: 0% 2%;
    border-radius: 2px;
}

#recap {
    width: 20%;
    overflow-y: auto;
    height: 100%;
}

#recap::-webkit-scrollbar {
    display: none;
}
  
#recap {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#recap-content, #result-content, #screenshot-selector, #client-content {
    padding: 14px 24px;
    text-align: center;
    color: #284378;
    background-color: #FFFFFF;
    border-radius: 2px;
}

#result-content, #screenshot-selector, #client-content {
    margin-top: 20px;
}

#screenshot-selector > h3, #client-content > h3 {
    margin: 0px;
}

#recap-content > h3:first-child, #result-content > h3:first-child {
    margin:  0px;
}

#recap-content > h3:nth-child(n+2) , #result-content > h3:nth-child(n+2) {
    margin: 20px 0px 0px 0px;
}

#recap-content > p , #result-content > p {
    margin: 10px 0px;
}

.recap-btn {
    font-weight: bold;
    background-color: #284378; 
    color: WHITE;
    padding: 8px;
    border-radius: 1px;
    cursor: pointer;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.recap-btn:nth-child(n+2) {
    margin-top: 14px;
}

.recap-btn:active {
    transform: scale(0.94);
}

.recap-separator {
    height: 2px;
    width: 20%;
    background-color: #284378;
    margin: 0 auto;
    margin-bottom: 14px;
}

.recap-infos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0px;
    font-size: 18px;
}

.recap-infos > p {
    margin: 0;
}

#devis {
    width: 72%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #FFFFFF;
    position: relative;
}

#devis::-webkit-scrollbar {
    width: 10px;
}

#devis::-webkit-scrollbar-thumb {
    background: #888; 
}

#devis::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

#devis-content {
    padding: 0px 24px;
    text-align: center;
    color: #284378;
}

.devis-content:first-child {
    margin: 20px 0px 0px 0px;
}

.devis-content:nth-child(n+2) {
    margin: 60px 0px 0px 0px;
}

.devis-content > h3 {
    margin-bottom: 0px;
}

.devis-separator {
    height: 2px;
    width: 12%;
    background-color: #284378;
    margin: 0 auto;
    margin-bottom: 14px;
}

.devis-ref {
    display: flex;
    justify-content: space-around;
    margin: 10px 0px;
}

.input-title {
    flex-grow: 5;
    width: 49%;
}

.input-ref {
    flex-grow: 3;
    width: 14%;
}

.input-price {
    flex-grow: 2;
    width: 11%;
}

.input-amount {
    flex-grow: 1;
    width: 7%;
}

.input-total {
    flex-grow: 3;
    width: 14%;
}

.devis-input {
    margin: 0px 1%;
    border: none;
    outline: none;
    background-color: #284378;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    height: 32px;
    border-radius: 2px;
    max-width: 100%;
}

.input-img {
    margin: 0 auto;
    max-width: 50px;
    height: 30px;
}

.input-div-img {
    margin: 0px 1%;
    text-align: center;
    flex-grow: 4;
    width: 60px;
    height: 30px;
}

.devis-input:focus {
    outline: none;
}

.devis-input::-webkit-inner-spin-button, .devis-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

.separator-ref {
    height: 30px;
    width: 100%;
}

#screenshot-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-element {
    margin: 8px;
    position: relative;
}

.screenshot-img {
    width: 100%;
    height: auto;
}

.screenshot-above {
    position: absolute;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-width: 2px 2px 5px 2px;
    border-color: #284378;
    border-style: solid;
    z-index: 3;
    height: 100%;
    width: 100%;
}

.screenshot-selected  {
    height: 20px;
    width: 20px;
    background-color: #284378;
    border-radius: 0px 0px 2px 0px;
    position: absolute;
    z-index: 4;
}

.screenshot-selected.screenshot-selected-true:after, .screenshot-selected:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2px;
    right: 0;
    font-size: 22px;
    color: #FFF;
    line-height: 15px;
}

.screenshot-selected.screenshot-selected-true:after {
    content: "\2713";
}


.screenshot-interact {
    position: absolute;
    z-index: 5;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

#display-details, #add-item {
    margin: 10px 0px 0px 20px;
    position: absolute;
    background-color: #294478;
    padding: 4px 16px;
    color: WHITE;
    cursor: pointer;
    border-radius: 1px;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#display-details:active, #add-item:active {
    transform: scale(0.94);
}

#add-item {
    float: right;
    margin: 10px 10px 30px 0px;
    width: fit-content;
    position: initial;
}

#add-item-title::placeholder, #add-item-ref::placeholder, #add-item-price::placeholder {
    color: #DDDDDD;
}

.devis-adding {
    display: flex;
    justify-content: space-around;
    margin: 10px 0px;
}

.client-section {
    margin-top: 20px;
}

.client-section > label {
    font-weight: bold;
    display: block;
}

#client-add-02, #client-add-03, #client-final-add-02, #client-final-add-03, #commercial-add-02, #commercial-add-03 {
    margin-top: 6px;
}

#client-discount {
    width: 30%;
    display: block;
    margin: 0 auto;
}

#image-file, #image-file-png {
    margin-top: 16px;
    display: none;
}

.estimate-installing {
    display: flex;
    align-items: center;
    border-radius: 2px;
    border: 1px solid #284378;
}

.estimate-installing-child {
    cursor: pointer;
    padding: 0 5px;
}

.estimate-installing-selected {
    background-color: #284378;
    color: white;
}