/*

	Theme Name: BASE-Main
	Author: ---
	Website: 
	Twitter: 
	Version: 1.0
	Description: Base template for main site
	
	CONTENTS
	-------------
	- Global resets
	- Global typography & layout rules
	- Page styles
	- Post styles 
	- General bits 
	
	- Media queries
	
*/

/* 01 START : Global reset styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family: 'aleo', sans-serif;
}
/* 01 END : Global reset styles */

/* START : Global rules */
* { 
	-webkit-box-sizing:  border-box; 
	-moz-box-sizing: border-box; 
	box-sizing:  border-box; 
	}

html {
	font-size: 100%; /* Set a 16px base size */
	}

body {
	padding: 0;
	margin: 0 auto;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	}



/* Set vertical rhythm */
h1,h2,h3,h4,h5,h6,hgroup,ul,ol,dd,p,figure,pre,table,fieldset,hr {
    /* margin-bottom: 24px; */
	/* margin-bottom: 1.5rem; */ /* 24px equivalent/fallback */
	}	

h1, h2, h3, h4, h5, h6 {
	line-height: normal;
	}	

blockquote { }
	blockquote cite { }

p { }	

a { }	
	a:hover { }	

img, 
a img {
	max-width: 100%;
	height: auto;
	}
.size-full {
	width: 100%;
	max-width: 100%;
}

figure { }
	figcaption { }

.alignleft,
.alignright {
	/* left and right float triggered on bigger screens */
	float: none;
	}




	.header-bar-1 {
		display: block;
		position: relative;
		width: 100%;
		background-color: #000;
		overflow: hidden;
	}

	.header-bar-1-inner {
		display: block;
		position: relative;
		width: 950px;
		margin: 0 auto;
		
		color: white;
		overflow: hidden;
	}

	.header-bar-1-inner-left {
		display: block;
		position: relative;
		float: left;
		font-size: 20px; 
		line-height: 32px;
		padding-top: 15px;
		padding-bottom: 15px;
		text-align: left;
		overflow: hidden;
		}

	.header-bar-1-inner-right {
		display: block;
		position: relative;
		float: right;
		padding-top: 15px;
		padding-bottom: 15px;
		text-align: right;
		overflow: hidden;
		}

	.header-colors {		
		height: 5px;
		overflow: hidden;
		background-color: #fff;
		padding: 1px;
		}

	.header-title-1 {
		background-color: #eee;
		width: 100%;
	}

	.header-title-1-inner {
		width: 950px;
		margin: 0 auto;
		padding-top: 30px;
		padding-bottom: 30px;
		text-align: center;
	}

	.header-title-1-inner a {
		text-decoration: none;
		color: #BE2707;
		}

	.header-title-1-inner h1 {
		font-size: 40px;
		margin-bottom: 24px;
		font-weight: 700;		
		color: #BE2707;
	}

	.header-title-1-inner h2 {
		font-size: 30px;
		font-weight: 400;
		color: #000;
	}




	.header-nav-1 {
		display: block;
		position: relative;
		width: 100%;
		background-color: #eee;
		overflow: hidden;
	}

	.header-nav-1-inner {
		display: block;
		position: relative;
		width: 950px;
		margin: 0 auto;
		font-size: 16px; 
		color: #777;
		padding-top: 15px;
		padding-bottom: 15px;
		text-align: center;
		overflow: hidden;
	}


	.nav-1 {
		background-color: #eee;		
	}

	.nav-1-inner {
		width: 950px;
		margin: 0 auto;		
		}

	.nav-1-inner-2 {
		display: table;
		overflow: hidden;
		margin: 0 auto;
		text-align: center;
		}

	.nav ul {
		display: table;
		text-align: center;
	}

	.nav ul li {
		display: block;
		float: left;
		}
	
	.nav ul li a {
		color: #999;
		text-decoration: none;
		font-size: 18px;
		font-weight: 400;
		display: block;
		padding: 0;
		padding-left: 32px;
		padding-right: 32px;
		line-height: 40px;
		float: left;
	}

	.nav ul li a:hover {
		background-color: #444;
	}

	.nav ul li.current_page_item a {
		background-color: #444;
		color: #fff;
	}

	.nav ul li ul {
		display: none;
		
		}

	

	.nav ul li ul.sub-menu {
		display: none;
		position: absolute;
		margin-top: 40px;		
		background-color: #eee;
		}

	.nav ul li:hover ul.sub-menu {
		display: block;
		
		}

	.nav ul li ul.sub-menu li {
		display: block;
		float: none;
		overflow: hidden;
		width: auto;
		min-width: 220px;
		}

	.nav ul li ul.sub-menu li a {
		padding: 0;
		display: block;
		font-size: 13px;
		line-height: 40px;
		width: 100%;
		text-align: left;
		padding-left: 32px;
		padding-right: 32px;		
		
	}

	.nav ul li:hover ul.sub-menu li ul {
		display: none;
		position: absolute;
		margin-left: 220px;
		margin-top: 0px;
		background-color: #ddd;
		}

	.nav ul li:hover ul.sub-menu li:hover ul {
		display: block;
		transition: all 0.5s ease 3s;
		
		}

	.nav ul li ul.sub-menu li ul li {
		display: block;
		float: none;
		overflow: hidden;
		width: auto;
		min-width: 220px;
		}

	.nav ul li ul.sub-menu li ul li a {
		padding: 0;
		display: block;
		font-size: 13px;
		line-height: 40px;
		width: 100%;
		text-align: left;
		padding-left: 32px;
		padding-right: 32px;		
		
	}
	
	.content-body {

		width: 950px;
		margin: 0 auto;

	}

	.content-body-inner {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.primary-content h1 {

		font-size: 24px;
		font-weight: 700;
		margin-bottom: 24px;

	}

	.primary-content p {
		font-size: 16px;
		line-height: 24px;
		}


	.footer-1 {

		width: 950px;
		margin: 0 auto;

		margin-top: 30px;
		border-top: 1px solid #ccc;

	}

	.footer-1-inner {
		padding-top: 20px;
		padding-bottom: 30px;
	}

#header a {
	text-decoration: none;
	}

