@charset "utf-8";

/**
 *
 * colors
 *
 * dark turquois = #357b86 / rgb(53,123,134)
 * light turquois = #63a9b4
 *
 * light grey #cccccc
 * darker grey #bbbbbb
 *
 */

/*  layout */
body {
    font-family: 'Arial', 'Helvetica', 'sans-serif';
    color: #666;
}

.navbar {
  background-color: #357b86;
  position: fixed;
  width: 100%;
  margin: 0;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar-header {
    height: 40px;
}

.navbar-brand {
    font-size: 2rem;
    line-height: 0;
    color: #f7f7f7;
}

.navbar-brand:hover,
.navbar-brand:active,
.navbar-brand:focus,
.navbar-brand:visited {
    color: white;
}

.navbar-right {
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    color: #f7f7f7;
}

.navbar-nav a:hover,
.navbar-nav a:active,
.navbar-nav a:focus,
.navbar-nav a:visited {
    color: white;
}


.navbar-header {
  padding-top: 4px;
}

nav a {
  cursor: pointer;
  margin-right: 16px;
}

nav .username,
nav .option,
nav .back {
  display: inline-block;
  color: white !important;
  position: relative;
  top: -2px;
}

nav .username span,
nav .option span,
nav .back span {
  font-size: 14px;
  position: relative;
  top: -4px;
}

nav .fa {
  font-size: 24px;
  margin-right: 3px;
}


nav .qm-logo {
  width: 200px;
  height: auto;
}

.content {
    margin-top: 80px;
}

/* effect for transition-group of type name="list" */
.list-enter-active, .list-leave-active {
  transition: all 400ms;
}

.list-enter, .list-leave-to {
  opacity: 0;
  transform: translateX(-30px);
}

/* content elements */
h1, h2, h3, h4, h5, h6 {
    color: #357b86;
}

h1 {
    font-size: 2rem;
}

h1:first-of-type {
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

a {
    color: #63a9b4;
}

.qm-logo {
    height: 30px;
}

.content a:hover, .content a:active, .content a:focus {
    color: #357b86;
}

.qm-panel {
    background-color: #f7f7f7;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.qm-panel-mb-1 {
    margin-bottom: 1rem;
}

.list-group.qm-survey-list {
    margin-bottom: 1rem;
}
.list-group-item-heading {
  font-weight: bold;
  background-color: #4f8891;
  color: white;
  position: relative;
  flex-flow: row wrap;
  align-items: center;
  padding: 1rem 1.25rem 1rem 0;
  margin: 0;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-flow: row wrap;
  margin-bottom: -1px;
  border: 1px solid white;
}
.qm-survey-list .list-group-item {
    background-color: #63a9b4;
    color: white;
    cursor: pointer;
    padding-left: 0;
}
.qm-survey-list .list-group-item:after {
    content: "\f0a9";
    font-family: FontAwesome;
    font-size: 1em;
    position: absolute;
    right: 10px;
}
.qm-survey-list .list-group-item.closed {
    background-color: #99c9d1;
    cursor: default;
}
.qm-survey-list .list-group-item.closed:after {
    content: "";
}
.qm-survey-list > a > div {
    white-space: nowrap;
    padding: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.qm-survey-list > a > div .fa {
    padding-right: 0.25rem;
}

.qm-survey-list .fa {
    opacity: 0.75;
}

.qm-rooms-list {
    margin-bottom: 1rem;
}

.qm-date-field {
    width: 200px;
}
.qm-time-field {
    width: 120px;
}

.qm-rooms-list .list-group-item {
    background-color: #63a9b4;
    color: white;
    cursor: pointer;
}

.qm-rooms-list .list-group-item:hover {
    background-color: #357b86;
}

.qm-rooms-list .badge {
    background-color: white;
    color: #63a9b4;
    font-weight: normal;
}

#qm-item-list .col-md-4,
#qm-item-list .col-md-3,
#qm-item-list .col-md-2,
#qm-item-list .col-md-1 {
    padding-left: 5px;
    padding-right: 5px;
}
.number-input-without-controls::-webkit-inner-spin-button,
.number-input-without-controls::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
.number-input-without-controls {
    -moz-appearance: textfield;
}
.form-inline .qm-input-count {
    width: 70px;
    text-align: center;
}

.qm-button-narrow {
    padding: 0.5rem;
}

.table td, .table th {
    border-top-color: rgba(220, 220, 220, 0.6);
}

.qm-button-checked {
    position: relative;
}

.qm-button-checked:before {
    content: "\f14a";
    font-family: FontAwesome;
    color: white;
    left:-5px;
    top:0;
    margin-right: 10px;
}
#qm-survey-clear-buttons-results li {
    background-color: #63a9b4;
    color: white;
}
#qm-survey-clear-buttons-results li:before {
    content: "\f14a";
    font-family: FontAwesome;
    color: white;
    left:-5px;
    top:0;
    margin-right: 10px;
}

