/*	SITE: BARRYHASSAN.CO.UK
	DATE: MAR 2011
	CODE: BARRY HASSAN
*/

/*=========== GLOBAL */

article, aside, dialog, figure, footer, header,
hgroup, menu, time, nav, section { display: block; }

* {
	padding: 0;
	margin: 0;
}

::selection {
        background: #000; /* Safari */
		color:#127dac;
        }
::-moz-selection {
        background: #000; /* Firefox */
		color:#127dac;
}


html {
	height:100%;
	min-height:100%;
}

body {
	background: #444444;
	height:100%;
	font-family: "Helvetica", Arial, sans-serif;
}

p {
	font-size: 12px;
}

a {
	color:#ddd;
}

a:hover {
	text-decoration:none;
	color:#127dac;
}

@font-face { font-family: Fertigo Pro; src: url('Fertigo_PRO.otf'); } 

@font-face {
	font-family: 'bebasneue-webfont';
	src: url('bebasneue-webfont.eot');
	src: local('‚ò∫'), url('bebasneue-webfont.woff') format('woff'), url('bebasneue-webfont.ttf') format('truetype'), url('bebasneue-webfont.svg#webfontrUxJUwZ6') format('svg');
	font-weight: normal;
	font-style: normal;
}

h1.ident {
	font-family: "bebasneue-webfont", Helvetica, Arial, Sans-Serif;
	font-size: 40px;
	color: #fff;
	letter-spacing: -1px;
	float:left;
	margin: 25px 15px 0 10px;
	
}

#circle {
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	-moz-border-radius: 60px;
	-webkit-border-radius: 60px;
	background:#5699d8;
	margin: 27px 10px 0 20px;
	-webkit-transition: 0.7s linear;
}

#circle:hover {
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	-moz-border-radius: 60px;
	-webkit-border-radius: 60px;
	background:#fff559;
	margin: 27px 10px 0 20px;
	-webkit-transition: 0.7s linear;
	cursor:pointer;
}

h1 {
	font-family: "Fertigo Pro", Georgia;
}

h2 {
	font-family: "Fertigo Pro", Georgia;
	font-size:24px;
	color:#222;
	letter-spacing:-1px;
}

#bluespacer {
	width: 100%;
	height: 10px;
	background: #127dac;
	border-left: 1px solid #111;
	border-right: 1px solid #111;
}

.padding {
	padding: 15px 0 30px 30px;
}

.container {
	width: 700px;
	margin: auto;
}

.left {
	float: left;
}

.right {
	float: right;
}

/*=========== HEADER */

header {
	width: 100%;
	height: 95px;
	background: #272727;
	position:relative;
	z-index:1;
}

.identity {
	font-size: 30px;
	color: #eee;
	margin: 35px 15px 0 30px;
	float: left;
}

nav {
	float: right;
	text-align: right;
	margin-top:28px;
	margin-right:0px;
	width:300px;
	background:#333;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

nav ul {
	width: 300px;
	height: 30px;
	margin-top:8px;
	display: block;
}

nav li {
	display: inline;
	list-style: none;
	color: #fff;
	width: 15px;
	height: 30px;
	margin:0 28px 0 15px;
}

nav li a {
	font-family:"Georgia", Serif;
	text-decoration: none;
	color: #fff;
	font-size: 16px;
	letter-spacing: -1px;
	outline:none;
}

nav li a:hover {
	color: #127dac;
}

nav li a:active {
	color:#000;
}

nav li.current {
	border-bottom:1px dotted #fff;
}

.ident_link {
	text-decoration:none;
}

/*=========== MAST */


#mast {
	height:285px;
	width: 100%;
	background: url(images/mastbg.png) no-repeat;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
}

.headline {
	float:right;
	font-size: 52px;
	letter-spacing: -3px;
	width: 380px;
	color: #eeeeee;
	padding: 5px 5px 0 0;
	margin:25px 0 0 0;
	text-shadow: 2px 2px 2px #444;
}

.screen {
	padding:15px 0 0 25px;
}

#slideshow {
	position: absolute;
	float:left;

}

#slideshow img {
    position:absolute;
    z-index:8;
    opacity:0.0;
}

#slideshow IMG.active {
    z-index:10;
    opacity:1.0;
	border:1px inset #000;
}

#slideshow IMG.last-active {
    z-index:9;
}

.image_position {
	margin-top: 27px;
	margin-left: 40px;
}

/*=========== ABOUT */

#about {
	height: 270px;
	width: 100%;
	background: url(images/aboutbg.png) no-repeat;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
}

#about a {
	color:#000;
	text-decoration:none;
}

#about a:hover {
	text-decoration:underline;
}

.about_positioned_text {
	padding-top:10px;
}

.positioned_text {
	padding-top:10px;
	width:255px;
}

.about {
	padding: 5px 0 0 30px;
	width:350px;
	line-height:1.8;
	color:#222;
	font-family: "Georgia", Serif;
}

.about p {
	font-size:14px;
}


/*=========== PITCH */

#pitch {
	height: 253px;
	width: 100%;
	background: url(images/pitchbg.png) no-repeat;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
	z-index: 2;
	position: relative;
}

.pitch {
	color:#eee;
}

.design {
	background:url(../images/design.png) no-repeat top right;
	margin: 15px 0 0 30px;
	width:300px;
	line-height:1.8;
	color:#eee;
	font-family: "Georgia", Serif;
}

.design p {
	font-size:14px;
}

.development {
	background:url(../images/development.png) no-repeat top right;
	margin: 15px 30px 0 30px;
	width:300px;
	line-height:1.8;
	color:#eee;
	font-family: "Georgia", Serif;
}

.development p {
	font-size:14px;
}

