html {
  height: 100%;
  box-sizing: border-box;
  color: #4a4a4a;
}

body {
  /*display: flex;*/
  flex-direction: column;
  height: 100vh;
  font: 15px/1.3 'Open Sans', sans-serif;
  background: #f5f5f5;
}

::-moz-selection {
  background: rgba(70, 136, 241, 0.3);
  text-shadow: none;
}

::selection {
  background: rgba(70, 136, 241, 0.3);
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ddd;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

a {
  color: #4688f1;
  text-decoration: none;
}

  a:hover {
    /*text-decoration: underline;*/
  }

table thead a {
  font-weight: 400;
  font-style: italic;
  color: #9e9e9e;
}

table tbody a {
  color: #4a4a4a;
  display:block;
  width:100%;
  height:100%;
  margin: -7px -10px;
  padding: 7px 10px;
  box-sizing: content-box;
}

table tbody .linkcell{
  padding-right:10px;
}

table tbody .linkcell a{
  text-align: right;
  color: #4688f1;
}

h1 {
  margin: 0 0 26px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

  h1 > a {
    position: relative;
    top: -2px;
    display: inline-block;
    margin-right: 5px;
  }

  h1 > label {
    display: inline-block;
    font-size: 15px;
    padding-left: 20px;
    text-transform: none;
  }

h2 {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: bold;
}

.client-overview h2,
.document-overview h2{
  padding-bottom: 15px;
  border-bottom: 2px solid #ddd;
}

  .client-overview h2.empty,
  .document-overview h2.empty{
    padding-bottom: 17px;
    border-bottom: 0;
  }

h3 {
  margin: 0;
  font-size: 15px;
  font-weight: normal;
  color: #9b9b9b;
}

p {
  margin: 0 0 10px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

label {
  display: block;
  padding-right: 10px;
  color: #9b9b9b;
}

input[type=text],
input[type=password] {
  height: 34px;
  padding: 5px 9px 7px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #fcfcfc;
}

input[type=checkbox] {
  margin-right: 10px;
}

.form-item {
  position: relative;
  margin-bottom: 10px;
}

.form-group-inline .form-item {
  display: inline-block;
  padding-right: 10px;
}

.form-group-inline label {
  display: inline-block;
}

.form-dates {
  display: inline-block;
  margin-right: 8px;
}

.form-date {
  width: 126px;
}

.icon-date {
  position: absolute;
  right: 18px;
  top: 6px;
}

.date-icon {
  fill: #4688f1;
}

.form-actions {
  display: inline-block;
  white-space: nowrap;
}

.button {
  display: inline-block;
  line-height: 30px;
  padding: 1px 5px;
  min-width: 115px;
  height: 34px;
  margin: 0 18px 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #4688f1;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

  .button:disabled {
    opacity: 0.5;
  }

.button--primary {
  border-color: #4688f1;
  background: #4688f1;
}

.button.button--primary {
  color: #fff;
}

.right {
  text-align: right;
}

.backarrow {
  fill: #4688f1;
}

.user-image {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 300px;
  border-bottom: 4px solid #4688f1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  /*background-image:url(img/img-default-bg.jpg);*/
}

/* structure */
.main-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 1200px;
  min-width: 900px;
  /*margin-left: 96px;*/
  margin: 0 auto;
  padding: 21px 30px 30px 126px;
  /*transition: padding-left .5s;*/
}

@media only screen and (max-width: 1554px) {
  .nav--open {
    padding-left: 310px;
  }
}

.content {
  margin-bottom: 20px;
  padding: 20px 30px;
  border-radius: 4px;
  background: #fff;
}

.main-footer {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  justify-content: flex-end;
  /*transition: margin-left .5s;*/
}

.footer__content {
  padding: 13px 0;
  border-top: 1px solid #ddd;
  color: #9b9b9b;
  font-size: 13px;
}

@media only screen and (min-width: 1024px) {
  .client-overview,
  .document-overview{
    min-height: min-content;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

    .client-overview .content,
    .document-overview .content{
      flex: 0 0 49%;
    }
}

/* login */
.login {
  margin-left: 0;
}

  .login h1 {
    font-size: 24px;
  }

  .login .content {
    z-index: 5;
    max-width: 350px;
    margin: 145px auto 20px;
    padding-top: 32px;
    box-shadow: 0 20px 44px 0 rgba(0,0,0,0.11);
  }

  .login .form-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 37px;
  }

    .login .form-item svg {
      position: absolute;
      left: 0;
      top: 5px;
    }

    .login .form-item span {
      display: inline-block;
      padding-top: 5px;
    }

  .login .form-actions {
    margin-left: 37px;
  }

  .login .main-footer {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
  }

/* path */
.path {
  margin-bottom: 20px;
  padding: 8px 30px;
  border-radius: 2px;
  font-size: 14px;
  color: #9b9b9b;
  background: #ebebeb;
}

  .path a {
    color: #9b9b9b;
  }

/* info */
.info {
  margin-bottom: 20px;
  padding: 8px 30px;
  border-radius: 2px;
  font-size: 15px;
  color: #9b9b9b;
  background: #efefef;
}

/* navigation */
.main-nav {
  position: fixed;
  width: 96px;
  height: 100%;
  z-index: 10;
}

.navbar {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 60px;
  height: 100%;
  padding: 15px 0 0 10px;
  background: #4688f1;
}

.navbar__bottom {
  position: absolute;
  bottom: 25px;
}

.navbar a {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  padding-top: 8px;
  border: 1px solid rgba(255,255,255,0);
  text-align: center;
}

.navbar .active {
  border: 1px solid rgba(255,255,255,0.67);
  border-radius: 50%;
}

.badge {
  position: absolute;
  bottom: 2px;
  right: -2px;
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 23px;
  background: rgba(0,0,0,0.7);
}

.subnavbar {
  position: absolute;
  left: 60px;
  top: 0;
  z-index: 2;
  overflow-x: hidden;
  width: 36px;
  height: 100%;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.11);
  background: #fff;
  /*transition: 0.5s;*/
}

  .subnavbar:not(.subnavbar--open) {
    overflow: hidden;
  }

.subnavbar--open {
  width: 300px;
}

.subnavbar__button {
  position: sticky;
  /*position: relative;*/
  right: 0;
  top: 18px;
  z-index: 5;
  display: block;
  width: 32px;
  height: 32px;
  margin: 2px;
  background: url(../images/icon-open.svg) no-repeat center center;
  background-size: 10px 10px;
  transform: rotate(-180deg);
  cursor: pointer;
  float:right
  /*transition: 0.5s;*/
}

.subnavbar--open .subnavbar__button {
  transform: rotate(0deg);
  /*position: absolute;*/
}

.subnavbar__content {
  opacity: 0;
  margin-left: -36px;
  padding: 28px 10px 0 20px;
  width: 0;
  /*transition: 0.5s;*/
  visibility: hidden;
}

.subnavbar--open .subnavbar__content {
  opacity: 1;
  margin-left: 0;
  width: auto;
  display: block;
  visibility: visible;
}

.subnavbar h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: bold;
}

.subnavbar__customers_scroll{
  
}

.subnavbar__customers {
  width: 253px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

  .subnavbar__customers a {
    display: block;
    padding: 6px 0 9px;
    border-bottom: 1px solid #ddd;
    color: #9b9b9b;
  }

  .subnavbar__customers.searching li:not(.filter) {
    display: none;
  }

  .subnavbar__customers a:hover,
  .subnavbar__customers .active {
    color: #4688f1;
  }

/* tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

  [data-tooltip]:before,
  [data-tooltip]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
    transform: translate3d(0, 0, 0);
    pointer-events: none;
  }

  [data-tooltip]:hover:before,
  [data-tooltip]:hover:after,
  [data-tooltip]:focus:before,
  [data-tooltip]:focus:after {
    visibility: visible;
    opacity: 1;
  }

  [data-tooltip]:before {
    z-index: 1001;
    content: "";
    border: 6px solid transparent;
    background: transparent;
  }

  [data-tooltip]:after {
    z-index: 1000;
    content: attr(data-tooltip);
    width: auto;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    background-color: #4c4c4c;
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.5);
  }

.tooltip-right:before,
.tooltip-right:after {
  bottom: 50%;
  left: 100%;
}

.tooltip-right:before {
  margin-bottom: 0;
  margin-left: -12px;
  border-top-color: transparent;
  border-right-color: #4c4c4c;
}

.tooltip-right:hover:before,
.tooltip-right:hover:after,
.tooltip-right:focus:before,
.tooltip-right:focus:after {
  transform: translateX(2px);
}

.tooltip-right:before {
  top: 13px;
}

.tooltip-right:after {
  margin-left: 0;
  margin-bottom: -16px;
}

/* search */
.search {
  position: relative;
  margin-bottom: 12px;
}

.main-content .search {
  max-width: 430px;
}

.search__value {
  width: 100%;
  padding: 7px 25px 7px 5px;
  border: 0;
  border-bottom: 1px solid #4688f1;
}

.search__action {
  position: absolute;
  top: 7px;
  right: 4px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

/* tables */
table {
  width: 100%;
}

tr:nth-child(even) td {
  background: #fcfcfc;
}

th {
  padding: 10px;
  border-bottom: 2px solid #ddd;
  text-align: left;
  white-space: nowrap;
}

.sort th {
  font-weight: 400;
  font-style: italic;
  color: #9e9e9e;
}

td {
  padding: 7px 10px;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.responsive-table {
  overflow-x: auto;
}

.unread {
  font-weight: bold;
}

.new {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4688f1;
}

.unread .new {
  display: inline-block;
}

/* table sorter */
.header {
  /*cursor: pointer;*/
}

.sort-icons {
  margin-left: 5px;
}

  .sort-icons svg:nth-child(2) {
    display: inline-block;
    margin-top: -5px;
  }

.headerSortDown .sort-icon-up,
.headerSortUp .sort-icon-down {
  fill: #4688f1;
}

/* pagination */
.pager {
  padding: 17px 0;
  text-align: center;
}

  .pager a {
    display: inline-block;
    padding: 5px 14px 7px;
    border-radius: 2px;
    color: #4a4a4a;
  }

  .pager .active {
    color: #fff;
    background: #4688f1;
  }

.pager-action {
  fill: #4688f1;
}

/* dashboard */
.dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-shrink: 0;
}

  .dashboard .content {
    position: relative;
    flex: 0 1 auto;
    width: 49%;
    padding: 5px 19px;
    /*padding-left: 90px;*/
  }

.dashboard-icon {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #4688F1;
}

  .dashboard-icon span {
    display: block;
    width: 34px;
    height: 34px;
    margin: 7px auto 0;
    padding-top: 5px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    color: #4a4a4a;
    text-align: center;
    background: #fff;
  }

.dashboard h2 {
  margin-top: 14px;
  margin-bottom: 10px;
}

.dashboard p {
  color: #4a4a4a;
}

/* weblinks */
.weblinks {
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
}

  .weblinks a {
    display: inline-block;
    margin: 0 4px;
    padding: 9px 16px 11px;
    border-radius: 100px;
    color: #4a4a4a;
    background: #e9e9e9;
  }

/* home tips */
.home-tips {
  position: relative;
  max-width: 484px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.11);
}

  .home-tips .content {
    margin-bottom: 0;
  }

  .home-tips h2 {
    min-height: 20px;
    padding-left: 30px;
    font-size: 13px;
    text-transform: uppercase;
    background: url(../images/icon-info-dark.svg) no-repeat left center;
    background-size: 20px 20px;
  }

.home-tips__remove {
  position: absolute;
  right: 10px;
  top: 15px;
  border: 0;
  background: none;
}

.slider-action {
  fill: #4688f1;
}

.lSPrev,
.lSNext {
  text-align: center;
}

.lSAction {
  position: relative;
  height: 32px;
}

  .lSAction > a {
    top: 0;
    margin: 0;
    padding-top: 5px;
  }

  .lSAction > .lSPrev {
    left: -10px;
  }

  .lSAction > .lSNext {
    left: 22px;
  }

/* tips */
.tips {
  margin: 0 -10px;
}

  .tips .content {
    margin: 0 10px 20px;
  }

  .tips[data-columns]::before {
    content: '2 .column.size-1of2';
  }

.column {
  float: left;
}

.size-1of1 {
  width: 100%;
}

.size-1of2 {
  width: 50%;
}

@media only screen and (max-width: 1023px) {
  .tips[data-columns]::before {
    content: '1 .column.size-1of1';
  }
}

/* fiche */
.form-fiche .form-item {
  padding-right: 10px;
  float: left;
  clear: both;
}

.form-fiche label {
  display: inline-block;
}

.form-fiche .form-dates {
  clear: both;
}

  .form-fiche .form-dates label {
    width: 55px;
  }

.form-fiche .form-checkbox {
  margin-left: 38px;
}

.form-fiche h2 {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.form-fiche p {
  text-align: center;
  color: #9b9b9b;
}

.form-fiche .form-actions {
  margin-bottom: 10px;
}

.button--pdf {
  padding-left: 34px;
  padding-right: 15px;
  border-color: #f84545;
  background: #f84545 url(../images/icon-pdf.svg) no-repeat 9px center;
  background-size: 16px 20px;
}

.button--excel {
  padding-left: 34px;
  padding-right: 15px;
  border-color: #0e713d;
  background: #0e713d url(../images/icon-excel.svg) no-repeat 9px center;
  background-size: 18px 18px;
}

.link--pdf, .link--excel {
  min-width: 30px;
  min-height: 30px;
  display: inline-block;
  border-radius: 4px;
}

.link--pdf {
  border-color: #f84545;
  background: #f84545 url(../images/icon-pdf.svg) no-repeat center center;
  background-size: 16px 20px;
}

.link--excel {
  border-color: #0e713d;
  background: #0e713d url(../images/icon-excel.svg) no-repeat center center;
  background-size: 18px 18px;
}

.button.button--pdf,
.button.button--excel {
  color: #fff;
}

/* modal */
.blocker {
  z-index: 10;
  background: rgba(0,0,0,0.1);
}

.modal {
  border-radius: 4px;
  box-shadow: 0 20px 44px 0 rgba(0,0,0,0.11);
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 18px;
}

/* contact */
.contact {
  padding-top: 0;
}

  .contact .content {
    position: relative;
    z-index: 5;
    max-width: 650px;
    margin: 170px auto 20px;
    padding: 35px 50px 80px;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.11);
  }

  .contact h1 {
    margin-bottom: 30px;
    font-size: 24px;
  }

  .contact h2 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
  }

.contact__list {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

  .contact__list li {
    position: relative;
    padding: 13px 10px 17px 48px;
    border-bottom: 1px solid #ddd;
  }

    .contact__list li:first-child {
      padding-top: 0;
    }

  .contact__list svg {
    position: absolute;
    top: 15px;
    left: 15px;
  }

  .contact__list li:first-child svg {
    top: 0;
  }

/* datepicker */
.datepicker-top-left {
  border-top-color: #ddd;
}

  .datepicker-top-left:before {
    border-bottom-color: #ddd;
  }

/*.text-right {
  text-align: right;
}*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

    a[href]:after {
      content: " (" attr(href) ")";
    }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}