:root {
    --color-primary: #1b98d5;
    --color-secondary: #F26522;
    --color-dark-blue: #0379b7;
    --color-light-grey: #f3f3f3;
    --color-grey: #eeeeee;
    --color-dark-grey: #D3D3D3;
    --color-darker-grey: #7E7E7E;
    --color-black: black;
    --color-red: #FF0000;
    --color-dark-red: #CC0000;
    --color-white: white;
}

@font-face {
    font-family: "Open Sans";
    src: url("../font/OpenSans-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Open Sans";
    src: url("../font/OpenSans-Bold.ttf");
    font-weight: 700;
}

* {
    margin:0;
    padding:0;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

body {
    font-size: 14px;
    background-position: center;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: inherit;
}

body, html, p {
    font-family: "Open Sans", sans-serif;
}

fieldset {
    margin:5px;
    padding:5px;
    border:1px solid #cccccc;
}

fieldset legend {
    font-size:14px;
    font-weight:bold;
}

h1, h2, h3, h4, h5, h6 {
    font-family: futura-pt-bold, sans-serif;
    color: var(--color-primary);
}

h1 {
    font-size: 36px;
}

h3 {
    text-transform: uppercase;
}

html {
    min-height: 100vh;
}

img {
    border:none;
}

li {
    list-style-type:none;
}

p {
    font-size: 15px;
    line-height: 1.7;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

table td {
    vertical-align: top;
}

/* general classes */

.btn {
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
}

.btn-black {
    color:#fff;
    background-color: #000;
}

.btn-black:hover {
    color: white;
    background-color: var(--color-primary)
}

.clr {
    clear:both;
    line-height:0;
    height:0;
}

.error {
    color: var(--color-red);
}

/* facetQuery */

#facetQuery {
    display:block;
    overflow:hidden;
}

#facetQuery li:hover {
    background: var(--color-light-grey);
}

#facetQuery li.hidden {
    display:none;
}

/* login homepage */

.homepage_login_form .btn-login:hover,
.homepage_login_form .btn-login:focus {
    background-color: var(--color-primary);
    color: var(--color-black);
}

.homepage_login_form .user_password,
.homepage_login_form .user_email_username {
    background-color: var(--color-grey);
    border: 1px solid var(--color-darker-grey);
}

/* login modal */

.login_form {
    top: 19px;
    left: 33px;
    z-index: 9;
}

.login_form .error {
    max-width: 140px;
    line-height: 17px;
    display: none;
}

.login_form .error,
.login_form ul {
    margin:10px auto;
}

.login_form .row {
    margin:10px 0;
}

/* login admin */

.login {
    text-align: right;
    font-size: 14px;
    height: 18px;
}

/* manager user edit */

.manager_user_edit .row {
    margin: 10px 0;
}

/* navbar */

.g-nav > li:hover {
    background: var(--color-primary);
}

.g-nav > li > a {
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

@media(min-width: 1024px) {
    .g-nav > li > a {
        padding: 10px 20px;
    }
}

.g-nav > li:hover > a {
    color: white;
}

.g-nav > li > ul a {
    padding: 10px 20px;
    color: initial;
}

.g-nav > li > ul li:hover a {
    background: var(--color-grey);
    color: var(--color-primary);
}

/* admin item details dashboard */

#itemDetailsDashboard {
    max-width: 1000px;
}

#itemDetailsDashboard .col-xs-6 {
    height: 300px;
}

#itemDetailsDashboard .table {
    margin-bottom: 5px;
}

#itemDetailsDashboard .show_more {
    cursor: pointer;
}

/* admin item list */

#admin-item-list .col:not:nth-of-type(1) {
    padding-left: 3px;
}

#admin-item-list .col:nth-of-type(5),
#admin-item-list .col:nth-of-type(6),
#admin-item-list .col:nth-of-type(7) {
    vertical-align: top;
}

/* admin item override ad */

#admin-item-override-ad .limited-width-div {
    width: 400px;
    margin-right: 20px;
    float: left;
}

#admin-item-override-ad #table_override_values {
    margin-top: 20px; border: 1px solid black;
}

#admin-item-override-ad #table_override_values thead tr {
    border: 1px solid black;
}

/* admin orders */

.admin-orders-details-li {
    border-bottom: 1px solid black;
    width: 205px;
}

/* admin pricing custom */

#cont_cust .left_col .list .header .col:nth-of-type(1) {
    width: 75px;
}

