/*** CUSTOM TEXT PRELOAD **/
div.customTextPreload {
	position: absolute;
	visibility: hidden;
	top: -50px;
	font-family: "StandardFontRegular", "Arial", sans-serif;
}



/*** MAIN PANEL ***/
div.mainPanel {
	visibility: visible;
	position: relative;
	width: 100%;
}



/*** CONTENT PANEL ***/
div.contentPanel {
	position: relative;
	overflow-x: hidden;
}



/*** PAGE HEAD ***/
div.pageHead {
	position: fixed;
	z-index: 101;
	width: auto;
	height: 60px;
	left: 0px;
	right: 0px;
	top: 0px;
	background-color: hsl(190, 10%, 20%);
}

.phoneView div.pageHead {
	position: relative;
	height: 50px;
}

table.pageHead {
	width: 100%;
	height: 60px;
}

.phoneView table.pageHead {
	height: 50px;
}

table.pageHead td.logoTitle {
	width: 1%;
	white-space: nowrap;
}

div.logoTitleLink, div.logoTitleLinkHover, div.logoTitleLinkActive {
	height: 60px;
	padding: 0px 5px 0px 0px;
	overflow: hidden;
	cursor: pointer;
}

.phoneView div.logoTitleLink, .phoneView div.logoTitleLinkHover, .phoneView div.logoTitleLinkActive {
	height: 50px;
	padding: 0px 8px 0px 0px;
}

