/*
Theme Name: Brett Miley
Author: Brett Miley
*/

*{
    /* border:0; */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    -webkit-font-feature-settings: "lnum";
    -moz-font-feature-settings: "lnum";
    font-feature-settings: "lnum";
}
html{
    font-family: 'Raleway', sans-serif;
    background: #DEE4E9;
}

svg{
    width: 100%;
}
body{
    max-width: 1920px;
    margin: auto;
}
button{
    padding: 0.75rem 2rem;
    border: 1px solid #999;
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    cursor: pointer;
    background: white;
}

a{
    transition: all 0.5s ease;
	display:inline-block;
	text-decoration:none;

}
@media all and (min-width: 769px){
    a:hover{
        transform: scale(1.05);
    }
}

/* TYPE */

h1{

        font-weight: 400;
        font-size: 48px;
        letter-spacing: 0;
        /* margin: 0 8vw; */
        margin-bottom: 1rem;
        color: #444;
        /* max-width: 720px; */
        line-height: 110%;
}

h2{
    color: #444;
    font-weight: 400;
    font-size: 40px;
    letter-spacing: -1px;
    margin: 0 8vw;
    margin-bottom: 1rem;
}
h3{
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -1px;
    margin: 0 8vw;
    margin-bottom: 1rem;
}
h4{
    font-weight: 400;
    font-size: 24px;
}
h5{
    font-weight: 400;
    font-size: 16px;
}
h6{
    font-weight: 400;
    font-size: 16px;
}
p{
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    margin-bottom: 1rem;
    color: #666;
}

/* Main Styles */

.content-wrap{
    display: flex;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    align-items: center;
    /* background-color: #ffffff; */
    /* border-top: 1px solid #eee; */
    padding: 1rem;
    overflow: hidden;
}

aside.sidebar-wrap{
    /* position: fixed; */
    /* left: 0;
    right: 75%;
    top: 0;
    bottom: 0; */
    background-color: white;
    z-index: 100;
    /* padding: 0 4%; */
    /* max-width: 480px; */
}
.content{
    padding: 0 35px;
    flex: 0 0 100%;
    width: 100%;
    max-width: 1140px;
}
.site-logo a{
    display: block;
}
.site-logo img{
    width: 100%;
    height: auto;
}

.site-title-wrap{
    font-size: 24px;
    letter-spacing: 0;
    color: #999;
    text-decoration: none;
}

.wp-block-image img {
    height: auto;
}

.primary {
    padding: 0;
    display: none;
    position: relative;
    /* background-color: white; */
    text-align: center;
}
.primary li {
    display: block;
}
.primary a{

    letter-spacing: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 1rem;
    color: #333;

}

.intro-paragraph{
    margin: 0 auto 2rem;
    text-align: center;
    max-width: 852px;
}


section.related.products {
    clear: both;
}


.sold-wrap{
    position: relative;
    text-align:center;
    z-index:100;
}
.sold-wrap span{
    position: absolute;
    top:16rem;
    right:0;
    left:0;
    font-size:24px;
    font-weight:bold;
    background:darkred;
    color:white;
    width: 160px;
    margin:auto;
    transform:rotate(-25deg);
}

/* Header */
header{
    display: flex;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -ms-flex-pack:center;
    justify-content:center;
    position: relative;
    align-items: center;
    padding: 2rem 8% 4px;
    /* border-bottom: 1px solid #eee; */
    flex-direction: column;
    width: 100%;
    /* position: absolute; replace when done*/
}
header .left{
    display: flex;
}

.nav-icon-wrap{
    display: flex;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: end;
    position: relative;
    align-items: center;
    padding: 0 1rem;
}
.nav-icon-wrap a{
    padding: 1rem;
    display: flex;
    position: relative;

}

.basket-count{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ccc;
    border-radius: 50%;
    height: 1rem;
    width: 1rem;
    line-height: 1rem;
    font-size: 0.75rem;
    text-align: center;
    font-weight: bold;
}


