/*
Theme Name:     Brown Child
Description:    Child theme of the Brown Theme
Author:         Baimai Studio
Author URI:     http://baimaistudio.com
Template:       brown-theme
Version:        1.0.1
*/

.admin-bar .is-sticky #primary-nav {
    top: 32px !important;
}

.row {
	max-width: 80rem;
}

[class*="block-grid-"] li {
	padding: 0 10px 10px;
}

/* ------- Insert custom styles below this line ------- */

.wf-loading body {
    opacity: 0;
    transition: all 0.5s;
}
.wf-active body {
    opacity: 1;
    transition: all 0.5s;
}
body {
    font-family: "futura-pt", sans-serif;
    letter-spacing: 0.15em;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "futura-pt";
}
p {
    font-size: 18px;
    letter-spacing: 0.15em;
}
.footer-text {
    list-style: none;
    margin-bottom: 0;
}
.footer-text a {
    color: black;
}
.footer-text a:hover {
    color: #dd3333;
}

.footer-text ul li {
	border-left: 2px solid lightgray;
	display:inline-block;
	padding-left: 8px;
}
.footer-text ul li:first-child {
	border-left: none;
}

/*GRID CUSTOMIZATION - ALIGN BOTTOM*/



/*
[class*="block-grid-"] li {
	height: 420px;
}
*/

/*
.book-card {
	bottom: 0;
}
*/

/*
.mini-book {
	max-width: 220px;
}
*/
.book {
	cursor: auto;
}

.mini-book {
    background: rgba(51, 51, 51, 0.1);
    border: 1px rgba(51, 51, 51, 0.1) solid;
		box-shadow: inset 1px 1px 5px rgba(50,50,50,0.1);
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mini-book .cover {
    bottom: 0;
    left: 0;
    margin: 20px;
		background:white;
		box-shadow: rgba(50, 50, 50, 0.05) 1px 1px 1px, rgba(50, 50, 50, 0.05) 2px 2px 1px, rgba(50, 50, 50, 0.05) 4px 2px 1px, rgba(50, 50, 50, 0.05) 4px 2px 1px;
		}
.mini-book img {
	width:100%;
}

.creator .mini-book .cover {
    margin: 35px;
    filter: grayscale(100%);
}

.mini-book .border {
	border-radius: 0;
}

.mini-book .body {
    background: transparent;
}
.single-creator ul.large-block-grid-4.medium-block-grid-3 li {
    display: table-cell;
    vertical-align: bottom;
    float: left;
}
ul.large-block-grid-4.medium-block-grid-3 li {
    display: table-cell;
    vertical-align: bottom;
    /*float: none;*/
}
.book-card .book-title {
    margin: 20px 0 0 0;
    text-align: center;
    font-size: 22px;
    line-height: 1.5em;
    letter-spacing: 0.1em;
    min-height: 4em;
		color:#555;
}
.no-display {
    display: none;
}
#primary-nav .container {
    border-bottom: 1px solid #333333;
}
#primary-nav-sticky-wrapper.is-sticky #primary-nav {
    border-bottom: none;
}
.element-light#primary-nav .menu li a {
    color: gray;
    transition: all 0.1s;
}
.element-light#primary-nav .menu li:hover> a {
    color: black;
}
#primary-nav a {
	color: black;
}
#primary-nav .menu > li:before {
	background: rgba(255,255,255,0.6);
}
#primary-nav .menu> li.current-menu-item a, #primary-nav .menu> li.current-menu-ancestor a {
    color: white;
}
#primary-nav .menu> li:after, #primary-nav .menu> li:before {
    bottom: 0px;
}
#primary-nav .menu> li.current-menu-item:after, #primary-nav .menu> li.current-menu-ancestor:after {
    background-color: #dd3333;
}
#primary-nav-sticky-wrapper.is-sticky+ #top-link {
    opacity: 0.25;
		right:0;
}
#primary-nav-sticky-wrapper.is-sticky+ #top-link:hover {
    opacity: 0.5;
    border-color: #dd3333 !important;
}

.current-menu-item {
	background: rgba(0,0,0,0.1);
}

#top-link {
    position: fixed;
    right: -5%;
    bottom: 0;
    z-index: 200;
    background-color: transparent;
    opacity: 0;
    text-align: center;
    font-size: 1.5em;
    letter-spacing: 0;
    transition: all 0.5s;
}
#top-link a {
    color: white;
    border-color: white;
    background: #333333;
}

#top-link a:hover {
    color: #dd3333;
}
#top-link .button:hover {
    border-color: #dd3333;
		background: transparent;
}

