

input {
    border-radius: 0;
    -webkit-appearance: none;
}

div#selector_wrap {
    display: block;
    float: left;
    width:auto;
    max-width: 225px;
    height:auto;
    background-color:#EEEEEE;
    border: 1px #ddd solid;
    border-top: none;
    margin: 0 0 20px 0;
}

div#selector_wrap ul{
    list-style: none;
    margin:0;
}
div#selector_wrap ul li {
    margin:0;
}
div#selector_wrap ul li > a {
    display: block;
    color:#000000;
    font-size:0.875em;
    font-family: Cabin, Helvetica, sans-serif;
    padding: 2px 8px;
    border-bottom: 1px #ddd solid;
}
div#selector_wrap ul li > a:hover {
    color:#EEEEEE;
    background-color:#505aa0;
}
div#selector_wrap:after {
    content: "";
    display: table;
    clear: both;
}
div#selector_wrap ul li > a.selected {
    background-color: #c8c8c8;
    background-image: url(../../images/triangle-left.png);
    background-size: 9px 18px;
    background-position: 7px 5px;
    background-repeat: no-repeat;
    padding-left: 21px;
}

div#selector_wrap ul li > a.selected.final {
    color:#EEEEEE;
    background-color: #505aa0;
    background-image: none;
    padding: 2px 8px;
}
div#selector_wrap ul li > ul {
    display: block;
}

div#categories > div {
    display: block;
    float:none;
    width:172px;
    height:316px;
    margin:0 auto 10px auto;
    cursor: pointer;
}

div#categories > div:hover, div#categories > div.hover {
    color:#505aa0;
}

div#categories > div img {
    display: block;
    float: left;
    width:168px;
    height:168px;
    margin: 2px 2px 14px 2px;
}

div#categories > div:hover div#categories > div > h2, div#categories > div.hover h2{
    color:#505aa0;
}

div#categories > div:hover div#categories > div img, div#categories > div.hover img {
    width:172px;
    height:172px;
    margin: 0 0 12px 0;
}

div#categories > div h2 {
    font-size:1.22222222222em;
    line-height:1.09090909091;
    margin: 0;
}

div#categories > div p {
    font-size:0.77777777777em;
    line-height:1.14285714286;
}

div#search {
    position: absolute;
    top:0;
    right: 3px;
    display: block;
    background-image: url("../../images/magnifying-glass.png");
    background-position:1px 3px;
    background-size: 88%;
    background-repeat: no-repeat;
    cursor: pointer;
    width:22px;
    height:22px;
}

div#top_title {
    display:block;
    float:left;
    margin:60px 0 0 0;
    width:100%;
    height:60px;
    height:30px;
    background-color:#444444;
    font-family: Cabin, sans-serif;;
}
div#top_title > div {
    display: block;
    float: none;
    margin: 0 16px;
}
div#top_title > div > h1 {
    display: block;
    float: left;
    color: #FFF;
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.45;
}
div#top_title > div > a {
    display:block;
    float: right;
    color:#FFFFFF;
    font-size:0.88888888888em;
    line-height: 2;
}
div#top_title > div > div {
    -webkit-filter: invert(83%);
    filter: invert(83%);
    width: 16px;
    display: block;
    float: left;
    margin: 3px 0 0 10px;
}
div#breadcrumb {
    display:block;
    float:left;
    margin: 0;
    width:100%;
    height:30px;
    background-color:#505aa0;
    color:#FFF;
    font-size:0.75em;
    line-height: 2.3;
    /* overflow: hidden; */
}
div#breadcrumb > div {
    display: block;
    float: left;
    width: calc(100% - 32px);
    margin: 0 16px;
    height: 30px;
    /* overflow-x: scroll; */
    overflow-y: hidden;
}
div#breadcrumb > div::-webkit-scrollbar {
    max-height:0;
    max-width:0;
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
div#breadcrumb > div > div {
    white-space: nowrap;
    height: 30px;
    width: auto;
}
div#breadcrumb > div > div > a, div#breadcrumb > div > div > a:link, div#breadcrumb > div > div > a:visited, div#breadcrumb > div > div > a:hover, div#breadcrumb > div > div > a:active {
    font-family: Helvetica, Cabin, sans-serif;
    color:#FFF;
    text-decoration: none;
}
div#ps_wrapper {
    max-width:970px;
    margin:0 auto;
    /* margin-top: 185px; */
    margin-bottom: 20px;
}

