* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

@font-face {
	font-family: 'superclarendonregular';
	src: url('../fonts/superclarendon-regular-webfont.eot');
	src: url('../fonts/superclarendon-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/superclarendon-regular-webfont.woff') format('woff'), url('../fonts/superclarendon-regular-webfont.ttf') format('truetype'), url('../fonts/superclarendon-regular-webfont.svg#superclarendonregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	/*font-family: superclarendonregular;*/
	font-family: helvetica;
}

/* Main Layout */
html, body, .container {
	height: 100%;
}

.modal_fade {
	width:80%;
}

.container {
	width: 100%;
	/*display:table;*/
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.header {
	/*background: green;*/
	padding-top: 20px;
}

img.mainlogo {
	width: 60px;
	height: 60px;
	display: inline;
}

p.name {
	font-size: 14px;
	font-family: Helvetica;
	display: inline;
}

p.myname {
	margin-left: 10px;
	font-size: 14px;
	font-family: Helvetica;
	display: inline;
}

/* ---- button-group ---- */
.button-group {
	margin-top: 10px;
}
.button-group:after {
	content: '';
	display: inline;
	clear: both;
}

.button-group .button {
	float: left;
	border-radius: 0;
	margin-left: 0;
	margin-right: 1px;
}

.button-group .button:first-child {
	border-radius: 0.5em 0 0 0.5em;
}
.button-group .button:last-child {
	border-radius: 0 0.5em 0.5em 0;
}

/* ---- button ---- */
.button {
	display: inline-block;
	padding: 0.5em 1.0em;
	background: #EEE;
	border: none;
	border-radius: 7px;
	/*background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );*/
	color: #222;
	font-family: Helvetica;
	font-size: 16px;
	text-shadow: 0 1px white;
	cursor: pointer;
}

.button:hover {
	background-color: #B7C0CC;
	text-shadow: none;
	/*text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);*/
	color: #000;
}

.button:active, .button.is-checked {
	/*background-color: #0A2548;*/
	background-color: #000;
}

.button.is-checked {
	color: white;
	text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
	box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

.mobileheader {
	display: none;
	margin-top: -10px;
	margin-bottom: 0px;
	left:50%;	
	margin-left: -130px;
}

.navlinks {
	margin-top: 15px;
}

.mobilelinks, .indexmoblinks {
	display: none;
	left:50%;
	margin-left:-130px;
}

.indexmoblinks {
	margin-left:-75px;
}

a.navlink:hover{
	font-weight: bold;
	text-decoration: none;
}

a.navlink{
	color: #2d5986;
	font-size: 16px;
}

a.navlink.selected{
	font-weight: bold;
	color: #000;
}

a.navlink.selected:hover{
	text-decoration: none;
	cursor: default;
}

/* ---- PROJECTS (isotope) ---- */

.isotope {
	/*border: 1px solid #333;*/
	width: 100%;
	padding-top: 25px;
	margin-left: auto;
	margin-right: auto;
	display: table;
}

/* clear fix */
.isotope:after {
	content: '';
	display: block;
	clear: both;
}

/* ---- .element-item ---- */
.element-item {
	position: relative;
	float: left;
	overflow: hidden;
	width: 200px;
	height: 175px;
	margin: 12px;
	padding: 10px;
	background: #888;
	color: #262524;
	border: 2px solid #000;
	border-radius: 5px;
}

.element-item > * {
	margin: 0;
	padding: 0;
}

.element-item .projlogo {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 200px;
	height: 175px;
	z-index: 0;
	background: #000;
}

/**** Caption *****/
.element-item .caption {
	width: 200px;
	height: 177px;
	background: #000;
	color: #fff;
	font-weight: bold;
	padding: 10px;
	position: absolute;	/* fix it at the bottom */
	left: 0;
	top: -1px;
	display: none; /* hide it by default */
	/* opacity setting */
	filter: alpha(opacity=81); /* ie  */
	-moz-opacity: 0.81; /* old mozilla browser like netscape  */
	-khtml-opacity: 0.81; /* for really really old safari */
	opacity: 0.81; /* css standard, currently it works in most modern browsers like firefox,  */
}

.element-item .caption .name {
	font-size: 20px;
	font-weight: bold;
}


.element-item .caption .year {
	margin-top: 5px;
	color: #d6d6d6;
	font-size: 10px;
	/*	background-color:#a0a;*/
}

.element-item .caption .desc {
	width: 95%;
	margin-top: 20px;
	/*	background-color:#a0a;*/
}

.mainextlink {
	position:absolute;
	display: none; 
	color:white;
	right:-163px;
	margin-top:138px;	
	/* opacity setting */
	filter: alpha(opacity=81); /* ie  */
	-moz-opacity: 0.81; /* old mozilla browser like netscape  */
	-khtml-opacity: 0.81; /* for really really old safari */
	opacity: 0.81; /* css standard, currently it works in most modern browsers like firefox,  */
}

/* CONTACT */
.contact {
	margin-top: 20px;
}

/* ABOUT */
.about {
	margin-top: 50px;
	min-width: 320px;
	max-width: 600px;
	text-align: justify;
	font-size: 15px;
}


img.mugshot, img.mobilemugshot {
	margin-top: 110px;
	margin-left: auto;
	margin-right: auto;
	max-width: 75%;
	border: 4px solid #000;
	border-radius: 10px;
}

img.mobilemugshot {
	margin-top:40px;
	max-width:90%;
	margin-right:-25px;
	display: none;
}

/* RESEARCH */

.research {
	margin-top: 30px;
	min-width: 320px;
	max-width: 600px;
	text-align: justify;
	font-size: 15px;
}

.researchdesc {
	margin-top:-25px;
}

p.references {
	margin-top: 50px;
	font-size: 12px;
}

p.researchfull {
	text-align: justify;
}

img.researchimg {
	float: left;
	width: 50%;
	border-radius: 10px;
	margin: 10px;
	margin-left: 0;
	margin-top: 0;
}

/* SONGWRITING */

.songwritedesc {
	margin-top: 30px;
	text-align: justify;
	font-size: 15px;
}

.songwrite {
	margin-top: 70px;
}

.madnaxband {
	margin-top:85px;
}

img.songwriteimg {
	width: 35%;
	float: right;
	margin-left: 15px;
	margin-top: 0px;
}

img.songwriteleft {
	width: 35%;
	float: left;
	margin-right: 15px;
	margin-top: 0px;
}

img.songwriteref {
	margin: 10px;
	max-width: 150px;
	border-radius: 10px;
}

/* PUBLICATIONS */
.publications {
	margin-top: 60px;
	text-align: justify;
}

/* STUDIO */

.equiplist {
	color:#777;
	margin-top: 5px;
	margin-bottom: 20px;
	font-size: 14px;
	text-align: left;
}

/* PROGRAMMING */
.softproj {
	margin-top:20px;
	border: 1px solid #666;
    border-radius: 5px;
    color:#999;
    padding:15px;
}

a.softprojtitle{
	font-weight: bold;
	font-size:18px;
	margin-left:3px;
	text-align:left;
}

p.softprojdesc {
	text-align:justify;
	font-size: 14px;
}

img.softprojimg {
	margin-top:20px;
	margin-bottom:20px;	
	height: 100%;
	width: 100%;
	border: 1px solid black;
	border-radius: 5px;
}

/* Website portfolio */
.webprofile {
	margin-top: 50px;
	text-align: center;
}

img.webmug {
	width: 100px;
	height: 100px;
	margin-bottom: 10px;
	border-radius:10px;
}

a.weblink {
	font-weight: bold;
	font-size: 16px;
}

p.webbio {
	margin-top: 20px;
	font-size: 14px;
	text-align: justify;
	text-align: center;
	margin: 0 auto;
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 200px;
}

/********************/
/* Madnax and band */
#myCarouselMN {
	/*margin-top: 20px;*/
	margin-right:20px;
	border-radius: 10px;
	border: 5px;
	background-color: #000;
	/*width: 325px;*/
	width: 100%;
	position: relative;
	float:left;
	min-height:300px;
	margin-bottom:50px;
}

.carouselMN {
	top: 0px;
	/*width:100%;*/
	min-height: 50%;
	/*margin-bottom: 10px;*/
	background-color: #000;
}

/* Since positioning the image, we need to help out the caption */
.carousel-captionMN {
	z-index: 10;
}

/* Declare heights because of positioning of img element */
.carouselMN .item {
	height: 300px;
	background-color: #000;
	margin-top: 0%;
	margin-bottom: 9%;
	padding: 0 !important;
}

.carousel-innerMN > .item > img {
	position: absolute;
	top: 0;
	left: 0;
}

.carousel-innerMN {
		height: 450px;
	}

iframe.mbandvid {
	width:560px; 
	height:315px; 
}

/* EVENTS */

li.events {
	margin-left:5px;
}

p.eventlist {
	margin-top:30px;
}

img.eventvidlink{
	width:100%;
	border-radius:5px;
}

/* TREE: Miscellany */

p.extlink {
	margin-top:10px;
	text-align:justify;
	font-size: 14px;
}

img.extlinkimg {
	padding: 15px;
	margin-left:-15px;
	margin-top:10px;	
	width:100px;
	float:left;
}

/* General back buttons */
.p2 {
	margin-top: 30px;
}

#backlink {
	padding-top: 85px;
	padding-bottom: 30px;
	padding-left: 12px;
}

a.button:hover {
	text-decoration: none;
}


/** READ MORE BUTTONS **/

.read-more-state {
  display: none;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
}

.read-more-state:checked ~
.read-more-wrap .read-more-target {
	opacity: 1;
	font-size: inherit;
	max-height: 999em;
}


.read-more-state ~
.read-more-trigger:before {
	content: '... more';
}


.read-more-state:checked ~
.read-more-trigger:before {
	content: '... less';
}


.read-more-trigger {
	cursor: pointer;
	display: inline-block;
	padding: 0 1em;
	color: #666;
	font-size: .9em;
	line-height: 2;
	border: 1px solid #ddd;
	border-radius: .25em;
	position: absolute;
	left: 15px;
	margin-top: 5px;
}

/**************
 * Responsive CSS section
 */

/* Change navbar header for all small devices */
@media screen and (max-width: 992px) {	
	a.navlink {
		font-size:16px;
	}
	
	p.myname{
		font-size:16px;
		margin-top:-10px;
	}
	
}

@media screen and (max-width: 990px) {
	.isotope{
		margin-left:0;
	}

	#backlink {
		margin-left: 0px;
	}

	img.mugshot {
		margin-left: -130px;
	}

	.gearlist {
		margin-top: 20px;
	}
}

