#breadcrumbs {
    margin: -5px 0 0;
}

#content {
    padding-right: 500px;
    min-height: 900px;
}

h1 {
    font-size: 21px;
    margin: 20px 0 15px;
    font-weight: 700;
    text-transform: none;
}

#creation_wrap {
    position: relative;
}

#creation_project {
    margin-top: 20px;
    z-index: 1;
    position: relative;
}

#content.pattern-nsfw #creation_project #creation_img_wrap a:not(.pattern-nsfw-cover) {
    filter: blur(50px);
    pointer-events:  none !important;
}

#content.pattern-nsfw #creation_project #creation_thumb_selector div {
    opacity: 0;
    pointer-events:  none !important;
}

#content.pattern-nsfw #pattern_download .download-group {
    pointer-events:  none !important;
}

.potd-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: 2;
    background: var(--color-secondary);
    color: #fff;
    font-size: 12px;
    border-radius: 30px;
    height: 38px;
    width: 38px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid #fff;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.25s;
}

.potd-badge i {
    font-size: 24px;
    line-height: 42px;
    padding-left: 6px;
    transition: padding-left 0.25s;
}

.potd-badge strong {
    display: none;
    padding-left: 8px;
}

.potd-badge.expanded {
    width: 200px;
}

.potd-badge.expanded i {
    padding-left: 10px;
}

.potd-badge.expanded strong {
    display: inline-block;
}

.potd-badge span {
    display: block;
    font-weight: 600;
    text-transform: none;
    font-size: 10px;
}

.pattern-nsfw-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    cursor:  pointer;
    background: var(--color-content-mid);
    box-shadow: inset 0 0 20px 10px var(--color-content);
    z-index: 1;
}

#creation_img_wrap .pattern-nsfw-cover:before {
    content: 'This pattern may contain inappropriate content';
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    line-height: 1;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-op);
    transform: translate(-50%, -50%);
}

#creation_img_wrap .pattern-nsfw-cover:after {
    content: 'View Pattern';
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    line-height: 1;
    font-weight: 600;
    font-size: 11px;
    color: var(--color-text-op);padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid var(--color-text-mid);
    background: var(--color-content-trans);
    transform: translate(-50%, -50%);
    margin-top: 40px;
    text-transform: uppercase;
}

#pattern_download .pattern-nsfw-cover, #creation_actions .pattern-nsfw-cover {
    background: transparent;
    box-shadow: none;
}

#content.pattern-nsfw #pattern_download .download-group > button:not([id*='pdf']) > .img-thumb-container {
    filter: blur(5px);
    opacity: 0.3;
}

#download_loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: var(--color-content-mid) url(/assets/images/site/dotloader.gif) center center no-repeat;
    z-index: 2;
}

#sidebar_content {
    left: auto;
    right: 30px;
    width: 440px;
    padding-left: 0;
}

#sidebar_btf_sticky_wrapper.mv-stuck {
    position: relative !important;
    top: 0 !important;
}

#creation_header {
    padding: 18px 0 30px;
    position: relative;
}

#creation_header #desc_wrapper {
    margin: 0 0 30px;
    max-height: 46px;
    overflow: hidden;
}

#creation_header #desc_wrapper p {
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    white-space: pre-line;
}

#desc_read_more {
    border: none;
    font-size: 12px;
    padding: 5px 0;
    margin-top: -25px;
    margin-bottom: 30px;
    background: transparent;
    cursor: pointer;
    text-decoration: underline;
    color: var(--color-text-op);
    display: none;
    box-shadow: none !important;
}

#desc_read_more:hover {
    text-decoration:  none;
}

#sidebar_tabs {
    padding-bottom: 30px;
}

#sidebar_tab_toggles {
    font-size: 0;
    background: var(--color-content);
    border-radius: var(--border-radius-md);
    overflow: auto;
    padding: 0;
    position: relative;
    height: 50px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    border: none;
}

