/*------------------------------------------*/
/* default styles */
/*------------------------------------------*/

* {
    box-sizing: border-box;
}


body { margin:0; padding:0; text-align:center; background:#eee; color:#444; font: normal 100% 'Open Sans', arial, Helvetica, sans-serif; line-height:1.5em; -webkit-text-size-adjust:none; -webkit-appearance:none; }
img { border:0; vertical-align:middle; }
fieldset { border:0; padding:0; margin:0; }
input, select { vertical-align:middle; outline:none; }
textarea, input, select { font-family:arial,verdana,helvetica,sans-serif; outline:none; }
.maximiser { clear:both; height:1px; overflow:hidden; }


/* new navigation styles */
div#navMask { position:fixed; top:0; left:0; width:100%; height:100vh; background-color:rgba(0,0,0,0.5); z-index:10000; display:none; }
div#navOuter { width:100%; padding:0 1em; position:fixed; top:0; left:0; z-index:10001; }
div#navInner { margin:0 auto; max-width:1200px; background:#7ebb54; }
div#navMenuBar { border-bottom:0px solid #6daa43; }
div#navMenuBar div { display:inline-block; padding:10px 10px 15px 42px; color:#fff; font-size:1.5em; cursor:pointer; text-align:left; background-position:9px 10px; background-size:25px; background-repeat:no-repeat; }
div#navMenuBar div:hover { background-color:#a9db6e; }
div#navMenuButton { width:50%; background-image:url('/files/template/menu.svg');  }
div#navSearchButton { width:50%; background-image:url('/files/template/search.svg'); background-color:#6daa43; }
div#navMenuList { display:none; padding:1em 1em 1em 1em; }
div#navMenuList ul { margin:0; padding:0; list-style:none; text-transform:uppercase; }
div#navMenuList ul li { background-color:#6daa43; padding:0; margin-top:3px; text-align:left; }
div#navMenuList ul li a { text-decoration:none; color:#fff; }
div#navMenuList ul li a span { display:block; padding:1em 0.5em; margin:0; font-size:1em; font-weight:bold; }
div#navMenuList ul li a span:hover { background-color:#a9db6e;  }
div#navSearchForm { display:none; padding:1em; background-color:#eee; }
div#navSearchForm form { max-width:800px; margin:auto; padding:0; }
div#navSearchForm form input { width:100%; margin:0.25em 0; }
div#navSearchForm form input[type=text] { background:#fff; padding:0.4em 0.8em; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; line-height:1em; font-size:1.5em; border:1px solid #ccc; }
div#navSearchForm form input[type=submit] { color:#fff; background:#f26522; padding:0.4em 0.8em; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; line-height:1em; font-size:1.5em; border:0; cursor:pointer; }


div#pageOuter { padding:40px 1em 0; }
div#pageInner { margin:0 auto; max-width:1200px; background:#fff; border-left:1px solid #ccc; border-right:1px solid #ccc; }
.pageLimiter { padding:1.25em 2em 1.25em 2em; }
div#pageContent { text-align:left; }
div#pageFooter { background:#7ebb54; color:#eee; text-align:left; font-size:0.8em; }
div#pageFooter div {  }
div#pageFooter a { text-decoration:none; color:#fff; }
div#pageFooter a:hover { color:yellow;  }


/*------------------------------------------*/
/* RiCE content styles */
/*------------------------------------------*/

div#rsmPageContent { /*page content*/ font-size:0.9em; line-height:1.5em; }
div#rsmPageContent blockquote { margin:20px 0px; padding:0px; font-style:italic; }
div#rsmPageContent h1 { color:#76bb25; font-weight:600; font-size:2em; line-height:1.4em; margin:0 0 0.5em 0; padding:0 0 0.5em; border-bottom:2px solid #ddd; }
div#rsmPageContent h2 { color:#76bb25; font-weight:400; font-size:1.5em; line-height:1.4em; margin:1.5em 0 0.5em; padding:0; }
div#rsmPageContent h3 { color:#76bb25; font-weight:normal; font-style:normal; font-variant: normal; font-size:12pt; line-height:130%; margin:30px 0px 10px 0px; }
div#rsmPageContent p { margin:1em 0 1em; padding:0;  }
div#rsmPageContent a { color:#f26522; text-decoration:none; }
div#rsmPageContent a:hover { color:#336699; text-decoration:underline; }
/*div#rsmPageContent a:visited { color:purple; } */
div#rsmPageContent hr { height:0px; border:0px; border-top:1px solid #eee;  }
div#rsmPageContent ul { list-style:none; margin:20px 10px; padding:0px;  }
div#rsmPageContent ul li { margin:6px 0px; padding:0px 12px; background:transparent url('/files/template/bulletArrow.gif'); background-position:left 5px; background-repeat:no-repeat; }

.rsmPageDate { display:block; font-size:9pt; padding:0px 0px 10px 0px; margin:0px; color:#888; }
.rsmInlineIcon { border:0px; }
.rsmYouTubeVideo, .rsmVimeoVideo { margin-bottom:20px; background:#eee; padding:5px; line-height:100%; overflow:hidden; clear:both; text-align:center; }
.rsmYouTubeVideo em,  .rsmVimeoVideo em { display:none; }
.rsmHighlight { background:#fff384; }
.rsmSmallText { font-size:85%; }
.rsmStrike { text-decoration:line-through; }
.rsmUnderline { text-decoration:underline; }
.rsmBlockQuoteBox1 { display:block; margin:15px 0px 15px 15px; background:transparent url('/files/template/quoteOpening.gif'); background-repeat:no-repeat; background-position:top left; }
.rsmBlockQuoteBox2 { display:block; background: transparent url('/files/template/quoteClosing.gif'); background-repeat:no-repeat; background-position:bottom right; }
.rsmBlockQuotePadding { display:block; padding:0px 30px 0px 30px; }
.rsmBreakoutBox1 { display:block; float:right; width:250px; font-size:12pt; margin:15px 0px 15px 15px; line-height:130%; background:#fff url('/files/template/quoteOpening.gif'); background-repeat:no-repeat; background-position:top left; color:#999; font-style:italic; }
.rsmBreakoutBox2 { display:block; width:250px; background: transparent url('/files/template/quoteClosing.gif'); background-repeat:no-repeat; background-position:bottom right; }
.rsmBreakoutPadding { display:block; padding:10px 30px 5px 30px; }

.imgBlock { border:0.2em solid #eee; padding:0.75em; }
.imgBlockPad { /*margin:1em;*/ font-size:0.75em;  text-align:center; line-height:1em; }
.imgBlockPad img { width:100%; border:0; }
.imgSized { margin:0; line-height:0; padding:60% 0 0 0; background-color:#eeeeee; background-size:cover; background-repeat:no-repeat; background-position:center; }
.imgRight { float:right; margin:1em 0 1em 2em; width:40%; }
.imgLeft { float:left; margin:1em 2em 1em 0; width:40%; }
.vidBlock { width:100%; padding-bottom:56.25%; /* 16:9 */ background:#999; position: relative; }
.vidBlock iframe { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width:100%; height:100%; }

div#contactForm { margin-top:2em; }
div#contactForm form { margin:1em 0; padding:0.75em; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; border:1px solid #ddd; background-color:#eee; }
div#contactForm form fieldset { padding-bottom:0.5em; }
div#contactForm form label { font-size:90%; font-weight:500; }
div#contactForm form input, div#contactForm form textarea { padding:0; margin:0; border:0; line-height:100%; font-size:100%; }
div#contactForm form textarea { line-height:140%; width:80%; }
div#contactForm form button { padding:0.35em 1em; font-size:1em; border:0; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; background:#76bb25; color:#fff; cursor:pointer; }
.contactFormField { display:block; background:#fff; padding:0.4em; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; line-height:0; border:1px solid #ddd;  }
div#contactFormMessage { display:none; background:#fff9b4; padding:1em; }

/*
div#as1 { float:left; width:300px; background:#fff; }
div#as2 { float:left; width:336px; background:#fff; margin:2em 2em 0 0; }
div#as3 { float:left; width:336px; background:#fff; margin:2em 0 0 0 ; }*/

div#rsmArticle { padding:1em 0; }
.sectionArticle { margin:4em 0 2em 75px; border-top:1px solid #ddd; padding:2em 0; clear:both; }
.sectionArticle img { width:75px; border-top:2px solid #ddd; margin:1em; padding:1em; }

.addThisHolder { margin:2em 0; height:2em; }
.atclear { display:none !important; }

.rsmSectionTable { margin:1.5em 0; border-bottom:1px solid #ddd; width:100%; }
.rsmSectionTable tr td { padding:0.75em 0; vertical-align:top; border-top:1px solid #ddd; }
.rsmSectionTable tr td img { width:75px; height:75px; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; }
.rsmSectionTable tr td a { font-size:1.25em; }

div#searchResultJobs { }
div#searchResultJobs p { padding:1em 0 0.5em 0 !important; margin:1em 0 !important; border-top:1px solid #ddd; line-height:1.5em; }
div#searchResultJobs p cite { display:block; color:#f26522; text-decoration:none; cursor:pointer; font-style:normal; font-weight:bold; }
div#searchResultJobs p cite:hover { color:#336699; text-decoration:underline; }
div#searchResultJobs p time { display:block; color:#999; font-style:normal; font-size:0.8em; }

span#indeed_at { float:right; }
form#jobSearchPaging { padding-bottom:2em; }
form#jobSearchPaging input { padding:0.35em 1em; font-size:1.5em; border:0; -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em; background:#f26522; color:#fff; cursor:pointer; }
form#jobSearchPaging input:hover { background:#7ebb54; }


div.emailSubscription { background:#efefef; padding:1em; margin:2em 0 1em 0; border-radius:0.5em; }
div.emailSubscription h2 { margin:0 !important; padding:0 !important; font-weight:bold !important; }
div.emailSubscription p { margin:0 !important; padding:0.5em 0 !important; }
form#emailSubscription { padding:0; margin:0; }
form#emailSubscription input { padding:0.35em 0.5em; font-size:1.25em; width:250px; max-width:95%; margin:5px 5px 5px 0; background:#fff !important; border:1px solid #ccc !important; border-radius:0.5em; color:#555 !important; vertical-align:middle; }
form#emailSubscription button { padding:0.35em 0.5em;font-size:1.25em; border-radius:0.25em; margin:5px 5px 5px 0;  border:0; background:#7ebb54; color:#fff; cursor:pointer;  vertical-align:middle; }
form#emailSubscription button:hover { background:#f26522; }
form#emailSubscription img { vertical-align:middle; display:none; }


div#cookieConsent {
	display: block;
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 15px;
	background-color: black;
	color: white;
	text-align: center;
	font-size: 1.15em;
}

div#cookieConsent a {
	display: inline-block;
	margin: 0 5px;
	color: #31a8f0;
}

div#cookieConsent a:hover {
	color: #b2f7ff;
}

div#cookieConsent button {
	background: yellow;
	color: black;
	font-size: 1em;
	padding: 3px 8px;
	border-radius: 5px;
	border: 0px;
	cursor: pointer;
}

div#cookieConsent button:hover {
	background-color: white;
}


/*------------------------------------------*/
/* responsive styles
/*------------------------------------------*/


@media screen and (max-width:800px) {
	div#pageContent { font-size:1.1em; }
	div#pageFooter div { font-size:1.25em; line-height:1.75em; }
	div#pageFooter div span { display:block; }
	div#pageFooter ul { float:none !important; margin-bottom:2em; }
}

@media screen and (max-width:650px) {
	div#navOuter { padding:0; }
	div#navMenuBar div { font-size:1.25em; }
	div#pageOuter { padding:40px 0 0 0; }
	.pageLimiter { padding:1.25em 1em 1.25em 1em; }
	.imgRight, .imgLeft { float:none !important; margin:1em 0 1em 0em !important; width:100% !important; }
	.imgBlock { padding:0.5em; }
	form#emailSubscription input { width:99%; }
}

@media screen and (max-width:400px) {
	div#navMenuBar div { font-size:1.1em; }
	div#navMenuButton { width:50%; }
	div#navSearchButton { width:50%; }
}

/*
@media screen and (max-width:850px) {
	div#as1 { float:none; width:468px; height:60px; margin-bottom:1em; }
	div#as2 { width:300px; }
	div#as3 { width:300px; }
}
@media screen and (max-width:580px) {
	div#as1 { float:none; width:234px; margin-bottom:1em; }
}
*/
