@font-face {
    font-family: Ostrich;
    src: url(https://jonathantweedy.com/css/fonts/ostrich-regular.ttf);
}
@font-face {
    font-family: CicleGordita;
    src: url(https://jonathantweedy.com/css/fonts/CicleGordita.ttf);
}
@font-face {
    font-family: CicleFina;
    src: url(https://jonathantweedy.com/css/fonts/CicleFina.ttf);
}
@font-face {
    font-family: CicleSemi;
    src: url(https://jonathantweedy.com/css/fonts/CicleSemi.ttf);
}
@font-face {
    font-family: Doctor-Who;
    src: url(https://jonathantweedy.com/css/fonts/Doctor-Who.ttf);
}


body {
	font-family: CicleSemi, Verdana, Geneva, sans-serif;
	font-size:1.0em;
	font-weight:normal;
	background-color:#fff;
	letter-spacing:.08em;
	margin:0; padding:0;
}

div {
	padding:0;
	margin:0;
}

img {
	border:0;
}

a {
	color:#006;
}
a:hover {
	color:#900;
}

h4 a {
	border-bottom:1px solid #006;
	padding:2px 5px 2px 0px;
	text-decoration:none;
	color:#006;
}
h4 a:hover {
	border-bottom:1px solid #900;
	padding:2px 5px 2px 0px;
	text-decoration:none;
	color:#900;
}



h1, h2, h3, h4, h5, h6, p {
	margin:0px 0px 10px 0px;
}

h1 {
	border-bottom:3px solid #ddd;
	padding:2px 5px 2px 0px;
	line-height:1.0em;
	letter-spacing:.05em;
	font-size:2.2em;
	text-shadow: 1px 1px #ccc;
	margin-top:20px
}

h2 {
	font-family:Ostrich;
	border-bottom:3px solid #ddd;
	padding:2px 5px 2px 0px;
	line-height:1.0em;
	letter-spacing:.05em;
	font-size:3em;
	font-weight:normal;
	text-shadow: 1px 1px #ccc;
	margin-top:20px
}
h3 {
	font-family:Ostrich;
	border-bottom:3px solid #ddd;
	padding:2px 5px 2px 0px;
	line-height:1.0em;
	letter-spacing:.05em;
	font-size:1.8em;
	font-weight:normal;
	margin-top:10px
}
h4 {
	font-size:1.2em;
	line-height:1.4em;
}
h5 {
	font-size:1.0em;
	font-weight:normal;
}

table.bordered {
	border-collapse:collapse;
}
table.bordered th, table.bordered td {
	border:1px solid #ccc;
	padding:2px 5px;
	text-align:left;
}

p, div {
	line-height:1.2em;
}

.code {
	font-family:"Courier New", courier;
}

pre.code {
	margin:5px 20px;
	font-size:1.2em;
	padding:5px 10px;
	background-color:#eee;
}

hr {
	border:none;
	border-top:1px solid #aaa;
}

/* ------ Classes --------------------------------------------------------------- */

.justify {
	text-align:left;
}

ul.spaced li, ol.spaced li{
	margin:5px 0px;
	padding: 5px 0px;
}

ul.blocks {
	list-style-type:disc;
	margin:0 0 0 20px;
	padding:0 0 0 0px;
}
ul.blocks li {
/*	white-space:nowrap;	*/
	margin:0 0 0 0px;
	padding:0 0 0 0px;
}
ul..blocks li::after {
	content:"";
}
ul..blocks li:last-child::after {
	content:"";
}

.commablocks span {
	white-space:nowrap;
}
.commablocks span::after {
	content:", ";
}
.commablocks span:last-child::after {
	content:"";
}

.simple {
	text-decoration:none;
}

.simple a, a.simple {
	text-decoration:none;
}
.simple a:hover, a.simple:hover {
	text-decoration:underline;
}


.nobr {
	white-space:nowrap;
}

.u {
	text-decoration:underline;	
}
.i {
	font-style:italic;	
}
.b {
	font-weight:bold;
}

.highlight {
	background-color:#ffa;
}



.inlineBlock {
	display:inline-block;
	zoom:1;
	vertical-align:top;
	*display:inline;	
}





.oneFourth {
	width:20%;
}

.threeFourths {
	width:70%;
}	


.oneThird {
	width:28%;
}

.oneHalf {
	width:45%;
}	

.twoThirds {
	width:62%;
}	

/*
#content > .oneThird {
	min-width:400px;
}
*/









div.clear {
	overflow-y:auto;
}
.column .section .section {
/*	overflow-y:auto;	*/
}

div.column {
	vertical-align:top;
	margin:1% 1% auto 1%;
	padding:1% 1% auto 1%;
	display:inline-block;
	zoom:1;
	*display:inline;	
	word-wrap: break-word;
}

div.column:first-child {
	border-left:none;
}


div.section {
	margin-bottom:20px;
}

div.section div.header {
	font-family:Ostrich;
	font-size:2.6em;
	padding:2px 5px 2px 0px;
	line-height:1.0em;
/*	letter-spacing:.025em;	*/
	margin-top:20px;
}

div.section div.section {
	margin:10px 5px 10px 5px;
}


div.section div.section div.header {
	font-size:1.8em;
	border-top:0px solid #ccc;
	border-bottom:1px solid #aaa;
	padding:5px 5px 5px 0px;
	margin-top:5px;
	margin-bottom:5px;
	line-height:1.0em;
	letter-spacing:.05em;
}

div.section div.section div.section div.header {
	font-size:1.2em;
	letter-spacing:.15em;
}

div.section div.section div.section div.section div.header {
	font-size:1.0em;
	letter-spacing:.15em;
}


div.section div.header a {
	text-decoration:none;
}
div.section div.header a:hover {
	text-decoration:underline;
}

div.column div.section {
	margin-bottom:40px;
}


.aBlocks a {
	display:block;
}

div.title



hr.light {
	border:0;
	border-top:1px solid #aaa;
}
.big {
	font-size:1.4em;
}

.alert, .important, .notify, .notification {
	background-color:#eef;
	border-top:1px solid #666;
	border-bottom:1px solid #666;
	padding:2px 5px;
}

.emph, .emphasize {
	font-weight:bold;
	color:#309;
	text-transform:uppercase;
	font-size:.85em;
	letter-spacing:.05em;
}



.caps {
	text-transform:uppercase;
	font-size:.9em;
}

.compact {
	margin:0px 0px 10px 0px;
}
.compact h1, .compact h2, .compact h3, .compact h4, .compact h5, .compact h6, .compact hr {
	margin:0px 0px 0px 0px;
}
.compact hr {
	border:0px solid #999;
	border-bottom:1px solid #999;
}

.leftBar {
	border-left:1px solid #999;
}

.oneThirdThumb {
	width:95%;
}
.oneThirdThumb img {
	border:2px solid #aac;
	width:99%;
}
.oneThirdThumb p {
	font-size:.9em;
	text-align:center;
}


/* ------ TEAM STYLES ------------------------------------------------ */

.column.team_member {
	width:20%;
/*	max-width:250px;	*/
}

.twoThirds .column.team_member {
	width:28%;
}

.team_member .snapshot {
	overflow-y:none;
}

.team_member .snapshot .details {
	margin: .5% .5% .5% 0%;
}

.team_member .snapshot .header {
	margin:5px;
	width:97%;
}
.team_member .snapshot .header:hover {
	/*
	width:232px;
	height:311px;
	margin:2px;
	*/
}
.team_member .snapshot .header img {
	border:2px solid #555;
	width:97%;
}


/* ------------------------------------------------------------------------ */
div.special {
	background-color:#ccc;
	border:2px solid #999;
	padding:5px 10px;
	margin-bottom:10px;
}
div.feature {
	overflow-y:auto;
    box-shadow: 5px 5px 5px #ccc;
}
span.feature {
	color:#600;
}
div.feature h4 {
	margin:0;
	padding:0;
}
div.feature h5 {
	margin:0;
	padding:0px;
	margin-bottom:10px;
}
div.feature, div.dull {
	padding:5px;
	background-color:#ddd;
	border:1px solid #888;
	color:#333;
}

img.featured {
	border:2px solid #555;
}



/* ------ IDs --------------------------------------------------------------- */

#main {
	position:relative;
	min-width:900px;
	background-image:url("https://jonathantweedy.com/images/lightweightgridbg.png");
	border-top:2px solid #555;
	/*
	width:80%;
	border-left:2px solid #555;
	border-right:2px solid #555;
	background-color:#E3E3E3;
	background-image:none;
	*/
}






#banner {
	text-align:center;
/*	position:fixed;	*/
	width:100%;
	z-index:10000;
	background-size: cover;
		background-image:url("https://jonathantweedy.com/images/bwBanner.jpg");
	}

#banner-spacer  {
/*	height:200px;	*/
}

#banner h1 {
/*	font-family: 'Avant Garde', Avantgarde, 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;	*/
	font-size:3em;
	font-weight:normal;
	letter-spacing:.2em;
	padding:10px 0px; margin:0;
	color:#006;
/*	text-shadow: 4px 4px #aaa;	*/
	border-bottom:none;
}
#banner img {
	margin:20px 0px;
	max-width:99%;
	background-color:transparent;
}

