/*======================================
      WELCOME TO THE STYLESHEET
--------------------------------------      
     Copyright Colin Gourlay
      Author: Colin Gourlay
======================================*/

/**************************************/
/*              GLOBALS               */
/**************************************/
html {
	background-color: rgb(58, 54, 47);
	color: #222; 
}

body {
	margin: 0;
}

p {
	text-align: justify;
}

img.wrap-left {
	float: left;
	margin-right: 0.5em;
}

img.wrap-right {
	float: right;
	margin-left: 0.5em;
}

.alert { position: absolute; text-align: center; width: 930px; top: 1em; }

.icon { margin-top: 2px; margin-bottom: -2px; }

.dark-box {
	background-color: rgb(40, 37, 32);
	margin-left: -2px;
	border: 1px solid rgb(96, 90, 79);
	color: #fff;
}

.dark-box a {
	color: #fff;
}

.light-box {
	background-image: url("../img/box_bg.jpg");
	background-repeat: repeat-x;
	background-color: #fff;
	margin-left: -2px;
	border: 1px solid #fff;
}

/**************************************/
/*                 TOP                */
/**************************************/
#top {
	background-color: #222;
	height: 160px;
}

#header {
	background-color: #222;
}

#logo {
	margin-top: 56px;
}

#nav {
	margin-top: 80px;
}

#nav p {
	text-align: right;
}

#nav a {
	border: 1px solid #fff;
	margin-left: 10px;
	font-size: 16px;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 4px;
}

#nav a:link { text-decoration: none; color: #7F9EAC; }
#nav a:visited { text-decoration: none; color: #7F9EAC; }
#nav a:hover { text-decoration: none; color: #fafafa; }
#nav a:active, .container a:focus { text-decoration: none; color: #7F9EAC; }

/**************************************/
/*               MIDDLE               */
/**************************************/
#middle {
	background-image: url("../img/middle_bg.jpg");
	background-repeat: repeat-x;
}

#middle a:link { text-decoration: none; color: #7F9EAC; }
#middle a:visited { text-decoration: none; color: #7F9EAC; }
#middle a:hover { text-decoration: underline; color: #7F9EAC; }
#middle a:active, .container a:focus { text-decoration: none; color: #7F9EAC; }

.contact {
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: 1.4em;
}

/**************************************/
/*               BOTTOM               */
/**************************************/
#bottom {

}

#footer {

}

#footer .dark-box {
	padding-top: 6px;
	padding-bottom: 6px;
}

#footer .navlink {
	margin-right: 20px;
}

#footer .imglink {
	margin-right: 10px;
}

#footer img {
	margin-top: 3px;
	margin-bottom: -3px;
}

#footer a:link { text-decoration: none; color: #fafafa; }
#footer  a:visited { text-decoration: none; color: #fafafa; }
#footer a:hover { text-decoration: none; color: rgb(96, 90, 79);; }
#footer a:active, .container a:focus { text-decoration: none; color: #fafafa; }

#footer .copyright {
	text-align: right;
}

/**************************************/
/*                 MISC               */
/**************************************/

.sidebar-header {
	padding-top: 6px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgb(96, 90, 79);
	background-color: #fff;
	color: #222; 
	background-image: url("../img/box_bg.jpg");
	background-repeat: repeat-x;
	font-size: 1.2em;
}

.sidebar-link {
	padding-top: 6px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgb(96, 90, 79);
	background-color: #222;
}

.current-link {
	background-color: #7F9EAC;
}

.sidebar-link a {
	font-weight: bold;
	width: 100%;
	color: #f5f5f5 !important;
}

.portfolio-image {
	text-align: right;
}

.portfolio-image img {
	border: 4px solid rgb(40, 37, 32);
}