:root
{
	/*
		Theme colour variables
	 */
	--contrast: #BA3F1D;
	--highlight: #d7cfc2;
	
	
	/*
		Transparent bg images
	 */
	--trans-black-5: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUeNpiYGBg4AUIMAAAEgAO++PQbgAAAABJRU5ErkJggg==');
	--trans-white-10: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P//vyRAgAEACRUDFwV1TKoAAAAASUVORK5CYII=');

	--trans-white-35: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P//fyRAgAEACVUDV3uMjlsAAAAASUVORK5CYII=');
	--trans-white-50: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P//fwNAgAEACXwDfugyhDIAAAAASUVORK5CYII=');
	--trans-white-75: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P///36AAAMACbsDvSYutrAAAAAASUVORK5CYII=');
	--trans-white-85: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P///02AAAMACdUD1968JMsAAAAASUVORK5CYII=');
	--br: .4rem;
	
	
	/*
		Gutter variables
	 */
	--p: .75rem;
	--pp: 1.5rem;
	--ppp: 3rem;


	/*
		Text sizes
	 */
	--big-font: 1.2em;
	--small-font: .85em;


	/*
		Sizes
	 */

}

/*
	Utility classes
 */
.p{padding:var(--p);}
.plr{padding-left:var(--p);padding-right:var(--p);}
.pl{padding-left:var(--p)}
.pr{padding-right:var(--p);}
.pp{padding:var(--pp);}
.pplr{padding-left:var(--pp);padding-right:var(--pp);}
.ppl{padding-left:var(--pp)}
.ppr{padding-right:var(--pp);}
.ppt{padding-top:var(--pp);}
.ppb{padding-bottom:var(--pp);}
.ppp{padding:var(--ppp);}
.mm{margin:var(--pp);}
.mmb{margin-bottom:var(--pp);}
.mml{margin-left:var(--pp);}

.clear_fix:before
,.clear_fix:after
{
	content:"";
	display: table;
	clear:both;
}

html
{
	font-size:62.5%;
	line-height: 1.5;
}

body
{
	font-size:1.5rem;
	line-height:1.5;
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	background-color: #EFEFED;
	color:#444;
}

.container
{
	max-width:100rem;
}


/*
  Main navigation
*/
nav.main
{
	background-color:#fff;
}

nav.main .container
{
	position:relative;
}

nav.main li.current_page_item 
{
	border-bottom:0.2rem solid var(--highlight)
}

nav.main .icon_links
{
	position:absolute;
	right:0;
	top:0;
}

nav.main .icon_links a
,footer.main .icon_links a
{
	display:inline-block;
}

