.detailChantier h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
}

.detailTable {
  border: 0.5px solid var(--primary-lighter);
  border-collapse: collapse;
}
.detailTable thead {
  background-color: var(--primary-lighter);
}
.detailTable th {
  text-align: center;
  margin: 0;
  padding: 10px;
  color: white;
}
.detailTable td {
  text-align: center;
  padding: 10px;
}

.detailOperations #headerOperations {
  display: flex;
  justify-content: space-between;
}

.detailOperations #headerOperations > h3 {
  margin-left: 10px;
}

.detailOperations {
  flex-direction: column;
  border: 0.5px solid var(--color-primary);
  border-collapse: collapse;
}
.detailOperations section {
  border: 1px solid var(--color-primary);
  justify-content: space-between;
  align-items: center;
}
.detailChantier section > div {
  padding: 5px;
}

.operation {
  display: flex;
  flex-direction: column;
}

.operation-header {
  display: flex;
  align-items: center;
  background-color: var(--primary-lighter);
  color: var(--txt-color-white);
  width: 100%;  
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 0 !important;
}
.operation-header > h4 {
  margin: 0 0 0 12px !important;
  width: calc(20% - 15px);
}
.operation-row-timeclock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.operation-total-time {
  display: flex;
  border-radius: 10px;
  width: max-content;
}

.operation-total-time > div {
  color: white;
  margin-right: 10px;
}

.detailOperations section:nth-child(1) {
  background-color: var(--color-primary);
  padding: 5px;
}
.detailOperations section:nth-child(1) h3 {
  color: white;
  margin: 0px;
}

.detailOperations .timePastille {
  padding: 0.2rem;
  border-color: #dadada;
  border-width: 2px;
  border-style: solid;
  /*color: white;*/
  border-radius: 10px;
}

.operation-cloture-container {
  display: flex;
  width: 25%;
  padding: 5px;
}

.operation-date-container {
  width: 25%;
}

.operation-comment-container {
  /* width: 60%; */
  flex: 1;
  height: 100%;
}

.commentParagraph{
  white-space-collapse: preserve;
}


.minor-operation-list {
  padding: 5px 0;
}

.detailPhotos {
  display: flex;
  justify-content: center;
  /*flex-direction: column;*/
  border: 1px solid var(--color-primary);
  border-collapse: collapse;
  margin-top: 50px;
}
.detailPhotos section {
  border: 1px solid var(--color-primary);
  justify-content: space-between;
  align-items: center;
}
.detailPhotos section > div {
  padding: 5px;
}

.detailPhotos > section:nth-child(1) {
  color: white;
  background-color: var(--color-primary);
  padding: 15px;
}
.detailPhotos > section:nth-child(1) h3 {
  color: white;
  margin: 0;
}

.detailPhotos_title {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.detailPhotos_title > h3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detailPhotos_photoContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detailPhotos_content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 25%;
}

.detailPhotos_content.hide {
  display: none;
}

.detailPhotos {
  flex-direction: column;
  border: 0.5px solid var(--color-primary);

  border-collapse: collapse;
  margin: 0 10rem;
  margin-top: 50px;
}
.detailPhotos section {
  border: 1px solid var(--color-primary);
  justify-content: space-between;
  align-items: center;
}
.detailPhotos section > div {
  padding: 5px;
}

.detailPhotos > section:nth-child(1) {
  color: white;
  background-color: var(--color-primary);
  padding: 15px;
}
.detailPhotos > section:nth-child(1) h3 {
  color: white;
  margin: 0;
}

.detailPhotos_avant_title,
.detailPhotos_apres_title,
.detailPhotos_survey_title {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detailPhotos_avant_title > *,
.detailPhotos_apres_title > *,
.detailPhotos_survey_title > * {
  margin: 1rem;
}

.detailPhotos_photoContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detailPhotos_avant_content,
.detailPhotos_apres_content,
.detailPhotos_survey_content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 25%;
}

.detailPhotos_content img {
  cursor: pointer;
}

.hide {
  display: none;
}

/** DETAIL FAB OUT **/
.detailFabOut {
  flex-direction: column;
  border: 0.5px solid var(--color-primary);
  border-collapse: collapse;
}
.detailFabOut section {
  justify-content: space-between;
  align-items: center;
}
.detailFabOut section > div {
  padding: 5px;
}

.detailFabOut > section:nth-child(1) {
  color: white;
  background-color: var(--primary-lighter);
  padding: 5px;
}
.detailFabOut > section:nth-child(1) h3 {
  color: white;
  margin: 0;
}

.detailFabOut_title {
  cursor: pointer;
}

.detailFabOut_title > h3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detailFabOut_content {
  display: flex;
  flex-direction: column;
}

.detailFabOut_content.hide {
  display: none;
}

.detailFabOut_content_line {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.detailFabOut_content a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.2rem;
  text-decoration: none;
  color: #3c3c3c;
}

.delete_photo_button {
  cursor: pointer;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
}

.viewChantier_checks_headerCell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding: 0.5rem !important;
  background: var(--secondary);
}

.viewChantier_checks_checklistHeader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem !important;
  background-color: var(--primary-lighter);
  border: none !important;
}