.product_background {
    background-image: url("../../images/Find-Product-Bkgd-Image-v2-300dpi.jpg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 120px;
    background-size: cover;
}

.clear_both {
    clear: both;
}
.clear_left {
    clear: left;
}
.clear_right {
    clear: right;
}
div#table {
    display: table;
    width: 100%;
    margin:0 auto 20px auto;
}
div#table > div {
    display:table-row;
    width:100%;
}
div#table > div#header {
    border-bottom:1px #000 solid;
    margin-bottom:6px;
}
div#table > div > div {
    display: table-cell;
}
div#table > div > div:first-child {
    width:160px;
}
/*div#top_search {
    background-color: #505aa0;
    width:100%;
    height: 60px;
    margin:60px auto 0 auto;
}


div#top_search h1 {
    margin: 0 auto;
    font-size:1em;
    font-weight: normal;
    color:#FFF;
    text-align: center;
    padding: 4px 0;
}


div#top_search > div > input[name="product_search"]::-webkit-input-placeholder { !* Edge *!
    color: #444444;
}

div#top_search > div > input[name="product_search"]:-ms-input-placeholder { !* Internet Explorer 10-11 *!
    color: #444444;
}

div#top_search > div > input[name="product_search"]::placeholder {
    color: #444444;
}


div#top_search > div#product_search {
    position: relative;
    width: 75%;
    height:24px;
    margin: 0 auto;
    display: block;
}

div#top_search > div > input[name="product_search"] {
    font-size:0.75em;
    width:100%;
    height:100%;
}*/

div#blurb {
    font-size:1em;
    max-width:730px;
    margin:10px;
}

table#products {
    font-family: Cabin, Helvetica, sans-serif;
    color:#000000;
    background-color:#EEEEEE;
    max-width:300px;
    width: 100%;
    margin: 0 20px 30px 20px;
    padding: 0;
    display: block;
    float: left;
    line-height: 1.4;
    font-size: 0.88888888888em;
}
table#products tr:first-child, table#products tr:nth-child(2) {
    background-color:#FFF;
    text-transform:uppercase;
}

table#products tr th {
    color:#FFFFFF;
    background-color:#444444;
    font-size:1em;
    height:36px;
    max-height: 36px;
    margin: 0;
    padding: 6px 0 0 6px;
    width: 30%;
}
table#products tr th:nth-child(3) {
    text-align: right;
}
table#products tr td {
    font-size: 1em;
    height:43px;
    max-height: 43px;
    border-bottom: 1px #ddd solid;
    margin: 0;
    padding: 6px 0 0 6px;
}
table#products tr th:first-child, table#products tr td:first-child {
    max-width: 100px;
}
table#products tr:first-child > td:first-child {
    max-width: 100%;
    height: 1px;
    border: 0;
    border-bottom: 1px #454545 solid;
    padding: 12px 0 0 0;
    font-size:0.75em;
    color:#454545;
}
table#products tr th:nth-child(2), table#products tr td:nth-child(2) { /* description */
    min-width: 350px;
    max-width: 400px;
}
table#products tr th:nth-child(3), table#products tr td:nth-child(3) { /* quantity */
    /* min-width: 100px; */
    max-width: 55px;
}
table#products tr th:nth-child(4), table#products tr td:nth-child(4) { /* add button */
    min-width: 50px;
    max-width: 55px;
}
table#products tr th:nth-child(5){

}
table#products tr td:nth-child(5) { /* delete button */
    max-width: 0;
    /* display: block; */
    visibility: hidden;
}

table#products tr:nth-child(2) {
    margin:0;
    padding:0;
}
table#products tr:nth-child(2) > td {
    height:auto;
    margin:0;
    padding:0 0 20px 0;
    line-height: 1;
    color:#000;
    font-size:1.125em;
    text-transform: none;
}
table#products tr:nth-child(2) > td > h2 {
    color:#595aa0;
    font-size:1.66666666667em;
    text-transform: capitalize;
    margin-top: 15px;
}



table#products tr td input[type="text"] {
    display: block;
    float: right;
    width:60px;
    height:27px;
    border: 1px #ddd solid;
    background-color:#FFF;
    line-height: 1;
    padding: 4px;
}
table#products tr td input[type="button"][name^="add_"] {
    width:50px;
    height:20px;
    font-size: 0.81481481481em;
    line-height: 1.1;
    color: #FFF;
    text-align: center;
    background-color: #505aa0;
    text-transform: capitalize;
    margin: 4px 0 0 0;
}
table#products tr td input[type="button"][name^="add_"]:hover {
    width:48px;
    height:18px;
    margin: 4px 2px 0 0;
    color: #505aa0;
    background-color: #FFF;
    border:1px #505aa0 solid;
}
table#products tr td input[type="button"][name^="del_"] {
    width: 21px;
    background-image: url(../../images/trash-can.png);
    background-size: 120%;
    background-position: -2px -1px;
    background-repeat: no-repeat;
    margin: 2px 9px 0 0;
    padding: 0;
}
table#products tr td input[type="button"][name^="del_"]:hover {
    filter: invert(100%);
    -webkit-filter: invert(100%);
}

