body{
  margin:0px;
  padding:15px;
  overflow-x:auto;
  overflow-y:scroll;
  font-family:"Trebuchet MS", sans-serif;
  font-size: 12px;
  color:#757575;
  padding-bottom: 50px;
}

* {
  box-sizing: border-box;
}

.clearb{ clear:both; }
.clearl{ clear:left; }
.clearr{ clear:right; }

.breadcrumbs{
  padding:5px 20px;
  line-height:20px;
  font-style:italic;
  color:#acacac;
  font-size:10px;
  float:left;
}
.breadcrumbs a{
  color:#808080;
  text-decoration:none;
}
.breadcrumbs a:hover{
  color:#555555;
}

.extrainfo{
  padding:5px 20px;
  line-height:20px;
  font-style:italic;
  color:#acacac;
  font-size:10px;
  float:right;
}

.title{
  margin:10px 20px 0px 20px;
  font-size:18px;
  line-height:20px;
}

h1 {
  text-align: center;
  border-bottom: 2px #666 solid;
  padding-bottom: 15px;
}

.menu {
  padding: 20px 10px;
  text-align: center;
}
.menu a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  margin: 5px 10px;
  background-color: #ccc;
  padding: 5px 10px;
}
.menu a:hover {
  opacity: 0.8;
}
.menu a.active {
  font-weight: bold;
}


button,
input[type="button"],
input[type="submit"] {
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background-color: #ccc;
  padding: 5px 10px;
  border: 0px;
  cursor: pointer;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  opacity: 0.8;
}
button.with-margin-bottom,
input[type="button"].with-margin-bottom,
input[type="submit"].with-margin-bottom {
  margin-bottom: 2px;
}
button.active,
input[type="button"].active,
input[type="submit"].active {
  color: #ffffff;
  background-color: #000000;
}

.buttons-holder > button {
  margin: 5px 5px 0px 0px;
}

textarea:focus,
input:focus,
select:focus {
  outline: none;
}
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  border: #333 1px solid;
  background-color: #fff;
  line-height: 25px;
  padding-left: 5px;
  padding-right: 5px;
}
input[type="text"],
input[type="password"],
input[type="email"],
select {
  height: 25px;
  line-height: 25px;
}
input[type="text"].with-margin-bottom,
input[type="password"].with-margin-bottom,
input[type="email"].with-margin-bottom,
textarea.with-margin-bottom {
  margin-bottom: 5px;
}

.content{
  line-height:20px;
  float:left;
  width:80%;
}
.content .inner{
  background-color:#efefef;
  border-radius:0px 0px 10px 10px;
  border-top:1px #959595 solid;
  padding:10px;
  margin:0px 20px 20px 20px;
}
.side{
  line-height:20px;
  float:left;
  width:20%;
}
.side .inner{
  border-top:1px #959595 solid;
  margin:0px 20px 0px 0px;
}


.loader {
  position: fixed;
  top: 5px;
  right: 5px;
  z-index: 999;
  width: 30px;
  height: 30px;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.loader img {
  width: 30px;
}
.ajax-interceptor-loading .loader {
  opacity: 1;
  transition: opacity 0.3s, visibility 0.3s;
}

.table-max-500 {
  width: 100%;
  max-width: 500px;
}
.table thead tr{
  background-color: #757575;
  color: #fff;
}
.table tfoot tr{
  background-color: #757575;
  color: #fff;
}
.table tbody tr:nth-child(odd){
  background-color: #ccc;
}
.table tbody tr:hover,
.table tbody tr:nth-child(odd):hover{
  background-color: #000;
  color: #fff;
}
.table th,
.table td {
  padding: 5px 10px;
}
.table a {
  color: inherit;
  text-decoration: none;
}

.edit-form {
  max-width: 500px;
  width: 100%;
}
.edit-form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  text-align: left;
}
.edit-form input[type="text"],
.edit-form input[type="password"],
.edit-form input[type="email"],
.edit-form select,
.edit-form textarea {
  display: block;
  text-align: left;
  width: 100%;
  margin-top: 5px;
}
.edit-form input[type="text"].inline,
.edit-form input[type="password"].inline,
.edit-form input[type="email"].inline,
.edit-form select.inline {
  display: inline-block;
  width: auto;
  margin-right: 5px;
}
.edit-form button[type="submit"] {
  margin-top: 15px;
  width: 100%;
}

.form input[type="text"],
.form input[type="password"],
.form input[type="email"],
.form select,
.form textarea {
  margin-top: 5px;
}
.form label {
  display: block;
}
.form label.inline {
  display: inline-block;
}

