.mt-10p {
  margin-top: 10px;
}

.mb-10p {
  margin-bottom: 10px;
}

.ml-10p {
  margin-left: 10px;
}

.mr-10p {
  margin-right: 10px;
}

.my-10p {
  margin-top: 10px;
  margin-bottom: 10px;
}

.mx-10p {
  margin-left: 10px;
  margin-right: 10px;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.ml-3 {
  margin-left: 1rem;
}

.mr-3 {
  margin-right: 1rem;
}

.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mx-3 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.m-auto {
  margin: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.ml-0 {
  margin-left: 0;
}

.mr-0 {
  margin-right: 0;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.notShow {
  display: none;
}

.dim {
  opacity: 0.3;
  pointer-events: none;
}

#appcad {
  min-height: 400px;
  min-width: 650px;
}

#devMenu {
  max-width: -webkit-fill-available;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  border-style: solid;
  border-color: #686868;
  border-width: 3px;
  width: 260px;
  overflow: auto;
  max-height: 94%;
  right: 0px;
  margin: 10px;
  /*padding: 10px;*/
  display: block;
}

.panel {
  margin-bottom: 10px;
}

.tab-pane {
  margin-bottom: 10px;
}

#devMenu .panel-title {
  /*text-align: center;*/
  font-style: normal;
}

hr {
  border: solid 1px #337ab7;
}

form {
  width: 100%;
}

#menuStoryBoardPatio {
  padding: 10px;
}

#home {
  overflow: auto;
  height: 100%;
}

.btn span.shortcut {
  font-size: smaller;
  position: absolute;
  right: 10px;
  font-style: italic;
  opacity: 0.5;
  top: 7px;
}

.logocad_en {
  cursor: default;
  position: absolute;
  right: 48px;
  top: 15px;
  padding: 4px;
  padding-bottom: 3px;
  width: 65px;
  opacity: 0.9;
  display: none;
}

.logocad_fr {
  cursor: default;
  position: absolute;
  right: 48px;
  bottom: 8px;
  padding: 4px;
  padding-bottom: 3px;
  width: 65px;
  opacity: 0.9;
  display: none;
}

.logoindex_en {
  right: 4px !important;
  top: 5px !important;
}

.logoindex_fr {
  right: 1px !important;
  bottom: -2px !important;
}

.panel-body .form-group {
  border-bottom: solid 2px #337ab7;
  padding-bottom: 15px;
}

#devMenu > .panel {
  margin-bottom: 0;
}

.more-less {
  float: right;
}

.panel-secondary > .panel-heading {
  background-color: #686868;
  border-radius: 0;
  color: white;
}

.panel-secondary > .panel-heading a {
  color: white;
}

.oldlabel {
  /*font-size: 17px;
  margin: 40px 20px 0 20px;
  text-align: justify;
  color: snow;*/
}

.select-info {
  display: none;
}

#CAD {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.modal {
  text-align: center;
  padding: 0 !important;
}

.modal:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.popfull .modal-dialog {
  width: 95%;
}

.popfull .modal-body {
  /*overflow-y: scroll;*/
  height: 90vh;
}

.popfix .modal-dialog {
  width: 80%;
}

.popfix .modal-body {
  overflow-y: scroll;
  height: 70vh;
}

#menu_structure {
  padding-left: 0px !important;
  margin-top: 0px !important;
}

h4 {
  line-height: 1.3;
  font-style: italic;
}

.btn {
  position: relative;
}

.btn-sm i {
  position: absolute;
  left: 5%;
  line-height: initial;
}

.mt-5p {
  margin-top: 5px;
}

.mb-5p {
  margin-bottom: 5px;
}

.btn-secondary {
  color: white;
  background-color: #686868;
  border: none;
  margin-bottom: 0;
}
.btn-secondary:enabled:hover {
  background-color: #acacac;
  color: #000;
  border-color: #686868;
  cursor: pointer;
}
.btn-secondary:enabled:focus {
  outline: 0;
}
.btn-secondary:enabled:active {
  background-color: #ddd;
}
.btn-secondary i {
  /*position: absolute;
  left: 1.5em;*/
}

a.btn-secondary {
  color: white;
  background-color: #686868;
  border: none;
  margin-bottom: 0;
}
a.btn-secondary:hover {
  background-color: #acacac;
  color: #000;
  border-color: #686868;
  cursor: pointer;
}
a.btn-secondary:focus {
  outline: 0;
}
a.btn-secondary:active {
  background-color: #ddd;
}
a.btn-secondary i {
  /*position: absolute;
  left: 1.5em;*/
  left: 3%;
}

#group {
  background-color: #686868 !important;
}

#helper {
  display: none;
  position: absolute;
  margin-right: 30px;
  bottom: 0;
  right: 0;
  max-width: 300px;
  z-index: 99999999;
}
#helper div {
  text-align: center;
  padding: 0.3em 2em;
}

.logo {
  position: relative;
  height: 75px;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #444;
  border-bottom: 3px solid #3688ca;
  width: 100%;
}

/*.logo img {
    height: 100%;
}*/
input[type=radio], input[type=checkbox] {
  width: 30px;
  height: 20px;
}

.panel-body {
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 14px;
}

#menu .panel-body {
  max-height: calc(100vh - 300px);
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.btn-push {
  box-shadow: 2px 2px #888888;
}

.form-check {
  padding: 5px;
}

.form-group div.form-check:nth-child(odd) {
  background-color: #eee;
}

.form-group div.form-check:nth-child(even) {
  background-color: #ddd;
}

.inputunit {
  width: 40px;
}

.hidden {
  display: none !important;
}

.stairsActionMenu {
  display: none;
  width: 100px;
  height: 100px;
  position: absolute;
  z-index: 999;
}
.stairsActionMenu img {
  position: absolute;
  height: 50px;
  width: 50px;
  z-index: 999;
}

.scrollMenu {
  height: calc(100vh - 300px);
  overflow-y: auto;
  overflow-x: hidden;
}

label {
  font-weight: normal;
  cursor: pointer;
}

#devMenu {
  right: 10px !important;
}

/*#appcad #menuStoryBoard #menuStoryBoardPatio #editRampe #kitRampPro {
    all: unset !important;
    display: flex !important;
}
#appcad #menuStoryBoard #menuStoryBoardPatio #editRampe #radKitRampKoolrayContainer {
    all: unset !important;
}
#appcad #menuStoryBoard #menuStoryBoardPatio #railingSettings .setting:nth-child(odd){
    all:unset!important;
}*/
#railingSettings {
  width: auto !important;
}