#sidebar_tab_toggles .sidebar-tab {
    width: 50%;
    display: inline-block;
    vertical-align: bottom;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-text);
    height: 100%;
    padding: 18px 15px 0;
    border-bottom: 2px solid transparent;
}

#sidebar_tab_toggles .sidebar-tab:hover {
    color: var(--color-secondary);
}

#sidebar_tab_toggles .sidebar-tab.active {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.sidebar-tab-content {
    font-size: 14px;
    margin-top: 30px;
    display: none;
    overflow: auto;
    padding-bottom: 30px;
}

.sidebar-tab-content.active {
    display: block;
}

#sidebar_comments {
    padding: 5px 0 30px 5px;
}

#sidebar_comments .new-comment-form textarea {
    background: var(--color-content);
}

#pattern_tag_count {
    float: right;
    font-size: 13px;
    margin-bottom: -5px;
    margin-top: 5px;
    margin-right: 10px;
}

#pattern_tag_count em {
    font-style: normal;
}

#pattern_tag_count.limit-reached {
    color: #eb4747;
}

#pattern_info_taglist {
    margin-bottom: 15px;
}

#pattern_info_taglist .pattern-info-tag {
    font-size: 13px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 10px;
    padding: 5px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-secondary-mid);
    background: var(--color-secondary-trans);
    color: var(--color-secondary);
    font-weight: 600;
    cursor: default;
}

#pattern_info_taglist .pattern-info-tag span {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    font-size: 12px;
}

#pattern_info_taglist .pattern-info-tag span:hover {
    color: #f00;
    text-shadow: 0 0 1px #000;
}

#sidebar_comments, #sidebar_shop {
    max-height: 70vh;
}

#sidebar_details > p {
    margin: 0 0 8px 0;
}

#pattern_download {
    position: relative;
    padding: 25px 0;
    margin: 25px 0;
    border-top: 1px dashed var(--color-text-trans);
    border-bottom: 1px dashed var(--color-text-trans);
}

#pattern_download.disabled {
    pointer-events: none;
}

#pattern_download h4 {
    margin: 0 0 10px;
    color: var(--color-text);
    text-transform: uppercase;
}

#pattern_download h4 i {
    font-size: 19px;
    display: inline-block;
    vertical-align: middle;
    padding-right: 10px;
}

#pattern_download .download-group {
    margin-bottom: 10px;
    position: relative;
}

#pattern_download .download-group .group-expander {
    position: absolute;
    top: 0;
    right: 1%;
    z-index: 1;
    height: 100%;
    padding: 25px 8px 0;
    text-align: center;
    border-left: 1px solid var(--color-primary-mid);
    cursor: pointer;
    font-size: 18px;
    color: var(--color-text);
    display: block;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(60deg, var(--color-primary-trans), transparent 60%);
}

#pattern_download .download-group.expanded .group-expander {
    height: 49%;
    background: var(--color-primary-trans);
    color: var(--color-primary);
}

#pattern_download .download-group.expanded .group-expander.has-four {
    height: 24%;
}

#pattern_download .download-group.expanded .group-expander > i:not(.kp-options) {
    transform: rotate(180deg);
    margin-top: -2px;
}

#pattern_download .download-group .group-expander > i {
    display: block;
    line-height: 0;
    transition: 0.15s linear;
}

#pattern_download .download-group .group-expander:hover {
    background: var(--color-primary-trans);
    color: var(--color-primary);
    opacity: 0.8;
}

#pattern_download .download-group > button {
    width: 98%;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    margin-bottom: 2px;
    margin-left: 1%;
    padding: 10px;
    text-align: left;
    display: block;
    background: var(--color-content);
    border-color: var(--color-primary-mid);
    color: var(--color-primary);
    box-shadow: 0 0 7px var(--color-primary-trans);
    border-radius: var(--border-radius-md);
}

#pattern_download .download-group > button:hover {
    opacity: 0.8;
}

#pattern_download .download-group > button.nosubhead {
    line-height: 40px;
}

#pattern_download .download-group > button.child-btn {
    width: 94%;
    margin-left: 5%;
    display: none;
}

