/*@mixin fa($icon) {
    @include fa-icon;
    @extend .far;
    @extend .fa-
    font-family: 'FontAwesome';
    text-align: center;

    &:before {
        /*content: "\f"+$c+";";*/
#popin .shadow {
  display: none;
  position: absolute;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 75, 75, 0.3);
}
#popin .box {
  display: none;
  position: absolute;
  z-index: 10001;
  left: 50%;
  top: 50%;
  background-color: #fff;
  overflow: hidden;
  border-radius: 8px;
  /*
  .level2 {
      display: none;
      background-color: @color-theme-white;
      border: 1px solid @color-theme-verylight;
      border-radius: 4px;
      z-index: 101;

      .close2 {
          display: block;
          .picto-close();
          background-color: @color-theme-blue;
          border-radius: 5px;
          color: @color-theme-white;
          line-height: 34px;
          width: 34px;
          font-size: 22px;
          text-align: center;
          position: absolute;
          right: 4px;
          top: 3px;
          cursor: pointer;

          &:hover {
              background-color: @color-theme-orange;
          }
      }

      .content2 {
          padding-bottom: 40px;

          .bottom {
              position: absolute;
              height: 36px;
              left: 0;
              right: 0;
              bottom: 0;
              padding-right: 4px;
          }
      }*/
}
#popin .box .close {
  display: block;
  background-color: #5e88b3;
  border-radius: 5px;
  color: #fff;
  line-height: 34px;
  width: 34px;
  font-size: 22px;
  text-align: center;
  position: absolute;
  right: 4px;
  top: 3px;
  cursor: pointer;
}
#popin .box .close:hover {
  background-color: #df331b;
}
#popin .box .popinresponse {
  display: none;
}
#popin .box .content, #popin .box .content2 {
  padding: 10px;
  margin-right: 30px;
}
#popin .box .content h2, #popin .box .content2 h2 {
  font-size: 140%;
  color: #5e88b3;
  margin-bottom: 10px;
}
#popin .box .content h3, #popin .box .content2 h3 {
  font-size: 110%;
  color: #8a3b86;
  margin-bottom: 10px;
}
#popin .box .content .errors-summary, #popin .box .content2 .errors-summary {
  display: none;
  background-color: #fce7e4;
  color: #df331b;
  margin: 10px 0;
  padding: 10px;
}
#popin .box .content .errors-summary li, #popin .box .content2 .errors-summary li {
  list-style: square;
  margin-left: 20px;
}
#popin .box .content .actions, #popin .box .content2 .actions {
  text-align: right;
}
#popin .box .content .actions .notvalid, #popin .box .content2 .actions .notvalid {
  text-align: center;
  float: left;
  display: none;
  color: #df331b;
  font-weight: 400;
  width: 250px;
  background-color: #f9d2cd;
  padding: 3px 5px;
  margin-right: 10px;
  border-radius: 4px;
}
#popin .box .content .actions .notvalid span, #popin .box .content2 .actions .notvalid span {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  vertical-align: -0.125em;
  font-family: "FontAwesome";
  text-align: center;
}
#popin .box .content .actions .notvalid span:before, #popin .box .content2 .actions .notvalid span:before {
  content: "&#xf071;";
}
#popin .box .content .actions .save, #popin .box .content2 .actions .save {
  display: inline-block;
  line-height: 30px;
  background-color: #5e88b3;
  color: #fff;
  padding: 0 10px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #476f97;
}
#popin .box .content .actions .save:hover, #popin .box .content2 .actions .save:hover {
  background-color: #476f97;
}
#popin .box .content .actions .save span, #popin .box .content2 .actions .save span {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  vertical-align: -0.125em;
  font-family: "FontAwesome";
  text-align: center;
  padding-right: 10px;
}
#popin .box .content .actions .save span:before, #popin .box .content2 .actions .save span:before {
  content: "&#xf046;";
}
#popin .box .content .actions .save.andclose, #popin .box .content2 .actions .save.andclose {
  display: inline-block;
  line-height: 30px;
  background-color: #8a3b86;
  color: #fff;
  padding: 0 10px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #662c63;
}
#popin .box .content .actions .save.andclose:hover, #popin .box .content2 .actions .save.andclose:hover {
  background-color: #662c63;
}
#popin .box .content .actions .save.andclose span, #popin .box .content2 .actions .save.andclose span {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  vertical-align: -0.125em;
  font-family: "FontAwesome";
  text-align: center;
}
#popin .box .content .actions .save.andclose span:before, #popin .box .content2 .actions .save.andclose span:before {
  content: "&#xf0c7;";
}
#popin .box .content .actions .closebutton, #popin .box .content2 .actions .closebutton {
  display: inline-block;
  line-height: 30px;
  background-color: #8a3b86;
  color: #fff;
  padding: 0 10px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #662c63;
}
#popin .box .content .actions .closebutton:hover, #popin .box .content2 .actions .closebutton:hover {
  background-color: #662c63;
}