.onoffswitch {
  position: relative;
  width: 62px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.onoffswitch-checkbox {
  display: none;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  height: 24px;
  padding: 0;
  line-height: 24px;
  border: 2px solid #999999;
  border-radius: 24px;
  background-color: #EEEEEE;
  transition: background-color 0.3s ease-in;
}

.onoffswitch-label:before {
  content: "";
  display: block;
  width: 24px;
  margin: 0px;
  background: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 36px;
  border: 2px solid #999999;
  border-radius: 24px;
  transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
  background-color: #337AB7;
}

.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
  border-color: #337AB7;
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
  right: 0px;
}

#printMenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #333;
  margin-bottom: 5px;
  padding-bottom: 1em;
  border: 2px solid #575757;
  position: relative;
}
#printMenu h3 {
  color: white;
}
#printMenu button {
  width: 80%;
  margin-bottom: 5px;
  color: #e7e7e7;
  background-color: #151515;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  border: 0;
  transition: background-color 0.2s;
}
#printMenu button:enabled:hover {
  background-color: #454545;
  cursor: pointer;
}
#printMenu button:disabled {
  background-color: #4a4a4a;
  color: #7d7d7d;
  cursor: not-allowed;
}
#printMenu .dropdown-close {
  color: white;
  position: absolute;
  top: 1em;
  right: 1em;
}

#menu_bottom {
  position: absolute;
  bottom: 0;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding-right: 0.5em;
  padding-bottom: 1em;
  width: 95%;
}

#sidemenu {
  z-index: 1;
  position: absolute;
  width: 60px;
  background-color: white;
  text-align: center;
  top: 5px;
  left: 0px;
}

#stairsCalcContainer {
  z-index: 999;
}

#sidemenu img {
  position: relative;
}

#angleSelection {
  position: absolute;
  width: 160px;
  height: 110px;
  margin-top: -2px;
  left: 60px;
  display: none;
  opacity: 1;
  background-color: white;
  padding-bottom: 10px;
  overflow: hidden;
  border-top: 2px solid #337ABD;
}

#toolAngle {
  border-top: 2px solid transparent;
}

.angleon {
  border-top: 2px solid #337ABD !important;
}

#pointBottomLine {
  width: 9px !important;
  height: 9px !important;
  bottom: -6px !important;
  right: -6px !important;
}

.tooltip-inner {
  padding: 10px;
  color: white;
  font-size: 14px;
  word-break: break-word;
}

#appcad #menuStoryBoard {
  width: 300px;
}

.datatable {
  width: 100% !important;
}

.datatable tr {
  cursor: pointer;
}

.datatable td {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/*#region put outide of #CAD */
#sidemenu .disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

#sidemenu img,
#advancedSettingsMenu img {
  margin: 5px;
}

.angleLine {
  position: absolute;
  bottom: 25px;
  left: 40px;
  height: 1px;
  width: 100px;
  border-bottom: 3px solid black;
}

#pointBottomLine {
  border-radius: 50%;
  background-color: black;
  width: 5px;
  height: 5px;
  position: absolute;
  bottom: -4px;
  right: 0px;
  z-index: 1;
}

#pointTopLine {
  border-radius: 50%;
  background-color: blue;
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: -6px;
  right: -6px;
  z-index: 2;
}

#lineTop {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transform-origin: left bottom;
  height: 30px;
  background-color: white;
}

#bottomAngleSelection,
#bottomLeftAngleSelection {
  position: absolute;
  bottom: 0px;
  background-color: white;
  height: 25px;
  width: 100%;
  z-index: 0;
}

#bottomLeftAngleSelection {
  height: 130px;
  width: 40px;
}

#circleAngle {
  border-radius: 50%;
  border-style: solid;
  width: 35px;
  height: 35px;
  position: absolute;
  bottom: -18px;
  left: -18px;
}

#angleValue {
  position: absolute;
  font-size: 24px;
  top: 10px;
  left: 40px;
}

#keypad .selected {
  font-weight: bold;
  border-width: 2px;
  border-color: black;
}

/*#endregion */
.lengthInput {
  /* clears the 'X' from Internet Explorer */
  /* clears the 'X' from Chrome */
}
.lengthInput input::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
.lengthInput input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
.lengthInput input::-webkit-search-decoration,
.lengthInput input::-webkit-search-cancel-button,
.lengthInput input::-webkit-search-results-button,
.lengthInput input::-webkit-search-results-decoration {
  display: none;
}

@font-face {
  font-family: "Aftika";
  src: url(../../Fonts/Aftika/aftika-regular.otf);
}
@font-face {
  font-family: "Aftika";
  src: url(../../Fonts/Aftika/aftika-semibold.otf);
  font-weight: 600;
}
@font-face {
  font-family: "Lexend";
  src: url(../../Fonts/Lexend/Lexend-VariableFont_wght.ttf);
}
/* The tool that appears on CTRL, helping us select a precise measurement */
#precisionTool ul {
  list-style: none;
  padding: 0;
  margin: 10% 5% 10% 5%;
  width: 80%;
  height: 100%;
}
#precisionTool li {
  height: 6.25px;
}
#precisionTool li .middleLine {
  border-left-style: solid;
  border-left-width: 1px;
  height: 100%;
}
#precisionTool li .middleLine.last {
  border-left-style: none;
  border-left-width: 0px;
}
#precisionTool li .veryBigStep {
  width: 25%;
  border-top-style: solid;
  border-top-width: 2px;
  height: 50%;
  position: absolute;
  margin: 0 5px 0 0;
}
#precisionTool li .bigStep {
  width: 15%;
  border-top-style: solid;
  border-top-width: 1px;
  height: 50%;
  position: absolute;
  margin: 0 5px 0 0;
}
#precisionTool li .smallStep {
  width: 10%;
  border-top-style: solid;
  border-top-width: 1px;
  height: 6.25px;
  position: absolute;
  margin: 0 5px 0 0;
}
#precisionTool li .smallStep.last {
  top: 10%;
}
#precisionTool li .left,
#precisionTool li .right {
  width: 50%;
  float: left;
}
#precisionTool li .longLine,
#precisionTool li .longLine2 {
  width: 200%;
  border-top-width: 2px;
  border-top-color: rgba(255, 0, 0, 0.7);
  border-top-style: solid;
  text-align: right;
}
#precisionTool li .firstNumber {
  font-size: 25px;
}

#shitHappens {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  border: 0.1em solid #ce230b;
  box-sizing: border-box;
}
#shitHappens .pop {
  background-color: #fff;
  border: 0.1em solid #ce230b;
  box-sizing: border-box;
  border-radius: 1em;
}
#shitHappens .pop .msg {
  padding: 2em;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#shitHappens .pop .actionGroup {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  padding-bottom: 2em;
}
#shitHappens .pop .actionGroup button {
  padding: 0.5em;
  border-radius: 1em;
  border: 0.1em solid #444;
  cursor: pointer;
  transition: background-color 0.2s, border 0.2s;
}
#shitHappens .pop .actionGroup button:hover {
  background-color: #fff;
  border-color: #000;
}

