/*
Theme Name: Suffolk Regiment Museum theme
Theme URI: http://www.suffolkregimentmuseum.co.uk
Description: WordPress Suffolk Regiment Museum theme
Author: Plain Logic
Author URI: http://www.plainlogic.co.uk
*/

/* Font Imports */

@import url(http://fonts.googleapis.com/css?family=Roboto:300,300italic,500,700,900);

/* General Styles */

html { font-size: 10px; }

body {
color: #2e2e2e;
font-family: 'Roboto', sans-serif;
font-weight: 300;
font-size: 16px;
font-size: 1.6rem;
text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
-webkit-font-smoothing: antialiased;
}

p {
font-size: 16px;
font-size: 1.6rem;
font-weight: 300;
line-height: 1.8;
}

h1, h2, h3 { line-height: 1; }

h1 {
font-size: 52px;
font-size: 5.2rem;
font-weight: 900;
}

h2 {
font-size: 21px;
font-size: 2.1rem;
font-weight: 700;
}

h3 {
font-size: 18px;
font-size: 1.8rem;
font-weight: 500;
}

a { color: #940000; }
a:hover { color: #2e2e2e; }

table { border-collapse: collapse; width: 100%; }
th { border: none; padding: 15px 0; }
td { border: 1px solid #d5d5d5; padding: 15px; }

th, td {
color: #2e2e2e;
font-size: 16px;
font-size: 1.6rem;
font-weight: 300;
}

hr {
border: 0;
height: 2px;
line-height: 2px;
margin-left: 0;
text-align: left;
}

/* Manual Classes */

.light-grey { color: #d5d5d5; }
.grey { color: #696969; }
.black{ color: #2e2e2e; }
.green { color: #005200; }
.red { color: 940000; }

.breadcrumb { float: left; padding-bottom: 20px; }

.breadcrumb p {
color: #696969;
font-size: 16px;
font-size: 1.6rem;
font-weight: 700;
line-height: 1;
}

.button {
border: 0;
border-radius: 8px;
display: block;
float: left;
font-size: 20px;
font-size: 2rem;
font-weight: 300;
height: 37px;
line-height: 36px;
text-align: center;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Remove iOS highlight */
}

/* Header */

#header { margin-bottom: 30px; }

#bar {
background-color: #fff;
height: 60px;
z-index: 100;
}

#logo {
background-color: #fff;
border-radius: 8px;
left: 100px;
padding: 10px;
position: absolute;
top: 0;
z-index: 200;
}

#logo img {
height: auto;
max-width: 140px;
width: 100%;
}

@media screen and (max-width: 980px) {
	#logo { display: none; }
}

#banner { position: relative; }
#banner img{ height: auto; width: 100%; }

#ribbon {
background-color: #005200; /* IE 8 Fallback */
background-color: rgba(0,82,0,0.9);
bottom: 0;
left: 0;
position: absolute;
right: 0;
z-index: 100;
}

#ribbon h1 {
color: #fff;
float: left;
font-size: 40px;
font-size: 4rem;
font-weight: 300;
margin: 12px 0 10px 0;
}

@media screen and (max-width: 900px) {
	#ribbon h1 { font-size: 3.2rem; }
}

#ribbon .button {
background-color: #fff; /* IE 8 Fallback */
background-color: rgba(255,255,255,1);
color: #2e2e2e;
float: right;
margin: 15px 0;
width: 230px;
}

#ribbon .button:hover { background-color: #2e2e2e; color: #fff; }

@media screen and (max-width: 1000px) {
	#ribbon .button { display: none; }
}

@media screen and (max-width: 600px) {
	#ribbon { display: none; }
}

#bar .social-icons {
	float: right;
	height: 30px;
	line-height: 30px;
	margin-top: 15px;
}

#bar .social-icons img {
	float: left;
	height: auto;
	margin-left: 10px;
	max-width: 30px;
}
	

/* Primary Navigation */

.toggle {
background-image: url('images/menu.png');
background-repeat: no-repeat;
background-size: 24px 24px;
color: #696969;
cursor: pointer;
float: left;
font-size: 1.6rem;
font-weight: 500;
height: 24px;
line-height: 24px;
padding-left: 30px;
position: absolute;
top: 20px;
width: 47px;
}