#pattern_download .download-group.expanded > button.child-btn {
    display: block;
}

#pattern_download .download-group > button > .img-thumb-container {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    float: left;
    position: relative;
    background-size: contain !important;
}

#pattern_download .download-group > button > .img-thumb-container > i {
    font-size: 32px;
    color: #e92c2c;
    padding: 4px;
    display: block;
    margin-top: 0;
}

#pattern_download .download-group > button > .img-thumb-container > i.kp-sparkles, #creation_thumb_selector .thumb-selection:not(#creation_thumb_three) i {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: -48px;
    margin-left: -4px;
    color: #f9ff00;
    text-shadow: 0 0 3px #000;
    font-size: 18px;
    line-height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
}

#creation_thumb_selector .thumb-selection:not(#creation_thumb_three) i {
    font-size: 24px;
    margin-top: -52px;
    margin-left: -2px;
}

#pattern_download .download-group > button.disabled {
    opacity: 0.8;
    pointer-events: none;
}

#pattern_download .download-group > button > strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    padding-top: 5px;
    color: var(--color-text);
}

#pattern_download .download-group > button.needs-pro {
    cursor: default;
    border-color: var(--color-neutral);
    color: var(--color-text);
    opacity: 0.8;
    font-size: 14px;
}

#pattern_download .download-group > button.needs-pro:after {
    content: "\4e";
    font-family: 'Kandi-Pad';
    position: absolute;
    top: 1px;
    right: 3px;
    color: #ffca00;
    font-weight: 400;
    font-size: 19px;
}

#wm_download {
    float: right;
    font-size: 13px;
    color: var(--color-text-mid);
}

#wm_download > input {
    margin-right: 5px;
}

#pattern_links {
    padding-left: 3px;
}

#pattern_links > strong {
    display: block;
    color: var(--color-text);
    padding-bottom: 5px;
}

#pattern_links > a {
    display: inline-block;
    color: var(--color-primary);
    padding: 2px 0;
    text-decoration: none;
    line-height: 24px;
    font-weight: 500;
}

#pattern_links > a:hover {
    text-decoration: underline;
}

#pattern_links > a > i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 9px;
    font-size: 16px;
}

#products_wrapper {
    min-height: unset;
    padding: 0;
    margin: 0;
}

#products_wrapper > .product-block {
    width: 46%;
    margin: 5px 1%;
    padding-top: 20px;
    min-height: 310px;
}

#products_wrapper > .product-block .product-options > button.add-to-cart {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 60px;
}

#products_wrapper > .product-block .product-options > .product_quantity {
    margin-top: -90px;
    width: 100%;
}

#products_wrapper>.product-block .product-title {
    height: auto;
    padding-bottom: 5px;
    font-size: 14px;
}

#products_wrapper>.product-block .product-title > em {
    font-size: 13px;
}

#products_wrapper>.product-block .product-price {
    padding-top: 0;
    border-top: none;
}

#products_wrapper > .product-block {
    width: 46%;
}

#products_wrapper > .product-block>.product-image {
    height: 100px;
}

#creation_img_wrap {
    max-height: 630px;
    min-height: 400px;
    height: 65vh;
    text-align: center;
    overflow: hidden;
    background: var(--color-content);
    border: 1px solid var(--color-neutral-trans);
    border-bottom: none;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 15px;
    position: relative;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    background-position: center center;
    background-repeat: no-repeat;
}

#creation_img_wrap.image-loading:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/assets/images/site/dotloader.gif) center center no-repeat;
    content: '';
    opacity: 1;
}

#creation_img_wrap:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
}

#creation_img_wrap > img.creation-thumb {
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    max-width: 100%;
    pointer-events: none !important;
}

#creation_three_wrap, #creation_three_viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#creation_three_wrap:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -6px;
    margin-left: -60px;
    height: 12px;
    width: 120px;
    border-radius: var(--border-radius-lg);
    background-image: linear-gradient(-45deg, var(--color-primary) 25%, rgba(255, 154, 26, 0) 25%, rgba(255, 154, 26, 0) 50%, var(--color-primary) 50%, var(--color-primary) 75%, rgba(255, 154, 26, 0) 75%);
    background-color: #e2f1f0;
    background-size: 40px 40px;
    border: 1px solid #b9dfdc;
    animation: load 2s linear infinite;
}

