/*!
Theme Name: CCCU Research Site
Theme URI: https://www.canterbury.ac.uk/
Author: Loot and Mildred
Author URI: https://www.canterbury.ac.uk/
Description: Custom wordpress theme for Canterbury Christ Church University Research Site. Use this for a mircosite.
Version: 1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cccu-research
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


Big up Tyrone Cox.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# CCCU Styles (Where the magic happens)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}




/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}


/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
/******************************************
Font definitions - Humanist777 and Recoleta
******************************************/

@font-face {
    font-family: 'Basis';
    src: url('../fonts/basis-grotesque-regular.woff') format('woff'),
         url('../fonts/basis-grotesque-regular.woff2') format('woff2');
    font-weight: 400;
	font-style: normal;
}
@font-face {
    font-family: 'Basis Bold';
    src: url('../fonts/basis-grotesque-bold.woff') format('woff'),
		url('../fonts/basis-grotesque-bold.woff2') format('woff2');
	font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Recoleta Regular';
    src: url('../fonts/recoleta-regular.woff') format('woff'),
         url('../fonts/recoleta-regular.woff2') format('woff2');

		font-weight: 400;
		font-style: normal;
}
@font-face {
    font-family: 'Recoleta Regular';
    src: url('../fonts/recoleta-regular.woff') format('woff'),
         url('../fonts/recoleta-regular.woff2') format('woff2');
			font-weight: 700;
		font-style: normal;

}
@font-face {
    font-family: 'Recoleta Bold';
    src: url('../fonts/recoleta-bold.woff') format('woff'),
         url('../fonts/recoleta-bold.woff2') format('woff2');
    font-weight: 700;
	font-style: normal;
}
html {
	box-sizing: border-box;
	color: #404040;
	font-size: 16px;
	font-family: Basis, sans-serif;
	line-height: 40px;
}
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: Basis;
	font-weight: 400;
	font-size: 1rem;
	line-height: 2;
}
h1 {
	font-family: Recoleta Bold;
	font-size: 4rem;
}
h2 {
	font-family: Basis Bold;
	font-size: 2.5rem;
    color: #0a1e59;
	font-weight: bold;
	line-height: 1.25;
    margin-bottom: 3rem;
}
h3 {
	font-family: Basis Bold;
    font-size: 1.875rem;
    color: #0a1e59;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 2rem;
}
.widget h3 {
	font-family: Basis Bold;
    font-size: 1.875rem;
    color: #0a1e59;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 2rem;
    text-transform: lowercase;
}
.widget h3:first-letter {
	font-family: Basis Bold;
	font-size: 1.875rem;
	color: #0a1e59;
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 2rem;
	text-transform: uppercase;
}
h4 {
	font-family: Basis Bold;
    font-size: 1.5rem;
    color: #0a1e59;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 2rem;
}
h5{
	font-family: Basis Bold;
    font-size: 1.25rem;
    color: #0a1e59;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
}
h6 {
	font-family: Humanist Bold;
    color: #0a1e59;
    line-height: 1.4;
    font-weight: 400;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
p {
	font-family: Basis;
	font-size: 16px;
	line-height: 2;
	margin-bottom: 2rem;
	color: #181D3D;
}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
/*
ol {
	margin: 0 0 1.5em 3em;
}
*/

/*
ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}
*/
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
	/*max-height: 580px;*/
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #0A1E59;
}

a:visited {
	color: none;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}
.widget_nav_menu{
	width: 315px;
}

/*  Verity edits -

Dropdown menu
--------------------------------------------- */

.dropdown-menu{
	border: #eeebe8 solid 1px;
	box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15);
border-radius: 4px;


}
.dropdown-menu a {

    white-space: normal;
}


.dropdown-item:hover{
	background-color:#eeebe8;
	margin-left: 0px;
	margin-right:0px;
	padding-left: 15px;


}
.dropdown-menu .dropdown-item{
		color:#181D3D;
		font-weight: 400;
		font-size: 14px;
			padding-right: 10px;
			margin-left: 0px;
			margin-right:0px;
			padding-left: 15px;

}

