/*
alistair.dorman-smith.com
*/

/* Base 
------------------------- */
html {
	font-family: 'Open Sans', sans-serif;
}

p {
	padding-bottom:1em;
	line-height: 2;
}

label {
	display:block;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

input[type="text"] {
	width:400px;
	padding:4px;
}
input[type="email"] {
	width:400px;
	padding:4px;
}


form input[type=submit] {
	padding:5px;
	display:block;
	font-weight: bold;
}


h1 {
	/*font-family: 'BenchNine', sans-serif;*/
	font-size:290%;
	font-weight:200;
	padding-bottom:1em;
}

header {
	overflow:hidden;
}
a:link, 
a:visited {
	color:#3886a9;
}
a:hover, 
a:active,
a:focus {
	color:#990000;
}


/* Modules 
------------------------- */

.logo-wrapper {
	margin:auto auto;
	text-align: center;
	width:80%;
}



div[role="main"] {
	margin:auto auto;
	max-width:980px;
}
div[role="main"] > article {
	margin-top:2em;
	margin-bottom:1em;
	background:rgba(255, 255, 255, 0.1);
	padding:0 1em 0 1em;
}
div[role="main"] > article > p {
	padding-bottom:0;
	color:#FFF;
}
div[role="main"] > article a {
	color:#FFF;
}
div[role="main"] > article a:hover, 
div[role="main"] > article a:active,
div[role="main"] > article a:focus {
	color:#ffcf00;
}

#header {
	margin:auto auto;
	max-width:980px;
	padding:0 1em 0 1em;
}
#header h1 {
	font-size:320%;
	padding-top:0.5em;
	margin-bottom: 0;
}


#header ul {
	display: block;
	width:`100%;
	margin:auto auto;
}

#header li {
	display:inline;
}

#header a, 
#header a:visited {
	color:#000;
	text-decoration:none;
}
#header a:hover, 
#header a:focus, 
#header a:active {
	text-decoration: underline;
}




.btn-img {
	padding-left:45px;
	padding-right: 50px;
	line-height: 2.85;
	line-height: 3;
	display: inline-block;
	background-repeat no-repeat;
	background-position: left;
}
.btn-img:hover,  
.btn-img:active,  
.btn-img:focus {
	/*color: #FF0000;*/
}


.btn-twitter {
	background:url(../images/twitter-30.png) left no-repeat;
}

.btn-linkedin {
	background:url(../images/linkedin-30.png) left no-repeat;

}
.btn-instagram {
	background:url(../images/instagram-30.png) left no-repeat;

}



.clear {
	overflow:hidden;
	clear:both;
}
.hide {
	display:none;
}


/* Forms - Bootstrap 
------------------------- */

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  vertical-align: middle;
}
textarea {
  height: auto;
}
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  transition: border linear .2s, box-shadow linear .2s;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
}
input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
  color: #b94a48;
  border-color: #ee5f5b;
}
input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
  border-color: #e9322d;
  -webkit-box-shadow: 0 0 6px #f8b9b7;
  -moz-box-shadow: 0 0 6px #f8b9b7;
  box-shadow: 0 0 6px #f8b9b7;
}

textarea {
	width:400px;
	height:200px;
	padding:4px;
}


/* Media Queries 
------------------------- */

@media all and (max-width: 450px)  {
	/*bp2*/
	/*.btn-img {
		width:0px;
		overflow: hidden;
		margin: auto auto;
	}
	#header li {
		text-align: center;;
	}
	.l-section img {
		float:none;
	}*/
	ul {
		margin-left:0;
		margin:auto auto;
		xpadding-left:0;	
	}
}


@media all and (max-width: 540px)  {
	/*
	.logo-wrapper {
		float:none;
		width: 100%;
	}
	.logo-wrapper > a {
		display: none;
	}
	#header  h1 {
		text-align: center;
		font-size:250%;
	}
	input[type="text"],
	input[type="email"],
	textarea {
		width:90%;
	}
	*/
}

@media all and (max-width: 700px)  {
/*bp1 */

	#header h1 span {
		display: block;
	}

	#header ul {
		float:none;
		width:100%;
		clear:both;
	}
	#header li {
		display:block;
		margin-top:0.5em;
	}

}
