/*
Theme Name: Combined Military Services Museum
Author: Pipe Media
Author URI: http://www.pipe.media
Description: Responsive WordPress Theme for Combined Military Services Museum
Version: 1.0
*/

/* Basic Styles
------------------------------------------- */

	body {
		background-color: #FFFFFF;
		font-family: "proxima-nova", Helvetica, Arial, Sans-serif;
		font-size: 16px;
		line-height: 22px;
		color: #333333;
	}

/* Typography
------------------------------------------- */

	h1, h2, h3, h4, h5, h6 {
		color: #9C1B1F;
		font-weight: 600;
		margin: 0 0 12px; }
	h1 { font-size: 42px; line-height: 46px; color: #333333; margin-bottom: 15px; }
	h2 { font-size: 28px; line-height: 32px; }
	h3 { font-size: 22px; line-height: 26px; margin-top: 20px; }
	h4 { font-size: 20px; line-height: 24px; }
	h5 { font-size: 16px; line-height: 20px; }
	h6 { font-size: 14px; line-height: 18px; }
	
	p { margin: 0 0 12px; }
	p img { margin: 0; }

	em { font-style: italic; }
	strong { font-weight: 600; }
	small { font-size: 80%; }

/*	Blockquotes  */
	blockquote, blockquote p { line-height: 26px; font-size: 18px; color: #555555; }
	blockquote { margin: 45px 0 0 60px; padding: 0 0 0 70px; background: url('images/quote.png') top 5px left no-repeat; background-size: 50px auto; }
	blockquote p:last-child { margin: 0; }
	blockquote cite { display: block; font-size: 14px; line-height: 20px; color: #888888; font-style: normal; }

/*	Horizontal Line  */
	hr { border: solid #8797A7; border-width: 2px 0 0; clear: both; margin: 15px 0; height: 0; }

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

	a { color: #454545; text-decoration: underline; outline: 0; -o-transition: all 0.4s ease-out 0s; -webkit-transition: all 0.4s ease-out 0s; -moz-transition: all 0.4s ease-out 0s; }
	a:hover { color: #444444; }
	
	a.btn { background-color: #9C1B1F; color: #FFFFFF; font-weight: 600; text-decoration: none; padding: 8px 12px; display: block; float: left; }

/* Lists
------------------------------------------- */

	ul {
		list-style: square;
		padding: 0 0 0 25px;
	}
	
	ul li, ol li {
		margin: 0 0 5px;
	}

/* Images
------------------------------------------- */

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

	img.alignleft {
		float: left;
		margin: 0 20px 0 0;
	}
	
	img.alignright {
		float: right;
		margin: 0 0 0 20px;
	}

/* Forms
------------------------------------------- */
	
	input, textarea, select {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		border-radius: 0;
	}
	
	form label {
		margin: 0 0 5px !important;
	}

	form input, form textarea, form select {
		font-family: "proxima-nova", Helvetica, Arial, Sans-serif;
		box-shadow: none !important;
	}
	
	form .frm_submit button {
		background-color: #9C1B1F;
		border: none;
		color: #FFFFFF;
		font-size: 16px;
		padding: 8px 14px;
	}
	
	form .frm_submit .frm_ajax_loading {
		float: right;
		margin: 12px 0 0;
	}

/* Table
------------------------------------------- */

	table {
		width: 100%;
	}

	table tr td {
		border-bottom: 1px solid #DDDDDD;
		padding: 10px;
	}

/* Cookie Consent
------------------------------------------- */

	#cookie-law {
	    background-color: #9C1B1F;
		padding: 10px 0;
		width: 100%;
	}
	
	#cookie-law .sixteen.columns {
		width: 96%;
		margin: 0 2%;
	}

	#cookie-law p {
	    font-size: 14px;
	    color: #FFFFFF;
		margin: 0;
	}

	#cookie-law p a {
		color: #FFFFFF;
	}

	#cookie-law p a.close-cookie-banner {
		background: url('images/close.png') no-repeat;
		background-size: 20px 20px;
		float: right;
		width: 20px;
		height: 20px;
		display: block;
		text-indent: -9999px;
		margin: 1px 0 0;
	}

/* Header
------------------------------------------- */
	
	header .container.inner {
		padding: 20px 0;
	}
	
	header #logo {
		background: url('images/logo.png') no-repeat;
		background-size: 100% auto;
		width: 420px;
		height: 126px;
		margin: 0 auto -30px;
	}
	
	header #logo a {
		display: block;
		text-indent: -9999px;
		width: 100%;
		height: 100%;
	}
	
	header p {
		font-size: 18px;
		color: #666666;
		padding-left: 28px;
		margin: 40px 0 0;
	}
	
	header p.time {
		background: url('images/opening_hours.png') left center no-repeat;
		background-size: 20px auto;
	}
	
	header p.location {
		background: url('images/location.png') left center no-repeat;
		background-size: 15px auto;
		padding-left: 23px;
		float: right;
	}
	
	header nav {
		background-color: #9C1B1F;
		padding: 10px 0;
	}
	
	header nav ul {
		text-align: center;
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	header nav ul li {
		font-weight: 600;
		font-size: 19px;
		display: inline-block;
		margin: 0;
		text-transform: uppercase;
	}
	
	header nav ul li a {
		text-decoration: none;
		color: #FFFFFF;
		display: block;
		padding: 10px 20px 5px;
	}
	
	header nav ul li a:hover {
		color: #FAB82C;
	}
	
	header nav ul li.current-menu-item a span,
	body.single-post header nav ul li.current_page_parent a span,
	body.single-collections header nav ul li.menu-item-22 a span,
	body.post-type-archive-collections header nav ul li.menu-item-22 a span {
		background-color: #FAB82C;
		display: block;
		height: 2px;
		margin: 5px auto 0;
		width: 30px;
	}
	
	header a#mobile_menu {
		display: none;
	}