#cont_cust .left_col .list .header .col:nth-of-type(2) {
    width: 200px;
}

#cont_cust .left_col .list .header .col:nth-of-type(3) {
    width: 70px;
}

#cont_cust .left_col .list .header .col:nth-of-type(4) {
    width: 80px;
}

#cont_cust .left_col .list li:not(.header) .col:nth-of-type(1) {
    width: 75px;
}

#cont_cust .left_col .list li:not(.header) .col:nth-of-type(2) {
    width: 200px;
}

#cont_cust .left_col .list li:not(.header) .col:nth-of-type(4) {
    width: 80px;
}

#cont_cust .right_col {
    position: fixed;
    left: 50%;
    margin-left: 55px;
}

#cont_cust .right_col #addForm #price {
    width:50px;
}

#cont_cust > div:nth-of-type(2) {
    position: relative;
}

/* admin pricing contract */

#pricing .left_col .list .header .col:nth-of-type(1) {
    width: 75px;
}

#pricing .left_col .list .header .col:nth-of-type(2) {
    width: 200px;
}

#pricing .left_col .list .header .col:nth-of-type(3) {
    width: 70px;
}

#pricing .left_col .list .header .col:nth-of-type(4) {
    width: 80px;
}

#pricing .left_col .list li:not(.header) .col:nth-of-type(1) {
    width: 75px;
}

#pricing .left_col .list li:not(.header) .col:nth-of-type(2) {
    width: 200px;
}

#pricing .left_col .list li:not(.header) .col:nth-of-type(4) {
    width: 80px;
}

/* admin pricing cust group */

#cust_group .list:nth-of-type(1) .header .col:nth-of-type(1) {
    width: 75px;
}

#cust_group .list:nth-of-type(1) .header .col:nth-of-type(2) {
    width: 200px;
}

#cont_group .list:nth-of-type(1) li:not(.header) .col:nth-of-type(1) {
    width: 75px;
}

#cont_group .list:nth-of-type(1) li:not(.header) .col:nth-of-type(2) {
    width: 200px;
}

#cont_group .list:nth-of-type(2) .header .col:nth-of-type(1) {
    width: 75px;
}

#cont_group .list:nth-of-type(2) .header .col:nth-of-type(2),
#cont_group .list:nth-of-type(2) .header .col:nth-of-type(3) {
    width: 75px;
}

#cont_group .list:nth-of-type(2) li:not(.header) .col:nth-of-type(1) {
    width: 75px;
}

#cont_group .list:nth-of-type(2) li:not(.header) .col:nth-of-type(2),
#cont_group .list:nth-of-type(2) li:not(.header) .col:nth-of-type(3) {
    width: 50px;
}

/* admin pricing customer */

#pricing-customer .left_col .list {
    width: auto;
}

#pricing-customer .left_col .list .header .col:nth-of-type(1) {
    width: 50px;
}

#pricing-customer .left_col .list .header .col:nth-of-type(2) {
    width: 85px;
}

#pricing-customer .left_col .list li:not(.header) .col:nth-of-type(1) {
    width: 50px;
}

#pricing-customer .left_col .list li:not(.header) .col:nth-of-type(2) {
    width: 85px;
}

/* admin pricing freight */
#pricing-freight .list {
    width: 620px;
    padding-left: 40px;
}

#pricing-freight .list .header .col:nth-of-type(1),
#pricing-freight .list .header .col:nth-of-type(2) {
    width: 150px;
}

#pricing-freight .list .header .col:nth-of-type(3) {
    width: 200px;
}

#pricing-freight .list li:not(.header) .col:nth-of-type(1),
#pricing-freight .list li:not(.header) .col:nth-of-type(2) {
    width: 150px;
}

#pricing-freight .list li:not(.header) .col:nth-of-type(3) {
    width: 200px;
}

#pricing-freight #addFreightAmountForm li label {
    display: inline-block;
    width: 150px;
    padding-right: 10px;
    text-align: right;
}

/* admin pricing items */

#admin-pricing-item table tr th:nth-of-type(1) {
    width: 100px;
}

#admin-pricing-item table tr th:nth-of-type(2) {
    width: 110px;
}

#admin-pricing-item table tr th:nth-of-type(3) {
    width: 50px;
}

#admin-pricing-item table tr th:nth-of-type(4) {
    width: 100px;
}

#admin-pricing-item table tr th:nth-of-type(5) {
    width: 85px;
}