/*#region color*/
/*.bg-1 {
    background: $bg-color-1;
}

.bg-2 {
    background: $bg-color-2;
}*/
/*.bg-3 {
    background: #593b0b;
}
.bg-4 {
    background: #B9A64D;
}

.bg-5{
    background: #A89331;
}*/
/*.fg-1 {
    color: $fg-color-1;
}

.fg-2 {
    color: $fg-color-2;
}

.fg-3 {
    color: $fg-color-3;
}

.fg-orange {
    color:#ff4f00;
}*/
/*.fg-3 {
    color: #593b0b;
}

.fg-4 {
    color: #B9A64D;
}

.fg-5 {
    color: #A89331;
}*/
/*#endregion color*/
/*.unsetcolor{
    color:unset;
}

html, body{
    height:100%;
    margin:0;
    padding:0;
}*/
/*--------------- Apparence par defaut des controles HTML standards --------------------------*/
/*input[type=text], input[type=number], textarea, select {
    width: 100%;
    border: solid 1px $color-theme-halfdark;
    border-radius: 2px;

    &.input-validation-error {
        background-color: lighten($color-theme-red,32%);
        border-color: $color-theme-red;
    }
}

.field-validation-error {
    color: $color-theme-red;
    border-color: lighten($color-theme-red,32%);
}*/
/*--------------- Apparence des controles specifiques a des types --------------------------*/
/*input[type=text].money, input[type=text].percentage, input[type=text].monthduration {
    text-align: right;
}

input:read-only {
    background-color: yellow;
}*/
/*#region image on homepage*/
/*.pictureWelcomePage {
    height: 650px;

    @media (max-height:620) {
        height: 400px;
    }

    @media (max-height:950) {
        height: 650px;
    }
}*/
/*#endregion image on homepage*/
#main {
  /* padding-bottom: $gutter*21;*/
  /*overflow: auto;
  padding-bottom: $gutter*21;*/
  /*padding-bottom: $gutter*21;*/
  padding-bottom: 175px;
}

#wrapper {
  min-height: 100vh;
  position: relative;
  /*position: relative;*/
  /*min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -60px;*/
}

footer {
  position: absolute;
  bottom: 0;
  /*position: relative;
      clear: both;
  */
  /*margin-top: -150px;*/
  /* negative value of footer height */
  /*height: 150px;*/
  /*padding-top: 20px;*/
  /* background-color: $bg-color-1;*/
  /* width: 100%;*/
  /*    height: $gutter*21;
  padding: 0;
  line-height: normal;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;*/
}

/*footer > div > div > div > h6 {
    border-bottom: 1px solid $color-theme-verylight;
}

footer > div > div > div {
    background-color: $bg-color-1;
}*/
/*#region Selecteur de couleurs */
/*.colorpicker {

    .display {
        height: 26px;
        margin-right: 30px;
        border-radius: 3px;
    }

    .picker {
        float: left;
        position: relative;

        .button {
            width: 26px;
            line-height: 26px;
            background-color: $color-theme-halfdark;
            color: $color-theme-white;*/