.inline-form input[type="text"],
.inline-form input[type="password"],
.inline-form input[type="email"],
.inline-form select,
.inline-form textarea {
  margin-left: 5px;
  margin-right: 5px;
}

.popup {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 999;
  background-color: rgba(0,0,0,0.5);
}
.popup > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}
.popup > div:has(> iframe) {
  padding: 0px 6px 0px 0px;
}
.popup > div > iframe {
  border: 0px;
}
#login-popup iframe {
  height: 250px;
}
body.in-popup h1 {
  margin-top: 0px;
}
body.in-popup {
  padding-bottom: 0px;
}


#mobile-menu-button {
  width: 40px;
  height: 45px;
  position: absolute;
  top: 20px;
  right: 15px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  z-index: 9999;
  display: none;
}
#mobile-menu-button span {
  display: block;
  position: absolute;
  height: 6px;
  width: 50%;
  background: #757575;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#mobile-menu-button span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#mobile-menu-button span:nth-child(odd) {
  left:0px;
  border-radius: 9px 0 0 9px;
}

#mobile-menu-button span:nth-child(1), #mobile-menu-button span:nth-child(2) {
  top: 0px;
}

#mobile-menu-button span:nth-child(3), #mobile-menu-button span:nth-child(4) {
  top: 12px;
}

#mobile-menu-button span:nth-child(5), #mobile-menu-button span:nth-child(6) {
  top: 24px;
}

body.mobile-menu-open #mobile-menu-button span:nth-child(1),body.mobile-menu-open #mobile-menu-button span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

body.mobile-menu-open #mobile-menu-button span:nth-child(2),body.mobile-menu-open #mobile-menu-button span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

body.mobile-menu-open #mobile-menu-button span:nth-child(1) {
  left: 5px;
  top: 5px;
}

body.mobile-menu-open #mobile-menu-button span:nth-child(2) {
  left: calc(50% - 5px);
  top: 5px;
}

body.mobile-menu-open #mobile-menu-button span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

body.mobile-menu-open #mobile-menu-button span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

body.mobile-menu-open #mobile-menu-button span:nth-child(5) {
  left: 5px;
  top: 16px;
}

body.mobile-menu-open #mobile-menu-button span:nth-child(6) {
  left: calc(50% - 5px);
  top: 16px;
}



.progress-bar {
  background-color:#ccc;
  width: 200px;
  height:15px;
  position:relative;
}
.progress-bar > div {
  width: 0px;
  height:15px;
}




@media screen and (max-width: 1400px) {

}
  @media screen and (max-width: 1200px) {

  }
  @media screen and (max-width: 992px) {
    #mobile-menu-button {
      display: block;
    }
    body .menu#main-menu {
      display: block;
      position: fixed;
      top: 0px;
      left: 0px;
      background-color: #fff;
      right: 0px;
      bottom: 0px;
      padding: 50px 10px 10px 10px;
      z-index: 999;
      transform: translate(100%, 0);
      transition: transform .5s cubic-bezier(.77,.2,.05,1);
    }
    body.mobile-menu-open .menu#main-menu {
      transform: none;
    }

    .table-holder {
      overflow-x: auto;
    }
    .menu {
      padding: 0px 0px 10px 0px;
    }
    .menu a {
      display: block;
      margin-left: 0px;
      margin-right: 0px;
    }


    .form input[type="text"],
    .form input[type="password"],
    .form input[type="email"],
    .form select,
    .form textarea,

    .inline-form input[type="text"],
    .inline-form input[type="password"],
    .inline-form input[type="email"],
    .inline-form select,
    .inline-form textarea{
      width: 100%;
      margin-left: 0px;
      margin-right: 0px;
      margin-top: 5px;
    }

    .edit-form input[type="text"].inline,
    .edit-form input[type="password"].inline,
    .edit-form input[type="email"].inline,
    .edit-form select.inline {
      display: block;
      width: 100%;
      margin-right: 0px;
    }

    .inline-form button {
      margin-top: 15px;
    }
    .inline-form label {
      display: block;
      margin-top: 15px;
      margin-bottom: 5px;
      text-align: left;
    }

    .form label.inline {
      display: block;
    }

    button, input[type="button"], input[type="submit"] {
      display: block;
      width: 100%;
      margin-top: 5px;
    }

    #generateInvoiceTimesForm,
    #generateInvoiceGroupsForm {
      display: block;
      width: 100%!important;
    }
    .progress-bar {
      width: 150px;
    }
  }
  @media screen and (max-width: 768px) {

  }
  @media screen and (max-width: 576px) {

  }
}