@media (min-width: 768px) {
	.modal-large { 
		width:80%;
		margin-top:50px;
	}
}

/* IPAD vertical */
@media screen and (max-width: 768px) {
	.navlinks {
		right: -510px;
		margin-top:-50px;
	}	
	
	#filters {
		margin-left:80px;
	}
}

@media screen and (max-width: 560px) {
	.navlinks {
		margin-left:82px;
		margin-top:-5px;
	}

	.standardheader {
		display: none;
	}
	
	.mobileheader, .mobilelinks, .indexmoblinks {
		display: inline-block;
	}
	
	img.mobilemugshot {
		display: inline; 
		margin-left: -30px;
	}

	img.mugshot {
		margin-left: -30px;
		display: none; 
	}
	
	.contact {
		margin-left:20px;
	}
	
	.sendmsg {
		margin-left:100px;
	}

	img.songwrite, img.songwriteleft {
		float: left;
		width: 100%;
		margin-bottom: 15px;
		margin-left: 0px;
	}
}

/* Mobile site */

@media screen and (max-width: 425px) {
	.isotope{
		margin-left:8%;
	}


	#filters {
		display: none;
	}

	.navlinks {
		margin-top:10px;
		left:50%;
		margin-left:-100px;
	}
		
	/* INDEX PAGE */

	.projects {
		margin-top:-20px;
		margin-left:-10px;
	}

	/* Change caption layout */
	.element-item {
		width: 125px;
		height: 125px;
	}
	.element-item .projlogo {
		width: 125px;
		height: 125px;
	}

	/**** Caption *****/
	.element-item .caption {
		width: 125px;
		height: 127px;
		background: #000;
		color: #fff;
		font-weight: bold;
		padding: 5px;
		position: absolute;	/* fix it at the bottom */
		left: 0;
		top: -1px;
		display: inline; /* hide it by default */
		/* opacity setting */
		filter: alpha(opacity=41); /* ie  */
		-moz-opacity: 0.41; /* old mozilla browser like netscape  */
		-khtml-opacity: 0.41; /* for really really old safari */
		opacity: 0.41; /* css standard, currently it works in most modern browsers like firefox,  */
	}

	.element-item .caption .name {
		font-size: 15px;
		font-weight: bold;
	}

	.element-item .caption .year {
		margin-top: 5px;
		color: #d6d6d6;
		font-size: 10px;
		/*	background-color:#a0a;*/
	}

	.element-item .caption .desc {
		font-size:10px;
		width: 95%;
		margin-top: 8px;
		display:none;
		/*	background-color:#a0a;*/
	}

	/* RESEARCH */
	.researchdesc {
		margin-top:0px;
	}
		
	img.researchimg {
		width:100%;
	}
	
	/* SONGWRITING */
	img.songwriteimg {
		width: 50%;
		margin-top: 5px;
	}
	
	img.songwriteleft {
		width: 50%;
		margin-top: 0px;
	}
	
	/* PUBLICATION */
	.publications {
		margin-top:25px;
	}
	
	/* STUDIO */
	p.wombprojects {
		text-align:center;
	} 
	
	.equiplist {
		margin-top:-25px;
	}
	
	/* PROGRAMMING */
	.progmenu {
		text-align:center;
	}
	
	/* MADNAX BAND */
	#myCarouselMN {
	width: 100%;
	margin-bottom:25px;
	}
	
	iframe.mbandvid {
		width:100%;
	}
	
	/* EVENTS */
	p.eventlist {
		margin-top:px;
	}

	/* THE TREE */
	p.extlink {
		margin-top:10px;
		text-align:justify;
		font-size: 14px;
	}
	
	img.extlinkimg {
		padding: 5px;
		margin-left:-5px;
		margin-top:0px;
		margin-right:10px;	
		width:80px;
		float:left;
	}		
}

/* Smallest mobile move-over */
@media screen and (max-width: 350px){
	.isotope{
		margin-left:5%;
	}

	.element-item {
		width: 100px;
		height: 100px;
	}
	.element-item .projlogo {
		width: 100px;
		height: 100px;
	}

	/**** Caption *****/
	.element-item .caption {
		width: 100px;
		height: 102px;
		margin-top:-5px;
	}
	
	.element-item .caption .name {
		font-size: 14px;
		font-weight: bold;
	}

	.element-item .caption .desc {
		display: none;
	}



	
}

