/*

Theme Name: National Maritime Museum Cornwall
Author: Ampersand Industries
Version: 2.0

*/

@import url(averta/averta.css);
@import url(flamacondensed/flamacondensed.css);

*,
html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* render fonts correctly on mac */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;

}
body {
	background: #001E60;
	color: #fff;

	font-family: 'averta_regularregular', Helvetica, Arial, sans-serif;
	font-weight: 300;
	margin: 0;
	/*font-size: 16px;
	line-height: 1.6;
  	*/
	font-size: 17px;
	line-height: 1.667;
	box-sizing: border-box
}

/******
Base elements and tags
******/
a {
	color: #1292d0;

	text-decoration: none;
	transition: all 0s;
}
a:hover,
a:focus {
	text-decoration: underline;
	transition: all 0.3s;
}
img {
	border: none;
	display: block;
	width: 100%;
	height: auto;
}
p {
	margin: 0 0 1em 0;
	padding: 0;
}

figure {margin:0;}

b, strong { font-family: 'avertasemibold'; }

blockquote { margin:0; padding: 0 0 0 45px; border-left: 1px solid #001E60; margin-bottom: 50px;}
blockquote p{margin-bottom:0 !important; font-size: 20px; font-family: 'averta_regularregular';}
p.cite { margin-top: -35px;}
 sup { font-size: 66%; }

table {border-collapse: collapse; width: 100%; margin-bottom: 50px;}
td {border: 1px solid #ccc; padding: 3%;}

hr {opacity: 0.4; margin-bottom: 50px; display: none !important;}
hr + h3 {margin-top: 0;}

/******

  STRUCTURE

******/
.section {
	width: 100%;
	float: left;
	position: relative;
}
.section-inner {
	width: 80%;
	margin: 0 auto;
	max-width: 1270px;
	position: relative;
}

.section.page-header .section-inner,
.section.post-header .section-inner,
.section.large_promotions .section-title{ max-width: none; width:93%; margin: 0 auto;}
.section.header {z-index: 10;}
.section.header .section-inner {max-width: none; width: 100%; position: static !important; z-index:10;}

.section.large_promotions .section-inner,
.section.social_panels .section-inner
{	max-width: none; width:100%;}

.section.header {

}

.section.footer {
	margin-top: 60px;
}


/******

  HEADER

******/
.brand {
	width: 155px;
	float: left;
	padding-top: 3%;
	margin-left: 3.0%;
}
.navigation {
	padding-top: 44px;
	margin-right: 3.5%;
}
a#logo {
	width: 160px;
	height: 90px;
	padding-top: 0px;
	display: block;
	background: transparent url(images/nmmc-logo.svg) no-repeat;
	background-position: left 50%;
	overflow: hidden;
	text-indent: -9999px;
	background-size: contain;
	-moz-transition: opacity 0.5s ease-in;
	-o-transition: opacity 0.5s ease-in;
	-webkit-transition: opacity 0.5s ease-in;
	transition: opacity 0.5s ease-in;
}

.toggle-share {display: none;}

/******

 NAVIGATION

******/
ul.menu {
	margin: 0;
	padding: 0;

}
ul.menu li {
	display: inline-block;
	list-style: none;
}
ul.menu .sub-menu li {
	padding: 0 4% 0 0;
}
ul.menu li:last-of-type {
	padding-right: 0;
}
ul.menu li a {
	text-decoration: none;
	color: #fff;
	font-family: 'averta_regularregular';

	padding: 5px 0 5px 0;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

.toggle-nav {
	display: none;
}

ul.sub-menu {
	display: none;
	margin: 0;
	padding-left: 0;
}

ul.menu .mobile-only {
	display: none;
}


span.nmmc_menu_header, a.nmmc_menu_header {
	color:#fff;
	font-size: 23px !important;
	font-family: 'flamacondensed_semibold' !important;
	text-transform: uppercase !important;
/*	background:  transparent url(images/wave-wide-repeat.svg) repeat-x 0 bottom !important;*/
	border-bottom: 1px solid rgba(255,255,255,1) !important;
	padding-bottom: 20px !important;
	padding-left: 0px !important;
	margin: 0 15px -1px 8px !important;
	margin-bottom: 11px !important;
	background-size: 209px 6px !important;
}

span.nmmc_menu_header {width: 100%; display: block;

	padding-bottom: 40px !important;
}

.nmmc_menu_header.header_wide { border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 40px !important;}


/*.ubermenu-submenu,
.ubermenu.ubermenu-disable-submenu-scroll .ubermenu-active>.ubermenu-submenu.ubermenu-submenu-type-mega {
	position: absolute;
	top: 140px;
	right:0;
	bottom:0;
	left:0;
}
*/
.ubermenu-row {
	/*max-width: 1270px !important; */
	margin: 0 auto !important;
}

.ubermenu-row.full-width-row {padding: 3% !important;}
.ubermenu-row.full-width-slim {padding: 0 3% !important;}
.ubermenu-row.inner-row {padding:0 !important;}

.menu-blog.ubermenu-item-auto .ubermenu-target-title {font-family: 'averta_regularregular' !important; line-height: 1.5 ; max-width: 450px; width: 80%;}

.ubermenu-item-level-0 > .ubermenu-target {padding-bottom: 30px !important;}

.ubermenu strong {font-family: 'averta_regularregular';}

.ubermenu a.ubermenu-target {font-family: 'averta_regularregular';}
.ubermenu-content-block a {color:#fff;}


a.featured-link, a.featured_link {
	position: absolute;
	font-family: 'flamacondensed_semibold';
	text-transform: uppercase;
	color:#fff;
	font-size: 20px;
	line-height: 22px;
	right: 0;
	display: block;
	top:4px;
}
a.featured-link {position: relative; top:0; right: auto; display: inline-block; margin-top: 1em;}
a.featured_link:hover{text-decoration: none;}

a.featured-link, a.featured_link.cta {
	padding: 18px 30px;
	/*background-color:rgba(7,98,200,1);*/
	background-color:#1292d0;
}

a.featured-link.menu { background-color:#f16b65; display: block; text-align: center;}

a.featured-link:hover, a.featured_link.cta:hover {background-color: rgba(7,98,200,0.7); text-decoration: none;}
a.featured_link.cta.ticket::after{
	content: " ";
	background: transparent url(images/icon-ticket.svg) no-repeat 50% 50%;
	width: 24px;
	height: 22px;
	display: inline-block;
	margin-left: 22px;
	vertical-align: middle;
}

a.featured_link.info{ font-family: 'averta_regularregular'; text-transform: none;}
a.featured_link.info::after{
	content: " ";
	background: transparent url(images/icon-info.svg) no-repeat 50% 50%;
	width: 24px;
	height: 22px;
	display: inline-block;
	margin-left: 22px;
	vertical-align: middle;
}



a.button, .page-content a.button, .post-content a.button{
	font-family: 'flamacondensed_semibold';
	text-transform: uppercase;
	color:#fff;
	font-size: 20px;
	line-height: 22px;
	display: inline-block;
	padding: 18px 30px;
	background-color:#001E60;
	margin: 1em 0;
}

a.button:hover { background-color:#000c26; text-decoration: none !important;}

/***

  LAYOUTS

****/

.section.white {
	background-color: #fff;
	color:#001e60;
}
.section.white.no_background { background: transparent;}
.section.white .section-inner {max-width:747px; padding: 5% 0;}
.section.tripadvisor .section-inner,
.section.wide_content .section-inner
 {padding: 10% 0;}

 .section.no_base_padding .section-inner { padding-bottom:0 !important;}
 .section.no_top_padding .section-inner { padding-top:0 !important;}

.section.tripadvisor{border-bottom: 1px solid rgba(255,255,255,0.4); margin-bottom: 40px; }
.section.tripadvisor a {color:#fff; border-bottom:1px solid; text-decoration: none;}
.section.tripadvisor a:hover {text-decoration: none;}
.section.tripadvisor p.featured-text {font-weight: 300; font-size: 20px;  text-align: center;}

.section.full-width .section-inner {width:100%; max-width: 100%;}

.two_columns .column,
.three_columns .column {
	display: inline-block;
	vertical-align: top;
	width: 49.215%;
	margin-right: 1.57%;
}

.two_columns .column:last-of-type {	margin-right: 0;}
.two_columns.one_third_two_third .column:first-of-type 	{	width: 32.28%;}
.two_columns.one_third_two_third .column:last-of-type 	{	width: 66.15%;}
.two_columns.two_third_one_third .column:first-of-type 	{	width: 66.15%;}
.two_columns.two_third_one_third .column:last-of-type 	{	width: 32.28%;}
.three_columns .column {	width: 32.28%;}
.three_columns .column:last-of-type {margin-right:0;}


.border_base .section-inner {border-bottom: 2px solid #9f9f9f; padding-bottom: 60px;}
.two_thirds .column {width: 66.15%; padding-right: 7.4%;}

.padded .column {padding: 100px 50px;}
.padded.keyline .column { padding: 100px 0;}
.two_columns.keyline::after { display: block; content: " "; width: 1px; background-color: rgba(255,255,255,0.12); left: 57%; top: 75px; bottom: 75px; position: absolute;}
.two_columns.keyline .column:first-of-type{ padding-right: 27%; }
.keyline .column { margin-bottom: 75px; }

div.wp-caption {width: 100% !important; height: auto;}


.listings {font-size: 0;}
.listing-item {display: inline-block; vertical-align: top; width: 33.33%; font-size: 15px; margin-bottom: 75px; position: relative;}

.count_1 .listing-item {width: 100%;}
.count_2 .listing-item {width: 50%;}
.count_4 .listing-item {width: 25%;}


.listing-item a {color:#fff;}
.listing-item a:hover {text-decoration: none; }
.listing-item a:hover img {opacity: 0.75;}
.listing-item span {display: block;}
.listing-item a > span, .listing-item div > span  {padding-right: 15%; font-family: 'averta_regularregular';}
.listing-item .title {font-size: 25px; line-height: 1.58; margin: 50px 0 32px 0; font-family: 'averta_regularregular';}
.listing-item .author {font-weight: 400; }
.listing-item .publication_date {font-weight: 400; margin-bottom: 1em;}
.promos.large .listing-item.tablet_only {display: none;}
.promos.large .listing-item{overflow: hidden; margin-bottom:0 !important;}
.promos.large span.overlay {
	text-align: center;
	background-color: rgba(67,101,184, 0.95);
	padding: 40% 5% !important;
	position: absolute;top: 100%; top:0;left:0;right:0;bottom:0;
	background-image: url(images/chevron-with-circle-right.svg);
	background-position: 50% 15%;
	background-size: 50px;
	background-repeat: no-repeat;
	font-family: 'averta_regularregular';
	opacity: 0;

	-moz-transition: opacity 0.6s linear;
	-webkit-transition: opacity 0.6s linear;
	transition: opacity 0.6s linear;

}
.promos.large .overlay > span {max-width: 290px; margin: 0 auto;}

html.no-touch .promos.large .listing-item:hover span.overlay
/*,
.promos.large .listing-item.hover span.overlay,
.promos.large .listing-item:active span.overlay,
.promos.large .listing-item:focus span.overlay
*/{
opacity:1;
	-moz-transition: opacity 0.3s linear;
	-webkit-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}

.promos.large .listing-item .title {text-transform: uppercase; font-family: 'flamacondensed_semibold'; font-size:20px; }
.promos.large .listing-item .sub_title { font-size:20px; }
.promos.large .listing-item .date_text { font-size:15px; }
.promos.large .listing-item .initial_date_text { padding:0; font-size:18px; margin:0; font-weight:400; position: absolute; left:20px; right:20px; bottom:20px; font-family: 'flamacondensed_semibold'; text-align: center; text-transform:uppercase;}
.promos.large .listing-item .description {padding-top: 75px; background: transparent url(images/wave-small.svg) no-repeat 50% 38px;}
html.no-touch .promos.large .listing-item:hover .initial_date_text { display: none;}



.promos.small .listing-item {margin: 0;}
.promos.small .listing-item .title {
	margin: 0; position: absolute; padding: 7% 11%; top:0; left:0; right:0;  bottom:0; z-index: 10;
	background: transparent url(images/title-fade.png) repeat-x 0 0;
	font-size: 20px
}


.promos.small .listing-item.full {width:100%; max-width: 100%;}
.promos.small .listing-item.full .text, .promos.small .listing-item.full img {width:50%; background-color:rgba(7,98,200,1); display: inline-block; vertical-align: top;}

.promos.small .listing-item.full .text {position: absolute !important; bottom: 0; top:0; left: 0;}
.promos.small .listing-item.full img{margin-left: 50%;}
.promos.small .listing-item.full .text {position: relative; padding: 4%; font-size: 21px;}
.promos.small .listing-item.full .text .title {margin: 0 0 10px 0; position: relative; left:0; top:0; padding:0; background: transparent; font-size: 36px;}

.social_panels{padding-top: 165px;}

.social-panels .listing-item {width: 50%; display: inline-block;}
.social-panels .listing-item .title {font-size: 16px; text-align: center; padding:0; margin: 10px 0; font-family: 'avertasemibold';}

.social-panels a {position: relative; display: block;
	-webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.social-panels .social-overlay {
	z-index: 5;
	position: absolute;
	left:0;
	right:0;
  top: 50%;
  transform: translateY(-50%);
	padding-right:0;

}

.social-overlay .icon {
	background-color:rgba(7,98,200,1);
	width: 80px;
	height: 80px;
	-moz-border-radius: 60px;
	-webkit-border-radius: 60px;
	border-radius: 60px;
	margin: 0 auto;
}

.social-overlay .icon .inner {width: 100%; height: 100%; display: block; background-position: 50% 50%;
	 background-repeat: no-repeat;
	 background-size: 32px;
 }
.youtube .social-overlay .icon .inner {background-image: url(images/social-panel-youtube.svg);}
.instagram .social-overlay .icon .inner {background-image: url(images/social-panel-instagram.svg);}

.spacer {background: transparent url(images/wave-wide-repeat.svg) repeat-x 50% 50%; padding: 20px 0; background-size: 400px;}

.wp-pagenavi {font-size: 15px; color:#fff;}
.wp-pagenavi span,  .wp-pagenavi a { display: inline-block; padding: 5px 10px; }

/***

	FONT FORMATTING

****/
h1,h2,h3,h4,h5,h6 {
	font-weight: 300;
	margin: 50px 0 60px 0;
	font-family: 'averta_regularregular';
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong,
h1 b, h2 b, h3 b, h4 b, h5 b, h6 b{font-weight: 300;}

h1.keyline,
h2.keyline,
h3.keyline,
h4.keyline,
h5.keyline,
h6.keyline{ border-bottom: 1px solid rgba(0,0,0,0.4); padding-bottom: 1em;}

h1{ font-size: 36px; line-height: 60px; width: 50%;}
h2{ font-size: 36px; line-height: 1.55; }
h3{ font-size: 28px; line-height: 1.82;}
h4 {font-size: 21px; }
h5 {font-size: 1em; font-family: 'averta_regularregular'; margin-bottom: 8px;}

.page h1, .single-event h1, .single-post h1 {font-size: 36px; line-height: 1.3; max-width: 747px; margin-bottom: 30px;}

.single-event h1 {margin-bottom: 70px;}

.section-title h2 {
	font-family: 'flamacondensed_semibold';
	border: none !important;
	text-transform: uppercase;
	padding-bottom: 0;
}
.large_promotions .section-title h2 {text-transform: none; font-family: 'averta_regularregular';}

.compact-headings h2,
.compact-headings h3,
.compact-headings h4,
.compact-headings h5{
	line-height: 1.3;
	margin: 2em 0 1.0em 0;
	border: none;
	padding-bottom:0;
}

.compact-headings .column:nth-child(2n) h2,
.compact-headings .column:nth-child(2n) h3,
.compact-headings .column:nth-child(2n) h4,
.compact-headings .column:nth-child(2n) h5{
	border-bottom: 1px solid #fff;
	font-family: 'flamacondensed_semibold';
	text-transform: uppercase;
	padding-bottom: 0.6em;
}






p.featured-text {
	font-size: 28px;
	line-height: 42px;
	margin-bottom: 50px;
	font-weight: 300;
}

.section.white.post-content .section-inner,
.section.white.page-content .section-inner {padding-top: 50px;}

.post-content h2, .page-content h2{ font-size: 38px; font-weight: 300; margin-bottom: 50px;}
.post-content h3, .page-content h3{ font-weight: 300; margin-bottom: 25px;}
.post-content h4, .page-content h4{ font-size: 20px; font-weight: 300; margin-bottom: 25px;}
.post-content p, .page-content p { margin-bottom: 50px;}

.page-content ul { margin-top: -33px;}
.page-content ul li {margin-bottom: 1em;}

h3 + ul, h4 + ul {margin-top:20px !important;}

.post-content a, .page-content a {
	border-bottom: 1px solid;
	padding-bottom: 2px;
	color: rgba(7,98,200,1);
}
.post-content a:hover, .page-content a:hover {text-decoration: none;}

.page-content ul, .post-content ul {
	margin-bottom: 50px;
	padding-left: 1em;
}

.page-content p + .page-content ul, .post-content p + .post-content ul {margin-top: -25px;}

.wp-caption-text, p.cite { font-size: 14px; line-height: 1.78; color:#002939; padding-top: 30px;}
.postmeta { font-size: 14px; line-height: 1.28; font-family: 'averta_regularregular'; margin-bottom: 70px;}
.postmeta, .postmeta a {color:#979797;}

.section.white h1,
.section.white h2,
.section.white h3,
.section.white h4,
.section.white h5,
.section.white h6,
.section.white p,
.section.white td,
.section.white th,
.section.white li{ color:#001E60;}

.newsletter_signup {margin-top:50px; padding-bottom: 80px;}
.standard_content .newsletter_signup { margin-top:0; padding-bottom:30px;}
.newsletter_signup h2, .featured_section h2 {font-size: 32px; font-weight: 300; font-family: 'flamacondensed_semibold'; border: none; padding-bottom: 0; text-align: center; text-transform: uppercase;}
.newsletter_signup p.featured-text, .featured_section p.featured-text {font-weight: 300; font-size: 20px; margin-top: -35px; margin-bottom: 40px; text-align: center;}
p.featured-text.compact, .featured_section p.featured-text {font-weight: 300; font-size: 20px;  margin-bottom: 0; text-align: center;}
.newsletter_signup label { display: none;}
.newsletter_signup input {background: #f3f3f3; border:none; padding: 20px 25px; font-family:inherit; font-family: 'averta_regularregular'; font-size: 18px; width: 80%; margin-right: -4px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.newsletter_signup input.button, .newsletter_signup button {border:none; color:#fff; background-color:#001E60; padding: 19px 33px;font-family: 'flamacondensed_semibold'; text-transform: uppercase; font-size: 20px; top:1px; position: relative; width: 20% !important; cursor: pointer;}


@media all and (max-width:640px){
	.newsletter_signup input.button, .newsletter_signup button,
	.newsletter_signup input {
		width: 100% !important;
	}
	.newsletter_signup input.button, .newsletter_signup button { text-align: center;}

}
.featured_section { text-align: center; padding-bottom: 80px;}

.wide_content p.featured-text {font-weight: 300; font-size: 20px;  text-align: center;}
.wide_content a {color:#fff; border-bottom: 1px solid;}
.wide_content a:hover {text-decoration: none;}

.section.white + .section.no-title {padding-top: 50px;}

.ubermenu-content-block h2 {margin: -18px 0 20px 0; border-bottom: none; padding-bottom:0; font-family: 'flamacondensed_semibold'; text-transform: uppercase;}

.wpcf7-form {border-top: 1px solid #001E60;}

.wpcf7-form ol{ margin:0; padding:0;}
.wpcf7-form li {list-style:none; margin: 0 0 15px 0; width: 48%; margin-right: 2%; display: inline-block;}
.wpcf7-form ol li:nth-child(2n){margin-right:0;}
.wpcf7-form li.full-width {width:100%; margin-right:0;}
.wpcf7-form label{display:block; font-family: 'averta_regularregular'; padding: 10px 0 5px 0; position: relative;}
.wpcf7-form label span.required{position: absolute;right: 0; font-size: 10px; text-transform: uppercase;}


.wpcf7-form input,
.wpcf7-form textarea
{background-color:#f8f8f8; border: none; font-family:inherit; font-size:inherit; padding:14px; width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.wpcf7-form textarea{width:100%;}


.wpcf7-form input.wpcf7-submit{
	color:#fff;
	background-color:#001E60;
	border:	none;
	text-align:left;
	cursor: pointer;
	width: auto;
	padding: 14px 35px;
}
.wpcf7-form input.wpcf7-submit:hover{background-color:#000;}


ul.simple {
	margin:0; padding:0;
}
ul.simple li {list-style:none;}
ul.simple a {color:#fff;}
ul.simple.large li {font-size:  21px; line-height: 1.9;}


/*.section.category_intro_image{margin-bottom: 70px;} */

span.nmmc_logo {
	display: block;
	background: transparent url(images/small-nmm-logo.svg) no-repeat top center;
	background-size: 65px;
	width: 65px;
	height: 85px;
	margin-top: 4.5em;
}

/***  FOOTER ***/
.footer-base .section-inner {
	padding: 80px 0 50px 0 ;
	text-align: center;
	background: transparent url(images/small-nmm-logo.svg) no-repeat top center;
	background-size: 65px;
	font-size: 12px; line-height: 15px;
}

.footer ul.menu li a {font-family: 'averta_regularregular'; font-size: 12px; padding: 8px 3px;}
.footer-menu li a:after{ content: " | ";}
.footer-menu ul li:last-child a:after{ content: ""; padding-left: 4px;}

.social-links ul, .footer .social-links ul {margin: 30px auto;}
.social-links li, .footer .social-links li { padding: 10px;}
.social-links li:first-of-type { padding-left:0; }
.social-links a, .footer .social-links a {
	display: block; width: 30px;
	height: 30px;
	overflow: hidden;
	text-align: left; text-indent: -99999px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 50%;
}

.social-links .social-twitter a {background-image: url(images/social-twitter.svg);}
.social-links .social-facebook a {background-image: url(images/social-facebook.svg);}
.social-links .social-instagram a {background-image: url(images/social-instagram.svg);}
.social-links .social-youtube a {background-image: url(images/social-youtube.svg);}

.section.logos {padding: 30px 0 50px 0;}
ul.funder_logos {margin:0; padding:0;}
.funder_logos li {display: inline-block; list-style: none; width: 20%; text-align: center;}
.funder_logos img {width: 100%; display: inline-block;}

.section.footer-base { padding: 50px 0 0 0;}



nav#ubermenu-main-2-primary {width: 45%;}
.ubermenu .ubermenu-item.ubermenu-item-level-0 {width: 20%; text-align: center;}
.ubermenu .ubermenu-item.ubermenu-item-level-0.menu-tickets { width: 195px; background: transparent url(images/icon-tickets.png) no-repeat 4% 37%; background-size: 30px;}
.ubermenu .ubermenu-item.ubermenu-item-level-0.menu-tickets > .ubermenu-target { padding-left: 40px !important;}
.ubermenu .ubermenu-item.ubermenu-item-level-0.menu {width: 20%; text-align: center;}
.ubermenu .ubermenu-item.ubermenu-item-level-0.nm_toggle_menu,
.ubermenu .ubermenu-item.ubermenu-item-level-0.more
 {width: 40px;}

.ubermenu.ubermenu-disable-submenu-scroll .ubermenu-item>.ubermenu-submenu.ubermenu-submenu-type-mega {
	overflow-y:auto !important;
	position: fixed;
	top: 128px;
	right:0;

	left:0;

	-webkit-transform: translateZ(0);
}

body.admin-bar .ubermenu.ubermenu-disable-submenu-scroll .ubermenu-item>.ubermenu-submenu.ubermenu-submenu-type-mega {top: 160px;}

body.menu_active {overflow: hidden; padding-right: 17px; }
body.menu_active.mac15 {padding-right: 15px;}

.ubermenu-item-level-0 > span.ubermenu-target{ font-family: 'flamacondensed_semibold'; text-transform: uppercase;}
.ubermenu-item-level-0 > a >.ubermenu .ubermenu-target-text {border-bottom: 1px solid #001E60;}
.ubermenu-active > a >.ubermenu .ubermenu-target-text,
.ubermenu-active > .ubermenu-target > .ubermenu-target-text
 {border-bottom: 1px solid #fff;}

.ubermenu .nm_toggle_menu .ubermenu-target-text,
.ubermenu .more > span > .ubermenu-target-text
 {width: 20px; display: block; overflow: hidden; text-indent: -9999px;
	background: transparent url(images/menu-burger.svg) no-repeat 50% 50%;}
.menu_active .ubermenu .nm_toggle_menu .ubermenu-target-text,
.menu_active .ubermenu .more > span >  .ubermenu-target-text
 {background-image: url(images/menu-close.svg);}

.ubermenu-submenu-id-3159, .ubermenu-submenu-id-3149 {max-width: 600px;}

.ubermenu-active > a > span {border-bottom: 1px solid #fff;}



.ubermenu .ubermenu-colgroup .ubermenu-column,
.ubermenu .ubermenu-custom-content-padded,
.ubermenu .ubermenu-nonlink,
.ubermenu .ubermenu-retractor,
.ubermenu .ubermenu-submenu-padded,
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal>.ubermenu-target,
.ubermenu .ubermenu-target.nmmc_menu_header,
.ubermenu .ubermenu-widget,
.ubermenu-responsive-toggle{
	padding: 15px 8px !important;
}

.ubermenu .ubermenu-target.nmmc_menu_header {padding-left: 0 !important;}

.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal>.ubermenu-target, .ubermenu-submenu .ubermenu-target {padding: 5px 8px !important;}


.ubermenu-search-submit{
	background: #001E60 !important;
	color:#fff !important;
	border: 1px solid #fff !important;
	width: 180px !important;
	text-align: right;
	padding-right: 20px !important;
}

.ubermenu-search-submit::before {
	content: "Search";
	font-family: 'avertalight';
	display: inline-block;
}

.ubermenu-row.tickets-row { width:90% !important; max-width: 1200px !important;}
.tickets-row th { text-align: center;}
.tickets-row h3 { text-transform: uppercase; font-family: flamacondensed_semibold; margin:0 0 1em 0;}
.ticket-notice .ubermenu-content-block { padding: 0 15% !important;}
.ticket-notice p { font-size: 120%; line-height: 1.3;}
a:focus, button:focus, span:focus {outline:0;}

.mobile-book-tickets a {
	text-transform: uppercase !important; background-color:#f16b65; font-family: flamacondensed_semibold !important;
}

.header-share {display: none;}
.header-share .section-inner {padding: 3% 0 !important;}
.addthis_inline_share_toolbox, .at-share-btn-elements {text-align: center;}
.post-content .addthis_inline_share_toolbox, .page-content .addthis_inline_share_toolbox { padding: 50px 0;}


#shiftnav-toggle-main {position: absolute !important;}
#searchform {position: relative; overflow: hidden}
#searchform label {display: none;}
#searchform input#s {width: 100%; padding: 20px 15px; font-size: 18px; font-family: inherit; border: none;}
#searchform input#searchsubmit {
	position: absolute;right:0; top:0;
	background: #001E60 url(images/search.svg) no-repeat right center !important;
	background-size: 20px;
	color:#fff !important;
	border: 1px solid #fff !important;
	width: 180px !important;
	text-align: right;
	padding-right: 20px !important;
	display: block;
	bottom:0;
	text-align: center;
	font-size: 20px;
	font-family: 'avertalight';
}


/*
.initial-scrolled .header, .scrolled .header {background-color:#001E60; position: fixed; z-index: 50; opacity: 0; height: 60px; }
.initial-scrolled .toggle-share, .scrolled .toggle-share {color:#fff; line-height: 60px; font-size: 20px; font-family: 'averta_regularregular'; display: inline-block;}
.initial-scrolled .brand, .scrolled .brand {padding-top:0; width: 75px;}
.initial-scrolled a#logo, .scrolled a#logo {height: 60px; width: 65px; background-image: url(images/small-nmm-logo.svg); background-size: 35px;}
.initial-scrolled .navigation, .scrolled .navigation {margin-top: -62px; padding-top:0;}
*/
.scrolled .header { background-color:#001E60 !important; position: fixed !important; z-index: 50; opacity: 0; height: 60px; top:0;}
.scrolled .toggle-share {color:#fff; line-height: 60px; font-size: 20px; font-family: 'averta_regularregular'; display: inline-block;}
.scrolled .brand {padding-top:0; width: 75px;}
.scrolled a#logo {height: 60px; width: 65px; background-image: url(images/small-nmm-logo.svg); background-size: 35px;}
.scrolled .navigation {margin-top: -62px; padding-top:0;}

.scrolled .header {opacity: 1;}
.scrolled .ubermenu.ubermenu-disable-submenu-scroll .ubermenu-item>.ubermenu-submenu.ubermenu-submenu-type-mega {top: 60px !important;}

.scrolled .header-share {position: fixed; top: 60px; z-index: 50;}
.scrolled #shiftnav-toggle-main {position: fixed !important;}

/* Re-instated the share link 14/08/19, don't know why it was removed
.home.page.initial-scrolled a.toggle-share, .home.page.scrolled a.toggle-share,
.archive.initial-scrolled a.toggle-share, .archive.scrolled a.toggle-share{width:0; height: 60px; overflow: hidden;}
*/

.shiftnav::after{display: none !important;}

.shiftnav, .shiftnav-no-transforms .shiftnav {width: 100% !important; max-width: 100% !important;}
.shiftnav .shiftnav-panel-close {position: static !important; background-color: transparent !important; text-align: right;}
.shiftnav .shiftnav-nav, .shiftnav ul.shiftnav-menu, .shiftnav ul.shiftnav-menu ul.sub-menu {margin-bottom: 30px;}

.shiftnav-depth-0 > a, .shiftnav-depth-0 > span.shiftnav-target {font-size: 22px; font-family: 'averta_regularregular';}
.shiftnav-depth-1 > a {font-size: 22px; font-family: 'averta_regularregular';}
.shiftnav-depth-2 > a {font-size: 22px; font-family: 'averta_regularregular';}
.shiftnav-depth-3 > a {font-size: 22px; font-family: 'averta_regularregular';}
.shiftnav-depth-4 > a {font-size: 16px; font-family: 'averta_regularregular';}

.shiftnav h1, .shiftnav h2, .shiftnav h3, .shiftnav h4, .shiftnav h5, .shiftnav h6, .shiftnav p {padding: 0 25px !important;}
.shiftnav p{ margin-bottom: 1em !important; }
.shiftnav p a {color:#fff;}
.shiftnav-retract a {color:#fff;}


.section.no_top_margin {margin-top:0;}
.section.no_base_padding {margin-bottom:0;}
.section.no_base_padding .listing-item{margin-bottom:0;}


.link_previous {
	text-align: left;
}

.post-nav {font-size:0;}

.post-nav a:active, .post-nav a:focus, .post-nav a:hover {text-decoration: none;}

.link_next, .link_previous {width: 50%; display: inline-block; font-size: 15px;}

.link_next {text-align: right;}

.link_previous a::before{
	content: " \2039 ";
	display: inline-block;
	padding-right: 10px;
	font-size: 20px;
}

.link_next a::after{
	content: " \203A ";
	display: inline-block;
	padding-left: 10px;
	font-size: 20px;
}



.ubermenu-submenu-id-3160 li.ubermenu-column-full {width: 50% !important; display: inline-block !important; float: none !important;}
.ubermenu-submenu-id-3160 li.ubermenu-column-full:first-of-type {width: 100% !important; display: inline-block;}

li#menu-item-3186 h2 {margin-bottom: 40px;}







.scrollbar-measure {
	width: 100px;
	height: 100px;
	overflow: scroll;
	position: absolute;
	top: -9999px;
}


.iframe-container {
  position: relative;
  height: 0;
  overflow: hidden;
}

/* 16x9 Aspect Ratio */
.iframe-container-16x9 {
  padding-bottom: 56.25%;
}

/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
  padding-bottom: 75%;
}

.iframe-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.wpcf7-response-output {color:#000;}


.parallax_content {height: 100vh; background-size: cover; background-position: 50% 50%; background-attachment: fixed; position: relative;}
.parallax_content .section-inner {
	text-align: center;
	position: relative;
	top: 50%;
   -webkit-transform: translateY(-50%);
   -ms-transform: translateY(-50%);
   transform: translateY(-50%);
}
#titanic {margin-top: 3%;}

.date-block {
	display: inline-block;
	padding: 20px 30px;
	background: rgba(0,0,0,0.35);
	font-family: 'flamacondensed_semibold';
	text-transform: uppercase;
	color:#fff;
}
a.date-block:hover{text-decoration: none;}

body.show_header_over_content{ padding-top: 0 !important; }
body.show_header_over_content div.section.header{ position: absolute; background-color: transparent !important;}
body.menu_active div.section.header, .scrolled.show_header_over_content div.section.header { background-color:#001E60 !important; }


.homepage_takeover {
	height: 170vh;
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 55vh;
}

.homepage_takeover .section-inner {
	width: 100% !important; max-width: 100%;
	position: absolute;
	top:0; right:0; bottom:0; left:0;
}
.homepage_takeover .overlay {
	height: 100vh;
	position: absolute;
	top:0; right:0; bottom:0; left:0;
	text-align: center;
	display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
		padding: 10%;
}
.homepage_takeover img { margin: 0 auto; max-width: 500px; max-height: 250px;}
body.page-id-7106 .section.page-header { display: none;}

.homepage_takeover video#bgvid {
	object-position: 100% 100%;
}

.homepage_takeover .call-to-action {
	position: absolute;
	top: 170vh;
	padding: 5%;

}

@media all and (min-width: 640px){

	.homepage_takeover { margin-bottom:0;}

	.homepage_takeover .call-to-action {
		position: absolute;
		top: 100vh;
		left: 7%;
		right: 50%;
		height: 70vh;
		display: flex;
			justify-content: center;
			flex-direction: column;
			text-align: center;
	}

}

.homepage_takeover .call-to-action h2 { margin:0; line-height: 1.2; font-size: 28px; text-transform: uppercase; font-family: flamacondensed_semibold; max-width: 320px; margin: 0 auto 10px auto;}
.homepage_takeover .call-to-action a.button { color:#fff; background-color:transparent; border: 2px solid #fff;}
.homepage_takeover .call-to-action a.button:hover { color:#000c26; background-color:#fff;}

.flex-direction-nav a {
	background: transparent url(images/gallery-arrow.svg) no-repeat 50% 50%;
	background-size: contain;
	overflow: hidden;
	text-indent: -9999px;
}

.flex-direction-nav a.flex-prev{ transform: rotate(180deg);}
.flex-direction-nav .flex-prev { left:10px !important; text-align: left !important; opacity: 1 !important;}
.flex-direction-nav .flex-next { right:10px !important; text-align: left !important; opacity: 1 !important;}
.flex-direction-nav a::before { display: none !important;}

a.scroll {
	height: 140px;
	background: transparent url(images/gallery-arrow-down.svg) no-repeat 50% 50%;
	overflow: hidden;
	display: inline-block;
	text-align: left;
	text-indent: -9999px;
	background-size: 50px;
	position: absolute;
	left:0;
	right:0;
	bottom: 20px;
}

/***

		RESPONSIVE QUERIES

***/


@media all and (max-width: 1220px) {
}

@media all and (max-width: 1100px) {
	.section .section-inner {width: 90%;}
}


@media all and (max-width: 1024px) {

	.parallax_content {background-attachment:  scroll !important;
		 height: auto !important; background-repeat: no-repeat;
	 }
	.parallax_content .section-inner {
		top:0 !important;
		padding: 150px 0;
		-webkit-transform: translateY(0) !important;
		-ms-transform: translateY(0) !important;
		transform: translateY(0) !important;}


}


@media all and (max-width: 1000px) {
	.listing-item {width: 50%;}
	nav#ubermenu-main-2-primary {width: 65%;}
	.promos.large .listing-item {margin-bottom:0;}
	.promos.large .listing-item.tablet_only {display: inline-block;}
	.promos.small .listing-item {width: 33.33%;}

	.promos.small .listing-item .title {font-size: 18px;}
	.promos.small .listing-item.full .text .title {font-size: 24px;}
	.promos.small .listing-item.full .text {font-size: 15px;}

}

@media all and (max-width: 900px) {
	.promos.small .listing-item {width: 50%; display: inline-block;}

}
@media all and (max-width: 768px) {
			.parallax_content {background-attachment:  scroll;}
}
@media all and (max-width: 750px) {
	h1 {width: 70%;}


	.two_columns.two_third_one_third .column,
	.two_columns.two_third_one_third .column:first-of-type,
	.two_columns.two_third_one_third .column:last-of-type,
	.two_columns .column {		width: 100%; margin-right: 0;	}

	.two_columns.keyline::after {display: none;}

}
@media all and (max-width: 700px) {
	.promos.large .listing-item { display: block !important; width: 100%; margin-left: auto; margin-right: auto;}
	.promos.large .listing-item.tablet_only {display: none !important;}
	a.featured_link {position: static; margin-top: 30px; font-size: 17px; display: block;}

	.social-panels .listing-item {width: 100%; margin-bottom:0; max-width: 100%;}

}

@media all and (max-width: 650px) {
	.listing-item {width: 100%; display: block; margin-left:auto; margin-right:auto;}

	.two_columns.keyline .column:first-of-type{ padding-right: 0;}
	.two_columns.padded .column {padding: 50px 0;}
	.two_columns.padded .column:first-of-type {padding-bottom: 25px;}
	.two_columns.padded .column:last-of-type {padding-top: 25px;}

	nav#ubermenu-main-2-primary {width: 65%;}

	.ubermenu .ubermenu-submenu-type-stack > .ubermenu-item.ubermenu-column-auto{ font-size: 17px;}

	.ubermenu-column-1-3 {width: 50% !important;}
	.ubermenu .ubermenu-autoclear > .ubermenu-column-1-3:nth-child(3n+1) { clear: none !important;}

	/* visit secetion */
	.ubermenu-column-id-3149 {display: none !important;	}
	.ubermenu-column-id-3151 { width: 100% !important	}

	/* news */
	.menu-item-3162-col-0,	.menu-item-3162-col-1 {width: 100% !important; padding-bottom: 0 !important;}
	.menu-item-3162-col-1 {padding-top: 0 !important;}
	.ubermenu-submenu-id-3162-col-0 {padding-bottom:0 !important;}


}

@media all and (max-width: 550px) {
	h1{width: 100%;}
	.promos.small .listing-item,  .promos.small .listing-item.full {width: 100%; display: block; max-width: 100%; margin-left: auto; margin-right: auto;}
	.promos.small .listing-item.full .text, .promos.small .listing-item.full img {width: 100%; display: block; position: static !important; margin:0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}



}
@media all and (max-width: 500px) {
	ul.funder_logos {text-align: center;}
	.funder_logos li {width: 33%; text-align: center; margin-bottom: 30px;}

	.newsletter_signup {text-align: center;}
	.newsletter_signup input.button,
	.newsletter_signup input {width:100% !important;}

	.newsletter_signup h2{line-height: 1.2; margin-bottom: 42px; padding-top: 15px;}
	.newsletter_signup p.featured-text {line-height: 1.7; padding: 15px 15px 0 15px;}

	h1, h2, h3, h4, h5, h6,
	.listing-item .title{ margin: 25px 0 30px 0;}
	.listing-item {margin-bottom: 30px;}

	h1, .page h1, .single-event h1, .single-post h1 {font-size: 24px; margin-top: 50px;}
	h2, .post-content h2, .page-content h2 {font-size: 24px;}
	h3 {font-size: 24px;}
	h4 {font-size: 24px;}
	.large_promotions .section-title h2 {margin-top: 50px;}
	.social-panels {padding-top: 40px;}

	.brand {padding-top: 7%; margin-left: 7.5%;}
	.section.page-header .section-inner, .section.post-header .section-inner, .section.large_promotions .section-title {width: 85%;}
	.listing-item a > span {padding-right: 0;}

}

@media all and (max-width: 450px) {

	.section.white.post-content .section-inner, .section.white.page-content .section-inner{ padding-top: 20px;}

	.post-content h2, .page-content h2{ font-size: 30px; line-height: 44px; margin-bottom: 25px;}
	.post-content h3, .page-content h3{ font-size: 24px; line-height: 34px; margin-bottom: 25px;}
	.post-content h4, .page-content h4{ margin: 30px 0 15px 0;}
	.post-content p, .page-content p {margin-bottom: 25px;}

	p.postmeta {margin-bottom: 35px;}

	p.featured-text {font-size: 25px; line-height: 1.58;}
}


/*
.home.page {
	background: url(/wp-content/uploads/2017/12/Titanic-Background-Optimised.jpg) no-repeat;
	background-size: 100%;
	background-attachment: fixed;
}
*/
@media all and (max-width: 800px) {	.home.page {background-size: 100% 100vh;} }
@media all and (max-width: 500px) {	.home.page {background-size: auto 100vh;} }

.home.page .section {background-color:#001E60;}
.home.page .section.white {background-color:#fff;}

/* .home.page .section.header, */
.home.page .section.parallax_content{background-color:transparent;}
.home.page .newsletter_signup,
.home.page .section.footer {margin-top:0;}

.home.page.scrolled .section.header {background-color:#001E60 !important;}

.home.page.menu_active {background-image: none; background-color:#001E60;}



.page-id-5381 .page-header {display: none;}



hr {display: none;}


.swnza_banner {height: auto !important; text-align: center;}
p#swnza_banner_text{display: none;}
.swnza_banner a {color:#ff6d6a;}
.swnza_banner h3 {margin: 20px 0 5px 0;}
.swnza_banner h3 a { font-family: 'flamacondensed_semibold'; text-transform: uppercase; color:#ff6d6a; font-size: 22px; }
.swnza_banner h3 a:hover{text-decoration: none;}
.swnza_banner p.privacy-statement {font-size: 14px; margin: 1em 15% 2em 15%; line-height: 1.5;}
.swnza_banner p.privacy-statement a {color:#fff; text-decoration: underline;}

a#swnza_close_button_link {
	right: 20px;
	top: 30px;
	border: none;
	border-radius: 0;
	background-color: transparent;
	background-image: url(images/menu-close.svg);
}

@media all and (min-width: 650px) {
	.swnza_banner p.privacy-statement {font-size: 18px; }
}

@media all and (min-width: 1200px) {
	.promos.large span.overlay { background-position: 50% 18%; }
	.promos.large .listing-item .title { font-size: 40px; line-height: 1.2;}
	.promos.large .listing-item .sub_title { font-size: 22px; line-height: 1.2;}
	.promos.large .listing-item .date_text { font-size: 22px; margin-top: 22px; line-height: 1.2;}
	.promos.large .listing-item .description { font-size: 18px;  line-height: 1.2;}

	.promos.large .listing-item .initial_date_text { font-size: 22px; padding-bottom: 20px;}

	.home.page {background-size: auto 100vh;}

}

.section.large_promotions + .section.listing_posts { margin-top: 40px;}
p.date-strap {
	font-family: flamacondensed_semibold;
    text-transform: uppercase;
    font-size: 32px;
    text-align: center;
}

video#bgvid {
	position: absolute;
	top:0;right:0;bottom:0;left:0;
	width:100%; height: 100%;
	object-fit: cover;
	background-size: cover;
	font-family: 'object-fit: cover;';
}

.section.no_padding .section-inner {	padding:0; }
.section.full_bleed .section-inner {	width: 100%; max-width: none; }
.section.full_bleed p:last-child { margin-bottom:0;}


#arve .arve-wrapper, #tinymce .arve-wrapper { max-width: none !important; margin-bottom: 0 !important;}

@media all and (min-width: 650px){
	.mobile-book-tickets { display: none !important;}
}

.section.white.image_gallery .section-inner { max-width: 1270px;}
.gallery ul { margin:0; padding:0;}
.gallery li { list-style: none;}
.gallery.grid ul { text-align: center; font-size:0;}
.gallery.grid li { display: inline-block; vertical-align: top; width: 50%;}

@media all and (min-width: 650px){ 	.gallery.grid li { width: 33.33%;} }
@media all and (min-width: 1200px){ 	.gallery.grid li { width: 25%;} }

.gallery.flexslider { border: none !important; background: transparent !important; border-radius:0 !important; margin-bottom:0 !important; box-shadow: none !important;}


/**/

div.section.notice { padding: 20px 0; background-color: #09a7de !important;}
div.section.notice h2 {
	font-family: 'flamacondensed_semibold';
  text-transform: uppercase;
  padding: 0;
	margin:0;
	font-size: 22px;
}
div.section.notice p {  margin:0; font-size: 80%;}
div.section.notice a { color:#fff; border-bottom: 1px solid; }
div.section.notice .section-inner { max-width: 747px; }
div.section.notice a:hover { text-decoration: none; }


body.show_header_over_content div.section.notice + div.section.header { top: 125px; }

body.show_header_over_content.scrolled div.section.notice + div.section.header { top: 0; }
body.show_header_over_content.scrolled.admin-bar div.section.notice + div.section.header { top: 32px; }

body.menu_active div.section.notice { padding:0; max-height: 0; opacity:0;}

.ticket-notice a.button { background-color:#f16b65;}