@bg: #CCD9EC;
@bg-content: lighten(hsl(218, 47%, 87%), 12%);
@darkbms: #2D547F;
@darkgrayColor: #29363d;
@goldColor: #ffc107;
@lightbms: #cdd9ed;
@darkbmsOpa: rgba(45, 84, 127, 0.8);
@mediumbms: #7f9bc1;
@bordeauxColor: #903530;
@defPad: 2.5rem;
@heightTop: 70px;
@widthLeft: 190px;

/*TODO get a license*/
.webix_message_area {display: none !important;}

@font-face {
  font-family: MyriadFont;
  src: url(../font/MyriadPro-Light.otf);
}
@font-face {
  font-family: MyriadFont;
  src: url(../font/MyriadPro-Bold.otf);
  font-weight: bold;
}

@import "badges";
@import "header";
@import "mob-elements";
@import "mob-tables";
@import "forms";
@import "map-geoloc";
@import "spin";
@import "messages-bags";
@import "parameters";
@import "table-forms";
@import "tables";
@import "tabs";
@import "charts";
@import "tooltip";
@import "icons";
@import "nav-left";
@import "content";
@import "nav-bottom";
@import "buttons";
@import "accordion";
@import "login";
@import "dashboard";
@import "scheduler";
@import "thumbnails";
@import "signatures";
@import "ficheTravail";
@import "rotation";
@import "blink";
@import "angucomplete";
@import "googleMaps";
@import "loadingBar";
@import "scrollbar";
@import "dashboard-tasks";
@import "badgeage-interface";
@import "inputs";
@import "kanban";
@import "vue-good-table";

html {
  height: 100%
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: MyriadFont;
  background-color: @bg;
  line-height: 1.3rem;
}

#badgeage {
  background-color: @darkbms;
}

a {
  color: @darkbms;
}

.mobile {
  display: none;
}

.mobile-inline {
  display: none;
}

.main-container {
  height: 100%;
}

.main-content-container {
  margin-left: @widthLeft;
}

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

hr {
  height: 1px;
  background-color: blue;
}

.handHover {
  &:hover {
    cursor: pointer;
  }
}

.cursor-context-menu {
  &:hover {
    cursor: context-menu;
  }
}

.cursor-default {
  &:hover {
    cursor: default;
  }
}

