@import url(base.css);

html {
	margin: 0;
	padding: 0;
}

body {
	color: rgba(253,253,253,0.9);
	background-color: rgb(6,0,14);
	background-image:
		url("../images/gladstone-filter.png");
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 1024px;
	min-width: 100%;
	margin: 0 auto;
}

main {
	width: 20rem;
	margin: auto;
	padding: 0 1.3rem 3rem;
	background: rgba(151,151,151,0.2);
}

.hide { display: none;}

.article article {
	width: 26rem;
	margin: auto;
	padding: 3rem 0 4em;
	font-size: 1.067rem;
}

a:link {
	color: rgba(231,226,255,0.8);
	text-decoration: none;
	border-bottom: 1px solid rgba(231,226,255,0.3);
}

a:visited {
	color: rgba(231,226,255,0.8);
	border-bottom-color: rgba(231,226,255,0.3);
}

a:focus,a:hover,a:active {
	color: rgba(255,255,255,1);
	border-bottom-color: rgba(231,226,255,0.6);
}

picture>a:first-child,
a.fa {
	border-bottom: 0;
}

article ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h2, dt {
	font-weight: 500;
	letter-spacing: 0.5px;
}

nav li {
	letter-spacing: 1px;
}

.fa span {
	display: none;
}

a.fa {
	padding: 0 0.33rem
}

#portfolio #nav-portfolio a,
#services #nav-services a,
#signin #nav-signin a,
#about #nav-about a {
	font-weight: 700;
	color: rgba(253,253,253,1);
}

#content.article p:not(.note) input,
#content.article p input[type="submit"]:hover,
#content.article textarea,
#content.article,
#portfolio section article {
	box-shadow: 0 0 0.67rem rgba(138,179,95,0.4);
}


#content p input[type="submit"],
#portfolio #content {
	box-shadow: none;
}

/* contact form */
#content form {
	position: relative;
	width: 20rem;
	margin: 2rem auto;
}

#contact fieldset h2 {
	margin-bottom: -0.5rem;
}

#content p:not(.note) label {
	position: absolute;
	line-height: 2;
	text-align: right;
	width: 19.33rem;
	color: rgba(229,229,229,1);
}

#content p:not(.note) label span {
	display: none;
}

#content p:not(.note) input,
#content textarea {
	font-family: "futura-pt", Futura, "Century Book", sans-serif;
	font-style: italic;
	padding: 0.2rem	0.5rem;
	background-color: rgb(190,190,190);
	border-width: 0;
	font-size: 1rem;
	width: 19rem;
	height: 1.7rem;
	border-radius: 1px;
}

#content textarea {
	height: 8rem;
}

#content p:not(.note) input:focus,
#content p:not(.note) input:hover,
#content textarea:hover,
#content textarea:focus {
	font-style: normal;
	background-color: rgba(229,229,229,1);
}

#content form p.note {
	font-size: 0.8rem;
	line-height: 1.2;
	display: inline-block;
	width: 8rem;
	margin-top: -0.5rem;
	float: left;
}

#content p.note input {
	float: left;
	margin: 0.1rem 0.2rem 1rem 0;
	width: auto;
}

#content p.note label {
	color: rgba(112,108,128,1);
	float: right;
	position: static;
	text-align: left;
	width: 6.8rem;
	padding: 0;
	margin: 0;
	visibility: visible;
}

#content p.note label:hover {
	color: rgba(22,21,26,0.7);
}

#content form p:last-of-type {
	float: right;
	margin-top: -0rem;
}

#content p input[type="submit"] {
	margin-left: 0;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 1px;
	border-width: 0;
	background-color: rgba(138,179,95,0.9);
	color: rgba(22,21,26,0.8);
	width: 10rem;
	height: 2.5rem;
	margin-top: -0.4rem;
}

#content p input[type="submit"]:hover {
	outline: 2px solid rgba(138,179,95,0.6);
	color: rgba(22,21,26,0.9);
}


#content p input[type="submit"]:hover,
#content p input[type="submit"]:active {
	background-color: rgba(138,179,95,1);
	outline: 2px solid rgba(138,179,95,0.9);
	font-weight: 400;
}

section.message.success {
    background-color: rgba(129, 129, 129, 1);
    margin: 4rem -2rem 1rem;
    padding: 1rem 2rem;
}

address { display: none; }

/* rest of styles */