div.logoTitleLinkHover {
	background-color: hsla(0, 0%, 100%, 0.15);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

div.logoTitleLinkActive {
	background-color: hsla(0, 0%, 100%, 0.30);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

table.logoTitleLink {
	height: 60px;
	pointer-events: none;
}

.phoneView table.logoTitleLink {
	height: 50px !important;
}

table.logoTitleLink td {
	vertical-align: middle;
}

img.pageHeadLogo {
	display: block;
	width: 50px;
	height: 50px;
	padding: 6px;
	margin: 5px;
	border-radius: 8px;
	border: solid 2px hsl(190, 100%, 50%);
}

.phoneView img.pageHeadLogo {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	padding: 5px;
	margin: 5px;
	border-width: 1px;
}


p.pageHeadTitle {
	color: hsl(190, 100%, 60%);
	line-height: 60px;
	font-size: 22pt;
	font-variant: small-caps;
	letter-spacing: 1pt;
	margin-left: 5px;
	white-space: nowrap;
}

.phoneView p.pageHeadTitle {
	line-height: 50px;
	font-size: 18pt;
	letter-spacing: 1pt;
	margin-left: 2px;
}

span.pageHeadTitleAlt {
	color: hsl(0, 0%, 100%);
}

table.pageHead td.menu {
	text-align: right;
	white-space: nowrap;
}

div.pageHeadMenuItem, div.pageHeadMenuItemHover, div.pageHeadMenuItemActive, div.pageHeadMenuItemSelected, div.pageHeadMenuItemSelectedHover, div.pageHeadMenuItemSelectedActive {
	display: inline-block;
	height: 60px;
	color: hsl(0, 0%, 100%);
	line-height: 60px;
	font-size: 14pt;
	letter-spacing: 1pt;
	padding: 0px 16px;
	cursor: pointer;
	transition: background-color 0.35s;
	-webkit-transition: background-color 0.35s;
}

.phoneView div.pageHeadMenuItem, .phoneView div.pageHeadMenuItemHover, .phoneView div.pageHeadMenuItemActive, .phoneView div.pageHeadMenuItemSelected {
	height: 50px;
	line-height: 50px;
}

div.pageHeadMenuItemHover {
	background-color: hsla(0, 0%, 100%, 0.15);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

div.pageHeadMenuItemActive {
	background-color: hsla(0, 0%, 100%, 0.30);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

div.pageHeadMenuItemSelected {
	background-color: hsl(190, 100%, 30%);
}

div.pageHeadMenuItemSelectedHover {
	background-color: hsl(190, 100%, 35%);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

div.pageHeadMenuItemSelectedActive {
	background-color: hsl(190, 100%, 40%);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

div.pageHeadIconButton, div.pageHeadIconButtonHover, div.pageHeadIconButtonActive {
	display: inline-block;
	width: 60px;
	height: 60px;
	cursor: pointer;
	transition: background-color 0.35s;
	-webkit-transition: background-color 0.35s;
}

.phoneView div.pageHeadIconButton, .phoneView div.pageHeadIconButtonHover, .phoneView div.pageHeadIconButtonActive {
	width: 50px;
	height: 50px;
}

img.pageHeadIconButton {
	display: block;
	width: 60px;
	height: 60px;
}

.phoneView img.pageHeadIconButton {
	width: 50px;
	height: 50px;
}

div.pageHeadIconButtonHover {
	background-color: hsla(0, 0%, 100%, 0.15);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}

div.pageHeadIconButtonActive {
	background-color: hsla(0, 0%, 100%, 0.30);
	transition: background-color 0s;
	-webkit-transition: background-color 0s;
}



/*** SECTION CONTENT ***/
div.sectionContent, div.sectionContentPadded {
	position: relative;
	z-index: 1;
	opacity: 0;
	background-color: hsl(0, 0%, 96%);
	padding-top: 60px;
}

.phoneView div.sectionContent, .phoneView div.sectionContentPadded {
	padding-top: 0px;
}

div.sectionContentPadded {
	padding: 84px 24px 24px 24px;
}

.phoneView div.sectionContentPadded {
	padding: 10px;
}

div.sectionContentShow {
	opacity: 1;
}

div.sectionContentFadeIn {
	opacity: 1;
	-webkit-transition: 0.75s linear;
	-moz-transition: 0.75s linear;
	-o-transition: 0.75s linear;
	transition: 0.75s linear;
}

div.sectionContentFadeOut {
	opacity: 0;
	-webkit-transition: 0.35s linear;
	-moz-transition: 0.35s linear;
	-o-transition: 0.35s linear;
	transition: 0.35s linear;
}



/* PAGE FOOTER */
div.pageFooter {
	text-align: center;
}

div.sectionContent div.pageFooter {
	padding: 20px 20px 20px 20px;
}

div.sectionContentPadded div.pageFooter {
	padding: 20px 10px 0px 10px;
}

.phoneView div.sectionContent div.pageFooter {
	padding: 10px 10px 10px 10px;
}

.phoneView div.sectionContentPadded div.pageFooter {
	padding: 10px 0px 0px 0px;
}

p.pageFooterText {
	display: inline-block;
	color: hsl(0, 0%, 50%);
	font-size: 11pt;
	text-align: center;
	line-height: 26px;
	letter-spacing: 6pt;
	font-variant: small-caps;
	padding: 10px 20px;
	border-radius: 26px;
	border: solid 1px hsl(0, 0%, 85%);
}

.phoneView p.pageFooterText {
	letter-spacing: 4pt;
	line-height: 22px;
	padding: 6px 25px;
	border-radius: 20px;
}

a.pageFooterLink {
	color: hsl(0, 0%, 35%);
}

a.pageFooterLink:hover {
	color: hsl(190, 100%, 35%);
}



/* PHONE MENU */
div.phoneMenu {
	position: absolute;
	z-index: 2;
	width: 150px;
	height: auto;
	right: -150px;
	top: 50px;
	bottom: 0px;
	background-color: hsl(190, 5%, 30%);
	overflow-y: auto;
	-webkit-transition: 0.35s ease-out;
	-moz-transition: 0.35s ease-out;
	-o-transition: 0.35s ease-out;
	transition: 0.35s ease-out;
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

div.phoneMenuSlideOpen {
	-webkit-transform: translate(-150px, 0px);
  -moz-transform: translate(-150px, 0px);
  -ms-transform: translate(-150px, 0px);
  -o-transform: translate(-150px, 0px);
  transform: translate(-150px, 0px);
}

div.phoneMenuInstantClose {
	-webkit-transition: 0s;
	-moz-transition: 0s;
	-o-transition: 0s;
	transition: 0s;
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

div.phoneMenuItem, div.phoneMenuItemActive, div.phoneMenuItemSelected, div.phoneMenuItemSelectedActive {
	height: 50px;
	color: hsl(0, 0%, 100%);
	line-height: 50px;
	font-size: 14pt;
	letter-spacing: 1pt;
	text-align: center;
	padding: 0px 16px;
	cursor: pointer;
}

div.phoneMenuItemActive {
	background-color: hsla(0, 0%, 100%, 0.25);
}

div.phoneMenuItemSelected {
	background-color: hsl(190, 100%, 30%);
}

div.phoneMenuItemSelectedActive {
	background-color: hsl(190, 100%, 40%);
}



/*** GENERAL ***/
div.contentBlock {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.phoneView div.contentBlock {
	max-width: initial;
	margin-left: initial;
	margin-right: initial;
}

div.contentBlockNarrow {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.phoneView div.contentBlockNarrow {
	max-width: initial;
	margin-left: initial;
	margin-right: initial;
}

div.contentPad {
	padding: 16px;
}

.phoneView .contentPad {
	padding: 8px;
}



/*** FLEX CONTAINER ***/
div.flexContainer {
	text-align: center;
	margin: 0px auto;
	margin-top: 24px;
}

div.flexContainer:first-child {
	margin-top: 0px;
}

table.flexContainer {
	width: 100%;
	height: 300px; /*min-height: 300px;*/
}

.phoneView table.flexContainer {
	height: 150px; /*min-height: 150px;*/
}

table.flexContainer td.image {
	position: relative;
	width: 45%;
	
	/* background image attached to td to make work in IE <= 11 */
	background-position: center center;
	background-attachment: local;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid 1px hsla(0, 0%, 0%, 0.35);
}

table.flexContainer td.text {
	width: 55%;
	padding-left: 24px;
}

.phoneView table.flexContainer td.text {
	padding-left: 10px;
}

/* div image container won't work in IE <= 11
div.flexContainerImage {
	position: absolute;
	width: auto;
	height: auto;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background-position: center center;
	background-attachment: local;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid 1px hsla(0, 0%, 0%, 0.35);
}
*/

.phoneView div.flexContainerImage {
	position: relative;
	width: initial;
	left: initial;
	right: initial;
	top: initial;
	bottom: initial;
	height: 150px;
	
	/* div approach only used on phones, for now - due to IE <= 11 issues */
	background-position: center center;
	background-attachment: local;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid 1px hsla(0, 0%, 0%, 0.35);
}

p.flexContainerText {
	color: hsl(0, 0%, 20%);
	font-size: 15pt;
	line-height: 150%;
}

.phoneView p.flexContainerText {
	font-size: 13pt;
	line-height: 125%;
	margin-top: 8px;
}



/*** FEATURE LIST ***/
div.featureList {
	margin-top: 40px;
}

.phoneView div.featureList {
	margin-top: 20px;
	text-align: center;
}

table.featureList {
	margin: 0px auto;
}

table.featureList td.title {
	padding-right: 10px;
	vertical-align: middle;
	border-right: solid 1px hsl(5, 30%, 75%);
}

table.featureList td.list {
	padding-left: 10px;
}

div.featureList p {
	font-size: 13pt;
	line-height: 150%;
	color: hsl(5, 100%, 38%);
}

.phoneView div.featureList p {
	font-size: 12pt;
}

p.featureListTitle {
	text-align: right;
}

.phoneView p.featureListTitle {
	display: inline-block;
	text-align: center;
	padding: 0px 10px;
	border-bottom: solid 1px hsl(5, 30%, 75%);
}

p.featureListTitle {
	font-family: "StandardFontBold", "Arial", sans-serif;
}

p.featureListItems {
	text-align: left;
}

.phoneView p.featureListItems {
	text-align: center;
	margin-top: 3px;
}



/*** PROJECTS ***/
div.project, div.projectClickable, div.projectClickableHover, div.projectClickableActive {
	margin-bottom: 40px;
	background-color: hsl(0, 0%, 100%);
	border: solid 1px hsl(0, 0%, 85%);
}

.phoneView div.project, .phoneView div.projectClickable, .phoneView div.projectClickableHover, .phoneView div.projectClickableActive {
	margin-bottom: 10px;
}

div.project:last-child, div.projectClickable:last-child, div.projectClickableHover:last-child, div.projectClickableActive:last-child {
	margin-bottom: 0px;
}

div.projectClickable, div.projectClickableHover, div.projectClickableActive {
	cursor: pointer;
}

div.projectClickableHover {
	box-shadow: 0px 0px 0px 1px hsl(190, 100%, 70%);
}

.phoneView div.projectClickableHover {
	box-shadow: none;
}

div.projectClickableActive {
	box-shadow: 0px 0px 0px 1px hsl(190, 100%, 70%);
}

table.project {
	position: relative;
	width: 100%;
	height: 300px; /*min-height: 300px;*/
}

.phoneView table.project {
	height: 150px; /*min-height: 150px;*/
}

table.project td.image {
	position: relative;
	width: 30%;
	
	/* background image attached to td to make work in IE <= 11 */
	background-position: center center;
	background-attachment: local;
	background-repeat: no-repeat;
	background-size: cover;
}

table.project td.text {
	position: relative;
	width: 70%;
	padding: 24px;
}

.phoneView table.project td.text {
	padding: 10px;
}

/* won't work in IE <= 11
div.projectImage {
	position: absolute;
	width: auto;
	height: auto;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background-position: center center;
	background-attachment: local;
	background-repeat: no-repeat;
	background-size: cover;
}
*/

p.projectTitle {
	font-family: StandardFontBold, "Arial", sans-serif;
	font-size: 15pt;
	line-height: 150%;
	color: hsl(0, 0%, 0%);
	margin-bottom: 4pt;
}

.phoneView p.projectTitle {
	font-size: 14pt;
	line-height: 125%;
}

p.projectSummary {
	font-size: 13pt;
	color: hsl(0, 0%, 25%);
	line-height: 150%;
}

.phoneView p.projectSummary {
	font-size: 12pt;
	line-height: 125%;
}

p.projectMore, p.projectMorePlaceholder {
	position: absolute;
	right: 0px;
	bottom: 0px;
	font-size: 13pt;
	line-height: 34px;
	font-style: italic;
	color: hsl(190, 100%, 35%);
	padding-right: 10px;
}

p.projectMorePlaceholder {
	position: relative;
	height: 10px;
	overflow: hidden;
}

.phoneView p.projectMore {
	font-size: 12pt;
	line-height: 30px;
}

.phoneView p.projectMorePlaceholder {
	height: 20px;
}



/*** PORTRAITS ***/
div.portrait {
	display: inline-block;
	width: 530px;
	margin: 40px;
}

.phoneView div.portrait {
	display: block;
	width: initial;
	margin: 20px 0px 0px 0px;
}

table.portrait {
	width: 100%;
}

table.portrait td.image {
	position: relative;
	width: 5%;
}

table.portrait td.text {
	position: relative;
	width: 95%;
	padding-left: 24px;
}

.phoneView table.portrait td.text {
	padding-left: 8px;
}

img.portrait {
	display: block;
	width: 270px;
	border: solid 1px hsla(0, 0%, 100%, 0.50);
}

.phoneView img.portrait {
	width: 132px;
}

p.portraitName {
	font-family: StandardFontBold, "Arial", sans-serif;
	font-size: 20pt;
	line-height: 150%;
	color: hsl(0, 0%, 0%);
	margin-bottom: 4pt;
}

.phoneView p.portraitName {
	font-size: 18pt;
	line-height: 100%;
}

p.portraitTitle {
	font-size: 14pt;
	color: hsl(0, 0%, 20%);
	line-height: 150%;
}

.phoneView p.portraitTitle {
	line-height: 125%;
	margin-top: 6px;
}

p.portraitEmail {
	font-size: 13pt;
	color: hsl(0, 0%, 30%);
	line-height: 150%;
	margin-top: 10px;
}

.phoneView p.portraitEmail {
	line-height: 125%;
	margin-top: 8px;
}

p.portraitPhone {
	font-size: 13pt;
	color: hsl(0, 0%, 30%);
	line-height: 150%;
	margin-top: 10px;
}

.phoneView p.portraitPhone {
	line-height: 125%;
	margin-top: 8px;
}

p.portraitWebsite {
	font-size: 13pt;
	line-height: 150%;
	margin-top: 10px;
}

.phoneView p.portraitWebsite {
	line-height: 125%;
	margin-top: 8px;
}