.dropdown-toggle{
	font-size: 16px;
	font-weight: 700;
	color: #181D3D;


}

.dropdown-menu .current_page_item {

		margin: 0px;
		padding-right: 20px;
		border: none;
}

/* sidebar menu
--------------------------------------------- */

.menu-sidebar-container li.menu-item-type-post_type{
	border-bottom: none;
	padding: 8px 0;
  border-bottom: 1px solid white;
  position: relative;
  width: 100%;

}

.menu-side-menu-container{
			 background: #eeebe8;
			 border-top-right-radius: 13px;
			  border-bottom-right-radius: 13px;

}

.menu-side-menu-container li:not(.sub-menu) {
	border-top: 1px solid white;
	width: 100%;

}
ul.sub-menu a{
	font-weight: 400;
	font-size: 14px;

}


li.menu-item-has-children{
	padding: 0!important;
}

 .menu-side-menu-container li.current-menu-item a{
	 border-left: 4px solid #304FFF;
     margin: 0;
			 padding: 11px;

 }


li.current-menu-item{
 padding-top: 0!important;
 padding-bottom: 0!important;
}
 .menu-side-menu-container .menu-item-has-children li:not(.sub-menu) a{
	 border-top: none;
	 border-left: none;

	 background: #eeebe8;
	 display: none;
	 padding-left: 16px;
	 padding-top: 12px;


 }



 .menu-side-menu-container li:first-of-type{
	 border-top: none;

 }

.menu-side-menu-container .menu-item-has-children li:not(.sub-menu) {
	padding-top: 0;

}


.menu-side-menu-container li.current-menu-item ul.sub-menu a{
	display: flex;
	border-top: 1px solid white;
	width: 100%;
}

.menu-side-menu-container li.current_page_item{
 margin-left: 0;

}



 .menu-side-menu-container  ul.sub-menu .current-menu-item  a{
 	border-left: 4px solid #304FFF;
      margin: 0;
      background: #eeebe8;
      padding: 12px;
		 display: flex;
		 border-top: white solid 1px;
		 width: 100%;



 }

li.current_page_item .menu-sidebar-container {
	border-bottom: none;
}

 .menu-sidebar-container  li.current-menu-item  {
  border-left: 4px solid #304FFF;
     margin: 0;
     background: #eeebe8;
     padding: 6px 0;

}


.menu-sidebar-container ul.menu  {
	background: #eeebe8;
	width: 90%;
}
.menu-sidebar-container ul:first-of-type{
			border-top-right-radius: 13px;
}
.menu-sidebar-container ul:last-of-type{
				border-bottom-right-radius: 13px;
}
.menu-sidebar-container li.current_page_item:first-of-type{
		border-top-right-radius: 13px;
}
.menu-sidebar-container li.current_page_item:last-of-type{
		border-bottom-right-radius: 13px;
}

.menu a{
	display: block;
	font-weight: 200;
	color: rgb(21, 66, 147);
}
.navbar-nav	.current_page_item a{
			border-bottom: 4px solid #304FFF;

}









/* End of Verity Edits --------------------------------------------- */



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	/*margin: 0 0 1.5em;*/
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
/*.widget {
	margin: 0 0 1.5em;
}*/

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/******************************************
CCCU Styles
******************************************/
.navbar{
	padding: 20px 0;
}
.navbar-nav a:hover{
	text-decoration: none;
}
.menu-related-links-container .menu-item a{
	padding-right: 72px;
}
.menu-research-links-container .menu-item a{
	padding-right: 72px;
}