footer {
	clear: both;
	margin: 6rem auto;
	text-align: center;
	color: rgba(112,108,128,0.8);
}

.copyright {
	font-size: 0.8rem;
	font-weight: 100;
	letter-spacing: 0.5px;
	margin-top: 4rem;
	text-indent: -1.5rem;
}

footer a:link {
	border-bottom-width: 0;
	text-decoration: none;
}

footer .socialmedia {
	margin: auto;
	padding: 0;
	font-size: 1rem;
	line-height: 1;
}

.socialmedia a.fa {
	padding: 0;
}

footer .socialmedia li {
	display: inline-block;
	width: 10rem;
}
/* other articles */

.article>header {
	width: 40.67rem;
	margin: 3rem auto 2rem;
}

.article header picture img {
	width: 100px;
}

.article nav {
	float: right;
}

.article header nav li {
	list-style: none;
	display: inline-block;
}

.article header nav .icon,
.article address .icon {
	display: none;
}

.article header nav li:after {
	content: "|";
	color: rgba(112,108,128,0.8);
	padding: 0 1rem;
}

.article header nav li:last-child:after{
	content: "";
	padding: 0;
}

.article main {
	color: rgba(22,21,26,0.9);
	background: rgba(229,229,229,0.8);
	width: 40.67rem;
	padding: 0 0 2rem 0;
	border-radius: 2px;
}

.article>article {
	width: 26rem;
	margin: auto;
	padding: 2.33rem 0 3.67em;
	font-size: 1.067rem;
}

.article a:link,
.article a:visited {
	color: rgba(112,108,128,1);
	border-bottom-color: rgba(112,108,128,0.6);
}

.article a:focus,
.article a:hover,
.article a:active {
	color: rgba(231,226,255,0.8);
	border-bottom-color: rgba(231,226,255,1);
}

.article article header {
	display: none;
	width: 40.67rem;
	margin-left: -6.33rem;
}

.article article header h2 {
	background: rgba(229,229,229,0.6);
	margin: 0;
	padding: 2rem 6.33rem;
}

.article article h3 {
	font-weight: 500;
	letter-spacing: 0.5px;
	margin-bottom: -1rem;
	margin-top: 2rem;
}

.article #content form {
	margin-top: 4rem;
	margin-bottom: 4rem;
	color: rgba(253,253,253,0.8);
	float: left;
}

.article #content form .note {
	display: none;
}

.article #content form p:last-of-type {
	float: none;
}

.article address {
	color: rgba(253,253,253,0.8);
	display: block;
	float: right;
	width: 15rem;
	text-align: right;
	margin-top: 13rem;
}

.article address span,
.article address>a {
	display: inline-block;
}

.article address .p-name,
.article address .p-street-address,
.article address .p-locality,
.article address .p-region,
.article address .p-postal-code,
.article address .p-country-name {
	display: none;
}

.article address .shout {
	margin-top: 2rem;
	color: rgba(112,108,128,0.6);
}

/* welcome */
#welcome picture img {
	margin-top: 4rem;
	margin-bottom: 3rem;
	width: 19rem;
}

#welcome article {
	margin: 0 auto;
	width: 20rem;
}

#welcome li {
	margin-bottom: 1rem;
}

/* portfolio */
#portfolio section {
	margin-bottom: 4rem;
}

#portfolio section:last-of-type {
	margin-bottom: -6rem;
}

#portfolio.article main {
	background: none;
}

#portfolio.article article {
	width: 100%;
	background: none;
}

#portfolio.article article header,
#portfolio.article article header h2 {
	background: none;
	margin: 0;
	padding: 0;
}

#portfolio.article article header h2 {
	color: rgba(229,229,229,0.8);
	font-size: 1rem;
	text-align: right;
}

#portfolio.article section article {
	width: 100%;
	height: 13.67rem;
	margin-top: 0;
	font-weight: 400;
	letter-spacing: 0.5px;
	text-align: left;
	color: rgba(253,253,253,0.9);
	background-color: rgb(88,85,100);
	border-radius: 1px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

#portfolio.article section article p {
	background: rgba(88,85,100,0.97);
	margin: -3rem 0 0;
	padding: 1.33rem 1.33rem 1.33rem 2rem;
	width: 12.1rem;
	height: 18.33rem;
	float: right;
	border-bottom-right-radius: 4px;
}

#portfolio.article section article p span {
	visibility: hidden;
	text-decoration: underline;
	display: block !important;
	margin-top: 1rem;
	color: rgba(231,226,255,0.8);
}

