/* 
Theme Name: Far Flung Threads
Theme URL: https://farflungthreads.co.uk
Description: Theme for Far Flung Threads
Theme Author: Shweta O'Shea
Author URL: https://farflungthreads.co.uk
Template: twentyseventeen
Version: 1.0.0 
Text Domain: farflung
*/

@import url("../twentyseventeen/style.css");

@font-face {
  font-family: peace-amsterdam;
  src: url(assets/fonts/amsterdam.ttf);
}

.site-header {
    height:85px;
}

.custom-header {
    position: fixed;
    z-index: 2000;
}

.site-branding {
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0 !important;
}

.site-title {
    font-family: peace-amsterdam;
    text-transform: none;
    font-weight: normal;
    font-size: 23px;
    margin-bottom: 0px;
    margin-top: 17px;
}

.site-title a {
    color: #6b4723;
}

.site-description {
    font-size: 0.98rem;
    color: #84943c;
    visibility:hidden;
}

.custom-logo-link {
    padding-right: 1em;
    /*padding-top: 0.2em;*/
    margin-top:-8px;
}

.custom-logo-link img {
    max-height:100px;
    /*filter: invert(57%) sepia(8%) saturate(2953%) hue-rotate(30deg) brightness(95%) contrast(82%);*/
}

.navigation-top {
    bottom: auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #a56e35;
    border-top: none;
    padding-top:5px;
    padding-bottom: 0px;
    height:85px;
}
        
.admin-bar .navigation-top {
    top: 32px;
}

.navigation-top .current_page_item > a {
    color: #a0aa6b;
}
.navigation-top a {
    color: #84943c;
}

#top-menu {
    text-align:right;
}
        
.background-fixed .panel-image {
    background-attachment: scroll;
}

.panel-image {
    height: 60px;
    margin-top: calc( var(--wp-admin--admin-bar--height, 32px) + 10px );
    visibility: hidden;
}

.wrap {
    max-width: none !important;
    margin: 0;
}

.panel-content .wrap .entry-header {
    /*margin-bottom: 0;
    position: relative;
    top: -220px;
    background-color: #a56e35;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;*/
    height:0;
    visibility:hidden;
    margin-bottom:0px;
}

.post .entry-header h1 {
    display:none;
}

.entry-header {
    margin-bottom: 0; /* was 1em */
}

.panel-content .wrap {
    padding-top: 0;
    padding-bottom: 0;
}

/*.wrap .page-header {
    margin-bottom: 0;
    position: relative;
    top: -220px;
    background-color: #a56e35;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
}*/

.wp-block-quote {
    background-color: #dee6aa;
    padding: 10px !important;
    border-radius: 20px;
}

.spotlight-product-box {
    width:380px;
    height:380px;
    background-size:cover;
}

.spotlight-product-link {
    box-shadow:none !important;
    width:fit-content;
}

.spotlight-see-more {
    text-align:right;
}

.spotlight-title {
    padding-top:0;
    text-transform:capitalize;
}

.spotlight-floating-text-base {
    background-color:#FFFFFF;
    width:fit-content;
    height:fit-content;
    padding:5px;
    border-radius:5px;
    position:relative;
}

.spotlight-item-price {
    left:300px;
    top:330px;
    font-size:0.8em;
}

.spotlight-item-sold {
    background-color:indianred;
}

.spotlight-item-description {
    left:5px;
    top:230px;
    font-size:0.7em;
    max-width:250px;
}

.spotlight-story-title {
    left:5px;
    top:5px;
    font-size:0.8em;
    max-width:300px;
}

.spotlight-story-description {
    left:5px;
    top:200px;
    font-size:0.7em;
    max-width:250px;
}

.farflung-products-basket-nudge {
    background-color: #dee6aa;
    display: block;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 1em;
    width:fit-content;
    margin-left:5%;
}

.farflung-products-basket-nudge-products {
    display: inline-block;
}

.farflung-products-basket-nudge-link {
    text-align: right;
    display: inline-block;
    margin-top: 15px;
    margin-right: 10px;
    margin-left:10px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 25px;
    background-image: url(assets/images/basket-icon.png);
}

.farflung-products-basket-nudge-product {
    background-color: #fff;
    padding: 5px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 5px;
}

.wpsc_cart_title {
    padding-top:0;
}

.wpsc_coupon_section input {
    display:inline;
}

.wpsc_coupon_section form {
    height:2em;
}

.wpsc_coupon_section input {
    height:inherit;
}

.wpsc_apply_coupon {
    padding-top:0.7em !important;
    padding-bottom:0.7em !important;
}

.wp-shopping-cart-tnc-container p {
    margin-bottom:10px;
}

.wp-shopping-cart-tnc-container br {
    display:none;
}

.wp-shopping-cart-tnc-error {
    color:#000 !important;
    font-weight: 600;
    font-size: smaller;
    background-color: indianred;
    padding: 5px;
    border-radius: 10px;
}

.wp-shopping-cart-tnc-error:empty {
    background:none;
    display:none;
}