.menu-item a{
	font-family: Basis Bold;
	font-weight: 700;
	font-size: 16px;
	align-items: center;
	color: #181D3D;
	margin: 0 0 0 15px;
	text-decoration: none;
	padding: 0px 0 6px;
	padding-top: 6px;

	display: grid;
}
.current_page_item {
	font-family: Basis;
	font-size: 16px;
    font-weight: 700;
	align-items: center;
	color: #181D3D;
	margin: 0 15px;
	text-decoration: none;
	padding: 0px 0 4px;



}
.menu-related-links-container a:after{
	content: '';
	background-image: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research-site/assets/img/left-arrow-cornflower-small.svg);

	display: flex;
	transform: rotate(180deg);
	    background-repeat: no-repeat;
	    height: 20px;
	    width: 20px;
			position: absolute;
	    right: 10px;

	}

	.menu-research-links-container a:after{
		content: '';
		background-image: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research-site/assets/img/left-arrow-cornflower-small.svg);
		display: flex;
		transform: rotate(180deg);
		    background-repeat: no-repeat;
		    height: 20px;
		    width: 20px;
				position: absolute;
		    right: 10px;

		}


.menu-item-has-children:not(.dropdown-menu) a:after{
	content: '';
	background-image: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research-site/assets/img/vector-down.svg);
  display: block;
	height: 10px;
	background-repeat: no-repeat;
	position: absolute;
    right: 0;
		margin-right: -8px;
		margin-bottom: 8px;
}


.menu-item-has-children:not(.dropdown-menu) a[aria-expanded="false"]:after{
	margin-right: -16px;
	margin-bottom: -2px;
}


.dropdown-menu .current_page_item a {
		border-bottom:none;
}
/* .dropdown:hover .dropdown-menu {
    display: block;


    margin-top: 0; /* remove the gap so it doesn't close */
} */
.dropdown-menu .current_page_item a{
	border-bottom: none;

}
.dropdown-menu .current_page_item li{
	background:#eeebe8;
}
.menu-side-menu-container li{
	border-bottom: none;
}

.current_page_item a{
	color: #181D3D;
}
/* dropdown menu icon */
.dropdown-toggle[aria-expanded="true"]:after {
  transform: rotate(180deg);
	  vertical-align: 2px;
		width: 11px;

}
/* for the animation */


.dropdown-toggle:after {
    display: none;
    width: 16px;
    height: 0;
    vertical-align: -7px;
    content: "";
    border: 0;
  background: url("/wp-content/themes/cccu-research-site/assets/img/vector-down.png") no-repeat;
}
/* dropdown menu icon ends */

h1.page-title{
	font-size: 30px;
    line-height: 40px;
	color: #0A1E59;
}
h1.micro-home{
    margin-top: 0px;
}
/* Search title */

h2.chw-title{
	display: none;
}
label{
	width: 80%;
}
.search-form{
    align-items: center;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-color: #181D3D;
    padding: 0px 16px;
    border-radius: 24px;
}
.search-field{
	border: none !important;
    padding-top: 8px !important;
	width: 90%;
}
input.search-submit{
	background: url("https://research.canterbury.ac.uk/wp-content/themes/cccu-research/assets/img/feather_search.svg") no-repeat;
	border: none;
	height: 25px;
    width: 25px;
	float: right;
	margin-top: 9px;
}

input[value="Search"] {
	color: rgba(0,0,0,0);
}
input[type="search"]{
	border: none !important;
	width: 100%;
}
/* Blocks search styles start here*/
.wp-block-search{
    align-items: center;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-color: #181D3D;
    padding: 0px 16px;
    border-radius: 24px;
}
.wp-block-search__label{
    display: none;
}
.wp-block-search__inside-wrapper{
    border: 0 !important;
}

.wp-block-search .wp-block-search__button{
    color: #fff;
    background: url("https://research.canterbury.ac.uk/wp-content/themes/cccu-research/assets/img/feather_search.svg") no-repeat;
    height: 25px;
    width: 25px;
    border: 0;
    margin: 3px 0;
}
.wp-block-search .wp-block-search__button svg{
        display: none;
}
/* Hero */