/* admin pricing vendors */

#pricing-vendors .left_col .list .header .col:nth-of-type(1),
#pricing-vendors .left_col .list li:not(.header) .col:nth-of-type(1) {
    width: 55px;
}

#pricing-vendors .left_col .list .header .col:nth-of-type(2),
#pricing-vendors .left_col .list li:not(.header) .col:nth-of-type(2) {
    width: 40px;
}

#pricing-vendors .left_col .list .header .col:nth-of-type(3),
#pricing-vendors .left_col .list li:not(.header) .col:nth-of-type(3) {
    width: 85px;
}

#pricing-vendors .left_col .list .header .col:nth-of-type(4),
#pricing-vendors .left_col .list li:not(.header) .col:nth-of-type(4) {
    width: 75px;
}

#pricing-vendors .left_col .list .header .col:nth-of-type(5),
#pricing-vendors .left_col .list li:not(.header) .col:nth-of-type(5) {
    width: 85px;
}

#pricing-vendors .right_col {
    position: fixed;
    left: 50%;
    margin-left: 55%;
}

/* admin search rewrite detail */

.form-group.well textarea {
    height: 80px;
}

/* admin cust form */

.manager_cust_edit div:nth-of-type(1) {
    width: 400px;
    margin-right: 20px;
    float: left;
}

.manager_cust_edit div:nth-of-type(2) {
    width: 300px;
    float: left;
}

.manager_cust_edit div.legend.label > span {
    cursor: pointer;
    font-size: 10px;
    color: blue;
}

.manager_cust_edit #admin-customer-shipping-addresses ul {
    padding-left: 0;
}

.manager_cust_edit #admin-customer-shipping-addresses ul li label:nth-of-type(1) {
    font-weight: normal;
}

.manager_cust_edit .row .field input[type=hidden]+span {
    display: inline-block;
    width: 152px;
    border: 1px solid #CCC;
    background: #f1f1f1;
    margin-right: 5px;
}

/* admin customer list */

#admin-cust-list table th:nth-of-type(2),
#admin-cust-list table tbody tr td:nth-of-type(2) {
    width: 220px;
}

/* quote request */

.quote_request_content #quote_request_form div:nth-of-type(2) {
    border-top: 1px solid #cccccc;
    clear: both;
    margin: 0 0 50px;
}

/* footer */

#copy-footer {
    width: 165px;
}

/* header */

#header tr td.logo a {
    display: block;
    width: 240px;
}

/* accounts receivable */

.account_receivable .list.account-table .border-row {
    border-top: 1px solid #cccccc;
}

/* checkout */

.checkout .nav.nav-tabs {
    margin-top: 0;
}

.checkout span.trigger {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.checkout span.trigger:hover {
    text-decoration: none;
    text-shadow: 1px 1px 1px #555;
}

.checkout .cart_list.top-buffer {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 5px;
}

.checkout table.cart_list td.checkout-border-td {
    border-top: 1px solid #cccccc;
    height: 2px;
}

.checkout table.cart_list tr.cart-data-row td:nth-of-type(1) {
    width: 100px;
}

.checkout table.cart_list tr.cart-data-row td:nth-of-type(2) {
    width: 325px;
}

.checkout table.cart_list tr.cart-data-row td:nth-of-type(6) {
    text-align: right;
    width: 40px
}

.checkout .nav.nav-tabs > li a {
    background: #d3d3d3 url(/img/left_nav_arrow_e.png) 6px 8px no-repeat;
    padding-left: 35px;
    font-weight: 700;
    color: #635F5F;
    text-transform: uppercase;
    border-bottom: 0;
}

.checkout .nav.nav-tabs > li.active a {
    background-image: url(/img/left_nav_arrow_s_o.png);
    background-color: #7a7e81;
    color: #FFFFFF;
}

.checkout .checkout_nav {
    border-top: 1px solid #635f5f;
    padding-top: 10px;
}

.checkout #payment_options input {
    margin-right: 5px;
    width: 20px;
}

.checkout #shipping_address .row,
.checkout .billing_info .row {
    margin-bottom: 10px;
}

.checkout input[type="text"],
.checkout textarea {
    width: 100%;
    padding: 3px;
}

.checkout #payment-note-textarea {
    height: 75px;
}

.checkout #ship_note {
    height: 75px;
}