/*=========== PORTFOLIO */

#portfolio {
	width: 100%;
	height: auto;
	background: #eee;
	padding-top: 20px;
	padding-bottom: 20px;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
}

#portfolio hr {
	border: 2px dashed #ccc;
	width: 400px;
	margin-left: 150px;
	margin-bottom: 30px;
	margin-top:30px;
}

#portfolio a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

#portfolio a.action {
	margin:30px 115px 0 10px;
	width:100px;
	padding:15px;	
	background: #5699d8; /* old browsers */
	background: -moz-linear-gradient(top, #5699d8 0%, #127dac 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5699d8), color-stop(100%,#127dac)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5699d8', endColorstr='#127dac',GradientType=0 ); /* ie */	
	float:right;
	text-align:center;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 10px;
	color:#fff;
	font-size:13px;
	font-weight:normal;
	text-decoration:none;
	text-shadow: 0 1px 1px #000;
	border:1px solid #127dac;
}

#portfolio a.action:hover {
	background: #5699d8;
	border:1px solid #ccc;
	text-decoration:none;
}

#portfolio a.action:active {
	margin-top:34px;
	-webkit-transition: 0.3s linear;
	background:#127dac;
	background: -moz-linear-gradient(top, #127dac 0%, #5699d8 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#127dac), color-stop(100%,#5699d8)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#127dac', endColorstr='#5699d8',GradientType=0 ); /* ie */
}

#portfolio a:hover {
	text-decoration: underline;
}


.portfolioitem {
	width: 650px;
	height: 300px;
	padding: 12px;
	margin: 0 0 25px 25px;
	z-index:1;
	position:relative;
}

.portfolioitem h2 {
	margin-left:-5px;
}

.portfolioblurb {
	margin: 15px 15px 15px 5px;
	float: left;
	width: 265px;
	height: 200px;
	text-align:justify;
	font-family:  "Georgia", Serif;
}

.portfolioblurb p {
	line-height: 1.5;
	font-size: 14px;
	color: #222;
}

.portfolioimg {
	float: right;
	width: 300px;
	height: 200px;
	margin-right: 30px;
}

/* ========== CONTACT */

#contact {
	width: 100%;
	height: 840px;
	background: #eee;
	padding-top: 20px;
	padding-bottom: 20px;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
}

.contactheader {
	margin-left: 30px;
	margin-right: 30px;
	font-size: 16px;
	font-family:  "Georgia", Serif;
	letter-spacing: -1px;
}

span {
	color:red;
}

#maincontactForm {
	margin: 30px;
	width: 630px;
}

#maincontactForm label {
	font-family: "Helvetica", Arial, Sans-Serif;
	font-size:14px;
	letter-spacing: -1px;
	margin-bottom:10px;
	color:#000;
}

#maincontactForm input {
	margin-top: 20px;
	margin-bottom: 20px;
	height:40px;
	width:280px;
	font-family: "Helvetica", Arial, Sans-Serif;
	font-size:40px;
	letter-spacing:-1px;
	color: #fff;
	background: #666;
	border: 3px solid #222;
	outline-color: #fff;
	padding:5px;
}

#maincontactForm textarea {
	margin-top: 10px;
	margin-bottom: 10px;
	font-family: "Helvetica", Arial, Sans-Serif;
	font-size:24px;
	width:285px;
	height:275px;
	color: #fff;
	background: #666;
	border: 3px solid #222;
	outline-color: #fff;
	padding:5px;
}

#maincontactForm select {
	margin-top:10px;
	margin-bottom:10px;
	width: 280px;
}

#maincontactForm p input {
	width:80px;
	height:30px;
	float:left;
	margin-right:10px;
	margin-top:10px;
	color: #fff;
	font-size: 12px;
	letter-spacing: -1px;
}

#altcontact {
	width: 350px;
	height: 200px;
	margin-left: 170px;
	margin-bottom: 30px;
	text-align: center;
}

#altcontact img {
	border: 0;
}

.thanks {
	font-size:48px;
}

/*=========== BLOG */

#blog {
	width: 100%;
	height: auto;
	float:left;
	background: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
}

aside {
	float:left;
	width:160px;
	height:300px;
	padding:25px;
	line-height:1.3;
}

aside img {
	border:5px solid #ccc;
	margin-bottom:15px;
}

aside ul {
	margin-top:25px;
	margin-left:25px;
	width:90px;
}

aside a {
	color:#444;
	text-decoration:none;
}

aside li {
	list-style:square;
	color:#aaa;
	margin:5px 0 5px 0;
}

aside li.current {
	color:#127dac;
	border-bottom:1px dotted #127dac;
}

article {
	float:right;
	width:435px;
	line-height:1.5;
	padding:25px;
	border-left:1px solid #ddd;
}

article h1 {
	margin-bottom:25px;
}

article p {
	font-size:14px;
	padding-bottom:16px;
}

article a {
	color:#000;
	text-decoration:none;
	font-weight:bold;
}

article p.author {
	font-size:12px;
	font-style:italic;
}

/*=========== FOOTER */

footer {
	z-index: 1;
	position: relative;
	margin-top: -12px;
	clear: both;
	height: 155px;
	width: 100%;
	background: url(images/footerbg.png) no-repeat;
	border-left: 1px solid #272727;
	border-right: 1px solid #272727;
}

footer p.email {
	display:none;
}

footer img {
	border:0;
}

footer hr {
	border:1px solid #333;
	margin-top:10px;
}

footer p {
	font-family:"Fertigo Pro";
	font-size:12px;
	color:#eee;
}

.footercontent {
	position:absolute;
	margin:35px 0 0 190px;
	width:320px;
	height:100px;
	text-align:center;
}

/* STYLE ENDS */