#creation_img_wrap > a {
    position: absolute;
    pointer-events: all !important;
    display: block;
    padding: 15px 15px 30px;
    text-align: center;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
}

#creation_img_wrap > a.hiding {
    display: none;
}

#creation_img_wrap > a > img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#creation_img_wrap > a + i {
    position: absolute;
    font-size: 100px;
    pointer-events: none;
    color: #fff;
    text-shadow: 0 0 10px #000;
    opacity: 0;
    transition: opacity 0.1s linear;
    line-height: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#creation_img_wrap > a + i:after {
    content: 'Click to download';
    font-size: 16px;
    display: block;
    text-shadow: 0 0 5px #000;
}

#creation_thumb_selector {
    border: 1px solid var(--color-neutral-trans);
    border-top: none;
    text-align: center;
    background: var(--color-content);
    padding: 10px 15px;
    position: relative;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    margin-bottom: 25px;
    font-size: 0;
}

#creation_thumb_selector .thumb-selection {
    width: 60px;
    height: 60px;
    background-size: contain !important;
    margin: 0 12px;
    cursor: pointer;
    position: relative;
    border: 4px solid var(--color-content);
    border-radius: var(--border-radius-md);
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.25s linear;
    text-align: center;
}

#creation_thumb_selector .thumb-selection.ready {
    opacity: 1;
}

#creation_thumb_selector .thumb-selection:not(.selected):hover {
    box-shadow: 0 0 3px var(--color-secondary);
}

#creation_thumb_selector .thumb-selection.ready.selected {
    cursor: default;
    box-shadow: 0 0 5px var(--color-secondary);
}

#creation_thumb_selector .thumb-selection#creation_thumb_three i {
    font-size: 40px;
    color: rgba(150, 150, 150, 1);
    display: block;
    line-height: 0;
    padding-top: 15px;
}

#creation_thumb_selector .thumb-selection#creation_thumb_three img {
    max-width: 30px;
    max-height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.2));
}

#creation_wrap .remixed-icon {
    font-size: 12px;
    position: absolute;
    bottom: 5px;
    right: 15px;
    color: var(--color-text-op);
    cursor: pointer;
}

#creation_wrap .remixed-icon i {
    display: inline-block;
    vertical-align: middle;
    padding-right: 5px;
}

#creation_wrap .remixed-icon:hover, #creation_wrap .remixed-icon.active {
    color: var(--color-secondary);
}

#creation_wrap .secondary-pattern-card {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 35px;
}

.beadkit-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    padding: 8px 5px;
    width: 115px;
    line-height: 1.2;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.7);
}

.beadkit-btn:hover {
    border-color: var(--color-secondary);
    background: var(--color-content);
    opacity: 0.9;
}

.beadkit-btn.qc-minus {
    width: 140px;
}

.beadkit-btn > i {
    font-size: 18px;
    float: left;
    padding: 5px 20px 0 5px;
    color: var(--color-secondary);
    line-height: 1;
}

.beadkit-btn:after {
    content: '\63';
    font-family: 'kandi-pad';
    position: absolute;
    bottom: 17px;
    left: 21px;
    font-size: 18px;
    color: var(--color-secondary);
    font-weight: 400;
}

.beadkit-btn.qc-minus:after {
    content: '\77';
    left: 24px;
    bottom: 19px;
    font-size: 14px;
}

#creation_wrap p {
    margin: 10px 0;
    color: var(--color-text);
    font-size: 14px;
}

#creation_wrap a {
    color: var(--color-primary);
}

#creation_wrap a:hover {
    color: #1fa598;
}

#colors {
    padding-bottom: 30px;
    padding-top: 15px;
    position: relative;
    z-index: 1;
}