.viewChantier_checklistHeader_buttons {
  width: 5rem;
}

.viewChantier_checklistHeader_textContainer {
  display: flex;
  flex: 1;
  justify-content: center;
}

.viewChantier_checks_tableLayout {
  grid-template-columns: 3fr 1fr 1fr 1fr 300px;
}

.viewChantier_checks_cell {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 0.2rem !important;
  padding-left: 2vw !important;
  color: black !important;
}

.viewChantier_checks_cell p {
  margin: unset;
}

.chantier_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
  width: 80%;
  padding: 0;
}

.chantier_section_inner {
  box-shadow: unset;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.viewChantier_section_header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-darker);
  color: var(--text);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.viewChantier_section_header > h3 {
  margin: 0;
  padding: 0.5rem;
  text-align: center;
}

.tableGridContainer {
  display: flex;
  width: 80%;
  margin: auto;
}

.tableGrid {
  flex: 1;
}

.toolbar {
  height: 100%;
  padding: 0.5rem
}

.buttonToolbar {
  padding: 0.5rem;
  width: fit-content;
}

.buttonToolbar.disabled {
  background-color: #dadada !important;
  box-shadow: unset;
}

.buttonToolbar img
 {
  width: 2rem !important;
  height: 2rem !important;
  margin-right: 0 !important;
}

table.detailChantier_table {
  flex: 1;
  border-spacing: unset;
  border-spacing: 0;
  table-layout: fixed;
}

table.detailChantier_table tr:nth-child(odd) {
  background: var(--secondary);
  height: 4rem;
}

table.detailChantier_table tr:first-of-type th:first-of-type {
  border-top-left-radius: 1rem;
}

table.detailChantier_table tr:first-of-type th:last-of-type {
  border-top-right-radius: 1rem;
}

table.detailChantier_table tr th {
  border: none;
  color: white;
  font-weight: 300;
}

table.detailChantier_table tr td {
  text-align: center;
}

table.detailChantier_table {
  border: 1px solid #bebebe;
  border-radius: 15px;
}

.detailFabOut_photoContainer {
  display: block;
  font-weight: 300;
  color: rgb(32, 32, 32) !important;
  text-decoration: none;
  padding: 1rem;
}

.detailChantier_outsourcings_container {
  display: flex; 
  width: 80%;
  margin: auto;
  margin-top: 1rem;
}

/* DETAIL CHANTIER TABLE OUTSOURCINGS */

table.detailChantier_outsourcings thead tr {
  margin-top: 1rem !important;
  height: 4rem;
  cursor: pointer;
}

table.detailChantier_outsourcings tbody {
  display: none;
}

table.detailChantier_outsourcings.show tbody {
  display: table-row-group;
}

table.detailChantier_outsourcings tbody tr {
  width: 100%;
}

table.detailChantier_outsourcings tbody tr:hover {
  background-color: #e8e8e8;
}

table.detailChantier_outsourcings {
  border: 1px solid #bebebe;
  border-radius: 15px;
}

table.detailChantier_outsourcings tr th {
  border: none;
  color: white;
  font-weight: 300;
  background-color: var(--primary-lighter) !important;
}

table.detailChantier_outsourcings tr th:first-of-type {
  border-top-left-radius: 15px;
}

table.detailChantier_outsourcings tr th:first-of-type {
  border-bottom-left-radius: 15px;
}

table.detailChantier_outsourcings.show tr th:first-of-type {
  border-bottom-left-radius: unset;
}

table.detailChantier_outsourcings tr th:last-of-type {
  border-top-right-radius: 15px;
}

table.detailChantier_outsourcings tr th:last-of-type {
  border-bottom-right-radius: 15px;
}

table.detailChantier_outsourcings.show tr th:last-of-type {
  border-bottom-right-radius: unset;
}

table.detailChantier_outsourcings tr td {
  text-align: center;
}

.detailChantier_buttonImages {
  display: flex;
  margin-left: 0.5rem;
  width: 4rem;
  position: relative;
}

.detailChantier_buttonImages img:last-of-type {
  width: 1.3rem;
  margin: 0;
}

.detailChantier_buttonImages .ckt-button {
  margin: 0 !important;
  padding: 0.5rem !important;
}

.detailChantier_buttonImages .ckt-button:nth-child(1) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.detailChantier_buttonImages .ckt-button:nth-child(2) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  padding: 0 !important;
}

.detailChantier_buttonImages_dropdown {
  display: none;
  position: absolute;
  top: 3.2rem;
  left: 0;
  background: white;
  width: max-content;
}

.detailChantier_buttonImages_dropdown.open {
  display: block;
}

.detailChantier_buttonImages_dropdown .ckt-button {
  min-height: 3rem;
  margin: 0.2rem;
}

.controlLine {
  display: flex;
  height: 25px;
  align-items: center;
  /* margin-left: 20px; */
}

.controlLabel{
  width: 200px
}

.controlLine > * + * {
  margin-left: 10px;
}

.controlCheckbox {
  accent-color: var(--primary);
  width:15px;
  height: 15px;
}

.controlNumber{
  width:100px
}

.minorOperationDiv{
  min-width: 170px;
  margin-left: 20px;
  margin-right: 20px;
}