/* Footer
------------------------------------------- */
	
	#social {
		background: url('images/social.jpg');
		background-size: cover;
		text-align: center;
		padding: 40px 0;
	}
	
	#social h2 {
		margin-bottom: 15px;
	}
	
	#social h2, #social h2 a {
		text-decoration: none;
		color: #FFFFFF;
	}
	
	#social .tweet {
		font-size: 20px;
		line-height: 26px;
		max-width: 70%;
		margin: 0 auto 30px;
		color: #FFFFFF;
	}
	
	#social .tweet ul,
	#social .tweet ul li,
	#social ul.social,
	#social ul.social li {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	#social .tweet ul li,
	#social .tweet ul li a {
		color: #FFFFFF;
	}
	
	#social ul.social li {
		background: url('images/social_icons.png') no-repeat;
		background-size: 144px auto;
		display: inline-block;
		width: 48px;
		height: 48px;
		margin: 0 5px;
	}
	
	#social ul.social li.twitter {
		background-position: -48px 0;
	}
	
	#social ul.social li.tripadvisor {
		background-position: -96px 0;
	}
	
	#social ul.social li a {
		display: block;
		width: 100%;
		height: 100%;
		text-indent: -9999px;
	}
	
	#social #tripadvisor {
		width: 300px;
		margin: 0 auto 40px;
	}
	
	footer {
		padding: 30px 0;
	}
	
	footer p {
		margin-bottom: 5px;
		font-size: 14px;
		line-height: 20px;
	}
	
	footer p a {
		text-decoration: none;
	}
	
	footer p a.credit {
		font-weight: 600;
	}
	
	footer .affiliations {
		background: url('images/affiliations.png') no-repeat;
		background-size: 100% auto;
		width: 270px;
		height: 85px;
		float: right;
	}
	
/* Page
------------------------------------------- */	
	
	.container.inner {
		padding: 40px 0;
	}
	
	#title {
		padding: 40px 0;
	}
	
	#title h1 {
		margin: 0;
	}
	
	.block {
		padding: 40px 0;
	}
	
	.block.block_alt {
		background-color: #6D8741;
		color: #EEEEEE;
	}
	
	.block_alt h2, .block_alt h3 {
		color: #FFFFFF;
	}
	
	.block_alt h3 {
		font-weight: normal;
	}
	
	.block h2 a {
		text-decoration: none;
	}
	
	.block_alt h2 a {
		text-decoration: none;
		color: #FFFFFF;
	}
	
	.block_alt p {
		color: #EEEEEE;
	}
	
	.block_alt p a {
		color: #EEEEEE;
	}
	
	.block a.btn {
		margin-top: 20px;
	}
	
	#banner {
		background: url("images/about.jpg") center no-repeat;
		padding: 40px 0;
		text-align: center;
	}
	
	#banner h3 {
		line-height: 28px;
		margin: 0;
		color: #FFFFFF;
	}

/* Sidebar
------------------------------------------- */
	
	aside {
		padding: 55px 0 0 60px;
	}
	
	aside h3 {
		margin-top: 0;
	}
	
	aside section {
		margin-bottom: 30px;
	}
	
