/*
Theme Name: Ministry of Art
Theme URI: http://artministry.com.au
Description: Ministry of ArtWordpress Theme
Version: 1.0
*/

/*------------------------------------------------------------------------------------------
					
					1. Document Setup (body, common classes, vertical ryhthm, layout etc.
					2. Headings
					3. Typography
					4. Forms
					5. Banner
					6. Navigation
				  7. Content
					8. Print Styles					
					
------------------------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------------------*/
/*    1. $Document Setup                                                     */ 
/*----------------------------------------------------------------------------------------*/
html {
	background: #453536 url('images/moa-background.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#wrapper {
	width: 820px;
	position: relative;
	padding: 55px 70px 70px 70px;
	margin: 25px auto 30px auto;
	background-color: #fff;
	/*background: #fff url('images/header-bg.jpg') no-repeat 650px 57px;*/
}

body {
	font-size: 14px;
	line-height: 1.5em;
	color: #695d54;
}

p {
	margin: 0 0 2em 0;
}

h1, h2, h3,h4 {
	font-weight: normal;
	margin: 0;
}

h1 {
	font-size: 28px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid #F2F1F2;
}

h1.exhibitions-title {
	padding-right: 500px;
	clear: both;
}

h2 {
	font-size: 20px;
	margin-bottom: 19px;
}

h3 {
	font-size: 16px;
	margin-bottom: 13px;
}

h4 {
	font-size: 14px;
	margin-bottom: 10px;
}

p {
	margin-bottom: 12px;
}

a {
	color: #222222;
	/*font-weight: bold;*/
}

img {
max-width: 100%; /* When images are too wide for containing element, force them to fit. */
height: auto; }

time {
  font-family: "proxima-nova-soft", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
}

/*----------------------------------------------------------------------------------------*/
/*    2. $Headings                                                               */ 
/*----------------------------------------------------------------------------------------*/
header[role="banner"] {
	position: relative;
}

.logo {
	margin-left: 100px;
	margin-bottom: 35px;
}

.fb-icon {
	position: absolute;
	right: 15px;
	top: 35px;	
}

.mailing-list-link {
	font-family: "proxima-nova-soft", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 1em;
  color: #817c7c;
  text-transform: uppercase;
  text-decoration: none; 
  position: absolute;
  right:0;
  bottom: 0;
}

/*----------------------------------------------------------------------------------------*/
/*    3. $Figures & Images                                                   */ 
/*----------------------------------------------------------------------------------------*/

/*Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
max-width: 100%; /* When images are too wide for containing element, force them to fit. */
height: auto; } /* Override height to match resized width for correct aspect ratio. */

img.alignleft {
margin-right: 1em;
float: left; }

img.alignright {
margin-left: 1em;
float: right; }

.wp-caption {
padding: .5em;
text-align: center; }

.wp-caption img {
margin: .25em; }

.wp-caption .wp-caption-text {
margin: .5em; }

/*----------------------------------------------------------------------------------------*/
/*    4. $Forms                                                                     */ 
/*----------------------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------------------*/
/*    5. $Banner                                                                   */ 
/*----------------------------------------------------------------------------------------*/

.banner-image {
	width: 820px;
	/*min-height: 400px;*/
	margin: 0;
}

/*----------------------------------------------------------------------------------------*/
/*    6. $Navigation                                                              */ 
/*----------------------------------------------------------------------------------------*/

/* Main Nav */
.main-nav {
	width: 820px;
}

.main-nav #menu-primary,
.sub-menu {
	margin: 0;
	padding-left: 0;
}

.main-nav #menu-primary li {
	float: left;
	position: relative;
}

.main-nav #menu-primary li a {
	display: block;
  padding: 0 1em;
  font-size: 13px;
  font-weight: normal;
  line-height: 1em;
  color: #817c7c;
  text-transform: uppercase;
  text-decoration: none; 
}

.main-nav #menu-primary ul {
	display: none;
	float: left;
	position: absolute;
	top: 13px;
	left: 0;
	z-index: 99999; 
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); }

.main-nav #menu-primary ul li a:hover {
	color: #fff;
}

.main-nav #menu-primary ul ul {
	left: 100%;
	top: 0; }

.main-nav #menu-primary ul a {
	width: 10em;
	height: auto;
	padding: .5em .5em .5em 1em;
	background: #333;
	color: #fff;
	line-height: 1em; }

.main-nav #menu-primary li:hover > a,
.main-nav #menu-primary ul :hover > a,
.main-nav #menu-primary li.current_page_item a {
	color: #4f4342; }

.main-nav #menu-primary ul a:hover {
	background: #000; }