/*HOME PAGE*/

.home .carousel {
	background: white;
}

.home .hero .title {
    background-image: url('images/walker-studio-prep.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 85%;
    height: 100px;
    border: 0;
    font-size: 0;
}
#branding {
    position: absolute !important;
    /*	left: -108px;*/
    transition: all 0.5s;
    /*height: 100%;*/
    /*display: flex;
    justify-content: center;
    align-items: center;*/
}
.home #branding {
    opacity: 0;
    transition: all 0.5s;
}
.home .is-sticky #branding {
    opacity: 1;
    transition: all 0.5s;
}
.bt-menu-trigger {
    margin: 20px;
    z-index: 1000;
}

/*BOOKS AND SINGLE PAGES*/

.edge {
    display: none;
}
.hero-on #primary-nav {
    opacity: 1;
}
.hero small {
    opacity: 0.5;
    font-size: 0.5em;
}

.hero .branding {
		margin: 0 0 20px 0;
}

.hero .subtitle {
	color:gray;
}

.hero .col-text {
	margin-top: 0;
}

#buy {
	text-align: center;
}

#buy h3 {
	text-align: left;
}

#buy p {
	display: inline-block;
	width: 30%;
	text-align:center;
	font-size:0.8em;
	font-weight:bold;
	text-transform:uppercase;
	margin:30px 0;
	border:2px solid white;
	border-radius:4px;
	padding:10px 20px;
	color:white;
}

#buy p:hover {
	background:rgba(0,0,0,0.1);
}

.creator-books {
    background: #dd3333;
    padding: 40px;
}
.single-creator .creator-books ul {
    list-style-type: none;
    letter-spacing: 0.15em;
}
#creator-name span {
	display: block;
}
#creator-name a {
    color: #dd3333;
    font-weight: bold;
}
.preview-container a {
    color: black;
    font-weight: bold;
}
.preview-container p {
    text-align: center;
		margin: 20px 0;
}
.preview-container img {
	box-shadow: 2px 2px 8px 2px rgba(0,0,0,0.2);
}
.preview-container a:hover {
    color: #dd3333;
}
p.keynote b {
    font-weight: normal;
}
.element-light .book .body, .book .body {
    box-shadow: white 0 0, gainsboro 1px 0px, gainsboro 2px 0px, #e6e6e6 3px 1px, #e6e6e6 4px 2px, #c8c8c8 5px 3px, #c8c8c8 6px 4px;
}
.element-light .shadow {
    box-shadow: rgba(0, 0, 0, 0.1) 5px 9px 1px;
}
.mini-book .shadow {
    box-shadow: none;
}
.mini-book .body {
    box-shadow: white 0 0, #e6e6e6 1px 1px 1px, #e6e6e6 2px 2px 1px, #e1e1e1 4px 2px 1px, #e1e1e1 4px 2px 1px;
}
.mini-book:hover .cover {
    -webkit-transform: none;
    transform: none;
}
.mini-book:hover .shadow {
    -webkit-transform: none;
    transform: none;
}

  .book:hover .cover, .mini-book:hover .cover {
    -webkit-transform: none;
            transform: none; }
  .book:hover .shadow, .mini-book:hover .shadow {
    -webkit-transform: none;
            transform: none; 
}

  .book:hover .has-preview {
    -webkit-transform: rotateY(-25deg);
            transform: rotateY(-25deg); }
  .book:hover .shadow{
    -webkit-transform: translate(-4px, 0);
            transform: translate(-4px, 0); }


.single .book .has-preview {
	cursor:pointer;
	-moz-animation-name: openBook;
	-moz-animation-iteration-count: 2;
	-moz-animation-timing-function: ease-in-out;
	-moz-animation-duration: 1s;

	-webkit-animation-name: openBook;
	-webkit-animation-iteration-count: 2;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 1s;

	animation-name: openBook;
	animation-iteration-count: 2;
	animation-timing-function: ease-in-out;
	animation-duration: 1s;
}

	@-moz-keyframes openBook {
	    0% {
				-moz-transform: rotateY(0deg);
	    }
			50% {
				-moz-transform: rotateY(-25deg);
	    }
	    100% {
				-moz-transform: rotateY(0deg);
	    }
	}
	@-webkit-keyframes openBook {
			0% {
				-webkit-transform: rotateY(0deg);
			}
			50% {
				-webkit-transform: rotateY(-25deg);
			}
	    100% {
				-webkit-transform: rotateY(0deg);
	    }
	}
	@keyframes openBook {
			0% {
								transform: rotateY(0deg);
			}
			50% {
								transform: rotateY(-25deg);
			}
	    100% {
								transform: rotateY(0deg);
	    }
	}

