/* quicksand-regular - latin */
@font-face { 
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quicksand-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Quicksand Regular'), local('Quicksand-Regular'),
       url('../fonts/quicksand-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/quicksand-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/quicksand-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/quicksand-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/quicksand-v7-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
}

* {
	font-family: 'Quicksand', sans-serif;
	font-weight:400;
}

body {
    margin: 0;
	background-color:#333;
}

body.white {
    margin: 0;
	background-color:#fff;
}

header {
    width: 100%;
    height: 5em;
    Background: #444;
    z-index: 10;
    position: fixed;
    top: 0;	
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.25));	
}
.white header {
    width: 100%;
    height: 5em;
    background-color: #e5f7ff;
    z-index: 10;
    position: fixed;
    top: 0;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25));
}
.logo {
    position: absolute;
    right: 5%;
    top: 0.6em;
    margin-top: 0.7em;
    width: 9em;
}

#logo {
  background-image: url(../neo7-logo.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  z-index: 99;
}

.white #logo {
  background-image: url(../mauruschat-logo.svg);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  z-index: 99;
}

.download_button {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-left: 2%;
    width: fit-content;
    padding-top: 0.9em;
}

.white .download_button {
    display: none;
}

.download_button:hover {
    color:#fff;	
}

.download_background {
    Background: rgb(197, 197, 197);
    border-radius: 5px;
    padding-left: 0.8em;
    padding-right: 0.8em;
    
}

.download_txt {
    font-size: 1.4em;
    float: left;
    padding-top: 0.40em;
    margin-right: 0.8em;

}

.download_icon {
    width: 45px;
}

.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;
}

.white h1 {
    margin: 1.1em;
    font-size: 1.4em;
    font-style: italic;
	color:#666;
}

.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;
}

.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;
}

#container {
	display: -webkit-box; 
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
	padding:1.5vw;
	grid-gap:1.5vw;
    margin-top: 12em;
    max-width: 64em;
    margin-left: auto;
    margin-right: auto;
	flex-direction: row;
}

#container a, #container div {
    height: 20vh;
	flex-grow: 1;
	flex-shrink: 0;
	flex-basis: auto;
	min-width:inherit;
}

#container a.cent {
    height: calc(64em / 11);
    width: calc(64em / 11);
    flex-basis: inherit;
    margin: auto;
}
#container.centcontainer {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    padding: 0.5vw;
    grid-gap: 0.5vw;
    margin-top: 12em;
    max-width: 64em;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
}


#container a img, #container div img {
	min-width:100%;
    max-height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

#container a:last-child, #container div:last-child {
    flex: 20 0 auto;
}

#container div img.dummy {
    object-fit: cover;
	
	filter: opacity(0.05);
}

.white .pswp__button--share {
    background-position: -44px -44px;
    display: none;
}

.white .pswp__ui--fit .pswp__top-bar {
    background-color: #c0d0d7;
}

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

    img.hide-for-small-only {
        display: none;
    }
	img.show-for-small-only {
        display: block;
    }
	
	header {
		height:3em;
	}
	
	#logo {
		position:absolute;
		top:-12px;
		right:15px;
		width:80px;
		height:80px;
	}
	
	.white #logo {
        top: 14px;
    }
	
    .download_button {
        margin-left: 11%;
        padding-top: 1.85em;
        font-size: 0.8em;
		display:none;
    }
    .download_icon {
        width: 35px;
    }
    #container {
        margin-top: 6em;
    }
}

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

    img.hide-for-small-only {
        display: block;
    }

	img.show-for-small-only {
        display: none;
    }
	#logo {
		position: absolute;
		top: 5px;
		right: 15px;
		width: 120px;
		height: 120px;
	}	
	
	.white #logo {
		top: -7px;
	}	
	

}

@media screen and (min-width: 64em) {
	#logo {
    	position: fixed;
		position:absolute;
	    top: 12px;
		top:0px;
		right: 100px;
		right:10px;
		width: 120px;
		height: 120px;
	}	
	
	.white #logo {
		top:-8px;
	}	
	
}

