#filters {
    margin: 20px 0 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #dedede;
    color: #333;
    font-size: 0.9em;
}

#filters input[type="text"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 32px;
    border: 1px solid #cacaca;
    background-color: #fbfbfb;
}

#filters input[type="text"]:focus {
    border-color: #999;
}

#filters .tell-select {
    border: 1px solid #ccc;
    background-color: #fbfbfb;
    color: #333;
}

#filters .tell-select .tell-arrow {
    top: 12px;
    right: 8px;
}

#search {
    position: relative;
    float: left;
    overflow: hidden;
}

#search-term {
    width: 150px;
    padding: 5px;
    float: left;
}

#search-button {
    position: absolute;
    top: 0;
    right: 0;
}

#search-submit {
    display: none;
}

#search-icon {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    color: #aaa;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}

#search-icon:hover {
    color: #656565;
}

#category-name {
    padding: 0 10px;
    float: left;
    line-height: 32px;
}

#category-name:before {
    content: "Category: ";
}

#category-text {
    margin-top: 20px;
}

#settings {
    height: 32px;
    float: right;
    overflow: none;
}

#sort-options {
    width: 150px;
}

#size-options {
    width: 95px;
}

#filters .filters-label {
    margin: 0 10px 0 20px;
    float: left;
    line-height: 32px;
}

#filters #sort {
    float: left;
    overflow: hidden;
}

#filters #size {
    margin: 0 0 0 10px;
    float: left;
    overflow: hidden;
}

#filters .tell-select select {
    height: 32px;
    line-height: 32px;
}

#filters .tell-select {
    width: auto;
    height: 32px;
    float: left;
    line-height: 32px;
}

#filters .tell-select select {
    position: relative;
    border: 0;
}

#filters .tell-select select option {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

#filters .tell-select .tell-text {
    top: 0;
    left: 0;
    height: 32px;
    line-height: 32px;
}

#filters #display {
    float: left;
    overflow: hidden;
    line-height: 32px;
}

#filters #display-grid {
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    margin: 0 -1px 0 11px;
    float: left;
    overflow: hidden;
    cursor: pointer;
}

#filters #display-grid b {
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    padding: 1px 1px 0 0;
    float: left;
}

#filters #display-grid b i {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #aaa;
}

#filters #display-list {
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    margin: 0 0 0 10px;
    float: left;
    overflow: hidden;
    cursor: pointer;
}

#filters #display-list b {
    box-sizing: border-box;
    width: 100px;
    height: 10px;
    padding: 1px 1px 0 0;
    float: left;
}

#filters #display-list b i {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #aaa;
}

#filters #display-grid:hover b i,
#filters #display-list:hover b i {
    background-color: #888;
}

#no-results {
    box-sizing: border-box;
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    float: left;
    border: 1px solid #eee;
    background-color: #f2f2f2;
    color: #333;
    font-style: italic;
}

#items {
    display: block;
    max-width: 1220px;
    overflow: hidden;
    font-size: 0.9em;
}

#items.list {
    margin-bottom: 20px;
}

.item-title-link {
    color: #007490;
    font-size: 1.2em;
    text-decoration: none;
}

.item-price {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 21px;
}

.item-price-old {
    color: #777;
    text-decoration: line-through;
}

.item-price-now {
    color: #615b9d;
}

.item-view-link {
    display: block;
    color: #007490;
    font-size: 1.0em;
    line-height: 21px;
    text-decoration: none;
}

.item-view-link .fa {
    padding-right: 5px;
    color: #007490;
}

.item-add {
    display: block;
    height: 42px;
    margin: 0;
    padding: 0 15px;
    float: right;
    border: 1px solid #005470;
    background-color: #005470;
    color: #fff;
    font-size: 1.1em;
    line-height: 42px;
    text-decoration: none;
    cursor: pointer;
}

.item-add:hover {
    background-color: #004460;
}

.grid #items-inner {
    display: table;
    margin-right: -20px;
}

.grid .items-group-four,
.grid .items-group-three {
    display: table-row;
}

.grid .items-group-four .item,
.grid .items-group-four .item-padding,
.grid .items-group-three .item,
.grid .items-group-three .item-padding {
    display: table-cell;
    position: relative;
    padding: 20px 20px 75px 0;
    overflow: hidden;
    color: #444;
}

.grid .items-group-three .item,
.grid .items-group-three .item-padding {
    width: 33%;
}

.grid .items-group-four .item,
.grid .items-group-four .item-padding {
    width: 25%;
}

.grid .item-img {
    display: block;
}

