/* https://github.com/murtaugh/HTML5-Reset */

/*
	HTML5 Reset :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://meyerweb.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video, details, summary {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */

article, aside, figure, footer, header, hgroup, nav, section, details, summary {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom;}
.ie7 input[type="checkbox"] {vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}

small {font-size: 85%;}

strong {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  /* https://github.com/murtaugh/HTML5-Reset */

/* apply a natural box layout model to all elements */
/* http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.chromeframe {position: absolute; top: 0;}

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #333;}

a {color: #03f;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }


/* Print styles!
-------------------------------------------------------------------------------*/
@media print {}


/* Media queries!
-------------------------------------------------------------------------------*/

/* http://css-tricks.com/snippets/css/media-queries-for-standard-devices/ */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) { }

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) { }

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {}

/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {}

/* Large screens ----------- */
@media only screen and (min-width : 1824px) {}

/* iPhone 4 ----------- */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {}
/*@font-face {
    font-family: 'Open Sans';
    src: url('../open-sans/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../open-sans/OpenSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../open-sans/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../open-sans/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../open-sans/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../open-sans/OpenSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}*/html {
	height: 100%;
	overflow-y: hidden;
}

body {
	font-family: 'Open Sans', sans-serif;
	height: 100%;
	overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased !important;
	background-color: rgb(127,127,127);
}

body {
}

a, a:hover, a:active, a:link, a:visited {
	color: inherit;
	text-decoration: none;
}

.element-hidden {
	display: inline;
	position: absolute;
	left: -1000px;
	top: -1000px;
	height: 0px;
	width: 0px;
	overflow: hidden;
}

.left {
	float: left;
}

#main-wrapper {
	width: 100%;
	height: 100%;
}

#logo {
	position: absolute;
	z-index: 1000;
	left: 18px;
	top: 9px;
	background-repeat: no-repeat;
}

#app {
	height: 100%;
}
#background-image {

	/*background-image: url('http://motionbank-media.s3.amazonaws.com/dh/app/imgs/backs/background-1.jpg');*/
  background: -webkit-radial-gradient(45px 45px, cover, #666 0%, #222 100%);
  background: -moz-radial-gradient(45px 45px, cover, #666 0%, #222 100%);
  background: radial-gradient(45px 45px, cover, #666 0%, #222 100%);
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;

	width: 100%;
	height: 100%;

	z-index: -1000;
	position: absolute;
	right: 0;
	top: 0;
	left: 0;
	bottom: 0;
}

#cover {
	float: left;
	padding-top: 15em;
	padding-left: 15%;

	color: white;
	font-weight: 100;
}

#cover h1 {
	font-size: 400%;
	letter-spacing: 0.15em;
	font-weight: 300;
	margin-left: -5px;
}

#cover p {
	font-size: 120%;
	letter-spacing: 1px;
	line-height: 1.4em;
	margin-top: 1.4em;
}

#cover p small{
  font-size: 100%;
  color: rgba(255,255,255,0.5);
}

@media only screen and (max-width : 1024px) {
	#cover {
		padding-top: 10em;
		padding-left: 9em;
	}
	#cover h1 {
		font-size: 270%;
	}
	#cover p {
		font-size: 90%;
	}
}

@media only screen and (max-width : 480px) {
	#cover {
		padding-top: 7em;
		padding-left: 6em;
	}
	#cover h1 {
		font-size: 200%;
	}
	#cover p {
		font-size: 70%;
	}
}
#main-menu-container {

	position: relative;

	display: block;
	height: 58px;

	color: white;
	border-bottom: 1px solid rgba(255,255,255,0.5);

	/*background-color: rgb(238, 238, 238); 
	background-image: linear-gradient(bottom, rgb(210, 210, 210) 11%, rgb(238, 238, 238) 77%);
	background-image: -o-linear-gradient(bottom, rgb(210, 210, 210) 11%, rgb(238, 238, 238) 77%);
	background-image: -moz-linear-gradient(bottom, rgb(210, 210, 210) 11%, rgb(238, 238, 238) 77%);
	background-image: -webkit-linear-gradient(bottom, rgb(210, 210, 210) 11%, rgb(238, 238, 238) 77%);
	background-image: -ms-linear-gradient(bottom, rgb(210, 210, 210) 11%, rgb(238, 238, 238) 77%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.77, rgb(238, 238, 238)),
		color-stop(0.11, rgb(210, 210, 210))
	);*/
	
	/*background-color: rgba(80,80,80,0.8);*/

	font-family: 'Open Sans';
	font-weight: 300; /* book */
	letter-spacing: 0.3em;
}

