/*
Theme Name:   	Abi Theme
Author:       	Mim John
Author URI:     http://mimjohn.com
Template:     	storefront
Description:  	This is a child theme for WooThemes StoreFront theme created for Abi Spendlove.
Version:      	1.1.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
*/

form {
    padding: 1.618em;
    background-color: #31F46224;
    border-radius: 1em;
}

/**Typography**/

@import url(https://fonts.googleapis.com/css?family=Khula:300);
h1, h2, h3 {font-family: 'Khula', sans-serif;
	font-size:1.5em;
}

li {
	font-family: 'Khula', sans-serif;
}

 .hentry .entry-content .wp-block-gallery .blocks-gallery-item {
	width:100%;
}

/**Storefront theme mods**/
.page-title {display:none;}
.entry-title {display:none;}
.entry-header {display:none;}

a:focus, input:focus, textarea:focus, button:focus {
	outline: none;}

.single-title{
font-size:1.2em;
font-style:italic;
text-align:center;}

#site-header-cart {display:none;}
.primary-navigation {display:none;}
.site-search {display:none;}
.storefront-breadcrumb  {display:none;}
.storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {
	float: right;}
@media (min-width: 768px){
.storefront-secondary-navigation.woocommerce-active .site-header .site-branding {
    width: 39%;
}}
.site-branding .site-title a {
	font-weight: 400;
	color: #565656;
font-family: 'Khula', sans-serif;}
.site-branding .site-title {
	color: #565656;
	font-size: 2.6em;
		font-weight: 400;
	font-family: 'Khula', sans-serif;
letter-spacing: 0.1em;}
.secondary-navigation .menu {
	font-size: .9em;}
.site-info {display:none;}
.secondary-navigation .menu a:hover {
    text-decoration: underline;
}

.secondary-navigation .menu {
    font-size: 1.1em;
}

a:hover, a:focus, a:active {
    color: rgba(0, 121, 152, 0.5);
}

#masthead.site-header {
	border-bottom: none;
	margin-bottom: 0;
}

#content {
	max-width:1000px;
	margin:auto;
	    padding-top: 2em;
}
.post {
	margin-bottom: 2.617924em;
}
#comments{
	display:none;
}
#primary {
	width:100%;
}

.wp-block-image img {
    margin-left: auto;
    margin-right: auto;
}

.storefront-handheld-footer-bar {display:none;}

.col-full {
	max-width:90vw;
	margin:auto;
}

.credits{
	text-align:center;
}

.onimage {color: white;
    position: absolute;
    bottom: 0;
	left: 5%;}

article .onimage p {
    font-size: 1.9em;
    font-weight: 500;
    color: white;
	text-align: left;
	margin:5px;}

/* Masonary Flex Box */
.masonry { 
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

.masonry-item {
height: 20em;
margin-bottom: 1%;
  }

.masonry-item:nth-of-type(10n+1) {
  width: 59%;
	margin-right: 1%;
}
.masonry-item:nth-of-type(10n+2) {
  width: 40%;
}
.masonry-item:nth-of-type(10n+3) {
  width: 29%;
	margin-right: 1%;
}
.masonry-item:nth-of-type(10n+4) {
  width: 39%;
	margin-right: 1%;
}
.masonry-item:nth-of-type(10n+5) {
  width: 30%;
}
.masonry-item:nth-of-type(10n+6) {
  width: 49%;
	margin-right: 1%;
}
.masonry-item:nth-of-type(10n+7) {
  width: 50%;
}
.masonry-item:nth-of-type(10n+8) {
  width: 30%;
	margin-right: 1%;
}
.masonry-item:nth-of-type(10n+9) {
  width: 39%;
	margin-right: 1%;
}
.masonry-item:nth-of-type(10n+10) {
  width: 29%;
}
.masonry-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/* Subscribe Button */
#subscribe-button {
	font-family: Arial, sans-serif;
    bottom: 250px;
    background-color: #538387;
    color: #FFFFFF;
    border-style: solid;
    border-width: 0px;
	    right: -1px;
    cursor: pointer;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -webkit-transform: rotate(
-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(
-90deg);
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
	    position: fixed;
    margin: 0;
    padding: 6px 13px 8px 13px;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border-style: solid;
    display: block;
    z-index: 100000;align-content
}

  @media only screen and (max-width: 490px) {
html { font-size: 75%; } 
.masonry-item {
height: 15em;
}
}

