* {
	font-family: 'Open Sans', sans-serif;
}

.off-canvas {
    background: none;
}
.callout.primary {
    background-color: white;
	height:120px;
}
.callout {
    background-color: white;
    border: none;
}
ul.leftmenu {
    list-style-type: none;
    margin-left: 0 !important;
	font-size:1.5em;
	line-height:2em;
}

.leftmenu li {
    list-style-type: none;	
	text-align:center;
}

h1 {
	margin-top:0.4em;
}

a {
    color: #999;
}

.active {
    color:#C03;	
}

a:hover, a:focus {
    color:#000;
}

.accordion-title {
    color: #999;
    display: block;
    font-size: 1.5rem;
}

.title-bar {
    background: #999 none repeat scroll 0 0;
    color: #fff;
}

a.demo-gallery__img--main {
	display:inline-block;
	text-align:center;
	vertical-align:middle;
}
.demo-gallery a {
    display: block;
    float: left;
    line-height: 0;
    margin: 4%;
    width: 125px;
	height:125px;
}

.demo-gallery a img {
	max-height:125px;
	max-width:125px;
	margin:auto;
	text-align:center;
	display:inline-block;
	vertical-align:middle;
}

.gallery_button {
	background-image:url(../img/dot_lightgrey.svg);
	background-size:2em;
	float:left;
	color:#FFF;
	display:block;
	width:2em;
	height:2em;
	font-size:2.5em;
	padding-top:0.2em;
	margin:1.5%;
	text-align:center;
	vertical-align:middle;
}

.gallery_name {
	float:left;
	color:#999;
	display:block;
	font-size:1.7em;
	padding-top:0.2em;
	padding-left:0.75em;
	padding-right:0.75em;	
	line-height:1.7em;
	margin:1.5%;
	text-align:center;
	vertical-align:middle;
}
.small {
	font-size:0.9em;
}

.centercontrols {
	position:absolute;
	width:300px;
	left:50%;
	margin-left:-130px;
	text-align:center;
	display:block;
}

a.download {
	margin-left:2em;
	background-image:url(../download_grey.svg);
	background-size:contain;
	filter:alpha(opacity=66); -moz-opacity: 0.66; opacity: 0.66;	
	display:block;
	width:150px;
	height:150px;	
}
a:hover.download {
	filter:alpha(opacity=25); -moz-opacity: 0.25; opacity: 0.25;
}

@media only screen and (max-width: 40em) {
	.demo-gallery {
		padding-left:10px;
	}
	
	.gallery_name {
		line-height:2.5em;
	}
}

@media screen and (min-width: 40em) {
	.gallery_name {
		font-size:2.5em;
	}
	

}

@media screen and (min-width: 64em) {
	.demo-gallery a {
		width: 275px;
		height:275px;
	    margin: 2%;		
	}
	
	.demo-gallery a img {
		max-height:275px;
		max-width:275px;
	}
}

@media screen and (min-width: 100em) {
	.demo-gallery a {
		width: 350px;
		height:350px;
	    margin: 25px;
	}
	
	.demo-gallery a img {
		max-height:350px;
		max-width:350px;
	}
}