/*
Theme Name: MArVL
Theme URI: http://marvl.infotech.monash.edu.au/
Author: Michael Wybrow & Steve Kieffer
Author URI: http://wordpress.org/
Description: MArVL website theme.
Template: twentytwelve
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */

@import url("../twentytwelve/style.css");

body {
	text-rendering: auto;
}

header.site-header
{
	background-size: 175px 144px;
	background-repeat: no-repeat;
	background-position: 0px 27px;
}

#site-navigation
{
	margin-left: 195px;
}

hgroup {
	margin-left: 195px;
}

.main-navigation li ul li a {
	background: none;
	border: 0px;
	width: 180px;
	font-size: 12px;
}

a.long_link {
	width: 500px !important;
}

.main-navigation li ul li a:hover {
	background: none;
}
.main-navigation li a, .main-navigation li ul li a {
	line-height: 2.5;
	height: 30px;
}

.main-navigation li, .main-navigation li ul li {
	height: 30px;
	border: #cdcdcd 1px solid;
	background-color: #efefef;
	border-radius: 4px;
	margin: 10px;
	padding-left: 15px;
	padding-right: 15px;
}

.main-navigation li ul li {
	margin-top: 5px !important;
	margin-bottom: 0px !important;
}

li.current_page_item
{
	border: #888 1px solid;
	background-color: #cdcdcd !important;
}

a.marvl_object_link div.object
{
	border-top: #ededed 1px solid;
}

div.marvl_member
{
	margin-top: 15px;
	margin-bottom: 15px;
	background-position: 10px 15px;
	background-size: 150px 200px;
	background-repeat: no-repeat;
        min-height: 230px;
	padding-right: 10px;
}
a.marvl_object_link
{
	color: #636363;
	background-color: #AAF;
	text-decoration: none !important;
}

a.marvl_object_link div:hover
{
	background-color: #DDF;
}

a.marvl_object_link div:visited, .entry-content a:visited, .comment-content a:visited
{
	color: #636363;
}

div.marvl_member h2
{
	margin-top: 13px;
	margin-left: 175px;
	margin-bottom: 0px;
}
div.marvl_member h3
{
	margin-top: 5px;
	margin-left: 175px;
	margin-bottom: 0px;
}
div.marvl_member ul
{
	margin-top: 10px;
	margin-left: 175px;
	padding-left: 1.3em;
}
div.marvl_member ul li
{
	margin-left: 0px;
}

h2.site-description
{
	font-size: 14px;
}

div.marvl_software
{
	margin-top: 15px;
	margin-bottom: 15px;
	padding-bottom: 10px;
}

div.with_image
{
	background-repeat: no-repeat;
	background-position: 10px 50%;
	background-size: 200px;
	min-height: 220px;
	padding-left: 225px;
}

div.object div.with_image
{
	background-position: 10px 5px;
}

a div.marvl_member h2
{
	text-decoration: underline;
}
a div.marvl_software h2
{
	text-decoration: underline;
}

div.notice {
    border: dotted 1px #008fd4;
    padding: 1em;
    background-color: #ffe;
    margin-top: 15px;
    margin-bottom: 15px;
}

ul.publications li
{
	margin-bottom: 15px;
}

@media screen and (max-width: 599px) {
	#site-navigation
	{
		margin-left: 0px;
	}

	/* On smaller screens, put title text under logo, and centre logo. */
	header.site-header
	{
		background-size: 100px 100px;
		background-repeat: no-repeat;
		background-position: 50% 27px;
	}
	hgroup {
		margin-top: 110px;
		margin-left: 0px;
	}
	/* On smaller displays, show software and member images centred before text, rather than to the left of text. */
	div.with_image
	{
		background-position: 50% 20px;
		min-height: 0px;
		padding-left: 0px;
		padding-top: 200px;
	}
	div.marvl_member
	{
		padding-top: 223px;
		background-position: 50% 10px;
	}
	div.marvl_member h2
	{
		text-align: center;
		margin-left: 0px;
	}
	div.marvl_member h3
	{
		text-align: center;
		margin-left: 0px;
	}
	div.marvl_member ul
	{
		margin-left: 0px;
	}
}
