/*
Theme Name: The Hearing Research Foundation
Theme URI: vitalcolour.co.nz
Author: Vital Colour
Author URI: https://www.vitalcolour.co.nz
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



@font-face {
  font-family: "RealtimeRounded-Black";
  src: url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.eot"); /* IE9 Compat Modes */
  src: url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.otf") format("opentype"), /* Open Type Font */
    url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.svg") format("svg"), /* Legacy iOS */
    url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.woff") format("woff"), /* Modern Browsers */
    url("fonts/RealtimeRounded-Black/fonts/RealtimeRoundedBlack.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "RealtimeRounded-Bold";
  src: url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.eot"); /* IE9 Compat Modes */
  src: url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.otf") format("opentype"), /* Open Type Font */
    url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.svg") format("svg"), /* Legacy iOS */
    url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.woff") format("woff"), /* Modern Browsers */
    url("fonts/RealtimeRounded-Bold/fonts/RealtimeRoundedBold.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "RealtimeRounded-Light";
  src: url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.eot"); /* IE9 Compat Modes */
  src: url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.otf") format("opentype"), /* Open Type Font */
    url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.svg") format("svg"), /* Legacy iOS */
    url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.woff") format("woff"), /* Modern Browsers */
    url("fonts/RealtimeRounded-Light/fonts/RealtimeRoundedLight.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "RealtimeRounded-Regular";
  src: url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.eot"); /* IE9 Compat Modes */
  src: url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.otf") format("opentype"), /* Open Type Font */
    url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.svg") format("svg"), /* Legacy iOS */
    url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.woff") format("woff"), /* Modern Browsers */
    url("fonts/RealtimeRounded-Regular/fonts/RealtimeRounded.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "RealtimeRounded-Semibold";
  src: url("fonts/RealtimeRounded-Semibold/fonts/RealtimeRoundedSemibold.eot"); /* IE9 Compat Modes */
  src: url("fonts/RealtimeRounded-Semibold/fonts/RealtimeRoundedSemibold.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/RealtimeRounded-Semibold/fonts/RealtimeRoundedSemibold.otf") format("opentype"), /* Open Type Font */
    url("fonts/RealtimeRounded-Semibold/fonts/fonts/RealtimeRoundedSemibold.svg") format("svg"), /* Legacy iOS */
    url("fonts/RealtimeRounded-Semibold/fonts/fonts/RealtimeRoundedSemibold.ttf") format("truetype"), /* Safari, Android, iOS */
    url("fonts/RealtimeRounded-Semibold/fonts/fonts/RealtimeRoundedSemibold.woff") format("woff"), /* Modern Browsers */
    url("fonts/RealtimeRounded-Semibold/fonts/fonts/RealtimeRoundedSemibold.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}


/* Global
------------------------------------------------------------------------------*/

body {
	margin: 0;
	padding: 0;
	font-family: "RealtimeRounded-Light";
	letter-spacing: -0.005em;
	color: #000;
	font-size: 18px;
	line-height: 20px;
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: #fff;
	font-weight: normal;
}

html	
{
    margin: 0;
    padding: 0;
    min-height: 100%; 
}

a:link, a:visited, a:active {
    /*background-color: transparent;*/
    text-decoration: none!important;
}

a img {border: none; }

a {
	color: #97b7cc;
	transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear, text-shadow .3s;
}

:focus, a:focus {
    outline: 0!important;
}

a:focus,  a:hover {
	color: #000;	
	/*text-shadow: 0 0 .65px #333, 0 0 .65px #333;*/
}


a, a:active, a:focus, a:hover, a:link {
    outline: none!important;
}

* {box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}


p {
    padding: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0;
}

textarea:focus, input:focus, button:focus {
    outline: 0!important;
}
*:focus {
    outline: 0;
}

img{ display: inline-block; max-width: 100%; height: auto; }

hr {
    border: none;
    height: 1px;
    color: #fff; /* old IE */
    background-color: #fff; /* Modern Browsers */
	margin-top: 35px;
}
/*
h1, h2, h3 {
letter-spacing: -0.005em!important;
}*/

/* Active link WordPress
------------------------------------------------------------------------------*/

li.current-menu-item, li.current-menu-item a {
	color: #000 !important;
}

/* Content Global
------------------------------------------------------------------------------*/


.content h2 {
font-size: 25px;
line-height: 28px;
font-family: "RealtimeRounded-Black";
color: #97b7cc;
padding-top: 15px;
letter-spacing: -0.005em;
font-weight:normal;	
}

.content h3 {
font-size: 16px;
line-height: 18px;
font-family: "RealtimeRounded-Black";
color: #2b5d70;
padding-top: 30px;
letter-spacing: -0.005em;
font-weight:normal;	
}


.content {
padding-top: 30px;
color: #4b4b4a;
letter-spacing: -0.002em
}

.content a {
color: #7595a5;		
}

.content a:hover {
color: #000;		
}

/* Bullet lists updated*/

.content ul {
	margin-top: -8px;
	padding-left: 0;
	margin-left: 25px;
	text-align: left;
	}
	
.content li {
      list-style: none;
	  padding-top: 8px;
    }

.content li:before {
	/* For a round bullet */
      /* For a square bullet */
	content: '\2022';
	display: block;
	position: relative;
	max-width: 0px;
	max-height: 0px;
	left: -27px;
	top: -2px;
	font-size: 36px;
    }
/* Home page Header only
------------------------------------------------------------------------------*/
/*
.home .header-links li:first-of-type {
display: none;
}*/


/* Header
------------------------------------------------------------------------------*/
.header-logo {
	position: absolute;
	bottom: 0;
	left: 0;
	display: inline-block;
	margin-bottom: 5px;
	margin-left: 15px;
  z-index: 100;
}

header {
	padding-bottom: 30px;
}

header .container {
color: #000;
position:relative;	
}

.header-links ul {
	font-family: "RealtimeRounded-Black";
	display: inline-block;
	list-style: none;
	padding: 0px;
	float: right;
	text-align: right;
	margin-top: 65px;
	margin-bottom: 50px;
	margin-right: 0px;
	margin-left: 0px;
	font-size: 19px;
	line-height: 19px;
}

.header-links ul li:after {
	font-family: "arrows";
	content: "\61";
	position: absolute;
	top: 6px;
	right: 0px;
	color: #97b7cc;
}

@-moz-document url-prefix() { 
  .header-links ul li:after {
	top: 3px;
}
}


.header-links ul li a {
	color: #97b7cc;
	font-weight:normal;	
}

.header-links ul li a:hover, .header-links ul li:hover:after	{
	color: #000;
}

.header-links ul li {
	position: relative;
	padding-right: 32px;
	padding-bottom: 7px;
}


/* Home page sections
------------------------------------------------------------------------------*/

.sections {
	font-family: "RealtimeRounded-Regular";
	font-size: 16px;
	line-height: 23px;
	padding-top: 24px;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
}

.sections-wrapper  {
	background-color: #f1f1f1;
		transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear, text-shadow .3s;
}

.sections-wrapper a {
	color: #4b4b4a;
}

.sections-wrapper:hover, .sections-wrapper a:hover {
	color: #4b4b4a;
	background-color: #e2e2e2;
}

/*
.sections-wrapper a:hover p:last-of-type:after {
color: #617a84;	
}*/

.sections-wrapper {
position: relative;
}


.sections h2 {
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 10px;
}

.sections p:last-of-type {
	padding: 0px;
	margin: 0px;
}

.section-info-lt {
	position: absolute;
	top: 0;
	left: 30px;
	display: inline-block;
	background-color: #97b7cc;
	font-family: "RealtimeRounded-Bold";
	color: #fff;
	padding-top: 14px;
	padding-right: 18px;
	padding-bottom: 14px;
	padding-left: 18px;
	text-transform: uppercase;
	font-weight:normal;
}

.section-info-dk {
	background-color: #7595a5;
}

.sections p:last-of-type:after {
	font-family: "arrows";
	content: "\62";
	color: #97b7cc;
	display: inline;
    position: relative;
	top: 4px;
	margin-left: 5px;
}


.support .sections  {
	font-size: 16px;
	line-height: 23px;
	color: #7595a5;
	font-family: "RealtimeRounded-Bold";
	font-weight: normal;
}


/* Global Banner
------------------------------------------------------------------------------*/

.banner {
	/*background-image: url(images/banner-img.png);*/
	 background-repeat:no-repeat;
    background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	width: 100%;
	height:460px;
    display:table;
	background-color: #89b8ce;
	}

.banner h1 {
	font-size: 25px;
	line-height: 28px;
	font-family: "RealtimeRounded-Regular";
	color: #fff;
	letter-spacing: -0.005em;
	max-width: 700px;
	display: inline-block;
	vertical-align: top; /* Removes the extra white space below the baseline */
	padding-top: 40px;
	padding-right: 35px;
	padding-bottom: 35px;
	padding-left: 35px;
}

.banner .history h1 {
	font-size: 25px;
	line-height: 28px;
	font-family: "RealtimeRounded-Regular";
	color: #fff;
	letter-spacing: -0.005em;
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	vertical-align: top; /* Removes the extra white space below the baseline */
	padding-top: 40px;
	padding-right: 35px;
	padding-bottom: 35px;
	padding-left: 35px;
}

.banner .history h1 ~ p {
	margin-top: -20px;
}

.banner .history p {
	font-size: 25px;
	line-height: 28px;
	font-family: "RealtimeRounded-Regular";
	color: #fff;
	letter-spacing: -0.005em;
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	vertical-align: top; /* Removes the extra white space below the baseline */
	padding-top: 0px;
	padding-right: 35px;
	padding-bottom: 15px;
	padding-left: 35px;
	
}

.banner .contact-content p {
	font-size: 25px;
	line-height: 28px;
	font-family: "RealtimeRounded-Regular";
	color: #fff;
	letter-spacing: -0.005em;
	max-width: 740px;
	vertical-align: top; /* Removes the extra white space below the baseline */
	padding-top: 0px;
	padding-right: 35px;
	padding-bottom: 15px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 35px;
	margin-right: auto;
	margin-left: auto;
	
}

.banner a {
	color: #FFF;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
}

.banner a:hover {
	color: #000;
	border: none;
}



.centre-align {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

/* Research
------------------------------------------------------------------------------*/

.research-wrapper {
	background-color: #fff;
	display: block;
	float: left;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #97b7cc;
	padding-top: 30px;
}


.research .col-lg-12:first-of-type .research-wrapper {
	border: none;
	padding-top: 0px;
}

.research-wrapper  h2 {
font-size: 25px;
line-height: 27px;
}


.research-img img {
	width: 100%;
	height: auto;

}

.research-img {
	width: 32.5%;

}
.research-content {
	width: 67.5%;
	padding-top: 0px;
	padding-right: 40px;
	padding-bottom: 73px;
	padding-left: 40px;
	position: relative;
}

.research-img, .research-content {
	display: table-cell;
	vertical-align: top;
}


.research-content {
	position: relative;
}

.research-wrapper .research-content h2:first-of-type {
	margin-top: 0px;
	padding-top: 0px;
}

.research-content a.find-out-more {
	background-color: #4b4b4a;
	color: #fff;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left:40px;
	padding-top: 14px;
	padding-right: 18px;
	padding-bottom: 14px;
	padding-left: 18px;
	font-family: "RealtimeRounded-Semibold";
	text-transform: uppercase;
}

.research-content a.find-out-more:hover {
	background-color: #000;
}

.research .col-lg-12 {
	margin-top: 30px;
}

.research .col-lg-12:first-of-type {
	margin-top: 0px;
}


/* Projects
------------------------------------------------------------------------------*/
.default-wrapper {
	background-color: #fff;
	display: block;
	float: left;
	display: table;
}

.default-content {
	display: block;
	width: 100%;
	min-height: 180px;
}




.nav_previous, .nav_next {
	display: inline-block;
}

.nav_previous {
float: left;
}

.nav_next {
float: right;
}


/* Projects
------------------------------------------------------------------------------*/

.projets-wrapper {
	background-color: #f1f1f1;
	display: block;
	float: left;
}

.projets-img img {
	width: 100%;
	height: auto;

}

.projets-img, .projets-content {
	display: table-cell;
	vertical-align: top;
	width: 50%;
}


.projets-content {
	padding-top: 40px;
	padding-right: 40px;
	padding-bottom: 65px;
	padding-left: 40px;
	display: table-cell;
	position: relative;
}


.projets-wrapper .projets-content h2:first-of-type {
	margin-top: 0px;
	padding-top: 0px;
}

.projets-content a.find-out-more {
	background-color: #4b4b4a;
	color: #fff;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left:40px;
	padding-top: 14px;
	padding-right: 18px;
	padding-bottom: 14px;
	padding-left: 18px;
	font-family: "RealtimeRounded-Semibold";
	text-transform: uppercase;
}

.projets-content a.find-out-more:hover {
	background-color: #000;
}

.projets .col-lg-12 {
	margin-top: 30px;
}

.projets .col-lg-12:first-of-type {
	margin-top: 0px;
}


/* About
------------------------------------------------------------------------------*/


div.history-section {
	padding-top: 40px;
	padding-bottom: 20px;
	max-width: 820px;
	}
	
	.trustees .col-xl-4 {
		padding-top: 30px;
		
	}
	
	.trustees .col-xl-4 img {
		width: 100%;
		height: auto;
	}
	
	.trustees-wrapper {
	background-color: #f1f1f1;
	}
	
	.trustees-content {
	padding-top: 0px;
	padding-left: 40px;
	padding-right: 40px;
	padding-bottom: 30px;
	}
	
	.trustees h2 {
	margin-bottom: -15px;
	padding-bottom: 0px;
	}
    


/* Links
------------------------------------------------------------------------------*/


   .links {
	background-color: #97b7cc;
	color: #fff;
	padding-bottom: 80px;
	padding-top: 35px;
	}
	
	.links h2, .links p {
	color: #fff;	
		
	}
	
	.links a {
	color: #fff;
	}
	
	.links h2 {
	margin-bottom: 12px;	
	}
	.links p {
	font-family: "RealtimeRounded-Regular";
	margin-bottom: 12px;
		
	}


/* Footer Banner
------------------------------------------------------------------------------*/


.footer-banner {
	background-image: url(images/eisdell-moore-centre.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 292px;
	position: relative;
	margin-top: 30px;
	}
	
	.footer-banner:after {
    content: "";
    background: rgba(80, 101, 109, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-banner > * {
    z-index: 10;
}

.footer-banner h3 {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 23px;
	line-height: 28px;
	font-family: "RealtimeRounded-Semibold";
	color: #ffff;
	padding: 30px;
	letter-spacing: -0.005em;
	font-weight: normal;
	z-index: 100;
	max-width: 496px;	
}

.footer-banner a.find-out-more {
	background-color: #4b4b4a;
	color: #fff;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 30px;
	padding-top: 14px;
	padding-right: 18px;
	padding-bottom: 14px;
	padding-left: 18px;
	font-family: "RealtimeRounded-Semibold";
	text-transform: uppercase;
}

.footer-banner a.find-out-more:hover {
	background-color: #000;
}


/* Slide out menu toggle / Nav css
------------------------------------------------------------------------------*/


.flaticon-cross-out:before { content: "\f123"; color: #7595a5; font-size: 26px !important;}



/* Website section styles and colours plus Banner
=================================================================================*/

.banner-home img {
	height: auto;
	width: 100%;
}

.banner-home .col-lg-6 {
	padding: 0px;
}

.banner-home  {
	position: relative;
}

.banner-home .centre-img  {
	width: auto;
  position: absolute;
  z-index: 50;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "RealtimeRounded-Light";
}


/* Footer
------------------------------------------------------------------------------*/

.footer {
	text-align: left;
	color: #7595a5;
	/*text-transform: uppercase;*/
	padding-bottom: 60px;
	margin-bottom: 80px;
	margin-top: 10px;
	letter-spacing: -0.005em;
	font-size: 16px;
	line-height: 18px;
}

.footer .copyright {
	font-size: 14px;
}


.footer h3 {
	font-family: "RealtimeRounded-Bold";
	font-size: 16px;
	line-height: 18px;
	padding-bottom: 6px;
	margin-bottom: 0px;
     color: #7595a5;
}

/*
.footer .col-lg-7 {
	border: 1px solid #F30;	
}*/



.footer:before {
	content: "";
	top: 0px;
	width: 100%;
	display: block;
	height: 1px;
	background-color: #97b7cc;
	position:relative;
}


.footer ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-family: RealtimeRounded-Black;
	font-size: 16px;
	color: #7595a5;	
}

.footer ul li:before {
   content: "|";
      color: #97b7cc;
   position: absolute;
   bottom: 0;
   right: 0;
   font-family: RealtimeRounded-Black;
}
.footer ul li:last-of-type:before {
   content: "|";
   display: none;
}

.footer ul li:first-of-type {
   padding-left: 0px;
}

footer li {
	float: left;
	padding-right: 20px;
	padding-left: 12px;
	position:relative;
}

footer a {
	color:  #7595a5;
	font-weight: normal;
}

footer a:hover {
	color: #000;
}

footer .col-lg-7 p {
	font-family: RealtimeRounded-Regular;
}

footer .col-lg-5 p {
	font-family: RealtimeRounded-Semibold;
	line-height: 20px;
	max-width: 365px;
	float: right;
	padding-right: 50px;
	color: #4b4b4a;
	text-transform: uppercase;
	font-size: 15px;
}

.footer .col-lg-7, .footer .col-lg-5 {
	padding-top: 24px;
}



/* Back to Top
------------------------------------------------------------------------------*/
#back-to-top, .touch-device #back-to-top:hover{
background-color:#7595a5;
bottom:17px;
color:transparent;
display:none;
font:0/0 a;
height:46px;
position:fixed;
right:25px;
text-shadow:none;
-webkit-transition:all .2s ease;
-moz-transition:all .2s ease;
-ms-transition:all .2s ease;
-o-transition:all .2s ease;
transition:all .2s ease;
width:45px;
z-index:100;
-moz-border-radius: 45px;
-webkit-border-radius: 45px;
border-radius: 45px;
-khtml-border-radius: 45px;
background-image: url("images/arrow-up-large.png");
background-repeat: no-repeat;
background-position: center center;}

#back-to-top:hover, .touch-device #back-to-top:active{background-color:#000;}
.menu-item-has-children .icon-angle-down{display:none;}



div.archive-footer {
	margin-top: 15px !important;
}

          
.view-archive a {
    font-size: 18px;
    font-family: RealtimeRounded-Semibold;
    color: #97b7cc;
}
  
  ul.pagination {
    text-align: center;
    display: table;
    margin: 0 auto;
}
.pagination li {
    padding: 0;
    display: inline-block;
}
.pagination li a {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}
.pagination li.active a {
    border: 1px solid #7495a5;
}




.morelink {
	background-color: #4b4b4a;
	font-size: 17px!important;
	color: #fff !important;
	display: inline-block;
	position: absolute!important;
	bottom: 0px;
	left:40px;
	padding-top: 14px;
	padding-right: 18px;
	padding-bottom: 14px;
	padding-left: 18px;
	font-family: "RealtimeRounded-Semibold";
	text-transform: uppercase;

}

.morelink:hover {
	background-color: #000;
}