.hero img {
	border-bottom:8px solid #304FFF;
}
.hero h1 {
	font-family: Recoleta;
	font-style: normal;
	font-weight: 600;
	font-size: 64px;
	color: #FFFFFF;
	margin:0 0 80px;
}
.hero .hero-title p {
	margin-bottom: 0;
}
.hero h1 span {
	 color: #D81E05;
}
.hero {
  position:relative;
  display:inline-block;
	margin-bottom: 80px;
}
.hero:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height: calc(100% - 6px);
  display:inline-block;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0, 0.5) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0, 0.5)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0, 0.5) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0, 0, 0, 0.5) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0, 0, 0, 0.5) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0, 0, 0, 0.5) 100%); /* W3C */
}
.hero img {
  display:block;
}
.hero .blogs-link img {
	border-bottom: none;
	background: none;
	margin-right: 8px;
	display: inline-block;
}
.hero-title {
	position: absolute;
    bottom: 0;
    left: 0;
	z-index: 2;
	margin-left: 8.333333%;
}
.hero-heading span{
    color: #D81E05;
}
a.blogs-link {
	font-family: Basis;
    color: #fff;
    font-size: 1.5rem;
}
/* Hero post no image*/

.hero-post-no-img {
	display:flex !important;
	margin-bottom: 80px;
	border-bottom:8px solid #304FFF;
    background:  linear-gradient(90deg, #233288 -1.17%, #0A1E59 -1.11%, #181D3D 100%);
}
.hero-post-no-img-title {
    bottom: 0;
    left: 0;
	z-index: 2;
	margin-top: 60px;
}
.hero-post-no-img h1 {
	color: #FFFFFF;
	margin:0 0 80px;
}
.hero-post-no-img .blogs-link img {
	border-bottom: none;
	background: none;
	margin-right: 8px;
	display: inline-block;
}
.hero-post-no-img h1 span {
	 color: #D81E05;
}
/* Hero for homepage image */
.hero-post .hero-post-title p {
	margin-bottom: 0;
}
img.cropped2{  width: 576px;
    height: 434px;
    object-fit: cover;
    object-position: 69%;
}
.hero-bg-image{
       position: relative;
    margin-bottom: 80px;
    border-bottom: 8px solid #304FFF;
    background: #0A1E59; 
    width: 100%;
    text-align: center;
    /*height: 580px;*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.hero-bg-image:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height: calc(100% - 0px);
  display:inline-block;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0, 0.7) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0, 0.7)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0, 0.7) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0, 0, 0, 0.7) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0, 0, 0, 0.7) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0, 0, 0, 0.7) 100%); /* W3C */
}
.hero-bg-image img{
    height: auto;
    width: 100%;
}
img.hp-hero-image-bg{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.hero-post-title {
	position: absolute;
    bottom: 0;
	z-index: 2;
    color: #fff;
}
h1.hero-heading{
    text-align: left;
    max-width: 600px;
}
/* Promoted Blog post */
.promoted-blog img {
	border-bottom: none;
	background: none;
    display: inline-block;
	max-height: 832px;
}
/* News cards */
.blog-card{
	box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	overflow: auto;
	margin-bottom: 80px;
}
.news-card img{
	border-radius: 12px 12px 0px 0px;
	border-bottom: 8px solid #304FFF;
	height: 185px;
    object-fit: cover;

}
.news-card h2.entry-title{
	margin-top: 16px;
	font-size: 18px;
	line-height: 24px;
	color: #0A1E59;
}
img.wp-post-image {
	min-width: 100%;
}
h2.entry-title, .news-content, .entry-meta {
	margin: 16px;
	font-size: 14px;
}
.news-content p{
    line-height: 1.4;
}
.entry-content {
	margin-bottom: 40px;
}
.entry-meta .cat-links {
	margin-top: 15px;
    display: block;
}
span.news-time{
	display: flex;
 	align-items: center;
}
img.news-date{
	    height: 24px;
    border-radius: 0;
    border-bottom: 0;
}
.entry-meta span.edit-link{
	display:none;
}
.entry-meta .comments-link{
	display:none;
}
span.share-icons{
    padding-left: 10px;
}
#comments{
	margin-top: 40px;
	color: #0A1E59;
}
/* Aside styles */
.widget-area .widget {
	margin-bottom: 80px;
}
.widget-area h2, h3,h4, h5, p{
	margin-bottom: 1.5rem;
}
.widget-author{
	font-size: 14px;
	line-height: 20px;
}
.widget ul{
	list-style: none !important;
    margin: 0;
    padding: 0px;
	 font-size: 18px;
}
.widget li{
	padding: 6px 0;
}
.widget.datep li img{
	padding-right: 8px;
}
/*.widget li.cat-item a{
	font-family: Humanist Light;
	font-style: normal;
	font-weight: normal;
	line-height: 24px;
}*/
.widget li.widget img{
	padding-right: 5px;
}
.widget select{
	width: 100%;
	height: 40px;
	background: #F5F6FF;
	border-radius: 24px;
	padding: 8px 16px;
	position: relative;
	color: #0A1E59;

}
.widget select{
 padding: 4px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research/assets/img/down-#eeebe8.svg) 94% / 5% no-repeat #F5F6FF;
 color: #0A1E59;

}
.blog-list ul{
	list-style: none !important;
    margin: 0;
    padding: 0px;
	 font-size: 18px;
}
.blog-list li{
    list-style-type:none;
}
.tagcloud a.tag-cloud-link{
	font-family: Basis;
    font-style: normal;
    font-weight: 300;
    font-size: 16px !important;
    line-height: 45px;
    background: #EFEDEC;
    border-radius: 8px;
    height: 40px;
    padding: 10px;
}
.research-widget {
    /*height: 160px;*/
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0px 12px 12px 0px;
    border-left: 4px solid #304FFF;
    padding: 24px;
    background: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research/assets/img/research-home.svg) no-repeat -16px -12px;
}
.research-widget h3.widget-title{
    font-family: Basis;
    font-size: 18px;
    color: #0A1E59;
    font-weight: 400;
    line-height: 1.25;
    margin: 10px 25px;
    width: 75%;

}
.research-widget h3.widget-title:first-letter{
    font-size: 18px;
}
img.widget-img{
    float: right;
    margin-top: 10px;
}

