﻿html {
    font-family: sans-serif;
}


#header, #content {
    text-align: center;
}

#pagename {
    font-size: 20px;
    background-color: #2e2e2e;
    color: #ffffff;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

body {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    display: block;
    overflow: scroll;
}

section.body {
    padding: 16px 13px;
    width: auto;
   /* max-width: 600px;*/
    margin: 0 auto;
    font-size: 14px;
    font-family: sans-serif;
    min-height: 180px;
}

.size-14 {
    font-size: 14px;
}

.left, .alignleft {
    float: left;
    display: inline;
}

.right, .alignright {
    float: right;
    display: inline;
}

.middle, .alignmiddle {
    margin: 0 auto;
    text-align: center;
}

.span1 {
    width: 16.3%;
    float: left;
    display: inline-block;
    overflow: hidden;
}

.span2 {
    width: 33.3333%;
    float: left;
    display: inline-block;
    overflow: hidden;
}

.span3 {
    width: 49%;
    float: left;
    display: inline-block;
    overflow: hidden;
}

.span4 {
    width: 66.6667%;
    float: left;
    display: inline-block;
    overflow: hidden;
}

.span5 {
    width: 81%;
    float: left;
    display: inline-block;
    overflow: hidden;
}

.btn {
    width: 259px;
    height: 44px;
    border: none;
    margin: 0 auto;
    display: block;
    margin-bottom: 13px;
    font-family: sans-serif;
    font-size: 16px;
    color: #FFF;
    background-color: #F39B16;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
}

.btnCustom {
    width: 259px;
    height: 44px;
    border: none;
    margin: 0 auto;
    display: block;
    margin-bottom: 13px;
    font-family: sans-serif;
    font-size: 16px;
    color: #FFF;
    background-color: #F39B16;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
}

.btn-large {
    height: 60px;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 58px;
}

.btn-green {
    background-color: #80C34F !important;
}

.btn-orange {
    background-color: #F39B16;
}

.btn-group {
    float: left;
    display: block;
    margin-left: auto;
    width: 100%;
    margin-right: auto;
}

.btn-lnk-wrap {
    text-decoration: none;
}

input, textarea, select {
    border-color: #000;
    border-width: 1px;
    outline: none;
    margin-bottom: 6px !important;
}

input {
    width: 286px;
    height: 22px;
    padding-left: 6px;
}

textarea {
    width: 288px;
    height: 52px;
    margin-bottom: 2px;
    resize: none;
}

label {
    margin-bottom: 4px;
    font-weight: bold;
    font-size: 14px;
    font-family: sans-serif;
}

.table-box {
    display: block;
    float: left;
}

.row {
    display: block;
    float: left;
    width: 100%;
}

.date-drop .ico {
    background-image: url(drop-arrow.png);
    margin-left: 4px;
    width: 26px;
    height: 26px;
    position: relative;
    top: 7px;
    display: inline-block;
}

.date-drop input {
    width: 244px;
}

#pagename span {
    vertical-align: middle;
    display: inline-block;
    line-height: 32px;
}

.pin {
    width: 265px;
    margin: 15px auto;
}

    .pin input[type="text"] {
        padding: 0;
        width: 60px;
        height: 60px;
        display: inline-block;
        text-align: center;
        font-size: 24px;
        background: #cdcdcd;
        border: none;
        margin: 0;
        margin-right: 3px;
    }

    .pin input.last {
        margin: 0;
    }

.underline {
    margin-top: 10px;
    font-size: 11px;
    display: block;
}

.table-row {
    display: block;
    border-bottom: 1px solid grey;
    min-height: 35px;
    overflow: hidden;
    padding-top: 4px;
    width: 100%;
}

    .table-row .item {
        display: block;
        width: 100%;
        overflow: hidden;
        float: left;
    }

    .table-row .col {
        font-size: 12px;
        font-weight: 900;
        font-family: sans-serif;
        color: #000;
        display: inline;
        float: left;
    }

    .table-row .item:first-child {
        margin-left: 0;
    }

    .table-row .item-sub-name {
        font-size: 12px;
        font-weight: 900;
        font-family: sans-serif;
        color: #696969;
        display: block;
        float: left;
        margin-bottom: 4px;
    }