.checkout #payment_options label:nth-of-type(1) {
    display: inline-block;
    margin-right: 20px;
    padding-left: 3px;
}

.checkout #payment_options label:nth-of-type(2) {
    display: inline-block;
    padding-left: 3px;
}

.checkout .outstanding_note table {
    margin: 4px 0;
}

.checkout .outstanding_note table tr:nth-of-type(4) td {
    border-top: 1px solid #cccccc;
}

.checkout .outstanding_note table tr:nth-of-type(7) td {
    border-top: 1px solid #cccccc;
}

#billing_confirm em {
    color: #CC0000;
}

.shipping_state,
.billing_state {
    width: 100%;
    padding: 3px;
    border: 1px solid #5698BE;
    height: 28px
}

#same_as_shipping {
    margin-left: 10px;
}

/* cart */

.cart input.saved-cart-input {
    padding: 6px 8px;
}

.cart table.cart_list thead th:last-of-type {
    width: 110px;
}

.cart table.cart_list tbody tr.cart_item td.description {
    width: 209px;
}

.cart table.cart_list tbody tr.cart_item td.quantity input {
    text-align: center;
    width: 70px;
}

.cart a.remove_cart_item div.quantity input {
    width: 70px;
    text-align: center;
}

.cart #non-catalog-cart-list thead .non-catalog-th-1 {
    width: 114px;
}

.cart #non-catalog-cart-list thead .non-catalog-th-2 {
    width: 84px;
}

.cart #non-catalog-cart-list thead .non-catalog-th-3 {
    width: 90px;
}

.cart #non-catalog-cart-list thead .non-catalog-th-4 {
    width: 209px;
}

.cart #non-catalog-cart-list thead .non-catalog-th-10 {
    width: 110px;
}

.cart #non-catalog-cart-list tr:nth-of-type(1) {
    border-top: 1px solid #cccccc;
    height: 2px;
}

.cart #non-catalog-cart-list tr td.quantity input {
    width: 70px;
    text-align: center;
}

.cart #non-catalog-cart-list tr td.add {
    text-align: right;
}

.cart #non-catalog-cart-list td.non-catalog-border-td {
    border-top: 1px solid #cccccc;
    height: 2px;
}

.cart form.well input[name=title] {
    width: 80%;
}

.cart_list {
    width: 100%;
}

.cart_list tr th {
    background-color: var(--color-primary);
    border-left: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px;
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
}

.cart_list tr th a {
    color: #ffffff;
}

.cart_list tr {
    background-color: #ffffff;
}

.cart_list tr.odd {
    background-color: #e4e4e4;
}

.cart_list tr td {
    padding: 5px;
    border-left: 2px solid #ffffff;
}

.cart_list tr td.image .insert {
    border: 1px solid #5698BE;
    background-color: #ffffff;
    box-shadow: 0px 0px 4px var(--color-primary);
}

.cart_list tr td.quantity input {
    text-align: center;
    width: 55px;
    border: 1px solid #5698BE;
    background-color: #ffffff;
    box-shadow: 0px 0px 4px var(--color-primary);
    padding: 10px 12px;
}

.cart_list tr td {
    text-align: center;
    font-size: 15px;
}

.cart_list tr td.description {
    text-align: left;
}

.cart_list tr td.item_code a {
    color: var(--color-secondary);
}

.cart_list tr td b {
    text-transform: uppercase;
}

#save-cart {
    margin-bottom: 3px;
}

.tab-pane h3 {
    color: #000;
    margin-top: 20px;
}

@media(min-width: 768px) {
    .specs > div span {
        display: inline-block;

    }
    .specs > div span:nth-child(1) {
        width: 240px;
        vertical-align: text-top;
    }

    .specs > div span:nth-child(2) {
        width: 610px;
    }
}

.specs > div {
    padding: 5px;
}

.specs > div:nth-child(even) {
    background-color: #e1e1e1;
}

.item_detail .tab-content ul {
    padding-left: 20px;
}

/* change password */

.setting_change_password .error {
    margin: 5px 0;
}

.setting_change_password .field input {
    padding: 6px 8px;
}

/* category nav */

ul.category_nav.sidebar-accordion li:nth-of-type(1) div#mobileMenu a {
    margin-bottom:15px;
}

ul.category_nav.sidebar-accordion ul#custom_category_nav {
    display: none;
}

ul.category_nav.sidebar-accordion ul#custom_category_nav li span.display-inline-block {
    width: 14px;
}