#banner a {
	text-decoration:none;
}



#contactLink a {
	font-size:1.4em;
	text-decoration:none;
}

#nav1 {
	background-color:#eee;
	position:relative;
	top:2px;
	border-top:1px solid #555;
	border-bottom:1px solid #555;
	text-align:center;
    box-shadow: 0px 1px #ccc;
}


#nav1 a {
	letter-spacing:.2em;
	vertical-align:middle;
	background-color:#fff;
	position:relative;
	color:#000;
	text-decoration:none;
	padding:15px 20px 17px 20px;
	border-right:1px solid #555;
	display:inline-block;
	zoom:1;
	*display:inline;	
}
#nav1 a.selected:first-child, #nav1 a.tab:first-child {
	border-left:1px solid #555;
}	
#nav1 a.selected:first-child, #nav1 a.tab:first-child {
	margin-left:50px;
}
#nav1 a.tab:hover {
	background-color:#ffc;
}
#nav1 a.selected, #nav1 a.tab.selected {
	position:relative;
	background-color:rgb(40,70,100);
	color:#fff;
}


.subtabs {
	text-align:center;
	border-bottom:1px solid #888;
	margin:20px 0px 10px 0px;
}

.subtabs a {
	position:relative;
	color:#333;
	text-decoration:none;
	letter-spacing:.1em;
	margin-left:20px;

	top:1px;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom:1px solid #888;
	border-left:1px solid #ccc;
	border-top-left-radius:5px;
	border-top-right-radius:5px;

	padding: 5px 10px;
	display:inline-block;
	zoom:1;
	*display:inline;	
	background-color:#efefef;
}