.col {
    display: block;
    float: left;
}

.table-head {
    display: block;
    float: left;
    width: 100%;
}

.total-box {
    margin-bottom: 18px;
    float: left;
    width: 100%;
}

.total-field {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 900;
    display: block;
}

.total-result {
    font-family: sans-serif;
    font-weight: 900;
    font-size: 22px;
}

.search-field {
    float: left;
    display: block;
    position: relative;
    float: left;
    margin-left: auto;
    width: 100%;
    margin-right: auto;
}

    .search-field input {
        height: 33px;
        width: 100%;
        padding-left: 0px;
        padding-right: 0;
        font-weight: 800;
        font-size: 14px;
        font-family: sans-serif;
        color: #868686;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .search-field .ico {
        background-image: url(search.png);
        position: absolute;
        top: 9px;
        right: 6px;
        width: 23px;
        height: 19px;
    }

.select-field {
    float: left;
    position: relative;
}

    .select-field input {
        height: 33px;
        width: 246px;
        padding-right: 34px;
        font-weight: 800;
        font-size: 14px;
        font-family: sans-serif;
        color: #868686;
    }

    .select-field .ico {
        background-image: url(drop-arrow.png);
        position: absolute;
        top: 4px;
        left: 256px;
        width: 28px;
        height: 28px;
    }

.search-field input::-webkit-input-placeholder {
    color: #868686;
    font-weight: 800;
    font-size: 14px;
}

.search-field input::-moz-placeholder {
    color: #868686;
    font-weight: 800;
    font-size: 14px;
}

.search-field input::-moz-placeholder {
    color: #868686;
    font-weight: 800;
    font-size: 14px;
}

.search-field input:-moz-placeholder {
    color: #868686;
    font-weight: 800;
    font-size: 14px;
}

.search-field input:-ms-input-placeholder {
    color: #868686;
    font-weight: 800;
    font-size: 14px;
}

.select-field {
    width: 100%;
    overflow: hidden;
    background: white url("drop-arrow.png") no-repeat 99% 3px;
    margin-left: auto;
    margin-right: auto;
}

    .select-field select {
        height: 33px;
        padding: 5px 2px;
        width: 100%;
        float: none;
        border: 1px solid black;
        box-shadow: none;
        background: transparent;
        background-image: none;
        -webkit-appearance: none;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #868686;
    }

        .select-field select option {
            font-family: sans-serif;
            font-weight: bold;
            font-size: 14px;
            color: #868686;
        }

        .select-field select:focus {
            outline: none;
        }

    .select-field option:first-child {
        display: none;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #868686;
    }

.green-label {
    color: #76B945;
    font-weight: 600;
}

.red-label {
    color: red;
    font-weight: 600;
}

#header img {
    /*width: 229px;
    height: 85px;*/
    max-width: 100%;
    vertical-align: middle;
}

#confirm-orders-table .table-row .col {
    width: 50%;
}

    #confirm-orders-table .table-row .col + .col {
        color: green;
        width: 10%;
    }

        #confirm-orders-table .table-row .col + .col + .col {
            color: black;
            width: 10%;
            /*float: right;*/
        }

#confirm-orders-table {
    margin-bottom: 10px;
}

#select-products-total .span3 + .span3 label {
    padding-right: 14px;
}

#select-products-table .qty input {
    width: 40px;
    height: 33px;
    text-align: center;
    font-size: 24px;
    padding: 0;
    float: right;
}