#colors .tags {
    margin: -25px 0 0;
    font-size: 0;
}

#colors .tags > strong {
    font-size: 14px;
    color: var(--color-text);
}

#colors .tags > a {
    text-decoration: none;
    display: inline-block;
    color: var(--color-secondary) !important;
    margin: 0 2px;
    padding: 1px 6px;
    font-size: 13px;
    background: var(--color-content-mid);
    border-radius: var(--border-radius-xl);
}

#colors .tags:not(.show-all) > a:nth-child(n+7):not(#view_more_tags) {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

#colors .tags > a:hover {
    text-decoration: underline;
    background: var(--color-content);
}

#modal_color_reference #customize_btn {
    float: right;
    margin-bottom: 15px;
    font-size: 14px;
    padding: 10px 15px 8px;
    margin-right: 10px;
}

#modal_color_reference #customize_btn i {
    display: inline-block;
    vertical-align: middle;
    font-size: 21px;
    line-height: 1;
    padding-right: 15px;
}

#color_reference_table {
    width: 100%;
    text-align: center;
}

#color_reference_table .info-bead-color {
    box-shadow: none;
    width: auto;
    height: auto;
    display: block;
    border-radius: 0;
    margin: 0;
    padding: 5px;
}

#color_reference_table .info-bead-color span.bead-count {
    font-size: 16px;
    position: relative;
    line-height: 0;
    left: 0;
    z-index: 2;
}

#color_reference_table tr.primary-color {
    cursor: default;
}

#color_reference_table tr.primary-color.similar-open {
    text-shadow: 0 0 1px var(--color-text-mid);
}

#color_reference_table td, #color_reference_table th {
    padding: 10px;
}

#color_reference_table td {
    font-size: 14px;
}

#color_reference_table tr:hover td {
    text-shadow: 0 0 1px var(--color-text-mid);
}

#color_reference_table tr td:nth-child(2), #color_reference_table tr th:nth-child(2) {
    text-align: left;
    padding-left: 30px;
}

#color_reference_table .alternate-color {
    display: none;
}

#color_reference_table .alternate-color td {
    padding: 0;
    background: var(--color-neutral-trans);
}

#color_reference_table .alternate-color td:first-child {
    background: transparent;
}

#color_reference_table .alternate-color td:first-child span {
    display: block;
    height: 40px;
    margin-left: 30px;
}

#color_reference_table .alternate-color td:first-child em {
    float: left;
    color: rgba(150, 150, 150, 0.8);
    font-weight: 900;
    font-size: 10px;
    font-style: normal;
    line-height: 40px;
}

#color_reference_table .alternate-color-info {
    font-size: 13px;
}

#creation_colors {
    text-align: center;
    display: block;
    max-width: unset;
    margin-bottom: 0;
    margin-top: 30px;
}

#kandi_info_color {
    overflow: auto;
    white-space: nowrap;
    position: relative;
    min-height: 75px;
}

#kandi_info_color.pony {
    min-height: 60px;
}

#bead_brands_used {
    font-size: 14px;
    padding-top: 15px;
}

#bead_brands_used > p {
    margin: 0 0 5px;
}

#bead_brands_used > a {
    text-decoration: none;
    color: var(--color-primary);
    display: inline-block;
    padding: 3px 10px;
    margin: 5px 0 -5px;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-lg);
    background: var(--color-content-mid);
}

#bead_brands_used > a:hover {
    background: var(--color-primary);
    color: var(--color-content);
}

#bead_brands_used > a > i {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

#convert_options {
    text-align: center;
}

#convert_src_img {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    min-height: 100px;
    display: block;
    margin: 0 auto 15px;
}

#convert_options > label {
    font-weight: 700;
    display: inline-block;
    font-size: 16px;
    color: var(--color-text);
    text-align: center;
    line-height: 1;
    cursor: default;
}

#convert_options > label:hover {
    color: var(--color-text-mid);
}

#convert_options > label > i {
    display: inline-block;
    vertical-align: middle;
    padding: 0 5px;
    margin-top: -2px;
}