.wp-block-button__link{
    text-align:left;
}

.wp-block-button{
	border-left: 6px solid #304FFF;
	border-bottom: none;
	border-radius: 0px 8px 8px 0px;
	box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15);
	padding: 4px 56px 4px 0px;
	margin-bottom: 20px;
	margin-left: 0;
	width: 100%;
	background: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research-site/assets/img/Arrow-right.svg) 94% / 24px no-repeat;
	text-align: left;
}
.wp-block-button a {
background: none;
border: none;
font-size: 17px;
font-weight: 500;
color: #181D3D;
font-family: Basis  Bold;

    align-items: center;
    color: #181D3D;
    margin: 0 15px;
    text-decoration: none;
    padding: 0px 0 4px;
}
}
/* blog page styles */
.posts-navigation{
	display: block;
    width: 100%;
}
.footer{
	margin-top: 80px;
    background-color: #0A1E59;
    padding-top: 20px;
	padding-bottom: 20px;
	color: #fff;
}

/******************************************
tablet Styles
******************************************/

@media (max-width: 1200px) {
.hero-heading, .hero-post-no-img-title h1{
	font-size: 40px;
	line-height: 48px;
}
h1.hero-heading{
    max-width: 600px;
    }
			.widget_nav_menu{
				width: 100%;
			}
}
@media (max-width: 991px) {


.widget_nav_menu:has(.menu-side-menu-container){
	display: none;
}
}