.toggle { display: none; }
.nav { display: block; }

.primary { position: absolute; left: 265px; }

.primary a {
color: #696969;
display: block;
font-size: 16px;
font-size: 1.6rem;
font-weight: 700;
}

.primary a:hover { color: #940000; }

.primary ul { height: 20px; line-height: 20px; }
.primary ul li { float: left; text-align: center; }
.primary ul li a { padding: 20px 15px 20px 15px; }

.primary ul li:hover > ul { display: block; }

.primary ul li ul {
background-color: #fff;
border-top: 5px solid #940000;
display: none;
height: auto;
margin-left: -125px;
padding: 10px 20px;
position: absolute;
z-index: 9999;
}

.primary ul li ul li { float: none; text-align: center; }
.primary ul li ul li a { padding: 5px; }

.primary .current_page_item  > a { color: #940000; }

@media screen and (max-width: 980px) {
	.toggle { display: block; }
	.nav { display: none; }
	.toggled-on .nav { display: block; }
	
	.primary {
	background-color: #fff;
	left: 0;
	position: absolute;
	top: 60px;
	width: 100%;
	z-index: 300;
	}
	
	.primary ul {
	border-top: 5px solid #940000;
	border-bottom: 5px solid #940000;
	height: auto;
	overflow: hidden;
	padding: 0 10px;
	}
	
	.primary ul li { float: none; line-height: 30px; }
	.primary ul li a { padding: 0; }
	
	.primary ul li ul {
	border: 0;
	display: block;
	height: auto;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 9999;
	}
	
	.primary ul li ul li a { padding: 0; }
}

/* Page Styles */

#page { margin-bottom: 30px; }

/* About the Museum */

#about .breadcrumb hr { border-top: 2px solid #940000; width: 48px; }

#about .content {
clear: left;
margin-bottom: 30px;
padding-right: 20px;
}

@media screen and (max-width: 900px) {
	#about .content { padding-right: 0; }
}

#about .button {
background-color: #005200;
color: #fff;
margin-bottom: 30px;
width: 240px;
}

#about .button:hover { background-color: #358c00; }

#about .slides { margin-bottom: 30px; }

/* Object of the Month */

#object {
background-image: url("images/tile.gif");
background-color: #2e2e2e;
padding: 30px 0;
}

#object .content { padding-right: 20px; }

@media screen and (max-width: 900px) {
	#object .content { padding-right: 0; }
}

#object .content h1 { color: #fff; margin-bottom: 30px; }

#object .content h2 {
color: #fff;
font-size: 24px;
font-size: 2.4rem;
font-weight: 300;
line-height: 1.2;
}

#object .content hr {
border-top: 2px solid #fff;
margin-bottom: 30px;
width: 25%;
}

#object .content p { clear: left; color: #d5d5d5; }

#object .button {
background-color: #fff;
color: #2e2e2e;
margin-top: 30px;
width: 220px;
}

#object .button:hover { background-color: #005200; color: #fff; }

#object .image { float: right; }

#object .image img {
height: 100%;
max-height: 400px;
width: 100%;
}

@media screen and (max-width: 900px) {
	#object .image { float: left; padding-top: 20px; }
	#object .image img { max-height: 100%; }
}

/* Visitor Information */

.visitor { padding: 30px 0; }