.wp-shopping-cart-tnc-container label {
    pointer-events:none;
}

.wp_shopping_cart_tnc_input {
    pointer-events:all;
}

.wp-block-heading {
    padding: 0.5em 0 0.5em 0;
}

.single-featured-image-header {
    display: none;
}

.panel-image-prop {
    display: none;
}

.edit-link {
    display: none !important;
}

.entry-header .entry-title {
    margin-bottom: 0;
    color: #000 !important;
    text-transform: none !important;
}

.page .panel-content .entry-title {
    font-size: 1em;
}

.site-content-contain {
    margin-top:20px;
}

.comment-body {
    margin-left:0px;
}

.entry-meta {
    padding-bottom:1em;
}

.page-title {
    margin-bottom: 0;
    /*color: #000 !important;*/
    text-transform: none !important;
    /*font-size: 1em;*/

    font-size: 2rem;
    font-weight: 300;
    color: #333 !important;
    letter-spacing: normal;
}

.post-thumbnail {
    display: none;
}

.quotation {
    margin-bottom: 0;
    position: absolute;
    top: 220px;
    background-color: #dee6aa;
    width: 500px;
    padding: 10px;
    border-radius: 10px;
    right: 50px;
    z-index: 1;
}

@media only screen and (max-width: 800px) {
    .quotation {
        display: none;
    }
}

.widget {
    padding-bottom: 1em;
}

.wp-block-heading {
    margin: 0;
}

.wp-block-latest-comments {
    margin: 0;
}

.wp-block-latest-comments__comment {
    margin: 0;
}

.site-footer .wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.site-footer {
    border-top: 1px solid #a56e35;
}

.comment {
    background-color: #eee;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 1em;
}

.bypostauthor {
    background-color: #dee6aa;
}

.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
    border: 0;
}

.comment-meta {
    margin-left: 65px;
}

.comment-body {
    margin-bottom: 0;
}

.reply {
    margin-left: 30px;
}

.has-sidebar:not(.error404) #primary {
    width: 72%;
}

.has-sidebar #secondary {
    width: 25%;
}

.wp-block-search__label {
    display: none;
}

button, input[type="button"], input[type="submit"] {
    border-radius: 5px;
    background-color: #84943c;
}

.wp-block-latest-comments__comment-author, .wp-block-latest-comments__comment-link {
    font-weight: normal !important;
    border-bottom: 1px #000 solid;
}

b {
    font-weight: normal;
}

.comment-metadata a {
    text-decoration: underline;
}

.entry-footer {
    display: none;
}

#comments {
    margin-top: 3em;
    padding-top: 1em;
    border-top: 1px #a56e35 solid;
}

.comments-title {
    margin-bottom: 1em;
}

.widget ul li, .widget ol li {
    border-bottom: 1px solid #dee6aa;
    border-top: 1px solid #dee6aa;
}

.wp-block-tag-cloud a {
    border: none !important;
    display: inline !important;
    font-size: 10pt !important;
}

.tnp-subscription {
    margin: 0 !important;
}

.tnp-subscription input.tnp-submit {
    background-color: #84943c !important;
}

.tnp-profile input.tnp-submit {
    background-color: #84943c !important;
}

.tnp-unsubscribe button.tnp-submit {
    background-color: #fd5454 !important;
}

.tnp-reactivate button.tnp-submit {
    background-color: #84943c !important;
}

.offerings-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-gap: 10px;
}

.far-flung-products-list {
}

.far-flung-products-filters {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    float:left;
    margin-right: 30px;
    width:inherit;
}

.far-flung-products-filter {
    padding: 5px;
    background-color: beige;
    border-radius: 10px;
    text-align:center;
}

.far-flung-products-filter-header {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
}

.far-flung-products-filter-label {
    display:inline;
}

.far-flung-products-filter-list {
    text-align:left;
}

.far-flung-products-sort-drop {
    line-height: 1;
    font-size: 0.9rem;
    border-radius: 10px;
}

.far-flung-products-filter-drop {
    display:none;
}

.far-flung-products-filter-list {
    display:revert;
}

.far-flung-products-list-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}

.far-flung-products-list-item {
    box-shadow: none !important;
}

.far-flung-products-list-item-image {
    border-radius: 10px;
    aspect-ratio: 1/1;
    /*height: 80%;*/
    background-repeat: no-repeat;
    background-size: cover;
    width:100%;
    border: #f9f7f7 solid 1px;
}

.far-flung-products-list-item-text {
    padding:5px;
}

.far-flung-products-list-item-text-name {
    float:left;
    padding:2px;
    font-size: 0.8em !important;
    width: 70%;
}

.far-flung-products-list-item-text-price {
    float: right;
    background-color: beige;
    border-radius: 10px;
    padding: 2px;
    font-size:0.8em;
}

.far-flung-products-list-item-text-sold {
    background-color: indianred;
}

.far-flung-products-hot-link-mobile {
    display:none;
}

.far-flung-products-gallery {
    width:50%;
    float:left;
    margin-right:20px;
    margin-bottom: 10px;
}