div#quote_cart {
    display:none;
    float: right;
    width:203px;
    max-height:430px;
    background-color:#EEEEEE;
    font-size:0.88888888888em; /* 16/18 */
    margin: 0 0 30px 0;
}
div#quote_cart > div#head {
    background-color: #444444;
    padding: 4px 8px;
}
div#quote_cart > div#head > h3 {
    font-size:1em; /* 16 */
    color:#FFFFFF;
    display: inline;
}
div#quote_cart > div#items {
    display:block;
    height:auto;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
    /* padding: 0 8px 0 8px; */
    /* margin: 0 0 30px 0; */
}
div#quote_cart > div#items > div {
    background-color: #EEEEEE;
    padding: 4px 8px;
}
div#quote_cart > div#items > div > div {
    color:#444444;
    font-size:0.75em;
    line-height: 1.4;
}
div#quote_cart > div#items > div > div  > h4 {
    color:#000000;
    font-size:1.08333333333em;
    margin: 4px 0 0 0;
}
div#quote_cart > div#head > a {
    display: block;
    float: right;
    color:#b9bdda;
    text-decoration:none;
    background-image: url("../../images/white-triangle-right.png");
    background-repeat: no-repeat;
    background-size: 9px 18px;
    background-position: right 3px;
    padding-right: 12px;
}



#ps_hl {
    display:block;
    float: left;
    max-width: calc(100% - 40px);
    margin:0 0 0 20px;
}
#ps_hl h4 {
    color:#FFFFFF;
    border-bottom: 1px solid #fff;
/*    display: inline-block;*/
    margin-bottom: 10px;
    padding-bottom: 30px;
}
#ps_hl h1 {
    color:#FFFFFF;
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0em;
    text-align: left;

}
@media only screen and (min-width: 374px) {
    div#categories > div {
        float:left;
    }
    div#categories > div {
        margin-right: 0;
        margin-left: calc((100% - 334px)/3);
    }
}

@media only screen and (min-width: 556px) {
    div#categories > div {
        margin-right: 0;
        margin-left: calc((100% - 516px)/4);
    }
}

@media only screen and (min-width: 600px) {
    .product_background {
        background-position-y: 140px;
    }
    div#top_title {
        margin:80px 0 0 0;
    }
    div#search {
        width:66px;
        height:66px;
        background-position: 9px 8px;
        background-size: 80%;
    }
    div#top_title > div > div {
        -webkit-filter: invert(83%);
        filter: invert(83%);
        width: 16px;
        display: block;
        float: left;
        margin: 20px 0 0 10px;
    }
    #ps_hl {
        display:block;
        float: left;
        max-width: calc(65% - 20px);
        margin:4rem 0 0 20px;
    }
}

@media only screen and (min-width: 730px) {
    div#blurb {
        margin:25px auto 74px auto;
    }

}

@media only screen and (min-width: 738px) {
    div#categories > div {
        margin-left: calc((100% - 688px)/5);
    }
}
@media only screen and (min-width: 901px) {
    .product_background {
        background-position-y: 170px;
    }
    div#top_title {
        width:100%;
        height: 60px;
    }
    div#top_title > div, div#breadcrumb > div {
        max-width:1100px;
        margin:0 44px;
        margin:0 auto;
    }
    div#top_title > div > h1 {
        font-size:1.444444em;
        line-height: 2.5;
    }
    div#top_title > div > a {
        line-height: 4;
    }
    #ps_hl {
        display:block;
        float: left;
        max-width: 69%;
        margin:8rem 0 0 20px;
    }
    #ps_hl h1 {
        font-size: 48px;
        line-height: 1.15;
    }
}
@media only screen and (min-width: 920px) {
    div#categories > div {
        margin-left: calc((100% - 860px)/6);
    }
}

@media only screen and (min-width: 940px) {
    .product_background {
        background-position-y: 245px;
    }
    div#top_title {
        margin:155px 0 0 0;
    }
    div#top_title > div, div#breadcrumb > div {
        width: 100%;
        max-width: 970px;
        float: none;
    }
    div#search {
        background-position: 5px;
        background-size: 83%;
    }
    table#products {
        max-width:500px;
    }
    /*
    div#top_search {
        margin:155px auto 0 auto;
    }
    div#top_search h1 {
        margin: 20px auto;
        padding-top: 39px;
    }
    div#top_search > div#product_search {
        width: 730px;
        height: 66px;
    }
    */
}
@media only screen and (min-width: 1190px) {
    div#ps_wrapper, div#top_title > div, div#breadcrumb > div {
        max-width:1100px;
    }
    div#top_title > div {
        margin:0 auto;
    }
    div#breadcrumb > div {
        margin:0 auto;
    }
    table#products {
        max-width:600px;
    }
}