/******************************************
Mobile Styles
******************************************/
@media (max-width: 767px) {

.container{
	max-width: 100%;
}

.navbar-nav	.current_page_item a{
			border-bottom: none;

}
.dropdown-toggle:after{

		margin-right: 24px!important;

}




.dropdown-togglea[aria-expanded="false"]:after{
			margin-right: 24px!important;
}
.navbar-nav ul.dropdown-menu a{
		border-top: 1px solid white;
}

.navbar-nav {
				 background: #eeebe8;
				 width: 100%;
}
.navbar-nav .dropdown-menu:has(.current-menu-item) {

    display: contents;
    position: relative;
		padding-left: 0;

}



.navbar-nav ul{
	padding: 0;
}



.navbar-nav li{
	border-bottom: white solid 1px;

}
.sub-menu li{
	border-bottom: none;

}

li.sub-menu:not(.current_page_item){
	border-left: none;
}

.current_page_item .sub-menu ul{
	width: 100%;
}

.navbar .sub-menu .current_page_item a{
	background: #eeebe8;
	border-left: 4px solid #304FFF;
	border-bottom: none;

}


.navbar{
	padding: 20px 0;
}
.header-icon-menu{
	padding: 0 16px;
}

.navbar-toggler{
	right: 16px;
    top: 32px;
    position: absolute;

}
.page-header{
	padding-right: 15px;
    padding-left: 15px;
	}

.custom-toggler .navbar-toggler-icon {
  background: url(https://research.canterbury.ac.uk/wp-content/themes/cccu-research/assets/img/navigation-menu.png) no-repeat !important;
    width: 18px;
    height: 20px;
}
.navbar-nav{
	margin: 15px 0;
}
#header-widget-area{
    width: 100%;
	padding: 20px 0;
	}
/* .menu-item{
	background: #F5F6FF;
	padding: 16px 0;
    margin-bottom: 8px;
} */

 li:has(.sub-menu){
	 border-left: none;
 }
 .current_page_item a.dropdown-toggle {
	 	border-left: 4px solid #304FFF;
		margin-left: 0;
		padding-left: 16px;
		border-bottom: 1px solid white;
 }



.current_page_item {
	border-bottom: none;
    margin: 0;
    /* background: #F5F6FF; */
    padding: 16px 0;
    margin-bottom:0;
		border-left: 4px solid #304FFF;
}
.current_page_item .dropdown-menu{
	display: flex;
	position: relative;
}
.navbar-nav ul.dropdown-menu .current_page_item a{
	border-top: white solid 1px;


}
.dropdown-menu li.menu-item{
		width: 100%;
		padding-right: 0;
}

ul.sub-menu{
	padding-left: 16px;
		 background: #eeebe8;
		 width: 100%;

}

/*Blog page*/
.hero-post-no-img-title{
    padding: 0 24px;
}
.hero-post-title{
    padding: 0 15px;
}
.hero-heading, .hero-post-no-img-title h1{
	font-size: 40px;
	line-height: 48px;
}
.hero-bg-image{
    height: 440px;
    }
h1.hero-heading{
    max-width: 550px;
    padding: 0 15px;
    }
h2{
    font-size: 1.5rem;
}
h3{
    font-size: 1.25rem;
}
h3:first-letter{
    font-size: 1.25rem;
}
h4{
    font-size: 1.125rem;
}
.widget {
   margin: 0 ;
    padding-bottom: 1.5em;
}

.post-navigation{
	margin: 0 0 80px;
}
.widget-area .widget {
    margin-bottom: 40px;
}
.search-box{
    margin-bottom: 1.5rem;
}
.page-content{
    padding: 0 15px;
}
/* Dropdown menu - Mobile
--------------------------------------------- */

.dropdown-menu{
	max-width: 400px;
	border: none;
	box-shadow: none;
border-radius: 0;
}


.dropdown-menu .current_page_item {
	background: #eeebe8;
}





/* --------------------------------------------- */

/******************************************
Bens Edits
******************************************/

