/*
 Theme Name:  Dyad 2 Bunnyink Child
 Theme URI:   https://bunnyink.co/
 Description: Child theme for Dyad 2 (bunnyink customizations)
 Author:      Muhammad Idham Choudry
 Template:    dyad-2-wpcom
 Version:     1.0.0
 Text Domain: dyad-2-bunnyink-child
*/

/* custom CSS goes below */
 
.amelia-booking .am-wrap .am-lite-footer,
.amelia-service .am-wrap .am-lite-footer{
	display:none;
}

/* 28 Jun 2021 By OC */
/* for update archive-download title */
body.post-type-archive.post-type-archive-download .page-header h1.page-title {
    display:none;
}
body.post-type-archive.post-type-archive-download .page-header {
    padding-bottom: 5rem;
}
body.post-type-archive.post-type-archive-download .page-header:after {
    content: "mini-me Yoga e-shop";
    font-size: 20px;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.38;
    font-size: 5rem;
    color: #1a1c1e;
}
@media screen and (max-width: 1200px){
	body.post-type-archive.post-type-archive-download .page-header {
    padding: 4rem 2rem;
	}
	body.post-type-archive.post-type-archive-download .page-header:after{
		font-size: 2.5rem;
	}
}
.entry-inner header.entry-header .entry-posted {
    display: none;
}
nav.navigation.post-navigation .nav-links span.nav-subtitle {
    font-size: 0;
}
nav.navigation.post-navigation .nav-links .nav-previous>a .nav-previous:before,
nav.navigation.post-navigation .nav-links .nav-next>a .nav-next:before {
    color: #9da5ad;
    display: block;
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
nav.navigation.post-navigation .nav-links .nav-previous>a .nav-previous:before{
    content: "Previous";
}
nav.navigation.post-navigation .nav-links .nav-next>a .nav-next:before{
    content: "Next";
}
.edd-submit{
	margin-top: 18px !important;
}
@media only screen and (max-width: 600px) {
.page.has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header{
	padding-top: 6rem;
}
}
@media only screen and (max-width: 960px) {
.is-singular .entry-media, .is-singular:not(.home) .entry-media, .is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-media{
	display: none;
	width: 0;
	height: 0;
}
}
.custom-logo-link {
    display: none !important;
}

div#infinite-handle {
    text-align: left;
}
/*
header.site-header {
    display: flex;
}

div.site-branding {
    display: flex;
    width: auto;
    max-width: 40%;
}

div.site-branding .custom-logo-link {
    width: fit-content;
    height: fit-content;
}

div.site-branding .custom-logo-link img {
    height: auto;
    max-height: 80px;
    max-width: 80px;
    width: auto;
} */

@media only screen and (max-width: 768px) {
    body.download-template-default.is-singular:not(.home):not(.single-format-image) .entry-inner {
        margin: 150px auto 0;
    }
/* 
    header#masthead {
        padding-top: 0.6rem;
        padding-left: 0.5rem;
        padding-bottom: 0.5rem;
    }

    div.site-branding {
        max-width: 70%;
        padding-bottom: 0;
    }

    div.site-branding a.custom-logo-link + h1.site-title {
        margin-top: 0;
    }

    div.site-branding .site-title a { 
        padding-top: 0;
        padding-left: 0.3rem;
        height: fit-content;
        font-size: 16px;
        line-height: 16px;
    }

    div.site-branding a.custom-logo-link { 
        position: relative;
        top: -3px;
        padding-right: 5px;
    }

    div.site-branding .custom-logo-link img {
        max-height: 60px;
        max-width: 60px;
    } */
}
@media only screen and (max-width: 680px) {
    .posts div.entry-inner::before,
    .posts article.hentry:nth-child(odd).has-post-thumbnail div.entry-inner:after, 
    .posts article.hentry:nth-child(odd).has-post-thumbnail div.entry-inner:before,
    .posts article.hentry:nth-child(even).has-post-thumbnail div.entry-inner:before,
    .posts article.hentry:nth-of-type(4n+3).has-post-thumbnail div.entry-inner:after, 
    .posts article.hentry:nth-of-type(4n+4).has-post-thumbnail div.entry-inner:after, 
    .posts article.hentry:nth-of-type(4n+3).has-post-thumbnail div.entry-inner:before, 
    .posts article.hentry:nth-of-type(4n+4).has-post-thumbnail div.entry-inner:before {
        right: unset !important;
        left: 50% !important;
        top: 8% !important;
        transform: translate(-50%, -50%) !important;
        margin-left: 0 !important;
    }
}

@media (min-width: 680px) and (max-width: 1200px) {
    /* your styles here */
    .posts article.hentry:nth-child(even).has-post-thumbnail div.entry-inner:before {
        margin-left: 0;
        margin-right: 0;
        right: -55px !important;
        left: unset !important;
    }

    .posts article.hentry:nth-of-type(4n+3).has-post-thumbnail div.entry-inner:before {
        right: unset !important;
        margin-left: 0 !important;
    }
}
 
 
/* logo inside the circle */
.posts div.entry-inner::before {
    content: "";
    position: absolute;
    
    /* position this where your existing white circle is */
    left: 25px !important;                 /* adjust as needed */
    top: 50%;                  /* adjust as needed */
    transform: translate(-50%, -50%);
    
    width: 60px;               /* size of the circle */
    height: 60px;
    border-radius: 50%;
    
    background-image: url('/wp-content/uploads/white-logo.jpeg');
    background-size: 70% auto; /* shrink inside circle */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;    /* white circle behind logo */

    z-index: 2;                /* sit above the card edges */
}

body.is-singular:not(.download-template-default) .entry-inner:before, 
body.error404:not(.download-template-default) .entry-inner:before, 
body.page-template-eventbrite-index:not(.download-template-default) .page-header:before, 
body.single-event:not(.download-template-default) .entry-header:before {
    width: 60px;               /* size of the circle */
    height: 60px;
    border-radius: 50%;
    background-image: url('/wp-content/uploads/white-logo.jpeg');
    background-size: 70% auto; /* shrink inside circle */
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;    /* white circle behind logo */
    z-index: 3;    
    content: '';
    margin: -30px 0 0 -25px; 
}

.is-singular:not(.download-template-default) .entry-inner:after, .error404:not(.download-template-default) .entry-inner:after, .page-template-eventbrite-index:not(.download-template-default) .page-header:after, .single-event:not(.download-template-default) .entry-header:after {
    display: none;
}
 
.posts .entry-inner:after {
    display: none;
}

.posts .hentry:nth-of-type(4n+3).has-post-thumbnail div.entry-inner:after, .posts .hentry:nth-of-type(4n+4).has-post-thumbnail div.entry-inner:after, .posts .hentry:nth-of-type(4n+3).has-post-thumbnail div.entry-inner:before, .posts .hentry:nth-of-type(4n+4).has-post-thumbnail div.entry-inner:before {
    left: auto !important;
    right: -35px !important;
}