/*PC*/
@media only screen and (min-width: 1320px) {
    .navbar-height {
        height: 5.5rem;
    }

    #search-input {
        height: 32px !important;
    }

    /* The container <div> - needed to position the dropdown content */
    .dropdown {
        position: relative;
        display: inline-block;
        text-align: left;
    }

    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        min-width: 180px;
        z-index: 1;
        left: 0.3rem;
        padding-top: 1rem;
    }

    .dropdown-content a, .dropdown-content span {
        padding: 6px 16px;
    }

    .dropdown-content hr {
        margin-top: 0;
    }

    /* Links inside the dropdown */
    /* redefined for Gladson */
    .dropdown-content a, .dropdown-content a:hover {
        color: var(--default_colour);
        text-decoration: none;
        display: block;
    }

    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {
        background-color: #ddd
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    #nav-links {
        display: flex;
        /*width: 65vw;*/
        gap: 2rem;
        justify-content: right;
        align-items: baseline;
    }

    #burger {
        display: none;
    }

    .heritage-button {
        font-size: 1rem;
        padding: 0.5rem !important;
    }

    #logo {
        justify-content: left;
        flex-shrink: 0;
        padding-left: 20px;
    }

    .footer-link {
        border: none;
    }

    .footer-link:nth-child(1) {
        border: none;
    }
}


/*Tablet*/
@media only screen and (min-width: 600px) {

    #logo {
        justify-content: center;
    }

    #search-input {
        height: 26px !important;
    }

    #mobile-search {
        display: none;
    }

    #heritage {
        margin-bottom: 1rem;
    }

    #footer {
        height: 30vh;
        margin-top: 0;
    }
}

/* phones */
@media screen and (max-width: 600px) {

    #logo-img-hfw {
        width: 320px;
        height: auto;
    }

    a {
        text-decoration: none;
    }

    .dropdown-content a:not(.general_bold) {
        color: wheat;
    }

    .member {
        font-size: 0.9rem;
    }

    .member-name {
        font-size: 0.9rem;
    }

    .brands > div.top-image, .brands > article.fabric {
        flex-basis: 100%;
        flex-grow: 0;
        flex-shrink: 1;
        margin: 0 0.5rem;
    }

    #search-container {
        display: none;
    }

    #mobile-search {
        position: relative;
        margin-left: auto;
        padding: 0 0.5rem;
    }

    #search-dropdown {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        min-width: 160px;
        z-index: 1;
        right: 0;
        /*padding-top: 1rem;*/
        /*margin-right: 1rem;*/
        padding: 1rem 1rem 0.25rem 0.25rem;
    }

    #mobileSearchTerm {
        width: 100%;
    }

    .brands.block_of_three {
        flex-wrap: wrap;
    }

    .fifty_pc_container {
        width: unset;
        height: unset;
        flex-direction: column;
    }

    .fifty_pc_item {
        height: unset;
    }

    /* shop features */
    div.Product-Group-Header {
        padding-top: 0.5em;
    }

    #journal #journal-articles {
        flex-direction: column;
    }

    #journal .scroll {
        display: none;
    }

    #journal article {
        width: unset; /* Remove the 40% */
        margin: 0 0.5rem;
    }

    #journal article img, .contact-header img {
        display: none;
    }

    .journal-image-col {
        display: none;
    }

    .bigQuote {
        font-size: 1.3em;
        font-style: italic;
        margin: 5% 12%;
    }

    .shop-categories {
        display: none;
    }

    .productList {
        margin-left: 0 !important;
    }

    div.productList div.product {
        width: 100% !important;
    }

    /* Journal formatting */
    .journal-wrapper {
        padding: 0 15px 0 15px;
    }

    .journalHeader {
        font-size: 1.9em;
        color: var(--highlight_colour);
    }

    .journalCredits {
        margin: 5px 10px 10px 0;
    }

    .journalLead {
        margin-top: 2.5%;
    }

    .journalImage {
        margin-left: 5%;
        margin-right: 5%;
    }

    .top-image img {
        margin-bottom: 8px;
    }

    .journalBody {
        margin: 2.5% 5%;
    }

    .journalBold {
        font-size: 1.0em;
        font-weight: bold;
        margin: 2.5% 5%;
    }

    .journalPullOut {
        padding: 0 45px 0 45px;
    }

    .heritageText {
        margin: 2.5% 5%;
    }

    .bunch-swatches {
        width: 100%;
        height: 98px;
    }

    .collection-swatches {
        width: 100%;
    }

    .parallax_3_guys {
        background-attachment: scroll;
    }

    #about-history > section {
        flex-wrap: wrap;
        margin: 0 1rem;
        gap: 1rem;
    }

    #about-history-side {
        width: 100%;
        text-align: left;
    }

    .about_title {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    #about-history-story {
        width: 100%;
        margin: 0;
    }

    .about-section {
        flex-wrap: wrap;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .about-section:nth-child(2n) {
        flex-wrap: wrap-reverse;
    }

    .about-section > * {
        width: 100%;
    }

    .about_h1 {
        font-size: 1.5em;
        line-height: 1.6em;
    }


    .collection_header {
        font-size: 1.5em;
    }

    .lookbook_name {
        padding-left: 0.5em;
        font-size: 1.6em;
    }

    .lookbook_title {
        font-size: 1.5em;
        line-height: 1.2em;
        padding-bottom: 1.3em;
    }

    .lookbook_text {
        text-align: center;
        font-weight: 400;
        line-height: 1.4em;
        padding-bottom: 1.8em;
    }

    .about_statement {
        font-size: 1.2em;
        font-weight: 300;
        line-height: 1em;
    }

    .testament > :not(.no-image-testament) {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .testament > :not(.no-image-testament) > * {
        width: 100%;
    }

    .no-image-testament > * {
        width: 100%;
        margin: 0;
    }

    .brand-grid {
        width: 100%;
        display: block;
    }

    .brand-grid > * {
        margin: 0 1rem 2rem;
    }

    .gallery-box {
        display: block;
        margin: 0 1rem;
        padding: 1rem 0 0;
    }

    .gallery-box > * {
        width: 100%;
        padding-bottom: 2rem;
    }

    .news-wrapper {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 0;
    }

    #news-events, #news-list {
        width: 100%;
    }

    #news-list > .news-header {
        margin-top: 0;
    }

    .events-title {
        font-size: 1.2rem;
        line-height: 1.6rem;
        margin-left: 0.5rem;
    }
}