/* Home
------------------------------------------- */
	
	#slider {
		background-color: #DDDDDD;
		position: relative;
		overflow: hidden;
	}
	
	#slider .bx-pager {
		z-index: 999;
		position: absolute;
		bottom: 20px;
		left: 0;
	}
	
	#slider .bx-wrapper .bx-pager .bx-pager-item a {
		background-color: #DDDDDD;
	}
	
	#slider .bx-wrapper .bx-pager .bx-pager-item a.active {
		background-color: #FFFFFF;
	}
	
	#collections {
		background-color: #6D8741;
		padding: 50px 0;
		border-bottom: 2px solid #FFFFFF;
	}
	
	#collections h2 {
		text-align: center;
		color: #FFFFFF;
		margin-bottom: 40px;
	}
	
	#collections .owl-carousel .owl-nav .owl-prev,
	#collections .owl-carousel .owl-nav .owl-next {
		background: url('images/arrows.png') no-repeat;
		background-size: 38px auto;
		width: 19px;
		height: 30px;
		text-indent: -9999px;
		display: block;
	}
	
	#collections .owl-carousel .owl-nav .owl-prev {
		position: absolute;
		top: 40%;
		left: -35px;
	}
	
	#collections .owl-carousel .owl-nav .owl-next {
		background-position: -19px 0;
		position: absolute;
		top: 40%;
		right: -35px;
	}
	
	#collections .owl-item {
		text-align: center;
		float: left;
	}
	
	#collections img {
		max-width: 160px;
		border: 3px solid #FFFFFF;
		margin: 0 auto;
		display: block;
	}
	
	#collections .owl-item h3 {
		font-weight: normal;
		font-size: 20px;
		line-height: 24px;
		margin: 15px 0 5px;
	}
	
	#collections .owl-item h3 a {
		text-decoration: none;
		color: #FFFFFF;
	}
	
	#collections .owl-item hr {
		border-color: #B7D189;
		width: 30px;
		margin: 10px auto;
	}
	
	#collections .owl-item p {
		font-size: 15px;
		line-height: 18px;
	}
	
	#collections .owl-item p a {
		text-decoration: none;
		color: #CDE89E;
	}
	
	#collections .owl-item p a:hover {
		color: #FFFFFF;
	}
	
	#latest_news {
		background-color: #9C1B1F;
		padding: 50px 0;
		border-bottom: 2px solid #FFFFFF;
	}
	
	#latest_news.page {
		background-color: #6D8741;
	}
	
	#latest_news h2 {
		color: #FFFFFF;
		margin-bottom: 40px;
	}
	
	#latest_news p.read_more {
		font-size: 22px;
		float: right;
		margin: 6px 0 0;
	}
	
	#latest_news p.read_more a {
		text-decoration: none;
		color: #E7AAAC;
	}
	
	#latest_news p.read_more a:hover {
		color: #FFFFFF;
	}
	
	#latest_news article {
		background-color: #FFFFFF;
		min-height: 430px;
		position: relative;
	}
	
	#latest_news article a.image_link {
		display: block;
		line-height: 0;
	}
	
	#latest_news article .content {
		padding: 20px;
	}
	
	#latest_news article .content h2 {
		font-size: 20px;
		line-height: 26px;
		margin-bottom: 7px;
	}
	
	#latest_news article .content h2 a {
		text-decoration: none;
	}
	
	#latest_news article .content h3 {
		font-weight: normal;
		color: #666666;
		font-size: 16px;
		line-height: 18px;
		margin-top: 0;
	}
	
	#latest_news article .content p {
		font-size: 14px;
		line-height: 19px;
	}
	
	#latest_news article .content p.continue_reading {
		font-size: 16px;
		margin: 0;
		position: absolute;
		bottom: 20px;
		left: 20px;
	}
	
	#latest_news article .content p.continue_reading a {
		text-decoration: underline;
		color: #9C1B1F;
	}

/* Collections
------------------------------------------- */
	
	#collections_list .block,
	#collections_list .block_alt {
		padding: 0;
	}
	
	#collections_list .block .nine.columns,
	#collections_list .block_alt .nine.columns {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	
	#collections_list .block .seven.columns,
	#collections_list .block_alt .seven.columns {
		line-height: 0;
	}
	
	#collections_list img {
		max-width: 85%;
		margin-top: 45px;
		display: block;
	}
	
	#collections_list .block img {
		float: left;
	}
	
	#collections_list .block_alt img {
		float: right;
	}

/* Visiting
------------------------------------------- */

	.admission table tr td {
		padding: 8px 0;
	}
	
	.admission table tr td {
		border-color: #7D9B4B;
	}
	
	.admission table tr:last-child td {
		border: none;
	}
	
	.admission table tr td:first-child {
		font-weight: 600;
	}
	
	.admission table tr td:first-child small {
		font-weight: normal;
	}
	
	.explore {
		padding-left: 60px;
	}
	
	.explore .tour {
		position: relative;
		height: 0;
		overflow: hidden;
		padding-bottom: 75%;
		padding-top: 25px;
		margin-top: 20px;
	}
	
	.explore .tour iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
	#map {
		background-color: #EEEEEE;
		width: 100%;
		height: 250px;
	}
	
	.facilities {
		padding-left: 60px;
	}
	
	.facilities ul {
		padding-left: 15px;
	}
	
	.facilities ul li {
		width: 50%;
		float: left;
	}