.lengthInput {
  width: 100%;
}
.lengthInput * {
  box-sizing: border-box;
}
.lengthInput .imperial, .lengthInput .metric {
  display: flex;
  height: 100%;
}
.lengthInput .imperial .inputContainer, .lengthInput .metric .inputContainer {
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.lengthInput .imperial .inputContainer input, .lengthInput .metric .inputContainer input {
  height: 100%;
  width: 100%;
  text-align: center;
  border: 0;
}
.lengthInput .imperial .inputContainer input:focus, .lengthInput .metric .inputContainer input:focus {
  outline: 0;
}
.lengthInput .imperial .inputContainer input::placeholder, .lengthInput .metric .inputContainer input::placeholder {
  color: #bbb;
}
.lengthInput .imperial .inputContainer.inch input, .lengthInput .metric .inputContainer.inch input {
  background-color: #f8f8f8;
}
.lengthInput .imperial .inputContainer .baseLabel, .lengthInput .metric .inputContainer .baseLabel {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 0.7em;
  transform: translate(3px, -42%);
  pointer-events: none;
  color: #555;
}
.lengthInput .imperial .inputContainer + .inputContainer::before, .lengthInput .metric .inputContainer + .inputContainer::before {
  content: "-";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
}

#home .btn-primary {
  border: none;
}
#home .btn-primary:focus {
  outline: 0;
}
#home .jumbotron {
  border-bottom: 3px solid #1075b7;
  box-shadow: 0 10px 20px #eee;
}
#home footer {
  margin-top: 2em;
  padding: 0.5em;
  background-color: #eeeeee;
  color: #444;
}

/**
 * Sort :
 *  - elements
 *  - #ids
 *  - .classes
 *  - &.classes (parented)
 *  - &:pseudos (parented)
 *
 * Each category in alphabetical order
 * Note : This is a WIP
 */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
}

#app {
  position: absolute;
  width: 100%;
  height: 100%;
}

#appcad {
  font-family: "Lato", sans-serif;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  /*#menuStoryBoard {
          height: 100%;

          #menuStoryBoardPatio {
              height: 100%;

              #addStairs {
                  display: none;
              }

              #bottomControls {
                  position: absolute;
                  bottom: 0;
                  display: -webkit-flex;
                  display: -ms-flex;
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  width: 100%;
                  box-sizing: border-box;
                  padding: 0.5em 1em;

                  .smallButton {
                      color: white;
                      background-color: #686868;
                      transition: background-color 0.2s, color 0.2s;
                      border: 2px solid #575757;
                      width: 100%;
                      margin-bottom: 0.5em;
                      display: -webkit-flex;
                      display: -ms-flex;
                      display: flex;
                      flex-direction: row;
                      justify-content: center;
                      align-items: center;

                      &:disabled {
                          background-color: #808080;
                          color: #a9a9a9;
                          border-color: #999;
                          cursor: not-allowed;
                      }

                      &:enabled {
                          &:hover {
                              background-color: #acacac;
                              color: #000;
                              border-color: #686868;
                              cursor: pointer;
                          }

                          &:focus {
                              outline: 0;
                          }

                          &:active {
                              background-color: #ddd;
                          }
                      }

                      i {
                          position: absolute;
                          right: 1.5em;
                      }
                  }

                  #printMenu {
                      display: flex;
                      flex-direction: column;
                      align-items: center;
                      width: 100%;
                      background-color: #333;
                      margin-bottom: 5px;
                      padding-bottom: 1em;
                      border: 2px solid #575757;
                      position: relative;

                      h3 {
                          color: white;
                      }

                      button {
                          width: 80%;
                          margin-bottom: 5px;
                          color: #e7e7e7;
                          background-color: #151515;
                          padding-top: 0.4em;
                          padding-bottom: 0.4em;
                          border: 0;
                          transition: background-color 0.2s;

                          &:enabled {
                              &:hover {
                                  background-color: lighten(#151515, 19%);
                                  cursor: pointer;
                              }
                          }

                          &:disabled {
                              background-color: #4a4a4a;
                              color: #7d7d7d;
                              cursor: not-allowed;
                          }
                      }

                      .dropdown-close {
                          color: white;
                          position: absolute;
                          top: 1em;
                          right: 1em;
                      }
                  }
              }

              #btnDeleteAllConstructionLines {
                  margin-top: 5px;
                  width: 90%;

                  &:enabled:hover {
                      background-color: #d41f1f !important;
                      border: 2px solid #8d0909 !important;
                      color: white !important;
                  }

                  &:active {
                      background-color: #e32a2a !important;
                      border: 2px solid #a71010 !important;
                  }
              }

              #constructionLinesVisibility {
                  position: absolute;
                  opacity: 0;
                  cursor: pointer;

                  & + label[for="constructionLinesVisibility"] {
                      @include clearfix;
                      color: white;
                      background-color: #686868;
                      border: 2px solid #575757;
                      width: 90.1%;
                      font-size: 13.33333px;
                      display: block;
                      box-sizing: border-box;
                      text-align: center;
                      line-height: 30px;
                      height: 34px;
                      cursor: pointer;
                      transition: background-color 0.2s, border-color 0.2s;

                      &:hover {
                          background-color: #acacac;
                          border-color: #686868;

                          & > .label {
                              color: black;
                          }
                      }

                      &:active {
                          background-color: #ddd;
                      }

                      &:after {
                          content: " ";
                          visibility: hidden;
                          display: block;
                          height: 0;
                          clear: both;
                      }

                      & > .label {
                          float: left;
                          width: 88%;
                          color: white;
                          transition: color 0.2s;
                      }

                      & > .checker {
                          float: left;
                          width: 12%;
                          background-color: #434343;
                          height: 100%;
                          transition: background-color 0.2s;

                          &:after {
                              content: "\2713";
                              color: #a7ecb1;
                              font-weight: bold;
                              font-size: 14px;
                              opacity: 0;
                              transition: opacity 0.2s;
                          }
                      }
                  }

                  &:checked {
                      & + label[for="constructionLinesVisibility"] {
                          & > .checker {
                              background-color: #48b459;

                              &:after {
                                  opacity: 1;
                              }
                          }
                      }
                  }
              }

              #editRampe {
                  h1 {
                      display: none;
                  }

                  #btRailingEverywhere {
                      margin-top: 15px;
                  }

                  #btShowLetters {
                      margin-top: 15px;
                      margin-left: 21px;
                      width: 237px !important;
                      font-size: 14px !important;
                  }

                  #kitRampKoolray {
                      background-color: #707070;
                      width: 275px;
                      box-sizing: border-box;
                      padding-left: 20px;
                  }

                  #kitRampPro {
                      margin-top: 0 !important;
                      background-color: #545454;
                      width: 275px;
                      box-sizing: border-box;
                      display: -webkit-flex;
                      display: -ms-flex;
                      display: flex;
                      align-items: center;
                      padding: 0.5em;
                  }

                  #radKitRampKoolrayContainer {
                      background-color: #707070;
                      padding-top: 5px;
                      padding-left: 5px;
                      width: 275px;
                      box-sizing: border-box;
                  }

                  & + div {
                      // Holy smokes!
                      margin-top: 30px !important;
                  }
              }

              #editStairs {
                  #howToDeleteStairs {
                      text-align: justify !important;
                  }
              }

              #editStructure {

                  #btnStartJoists,
                  #btnStartBeams,
                  {
                      width: 237px;
                      margin-bottom: 15px;
                  }

                  #joistsSpacing {
                      tr {
                          float: left;
                      }
                  }
              }

              #inOutRailing {
                  padding-left: 20px;
                  padding-top: 20px;
                  font-size: 14px;
              }

              #optionsDiv {
                  * {
                      box-sizing: border-box;
                  }

                  label {
                      font-size: 16px;
                  }

                  table {
                      padding-left: 15px;
                      margin-top: 5px;
                  }
              }

              /*#railingSettings {
                  width: 275px;
                  display: -webkit-flex;
                  display: -ms-flex;
                  display: flex;
                  flex-direction: column;
                  margin-top: 0.8em;

                  .setting {
                      display: -webkit-flex;
                      display: -ms-flex;
                      display: flex;
                      align-items: center;
                      flex-wrap: wrap;
                      padding: 0.4em 0.3em;
                      align-items: center;
                      background-color: #8a8a8a;

                      &:nth-child(odd) {
                          background-color: #6f6f6f;
                      }
                      //.label {}
                      .input {
                          display: -webkit-flex;
                          display: -ms-flex;
                          display: flex;
                          flex-direction: row;
                          margin-left: auto;
                          align-items: center;

                          input {
                              width: 3em;
                              text-align: center;
                              padding: 0.2em;
                          }

                          .unit {
                              padding: 0 0.2rem;
                          }
                      }
                  }
              }

              #savedProjects {
                  @include trims;

                  option {
                      padding: 0.4em;

                      &:hover {
                          background-color: #eee;
                      }

                      cursor: pointer;
                  }

                  &:focus {
                      outline: 0;
                  }
              }

              .hidden {
                  display: none !important;
              }

              .stairsActionMenu {
                  display: none;
                  width: 100px;
                  height: 100px;
                  position: absolute;
                  z-index: 999;

                  img {
                      position: absolute;
                      height: 50px;
                      width: 50px;
                      z-index: 999;
                  }
              }

              .scrollMenu {
                  height: calc(100vh - 300px);
                  overflow-y: auto;
                  overflow-x: hidden;
              }
          }
      }
  */
}
#appcad * {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
#appcad a {
  text-decoration: none;
}
#appcad #areYouSureDelete {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
#appcad #areYouSureDelete .fadeBG {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
}
#appcad #areYouSureDelete .pop {
  position: relative;
  background-color: gray;
  padding-bottom: 1rem;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid #575757;
  z-index: 100;
}
#appcad #areYouSureDelete .pop .header {
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background-color: #686868;
  box-sizing: border-box;
  color: white;
}
#appcad #areYouSureDelete .pop .header h4 {
  margin: 0;
  font-weight: bold;
}
#appcad #areYouSureDelete .pop .header i {
  cursor: pointer;
  transition: color 0.2s;
}
#appcad #areYouSureDelete .pop .header i:hover {
  color: #ddd;
}
#appcad #areYouSureDelete .pop .content {
  margin: 1em;
  color: white;
}
#appcad #areYouSureDelete .pop .actionGroup {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}
#appcad #areYouSureDelete .pop .actionGroup button {
  padding: 0.5em;
  width: calc(50% - 0.25rem);
  border: 2px solid #575757;
  transition: background-color 0.2s;
  cursor: pointer;
  background-color: #686868;
  color: white;
  border: 2px solid #575757;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