#main-menu-container .content {
	display: none;
}

#main-menu-container .menu {
	padding-top: 19px;
}

#main-menu-container .menu li {
	display: inline-block;
}

#main-menu-container .menu li a {
	display: block;
}

#main-menu li {
	padding-right: 9px;
}

#main-menu li:last-child {
	padding-right: 0px;
}

#main-title {
	padding-top: 18px;
	padding-right: 18px;
	float: right;
	min-width: 500px;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 15px;
	text-align: right;
}

#main-menu {
	width: 100%;
}

#main-menu ul {
	width: 550px;
	display: block;
	margin: 0px auto;
	text-align: center;
}

#main-menu ul {
	border-bottom: 1px solid black;
	padding-bottom: 8px;
	position: relative; /* allow for slider to be positioned */
}

#secondary-menu li {
}

#secondary-menu {
	float: right;
	padding-right: 18px;
}
#content {
	margin-top: -58px;
	padding-top: 58px;
	height: 100%;
	width: 100%;
}#grid-view-container {

	/*background-color: rgba(80,80,80,0.8);*/

	height: 100%;
	width: 100%;

	overflow: auto; /* scrollbar */
}

#grid-view {

	position: relative; /* to be able to place inner objects absolutely */ 
	/* TODO: unhack this to show full content */
	overflow: hidden; /* remove scrollbar at right when bottom bar is visible */

	width: 100%;
	height: 100%;
}

#background-grid {

}

#background-grid {

	float: left;
	width: 100%;
	height: 100%;

	border-collapse: separate;
}

#background-grid td {

/*  border-right: 1px solid #888888;
  border-bottom: 1px solid #888888;*/
}

#background-grid .lastrow td {

	border-bottom: 0px solid transparent;
}

#background-grid td.lastcol {

	border-right: 0px solid transparent;
}
#grid-view article.cell {
	position: absolute;
	color: white;
}

#grid-view article.cell.no-img {
	color: black;
}

#grid-view article.cell h1.title {
	margin-bottom: 0px;
	overflow: hidden;
}

#grid-view article.cell h1.title {
	text-transform: uppercase;
	font-size: 1.4em;
	font-weight: 300;
	letter-spacing: 0.1em;
	line-height: 1.3;
}

#grid-view article.cell .info .description {
}

/*#grid-view article.cell .info-wrapper {
	position: absolute;
	top: 0px; left: 0px;
	right: 0px; bottom: 0px;
	background-color: rgba(0,0,0,0.5);
	display: none;
}*/

#grid-view article.cell:hover .info-wrapper {
	display: block;
}

#grid-view article.cell .info {

	font-size: 90%;
	
	position: absolute;
	top: 3em; left: 3em;
	right: 3em; bottom: 3em;

	background-color: white;
	color: black;
	padding: 1.5em;
	overflow: hidden;
	display: none;
}

#grid-view article.cell.no-img .info,
#grid-view article.cell:hover .info {
	display: block;
}

/*#grid-view article.cell:hover {
	border: 1px solid white;
	padding: 0px;
}

#grid-view article.cell.active {
	border: 1px solid black;
	padding: 0px;
}*/

#grid-view article.cell.active .info-wrapper,
#grid-view article.cell.active .info {
	display: none;
}