#portfolio.article section:hover article p>span {
	/*visibility: visible;*/
}

#portfolio.article section#gammobile2015 article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/gammobile2015/three-shot.png") 0 0 no-repeat;
}

#portfolio.article section#gamunlimited article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/gamunlimited/splash.png") 0 0 no-repeat;
}

#portfolio.article section#gamhomepage2014 article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/gamhomepage2014/three-shot.png") 0 0 repeat-y;
}

#portfolio.article section#msnbcblog2010 article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/msnbcblog2010/three-shot.png") 91% 0 no-repeat;
}

#portfolio.article section#msnbcstory2010 article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/msnbcstory2010/three-shot.png") 40% 0 no-repeat;
}

#portfolio.article section#charter article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/charter/splash.png") 0 0 no-repeat;
}

#portfolio.article section#leerichmond article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/leerichmond/splash.png") 0 0 no-repeat;
}

#portfolio.article section#msnbctopics2009 article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/msnbctopics2009/three-shot.png") 65% 0% no-repeat;
}

#portfolio.article section#msnbcmobile2009 article {
	background: transparent url("/web/20171016022318im_/http://sailamedia.com/images/portfolio/msnbcmobile2009/three-shot.png") 40% 50% no-repeat;
}

#about article ul,
#services article ul {
	column-count:2;
	position: relative;
	margin-bottom: 0.67rem;
	padding-bottom: 0.67rem;
	border-bottom: 1px dotted rgba(112,108,128,0.3);
}

#about article ul:last-of-type,
#services article ul:last-of-type {
	border-bottom: 0;
}

/* about */
#about section+section {
	margin-top: -5rem;
}

#about dt,
#about h2 {
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

#about dl {
	margin-top: 3rem;
}

#about dd {
	margin: 0
}

#about dd img {
	float: left;
	border-radius: 50%;
	margin-right: 1.33rem;
}

#about dd img+span {
	font-weight: 700;
	display: block;
	margin: 0.67rem 0 0 3rem	;
}

#about dd a.fa {
	padding-left: 0.5rem;
}

#about dd a.fa:first-of-type {
	margin-left: -0.33rem;
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {

	body {
		max-width: auto;
	}

	main {
		width: 100% !important;
		font-size: 1.33rem;
	}

	.article {
		background-image: none;
	}

	.article>header {
		width: 100%;
	}

	.article header picture img {
		width: 100px;
		margin-left: 2.66rem;
	}

	.article nav {
		float: right;
		width: 200px;
		text-align: right;
		margin-top: -2rem;
		margin-right: -2.66rem;
	}

	.article nav li {
		padding-bottom: 0.67rem;
	}

	#nav-contact {
		display: none;
	}

	.article header nav li {
		list-style: none;
		display: block;
	}

	.article header nav li:after {
		content: "";
		padding: 0;
	}

	.article main {
		width: auto;
		border-radius: 0;
		padding: 0 2.66rem;
	}

	.article>article {
		width: 100%;
		font-size: 1.67rem;
		padding: 0;
	}

	#portfolio.article section article p {
		padding: 1.33rem 3% ;
		width: 94%;
		float: none;
		clear: both;
		height: 5rem;
		margin-top: 10.33rem;
		border-bottom-left-radius: 5px;
	}

	form {
		display: none;
	}

	.article address {
		float: none;
		width: 100%;
		text-align: center;
		margin-top: 0;
		padding-bottom: 7rem;
		clear: both;
	}

	#portfolio.article address {
		margin-top: 9rem;
	}

	address>a.email,
	address>a.tel {
		display: inline-block;
		padding: 1rem 0;
		width: 30%;
		margin: 0 5%;
		color: rgba(255,255,255,1) !important;
		border-bottom-width: 0;
		background: rgba(88,85,100,0.97);
	}


	address>a.email span.icon,
	address>a.tel span.icon {
		display: inline-block;
	}

	address>a.email span,
	address>a.tel span {
		display: none;
	}

	.article address .shout {
		margin-top: 7rem;
		font-weight: 300;
	}

	#about article ul,
	#services article ul {
		column-count: auto;
	}

	footer {
		margin: 2rem auto;
	}

	footer li {
		max-width: 32%;
	}

	footer .socialmedia {
		margin: auto;
	}

	footer .copyright {
		text-indent: 0;
	}


}