/*
Theme Name: GMB Theme
Theme URI: https://www.growmybusiness.co.nz/
Author: Ben Elwood
Author URI: https://www.growmybusiness.co.nz/
Description: Custom built for Private Box Limited
Version: 1.0
Text Domain: gmbtheme
*/

.gmf-process-container {
	width: 80%;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 30px;
}

.gmf-pricing-container {
	width: 100%;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 30px;
}

.gmf-process-block {
/* 	width: 30%;
	margin-right: 3.333%;
	float: left; */
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
/* 	background-color: #f9f9f9; */
/* 	box-shadow: 8px 8px 50px rgba(0,0,0,.1); */
}

.gmf-pricing-block {
/* 	width: 30%;
	margin-right: 3.333%;
	float: left; */
	padding: 20px;
	display: flex;
	flex-direction: column;
/* 	justify-content: center; */
	background-color: #f9f9f9;
	box-shadow: 8px 8px 50px rgba(0,0,0,.1);
}

.gmf-process-block img {
	width: 50%;	
}

.flex-center {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

table {
    min-width: 800px;
}

tr {
    display: table-row !important;
}

td {
    display: table-cell !important;
}

td::before {
    display: none;
}

/* Remove highlight on buttons within <p> tags*/
p a.btn.btn-primary::before {
    content: none;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    grid-gap: 50px;
}

.card-grid > div {
    padding: 24px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #212121;
    box-shadow: 2px 2px 0 0 #212121;
}

.card-grid > div ol li:not(:last-child) {
    margin-bottom: 8px;
}

@media and screen (max-width: 980px) {
	.gmf-pricing-container {
		grid-template-columns: 1fr;
	}
	
	.card-grid {
		display: flex;
		flex-direction: column;
		grid-gap: 30px;
	}
}

/* Menu Fix */
@media screen and (max-width: 1400px) and (min-width: 980px) {
    header .row {
        grid-template-columns: 1fr 1fr;
        padding-top: 30px;
    }
    
    header .icon_cont {
        position: absolute;
        top: 5px;
    }
    
    .hero {
        padding-top: 130px;
    }

/*     header.scrolled .icon_cont {
        display: none;
    } */
    header.scrolled {
        padding-top: 30px;
    }

    header {
        transition: background-color .3s ease;
    }
}

/* Fix Blog Post Content Formatting */
.row.post-content {
    max-width: 900px;
}

.row.post-content p {
    line-height: 2em;
}

.row.post-content img {
    margin-bottom: 30px;
}