button {
    cursor: pointer;
}

.qm-survey-button-row {
    margin-top: 3rem;
}

#qm-survey-import-buttons button,
#qm-survey-main-buttons button {
  display: block;
  margin-bottom: 1.5rem;
}

.btn-grey {
    color: #fff;
    background-color: #c7c7c7;
    border-color: #c7c7c7;
}

.btn-turquois {
    color: #fff;
    background-color: #63a9b4;
    border-color: #63a9b4;
}


.form-control {
    color: #666;
    border-color: #c7c7c7;
}

.form-control:focus {
    border-color: #357b86;
    color: #357b86;
    background-color: #FAFAD2;
}

.custom-select {
  color: #666;
  border-color: #c7c7c7;
}

.custom-select:focus {
  border-color: #357b86;
  color: #357b86;
  background-color: #FAFAD2;
}

.form-control::-webkit-input-placeholder { color: #aaa; font-size: 0.9rem; }
.form-control:-moz-placeholder { color: #aaa; font-size: 0.9rem; }
.form-control::-moz-placeholder { color: #aaa; font-size: 0.9rem; }
.form-control:-ms-input-placeholder { color: #aaa; font-size: 0.9rem; }

label {
    color: #357b86;
}

canvas#signature {
    display: block;
    width: 800px;
    max-width: 100%;
    height: 400px;
    background-color: #ffffff;
}

.qm-signature-preview {
    height: 24px;
}

#uploadFile {
  display: none;
}

/*.uploadFileButton {
  font-size: 5em;
  cursor: pointer;
}*/

.qm-foto-upload-button label {
    margin-top: 5px;
    margin-left: 15px;
    cursor: pointer;
    font-size: 300%;
}

.qm-foto-item .qm-foto-delete-button {
    position: absolute;
    top: 1rem;
    left: 2rem;
}
.qm-foto-item .qm-foto {
    margin-bottom: 15px;
}
.qm-foto-blur {
    -webkit-filter: blur(3px);
}
.qm-max-fotos {
    font-size: 80%;
    line-height: 80%;
    color: #999;
}
.qm-max-fotos-reached {
    color: maroon;
}
.qm-max-fotos .fa {
    font-size: 14px;
}

#qm-itemlist-header {
    color: #999;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.qm-symbol-grey {
    color: #999;
    font-size: 1.1rem;
}

.qm-symbol-turquois {
    color: #357b86;
    font-size: 1.1rem;
}

.qm-table-debug {
    background-color: #63a9b4;
}

.qm-debug-eye {
    color: #357b86;
    cursor: pointer;
    margin: 0;
    font-size: 1.25rem;
    line-height: 0;
    position: absolute;
    left: 5px;
    margin-top: 7px;
}

/* fade transition */
.fade-enter-active, .fade-leave-active {
  transition-property: opacity;
  transition-duration: 150ms;
}

.fade-enter-active {
  transition-delay: 150ms;
}

.fade-enter, .fade-leave-active {
  opacity: 0
}

.qm-item-label {
    width: 70px;
    margin-right: 1rem;
}

.qm-item-row {
    margin-bottom: 1rem;
}

#item-details .form-inline label {
    display: flex;
    align-items: initial;
    justify-content: initial;
    text-align: left;
    padding-left: 0;
}
.qm-item-weight input {
    margin-right: 0.5rem;
}
.qm-item-weight > .form-inline {
    padding-left: 0;
}
#crateType {
    width: 100%;
}
#weight {
    width: 80px;
    text-align: center;
}
#weight.important {
    background-color: ##f0ad4e;
}
.qm-weight-needed {
    color: red;
}
.unit {
    font-size: 0.8rem;
    color: #999;
}
.qm-select-room {
    position: absolute;
    border-radius: 5px;
    right: 15px;
    top: 0;
    width: auto;
    background-color: #f7f7f7;
    padding: 0.5rem;
}

.qm-name-select-wrapper {
    width: 100%;
    min-width: 210px;
}

.qm-select {
    width: 150px !important;
}

.qm-room-select {
  width: 250px;
}