.site-logo{
    max-width: 320px;
    width: 100%;
}

/* Header Media Queries */

@media all and (min-width: 769px){
    header{
        -ms-flex-pack:space-between;
        justify-content:space-between;
        flex-direction: row;
    }
    .nav-icon-wrap a{
        /* display: inline-flex; */
    }
    .nav-toggle{
        display: none;
    }
    .primary{
        display: block;
    }
    .primary li {
        display: inline-block;
    }
}


/* Custom Loop Styles */
.custom-loop-wrap,
.wp-block-group__inner-container{
    display: flex;
    flex-wrap: wrap;
}

.loop-item{
    width: 100%;
    padding: 0.5rem;
    position: relative;
}

.loop-item a{
    display: block;
    position: relative;
}

.loop-item img{
    width: 100%;
    height: auto;
}

.loop-item span{
    display: block;
    position: absolute;
    bottom: 0;
    color: white;
    font-size: 40px;
    padding: 1rem;
    /* text-shadow: 2px 2px #333; */
    letter-spacing: 0;
}

.full.loop-item{
    width: 100%;
}

.tags{
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;

}
.tags a{
    background: black;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0 4px;
    color: white;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 10px;
    text-decoration: none;
}

@media all and (max-width: 768px){
    .loop-item{
        width: 100%;
    }
    .loop-item span{
        font-size: 24px;
        letter-spacing: 0;
    }
}

/* Content Media Queries */

@media all and (min-width: 769px){

    .loop-item{
        transition: all 0.5s ease;
    }
    .loop-item:hover{
        transform: scale(1.05);
    }
}


/* Home Style Overrides */

.home h1{
    text-align: center;
    font-size: 48px;
    letter-spacing: 0;
}
@media all and (max-width: 768px){
    .home h1{
        font-size: 32px;
    }
 }
.home p{
    text-align: center;
    font-size: 24px;
}


/* Footer */

footer{
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;

}
footer a{
    letter-spacing: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 1rem;
    color: #999;
}
footer button{
    padding: 0.75rem;
}

/* Single Page Template */

.single h4{
    font-weight: bold;
    text-align: center;
    margin: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
}

#prev-next-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#prev-next-nav a{
    text-decoration: none;
    display: block;
}

#prev-next-nav span{
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 1rem;
    color: #666;
}


.nav-box{
    max-width: 320px;
    position: relative;
}
.nav-box.next svg{
    right: -1rem;
}
.nav-box.previous svg{
    left: -1rem;
}
#prev-next-nav svg{
    border-radius: 50%;
    background: white;
    width: 48px;
    height: 48px;
    padding: 1rem;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    box-shadow: 1px 1px 1px;
}


/* Search Results */

.search-item{
    /* display: block; */
    padding: 0.5rem 8.3333vw;
}
.search-item a{
    display: block;
    background-color: #f1f1f1;
    min-height: 152px;
    padding: 1rem;
    text-decoration: none;
}
.search-item img{
    float: left;
    margin-right: 1rem;
}
.search-item span{
    display: block;
    line-height: 1.5;

}

.search-item span:nth-of-type(1){
    font-size: 24px;
    margin-bottom: 0.25rem;
}

/* Archive */

h1.archive-title{
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.archive .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.archive .content .post-item {
    padding: 1vw;
    max-width: 320px;
    text-decoration: none;
}



.archive .content .post-item .title{
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 1rem;
    color: #666;
}

.about-wrap{
    max-width: 1200px;
    margin: auto;
}

.about-wrap p{
    font-size: 24px;
    line-height: 1.5;
}


.about-wrap .email a{
    letter-spacing: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 1rem;
    color: #999;
}

.shadowimg img{
    box-shadow: #eee 4px 4px 8px;
    margin-bottom: 1rem;
}

.collection-header *{
    margin: 0;
}