#select-products-table {
    margin-bottom: 39px;
}

    #select-products-table label {
        font-size: 18px;
    }

    #select-products-table .table-row .item-sub-name {
        margin-top: -2px;
        margin-bottom: -2px;
    }

        #select-products-table .table-row .item-sub-name + .item {
            margin-bottom: 8px;
        }

#login-page {
    padding-top: 16px;
}

    #login-page button {
        color: #000;
        width: 265px;
    }

#order-complete-page .table-box .row .span3 {
    width: 126px;
}

#order-complete-page #suplier {
    margin-top: 4px;
}

    #order-complete-page #suplier div {
        display: inline-block;
        float: left;
    }

#order-complete-page .table-box {
    margin-top: 8px;
    margin-bottom: 20px;
}

#order-complete-page .row {
    margin-bottom: 4px;
}

#order-complete-page #order-label {
    margin-bottom: 34px;
}

#product-details-page .table-box {
    margin-top: 6px;
    margin-bottom: 6px;
}

#product-details-page .btn-group {
    margin-top: 132px;
}

#request-pin-page .btn-group {
    margin-top: 27px;
}

#request-pin-page #email-input {
    margin-top: 24px;
}

    #request-pin-page #email-input input {
        margin-top: 2px;
    }

#request-thanks-page .btn-group {
    margin-top: 85px;
}

#send-message-page .btn-group {
    margin-top: 4px;
}

#send-message-page textarea {
    height: 151px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#send-message-page #description {
    float: none;
}

#send-message-page #message-input {
    margin-top: 18px;
    width: auto;
    float: none;
}

#send-thanks-page .btn-group {
    margin-top: 85px;
}
/*
@media all and (min-width: 500px) {
  #view-orders-page #search-order-table {
      -webkit-column-count: 2;
      -moz-column-count: 2;
      -ms-column-count: 2;
      -o-column-count: 2;
      column-count: 2;
      -webkit-column-width: 250px;
      -moz-column-width: 250px;
      -ms-column-width: 250px;
      -o-column-width: 250px;
      column-width: 250px;
      max-height: 1000px;
  }
}*/

.one-column {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
    -o-column-count: 1;
    column-count: 1;
    -webkit-column-width: 250px;
    -moz-column-width: 250px;
    -ms-column-width: 250px;
    -o-column-width: 250px;
    column-width: 250px;
    max-height: 1000px;
}

.two-column {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    -ms-column-count: 2;
    -o-column-count: 2;
    column-count: 2;
    -webkit-column-width: 250px;
    -moz-column-width: 250px;
    -ms-column-width: 250px;
    -o-column-width: 250px;
    column-width: 250px;
    max-height: 1000px;
}


#view-orders-page #search-order-table {
    margin-top: 10px;
    display: block;
    float: left;
}

    #view-orders-page #search-order-table .col {
        width: 25%;
    }

        #view-orders-page #search-order-table .col + .col {
            width: 50%;
        }

            #view-orders-page #search-order-table .col + .col + .col {
                width: 25%;
            }

    #view-orders-page #search-order-table .table-row {
        border: none;
        min-height: 0;
    }

        #view-orders-page #search-order-table .table-row a {
            text-decoration: none;
            color: #F7A22E;
        }

#view-orders-page #search-order-table {
    width: 100%;
    margin-bottom: 24px;
}

#order-details-page .green-label {
    font-weight: 800;
}

#order-details-page #suplier-table .row div {
    display: inline-block;
    float: left;
    padding-bottom: 6px;
}

#order-details-page #suplier-table .row .span3 {
    width: 55%;
    padding-bottom: 6px;
}

#order-details-page #order-table {
    margin-top: 10px;
    display: block;
    float: left;
}

    #order-details-page #order-table .col {
        width: 14%;
    }

        #order-details-page #order-table .col + .col {
            width: 16%;
        }

            #order-details-page #order-table .col + .col + .col {
                width: 14%;
            }

                #order-details-page #order-table .col + .col + .col + .col {
                    width: 14%;
                }

                    #order-details-page #order-table .col + .col + .col + .col + .col {
                        width: 14%;
                    }

    #order-details-page #order-table .table-row {
        border: none;
        min-height: 0;
    }

    #order-details-page #order-table a {
        text-decoration: none;
        color: #F7A22E;
    }