.qm-mode-is-air {
    background-color: darkOrange;
    border-color: red;
}

.qm-empty-message {
    background-color: #f7f7f7;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}
.qm-room-info-bar {
    font-weight: bold;
    margin-top: 2rem;
    background-color: #f7f7f7;
    padding: 1rem;
}
.qm-resource-number {
    text-align: center;
}
.qm-resource-number-label {
    margin-right: 0.5rem;
    text-align: left;
}
.qm-checkbox-trailer {
    margin-top: 2rem;
}
.qm-resource-count {
    margin-left: 1rem;
    background-color: white;
    color: #63a9b4;
    font-weight: normal;
}
.debug-panel {
  text-align: center;
}
.thumb {
  font-size: 1.5em;
}
.debug-panel form {
  width: 200px;
  margin: 0 auto;
}

.export-success {
  color: #63a9b4;
  margin-bottom: 20px;
}

.export-success table {
  font-size: 1.1rem;
}
.export-success table td:first-of-type {
  width: 90%;
}
.export-success table td:last-of-type {
  width: 10%;
  text-align: center;
}
table .td-highlight {
  background-color: #63a9b4;
  color: #f7f7f7;
  width: 100%;
  text-align: left;
}

/** footer **/
footer {
  margin-top: 3em;
  padding: 2em 1em 2em 1em;
  background: rgba(237,237,237,1);
  background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(225,225,225,1) 81%, rgba(225,225,225,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,237,237,1)), color-stop(81%, rgba(225,225,225,1)), color-stop(100%, rgba(225,225,225,1)));
  background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(225,225,225,1) 81%, rgba(225,225,225,1) 100%);
  background: -o-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(225,225,225,1) 81%, rgba(225,225,225,1) 100%);
  background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(225,225,225,1) 81%, rgba(225,225,225,1) 100%);
  background: linear-gradient(to bottom, rgba(237,237,237,1) 0%, rgba(225,225,225,1) 81%, rgba(225,225,225,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#e1e1e1', GradientType=0 );
  color: #888888;
  font-size: 13px;
  overflow: hidden;
}

footer span {
  padding: 0 2em 0 0;
}

footer a,
footer a:hover {
  cursor: pointer;
  color: #357b86 !important;
  text-decoration: none;
  padding: 0 2em 0 0;
}

/** vue-select styling **/
.v-select {
  float: left;
  display: block;
  width: calc(100% - 60px);
}

.v-select .dropdown-toggle {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  height: calc(2.25rem + 2px);
  padding: 0.325rem 0.5rem 0.4rem 0.5rem;
  line-height: 1.25;
  color: #464a4c;
  white-space: nowrap;
  overflow: hidden;
}

.v-select.open .dropdown-toggle {
  border-color: #357b86;
  color: #357b86;
  background-color: #FAFAD2
}

.v-select .open-indicator:before {
  border-color: black;
}

.v-select .dropdown-toggle .clear {
  display: none;
  color: black;
}

.v-select .dropdown-toggle::after {
  display: none;
}

.v-select .vs__selected-options {
  padding-left: 0;
}

.v-select .dropdown-menu {
  border-color: rgba(0, 0, 0, 0.15);
}

.debug-success {
  color: #63a9b4;
}
/* Extra small */
@media only screen and (max-width : 575px) {
    .qm-select {
        width: 150px !important;
    }
    .qm-vehicletype-label {
        margin-right: 0.25rem;
    }
}

/* Small */
@media only screen and (min-width : 576px) {
    .qm-select {
        width: 250px !important;
    }
    .form-inline .form-control.qm-resource-number {
        width: 80px;
    }
    .qm-checkbox-trailer {
        margin-top: 0.5rem;
    }
    .qm-resource-label {
        margin-right: 0.5rem;
    }
    .qm-vehicletype-label {
        margin-right: 0.5rem;
    }
}

/* Medium */
@media only screen and (min-width : 768px) {
    .qm-item-row {
        margin-bottom: 0;
    }
    .qm-select {
        width: 150px !important;
    }
}

/* Large */
@media only screen and (min-width : 992px) {
    .qm-select {
        width: 250px !important;
    }
    .qm-resource-number-label {
        margin-right: 0.5rem;
        text-align: left;
        justify-content: start !important;
    }
    #qm-input-date, #qm-input-time, #qm-name-vehicletype-select {
        width: 90%;
    }
    .qm-panel > .row > div {
        margin-bottom: 0 !important;
    }
}

/* Extra large */
@media only screen and (min-width : 1200px) {

}