.subtabs a:hover {
	background-color:#ffe;
}

.subtabs a.selected {
	color:#000;

	border-top:1px solid #888;
	border-right:1px solid #888;
	border-bottom:1px solid #eee;
	border-left:1px solid #888;

	background-image:url("https://jonathantweedy.com/images/lightweightgridbg.png");
}

.subtabs a:active {
	color:#000;
	border-top:1px solid #888;
	border-right:1px solid #888;
	border-bottom:1px solid #eee;
	border-left:1px solid #888;
	background-image:url("https://jonathantweedy.com/images/lightweightgridbg.png");
}


.subtabs a.selected:hover {
	background-image:url("https://jonathantweedy.com/images/lightweightgridbg.png");
	background-color:#ddd;
}




/*
#content {
	margin:10px 30px;
}
*/

#content  {
/*	max-width:1080px;	*/
	margin-left:auto; margin-right:auto;
	padding:20px;
}



#footer {
	text-align:center;
	margin:0px 0px;
	padding:20px;
	border-top:1px solid #555;	
	background-color:#fff;
}


#loginBar {
	width:auto;
	padding:2px 5px;
	border-bottom:1px solid #000;
	background-color:#eee;
	background-image:url("https://jonathantweedy.com/images/lightweightgridbg.png");
	text-align:center;
}
#loginBar a {
	text-decoration:none;
}
#loginBar a:hover {
	color:#c00;
	text-decoration:underline;
}


.section .thumb {
	border:2px solid #555;
	float:left;
	margin:5px 20px 5px 5px;
}

#side-feature {

}



.masonry {
    margin: 1.5em 0;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}

.masonry .column {
    display: inline-block;
    background: #fff;
    padding: 1.5em;
    margin: 0 0 1.5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
/*	
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.18);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
*/
}


/* ------ RESPONSIVITY ------------*/



@media screen and (max-width: 1080px) {
	.column > .section > .header {
		font-size:3.6em;
	}
	#side-feature {
		display:block;
		width:99%;
	}
	#main-content {
		width:99%;
	}
	#main-content.twoThirds {
		width:60%;
	}
}


@media screen and (max-width: 950px) {

	.oneHalf {
		width:100%;
	}
	.column.team_member {
		width:30%;
	/*	max-width:250px;	*/
	}


	.section .thumb {
	}
	#main {
		min-width:auto;
		width:100%;
	}
	
}



@media screen and (max-width: 640px) {

	.column.team_member {
		width:90%;
	/*	max-width:250px;	*/
	}

    div.column  {
		display:block;
    }
	.oneThird, .oneHalf, .oneFourth, .twoThirds {
		width:99%;
	}
	.section .thumb {
		float:none;
		width:99%;
	}
	#main {
		min-width:auto;
		width:99%;
	}
	.oneThird.inlineBlock {
		display:inline-block;
	}

}
@media screen and (max-width: 950px) {

	.subtabs a {
		display:block;
	}
	.subtabs a.selected {
		border:2px solid black;
	}

	#nav1 {
		border-top:0px solid #555;
		border-bottom:0px solid #555;
	}
	#nav1 a
	{
		margin-left:0px;
		display:block;
		border-top:0px solid #555;
		border-bottom:2px solid #555;
		border-left:2px solid #555;
		border-right:2px solid #555;
	}
	#nav1 a.selected:first-child, #nav1 a.tab:first-child 
	{
		margin-left:0px;
		display:block;
		border-top:2px solid #555;
		border-bottom:2px solid #555;
		border-left:2px solid #555;
		border-right:2px solid #555;
	}
}

