@-moz-document url-prefix() {
  fieldset { display: table-cell; }
}
@font-face {
  font-family: 'Roboto-Regular';
  src: url('/fonts/Roboto-Regular.ttf')  format('truetype')
}
body{
  font-family: 'Roboto-Regular', sans-serif;
  max-width:100vw;
  overflow-x:hidden;
}
img#logo {
  height: 100%;
  width: auto;
}
.container {
  width: 100vw;
}
.message {
  position:absolute;
  top:10vh;
  left:2vw;
  width: 96vw;
  z-index:99999;
  font-size:24px;
}
.bordered {
  border:1px solid #333;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 1vh;
}
.panel-heading.sales {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
  background-image: linear-gradient(to bottom, #5cb85c 0%, #4cae4c 100%);
}
.panel-heading.acquisition {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
  background-image: linear-gradient(to bottom, #d9534f 0%, #d43f3a 100%);
}
.chosen-container-single .chosen-single{
  height:5vh!important;
}
table.table.table-condensed.table-borderless > thead > tr > th {
  border-bottom: 0px!important;
}
#bottom-row-sum {
  background-color:#5cb85c;
  color:white;
  padding:5px;
  font-weight:700;
  border-top:2px solid #777!important;
  text-transform:uppercase;
}
@media screen and (orientation:landscape) {
.chosen-container {
  width: auto !important;
  min-width: 100% !important;
}
.center-text {
  text-align: center;
}

.table-responsive {
  overflow-x: hidden;
}
table.table {
  margin-bottom: 0px !important;
}
.table-smaller {
  height: 80vh;
}
.container {
  width: 100vw !important;
  /*overflow: hidden !important;*/
}
/*
body {
  overflow-y: hidden !important;
}
*/
.menu-margin {
  height: 8vh;
}
.btn-unsolved, .btn-scheduled, .btn-approved, .btn-completed {
  width: 7vw !important;
  max-width: 7vw !important;
}
.btn-unsolved {
  background-repeat: repeat-x;
  border-color: rgb(255,140,0);
  background-image: linear-gradient(to top, rgb(250,130,0) 0%, rgb(255,140,0) 100%);
  color: white;
}
.btn-approved {
  background-repeat: repeat-x;
  border-color: #777;
  background-image: linear-gradient(to top, #555 0%, #777 100%);
  color: white;
}
.btn-scheduled {
  background-repeat: repeat-x;
  border-color: rgb(0,191,255);
  background-image: linear-gradient(to top, rgb(0,189,255) 0%, rgb(0,191,255) 100%);
  color: #333;
}
.btn-completed {
  background-repeat: repeat-x;
  border-color: #00ff00;
  background-image: linear-gradient(to top, #00ff00 0%, #33ff33 100%);
  color: #333;
}
.btn-resolved {
  background-repeat: repeat-x;
  border-color: #b92c28;
  background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);;
  color: white;
}
.bold {
  font-weight: 700;
  font-size:0.8vw;
  text-transform: capitalize;
}
ul.dropdown-menu {
  position: absolute;
  z-index: 999 !important;
}
tr.border {
  border-bottom: 3px solid black !important;
}
td.right-border {
  border-right: 4px solid black !important;
}
th.right-border {
  border-right: 4px solid #222 !important;
}
th.colored {
  text-transform: uppercase;
}
th.colored:nth-child(2){
  background-color: #ffff4d;
}
th.colored:nth-child(3){
  background-color: #d0d3d4;
}
th.colored:nth-child(4){
  background-color: #8cff66;
}
.table>tbody>tr>td {
  vertical-align: none;
  padding:10px 1px;
  line-height: 1;
  max-width: 7vw;
  text-transform: capitalize;
}

.btn-group-sm > .btn, .btn-sm {
  font-size:0.8vw!important;
}
#printing {
  width:80vw;
  margin-left:10vw;
  overflow: auto;
  height: 80vh;
}
h1.title-center {
  width:70%;
  margin:3vh auto;
}
h3.header-date {
  width:40%;
  margin:2vh auto;
  font-weight: bold;
}
.comitent-name {
  font-weight: bold;
}
.title-center {
  font-size:20pt;
}
.date {
  font-weight: bold;
  font-size: 12pt;
  border: solid 1pt black;
  background-color: #D3D3D3!important;
  -webkit-print-color-adjust: exact;
  width: 35%;
  text-align: center;
  float:right;
  border-radius: 5px;
}
#visit {
  -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
             break-inside: avoid;
}
.header {
  font-weight: bold;
  font-size:14pt;
}
td.turnover {
  padding: 0px!important;
}
td.middle {
  vertical-align: middle!important;
}
td.right {
  text-align: right!important;
}
th.text-center {
  text-align: center;
  height: 6px!important;
  line-height: 4px !important;
  margin-top: 0px;
  margin-bottom: 0px;
}
td.middle.commitent {
  text-align:center !important;
  text-transform: uppercase;
  font-size: 14pt;
  background-color: rgb(51, 122, 183);
  color: white;
}
td.middle.commitent-yellow {
  text-align:center !important;
  text-transform: uppercase;
  font-size: 14pt;
  background-color: rgb(255, 255, 102);
}
td.middle.commitent-green {
  text-align:center !important;
  text-transform: uppercase;
  font-size: 14pt;
  background-color: rgb(102, 255, 102);
}
th.middle {
  vertical-align: middle!important;
}
#poster {
  width:95vw;
    margin-top: 3vh;
    margin-left:4vw;
    font-size:40px;
    height: 45%;
    line-height: 2;
}
#poster > td {
  width: 17%;
}
#poster > .center {
  text-align: center;
}
#poster > .right {
  text-align: right;
}
.yellow {
  background: yellow !important;
  border-radius: 2px;
  font-size: 44px;
}
#postalsticker {
  width: 95vw;
  font-size: 20pt;
  height: 95vh;
  line-height: 2em;
}
.singlesticker {
  width: 45vw;
  display: inline-block;
  padding: 1vw;

}
.shadowedfield, .otherfield {
  display: inline-block;
  vertical-align: top!important;
}
.shadowedfield {
  width: 24%;
  background-color: yellow!important;
}
.otherfield {
  width: 72%;
}
.poster-arived,.poster-sent {
  text-align:right;
  margin-right:0px;
  width: 20%;
  height: auto;
  margin-left: 90%;
  margin-bottom: -15px;
  border-radius:3px;
}
.poster-arived {
  background: #00ff00!important;
}
.poster-sent {
  background: #d43f3a!important;
}
td.align-middle.right-border.table-date, th.align-middle.right-border.table-date {
  width:4.5vw!important;
  max-width:4.5vw !important;
  vertical-align:middle!important;
}
.table>tbody>tr>td.grey{
  background-color: rgb(220,220,220)!important;
}
td.center-text {
  min-width: 7vw!important;
  max-width: 7vw!important;
}
.visit_time {
  max-width: 6vw;
}
.row.heading-buttons {
  text-align: center;
}
#schedule, #schedule > .modal-dialog, #schedule > .modal-content {
  width: 100vw;
  min-width: 100vh;
  margin: 0px;
}
table.table.table-bordered.table-schedule {
  display: block;
  width: 97vw!important;
  max-width: 97vw!important;
  overflow-x: scroll!important;
}
#schedule > .table>tbody>tr>td, td.schedule-element {
  max-width: 10vw!important;
  width: 10vw!important;
  min-width: 10vw!important;
}
.col-md-4.align-middle {
  text-align: center;
}
button.btn-sm.btn-navigation {
  background-repeat: repeat-x;
  border-color: #b92c28;
  background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
  color: white;
  border-radius: 5px;
}
th.navigation {
  padding: 0px!important;
}
tr.navigation > th.align-middle {
  padding: 0px!important;
}
.navbar {
  margin-bottom: 0px!important;
}
}
.table>tbody>tr>td>span.found {
 background-color: yellow!important;
 border: 1px solid #333!important;
 padding:5px !important;
 border-radius:2px!important;
}
.navbar-nav > .active {
  background-image: -webkit-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
  background-image: -o-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#7bbdf7), color-stop(50%, #3399f3), to(#208ff2));
  background-image: linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bbdf7', endColorstr='#ff208ff2', GradientType=0);
  -webkit-filter: none;
  filter: none;
  border: 1px solid #0e80e5;border-radius:2px;
}
.navbar-nav > .active > a {
  color:white!important;
  font-weight:700;
}
