/* CSS
Author: Petro Salema
Company: Petro Salema
Contact: petro@petrosalema.com
*/




/* COLOR KEY
backdrop:	ffffff		- White
------------------------------------------------------------
background:	ffffff / f6f6f6	- White / Off-White
------------------------------------------------------------
text:		6e6e6e / 333333	- Medium Gray / Dark Gray
------------------------------------------------------------
headers:	7acaea 		- Aqua Blue
------------------------------------------------------------
subheaders:	58a8c8		- Darker Aqua Blue
------------------------------------------------------------
links:		7acaea		- Aqua Blue
------------------------------------------------------------
hover		?????? 		- Gold
------------------------------------------------------------
*/




/* Global Reset
============================================================ */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td
{
	margin: 0;
	padding: 0;
}

table
{
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,img
{
	border: 0;
}

address,caption,cite,code,dfn,em,strong,th,var
{
	font-weight: normal;
	font-style: normal;
}

ol,ul
{
	list-style: none;
}

h1,h2,h3,h4,h5,h6
{
	font-weight: normal;
	font-size: 100%;
}

a
{
	text-decoration: none;
}




/* Base
============================================================ */

html
{
	/* overflow-x: auto; Property overflow-x doesn't exist in CSS level 2.1 but exists in [css3] */
	height: 100%;
}

body
{
	background-image: none;
	background-color: #fff;
	background-attachment: fixed;
	background-position: center center;
	text-align: center;
}

input[type="text"]
{

}




/* Classes
============================================================ */


/* Old ratios 675 [empty 10] 315 */

.left { float: left; width: 560px; }
.right { float: right; width: 400px; }

.right:after
{
	display: block;
	content: "";
	clear: both;
	height: 0;
	visibility: hidden;
}

.align-center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }
.align-justify { text-align: justify; }

.clear { clear: both; float: none; font-size: 0; }

.float-left { float: left; }
.float-right { float: right; }

.hidden { display: none; }
.inline { display: inline; }
.block { display: block; }
.visibile { display: none; }

.bold { font-weight: bold; }
.italic { font-style: italic; }
.normal { font-weight: normal; }

.divide-vertical { width: 60px; min-height: 100px; text-align: center; }
.divide-horizontal { width: 100%; padding: 30px 0; text-align: center; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }




/* Typography
============================================================ */

body, h1,h2,h3,h4,h5,h6
{
	font-family: Helvetica, Arial, Geneva, sans-serif;
}

body
{
	color: #6e6e6e;
	font-size: 14px;
	line-height: 150%;
}

h1,h2,h3,h4,h5,h6
{
	padding-bottom: 10px;
	color: #222;
	font-weight: bold;
	font-size: 16px;
	font-family: lucida grande,"Lucida Grande", sans-serif;
	line-height: 100%;
}

h1
{
	padding-bottom: 30px;
	font-weight: normal;
	font-size: 40px;
	letter-spacing: -1px;
}

p
{
	padding-bottom: 20px;
}




/* Lists
============================================================ */
ul, li
{
	height: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}




/* Links
============================================================ */

a, a:link, a:visited, a:active
{
	color: #08c;
	text-decoration: none;
}

a:hover
{
	color: #7acaea;
	text-decoration: none;
}




/* Layout
============================================================ */

#header, #torso, #footer
{
	position: relative;
	top: 0;
	left: 0;
	min-width: 1024px;
	width: 100%;
	text-align: left;
}

