/*
Theme Name:         Arte Autentica
Description:        Museo d’Arte e Scienza di Gottfried Matthaes S.R.L.
Version:            1.0.0

*/

/* --------------------------------------------------
   Table of Contents
-----------------------------------------------------
:: Customized Adjustments of Foundation for WordPress
:: Styling Basic WordPress Outputs
:: Customize Foundation Style Pagination for WP-Pagenavi
:: Customize for BuddyPress
:: Your Customized Style
*/

/* ---------------------------------------------------
   Customized Adjustments of Foundation for WordPress
--------------------------------------------------- */

	/* Foundation-specific presentation CSS by ZURB */
	div.reverie-header { margin: 0 0 20px 0; padding: 20px 0 0 0; border-bottom: solid 1px #ccc; }
	div.reverie-header h1 { font-weight: 500; margin-bottom: 0; padding: 0; }
	div.reverie-header h1 a { color: #181818; }
	div.reverie-header h1 a:hover { color: #181818; }

	@media handheld, only screen and (max-width: 767px) {
	header { position: relative; }
	header .subheader { margin-bottom: 0; }
	header .menu-action { float: left; position: relative; top: 1px; margin-top: -12px; }
	header .menu-action .button.small { padding: 8px; }
	header .menu-action .button.small svg { opacity: 0.5; }
	header h1 { font-size: 27px; font-size: 2.7rem; margin-bottom: 18px; }
	header h4 { font-size: 17px; font-size: 1.7rem; }
	}

/* -----------------------------------------
   Styling Basic WordPress Outputs
----------------------------------------- */

  div#main.row {
    padding: 0 10px;
  }

	/* Global */
	h1, h2, h3, h4, h5 { font-family: 'Open Sans', "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif; font-weight: 300; }

	/* Add Divider for Listed Posts */
	.divider { background:url(images/divider.png) no-repeat center top; height:36px; margin:20px 0 27px; }

	/* Add Class for Images */
	img.alignright { float: right; margin: 17px 0 18px 18px; border: 6px solid #DDD; }
	img.alignleft { float: left; margin: 17px 18px 18px 0; border: 6px solid #DDD; width:40%; }
	img.aligncenter { display: block; margin: 18px auto; border: 6px solid #DDD; }

	/* Add HTML5 Class for Images */
	figure img {
		height: auto;
		border: 6px solid #DDD;
		max-width: 100%;
		margin: 5px;
	}

	@media screen {
		figure img {
			width: 45%;
		}
	}


	img {
		zoom:expression(
		function(t){
		t.runtimeStyle.zoom = 1;
		var maxW = parseInt(t.currentStyle['max-width'], 10);
		var maxH = parseInt(t.currentStyle['max-height'], 10);
		if (t.scrollWidth > maxW && t.scrollWidth >= t.scrollHeight) {
		t.style.width = maxW;
		} else if (t.scrollHeight > maxH) {
		t.style.height = maxH;
		}
		}(this)
		);
	}

	/* Add HTML5 Caption Class for Images */
	figure.figure {	margin: 0 auto;	-webkit-border-radius: 3px;	-moz-border-radius: 3px; display: inline-block; }
	figure.figure figcaption { padding: 8px 0px; font-size: 13px; font-size: 1.3rem; line-height: 18px; color: #555; text-align: center; }
	figure.alignright.figure { float: right; margin: 17px 0 18px 18px; clear: right; }
	figure.alignleft.figure { float: left; margin: 17px 18px 5px 0; clear: left; }

	/* Sidebar Adjustment */
	.sidebar-section { padding-bottom: 10px; padding-top: 20px;	font-size: 13px; font-size: 1.3rem; font-weight: normal; }

	/* Footer Nav */
	.footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	.footer-nav li { display: block; float: right; padding-left: 3%; margin-bottom: 0; }

	/* Breadcrumb Adjustment */
	ul.breadcrumbs li span { padding-left: 3px; }
	ul.breadcrumbs li a { padding-left: 0; }

	/* Comment Textarea Adjustment */
	#respond textarea { height: 100px; }

/*  -------------------------------------------------------
    Adjust Foundation 3 Pagination Style for WordPress
    ---------------------------------------------------- */

    ul.page-numbers { display: block; height: 24px; margin-left: -5px; }
    ul.page-numbers li {float: left; display: block; height: 24px; color: #999; font-size: 14px; margin-left: 5px; }
    ul.page-numbers li a { display: block; padding: 1px 7px 1px; color: #555; }
    ul.page-numbers li:hover a, ul.page-numbers li a:focus { background: #e6e6e6; }
    ul.page-numbers li.unavailable a { cursor: default; color: #999; }
    ul.page-numbers li.unavailable:hover a,ul.page-numbers li.unavailable a:focus { background: transparent; }
    ul.page-numbers li span.current { background: #2ba6cb; color: #fff; font-weight: bold; cursor: default; display: block; padding: 1px 7px 1px; }

/*  ---------------------------
    :: Customize for BuddyPress
    --------------------------- */

	.padder label + textarea { margin-top: 0; }
	.padder #item-body #message-threads .thread-avatar img { max-width: 50px; }
	ul.item-list.activity-list li.new_blog_post { padding-bottom: 15px; }
    .padder select { display: inline-block; }
    .padder div.item-list-tabs { margin: 25px 0; }
    .padder form#whats-new-form textarea { height: 30px; }
    .padder .button { display: inline; }


/*  --------------------------
    Your Customized Style
    ----------------------- */


*+html #div figure img {
    max-width: 100%;
}

.copyright a {
	color:white;
}