#book-carousel .owl-stage> .active {
    transform: scale(0.8) !important;
}
#book-carousel .owl-stage> .active~ .active {
    transform: scale(1) !important;
    opacity: 1;
    /*
	filter:none;
	-webkit-filter:none;
	-moz-filter:none;
	-o-filter:none;
	-ms-filter:none;
 */
}
#book-carousel .owl-stage> .active~ .active~ .active {
    transform: scale(0.8) !important;
    transition: all 0.4s;
    opacity: 0.4;
    /*
    filter: blur(3px);
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: url(#blur);
    filter: progid: DXImageTransform.Microsoft.Blur(PixelRadius='3');
 */
}
#book-carousel .owl-item {
    display: inline-block;
    vertical-align: middle;
    float: none !important;
    transform: scale(0.8) !important;
    transition: all 0.4s;
    opacity: 0.4;
    /*
    filter: blur(3px);
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: url(#blur);
    filter: progid: DXImageTransform.Microsoft.Blur(PixelRadius='3');
 */
}
#book-carousel .owl-controls .owl-nav .owl-prev i, .owl-controls .owl-nav .owl-next i {
    color: white;
}
#book-carousel .owl-controls .owl-nav .owl-prev, .owl-controls .owl-nav .owl-next {
    background: rgba(30, 30, 30, 0.9);
}
#book-carousel .owl-controls .owl-nav .owl-next i {
    margin-left: 8px;
}
.mini-creator {
    background: #fff;
    margin: 0;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    -webkit-perspective: 3000px;
    perspective: 3000px;
}
.mini-creator .shadow {
    position: absolute;
    top: 0;
    left: 6px;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    box-shadow: rgba(0, 0, 0, 0.04) -10px 5px, rgba(0, 0, 0, 0.04) -8px 5px, rgba(0, 0, 0, 0.04) -6px 5px, rgba(0, 0, 0, 0.04) -4px 5px, rgba(0, 0, 0, 0.04) -2px 5px;
}
.mini-creator .body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background: #fff;
    box-shadow: white 0 0, #e6e6e6 1px 1px, #e6e6e6 2px 2px, #e1e1e1 4px 4px, #e1e1e1 5px 5px;
}
.mini-creator .cover {
    position: relative;
    outline: 1px solid transparent;
    -webkit-backface-visibility: hidden;
    -webkit-transform-origin: 0 50% 0;
    transform-origin: 0 50% 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.single-creator #content img {
    box-shadow: white 0 0, #e6e6e6 1px 1px, #e6e6e6 2px 2px, #e1e1e1 4px 4px, #e1e1e1 5px 5px;
    margin-bottom: 30px;
    border-radius: 3px;
}

/* SOCIAL */

@media screen and (min-width: 1024px) {
    .social-whatsapp {
	display: none !important;
    }
}

.social-link {
    padding: 2px 8px 4px 8px !important;
    color: white;
    font-size: 11px;
		font-weight: bold;
    border-radius: 2px;
    margin-right: 4px;
    cursor: pointer;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    margin-top: 2px;
    display: inline-block;
    text-decoration: none;
}

.social-link:hover,.social-link:active {
    color: white;
}

.social-twitter {
    background: #00aced;
}

.social-twitter:hover,.social-twitter:active {
    background: #0084b4;
}

.social-facebook {
    background: #3B5997;
}

.social-facebook:hover,.social-facebook:active {
    background: #2d4372;
}

.social-googleplus {
    background: #D64937;
}

.social-googleplus:hover,.social-googleplus:active {
    background: #b53525;
}

.social-buffer {
    background: #444;
}

.social-buffer:hover,.social-buffer:active {
    background: #222;
}

.social-pinterest {
    background: #bd081c;
}

.social-pinterest:hover,.social-pinterest:active {
    background: #a10e1e;
}

.social-linkedin {
    background: #0074A1;
}

.social-linkedin:hover,.social-linkedin:active {
    background: #006288;
}

.social-whatsapp {
    background: #2fc140;
}

.social-whatsapp:hover,.social-whatsapp:active {
    background: #00964a;
}

.sharing-buttons {
    margin: 40px 0px 25px 0px;
    -webkit-font-smoothing: antialiased;
    font-size: 11px;
}

/*.sharing-buttons h7 {
	border-radius: 4px;
	padding: 4px 8px 6px 8px !important;
	background: rgba(0,0,0,0.5);
}*/

/*MEDIA QUERIES*/

@media screen and (max-width: 782px) {
.admin-bar .is-sticky #primary-nav {
    top: 45px !important;
}
}


