body {
  /*min-height: 1000px;*/
  /*padding-top: 100px;*/
  padding-bottom: 20px;
}

header {
  padding: 10px 0;
}

.navbar-fixed-top {
  margin-top: 40px;
}

.qd-large-button {
  min-width: 190px;
}

/* signin form */
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.colorselector {
  position: relative;
  width: 36px;
  height: 36px;
  background: url(../images/select.png);
}

.colorselector div {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  background: url(../images/select.png) center;
}

.image-preview {
  width: 50px;
}

table.orders td {
  vertical-align: middle !important;
}

/*.order-elements .qrcode {
  width: 20%;
}

.order-elements .form {
  width: 78%;
}*/

/* preview */

.device-preview {
  right: 0;
  z-index: 1;
  width: 380px;
  height: 810px;
  background: url("../images/phone-case.png") no-repeat right top;
  margin: 0 auto;
  position: relative;
}

.device-preview > div {
  position: absolute;
  top: 104px;
  left: 33px;
  z-index: 0;
  width: 328px;
  height: 576px;
  border: 4px solid #22272d;
  background-color: white;
  transition: opacity .2s ease-in-out;
}

.device-preview iframe {
  width: 100%;
  height: 100%;
}

.size-controls {
  margin-top: 5px;
}

.qrcode-create-preview label,
.qrcode-edit-preview label {
  display: inline-block;
}

.qrcode-create-preview input.input-sm,
.qrcode-edit-preview input.input-sm {
  display: inline-block;
  width: 65px;
}

.qrcode-preview {
  position: relative;
}

.qrcode-preview .download {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
}

.qrcode-preview:hover .download {
  display: block;
}

.download i {
  font-size: 60px;
  margin-top: 40%;
}

.switch-small {
  width: 100px;
  display: inline-block;
}

#preview-qrcode,
img.preview-qrcode {
  margin: 0 auto;
}

.slider {
  width: 200px;
}

.help {
  font-size: 16px;
  margin-left: 5px;
  vertical-align: middle;
}

.has-help {
  display: inline-block;
  width: 90%;
}

.has-help.help-table {
  display: table;
}

.has-help.floated {
  float: left;
}

.has-help.auto-width {
  width: auto;
}

.help.align-vertical {
  margin-top: 7px;
}

.switch-light {
  width: 140px;
}

.inline-control {
  width: auto;
  margin-left: 5px;
}

.editableform .control-group.has-error div:first-child {
  display: inline-block;
  vertical-align: top;
}

.editableform .control-group.has-error .editable-error-block {
  max-width: 350px;
  font-size: 14px;
  display: inline-block !important;
  color: #fff;
  margin-left: 10px;
}

.slider > .dragger {
  background: #D9230F !important;
}

.slider > .dragger:hover {
  background: #D9230F;
}

.editable-container input::-ms-clear {
  display: none;
}

.language-switch-wrapper button {
  padding-right: 0;
}

input[type='file'] {
  border: none;
  box-shadow: none;
}

@-moz-document url-prefix() {
  input[type='file'] {
    padding: 0;
  }
}

.order-elements {
  margin-top: 15px;
}

/* responsive settings */

@media (max-width: 768px) {
  .image-preview {
    width: 30px;
  }

  table .btn {
    font-size: 10px;
    padding: 6px;
  }

  table th {
    font-size: 13px;
  }

  #logo {
    /*width: 60%;*/
  }
}