#convert_options > label > i#whats_this_algorithm {
    color: var(--color-text-mid);
    padding: 0 2px;
    margin-top: -5px;
    cursor: pointer;
}

#algo_info {
    font-size: 13px;
    max-width: 435px;
    margin: -5px auto 0;
    padding: 0 0 20px;
    display: none;
}

#convert_options > label.open > i {
    transform: rotate(180deg);
    margin-top: -5px;
    margin-bottom: 3px;
}

#convert_options > button {
    width: 100%;
    display: block;
    padding: 20px;
    margin: 30px 0 0;
}

#convert_method {
    display: block;
    width: 300px;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    margin: 0 auto 10px;
}

#convert_palettes {
    display: none;
    text-align: left;
}

#convert_palettes .insta-palette {
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

#convert_palettes .insta-palette .insta-palette-title span {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
}

#convert_palettes .insta-palette .insta-palette-title em {
    float: right;
    font-size: 12px;
    color: var(--color-text-mid);
    padding-top: 2px;
    text-shadow: none;
}

#convert_palettes .insta-palette .insta-palette-title:after {
    content: '\e804';
    font-family: 'kandi-pad';
    position: absolute;
    right: 8px;
    top: 12px;
    color: var(--color-text-mid);
}

#convert_palettes .insta-palette .insta-palette-title {
    position: relative;
    padding: 10px 40px 10px 5px;
    cursor: pointer;
}

body:not(.ismobile) #convert_palettes .insta-palette .insta-palette-title:hover {
    color: var(--color-primary);
    text-shadow: 0 0 1px var(--color-primary);
}

body:not(.ismobile) #convert_palettes .insta-palette .insta-palette-title span:hover {
    border-color: var(--color-primary);
}

#convert_palettes .insta-palette.selected .insta-palette-title span, #convert_palettes .insta-palette.partial .insta-palette-title span {
    border-color: var(--color-primary);
    background: #f0fdfd;
    color: var(--color-primary);
}

body:not(.ismobile) #convert_palettes .insta-palette .insta-palette-title span:hover:after, #convert_palettes .insta-palette.selected .insta-palette-title span:after {
    content: '\e8b6';
    font-family: 'kandi-pad';
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--color-primary);
}

#convert_palettes .insta-palette.selected .insta-palette-title span:after {
    opacity: 1;
}

#convert_palettes .insta-palette .insta-palette-colors {
    list-style: none;
    margin: 0;
    padding: 5px 2px 15px;
    font-size: 12px;
}

#convert_palettes .insta-palette .insta-palette-colors li {
    display: inline-block;
    vertical-align: middle;
    width: 33%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 15px;
    cursor: pointer;
    position: relative;
}

#convert_palettes .insta-palette .insta-palette-colors li:before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1px solid rgba(150, 150, 150, 0.5);
}

#convert_palettes .insta-palette .insta-palette-colors li.selected:before {
    border-color: rgba(150, 150, 150, 0.8);
}

#convert_palettes .insta-palette .insta-palette-colors li.selected:after {
    position: absolute;
    top: 12px;
    left: 3px;
    content: '\e8b6';
    font-family: 'kandi-pad';
    color: rgba(150, 150, 150, 0.8);
    line-height: 1;
    font-size: 9px;
}

#convert_palettes .insta-palette .insta-palette-colors li span {
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 5px;
}

#convert_palettes .insta-palette .insta-palette-colors li.selected {
    text-shadow: 0 0 1px #ccc;
}

body:not(.ismobile) #convert_palettes .insta-palette .insta-palette-colors li:hover {
    opacity: 0.7;
}

.build-guide-btn {
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-primary);
    padding: 20px 0 16px;
    display: inline-block;
    background: var(--color-content);
    width: 47%;
    max-width: 300px;
    min-width: 200px;
    border-radius: var(--border-radius-xl);
    margin: 20px 1% 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.build-guide-btn > i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 16px;
}

.build-guide-btn:hover {
    border-color: var(--color-primary) !important;
    opacity: 0.9;
}