@media only screen and (max-width: 64em) {
    #primary-nav-sticky-wrapper #primary-nav {
        position: relative;
    }
    .menu-primary-container {
        clear: both;
    }
    ul.large-block-grid-4.medium-block-grid-3 li {
        display: table-cell;
        vertical-align: bottom;
        float: left;
    }
		.mini-book{
				min-height: 350px;
		}

		.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*=columns-] ul.products li.product, .woocommerce[class*=columns-] ul.products li.product {
			width: 30%;
			margin: 0px 1.65% 0% 1.65%;
		}
		.woocommerce ul.products li.first, .woocommerce ul.products li.last, .woocommerce ul.products li.product, .woocommerce ul.products li.product:nth-child(2n) {
			clear: none;
			float: left;
		}

		.woocommerce ul.products, .woocommerce ul.products li.first, .woocommerce ul.products:after, .woocommerce-page ul.products, .woocommerce-page ul.products li.first, .woocommerce-page ul.products:after {
			clear: none;
		}

}
@media only screen and (min-width: 64.063em) {
    #primary-nav .menu {
        display: block !important;
        margin: 0 auto;
        border: none;
        position: relative;
        float: none;
        right: 0;
        transition: all 0.5s;
    }
    .home #primary-nav .menu li {
        text-align: center;
        padding: 0;
        width: 25%;
        transition: all 0.5s;
    }
    #primary-nav .menu li {
        text-align: center;
        padding: 0;
        width: 20%;
        transition: all 0.5s;
    }
    .home #primary-nav .menu li:first-child {
        margin-left: 0;
    }
    .home .is-sticky #primary-nav .menu {
        transition: all 0.5s;
    }
    .home .is-sticky #primary-nav .menu li {
        width: 20%;
        transition: all 0.5s;
    }
    .home .is-sticky #primary-nav .menu li:first-child {
        margin-left: 20%;
    }
    #primary-nav .menu li:first-child {
        margin-left: 20%;
    }

		.mini-book{
			min-height: 350px;
			max-height: 350px;
		}

}
@media only screen and (min-width: 30em) and (max-width: 37.5em) {

	.medium-block-grid-3>li {
			width: 100%;
	}
	.mini-book{
			/*min-height: 200px;*/
	}
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*=columns-] ul.products li.product, .woocommerce[class*=columns-] ul.products li.product {
		width: 46%;
		margin: 0px 2% 0% 2%;
	}

}

@media only screen and (max-width: 37.5em) {
	.medium-block-grid-3>li {
			width: 100%;
	}
		#buy p {
			width: 100%;
			}

}

@media only screen and (min-width: 37.5em) and (max-width: 45em) {
    .medium-block-grid-3>li {
        width: 33.33%;
    }
		.mini-book{
				min-height: 250px;
		}
}

@media only screen and (max-width: 30em) {

	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*=columns-] ul.products li.product, .woocommerce[class*=columns-] ul.products li.product {
		width: 96%;
		margin: 0px 2% 0% 2%;
	}

}

.woocommerce ul.products li.first, .woocommerce ul.products li.last, .woocommerce ul.products li.product, .woocommerce ul.products li.product:nth-child(2n) {
	/*clear: none;*/
	/*float: left;*/
	min-height: 400px;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	font-size: 16px;
	margin: 20px 20px 0 0px;
	overflow: visible;
	padding: .618em 1em;
	font-weight: normal;
	border-radius: 3px;
	left: auto;
	color: white;
	border-width: 2px;
	border: 2px solid;
}

.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
color:white;
}

.single-attachment .columns {
    margin: 0 auto;
    display: block;
    left: 50%;
    transform: translate(-50%,0);
}

.single-attachment .columns .attachment img {margin: 0 auto;}


#content {
	background: inherit;
}

.single {
	color:white;
}

.single footer {
	color: black;
}

table.specifications {
	background:transparent;
}

table.specifications th {
    width: 25%;
}

table.specifications p {
    display: table-cell;
}

table.specifications .alt {
    background:rgba(0,0,0,0.2);
}

.mini-book {
	background:	rgba(255,255,255,0.3);
	border: rgba(255,255,255,0.6);
	box-shadow: inset 1px 1px 5px rgba(50,50,50,0.5);
}

.book-card .book-title, .book-card .book-title a {
	color: white;
}

.mini-book .cover {
	background: none;
}

#primary-nav .menu > li:before {
	background: rgba(0,0,0,0.9);
}

.shop_attributes {
	background: transparent;
}

.woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th {
	border: none;
}