#order-details-page #order-table {
    /*min-height: 175px;*/
    margin-bottom: 24px;
}

    #order-details-page #order-table .row {
        margin-bottom: 5px;
        font-size: 13px;
    }

#order-details-page .table-box {
    margin-bottom: 24px;
}

    #order-details-page .table-box .row {
        margin-bottom: 2px;
    }

a.button {
    width: 259px;
    border: none;
    margin: 0 auto;
    display: block;
    font-family: sans-serif;
    color: #FFF;
    background-color: #F39B16;
    line-height: 60px;
    text-align: center;
    height: 60px;
    font-size: 16px;
    margin-bottom: 10px;
    vertical-align: middle;
    text-decoration: none;
}

    a.button.button-small {
        height: 44px;
        line-height: 44px;
    }

#place-order-page select {
    width: 259px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
    font-size: 16px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
    max-width: 259px;
}

#place-order-page option {
    max-width: 259px;
}

#place-order-page {
    max-width: 259px;
}

.bottom {
    float: right;
    margin-top: 16px;
}

li {
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-position: inside;
}

ul {
    margin: 0;
    padding: 0;
}

    ul li {
        display: inline;
        margin: 0 0px 0 0px;
        padding: 0;
    }

        ul li a {
            text-decoration: none;
            padding: 0;
        }

.sort {
    padding: 8px 30px;
    border-radius: 6px;
    border: none;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    background-color: #28a8e0;
    height: 30px;
}

    .sort:hover {
        text-decoration: none;
        background-color: #1b8aba;
    }

    .sort:focus {
        outline: none;
    }

    .sort:after {
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid transparent;
        content: "";
        position: relative;
        top: -10px;
        right: -5px;
    }

    .sort.asc:after {
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #fff;
        content: "";
        position: relative;
        top: 13px;
        right: -5px;
    }

    .sort.desc:after {
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #fff;
        content: "";
        position: relative;
        top: -10px;
        right: -5px;
    }

.lbl-error {
    color: red;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

#order-placed-page .btn-group {
    margin-top: 40px;
}

#order-placed-page .row, #product-details-page .row {
    margin-bottom: 8px;
}

#order-placed-page a.button {
    height: 44px;
    line-height: 44px;
}

#select-products-total .green-label {
    font-size: 16px !important;
}

.body #select-products-table label {
    font-size: 16px !important;
}

#select-products-total .span3 + .span3 label {
    padding-right: 0px;
}

.total-box .span3 {
    width: 40%;
}

    .total-box .span3 .bottom {
        margin-top: 0px;
    }

.item .last-col {
    text-align: right;
}

.span3-right {
    float: right;
}

    .span3-right div span {
        display: block;
        color: #76B945;
    }

.big-span {
    font-size: 18px;
}

.body div.text-wrapper {
    padding-right: 6px;
}

.body div input {
    width: 100%;
    padding-right: 0;
}

.body div textarea {
    width: 100%;
}