.far-flung-products-description-panel h1 {
    clear:none;
}

.far-flung-products-description-panel h6 {
    clear:none;
    padding-top:0;
}

.far-flung-products-price-on-product {
    background-color: beige;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    width: fit-content;
}

.far-flung-products-story-on-product {
    float:left;
    margin-right:10px;
    .spotlight-product-box {
        width: 150px;
        height: 150px; 
    }
}

.far-flung-products-small-story-text {
    font-size:85%;
}

.far-flung-products-gallery-main-image img {
    width:fit-content;
    aspect-ratio:1/1;
    object-fit: cover;
}

.far-flung-products-gallery-small-image {
    width:100px;
    cursor:pointer;
    aspect-ratio:1/1;
    margin-right:5px;
    object-fit: cover;
}

.far-flung-products-gallery-selected-image {
    border:indianred 2px solid;
}


@media only screen and (max-width: 800px) {
    .main-navigation {
        height: 70px;
    }
    .menu-menu-container {
        width: 150px;
        position: absolute;
        right: 1px;
        top: 80px;
    }
    .menu-toggle {
        position: absolute;
        right: 5px;
        font-weight: 100;
        font-size: 1.2rem;
        color: #6b4723;
        padding:0.5em;
        margin-top:15px;
    }
    button.menu-toggle:hover {
	background: #84943c;
    }
    button.menu-toggle:focus {
	display: none;
    }
    .site-title {
        font-size: 17px;
        margin-top: 0;
    }
    .site-description {
        font-size: 0.62rem;
    }
    .custom-logo-link {
        margin-left: -1.6em;
        padding-right: 0em;
        margin-top:-5px;
    }
    .custom-logo-link img {
        max-height:90px;
    }
    .site-branding-text {
        display: block !important;
        position: absolute;
        left: 100px;
        top: 35px;
        width: 300px;
        max-width: none !important;
    }
    .wrap .entry-header .entry-title {
        /*font-size: 0.8em !important;*/
    }
    .panel-image {
        height: 80px;
    }
    .entry-header {
        /*top: -120px !important;*/
        margin-bottom: 1em !important;
    }
    /*.wrap .page-header {
        margin-bottom: 0;
        position: relative;
        top: -120px;
        background-color: #a56e35;
        width: fit-content;
        padding: 10px;
        border-radius: 10px;
    }*/
    .page-header .page-title {
        /*font-size: 0.8em !important;*/
    }
    .page .entry-header .entry-title a {
        font-size: 1.625rem !important;
    }
    article > header > h2 {
        margin-bottom:30px !important;
    }
    .error-404 .entry-header .page-title {
        font-size: 0.8em !important;
    }
    .search-form {
        margin-bottom:20px;
    }
    .post .entry-header .entry-title {
        margin-top:5px;
        margin-bottom:30px;
        font-size: 1.625rem !important;
        /* some changes here */
    }
    .post .entry-header h1 {
        padding-bottom:20px;
    }
    #primary {
        width: 100% !important;
    }
    #secondary {
        width: 100% !important;
    }
    .entry-content {
        margin-top: -20px;
    }
    .footer-admin-link {
        display:  none;
    }
    .offerings-grid {
        display: grid; 
        grid-template-columns: 1fr; 
        grid-gap: 10px;
    }

    #post-10 .panel-content .wrap .entry-header {
        right: 35px;
        position: absolute !important;
        top: -160px !important;
    }

    #post-10 .panel-content .wrap {
        margin-top: 60px;
    }

    .spotlight-product-box {
        width:300px;
        height:300px;
    }
    .spotlight-item-price {
        left: 220px;
        top: 240px;
    }
    .spotlight-item-description {
        left: 5px;
        top: 160px;
        max-width: 200px;
    }
    .spotlight-story-title {
        top:5px;
    }
    .spotlight-story-description {
        top:130px;
    }
    .basket-nudge-optional-product-name {
        display:none;
    }
    .far-flung-products-filters {
        grid-template-columns: 1fr 1fr;
        float:none;
        margin-top:10px;
        margin-right:0;
        margin-bottom:10px;
    }
    .far-flung-products-list-items {
        grid-template-columns: 1fr 1fr;
        margin-bottom:40px;
    }
    .far-flung-products-filter-hidden {
        display:none;
    }
    .far-flung-products-filter-header {
        font-size: 0.775rem;
    }
    .far-flung-products-sort-drop {
        height: 2em;
    }
    .far-flung-products-filter {
        padding:0;
        padding-bottom:2px;
    }
    .far-flung-products-filter input {
        margin-top:5px;
    }
    .far-flung-products-filter-drop {
        display:revert;
    }
    .far-flung-products-filter-list {
        display:none;
    }
    .far-flung-products-hot-link-desktop {
        display:none;
    }
    .far-flung-products-hot-link-mobile {
        display:revert;
    }
    .far-flung-products-gallery {
        width:100%;
        float:none;
        margin-top:20px;
    }
    .far-flung-products-list-item-image {
        /*height:70%;*/
    }
}


