@font-face {
  font-family: 'Sofia Pro';
  src: url('sofiapro-light-webfont.woff2') format('woff2'),
  url('sofiapro-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body{
  font-size: 16px;
  /*font-family: 'Open Sans', sans-serif, Arial;*/
  font-family: 'Sofia Pro';
  background-color: #f1f1f1;
}

@media (min-width: 544px) {
  .mui-container {
    max-width: inherit !important;
  }
}

@media (min-width: 768px) {
  .mui-container {
    max-width: inherit !important;
  }
}

@media (min-width: 992px) {
  .mui-container {
    max-width: inherit !important;
  }
}

@media (min-width: 1200px) {
  .mui-container {
    max-width: inherit !important;
  }
}

label{
  top: 0;
  width: 100%;
  color: rgba(0,0,0,.54);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flexed-centered{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.fullviewportheight{
  height: 100vh;
}

.fullcontentwidth{
  width: 100%;
}

.small{
  font-size: 0.7em;
}

.mui--text-dark-secondary a{
  color: rgba(0,0,0,.54);
}

.mui--appbar-line-height .mui--text-title{
   line-height: 67px;
}
.mui--appbar-line-height{
   line-height: 62px;
}
.mui-appbar .mui--text-right ul{
   margin-bottom: 0;
}
#sidedrawer .mui--text-title{
   color: #555;
}
#sidedrawer .mui--text-title strong{
   display: inline;
   padding: 0;
}
#sidedrawer .mui--text-title strong:hover{
   background-color: transparent;
}
.mui-text-title{
   font-size: 18px;
   margin-top: 10px;
   color: #555;
}

/* MUI ALERTS */
.mui-alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.mui-alert-success{
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.mui-alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.mui-alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.mui-alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.mui-alert-error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

/* Select TEST */

.ss-main{
  padding-bottom: 20px;
  min-width: 150px;
}


/* MUI TEST */
.hidden{
  display: none;
}

tr:nth-child(even) {
  background-color: #f2f2f2
}

.mui-textfield>label {
  line-height: 1.429 !important;
}

.mui-container-fluid{
  padding-top: 20px !important;
}

.mui-btn--succes{
  background-color: #87f021;
}

.mui--bg-succes{
  background-color: #87f021;
}

.mui--bg-error{
  background-color: #F44336;
}

.mui-container {
  background-color: #FFFFFF;
  /*OLDCOLOR*/
}

.mui-container a {
  color: #222932 !important;
  /*OLDCOLOR*/
}

.mui-table>tbody>tr>td, .mui-table>tbody>tr>th, .mui-table>tfoot>tr>td, .mui-table>tfoot>tr>th, .mui-table>thead>tr>td, .mui-table>thead>tr>th{
  padding: 5px
}

.mui-appbar {
  background-color: #FFFFFF;
  /*OLDCOLOR*/
}

@media (min-width: 1200px) {
  .mui-container {
    max-width: none !important;
  }
}

html,
body {
  height: 100%;
  background-color: #eee;
}

html,
body,
input,
textarea,
buttons {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}


/**
 * Layout CSS
 */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 501;
  transition: left 0.2s;
}

#sidedrawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 200px;
  left: -200px;
  overflow: auto;
  z-index: 2;
  background-color: #222932;
  /*background-color: #fff;*/
  /*OLDCOLOR*/
  transition: transform 0.2s;
}

#content-wrapper {
  min-height: calc(100% - 80px);
  overflow-x: hidden;
  margin-left: 0px;
  transition: margin-left 0.2s;
  background-color: #F8F9FA;

  /* sticky bottom */
  margin-bottom: -160px;
  padding-bottom: 160px;
}

#footer {
  height: 80px;
  margin-left: 0px;
  transition: margin-left 0.2s;
}

@media (min-width: 768px) {
  #header {
    left: 200px;
  }

  #sidedrawer {
    transform: translate(200px);
  }

  #content-wrapper {
    margin-left: 200px;
  }

  #footer {
    margin-left: 200px;
  }

  body.hide-sidedrawer #header {
    left: 0;
  }

  body.hide-sidedrawer #sidedrawer {
    transform: translate(0px);
  }

  body.hide-sidedrawer #content-wrapper {
    margin-left: 0;
  }

  body.hide-sidedrawer #footer {
    margin-left: 0;
  }
}


/**
 * Toggle Side drawer
 */
#sidedrawer.active {
  transform: translate(200px);
  text-decoration: none; !important;
}


/**
 * Header CSS
 */
.sidedrawer-toggle {
  color:#222932;
  /*OLDCOLOR*/
  /*color: #fff;*/
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
  margin-right: 10px;
  text-decoration: none; !important;
}

.sidedrawer-toggle:hover {
  color: #fff;
  text-decoration: none; !important;
}


/**
 * Footer CSS
 */
#footer {
  background-color: #0288D1;
  color: #fff;
}

#footer a {
  color: #fff;
  text-decoration: underline;
}