#grid-view article.cell.cell-width-0 .info, 
#grid-view article.cell.cell-width-50 .info {
	padding: 0.5em;
	font-size: 25%;
}
#grid-view article.cell.cell-width-100 .info {
	padding: 0.5em;
	font-size: 50%;
}
#grid-view article.cell.cell-width-150 .info {
	padding: 0.75em;
	font-size: 58%;
}
#grid-view article.cell.cell-width-200 .info {
	padding: 1em;
	font-size: 66%;
}
#grid-view article.cell.cell-width-250 .info {
	padding: 1em;
	font-size: 74%;
}
#grid-view article.cell.cell-width-300 .info {
	padding: 1.25em;
	font-size: 82%;
}
#grid-view article.cell.cell-width-350 .info {
	padding: 1.25em;
	font-size: 90%;
}

#grid-view article.cell.cell-width-0 .info .description,
#grid-view article.cell.cell-width-50 .info .description,
#grid-view article.cell.cell-width-100 .info .description {
	display: none;
}

#grid-view article.cell {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: fixed;
	-webkit-background-size : cover;
	-moz-background-size : cover;
	-o-background-size : cover;
	background-size : cover;

	background-color: #EDEDED; /* Use this for all cell content bg's as well! */
}

#grid-view article.cell.type-visualization {
	-webkit-background-size : contain;
	-moz-background-size : contain;
	-o-background-size : contain;
	background-size : contain;
}

#grid-view article.cell.type-title {
	background-image: none;
	background-color: white;
	color: black;
}

#grid-view article.cell.type-title .info {
	display: block;
	color: black;
	background-color: white;
	padding: 3em;
	top: 0em;
	left: 0em;
	right: 0em;
	bottom: 0em;
}

#grid-view article.cell.type-title .info-wrapper,
#grid-view article.cell.type-text .info-wrapper {
	background-color: rgba(0,0,0,0);
	display: block;
}

#grid-view article.cell .content {
  width: 100%;
	height: 100%;
}

#grid-view article.cell .content iframe {
	width: 100%;
	height: 100%;
	border: 0px;
	overflow: hidden;
}

/* --- TODO: clean that tmp stuff up below */

#grid-view article.cell {
/*  border-right: 1px solid #888888;
  border-bottom: 1px solid #888888;*/
}

#grid-view article.cell.lastcol {
	border-right: 0px solid transparent;
}

#grid-view article.cell.lastrow {
	border-bottom: 0px solid transparent;
}

#grid-view article.cell .info {
	top: auto;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: white; /*rgba(255,255,255,0.7);*/
	color: black;
}


#grid-view article.cell.type-recording:hover,
#grid-view article.cell.type-context:hover,
#grid-view article.cell.type-set-link:hover {
	cursor: pointer;
}

#grid-view article.cell.type-set-link .info,
#grid-view article.cell.with-info .info {
	display: block;
}

#grid-view article.cell .info .description {
	display: none;
}

#grid-view article.cell.type-title .info .description,
#grid-view article.cell:hover .info .description {
	display: block;
	padding-top: 0.5em;
}

#grid-view .cell {
	background-color: white;
}

#grid-view article.cell.type-text.with-info .info,
#grid-view article.cell.type-text .info {
	display: none;
}

#select-set-view {

	height: 100%;
	width: 100%;
}

#select-set-view h1 {

	font-weight: 300;
	font-size: 16px;
	letter-spacing: 0.2em;
	text-transform: uppercase;

	padding-top: 18px;
	padding-left: 18px;
}

#select-set-view #set-list {

	background-color: #eeeeee;
	display: block;
	overflow-y: scroll;
	width: 100%;
	height: 100%;
}

#select-set-view #set-list .set {
	padding: 18px;
	padding-top: 16px;
}

#select-set-view #set-list .set:hover {
	background-color: white;
}

#select-set-view #set-list .set .title {
	letter-spacing: 0.2em;
	margin-bottom: 1em;
}
#slider {
	position: absolute;
	bottom: 0px;
	top: 50px;

	display: none;
}

#slider a {
	display: block;
	background-color: rgba(255,255,255,0.2);
	width: 100px;
	height: 8px;
}

#slider a:hover {
	background-color: rgba(255,255,255,0.5);
}
