/*
Theme Name: 5R AG Technologies
Template: generatepress
Author: Nathanael Weir-Wakely
Author URI: https://nathanaelweir.com
Description: Custom theme built for 5R AG Technologies.
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 1.0.1638742094
Updated: 2021-12-05 14:08:14

*/

@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600&family=Mukta:wght@400;600&display=swap');

:root {
	--headerheight: 400px;
	--hfont: 'Commissioner', sans-serif;
	--pfont: 'Mukta','Arial', sans-serif;
		--accentColor: #318c6a;
		--yellow-accent: #fab118;
		--dark-green-bg: #1c2e1b;
}

body {
	background: #FFFFFF;
}
/*
---------
HEADINGS
---------
*/

h1,h2,h3,h4,h5,h6 {
	font-family: var(--hfont);
	font-weight: bold!important;
}

h1 {
	font-size: 80px;
}

@media only screen and (max-width: 500px) {
	
	:root {
	--headerheight: 500px;
	}
	
	h1 {
	font-size: 60px;
}
	
	
}

/*
---------
PARAGRAPH
---------
*/

p {
	font-size: 20px;
	font-family: var(--pfont);
}
/*
---------
NAVBAR
---------
*/

.site-header {
	    border-bottom: 3px solid var(--yellow-accent);
}

/*Logo*/

@media only screen and (max-width: 450px) {
	
.site-logo {
	max-width: 120px;
}
	
	.inside-header {
		    padding: 0 10px!important;
	}
	
}

#primary-menu > ul > li:nth-child(3) a, #primary-menu > ul > li:last-child a{
	    text-transform: uppercase;
    color: var(--accentColor);
    font-weight: bold;
}

@media only screen and (min-width: 769px) {
/*call to action button*/
#primary-menu > ul > li:nth-child(3) a, #primary-menu > ul > li:last-child a{
	font-family: var(--hfont);
    font-weight: 500;
    text-transform: uppercase;
    background-color: var(--accentColor);
	border: 3px solid var(--accentColor);
	color: #FFFFFF;
	font-size: 16px;
    padding: 0 10px;
    border-radius: 4px;
	line-height: 2.5;
}

#primary-menu > ul > li:last-child a:hover,  #primary-menu > ul > li:last-child.current_page_item a {
	background-color: transparent;
	color: var(--accentColor);
}
}

/*MENU*/

#primary-menu li a {
		font-family: var(--pfont);
	font-size: 18px;
}
.inside-header {
	padding: 10px 20px;
}

.menu-bar-items {
	margin-right: 50px;
}

/*top bar contact info*/
#ag-top-bar {
	order: 99;
	position: relative;
	z-index: 19;
	
}
#ag-top-bar p {
	padding: 0px 10px;
	margin: 0;
	font-weight: 800!important;
}

#ag-top-bar i {
	margin-right: 5px;
}

#ag-top-bar a {
	color: #151515;
	font-weight: 500;
}

#ag-top-bar a:hover {
	color: var(--dark-yellow-accent);
}

@media only screen and (max-width: 950px) {
	#ag-top-bar  {
		display: none;
	}
	.menu-bar-items {
	margin-right: 0px;
}
}


/*mobile menu button*/
.mobile-menu-control-wrapper button {
	border-style: none!important;
    border-width: 0;
}

/*
---------
SERVICES HIGHLIGHTS (homepage)
---------
*/


@media only screen and (min-width: 920px) {
	.service-highlights {
		    transform: translate(0, -35%);
		            margin-bottom: -50px !important;
	}
}


@media only screen and (max-width: 924px) {
	.service-highlights {
		    padding: 50px 20px;
		    
	}
}

@media only screen and (max-width: 500px) {
	.service-highlights {
		   --display:block!important;
		    
	}
}


/*
---------
WP FORMS
---------
*/

div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form .wpforms-page-button {
font-family: var(--hfont)!important;
    font-weight: 500!important;
    text-transform: uppercase!important;
    background-color: var(--accentColor)!important;
	border: 3px solid var(--accentColor)!important;
	color: #FFFFFF!important;
	font-size: 16px!important;
    padding: 0 10px!important;
    border-radius: 4px!important;
	line-height: 2.5!important;
	    min-width: 120px;
	        margin: 0 auto;
    display: block;
}

div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:focus,
div.wpforms-container-full .wpforms-form button[type=submit]:focus,
div.wpforms-container-full .wpforms-form .wpforms-page-button:focus {

	border: 3px solid var(--yellow-accent)!important;
	background-color: transparent!important;
	color: var(--yellow-accent)!important;
}

.wpforms-field-container {
    font-family: var(--pfont);
}

/*
---------
HERO IMAGE
---------
*/

.ag-hero-bg {
	height: var(--headerheight);
	background-attachment: fixed;
	background-size: cover;
	background-position: center center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/*margin-bottom: 50px;*/
}

@media only screen and (max-width: 1024px) {
	.ag-hero-bg {
	background-attachment: scroll;
	}
}

.ag-hero-content {
	color: #FFFFFF;
	width: 80%;
	text-align: center;
	z-index: 3;
}

.ag-entry-title {

}

.ag-excerpt {

}

/*overlay*/
#ag-overlay {
  position: absolute;
  width: 100%;
  height: var(--headerheight);
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
}

/*
---------
CONTENT
---------
*/

.site-content {
	padding: 0!important;
}


/*
---------
TABS
---------
*/
.eael-tabs-content {
	max-width: 1000px;
	margin: 0 auto;
}

/*
---------
SEARCH AND ARCHIVE PAGES
---------
*/
/*nothing found page*/
.search .no-results, .error404 .site-content {
	margin: 50px!important;
}

@media only screen and (max-width: 400px) {
	.search .no-results, .error404 .site-content {
	margin: 50px 20px!important;
}
}

.search-results .site-main {

	max-width: var(--sitemaxwidth);
	margin: 0 auto;
	display: grid;
	grid-gap: 25px;
	grid-template-columns: repeat(3,1fr);
	margin: 0 auto;
	padding: 50px 20px!important;
	text-align: center;
}

@media only screen and (max-width: 900px) {
	.search-results .site-main {
	grid-template-columns: repeat(2,1fr);
	}
}

@media only screen and (max-width: 500px) {
	.search-results .site-main {
	grid-template-columns: repeat(1,1fr);
	}
}

.search-results header.page-header, .search-results #nav-below {
	grid-column: 1/-1;
}
	
.search-results .site-main :before {
	content:none!important;
}

.search-results .site-main article .inside-article{
}

/*
---------
 MISC
---------
*/

/*hide google recaptcha badge*/
.grecaptcha-badge {
	display:none!important;
}

.white-text {
	color: #FFFFFF;
}

/*Force max width container for generatepress theme*/
body .grid-container, .wp-block-group__inner-container
{
	max-width:100%!important;
}

section {
	width: 100%!important;
	left: 0px!important;
}

/*About us graphic*/

@media only screen and (max-width: 600px) {
	.eael-circle-wrapper {
		margin: 0!important;
	}
}