nav.main
,footer.main
{
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

nav.main a
,footer.main a
{
	color:#333;
	display:block;
	padding:var(--pp)
}

footer.main
{
	padding:var(--ppp) 0;
	font-size:var(--small-font);
}

nav.main a:hover
{
	color:#000;
	text-decoration:none;
	background-color: #f8f8f8;
}


/*
  Main header
*/
header.main .title
{
	font-weight:100;
	color:var(--contrast);
	font-size:3.6rem;
	padding:var(--pp);
}

header.main .description
{
	font-size:var(--big-font);
	padding:var(--pp)
}

/*
  headings
*/
h1,h2,h3
,h1 a, h2 a, h3 a
{
	color:var(--contrast);
	font-weight:100;
}


/*
  Links
*/
a
{
	color:#267ABF;
	text-decoration:none;
}

a:hover
{
	text-decoration:underline;
}

h1 a:hover, h2 a:hover, h3 a:hover
{
	text-decoration:none;
}

.list-inline-block li
{
	display:inline-block;
	list-style-type: none;
}
ul.no_bullet_list
{
	list-style-type: none;
	padding-left:0;
}
ul.no_bullet_list li
{
  padding:var(--p) 0;
}

/*
  Main content section
*/
section.main .container
{
	background-color: #fff;
	border-top:0.2rem solid var(--highlight)
}

section.main header h1
{
	margin:0;
	padding: var(--ppp) var(--pp) var(--pp) var(--pp);
}

section.entry-content p:first-child
{
	margin-top:0;
}

section.entry-content blockquote
{
	border-left:0.2rem solid var(--highlight);
	padding-left:var(--pp);
	margin:var(--pp);
}


section.entry-content ul
,.sidebar .widget ul
{
	list-style-type: square;
	list-style-position: inside;
	padding-left:0;
}

section.entry-content ul>li
,.sidebar .widget ul>li
{
	padding:0.5rem 1rem 0.5rem 2rem;
	text-indent: -1.3rem;
}




section.main .meta
{
	font-size:var(--small-font);
	color:#666;
}

/* featured image */
section.main .col_1 img
{
	max-width:100%;
	height:auto;
}

/*
  In content images
*/
figure.alignnone {margin: 1rem 1rem 1rem 0;}
img.alignleft, img.al {margin: 1rem 1rem 1rem 0;}
img.aligncenter, img.ac { margin-top: 1rem; margin-bottom:1rem;}
img.alignright, img.al {margin: 1rem 0 1rem 1rem;}
.wp-caption-text{font-size:var(--small-font);color:var(--contrast);}

/*
  Sidebar
*/
.sidebar
{
	padding:10rem var(--ppp) 0 calc( var(--pp) * 5);
}

.sidebar .widget
{
	border-left:0.2rem solid var(--highlight);
	padding-left:var(--pp);
	margin-bottom:calc( var(--pp) * 4);
}

.sidebar h2
{
	margin-top: 0;
}


/*
  Contact menu links
*/
#menu-contact-links li
{
}
#menu-contact-links li a
{
	font-size:0;
	letter-spacing: 0;
}
#menu-contact-links li a:hover
{
	text-decoration:none;
}
#menu-contact-links li a:before
{
	font-size:1.5rem;
	display: inline;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
}

#menu-contact-links li a[href*="facebook.com"]:before
{
  font-family: "Font Awesome 5 Brands";
	content: "\f09a";
}
#menu-contact-links li a[href^="mailto:"]:before
{
  font-family: "Font Awesome 5 Free";
	content: "\f0e0";
}

/*
  Page sections
*/
article.page .section .content
{
	display:none;
}

article.page .section.visible .content
{
	display:block;
}

article.page .section .toggle
{
	cursor: pointer;
}

article.page .section .toggle:hover
{
	background-color:#f8f8f8;
}

article.page .section .toggle_text
{
	color:#267ABF;
	display:inline-block;
}

article.page .section .toggle_text::after
{
	font-family: 'Font Awesome 5 Free';
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	font-weight: 900;
}

article.page .section .toggle_text:after
{
	content:'\f0d7';
}

article.page .section.visible .toggle_text:after
{
	content:'\f0d8';
}

article.page .section .toggle_text:before
{
	content:'More ';
}

article.page .section.visible .toggle_text:before
{
	content:'Less ';
}


article.page .section ul ul>li
{
	background-color:transparent !important;;
}

/*
	Striping
 */
ul.stripe>li:nth-child(even)
{
	background-color:#f9f9f9;
}

table.stripe tr:nth-child(even)
{
	background-color:#f9f9f9;
}


/*
  Tables
*/
.entry-content table
,.entry-content table tr
{
	width:100%!important;
}

.entry-content table tr
,.entry-content table td
{
	height:auto!important;
}

.entry-content table td
{
	vertical-align: top;
	padding:0.25rem 0;
	line-height:1.5;
}

.entry-content table td:first-child
{
	width:20%!important;
	padding-right:1rem;
}



/* 
Breakpoints
*/
@media only screen and (max-width: 780px)
{
	section.main .container>div
	{
		width:100%;float:none;
	}
	
	.sidebar{
		padding-left:0;
		padding-right:0;
	}
}

@media only screen and (max-width: 540px)
{
	nav.main .icon_links
	{
    position: static;
    right: 0;
    top: 0;
  }
}

@media only screen and (max-width: 400px)
{
	html
	{
		font-size:50%;
	}
}

