html {
  position: relative;
  min-height: 100%;
}

body > .container {
  padding: 15px 15px 15px 15px;
}

.body {
    display: table;
}

.left-side {
    float: none;
    display: table-cell;
    --border: 1px solid;
}

.right-side {
    float: none;
    display: table-cell;
    --border: 1px solid;
}

.search {
    width: 100%;
}

.base {
   height:100%;
   padding:0px;
   margin:0px;
   background-image: linear-gradient(to top, #D8D8D8 369px, #FEFEFE);
   padding-top: 50px;
}

.toplogo {
  position: absolute;
  top: 0px;
  font-family: Georgia, serif;
  padding-top: 5px;
  font-color: #7c6f4f;
}

.navbar {
  background-image: url("/static/machinery/images/bg_bottom.png");
  position: relative;
  top: 0px;
}

.region {
  position: relative;
  top: 5px;
  cursor: pointer;
}

.navbar-brand {
  position: relative;
  top: -26px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus{
  background: #FCFAF7;
  font-weight: bold;
}

.catalogue {
  font-size: 150%;
  font-weight: bold;
  color: #222 !important;
}

.jumbo {
  padding: 5px;
}

.bgmiddle, .panel > .panel-heading, .t_hover:hover  {
  background: #bbbbbb;
}

.bglight {
  background: #eee7d7;
}

.panel-default, .jumbotron {
  background-image: url("/static/machinery/images/bg_12.png"), url("/static/machinery/images/bg_11.png"), linear-gradient(to top, #D8D8D8 369px, #FEFEFE);
  background-repeat: no-repeat, repeat-x;
  background-position: right bottom, left bottom;
}

.items-listing > .row > .col-md-3:nth-child(4n+1) {
  clear: both;
}

.mainitems-listing > .row > .col-md-2:nth-child(6n+1) {
  clear: both;
}


.mainitem {
  height: 400px;
  border: 1px solid gray;
}

.categories-listing > .row > .col-md-3:nth-child(4n+1) {
  clear: both;
}

.factory {
  height: 500px;
  border: 1px solid gray;
}

.factory_img {
  height: 170px;
  display: -webkit-flex; /* Safari */
  -webkit-align-items: center; /* Safari 7.0+ */
  display: flex;
  align-items: center;
  justify-content: center;
}

.factory_img div {
   -webkit-flex: 1; /* Safari 6.1+ */
   flex: 1;
}

.footer{
  height: 100%;
  background-image: url("/static/machinery/images/bg_bottom.png");
  position: relative;
  bottom: 30px;
}

.ftr{
  background-image: url("/static/machinery/images/bg_bottom.png");
}


.divider{
  background-image: url("/static/machinery/images/bg_bottom.png");
  height: 100%;
  padding: 5px;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.popover{
    max-width: 100%;
}

.btn-default {
    background: #EEEEEE;
    color: black;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active:hover,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background: #C5B383;
}

.breadcrumb {
  background-color: transparent;
}

.promo{
  margin: 0 auto;
  height: 100px;
  width: 100%;
  font-size: 12pt;
  text-align: center;
  background-image: url("/static/machinery/images/bg_bottom.png");
}

.promo p
{
     position: relative;
     top: 50%;
     transform: perspective(1px) translateY(-50%);
}

.old {
    text-decoration: line-through;
    color: gray;
    font-size: 16px;
}

.price {
    margin-bottom: 5px;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.4;
}

.discount {
    padding: 1px 4px;
    margin-left: 5px;
    background-color: #A60000;
    color: #fff;
}

.margin-t-15 {
    margin-top: 15px;
}