#header h1 {

	font-size: 24px;
	text-align: center;
	margin: 0;
	padding: 20px;
	text-decoration: none;
	color: #000;

}

#header h2 {

	font-size: 18px;
	text-align: center;
	margin: 0;
	padding: 0px 0px 20px 0px;
	text-decoration: none;
	color: #000;

}


img {
	vertical-align: bottom;
}
html {
overflow-y: scroll;
}
strong {
	font-weight: bold;
}
i {
	font-style: italic;
	}

/* END : Global rules */



/* START : Page styles */

/* END : Page styles */



/* START : Post styles */

/* END : Post styles */



/* START : General bits */

/* END : General bits */


/* START : Media Queries */

	/* I've added some arbitrary breakpoints to get you started, you don't have to use these - you can remove, edit or add to them however you like. They're just a guide. */

/* 480px equivalent breakpoint */
@media only screen and (min-width: 30em) { 
}

/* 600px equivalent breakpoint */
@media only screen and (min-width: 37.5em) { 
}

/* 768px equivalent breakpoint */
@media only screen and (min-width: 48em) { 
.alignleft,
.alignright {
	float: left;
	display: inline;	
	}

	.alignright {
		float: right;
	}


}

/* 1024px equivalent breakpoint */
@media only screen and (min-width: 64em) { 
}

/* 1260px equivalent breakpoint */
@media only screen and (min-width: 78.75em) { 
}
/* END : Media Queries */


/* PRINT STYLES */

@media print {
	/* If you're going to have a print stylesheet, now's the time */
}

a { display: inline; }

*:focus {
	outline: 2px dashed gold !important;
}

.boxed {
	display: block;
	position: relative;
    padding: 20px;    
    border: 2px solid #769863;    
}

.wp-block-uagb-section div p:last-of-type {
	margin-bottom: 0 !important;
}

