/**
 * Theme Name:          Mai Law Pro
 * Description:         Mai Law Pro is a custom child theme for The Genesis Framework.
 * Author:              Mike Hemberger, BizBudding Inc
 * Author URI:          https://bizbudding.com/
 * Version:             1.0.0
 *
 * Template:            genesis
 *
 * License:             GPL-2.0+
 * License URI:         http://www.opensource.org/licenses/gpl-license.php
 */


/* Table of Contents

	- Defaults
	- Media Queries (mobile-first)
	- Media Queries (mobile-second)

*/


/* # Defaults
---------------------------------------------------------------------------------------------------- */

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

h1,
.banner-title,
.heading,
.widget-title,
.widgettitle {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
}

h2, h3, h4, h5, h6 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
}

.heading {
	text-align: inherit;
}

.genesis-nav-menu a {
	font-weight: normal;
}

/* # Custom CSS
---------------------------------------------------------------------------------------------------- */

.site-header {
	background: #115be4;
	border: none;
}

.nav-header a {
	color: #fff;
	padding: 8px 16px;
}

.nav-header a:hover {
	background: #044ed5;
	border-radius: 30px;
	color: #fff;
}

.header-right {
	margin-bottom: 18px;
}

.nav-header .current-menu-item>a {
	background: #fff;
	border-radius: 30px;
	color: #115be4 !important;
}

.mai-menu-inner {
	background: #115be4;
	color: #fff;
	padding: 0;
}

.mobile-menu a {
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	padding: 16px 24px;
}

.mobile-menu .current-menu-item>a {
	background: #fff;
	color: #115be4;
}

.mai-menu .search-form {
	display: none;
}

.has-standard-menu .mai-menu {
	background: #115be4;
}

.mai-bars {
	color: #fff;
}

.home .banner-area {
	display: none;
}

.banner-title {
	font-size: 3rem;
}

a.anchor {
	display: block;
	position: relative;
	top: -100px;
	visibility: hidden;
}

#hero {
	z-index: -9999;
}

#hero h1 {
	font-size: 90px;
}

#hero .has-bg-image .bg-image {
	background-position: top;
}

.simple-social-icons {
	overflow: visible;
}

/* ------- Buttons ------------------------- */

.button,
.entry-content .button,
input[type=submit],
button {
	background-color: #f58c23;
	border-radius: 30px;
	transition: all 0.1s;
}

.button:hover,
.entry-content .button:hover,
input[type=submit]:hover,
button:hover {
	background-color: #C1272D;
}

/* ---- Button End -------------------------- */

.banner-area .height-xs.bottom {
	padding-bottom: 0;
}

.section.section:first-child .height-md {
	padding-top: calc(1rem + 1.815vw);
}

.flex-container {
	display: flex;
	/* justify-content: space-between; */
	flex-wrap: wrap;
}

#consult .flex-container .one-third:first-child,
#develop .flex-container .one-third:first-child,
#toys .flex-container .one-third:first-child {
	margin-left: 0;
}

#consult .flex-container,
#develop .flex-container,
#toys .flex-container {
	margin-bottom: 20px;
}

#consult .flex-container .one-third p:first-child,
#develop .flex-container .one-third p:first-child,
#toys .flex-container .one-third p:first-child {
	margin-bottom: 0;
}

.flex-product {
	display: flex;
	flex-direction: column;
	flex-basis: 32%;
	margin-bottom: 30px;
	margin-right: 2%;
	align-items: flex-start;
}

.flex-product:nth-child(3n+3) {
	margin-right: 0;
}

.flex-product .upper {
	flex: 1;
}

.flex-study {
	background-position: center center;
	/* background-color: #fff; */
	display: flex;
	flex-basis: 50%;
	flex-direction: column;
	justify-content: center;
	/* min-height: 500px; */
}

.flex-study img {
	object-fit: cover;
}

.flex-study span {
	padding: 60px;
}

.flex-team {
	flex-basis: 50%;
}

#services {
	overflow: visible;
	z-index: 9999;
}

#services .section-content {
	margin-top: -250px;
	overflow: visible;
}

#services .flex-container {
	justify-content: space-between;
	overflow: visible;
}

#services .flex-container h2 {
	margin-top: 20px;
}