#appcad #areYouSureDelete .pop .actionGroup button:enabled:hover {
  background-color: #acacac;
  color: #000;
  border-color: #686868;
  cursor: pointer;
}
#appcad #areYouSureDelete .pop .actionGroup button:enabled:focus {
  outline: 0;
  border-color: #6bafee;
}
#appcad #areYouSureDelete .pop .actionGroup button:enabled:active {
  background-color: #ddd;
}
#appcad #areYouSureDelete .pop .actionGroup button:disabled {
  background-color: #808080;
  color: #a9a9a9;
  border-color: #999;
  cursor: not-allowed;
}
#appcad #cadContent {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#appcad #cadContent .info-bar {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  z-index: 10;
  box-shadow: 0 0 0.7em rgba(0, 0, 0, 0.3);
  border: 0.1em solid #575757;
  overflow: hidden;
  border-bottom-right-radius: 0.5em;
  border-bottom-left-radius: 0.5em;
  border-top: 0;
}
#appcad #cadContent .info-bar div {
  text-align: center;
  background-color: #fff;
  padding: 0.3em 2em;
}
#appcad #cadContent .info-bar div:nth-child(odd) {
  background-color: #f7f7f7;
}
#appcad #cadContent .info-bar .minimize-btn {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.4em;
  cursor: pointer;
  transform-origin: center center;
}
#appcad #cadContent .info-bar .minimize-btn:hover {
  transform: scale(1.1);
}
#appcad #cadContent .info-bar.minimized {
  height: 1.7em;
  width: 1.6em;
  background-color: #fff;
}
#appcad #cadContent .info-bar.minimized div {
  display: none;
}
#appcad #collapseOne .panel-footer {
  padding: 0;
}
#appcad #devMenu {
  height: 100%;
  display: none;
}
#appcad #devMenu #minimizeDevContent {
  position: fixed;
  margin-top: -8px;
  right: 267px;
  border: 2px solid #555;
  color: white;
  background-color: #666;
  transition: background-color 0.2s;
}
#appcad #devMenu #minimizeDevContent:enabled {
  cursor: pointer;
}
#appcad #devMenu #minimizeDevContent:hover {
  background-color: #888;
  border-color: #666;
}
#appcad #devMenu #minimizeDevContent:active {
  background-color: #aaa;
  border-color: #888;
}
#appcad #devMenu #minimizeDevContent:focus {
  outline: 0;
}
#appcad #devMenu #devContent.minimized {
  max-height: 60px;
}
#appcad #devMenu #devContent #totalprice > .price, #appcad #devMenu #devContent #railingprice > .price {
  width: 100%;
  display: block;
  text-align: center;
}
#appcad #devMenu #devContent #group {
  color: white;
  background-color: #222;
  text-align: center;
  margin-left: -10px;
  margin-right: -10px;
  margin-top: -10px;
  padding: 5px;
}
#appcad #devMenu #devContent .qty {
  display: none;
}
#appcad #divTileDirection {
  display: none;
}
#appcad #doYouWantToSave .pop {
  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.6);
  border: 3px solid #575757;
}
#appcad #doYouWantToSave .popcontent {
  background-color: gray;
}
#appcad #doYouWantToSave .popcontent .header {
  position: relative;
  background-color: #686868;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 2em;
}
#appcad #doYouWantToSave .popcontent .header h4 {
  margin: 0 0 0 0.5em;
  color: white;
}
#appcad #doYouWantToSave .popcontent .header i {
  color: white;
  margin-left: auto;
  margin-right: 0.5em;
  cursor: pointer;
}
#appcad #doYouWantToSave .popcontent .header i:hover {
  color: #eee;
}
#appcad #doYouWantToSave .popcontent .content {
  padding: 1em;
  background-color: gray;
  color: white;
}
#appcad #doYouWantToSave .actionGroup {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
#appcad #doYouWantToSave .actionGroup button {
  box-sizing: border-box;
  width: calc(33.333% - 0.25em);
  margin-top: 1.5em;
  padding: 0.5em;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  background-color: #686868;
  color: white;
  border: 2px solid #575757;
  transition: background-color 0.2s, color 0.2s;
}
#appcad #doYouWantToSave .actionGroup button:enabled:hover {
  background-color: #acacac;
  color: #000;
  border-color: #686868;
  cursor: pointer;
}
#appcad #doYouWantToSave .actionGroup button:enabled:focus {
  outline: 0;
}
#appcad #doYouWantToSave .actionGroup button:enabled:active {
  background-color: #ddd;
}
#appcad #doYouWantToSave .actionGroup button:disabled {
  background-color: #808080;
  color: #a9a9a9;
  border-color: #999;
  cursor: not-allowed;
}
#appcad #doYouWantToSave .actionGroup button.confirm {
  font-weight: bold;
}
#appcad #menu {
  font-size: 12px;
  width: 300px;
  height: 100%;
  display: none;
  background-color: gray;
  float: left;
  position: relative;
}
#appcad #projectName .pop {
  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.6);
  border: 3px solid #575757;
}
#appcad #projectName .pop .popcontent {
  background-color: gray;
}
#appcad #projectName .pop .popcontent .header {
  position: relative;
  background-color: #686868;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 2em;
}
#appcad #projectName .pop .popcontent .header h4 {
  margin: 0 0 0 0.5em;
  color: white;
}
#appcad #projectName .pop .popcontent .header i {
  color: #fff;
  margin-left: auto;
  margin-right: 0.5em;
  cursor: pointer;
}
#appcad #projectName .pop .popcontent .header i:hover {
  color: #ddd;
}
#appcad #projectName .pop .popcontent .content {
  padding: 1em;
  background-color: gray;
}
#appcad #projectName .pop #inputProjectName {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
#appcad #projectName .pop #inputProjectName #errorProjectName {
  color: red;
  background-color: #e8e8e8;
  padding: 0.5em;
  margin: 0.5em 0 0 0;
  border: 2px solid #ce232b;
  font-size: 0.8em;
}
#appcad #projectName .pop #inputProjectName #inputProjectNameContainer {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  width: 100%;
  min-width: 335px;
}
#appcad #projectName .pop #inputProjectName #inputProjectNameContainer label {
  flex: 1;
  background-color: #686868;
  color: white;
  padding: 0.4em;
}
#appcad #projectName .pop #inputProjectName #inputProjectNameContainer input {
  flex: 2;
  padding: 0.4em;
}
#appcad #projectName .pop #inputProjectName .actionGroup {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
#appcad #projectName .pop #inputProjectName .actionGroup button {
  box-sizing: border-box;
  width: calc(50% - 0.25em);
  margin-top: 1.5em;
  padding: 0.5em;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  background-color: #686868;
  color: white;
  border: 2px solid #575757;
  transition: background-color 0.2s, color 0.2s;
}
#appcad #projectName .pop #inputProjectName .actionGroup button:enabled:hover {
  background-color: #acacac;
  color: #000;
  border-color: #686868;
  cursor: pointer;
}
#appcad #projectName .pop #inputProjectName .actionGroup button:enabled:focus {
  outline: 0;
}
#appcad #projectName .pop #inputProjectName .actionGroup button:enabled:active {
  background-color: #ddd;
}
#appcad #projectName .pop #inputProjectName .actionGroup button:disabled {
  background-color: #808080;
  color: #a9a9a9;
  border-color: #999;
  cursor: not-allowed;
}
#appcad #projectName .pop #inputProjectName .actionGroup button.confirm {
  font-weight: bold;
}
#appcad #projectName .pop #fileExist .warningTitle {
  margin: 0 0 1em 0;
  text-align: center;
  color: #ce232b;
  font-weight: bold;
  background-color: #fff;
  padding: 0.5em;
  border-radius: 0.5em;
}
#appcad #projectName .pop #fileExist .warningTitle::after {
  content: "!";
  margin-left: 1em;
}
#appcad #projectName .pop #fileExist .warningTitle::before {
  content: "!";
  margin-right: 1em;
}
#appcad #projectName .pop #fileExist .actionGroup {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
#appcad #projectName .pop #fileExist .actionGroup button {
  box-sizing: border-box;
  width: calc(50% - 0.25em);
  margin-top: 1.5em;
  padding: 0.5em;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
  background-color: #686868;
  color: white;
  border: 2px solid #575757;
  transition: background-color 0.2s, color 0.2s;
}
#appcad #projectName .pop #fileExist .actionGroup button:enabled:hover {
  background-color: #acacac;
  color: #000;
  border-color: #686868;
  cursor: pointer;
}
#appcad #projectName .pop #fileExist .actionGroup button:enabled:focus {
  outline: 0;
}
#appcad #projectName .pop #fileExist .actionGroup button:enabled:active {
  background-color: #ddd;
}
#appcad #projectName .pop #fileExist .actionGroup button:disabled {
  background-color: #808080;
  color: #a9a9a9;
  border-color: #999;
  cursor: not-allowed;
}
#appcad #projectName .pop #fileExist .actionGroup button.confirm {
  font-weight: bold;
}
#appcad #projectName .pop #fileExist #fileExistContent {
  padding: 1em 1.5em;
  background-color: #a7a7a7;
}
#appcad #projectName .pop #fileExist #fileExistContent #fileExistTitle {
  text-align: center;
  font-size: 1.3em;
  margin: 0.5em 0 1em 0;
}
#appcad #projectName .pop #fileExist #fileExistContent #fileExistTitle #toSaveName {
  background-color: #ccc;
  padding: 0.1em;
  border-radius: 0.4em;
  line-height: 1.3em;
}
#appcad #projectName .pop #ProjectSaved {
  padding: 1em;
  background-color: gray;
  color: white;
}
#appcad #tempList {
  display: none;
  border: 4px solid white;
  box-shadow: 6px 6px 2px rgba(49, 49, 49, 0.29);
  position: fixed;
  width: 80%;
  height: 80%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  background: white;
  z-index: 1000;
}
#appcad #tempList ul {
  list-style-type: none;
  margin-bottom: 10px;
  padding: 0;
}
#appcad #tempList ul li.price {
  display: none;
}
#appcad #tempList > .wrapper > .content > .headerSection > ul > li:not(.description), #appcad #tempList > .wrapper > .content > .ItemRequis > div > ul > li:not(.description) {
  display: inline-block;
  text-align: center;
}
#appcad #tempList .content {
  width: 100%;
  display: block;
  margin: 0 auto;
}
#appcad #tempList #ItemRequis {
  border-bottom: 2px solid white;
  float: left;
  width: 100%;
  background: #ececec;
}
#appcad #tempList .headerSection {
  float: left;
  margin: 0 0 10px;
  width: 100%;
  background: #565656;
  color: White;
}
#appcad #tempList .headerSection li,
#appcad #tempList .ItemRequis li {
  font-weight: 600;
}
#appcad #tempList #header h1 {
  border-bottom: 1px solid gray;
  width: 100%;
  display: block;
  margin: 0 auto;
  padding: 10px 0;
}
#appcad #tempList .quantity,
#appcad #tempList .code,
#appcad #tempList .price {
  width: 12%;
}
#appcad #tempList .description {
  display: inline-block;
  width: 55%;
  text-align: left;
}
#appcad #tempList .empty {
  width: 2.5%;
}
#appcad #tempList .content div div {
  border-bottom: 2px solid white;
  float: left;
  width: 100%;
  background: #f2f2f2;
}
#appcad #tempList #totalBudget {
  position: absolute;
  bottom: 0;
  background: #e8e8e8;
  width: 95%;
  padding: 0 2.5%;
  height: 40px;
  line-height: 40px;
}
#appcad #tempList #totalBudget input {
  float: right;
  margin: 10px;
}
#appcad #tempList #totalBudget p {
  margin: 0;
  font-weight: 600;
  width: 50%;
  float: left;
}
#appcad .category {
  display: none;
  /*color: snow;*/
  font-family: Roboto, sans-serif;
  margin-top: 10px;
  margin-bottom: 10px;
}
#appcad .closeBT {
  background: #e2e2e2;
  /* Old browsers */
  background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e2e2e2", endColorstr="#fefefe", GradientType=0);
  /* IE6-9 */
  cursor: pointer;
  position: absolute;
  right: 0.5%;
  top: 0.7%;
  padding: 6px 12px;
  font-size: 120%;
  border: 1px solid #dadada;
}
#appcad .fadeScreen {
  display: none;
  background: rgba(0, 0, 0, 0.49);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}