/* Single + Single Collection
------------------------------------------- */

	#single_post {
		background-color: #6D8741;
	}
	
	#single_post .article {
		background-color: #FFFFFF;
		padding: 40px;
		max-width: 700px;
		margin: 0 auto;
	}
	
	#single_post .article h3 {
		margin: 15px 0 25px;
	}
	
	#collection {
		background-color: #6D8741;
		padding-top: 40px;
	}
	
	#collection h1 {
		margin-bottom: 40px;
		color: #FFFFFF;
	}
	
	#collection ul.collection-gallery,
	#collection ul#collection-pager {
		background-color: #FFFFFF;
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	#collection ul#collection-pager {
		padding: 20px 20px 0;
	}
	
	#collection ul#collection-pager li {
		display: inline-block;
		margin: 0 6px 10px 0;
		border: 1px solid #DDDDDD;
		line-height: 0;
		max-width: 150px;
	}
	
	#collection ul#collection-pager li a {
		opacity: 0.6;
	}
	
	#collection ul#collection-pager li a.active {
		opacity: 1;
	}
	
	#collection ul#collection-pager li:nth-child(4n) {
		margin: 0 0 10px;
	}
	
	#collection .collection {
		max-width: 680px;
		margin: 0 auto;
	}
	
	#collection .collection .description {
		background-color: #FFFFFF;
		padding: 30px 40px 40px;
	}
	
	#collection .collection .description h2 {
		font-size: 26px;
		margin-bottom: 25px;
	}
	
	#collection .collection .description p:last-child {
		margin: 0;
	}

/* Tablet
------------------------------------------- */
	
@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	header #logo {
		width: 364px;
		height: 109px;
	}
	
	header p {
		font-size: 16px;
		margin-top: 37px;
	}
	
	header nav {
		padding: 6px 0;
	}
	
	header nav ul li {
		font-size: 18px;
	}
	
	header nav ul li a {
		padding: 9px 15px 4px;
	}
	
	header nav ul li a span {
		margin: 3px auto 0 !important;
	}
	
	#social .tweet {
		max-width: 90%;
	}
	
	#collections {
		padding: 50px 0 30px;
	}
	
	#collections .owl-carousel .owl-nav {
		display: none;
	}
	
	.facilities ul li {
		float: none;
		width: auto;
	}
	
	blockquote {
		margin: 45px 0 0 20px;
	}
	
}

/* Mobile (Fluid)
------------------------------------------- */

@media only screen and (max-width: 767px) {
	
	h1 {
		font-size: 36px;
		line-height: 40px;
	}
	
	header #logo {
		margin: 0 auto -25px;
		width: 280px;
		height: 84px;
	}
	
	header p {
		display: none;
	}
	
	header a#mobile_menu {
		background: url("images/menu.png") left center no-repeat;
		background-size: 24px auto;
		text-transform: uppercase;
		text-align: center;
		text-decoration: none;
		display: block;
		color: #FFFFFF;
		font-size: 18px;
		color: #FFFFFF;
		font-weight: 600;
		padding: 5px 0;
	}
	
	header nav ul {
		display: none;
		border-top: 1px solid #7D0303;
		padding-top: 10px;
		margin-top: 10px;
	}
	
	header nav ul li {
		display: block;
		font-size: 18px;
	}
	
	aside {
		padding: 55px 0 0;
	}
	
	#social .tweet {
		max-width: 100%;
	}
	
	footer p {
		text-align: center;
	}
	
	footer .affiliations {
		margin: 20px auto 0;
		float: none;
	}
	
	#slider .bx-pager {
		display: none;
	}
	
	#collections {
		padding: 50px 0 30px;
	}
	
	#collections .owl-carousel .owl-nav {
		display: none;
	}
	
	#latest_news {
		padding: 20px 0 0;
	}
	
	#latest_news h2,
	#latest_news p.read_more {
		display: none;
	}
	
	#latest_news article {
		max-width: 300px;
		margin: 0 auto 20px;
	}
	
	#latest_news article {
		display: none;
	}
	
	#latest_news article.article_1,
	#latest_news.page article {
		display: block;
	}
	
	#latest_news article h2 {
		display: block;
	}
	
	.admission, .facilities {
		padding: 40px 0 0;
	}
	
	.facilities ul {
		padding-left: 20px;
	}
	
	.facilities ul li {
		float: none;
		width: auto;
	}
	
	blockquote {
		margin: 30px 0 0 0;
	}
	
	#collection ul#collection-pager,
	#collections_list .block img {
		display: none;
	}
	
	#collections_list .block_alt img {
		display: block;
		margin: 0 auto;
		float: none;
	}
	
	#collection .collection .description,
	#single_post .article {
		padding: 20px;
	}
	
	#banner {
		background-size: cover;
	}
	
}
	