/*---------------------------------------------
Screen CSS of ashley lawrence portfolio site, www.aclawrence.co.uk
January 2016.
-----------------------------------------------*/


/*---------------------------------------------
DISPLAY
-----------------------------------------------*/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;
	}
	
.blogtitle {font-size: 100%;
	font-weight: bold;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	text-decoration: underline;
	text-align: left;
	padding: 10px 0px 0px 0px;
	}
	
.blogdate {font-size: 90%;
	font-weight: normal;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	text-align: left;
	padding: 10px 0px 10px 0px;
	}
	
.blogbody {font-size: 90%;
	font-weight: normal;
	font-style: italic;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	text-align: left;
	padding: 10px 0px 0px 30px;
	}
	
.blogcallout {font-size: 100%;
	font-weight: bold;
	font-style: italic;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	text-align: center;
	padding: 0px 0px 0px 0px;
	}
	
.clear {width:100%;
	clear:both;
	}


/*---------------------------------------------
BASE
-----------------------------------------------*/
html {overview-Y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	}
	
footer {font-size: 80%;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	text-align: center;
	margin-bottom: 20px;
	}

body {background-color: lightgrey;
	color: black;
	}
	
td {vertical-align: top; 
	}
	
li {list-style-type: disc;
	}
	
h1 {font-size: 120%;
	line-height: 1.2;
	font-weight: bold;
	text-align: center;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	
h2 {font-size: 100%;
	line-height: 1.2;
	font-weight: bold;
	text-decoration: underline;
	text-align: center;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	
h3 {font-size: 90%;
	line-height: 1.4;
	font-weight: normal;
	text-align: left;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	
h4 {font-size: 90%;
	line-height: 1.4;
	font-weight: normal;
	text-align: center;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	
		
/*---------------------------------------------
RESPONSIVE
-----------------------------------------------*/	
/* Screen */
@media screen and (min-width: 961px) {
	header {
	background: darkgrey;
	}
	table {
	width: 960px;
	padding: 5px;
	line-height: 1.35;
	}
	nav a {
	margin-bottom: 5px;
	margin-right: 5px;
	background: dimgrey;
	padding: 5px;
	display: block;
	font-size: 90%;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	nav ul {
	list-style-type: none;
	margin-left: -9px;
	padding-bottom: 5px;
	}
	nav li {
	float: left;
	width: 150px;
	list-style-type: none;
	text-align: center;
	}
	nav a:hover {
	background: orange;
	}
	#container {margin: 0 auto;
	width: 960px;
	}
	#columns {column-count: 2;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-width: 470px;
	-webkit-column-width: 470px;
	-moz-ccolumn-width: 470px;
	}
	}
	
/* Tablet */	
@media screen and (max-width: 960px) {
	header {
	background: darkgrey;
	}
	table {
	width: 560px;
	padding: 5px;
	line-height: 1.35;
	}
	nav a {
	margin-bottom: 5px;
	margin-right: 5px;
	background: dimgrey;
	padding: 5px;
	display: block;
	font-size: 90%;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	nav ul {
	list-style-type: none;
	margin-left: 18px;
	padding-bottom: 5px;
	}
	nav li {
	float: left;
	width: 150px;
	list-style-type: none;
	text-align: center;
	}
	nav a:hover {
	background: orange;
	}
	#container {margin: 0 auto;
	width: 560px;
	}
	}
	
/* Mobile */	
@media screen and (max-width: 550px) {
	header {
	background: darkgrey;
	}
	table {
	width: 300px; 
	padding: 5px;
	line-height: 1.35;
	}
	nav li {
        width: 95%;
        margin-left: 10px;
	list-style-type: none;
        text-align: left;
	}
	nav a {
	margin-bottom: 5px;
	margin-right: 5px;
	background: dimgrey;
	padding: 5px;
	display: block;
	font-size: 90%;
	font-family: "Gill Sans", "Gill Sans MT", Arial, "M Arial", "Arial MT";
	}
	nav ul {
	list-style-type: none;
	margin-left: -39px;
	}
	nav a:hover {
	background: orange;
	}
	#container {margin: 0 auto;
	width: 300px;
	}
	}


/*---------------------------------------------
LINKS
-----------------------------------------------*/
a:active  {color: red;
	text-decoration: none;
	}

a:link  {color: red;
	text-decoration: none;
	}

a:visited  {color: red;
	text-decoration: none;
	}

a:hover  {color: red;
	text-decoration: underline;
	}
	
nav a:active  {color: white;
	text-decoration: none;
	}

nav a:link  {color: white;
	text-decoration: none;
	}

nav a:visited  {color: white;
	text-decoration: none;
	}

nav a:hover  {color: white;
	text-decoration: none;
	}
	
img:active {color: none;
	}
	
img:link {color: none;
	}
	
img:visited {color: none;
	}
	
img:hover {color: red;
	}
	
A {cursor: auto
	}
	
	
/*---------------------------------------------
TYPOGRAPHY
-----------------------------------------------*/
hr {display: block;
	height: 1px;
	border: 0;
	border-top: 2px solid darkgrey;
	margin: 1em 0;
	padding: 0;
	}