#appcad .hidden {
  display: none !important;
}
#appcad .tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 100%;
  position: relative;
}
#appcad .tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 10px;
}
#appcad .tab button:hover {
  background-color: #ddd;
}
#appcad .tab button.active {
  background-color: #ccc;
}
#appcad .wrapper {
  display: block;
  height: 88%;
  margin: 50px auto 0;
  padding: 0 2%;
  width: 95%;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
}

#CAD #topmenu {
  text-align: center;
}
#CAD #topmenu img,
#CAD #bottommenu img,
#CAD select:hover {
  border-color: red;
}
#CAD select {
  margin: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}
#CAD .group {
  margin: 0px 0px 0px 20px;
}
#CAD .group li {
  font-size: 10px;
}
#CAD .group .title {
  font-size: 14px;
}
#CAD .version {
  font-size: 18px;
  margin: 0px 0px 10px 0px;
}
#CAD .menuWhoFollowMouseElement {
  margin: 3px 5px 3px 5px;
}
#CAD .hidden {
  display: none;
}
#CAD .areasExisting {
  display: none;
}
#CAD .legendSpace {
  width: 24%;
}
#CAD .imageSpace {
  width: 76%;
  padding-top: 20px;
}
#CAD #divDeletePoly {
  display: none;
}
#CAD .txtField {
  width: 40px;
}
#CAD #btnStartJoists,
#CAD #btnStartBeams {
  width: 70px;
}
#CAD #txtDecking {
  width: 70px;
  display: inline-block;
}
#CAD #txtDeckingSpacing {
  margin-left: 10px;
  margin-top: 5px;
}
#CAD .error {
  border-color: red;
}
#CAD .itemCount {
  margin-left: 10px;
  display: inline;
}
#CAD #myLengthPoolDiv,
#CAD #myLengthStairsDiv {
  display: none;
  margin-left: 10px;
}
#CAD #deletePool {
  display: none;
}