.grid .item-img.has-image {
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

.grid .item-img.no-image {
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

.grid .item-img-src {
    display: block;
    width: 100%;
}

.grid .item-details {
    max-height: 12em;
    margin: 20px 0 0;
    overflow: hidden;
}

.grid .item-text {
    margin: 10px 0 12px;
}

.grid .item-ctrls {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    bottom: 20px;
    width: 100%;
    padding: 0 20px 0 0;
    overflow: hidden;
}

.grid .item-info {
    float: left;
}

.list .item {
    margin: 20px 0 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #d5d5d5;
}

.list .item:hover {
    background-color: #f2f2f2;
}

.list .item-img {
    width: 80px;
    height: 80px;
    float: left;
}

.list .item-img.has-image {
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

.list .item-img.no-image {
    border: 1px solid #ccc;
    background-color: #f8f8f8;
}

.list .item-img-src {
    display: block;
    max-width: 100%;
}

.list .item-details {
    position: relative;
    margin: 0 0 0 100px;
    overflow: hidden;
}

.list .item-text {
    display: block;
    width: 100%;
    padding: 10px 0;
}

.list .item-options {
    position: absolute;
    bottom: 0;
    left: 110px;
    width: 180px;
    padding: 0 0 6px;
    z-index: 999;
}

.list .item-ctrls {
    position: relative;
    width: 100%;
    overflow: hidden;
    table-layout: fixed;
}

.list .item-info {
    display: table-cell;
    width: 100%;
    height: 42px;
    overflow: hidden;
    vertical-align: middle;
}

.list .item-price {
    margin: 0 20px 0 0;
    float: right;
    font-size: 1.4em;
    font-weight: normal;
}

.list .item-add {
    display: table-cell;
    width: 1px;
    float: none !important;
    white-space: nowrap;
}

/* ##### End Catalog ##### */

/* ##### */

/* ##### */

/* ##### */

/* ##### Pagination ##### */

.pagination {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    float: left;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #555;
}

.pages {
    margin: 10px 0 !important;
    padding: 0 !important;
    float: right;
    overflow: hidden;
}

.pages li {
    display: block;
    margin: 0 0 0 10px !important;
    padding: 0;
    float: left;
    border: 1px solid #ccc;
    background-color: #fff;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}

.pages li.info {
    padding: 0 10px;
    border: none;
    background: none !important;
    cursor: auto;
}

.pages li.span {
    padding: 0;
    border: none;
    background: none !important;
    cursor: auto;
}

.pages li:hover {
    background: #eaeaea;
}

.pages li.active {
    background: #fbfbfb;
    color: #000;
    font-weight: bold;
}

.pages li a {
    display: block;
    padding: 0 10px;
    color: #444;
    line-height: 28px;
    text-decoration: none;
}

.pages li.active a {
    color: #000;
    font-weight: bold;
}

@media (max-width: 1025px) {
    #filters {
        font-size: 0.8em;
    }

    #filters .filters-label {
        margin: 0 10px;
    }
}

/**
 * Phones only
 */

@media (max-width: 767px) {
    #category-name,
    #size-label,
    #sort-label {
        display: none;
    }

    #items,
    #items #items-inner,
    #items .item,
    #search,
    #search-term,
    #settings {
        width: 100%;
    }

    #filters #settings {
        height: auto;
        overflow: hidden;
    }

    #filters #size,
    #filters #sort {
        width: 100%;
        margin: 10px 0 0;
    }

    #filters #size .tell-select,
    #filters #size-options,
    #filters #sort .tell-select,
    #filters #sort-options {
        width: 100%;
    }

    #filters #sort .tell-text:before {
        content: "Sort By ";
    }

    #filters #size .tell-text:after {
        content: " Items";
    }

    #items #items-inner {
        display: block;
        margin: 0;
    }

    #items .item {
        display: block;
        margin: 0;
        padding: 20px 0;
        border-bottom: 1px solid #ccc;
    }

    #items .item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    #items .item-details {
        max-height: none;
    }

    #items .item-info {
        margin: 15px 0;
        float: none;
        overflow: hidden;
    }

    #items .item-ctrls {
        position: relative;
        bottom: auto;
        padding: 0;
        overflow: hidden;
    }

    #items .item-price {
        float: left;
    }

    #items .item-view-link {
        float: right;
    }

    #items .item-add {
        float: none;
    }
}

/**
 * Small phones only
 */

@media (max-width: 480px) {}

/**
 * Phones, tablets
 */

@media (max-width: 1024px) {}

/**
 * Tablets only
 */

@media (min-width: 768px) and (max-width: 1024px) {}

/**
 * Tablets, desktops
 */

@media (min-width: 768px) {}

/**
 * Desktops only
 */

@media (min-width: 1025px) {}