#title_credits > a {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

#title_credits img {
    border-radius: 50%;
    background: var(--color-content);
}

#title_credits > h1 {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0 !important;
    font-size: 14px;
    width: 80%;
}

#title_credits > h1 {
    display: block;
    font-size: 1.5rem;
}

#title_credits > p {
    color: var(--color-text-op);
    padding: 0 5px;
}

#user_and_date {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 235px;
}

#user_and_date > span {
    display: block;
    font-size: 13px;
    color: var(--color-text-op);
}

#user_and_date > a {
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary);
}

#user_and_date > a:hover {
    text-decoration: underline;
}

#user_and_date > a > i {
    display: inline-block;
    vertical-align: baseline;
    margin-right: 5px;
}

#follow_btn {
    font-size: 13px;
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

#follow_btn .follow-text {
    padding: 17px 15px 14px;
    margin-left: 0;
    width: auto;
}

#creation_header .project-menu {
    float: right;
    margin-top: 15px;
}

#creation_actions {
    position: relative;
}

#creation_actions > button {
    margin-right: 5px;
}

#creation_actions button.creation-like:hover, #creation_actions button.creation-like.liked {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

#creation_actions button {
    box-shadow: none !important;
}

#creation_actions button.creation-like.liked {
    cursor: default;
}

#creation_header .stats {
    margin: 20px 0 -10px;
    line-height: 1;
}

#creation_header .stats span {
    color: var(--color-text-op);
    font-size: 14px;
    cursor: default;
    padding: 5px 10px 0;
    line-height: 0;
}

#creation_header .stats span i {
    padding-right: 5px;
    font-size: 1.125rem;
    display: inline-block;
    vertical-align: middle;
}

#creation_liked_by, #creation_collected_by, #creation_remixed_by {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    padding: 8px 8px 5px 0;
    color: var(--color-text-op);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    margin: -5px 0;
}

#creation_collected_by, #creation_remixed_by {
    padding: 5px;
}


#creation_liked_by:hover, #creation_collected_by:hover, #creation_remixed_by:hover {
    background: var(--color-content);
    color: var(--color-text);
}

#creation_liked_by img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--color-neutral-mid);
    margin-left: -14px;
    margin-top: -3px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: var(--color-content);
}

#creation_liked_by > span {
    padding-right: 20px !important;
    cursor: pointer !important;
}

#creation_collected_by > span, #creation_remixed_by > span {
    cursor: pointer !important;
    padding: 0 5px !important;
}

/* Related Projects */

.related-patterns.loading {
    height: 507px;
    overflow: hidden;
}

.related-patterns {
    padding-top: 30px;
    text-align: center;
}

.related-patterns > strong {
    display: block;
    color: var(--color-text);
    padding-bottom: 15px;
}

.related-mobile-wrap > div {
    margin: 0 auto;
    width: auto;
}

#pattern_pdf {
    overflow: hidden;
    opacity: 0;
    height: 0;
    color: #000 !important;
}

#descriptors {
    margin-top: 30px;
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
}

#descriptors > a {
    display: inline-block;
    padding: 6px 10px;
    margin: 0 5px 10px;
    color: var(--color-content);
    background: var(--color-secondary);
    border-radius: var(--border-radius-xl);
    text-decoration: none;
}

#descriptors > a:hover {
    opacity: 0.8;
}

.mobile, .tablet {
    display: none !important;
}

@media (max-width: 1170px) {
    #creation_img_wrap {
        height: 55vh;
    }
}