#cadprice {
  display: none;
}

/*.bigButton {
    border: 0;
    padding: 8px 8px;
    color: white;
    background-color: #686868;
    transition: background-color 0.2s, color 0.2s;
    border: 2px solid #575757;
    box-sizing: border-box;

    &:disabled {
        background-color: #808080;
        color: #a9a9a9;
        border-color: #999;
        cursor: not-allowed;
    }

    &:enabled {
        &:hover {
            background-color: #acacac;
            color: #000;
            border-color: #686868;
            cursor: pointer;
        }

        &:focus {
            outline: 0;
        }

        &:active {
            background-color: #ddd;
        }
    }
}*/
.flat {
  background: none;
  border: 2px solid transparent;
  color: white;
  padding: 0.6rem;
  cursor: pointer;
  transition: 0.2s;
  box-sizing: border-box;
  width: 100%;
}
.flat:enabled:hover, .flat:enabled:focus {
  background-color: white;
  border: 2px solid #ce232b;
  color: #ce232b;
}
.flat:enabled:active {
  background-color: #eee;
}

#pop_project .contact {
  display: none;
}

/*#controls,
#newProject {

    input[type=button],
    button {
        border: 0;
        padding: 8px 0px;
        color: white;
        background-color: #686868;
        transition: background-color 0.2s, color 0.2s;
        border: 2px solid #575757;
        box-sizing: border-box;

        &:disabled {
            background-color: #808080;
            color: #a9a9a9;
            border-color: #999;
            cursor: not-allowed;
        }

        &:enabled {
            cursor: pointer;

            &:hover {
                background-color: #acacac;
                color: #000;
                border-color: #686868;
            }

            &:focus {
                outline: 0;
            }

            &:active {
                background-color: #ddd;
            }
        }
    }
}*/
#editStructure {
  padding-left: 20px;
  margin-top: 25px;
}
#editStructure span:not(#minMaxValDeckHeight) {
  font-weight: bold;
  font-size: 20px;
}
#editStructure table {
  padding-left: 15px;
  margin-top: 5px;
}
#editStructure input[type=radio] {
  cursor: pointer;
  transition: color 0.2s;
}
#editStructure label {
  cursor: pointer;
  transition: color 0.2s;
}
#editStructure label:hover {
  color: #ddd;
}
#editStructure label:active {
  color: #aaa;
}
#editStructure #divCutBeams {
  margin-top: 20px;
  position: relative;
}
#editStructure #divCutBeams label {
  position: absolute;
  top: 0;
}
#editStructure #divCutBeams #cutBeams {
  margin-left: 0;
}
#editStructure #divDeckHeight {
  -webkit-transform: translate(63px, -30px);
  -ms-transform: translate(63px, -30px);
  transform: translate(63px, -30px);
}