#services .flex-container div {
	background: #044ed5;
	display: flex;
	flex-basis: 32%;
	flex-direction: column;
	flex-wrap: wrap;
}

#services .flex-container .flex-service:hover {
	box-shadow: 0 0 15px #09337f;
}

#services div div {
	position: relative;
    margin: auto;
    overflow: hidden;
	width: 100%;
}

#services div div img {
	transition: transform .2s ease-in-out;
	transform: scale(1);
 }

#services div div img:hover {
	transform: scale(1.2);
}

#consult .flex-container div div,
#develop .flex-container div div,
#toys .flex-container div div {
	background: #044ed5;
}

#consult .flex-container div:first-child,
#develop .flex-container div:first-child,
#toys .flex-container div:first-child {
	background: #044ed5;
}

#consult .one-third h4,
#develop .one-third h4,
#toys .one-third h4 {
	margin: 0;
	padding: 10px 20px 20px;
}

#consult,
#develop,
#toys {
	display: none;
}

#team img {
	margin-bottom: 10px;
	margin-top: 0;
}

/* #team div:not(:last-child) {
	margin-bottom: 30px;
} */

.affiliate {
	float: left;
	width: 20%;
}

#affiliates img {
	padding: 20px;
}

.footer-widgets-1,
.footer-widgets-2 {
	font-size: 21px;
	font-weight: bold;
	text-align: center;
}

/* ------ Site Footer ------------------------------ */

.site-footer, .footer-widgets {
	background: #C1272D;
	border: none;
	color: #fff;
}

/* ------- End Site Footer --------------------------- */

p:not([class])>a:not([class]) {
	border: none;
}

:focus {
	outline: none;
}

.height-sm.bottom {
	padding-top: calc((1rem + 1vw) * 2 - 24px);
    padding-bottom: 0;
}

/* # Media Queries (mobile-first)
---------------------------------------------------------------------------------------------------- */

@media only screen and (min-width: 545px) {}

@media only screen and (min-width: 769px) {}

@media only screen and (min-width: 993px) {}

@media only screen and (min-width: 1160px) {}

/* # Media Queries (mobile-second)
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1366px) {
	
	.flex-study {
		flex-direction: row;
	}
	
}

@media only screen and (max-width: 1159px) {
	
	#services .section-content {
		margin-top: -100px;
	}
	
}

@media only screen and (max-width: 992px) {}

@media only screen and (max-width: 768px) {
	
	.flex-container {
		display: flex;
		flex-direction: column;
	}
	
	.flex-product {
		margin-right: 0;
	}
	
	.flex-study span {
		padding: 25px;
	}
	
	.flex-study {
		flex-direction: column;
	}
	
	section.section:nth-child(3) .flex-container {
		flex-direction: column-reverse;
	}
	
	.home section.section:nth-child(3) .flex-container {
		flex-direction: column;
	}
	
	.banner-title {
		font-size: 3rem;
	}
	
	.simple-social-icons .alignright {
		float: left;
	}
	
	.simple-social-icons ul {
		padding: 0 20px 20px;
	}
	
	#hero h1 {
		font-size: 50px;
	}
	
	#consult div,
	#develop div,
	#toys div {
		margin-bottom: 10px;
	}
	
	#consult .flex-container,
	#develop .flex-container,
	#toys .flex-container {
		margin-bottom: 0;
	}
	
	#services .section-content {
		margin-top: 0;
	}
	
	.flex-service {
		margin-bottom: 30px !important;
	}

	.affiliate {
		float: left;
		width: 33.3%;
	}
	
	.alignleft, .wp-caption.alignleft, a.alignleft, img.alignleft {
    	float: left;
    	text-align: left;
    	margin: 24px 24px 24px 0;
	}
	
	/* #consult .flex-container div:first-child,
	#develop .flex-container div:first-child,
	#toys .flex-container div:first-child {
		background: #115be4;
	} */
	
	footer-widgets-1,
	footer-widgets-2,
	footer-widgets-3,
	.gutter-xl>.col-sm-6 {
		flex-basis: 100%;
		max-width: 100%;
		text-align: center;
	}
	
	.row.gutter-xl>.col {
		margin-left: 0;
		margin-right: 0;
	}
	
}

@media only screen and (max-width: 544px) {}