#header
{
	height: 240px;
	background: transparent url(http://www.petrosalema.com/assets/gradient?c1=fff&c2=f0f0f0&h=10) repeat-x bottom left;
}

#torso
{
	padding: 20px 0 30px;
	background: #fff url(http://www.petrosalema.com/assets/gradient?c1=f6f6f6&c2=fff&h=40) repeat-x top left;
	border-top: 1px solid #fff;
}

#footer
{
	margin: 24px auto;
}

.wrapper
{
	position: relative;
	top: 0;
	left: 0;
	width: 960px;
	height: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.container
{
	padding-top: 20px;
}

.inner
{
	padding: 20px;
}

.left .inner
{
	border-right: 1px dotted #dedede;
}

.right .inner
{
	font-size: 12px;
}

#scalp
{
	padding: 2px 4px;
	background: #333 url(http://www.petrosalema.com/assets/gradient?c1=333&c2=222&h=10) repeat-x bottom left;
	color: #fff;
	font-size: 12px;
	text-align: right;
}

#scalp a
{
	padding: 1px 4px;
	color: #fff;
}

#scalp a:hover
{
	background: #fff;
	color: #333;
}

#toe
{
	padding: 2px 10px;
	background: #333 url(http://www.petrosalema.com/assets/gradient?c1=333&c2=222&h=10) repeat-x bottom left;
	color: #fff;
	font-size: 12px;
	text-align: right;
}

#logo
{
	position: relative;
	top: 0px;
	left: 0;
	width: 200px;
	text-align: center;
}

#bg_text
{
	position: absolute;
	top: 50px;
	left: 0;
}

#navigation
{
	position: absolute;
	left: 0;
	bottom: 0;
	padding-left: 10px;
}

#mainmenu
{
	position: relative;
	bottom: 1px;
}

#mainmenu li
{
	float: left;
	position: relative;
}

#mainmenu li a
{
	display: block;
	width: 100px;
	height: 30px;
	overflow: hidden;
	margin-right: 1px;
	padding-bottom: 2px;
	background-repeat: no-repeat;
	color: #aaa;
	text-indent: 300px;
}

#mainmenu li a:hover
{
	padding-bottom: 0;
	background-position: 0 -30px;
	border-bottom: 2px solid #ddd;
}

#mainmenu li.current a
{
	padding-bottom: 0;
	background-position: 0 -60px;
	border-bottom: 2px solid #7acaea;
}

#nav_work	a { background-image: url(http://www.petrosalema.com/tab_100_30_12_WendelinStrong_fff_0_0_444_58a8c8_222___work.gif); }
#nav_services	a { background-image: url(http://www.petrosalema.com/tab_100_30_12_WendelinStrong_fff_0_0_444_58a8c8_222___services.gif); }
#nav_home	a { background-image: url(http://www.petrosalema.com/tab_100_30_12_WendelinStrong_fff_0_0_444_58a8c8_222___home.gif); }
#nav_contact	a { background-image: url(http://www.petrosalema.com/tab_100_30_12_WendelinStrong_fff_0_0_444_58a8c8_222___contact.gif); }

#blurb
{
	width: 400px;
	margin: 0 auto;
	color: #333;
	font-size: 18px;
	line-height: 1.2em;
}

.block_header
{
	position: relative;
	width: 100%;
	height: 50px;
	overflow: hidden;
	margin-bottom: 10px;
}

.block_header img
{
	position: absolute;
	bottom: -14px;
	right: 10px;
	font-size: 30px;
}

.block_header span
{
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: url(http://www.petrosalema.com/assets/gradient?c1=fff&c2=eee&h=5) repeat-x bottom;
}

.block_footer
{
	position: relative;
	width: 100%;
	height: 50px;
	overflow: hidden;
	margin-bottom: 10px;
}

.block_footer img
{
	position: absolute;
	top: -4px;
	right: 10px;
	font-size: 30px;
}

.block_footer span
{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: url(http://www.petrosalema.com/assets/gradient?c1=eee&c2=fff&h=5) repeat-x top;
}

#side_content ul
{
	width: 100%;
}

#side_content li
{
	padding: 5px 10px;
	border-bottom: 1px dotted #dedede;
	color: #6e6e6e;
}

#side_content li:last-child
{
	border: 0;
}

.thumb
{
	padding: 4px;
	border: 1px solid #dedede;
	background: #eee;
}

a:hover .thumb
{
	border-color: #7acaea;
	background: #58a8c8;
}

#projects ul
{
	width: 360px;
}

#projects li
{
	position: relative;
	margin: 20px 10px 0;
	padding-bottom: 20px;
	border-bottom: 1px dotted #dedede;
	color: #6e6e6e;
	font-size: 11px;
}

#projects li b
{
	color: #333;
}

#projects li:last-child
{
	border: 0;
}

.projects_left
{
	float: left;
	width: 160px;
	padding: 10px 0;
	border-right: 1px dotted #dedede;
}

.projects_right
{
	float: right;
	width: 160px;
	padding: 10px 0;
}

#work_tabs
{
	float: left;
	width: 80px;
	height: 200px;
	padding-top: 20px;
	border-right: 1px dotted #dedede;
	background: #fff url(http://www.petrosalema.com/assets/gradient?c1=fff&c2=f6f6f6&w=10&o=y) repeat-y top right;
	font-size: 11px;
	text-align: right;
}

#work_tabs ul
{
	position: relative;
	border-top: 1px dotted #dedede;
	
}

#work_tabs li
{
	position: relative;
}

#work_tabs ul a
{
	display: block;
	position: relative;
	width: 60px;
	padding: 5px 10px;
	border-bottom: 1px dotted #dedede;
	background: #fff url(http://www.petrosalema.com/assets/gradient?c1=fff&c2=f6f6f6&w=10&o=y) repeat-y top right;
	color: #6e6e6e;
}

#work_tabs li a:hover
{
	background: #f6f6f6 url(http://www.petrosalema.com/assets/gradient?c1=f6f6f6&c2=e6e6e6&w=10&o=y) repeat-y top right;
	color: #58a8c8;
}

#work_tabs li.current a
{
	width: 65px;
	right: -5px;
	background: #fff;
	border-bottom: 2px solid #7acaea;
	color: #6e6e6e;
	font-weight: bold;
}

#work_content
{
	float: right;
	width: 400px;
}

#work_content ul
{
	margin: 0;
	padding: 0;
	font-size: 12px;
	list-style: disc;
}

#work_content li
{
	padding: 2px 4px;
	border-top: 1px dotted #dedede;
	color: #6e6e6e;
}

#contact_form
{
	font-size: 12px;
}

#contact_form input
{
	width: 136px;
	padding: 4px;
	border: 1px solid #dedede;
	color: #58a8c8;
	font-family: Arial;
	font-size: 12px;
}

#contact_form input.extended
{
	width: 300px;
}

#contact_form input.submit
{
	background: #ece9d8;
	color: #6e6e6e;
}

#contact_form textarea
{
	width: 470px;
	padding: 4px;
	border: 1px solid #dedede;
	color: #58a8c8;
	font-family: Arial;
	font-size: 12px;
}

#contact_form .form_field
{
	float: left;
	padding: 5px 0 5px 20px;
}

.tiny
{
	color: #aaa;
	font-size: 80%;
}

#error_msg
{
	display: none;
	padding: 4px;
	border: 2px solid #f45;
	color: #f34;
	font-weight: bold;
}





/* Effects
============================================================ */

.top_rounders { position: absolute; top: 0; left: 0; width: 100%; }
.bottom_rounders { position: absolute; bottom: 12px; left: 0; width: 100%; }
.left_rounder { position: absolute; top: 0; left: 0; }
.right_rounder { position: absolute; top: 0; right: 0; }

.rounders_t, .rounders_b
{
	clear: both;
	position: relative;
	width: 100%;
	height: 12px;
}

.rounders_t .rounders_end, .rounders_b .rounders_end
{
	float: right;
	width: 12px;
	height: 100%;
}

.rounders_t { background: #fff url(http://www.petrosalema.com/corner_12_ddd_fff_tl.gif) no-repeat top left; }
.rounders_b { background: #fff url(http://www.petrosalema.com/corner_12_ddd_fff_bl.gif) no-repeat bottom left; }
.rounders_t .rounders_end { background: transparent url(http://www.petrosalema.com/corner_12_ddd_fff_tr.gif) no-repeat top right; }
.rounders_b .rounders_end { background: transparent url(http://www.petrosalema.com/corner_12_ddd_fff_br.gif) no-repeat bottom right; }

#shadow_top
{
	z-index: 9999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: transparent url(http://www.petrosalema.com/util/gradient_alpha?c=000000&a1=20&a2=0&w=1&h=10) repeat-x;
}

#shadow_bottom {
	z-index: 9999;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background: transparent url(http://www.petrosalema.com/util/gradient_alpha?c=000000&a1=0&a2=20&w=1&h=10) repeat-x;
}