#largeurControls {
  color: white;
  position: absolute;
  right: 15px;
  top: 0;
}
#largeurControls i {
  height: 25px;
  width: 25px;
  position: relative;
  font-size: 25px;
  cursor: pointer;
  transition: color 0.2s;
}
#largeurControls i:hover {
  color: #ddd;
}
#largeurControls i:active {
  color: #aaa;
  transform: scale(0.9);
}

.length-input-container {
  display: flex;
  padding: 5px;
}
.length-input-container:nth-of-type(odd) {
  background-color: #ddd;
}
.length-input-container:nth-of-type(even) {
  background-color: #eee;
}
.length-input-container .unit {
  padding: 0.3em;
}

.form-check .length-input-container {
  background-color: transparent;
  padding: 0;
  margin-top: 5px;
}

.error-message {
  display: block;
  background-color: #d9534f;
  padding: 0.3em;
  font-size: 0.75em;
  font-weight: bold;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  border-bottom-left-radius: 0.25em;
  border-bottom-right-radius: 0.25em;
}

.helper-message {
  margin-top: 0.4em;
  margin-bottom: 1em;
  border-radius: 3px;
  background-color: #e5e5e5;
  padding: 0.5em;
}
.helper-message h4 {
  margin-top: 0.2em;
  margin-bottom: 0.4em;
}
.helper-message h4 i {
  margin-right: 0.3em;
}

#menuStairsSimple #btn_makeSimpleStairs i {
  line-height: inherit;
}

.control-container {
  margin-bottom: 1em;
}

#printRailing {
  display: none;
}

#printRailingList {
  display: none;
}

.warnings-display {
  padding: 15px;
  padding-bottom: 0px;
  background-color: #f9e666;
  border: 3px dashed #ebcb00;
  border-radius: 15px;
  z-index: 1000;
  -webkit-box-shadow: 0 0 0 3px #f9e666, 2px 2px 3px 4px rgba(10, 10, 0, 0.1);
  box-shadow: 0 0 0 3px #f9e666, 2px 2px 3px 4px rgba(10, 10, 0, 0.1);
}

.warnings-display .title {
  font-weight: bold;
  height: 20px;
}

.warnings-display .title span {
  float: left;
  line-height: 20px;
}

.warnings-display .title button {
  float: right;
  height: 20px;
  border: 0;
  background-color: transparent;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.warnings-display .title button:hover {
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}

.warnings-display .title button:active {
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
}

.warnings-display ul {
  padding-left: 20px;
}

.IFrameHider {
  cursor: pointer;
  font-size: 19px;
  font-weight: bold;
}

.IFrameHider:hover {
  font-size: 20px;
  background-color: #f0f0f0;
}

#codeAD {
  font-weight: bold;
  font-size: 18px;
}

.logo {
  overflow: hidden;
}

.logo img {
  width: 320px;
}

.title {
  margin: 5px;
}

.warning.msg {
  margin: 20px;
}

.warning.msg a {
  font-weight: bold;
}

#notifGuide .close {
  right: 3px;
  /* margin: 4px; */
  border-color: black;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  /* padding: 1px; */
  background-color: rgba(225, 225, 225, 0.7);
  top: 2px;
  position: absolute;
  padding-bottom: 2px;
  padding-left: 3px;
  padding-right: 3px;
  font-size: 14px;
  color: white;
  background-color: red;
}

#notifGuide .close:hover {
  border-width: 2px;
  font-size: 17px;
}

.tooltip-inner {
  padding: 10px;
  color: white;
  font-size: 14px;
  word-break: break-word;
  width: 200px;
}

.myForms .close-header {
  margin: 5px;
}

.myForms .close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.9;
  padding: 6px;
  width: 26px;
}

.myForms .close:hover {
  color: #000;
}

.myForms .content {
  margin: 50px 30px 20px 30px;
}

.myForms .header {
  font-weight: bold;
}

.myForms .form-title {
  font-size: 30px;
}

.myForms .form-explanation {
  font-size: 17px;
  margin: 20px 0 20px 0;
}

.myForms .section {
  margin: 15px 0;
}

.myForms .control-label {
  font-size: 16px;
  margin-bottom: 0;
}

.myForms .footer {
  margin-top: 30px;
  text-align: right;
}

.myForms .step2 .footer {
  margin: 30px;
  text-align: center;
}

.myForms .step2 .body {
  margin: 70px 40px;
  font-weight: bold;
  font-size: 17px;
}

.myForms .hidden {
  display: none;
}

.myForms .step2 {
  text-align: center;
}

.myForms .modal-header {
  margin: 50px;
}

#pop_PleaseSaveFirst .modal-body {
  font-size: 22px;
  text-align: center;
  margin: 80px 0 50px 0;
}

#pop_wizard .modal-body {
    max-height: 80vh;
    overflow-y: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.langSelector {
  margin: 10px;
}

ul.langSelector {
  list-style: none;
  background: #f2f2f2;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 10px;
  padding: 0;
}

ul.langSelector li {
  display: inline-block;
  position: relative;
  line-height: 21px;
  text-align: left;
}

ul.langSelector li a {
  display: block;
  padding: 8px 25px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

ul.langSelector li a:hover {
  color: #fff;
  background: #939393;
  text-decoration: none;
  border-radius: 10px;
}

ul.langSelector li ul {
  min-width: 100%;
  /* Set width of the dropdown */
  background: #f2f2f2;
  display: none;
  position: absolute;
  z-index: 999;
  padding: 0;
  top: 0;
  border-radius: 10px;
}

ul.langSelector li:hover ul {
  display: block;
  /* Display the dropdown */
}

ul.langSelector li ul li {
  display: block;
}

#pop_Admin ul {
  margin-top: 20px;
  list-style: none;
}

#pop_Admin ul.pagination {
  width: 105%;
}

#pop_Admin ul li {
  margin: 10px;
}

#pop_Admin .tab-pane {
  margin-bottom: 0;
}

#pop_Admin .modal-content {
  background-color: #444;
}

#pop_Admin .tab-content {
  background-color: white;
}

