
html {
	background-color: #000000;
}

div.background {
	position:fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
        background: url(../images/backgrounds/cosmos.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/backgrounds/cosmos.jpg', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/backgrounds/cosmos.jpg', sizingMethod='scale')";
}

img.profile {
        position:absolute;
        left: 20px;
        top: 20px;
        width: 225px;
        height: 225px;
}

h2.heading {
        font-family: 'Lato', sans-serif;
        font-weight: 300;
        font-size: 4em;
        position:absolute;
        left: 250px;
        top: 72px;
        color: #dddddd;
        text-shadow: 0px 0px 8px #000000, 0px 0px 4px #303030;
	margin: 0px;
	white-space:nowrap;
}
h4.heading {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 1.25em;
        position:absolute;
        left: 255px;
        top: 142px;
        color: #dddddd;
        text-shadow: 0px 0px 8px #000000, 0px 0px 2px #000000;
	margin: 0px;
	white-space:nowrap;
}
h4.footer {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 12px;
        position:absolute;
        left: 25px;
        bottom: 25px;
        color: #dddddd;
        text-shadow: 0px 0px 8px #000000, 0px 0px 2px #000000;
	margin: 0px;
}

a:link {
        color:#dddddd;
        text-decoration: underline;
}
a:hover {
        color:#ffffff;
        text-decoration: none;
}
a:active {
        color:#ffffff;
        text-decoration: none;
}
a:visited {
        color:#dddddd;
        text-decoration: underline;
}

div.infobox {
        position:absolute;
        top: 33px;
        right: 33px;
        width:auto;
        height:auto;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        border:0px;
	background: rgb(0, 0, 0); /* The Fallback */
	background: rgba(0, 0, 0, 0.7);
        /*-webkit-box-shadow: #202020 7px 7px 7px;
        -moz-box-shadow: #202020 7px 7px 7px;
        box-shadow: #202020 7px 7px 7px;*/
        padding-top: 20px;
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 8px;
}

p.sociallink {
        width:100%;
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 16px;
        color:#dddddd;
        text-align:right;
        vertical-align:middle;
        margin-top: 0px;
        margin-bottom: 12px;
}

img.social {
        vertical-align: middle;
        position: relative;
        left: 0px;
        height: 26px;
        width: 26px;
        padding-left: 8px;
        border: 0px;
}

.contactform, #contact-thanks {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 16px;
        color:#dddddd;
}

.contactform .contact-error
{
	margin-top:10px;
	font-size: 16px;
	display: inline;
	float: right;
	text-align: right;
	color:#ff0000;
}

#contact-spinner
{
	display: inline;
	position: relative;
	top: -2px;
	left: 10px;
}

#contact-spinner img {
	width: 32px;
	height: 32px;
	vertical-align: middle;
}

p.contactform {
	margin-bottom: 6px;
}

.contactform label {
	display:block;
	margin-top:10px;
	margin-bottom:4px;
	font-weight: 300;
	font-size: 14px;
}

.contactform #name, #subject, input[type="email"], textarea {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 14px;
        background: #eeeeee;
	padding: 8px;
	border: 1px solid #000000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow:    inset 0 0 3px #000000;
	-webkit-box-shadow: inset 0 0 3px #000000;
	box-shadow:         inset 0 0 3px #000000;
}

.contactform textarea {
	width: 414px;
	height: 144px;
	resize: none;
	margin:0px;
	display:block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.contactform #name, input[type="email"] {
	margin: 0px;
	width: 286px;
}

.contactform #name.error, #subject.error, textarea.error, input[type="email"].error {
	border: 1px solid #ff0000;
        -moz-box-shadow:    inset 0 0 3px #ff0000;
        -webkit-box-shadow: inset 0 0 3px #ff0000;
        box-shadow:         inset 0 0 3px #ff0000;
}

.contactform #submit, #thanks-dismiss {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 14px;
        color:#dddddd;

	position: relative;
	display: inline-block;
	padding: 8px 20px;
	border: 1px solid #1a1c1e;
	background-color: #555555;
	background-image: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2) 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(70%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.2)));
	background-image: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0.2) 100%);
	background-image: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0.2) 100%);
	background-image: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0.2) 100%);
	background-image: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0.2) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#0a000000',GradientType=0 );

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 0 rgba(255, 255, 255, 0), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	-moz-box-shadow: 0 0 0 rgba(255, 255, 255, 0), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 rgba(255, 255, 255, 0), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	-webkit-transition: all 0.05s linear;
	-moz-transition: all 0.05s linear;
	transition: all 0.05s linear;
}

.contactform #submit:hover {
	background-color: #383b3e;
	-webkit-box-shadow: 0 0 10px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	-moz-box-shadow: 0 0 10px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contactform #submit:active {
	background-color: #2d2f32;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 6px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 6px rgba(0, 0, 0, 0.35);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.contactform #submit:disabled {
	color: #777777;
	background-color: #2d2f32;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 6px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 6px rgba(0, 0, 0, 0.35);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.contactform #subject {
        margin: 0px;
	width: 396px;
}

.contactform #twocolumns {
	width: 100%;
}

.contactform #left {
	float: left;
}

.contactform #right {
	float: right;
	
}

.contactform #bottom {
	padding-top: 20px;
	clear:both;
}

.dark-popup {
	position: relative;
	background: rgb(0, 0, 0); /* fallback */
	background: rgba(0, 0, 0, 0.7); /* opacity of popup box */

	padding: 20px;
	width: auto;
	max-width: 748px;
	margin: 20px auto;
}

#contact-thanks {
	/* Use same properties as for other popup, except for narrower max width. */
        max-width: 500px;
}

/* Fade in/fade out code for popups. */
/* Overlay start */
.mfp-fade.mfp-bg {
	opacity: 0;

	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

/* Overlay animate in -- set opacity of lightbox */
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.5;
}

/* Overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

/* Content at start */
.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;

	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

/* Content animate in */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}

/* Content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* Close button colour override */
.mfp-fade .mfp-close {
	color: #FFFFFF;
}

