@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root{
 --carmacolour: #7c2d23;
 --carmacolourlight: #7c2d23;
}

html {
	height:100%;
}

body {
/*	font-family: 'Merriweather Sans', sans-serif; */
/*	font-family: 'Helvetica Neue', Arial, sans-serif;*/
	height:100%;
/*	font-family: 'Arial', sans-serif;*/
	font-family: 'Public Sans', sans-serif;
	font-size: 14pt;
	font-size: 18px;
	min-height: 100%;
	position: relative;
	padding: 0;
	margin: 0;
}

a {
	color: #00c;
	text-decoration: none;
}

/* corporate style */
h1 {
	xxxfont-family: 'FuseV2','Arial';
}
h2 {
	xxxfont-family: 'FuseV2','Arial';
}

/* style for the main content area */
.content {
	width: 98%;
	text-align: center;
	margin: 0 auto;
	padding-bottom: 50px;
}

.content h2 {
	margin: 5px;
}

/* styles (light or dark) for the main box headings */
.contentBox h1 {
	padding-left: 10px;
	margin: 10px;
	margin-top: 10px;
}
.contentBox h1.light,
.contentBox h1.light a {
	color: #f6fdff;
	text-shadow: 1px 1px 2px #111;
	margin: 10px;
}
.contentBox h1.dark,
.contentBox h1.dark a {
	color: black;
	text-shadow: 1px 1px 2px #eee;
}
.contentBox h1.light a:hover,
.contentBox h1.dark a:hover {
	color: #ccc;
	text-shadow: 1px 1px 1px #ee3;
	text-shadow: -1px -1px 0 #792a26,-1px 1px 0 #792a26,1px -1px 0 #792a26,1px 1px 0 #792a26;
}
/* stylings for the individual main boxes */
#events {
	overflow-y: auto;
	overflow-x: hidden;
}
#events h4 {
	font-size: 0.8em;
	margin: 0;
	color: #792a26;
	padding-left: 6px;
	padding-top: 5px;
	border-top: 1px solid #CCCCCC;
}

#events p {
	font-weight: 100;
	font-size: 14px;
	font-size: 11px; /* 2019 */
	padding-left: 12px;
	padding-right: 10px;
}
.eventsnotice {
	text-align: right;
	font-size: 0.65em;
	margin-top: 8px;
}
.eventnotes {
	font-weight: normal;
	font-size:0.8em;
}
.eventnotes td > b{
	font-weight: normal;
}

#news {
	xxxoverflow-y: auto;
	xxxoverflow-x: hidden;
	padding-right: 15px;
}
#news h4 {
	xxxfont-size: 0.8em;
	font-size: 14px; /* 2019 */
	margin: 0;
	xxxcolor: #792a26;
	color: #7C2D23;
	padding-left: 8px;
	padding-top: 5px;
	border-top: 1px solid #ccc;
}

#news p {
	font-weight: 100;
	xxxfont-size: 15px;
	font-size: 11px; /* 2019 */
	padding: 10px 10px;
	margin: 4px 0;
}
.highlightnews {
 background-color: #ffc;
}

#header {
	margin-bottom: 3px;
}

img {
	border:0;
}

#carma_bar {
	height: 45px;
	padding-top: 5px;
	padding-bottom: 20px;
	background-color: white;
	margin: 0;
}

#carma_bar h1.header1 {
	font-family: 'Merriweather Sans', sans-serif;
/*	font-family: 'Arial', sans-serif;*/
	font-family: 'Public Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	margin: 0;
}

h1.header2 {
	font-family: 'Merriweather Sans', sans-serif;
/*	font-family: 'Arial', sans-serif;*/
	font-family: 'Public Sans', sans-serif;
	font-weight: 700;
	font-size: 1.2em;
	font-size: 24px;
	margin: 0;
        margin-top: 0.5em;
}


#uon_bar {
	position:absolute;
	top:0;
	left:0;
	background:black;
	height:47px;
	width:100%;
	margin:0;
	padding:0;
}

#uon_bar h2 {
	font-family: 'Merriweather Sans', sans-serif;
/*	font-family: 'Arial', sans-serif;*/
	font-family: 'Public Sans', sans-serif;
	font-weight:400;
	font-size:0.5em;
	color:white;
	margin:0;
	padding-top:8px;
}

#uon_bar h1 {
	font-family: 'Merriweather Sans', sans-serif;
/*	font-family: 'Arial', sans-serif;*/
	font-family: 'Public Sans', sans-serif;
	font-weight:700;
	font-size:0.7em;
	color:white;
	margin:0;
}

.wrapLeft {
	float: left;
	margin: 0 15px;
	vertical-align: middle;
}

.barLogo {
	margin: 3px 15px;
	vertical-align: middle;
}

#pagecontainer {min-height:calc(100% - 36px); position:relative;}

.footer {
	clear: both;
	width: 100%;
	height: 35px;
	background: #CCC;
	border-top: 1px solid #9D9D9D;
	margin: 0 auto;
	padding: 0;
/*
	position: relative;
	position: absolute;
*/
	bottom: 0;
}

.footer p {
	text-align: center;
	font-size:0.5em;
}

.topnav {
	width: 100%;
	margin: 0 auto;
}

.topnav ul {
	list-style-type: square; 
	margin-top: 0;
	margin-bottom: 40px;
	text-align: center;
}

.topnav li {
	float: left;
	margin: 10px;
	margin-top: 0;
	margin-left: 30px;
}

/*
#research .contentBox {
 	margin-top: 0;
}
*/