@media (max-width: 1018px) {
    .desktop {
        display: none !important;
    }
    
    .tablet {
        display: block !important;
    }
    
    h1 {
        margin-bottom: 15px;
    }
    
    #content {
        padding: 15px !important;
    }

    #creation_header {
        padding: 0 0 15px;
    }

    #creation_header #desc_wrapper {
        margin-top: 15px;
        padding-right: 300px;
    }

    #creation_header .project-menu {
        margin-top: 65px;
        border: 1px solid var(--color-text-trans);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        text-align: center;
        background: var(--color-content-light);
    }
    
    #colors {
        text-align: center;
        margin-top: -25px;
    }
    
    #creation_colors {
        margin-top: 0;
        padding-top: 15px;
    }
    
    #colors .tags {
        position: relative;
        top: auto;
        width: 100%;
        max-width: unset;
        margin: 0 0 5px;
    }
    
    .build-guide-btn {
        border-color: var(--color-neutral-trans);
    }
    
    #sidebar_content {
        position: relative !important;
        top: 10px !important;
        left: 0;
        right: auto;
        width: 100%;
        padding: 0;
    }
    
    #sidebar_content .sidebar-inner {
        padding-bottom: 0;
    }
    
    #sidebar_tabs {
        margin-top: 15px;
        padding-bottom: 0;
    }
    
    #kandi_info_color {
        border-radius: 100px;
    }

    #follow_btn {
        float: none;
        position: relative;
        display: inline-block;
    }

    #creation_actions {
        position: absolute;
        top: 0;
        right: 0;
    }

    #creation_header .stats {
        position: absolute;
        top: 45px;
        right: 45px;
    }

    #creation_actions > button {
        margin: 0 -1px;
        float: left;
        border-radius: 0;
        height: 46px;
    }

    #creation_actions > button:first-child {
        border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl);
        margin-left: 0;
        z-index: 1;
    }

    #creation_actions > button:last-child {
        border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
        margin-right: 0;
    }
    
    #sidebar_tab_toggles {
        border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    }
    
    .sidebar-tab-content {
        padding: 30px 15px !important;
        margin: 0;
        background: var(--color-content-mid);
        border: 1px solid var(--color-text-trans);
        border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    }

    #sidebar_comments .new-comment-form textarea {
        border: 1px solid var(--color-text-trans);
    }
}

@media (max-width: 900px) {
    .desktop {
        display: none !important;
    }
    
    .tablet {
        display: none !important;
    }
    
    .mobile {
        display: block !important;
    }
    
    #sidebar_content {
        top: 10px !important;
        padding: 0 !important;
        margin-top: 10px;
    }
    
    #follow_btn .follow-text {
        width: auto !important;
    }
    
    #breadcrumbs {
        margin-left: 0;
    }
}

@media (min-width: 767px) {
    #creation_img_wrap > a:hover + i {
        opacity: 0.6;
    }
}

@media (max-width: 676px) {
    #creation_img_wrap {
        height: 50vh;
    }

    #sidebar_tab_toggles .sidebar-tab {
        white-space: nowrap;
    }
    
    #products_wrapper > .product-block {
        width: 46%;
    }
    
    #creation_actions {
        position: absolute;
        left: 0;
        width: 100%;
        font-size: 0;
        text-align: center;
    }
    
    #creation_actions > button {
        float: none;
        width: 33.333%;
    }

    #creation_header .project-menu {
        margin-top: 15px;
    }

    #follow_btn {
        position: relative;
        float: right;
        position: relative;
        float: right;
        margin-right: 40px;
        margin-top: -45px;
    }

    #creation_header {
        padding-top: 110px;
    }

    #creation_header .stats {
        right: auto;
        left: 0;
    }

    #creation_liked_by {
        margin-top: -5px;
    }

    #creation_header #desc_wrapper {
        padding-right: 0;
    }
    
    #user_and_date {
        width: 48%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media (max-width: 470px) {
    #creation_thumb_selector {
        text-align: left;
        padding-left: 0;
    }

    #user_and_date {
        width: 70%;
    }

    #follow_btn {
        float: none;
        margin-top: 5px;
    }
}

@media (max-width: 400px) {
    #pattern_download .download-group > button > span {
        display: block;
    }

    #pattern_download .download-group.expanded .group-expander.has-four {
        height: 29%;
    }

    #pattern_download .download-group .group-expander.has-four {
        padding-top: 30px;
    }
    
    #products_wrapper > .product-block {
        width: 98%;
    }
}