/*@media all and (min-width: 640px) {
    .body .date-drop #calendarfield {
        width: 93%;
    }
}

@media all and (min-width: 512px) and (max-width: 640px) {
    .body .date-drop #calendarfield {
        width: 91%;
    }
}

@media all and (max-width: 511px) and (min-width: 390px) {
    .body .date-drop #calendarfield {
        width: 88%;
    }
}

@media all and (max-width: 390px) {
    .body .date-drop #calendarfield {
        width: 85%;
    }
}

@media all and (min-width: 640px) {
    .body .date-drop #calendarfieldrecorder {
        width: 93%;
    }
}

@media all and (min-width: 512px) and (max-width: 640px) {
    .body .date-drop #calendarfieldrecorder {
        width: 91%;
    }
}

@media all and (max-width: 511px) and (min-width: 390px) {
    .body .date-drop #calendarfieldrecorder {
        width: 88%;
    }
}

@media all and (max-width: 390px) {
    .body .date-drop #calendarfieldrecorder {
        width: 85%;
    }
}

@media all and (min-width: 640px) {
    .body .date-drop .dateinput {
        width: 93%;
    }
}

@media all and (min-width: 512px) and (max-width: 640px) {
    .body .date-drop .dateinput {
        width: 91%;
    }
}

@media all and (max-width: 511px) and (min-width: 390px) {
    .body .date-drop .dateinput {
        width: 88%;
    }
}

@media all and (max-width: 390px) {
    .body .date-drop .dateinput {
        width: 85%;
    }*/
}


#pagingDiv {
    margin-bottom: 24px;
    height: 34px;
    width: 100%;
    text-align: center;
}

#pagingContainer {
    margin-left: auto;
    margin-right: auto;
}

    #pagingContainer ul li {
        display: inline;
    }

.pagination {
    display: inline-block;
    padding-left: 0;
    border-radius: 4px;
}

    .pagination ul ul,
    .pagination ul ol {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .pagination ul li {
        display: inline;
    }

        .pagination ul li a,
        .pagination ul li span {
            position: relative;
            float: left;
            padding: 5px 10px;
            margin-left: -1px;
            line-height: 1.428571429;
            text-decoration: none;
            background-color: #ffffff;
            border: 1px solid #dddddd;
        }

        .pagination ul li:first-child a,
        .pagination ul li:first-child span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination ul li:last-child a,
        .pagination ul li:last-child span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination ul li a:hover,
        .pagination ul li span:hover,
        .pagination ul li a:focus,
        .pagination ul li span:focus {
            background-color: #eeeeee;
        }

    .pagination ul .active a,
    .pagination ul .active span,
    .pagination ul .active a:hover,
    .pagination ul .active span:hover,
    .pagination ul .active a:focus,
    .pagination ul .active span:focus {
        z-index: 2;
        color: #ffffff;
        cursor: default;
        background-color: #F39B16;
        border-color: #F39B16;
    }

    .pagination ul .disabled span,
    .pagination ul .disabled a,
    .pagination ul .disabled a:hover,
    .pagination ul .disabled a:focus {
        color: #999999;
        cursor: not-allowed;
        background-color: #ffffff;
        border-color: #dddddd;
    }

#iosinput {
    padding-left: 20px;
    width: 243px;
    height: 60px;
    display: inline-block;
    text-align: left;
    font-size: 24px;
    background: #cdcdcd;
    border: none;
    margin: 0;
    margin-right: 3px;
    word-spacing: 50px;
    background-image: url("input.png");
}

.dashboard {
    display: block;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 25px;
    margin: 0 auto 13px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    background-color: #e6e6e6;
}

@media only screen and (min-width: 1200px) {

    .dashboard {
        display: block;
        font-family: sans-serif;
        font-size: 16px;
        line-height: 25px;
        margin: 0 auto 13px;
        text-align: center;
        text-decoration: none;
        width: 330px;
        background-color: #e6e6e6;
    }
}

.width100 {
    width: 100% !important;
}

.orderspan1 {
    width: 50%;
    float: left;
    display: inline-block;
    overflow: hidden;
    text-align: left;
}

.orderspan2 {
    width: 15%;
    float: left;
    display: inline-block;
    overflow: hidden;
    text-align: left;
}

.orderspan3 {
    width: 15%;
    float: left;
    display: inline-block;
    overflow: hidden;
    text-align: left;
}

.orderspan4 {
    width: 20%;
    float: left;
    display: inline-block;
    overflow: hidden;
    text-align: right;
}

#header{
    width:100%;
}