.hm-decorations-wrap {
    background: #b3c5c5;
    padding: 10px 0 10px 10px;
    margin-left: 10px;

    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    position: relative;
}
.hm-decorations-wrap .loading-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

@keyframes decorSpinner {
    to {
        transform: rotate(360deg);
    }
}
.hm-decorations-wrap .loading-overlay::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border-radius: 50%;
    border-top: 2px solid #fff;
    border-right: 2px solid transparent;
    animation: decorSpinner 600ms linear infinite;
}
.hm-decorations-wrap.loaded .loading-overlay {
    display: none !important;
}

.hm-decorations-filters {
    align-self: flex-start;
}

.decor-item-outer {
    padding: 10px 10px 10px 0;
    background: #dbc081;
    margin: 10px 10px 0 0;
}

.decor-item-outer h1 {
    color: #fff;
}

.decor-print {
    color: #dd962c;
    text-decoration: none;
}

.decor-item-outer table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5em;
    border-top: 2px #888 solid;
    border-bottom: 2px #888 solid;
}
.decor-item-outer th, .decor-item-outer td {
    padding: 0.5em;
}

.decor-item-outer tbody th {
    background: #e0e0e0;
    color: #333;
}

.decor-item-outer tbody th {
    border-bottom: 1px solid #fff;
    text-align: left;
}

.decor-item-outer tbody td {
    border-bottom: 1px solid #eee;
}

.decor-item-outer tbody tr:hover td {
    background: #fff8f8;
}


.ptypeinfo-item h2 {
    margin: 1em 0 0;
    border: 0;
    padding: 4px 6px;
    background: #e0e0e0;
    color: #000;
    font-size: 1.1em;
    line-height: normal;
    font-weight: bold;
    cursor: pointer;

    position: relative;
    display: block;
}

.ptypeinfo-item h2 a,
.ptypeinfo-item h2 a:hover,
.ptypeinfo-item h2 a:focus,
.ptypeinfo-item h2 a:active {
    color: #000;
    text-decoration: none;
    background: transparent;
    outline: none 0;
}

.ptypeinfo-item .detail-btn,
.ptypeinfo-item .detail-btn:hover,
.ptypeinfo-item .detail-btn:focus,
.ptypeinfo-item .detail-btn:active {
    font-size: 10px;
    position: absolute;
    right: 4px;
    top: 5px;
    color: #000;
}

.decoration-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    padding-bottom: 20px;
}

.decoration-filter-form .filter-item {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    margin: 0 0 6px 0;
}

.decoration-filter-form label {
    font-weight: bold;
    line-height: 1.5em;
}

.decoration-items {
    margin-top: 1.25em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.decoration-grid-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    width: 100%;
}

.decoration-item {
    display: none; /* pagination overwrite the style to show, hidden because it looks nicer and images are not all preloaded */
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 2px solid #fff;
}

.decoration-item::before {
    display: block;
    padding-top: 56.25%; /* 16/9 ratio */
    content: "";
}
.decoration-item:hover, .decoration-item.active {
    border-color: #f39718;
}

.decoration-item-selection-detail {
    min-width: 175px;
    width: 175px;
    margin-top: 1.25em;
}
.decoration-item-selection-detail img {
    width: 100%;
    height: auto;
}

.decor-swatch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decor-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.decor-item-outer .images a {
    position: relative;
    width: 100%;
    max-width: 250px;
    display: block;
    overflow: hidden;
}
.decor-item-outer .images a::before {
    display: block;
    padding-top: 56.25%; /* 16/9 ratio */
    content: "";
}

.easyPaginateNav {
    position: relative;
    margin: auto 0 0 33px;
    width: auto !important;
}
.easyPaginateNav a {
    display: block;
    overflow: hidden !important;
    float: left;
    width: 24px;
    height: 18px;
    padding: 0;
    background: transparent url(assets/pagination.png) no-repeat 0 0;

    color: #fff;
    text-indent: -1000px;
    text-decoration: none;
}
.easyPaginateNav a:hover, .easyPaginateNav a.current {
    color: #f39718;
    background-position: 0 -18px;
}
.easyPaginateNav a.prev, .easyPaginateNav a.next {
    display: block;
    float: left;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 3px;
    border: 0;
    background: transparent url(assets/pagination-prev-next.png) no-repeat 4px 5px;
    transition: none;

    position: absolute;
    left: -33px;
    top: 0;
}
.easyPaginateNav a.prev:hover {
    background-color: transparent;
    background-position: 5px -95px;
}
.easyPaginateNav a.next {
    background-position: -95px 5px;
    left: -16px;
    top: 0;
}
.easyPaginateNav a.next:hover {
    background-color: transparent;
    background-position: -95px -95px;
}
.easyPaginateNav a.last, .easyPaginateNav a.first {
    display: none;
}

/*
.tt-input,
.tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.tt-input {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
*/
.tt-hint {
    color: #aaa
}

.tt-dropdown-menu {
    width: 400px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #333;
    color: #000;
    border-radius: 3px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 4px;
    font-size: 16px;
    line-height: 1.5em;
    cursor: pointer;
}
.tt-suggestion:nth-child(even) {
    background: #efefef;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #921506;
}
.tt-suggestion {
    display: flex;
    align-items: center;
}
.tt-suggestion p {
    margin: 0;
    vertical-align: middle;
}
.tt-suggestion .img {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 36px;
    margin-right: 10px;
}
.tt-suggestion .img::before {
    display: block;
    padding-top: 56.25%; /* 16/9 ratio */
    content: "";
}
.tt-suggestion .img .decor-swatch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-suggestion .img .decor-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tt-suggestion span {
    padding: 3px 0;
}
.twitter-typeahead .search-fulltext {
    width: 100%;
}