.onegroup {
   xxxbox-shadow: 1px 1px 5px #666; /* keep? */
}

#research .research-gallery h2 {
	height: 2.5em;
}
#research .research-gallery .aboutgroup {
	height: 202px;
	position: relative;
	xxxbottom: 8em;
	overflow: hidden;
}

#research .research-gallery a {
	color: #ee3;
}
#research .research-more {
	text-align: right;
	margin-right: 20px;
	position: relative;
	top: 20px;
}

/* https://stackoverflow.com/questions/11837606/fading-out-text-at-bottom-of-a-section-with-transparent-div-but-height-stays-un */
#research .fadeout {
    position: relative; 
    bottom: 7em;
    height: 6em;

    bottom: 4em;
    height: 3em;

    background-image: linear-gradient(
        #3076B200 0%,
        #3076B2ff 100%
    );
}

#mobilemenumarker {
 display: none;
 cursor: pointer;
 color: white;
 font-size: 26px;
 padding-bottom: 4px;
 margin-left: 10px;
/* content: "\002630";*/
}

/* adjust the size of the main content boxes depending on window width */
@media only screen and ( min-width: 1600px ){
	/* put this here so that IE can cope */
	.contentBox {
		width: 460px;
	}
}

@media only screen and ( max-width: 1600px ){
	.contentBox {
		width: 430px;
	}
}

@media only screen and ( max-width: 1500px ){
	.contentBox {
		width: 400px;
	}
}

@media only screen and ( max-width: 1400px ){
	.contentBox {
		width: 360px;
	}
}

@media only screen and ( max-width: 1200px ){
	.contentBox {
		width: 320px;
	}
}

/*@media only screen and ( max-width: 720px ){*/
@media only screen and ( max-width: 768px ){
  body {
    font-size: initial;
  }
  .newcentrediv,
  .contentBox,
  .contentBox2 {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    clear: both;
  }
  .footer {
    height:60px;
  }

  #search {
    display: none;
  }
  #carma_bar {
    height: auto;
    padding: 0;
  }
  #carma_bar .barLogo {
    width: 120px;
    height: auto;
    float: right !important;
  }
  h1.header2 {
    margin: 10px 10px;
  }
  .menuyellow {
    margin: initial !important;
  }
  #mobilemenumarker {
    display: block;
  }
  nav {
    margin: 0;
    height: 0;
    overflow: hidden;
  }
  .mobilemenuopen {
    height: auto;
  }
}


/*
 xxxxxxxxxx 2019 styles xxxxxxxxxx
*/

  .sidebox {
   xxxwidth: 350px;
/*   width: 20%; */
width:initial; 
   height: 300px;
   float: left;
   margin-bottom: 20px;
   xxxoverflow-y: hidden;
   xxxbox-shadow: 1px 1px 5px #666; /* keep? */
  }
  .sideheadline {
   width: 100%;
   background: #7c2d23;
   color: black;
   text-shadow: none;
   margin: 0;
  }
  .sideheadline a {
   color: white;
  }


/* part of the 2021 styles for the homepage */

.onegroup {
 width:45%;
 height:280px;
 background-size:cover;
 background-position:center center;
}
.onegroup h2 {
 background-color: #0008;
}


 /* FLEX LAYOUT: */

  .sidebox{flex-grow:1; flex-basis:20%;}
  .research-gallery{flex-grow:2; flex-basis:60%;}
  .news-gallery{flex-grow: 1; flex-basis: 20%;}

  @media only screen and ( max-width: 768px ){
    .content{flex-direction: column;}
    .onegroup{width: initial;}
/*    .rgroup a{font-size: 12px;}*/
  }



  .ourlogo {
   text-align:center;
   border:0.04em solid #7c2d23;
   border:8px solid #7c2d23;
   valign:middle;
   line-height: 1.1em;
   font-size: 120px;
   width: 5em;
   border-radius: 50% / 50%;
   margin:15px auto;
   padding:0;
   padding-top:6px;
   font-family: Bellefair, serif;
   /* box-shadow: 22px 18px 3px #888; */
   /* text-shadow: 22px 18px 3px #888; */
   box-shadow: 3px 1px 0 #111,3px 2px 0 #111,3px 3px 0 #111,3px 4px 0 #111, 6px 8px 5px #888;
   box-shadow: 3px 1px 0 #111,3px 2px 0 #111,3px 3px 0 #111,3px 4px 0 #111,3px 5px 0 #111, 6px 18px 5px #888;
  }
  .sublogo {
   text-align: center;
   border-bottom: 1px solid #7c2d23;
   line-height: 1.1em;
   font-size: 14px;
   width: auto;
   padding: 6px;
   margin-bottom: 1px;
   font-family: Bellefair, serif;
   text-transform: uppercase;
  }

/*
  h1 a {
   color: inherit;
  }
*/

  .newcentrediv {
   display: inline-block;
   border: 2px solid black;
   border-radius: 10px;
   margin: 0 auto;
   padding: 0;
   height: 465px;
   width: 25%;
   vertical-align: top;
  }
.contentBox {
	font-size: 14px;
	font-weight: bold;
	margin: 0 auto;
	padding: 0;
	text-align: left;
   width: 90%;
   height: 450px;
}
.widecontent {
	width: 40%;
	xxxpadding: 0;
}

  /* this limit defines a "small" screen */
  @media only screen and ( max-width: 980px ){
   .ourlogo {
    font-size: 50px;
   }
  }



#uon_bar {
 display: none;
}
#search {
 padding-top: 10px;
}
#duckduckgo {
 margin: 12px;
}