#pop_Admin .left-menu {
  height: 100%;
  background-color: gray;
  padding-top: 20px;
  /* border-style: solid; */
  border-color: #444;
  /* border-bottom-style: solid; */
  /* border-right-color: #444; */
  border-top: #3688ca;
  border-style: solid;
  border-left: #3688ca;
  border-left-style: solid;
  /* border-top-style: solid;*/
}

#pop_Admin .main-title {
  color: white;
  text-align: center;
  padding: 0;
}

#pop_Admin button.selected {
  background-color: #acacac !important;
  color: black !important;
  border-style: solid !important;
  border-color: black !important;
  font-weight: bold !important;
}

#pop_Admin .panel-title, #pop_Admin label[for=SystemAdminPanelContext_Contextes] {
  font-weight: bolder;
}

#pop_Admin .system-admin.content, #pop_Admin .context-admin.content {
  padding: 20px;
  padding-top: 0;
}

#pop_QuoteInfo .title, #pop_SupportInfo .title {
  font-weight: bold;
}

#pop_Admin .close {
  margin: 20px;
  position: absolute;
  right: 0;
  color: #FFF;
  opacity: 0.6;
  z-index: 99999;
}

#pop_Admin .close:hover {
  font-size: 22px;
  opacity: 0.9;
}

#menu_ContextAdminContext .title, #menu_SystemAdminContext .title {
  font-weight: bold;
  margin-right: 10px;
  width: 270px;
}

#menu_ContextAdminContext .row > div, #menu_ContextAdminContext .row > span, #menu_SystemAdminContext .row > div, #menu_SystemAdminContext .row > span, #menu_SystemAdminContext .row > form, #menu_ContextAdminContext .row > form {
  display: inline-block;
}

#menu_ContextAdminContext .row, #menu_SystemAdminContext .row {
  margin-bottom: 5px;
  margin-top: 5px;
}

#menu_SystemAdminContext .row form, #menu_ContextAdminContext .row form {
  width: auto;
}

#supportRequestEmail, #quoteRequestEmail {
  width: 250px;
}

#systemAdminProjectsList th, #systemAdminProjectsList td, #contextAdminProjectsList th, #contextAdminProjectsList td {
  text-align: center;
}

#pop_Admin table.table tr {
  cursor: default;
}

.landmark-item {
  background-color: lightgray;
  border-radius: 5px;
  height: 44px;
  margin-bottom: 10px;
}

.landmark-item .name {
  margin: 10px 0 10px 5px;
  float: left;
  background-color: white;
  border-style: none;
  border-radius: 5px;
}

.landmark-item .name:hover {
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.4);
}

.landmark-item .delete {
  color: white;
  margin-top: 10px;
  margin-left: 2px;
  width: 30px;
  height: 24px;
  background-color: gray;
  border-radius: 5px;
  border-color: gray;
  font-weight: bold;
}

.landmark-item .delete:hover {
  background-color: #d70000 !important;
}

#myLandmarks {
  width: 280px;
}

#myLandmarks .fa-cog, #myLandmarks .fa-arrow-left {
  width: 61%;
  text-align: right;
  font-size: 18px;
  cursor: pointer;
}

#myLandmarks .fa-cog:hover, #myLandmarks .fa-arrow-left:hover, #myLandmarks .fa-up-right-and-down-left-from-center:hover, #myLandmarks .fa-down-left-and-up-right-to-center:hover, .fa-down-left-and-up-right-to-center:hover, .fa-up-right-and-down-left-from-center:hover {
  color: lightgray;
}

.fa-down-left-and-up-right-to-center, .fa-up-right-and-down-left-from-center, #myLandmarks .panel-heading {
  cursor: pointer;
}

#btn_deleteLandmark {
  cursor: pointer;
  margin: 5px 0;
  width: 100%;
}

.deleteStairs {
  cursor: pointer;
}

#btn_contest:hover {
  color: #ff8d00 !important;
  outline-color: #ff8d00 !important;
  font-weight: bold;
}

#btn_deleteElements {
  background-color: red;
  font-size: 16px;
  font-weight: bold;
  border-color: white;
  margin: 10px;
  border-radius: 10px;
}

#btn_deleteElements:hover {
  border-color: black;
}

.highlighted {
  font-weight: bold;
}

.scrolableList {
  font-size: 12px;
  height: 120px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  display: inline-block;
}

.scrolableList > ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.scrolableList ul:hover {
  background-color: #f0f0f0;
  /* Change le fond lorsqu'on survole */
  cursor: pointer;
  /* Change le curseur pour indiquer que c'est cliquable */
  transition: background-color 0.3s ease;
  /* Ajoute une transition pour un effet fluide */
}

.scrolableList ul:hover #fakeTooltip {
  visibility: visible;
  opacity: 1;
}

#fakeTooltip div {
  margin: 10px;
}

.scrolableList > ul > li {
  padding: 5px;
  border-bottom: 1px solid #eee;
}

.scrolableList > ul > li.emailList, .scrolableList > ul > li.dateList {
  width: 90px;
}

.scrolableList .stars {
  white-space: nowrap;
  width: 80px;
  font-size: 8px;
}

.scrolableList > ul > li:last-child {
  width: 65%;
}

#projectsTable td, #quoteRequestsTable td, #supportRequestsTable td, .emailList, .commentList, .datelList {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

td.item-name {
  min-width: 200px;
  /* Limite la largeur de la colonne */
  padding-right: 10px;
  max-width: 200px;
}

td.item-status {
  text-align: center;
  max-width: 80px;
}

td.item-price {
  max-width: 80px;
  padding-left: 10px;
}

td.item-username {
  max-width: 170px;
  /* Limite la largeur de la colonne */
  width: 150px;
  padding-right: 10px;
}

td.item-ctx {
  width: 100px;
  max-width: 100px;
  padding-right: 10px;
}

td.item-id {
  width: 50px;
  /* Limite la largeur de la colonne */
  padding-right: 10px;
}

td.item-date {
  max-width: 100px;
  /* Limite la largeur de la colonne */
  min-width: 100px;
  padding-right: 10px;
}

#menu_AdminQuote th, #menu_AdminSupportRequest th, #menu_AdminProjects th {
  text-align: center;
}

#projectsTable .item-guid, #quoteRequestsTable .item-guid, #quoteRequestsTable .user-guid, #quoteRequestsTable .project-guid, #supportRequestsTable .item-guid, #supportRequestsTable .user-guid, #supportRequestsTable .project-guid {
  display: none;
}

.pagination {
  width: 102%;
}

.custom-row-height {
  height: 34px;
}

ul.inline-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  color: white;
  width: 100%;
}

ul.inline-list li {
  display: inline;
  padding: 0 10px;
}

form.exclude-width {
  width: auto;
}

.display-inline {
  display: inline-block;
}

.row.margin-bottom {
  margin-bottom: 15px;
}

.admin-settings {
  margin-top: 10px;
}

.width250 {
  width: 280px;
}

.emailTextField {
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}

.redError {
  color: red;
}