.main-nav #menu-primary li:hover > ul {
	display: block; }
	
/* Sub Page Menu */
.subpage-nav {
	width: auto;
	float: right;
	margin-top: -62px;
}

.subpage-nav #menu-exhibitions,
.subpage-nav #menu-news,
#menu-footer {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#menu-footer {
	display: inline-block;
}

.subpage-nav li,
.subpage-nav #menu-news li,
#menu-footer li {
	display: block;
	float: left;	
	width: auto;
}

.subpage-nav #menu-exhibitions li a,
.subpage-nav #menu-news li a {
	padding-bottom: 10px;
	margin-left: 25px;
	color: #94959F;
	text-decoration: none;
	font-weight: normal;
}

#menu-footer li a {
	color: #000;
	text-decoration: none;
	margin: 0 20px;
	line-height: 1em;
}

.subpage-nav #menu-exhibitions li.current-menu-item a,
.subpage-nav #menu-news li.current-menu-item a {
	color: #000;
	border-bottom: 1px solid #000;
} 

.subpage-nav #menu-exhibitions li a:hover,
.subpage-nav #menu-news li a:hover {
	color: #000;
}

/*----------------------------------------------------------------------------------------*/
/*    7. $Content                                                                */ 
/*----------------------------------------------------------------------------------------*/

.content {
	margin-top: 90px;
}

.content article {
	margin-bottom: 50px;
}

.main-content,
.main-content-single {
	float: left;
	margin-right: 50px;
}

.main-content {
	width: 465px;
}

.main-content-single {
	width: 545px;
}

.main-content-books {
	float: left;
	width: 320px;
}

.right-col,
.right-col-single,
.right-col-books {
	float: right;
}

.right-col {
	width: 305px;
}

.right-col-single {
	width: 225px;
}

.right-col-books {
	width: 445px;
}

/* News posts stylings */
.post .attachment-post-thumbnail,
.exhibition .attachment-post-thumbnail,
.attachment-home-page-thumb  {
	float: left;
	margin-right: 18px;
	margin-bottom: 10px;
}

.post h2,
.exhibition h2 {
	margin-bottom: 3px;
}

.post h2 a,
.exhibition h2 a {
	font-weight: normal;
	color: #695d54;
	text-decoration: none;
}

.post h2 a:hover,
.exhibition h2 a:hover {
	text-decoration: underline;
}

.post time {
	display: block;
	font-family: "proxima-nova-soft", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	margin-bottom: 5px;
}

a.more-link,
.read-more {
	text-decoration: none;
}

.blog-excerpt {
	margin-bottom: 25px;
}

.blog-excerpt a.blog-title {
	display: block;
  font-family: "proxima-nova-soft", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #695d54;
	text-decoration: none;
	margin-bottom: 5px;
}

.homepage-news-item {
	margin-bottom: 20px;	
}

/* Artist Archives Page */
.thumbnail-archive-box {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.thumbnail-archive-box li {
	float: left;
	width: 150px;
	min-height: 150px;
	margin-right: 17px;
	line-height: 1.2em;
}

.thumbnail-archive-box li:nth-child(5n) {
	margin-right: 0;
}

.thumbnail-archive-box li a {
	text-decoration: none;
}

.video-container {
	margin: 15px 0;
}

.meta-links {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.meta-links li a {
	text-decoration: none;
}

.meta-links li a:hover {
	text-decoration: underline;
}

.gallery-item img {
    border: none !important;
}

.blog-excerpt p {
	margin-bottom: 0;
}

.price-meta {
	font-family: "proxima-nova-soft", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
}

.wp_cart_button_wrapper input {
    background-color: #0bc03e;
    border: medium none;
    color: #FFFFFF;
    margin: 0;
    padding: 10px 15px;
}

.wp_cart_button_wrapper input:hover {
	background-color: #07aa35;
}

footer[role="contentinfo"] {
  width: 820px;
  height: 21px;
  padding: 0 70px;
	margin: 0 auto 10px auto;
	text-align: center;
	background-color: #fff;
}

/* Mailing list form styles */
#mc_embed_signup {
	padding: 15px;
	border: 1px solid #E4E4E5;
}

#mc_embed_signup h2 {
	color: #000;
}

#mc_embed_signup .mc-field-group.input-group input {
	margin-right: 5px;
}

#mc_embed_signup .button {
	background-color: #492D2E !important;
}

.required {
	color: #000 !important;
}

/*----------------------------------------------------------------------------------------*/
/*    8. Print Styles                                                              */
/*----------------------------------------------------------------------------------------*/

@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}