.transition {
  animation: fadein 1600ms;
  -webkit-animation: fadein 1600ms;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.transition-notif {
  animation: fadein-notif 1000ms;
  -webkit-animation: fadein 1000ms;
}
@keyframes fadein-notif {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.bordered-dark {
  border: 1px solid @darkbms;
}

.bordered-light {
  border: 1px solid @lightbms;
}

.bordered-radius-4 {border-radius: 4px;}
.bordered-radius-5 {border-radius: 5px;}

.bordered-bottom-dark {
  border-bottom: 1px solid @darkbms;
}

.bordered-bottom-lightbms {
  border-bottom: 1px solid @lightbms;
}

.bordered-left-darkbms {
  border-left: 3px solid @darkbms;
}

.basic-box-shadow {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.pic-mini {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  max-height: 70px;
  max-width: 70px;
}

.pic-mini-ico {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  font-size: 50px;
}

.v-align-bottom {
  vertical-align: bottom;
}

.v-align-top-important {
  vertical-align: top !important;
}

.v-align-top {
  vertical-align: top;
}

.v-align-middle {
  vertical-align: middle;
}

.v-align-children-initial {
  > * {
    vertical-align: initial;
  }
}

.v-align-children-middle {
  > * {
    vertical-align: middle;
  }
}

.v-align-sub {
  vertical-align: sub;
}

.v-align-sub {
  vertical-align: sub;
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.maxWidth {
  max-width: 100%;
}

.max-width-1000 {
  max-width: 1000px;
}

.max-width-150 {
  max-width: 150px;
}

.max-width-200 {
  max-width: 200px;
}
.max-width-500 {
  max-width: 500px;
}

.bigger-font-size-3 {
  font-size: 3rem;
}

.bigger-font-size-5 {
  font-size: 5rem;
}

.border-radius-top-8 {
  border-radius: 8px 8px 0 0;
}

.font-size-2rem {
  font-size: 2rem;
}

.font-size-1-6rem {
  font-size: 1.6rem;
}

.font-size-1-8rem {
  font-size: 1.8rem;
}

.bigger-font-size-point5 {
  font-size: 1.5rem;
}

.smaller-font-size-point3 {
  font-size: 1.3rem;
}

.smaller-font-size-point1 {
  font-size: 1.1rem;
}

.smaller-font-size-point0 {
  font-size: 1.0rem;
}

.margin-auto {
  margin: 0 auto;
}

.min-width-two-cols {
  min-width: 300px;
}

.min-width-40 {
  min-width: 40px;
}

.font-color-darkbms {
  color: @darkbms;
}

.font-color-mediumbms {
  color: @mediumbms;
}

.font-color-gold {
  color: gold;
}

.color-danger {
  color: @dangerColor;
}

.color-darkgray {color: @darkgrayColor;}

.color-darkgray-hover-lighten {
  color: @darkgrayColor;
  &:hover {
    color: lighten(@darkgrayColor, 15%);
  }
}
.color-gold {color: @goldColor;}

.color-gold-hover-lighten {
  color: @goldColor;
  &:hover {
    color: lighten(@goldColor, 15%);
  }
}

.color-lightgray {
  color: lightgray;
}

.color-white {
  color: white;
}

.color-danger-light {
  color: lighten(@dangerColor, 15%);
}

.color-warning {
  color: @warningColor;
}

.color-lightgreen {
  color: lightseagreen;
}

.min-height-textfield {
  min-height: 100px;
  padding: 8px;
  line-height: initial;
}

.line-height-init {
  line-height: initial;
}

.line-height-2 {
  line-height: 2rem;
}

.padding-two {
  padding: 2px;
}

.padding-four {
  padding: 4px;
}
.padding-four-two {
  padding: 4px 2px;
}

.overflow-auto {
  overflow: auto;
}

.overflow-x-scroll {
  overflow-x: auto;
}

.h-70 {
  height: 70px;
}

.width160 {
  width: 160px;
}

.width70percents {
  width: 70%;
}

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

.w48 {
  width: 48%;
}

.w58 {
  width: 58%;
}

.text-decoration-none {
  text-decoration: none;
}

.padding-five {
  padding: 5px;
}

.padding-three {
  padding: 3px;
}

.placeholder-only-mobile input::-webkit-input-placeholder {
  color: white;
}
.placeholder-only-mobile input::-ms-input-placeholder {
  color: white;
}
.placeholder-only-mobile input::-moz-placeholder {
  color: white;
}

.right-zero {
  right: 0px;
}

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

.word-break-all {
  word-break: break-all;
}

.nowrap {
  white-space: nowrap;
}

.margin-right-4 {
  margin-right: 4px;
}

.margin-4 {
  margin: 4px;
}

.height-150 {
  height: 150px;
}

.max-height-140 {
  max-height: 140px;
}

.max-height-800 {
  max-height: 800px;
}

.max-width-150 {
  max-width: 150px;
}

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

.font-family-inherit {
  font-family: inherit;
}

.height-90percent {height: 90%;}
.height-100percent {height: 100%;}

.bg-darkbms {
  background-color: @darkbms;
}

.bg-mediumbms {
  background-color: @mediumbms;
}

.bg-lightbms {
  background-color: @lightbms;
}

.bg-white {
  background-color: white;
}

.bg-lightbms-light-10 {
  background-color: lighten(@lightbms, 10%);
}

.radius-tops-4 {
  border-radius: 4px 4px 0px 0px;
}

.z-index-2 {
  z-index: 2;
}

.display-none {
  display: none;
}

.absolute-bottom-4 {
  bottom: 4px;
}

.vue-notification {
  font-size: 14px !important;
  & .notification-title {
    margin-bottom: 10px;
  }
}

.overflowVisible {overflow: visible !important;}
/* Media queries */

@media screen and (max-width: 768px) {
  .mobile {
    display: block;
  }

  .mobile-inline {
    display: inline;
  }

  .mobile-table {
    display: table;
  }

  .desktop {
    display: none;
  }

  .main-content-container {
    margin-left: 0;
    padding-bottom: 50px;
  }

  .placeholder-only-mobile input::-webkit-input-placeholder {
    color: initial;
  }
  .placeholder-only-mobile input::-ms-input-placeholder {
    color: initial;
  }
  .placeholder-only-mobile input::-moz-placeholder {
    color: initial;
  }
}