.visitor .breadcrumb hr { border-top: 2px solid #940000; width: 58px; }

.map { border: 0; padding: 0 15px 15px 0; }

.map iframe { height: 400px; width: 100%; }

.visitor h1 { clear: left; color: #2e2e2e; }
.visitor h2 { color: #940000; padding-bottom: 30px }

.visitor .content { padding-right: 20px; }

@media screen and (max-width: 900px) {
	.visitor .content { padding-right: 0; }
}

.visitor .content h3 { font-weight: 700; padding: 20px 0; }
.visitor .content h3:first-child { padding-top: 0; }

.visitor .content strong { color: #005200; }

.visitor .button {
background-color: #940000;
color: #fff;
margin: 30px 0;
width: 150px;
}

.visitor .button:hover { background-color: #2e2e2e; }

/* Gallery Styles */

#previous-objects h1 {
color: #2e2e2e;
font-size: 46px;
font-size: 4.6rem;
font-weight: 900;
padding: 20px 0;
}

.object {
border-bottom: 1px solid #d5d5d5;
float: left;
padding: 20px 0;
}

.object .content { margin-left: 280px; }

.object .content h2 {
color: #940000;
font-size: 30px;
font-size: 3rem;
font-weight: 900;
padding: 10px 0 20px 0; 
}

.object .content p { clear: none; padding-right: 0; }

@media screen and (max-width: 800px) {
	.object .content {
	clear: left;
	float: left;
	margin-left: 0;
	}
}

.object .image {
float: left;
max-height: 260px;
overflow: hidden;
padding: 10px 0;
width: 260px;
}

/* single-object.php */

#single-object {}

#single-object .details { padding-bottom: 30px; }

#single-object .details h1, h2, h3 { line-height: 1.4; }

#single-object .details li {
line-height: 2;
list-style-type: square;
list-style-position: inside;
}

/* Contact Styles */

#contact .content { margin-bottom: 20px; }

#form .wpcf7 a { color: #4d4d4d; } /* Prevent iOS blue highlight */
#form .wpcf7 img { height: auto; width: auto; }

#form .wpcf7-form p { font-weight: 500; }

#form .wpcf7 .screen-reader-response {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}

#form .wpcf7-mail-sent-ok,
#form .wpcf7-mail-sent-ng ,
#form .wpcf7-spam-blocked,
#form .wpcf7-validation-errors {
line-height: 2;
margin-bottom: 1em;
padding: 0.2em;
width: 95%;
}

#form .wpcf7-mail-sent-ng,
#form .wpcf7-mail-sent-ok { border: 1px solid #358c00; }

#form .wpcf7-spam-blocked,
#form .wpcf7-validation-errors { border: 1px solid #bd0000; }

#form .wpcf7-form-control { margin-top: 5px; }
#form .wpcf7-response-output { padding: 5px; }
#form .wpcf7-not-valid-tip { color: #bd0000; margin-left: 1em; }
#form .wpcf7-not-valid-tip-no-ajax { color: #bd0000; display: block; }

#form .wpcf7-form-control-wrap input,
#form .wpcf7-form-control-wrap textarea {
border: 1px solid #d5d5d5;
color: #2e2e2e;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-size: 1.6rem;
font-weight: 300;
overflow: hidden;
padding: 2px;
}

#form .wpcf7-text {
height: 35px;
margin-bottom: 1em;
width: 70%;
}

#form .wpcf7-textarea {
height: 150px;
margin-bottom: 1em;
width: 97%;
}

#form .wpcf7-quiz {
height: 30px;
margin-bottom: 1em;
width: 10%;
}

#form .wpcf7-submit {
background-color: #940000;
border: 0;
border-radius: 8px;
color: #fff;
display: block;
font-family: 'Roboto', sans-serif;
font-size: 16px;
font-size: 1.6rem;
font-weight: 300;
height: 37px;
line-height: 36px;
text-align: center;
text-transform: uppercase;
width: 60px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Remove iOS highlight */
}

#form .wpcf7-submit:hover { background-color: #2e2e2e; }

/* Footer */

#footer {
background-image: url("images/tile.gif");
background-color: #2e2e2e;
padding: 10px 0;
}

#footer .content strong {
color: #fff;
font-size: 18px;
font-size: 1.8rem;
font-weight: 500;
}

#footer .content p { color: #fff; margin-top: 30px; }

/* Design Attribution */

#attrib { padding: 10px 0; }

#attrib .content {
color: #2e2e2e;
font-size: 12px;
font-size: 1.2rem;
}

#attrib .content a { color: #2e2e2e; }
#attrib .content a:hover { color: #940000; }

/* WordPress Classes */

.alignnone { margin: 0 0 20px 0; padding: 0; }

.alignright {
float: right;
margin: 0 0 20px 35px;
padding: 0;
}

.alignleft {
float: left;
margin: 0 35px 20px 0;
padding: 0;
}

.aligncenter { display: block; margin: 0 auto 0 auto; }

@media screen and (max-width: 600px) {
	.alignleft, .alignright { float: none; }
	.alignleft { margin-right: 0; }
	.alignright { margin-left: 0; }
}