/*@include picto-down();*/
/*border-radius: 3px;
            cursor: pointer;
            display: block;
        }

        .flyout {
            display: none;
            position: absolute;
            z-index: 10;
            top: 0;
            left: 0;
            background-color: $color-theme-white;
            border: 1px solid $color-theme-verylight;
            width: 90px;
            padding: 5px;
            font-size: 0;
            line-height: 100%;
            -moz-box-shadow: 2px 2px 4px 1px #cfcfcf;
            -webkit-box-shadow: 2px 2px 4px 1px #cfcfcf;
            box-shadow: 2px 2px 4px 1px #cfcfcf;

            li {
                display: inline-block;
                margin: 2px;
                width: 22px;
                height: 22px;
                border: 2px solid transparent;
                cursor: pointer;

                &.selected, &:hover {
                    border-color: $color-theme-dark;
                }
            }
        }

        &:hover {
            .flyout {
                display: block;
            }
        }
    }
}

.picker-color-01 {
    background-color: #ffcc7d;
}

.picker-color-02 {
    background-color: #bcdc5f;
}

.picker-color-03 {
    background-color: #f27788;
}

.picker-color-04 {
    background-color: #92c4f7;
}

.picker-color-05 {
    background-color: #eea8fb;
}

.picker-color-06 {
    background-color: #fbf8b2;
}

.picker-color-07 {
    background-color: #9df4e9;
}

.picker-color-08 {
    background-color: #e9e9e9;
}

.picker-color-09 {
    background-color: #bbbbbb;
}*/
/*#endregion Selecteur de couleurs */
/*.dropdown-menu li:hover {
    cursor: pointer;
}

.dropdown-toggle {
    cursor: pointer;
}*/
/*#region extends boostrap*/
/*$padding-base: 15px;
$color-body: #fff;
$color-border: #ddd;
$color-link: #0275d8;
$border-radius: .25rem;

.nav-tabs {
    &--vertical {
        border-bottom: none;
        border-right: 1px solid $color-border;
        display: flex;
        flex-flow: column nowrap;
    }

    &--left {
        margin: 0 $padding-base;

        .nav-item + .nav-item {
            margin-top: .25rem;
        }

        .nav-link {
            transition: border-color .125s ease-in;
            white-space: nowrap;

            &:hover {
                background-color: lighten($color-border, 10%);
                border-color: transparent;
            }
        }

        .nav-link.active {
            border-bottom-color: $color-border;
            border-right-color: $color-body;
            border-bottom-left-radius: $border-radius;
            border-top-right-radius: 0;
            margin-right: -1px;

            &:hover {
                background-color: $color-body;
                border-color: $color-link $color-body $color-link $color-link;
            }
        }
    }
}*/
/*#endregion*/
/*#region extends editor mxgraph for softwarefactory*/
/*.splash {
    background: white;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 4;
    width: 100%;
    height: 100%
}

.status {
    white-space: nowrap;
}

div.base {
    position: absolute;
    overflow: hidden;
    font-family: Arial;
    font-size: 8pt;
}

div.base#graph {
    border-style: solid;
    border-color: #F2F2F2;
    border-width: 1px;
    background: url('/lib/mxgraph/images/grid.gif');
    position: relative;
    overflow: hidden;
    width: 80%;
    height: 441px;
    cursor: default;
}

.mxPopupMenu {
    border: 3px solid #ee82ee;
}

table.mxPopupMenu {
    border-collapse: collapse;
    margin: 0px;
}

tr.mxPopupMenuItem {
    color: black;
    cursor: default;
}

td.mxPopupMenuItem {
    padding: 6px 60px 6px 30px;
    font-family: Arial;
    font-size: 10pt;
}

td.mxPopupMenuIcon {
    background-color: white;
    padding: 0px;
}

tr.mxPopupMenuItemHover {
    background-color: #eeeeee;
    color: black;
}

table.mxPopupMenu hr {
    border-top: solid 1px #006400;
}

table.mxPopupMenu tr {
    font-size: 4pt;
}*/
/*#endregion extends editor mxgraph for softwarefactory*/