/*
Author: Andreas Wilthil modified by Phil Diakit&eacute;
*/

@charset "utf-8";

@import "lib/css/reset.css"; /* Resets browser spesific styles */
@import "lib/css/fonts.css";

#portfoliocycle{position:relative;}
/* -----------------------------------------------------------

   1: GLOBAL 

   ----------------------------------------------------------- */
body, html { font-family:Georgia, Times, serif; font-size:15px; color:#222; background:#202020; margin:0; padding:20px 0 0 0; line-height:130%; width:100%; height:100%; }
/* -----------------------------------------------------------

   2:  TYPOGRAPHY

   ----------------------------------------------------------- */
#content img{background:transparent; border:none; padding:0px; display:block; margin-bottom:0px;}

h1,h2,h3 {/*letter-spacing:0.5px;*/ font-weight:normal; font-family:Georgia, Times, serif; }
#tabnav li,  #primary-menu, .quote, a.buttonlarge{letter-spacing:0.5px; font-weight:normal; font-family: Arial, Helvetica, sans-serif; }
h1 { font-size:33px; line-height:1.1em; margin:10px 0 20px 0; text-decoration:none; color:#b0b0b0; }
h2 { font-size:25px; font-style:italic; line-height:1.3em; margin:0px 0 0px 0; text-decoration:none; color:#b0b0b0; }
h3 { font-size:19px; font-style:italic; line-height:150%; margin:0px 0 0px 0; text-decoration:none; color:#b0b0b0; }
h3 a { font-size:19px; font-style:italic; line-height:150%; margin:0px 0 0px 0; text-decoration:none; color:#fff; }
h4 { letter-spacing:0.5px; font-weight:normal; font-family:Arial, Helvetica, sans-serif; font-size:15px; margin:0 0 0px 0; line-height:1.4em; text-decoration:none; color:#222; }

a { color:#fff; text-decoration:none;}
a:hover { color:#DDC29D; text-decoration:underline;}
p { font-weight:200; color:#b0b0b0; margin:0 0 6px 0; line-height:135%; clear:both; }
pre {margin:0; font-size:15px; padding: 16px 0; margin:0; line-height:16px; overflow:auto; overflow-Y:hidden; color:#b0b0b0;}
pre code {margin: 0 0 0 0px; padding:10px; display:block; background:#fff; border:1px solid #b0b0b0;}


.diagonal { margin:0 0 10px 0;  padding:6px 0px; background:url(lib/img/theme/eee.png) repeat-x left 16px; width:900px; text-align:center;}
.diagonal span{background:#fafafa; padding:0 10px 0 10px; font-weight:normal; color:#444;text-decoration:none;line-height:1.4em; margin-left:6px;}

blockquote.pullquote p { width: 220px; padding: 0px 20px 0px 0px; margin:0px 20px 20px; font-size: 15px; line-height: 20px; float:left; border-right:1px solid #dbdbdb; text-align:right; font-style:italic; }
blockquote.pushquote p { width: 220px; padding: 0px 0px 0px 20px; margin:0px 0px 20px 20px; font-size: 15px; line-height: 20px; float:right; border-left:1px solid #dbdbdb; text-align:left; font-style:italic; }

/* Default list style */
ul { margin:10px 20px 20px; padding:0;  list-style:square; width:auto; display:block; }
ol { margin:2px 20px 20px; padding:0; list-style-type:decimal; width:auto; display:block; }
ul li, ol li { clear:both; padding:4px 0px; margin:0px; width:auto; text-align:left; line-height:1.5em; }
ul li a { }
ul li a:hover, ol li a.hover { }

.testimonial-widget{font-size:12px;}
#tabnav li a {font-size:15px;}
#primary-menu li{font-size:15px; }

/* -----------------------------------------------------------

   3:  SITE STRUCTURE
	
	Elements on all or most pages

   ----------------------------------------------------------- */
#wrapper{margin:0 auto 0; width:980px; position:relative;}
#inner{float:left; background:#232323; padding:0px 40px 28px; width:900px; box-shadow: 0 4px 8px rgba(0, 0, 0, .55); -webkit-box-shadow:0 4px 8px rgba(0, 0, 0, .55); -moz-box-shadow:0 4px 8px rgba(0, 0, 0, .55);}
/*#inner{float:left; background:#f9f9f9; padding:0px 40px 30px; width:900px; background:url(lib/img/theme/inner_bg.png) repeat-x; moz-border-top-left-radius:3px; moz-border-top-right-radius:3px; -webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px; border-top-left-radius:3px; border-top-right-radius:3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); -webkit-box-shadow:0 1px 3px rgba(0, 0, 0, .35); -moz-box-shadow:0 1px 3px rgba(0, 0, 0, .35);}*/
#header{float:left; width:900px; padding:0;}
#header_top{ width:900px; float:left; padding:0px 0 0px;}
/*#header_center{background:url(lib/img/theme/header_bg.png) no-repeat center bottom; width:900px; display:block; float:left; padding:6px 0 0 0; position:relative;}       */
#header_center{width:900px; display:block; float:left; padding:0px; position:relative;}
#header #logo {float:left;}
/*#header #logo img {background:transparent !important; float:left; }*/
#header #logo img {float:left;}
#header #logo h1 {font-size:48px; text-shadow:#fff 1px 1px 1px 1px; margin:0; }
#header #logo h1 a{color:#222; text-decoration:none; line-height:1em;}
#header #searchform{float:right;}
#header #primary {float:left; margin:0px 0 0px; width:900px; height:40px; display:block; background:#1c1c1c ; border:0px solid #1c1c1c; }
#header #secondary-menu { float:left; width:500px;  display:block; margin:0px 0 0;  }
#header #tertiary-menu { float:right; width:300px;  display:block; margin:0px 0 0; text-align:right;  }
#content{float:left; width:900px; padding-top:23px; }
#content .content-left{float:right; margin-left:0px;}
#content .content-right{float:left; margin-right:0px;}
#inner-content { margin:0px auto; width:900px; }
#content-default { float:left; width:590px; padding:0px 0 0; display:block;}
#footer {width:900px; background:#151515; border-top:0px solid #eee; padding:9px 40px 11px 40px; float:left; box-shadow: 0 4px 8px rgba(0, 0, 0, .55); -webkit-box-shadow:0 4px 8px rgba(0, 0, 0, .55); -moz-box-shadow:0 4px 8px rgba(0, 0, 0, .55);}

.one-third, .two-third, .one-fourth, .three-fourth, .one-half, .one-fifth, .two-fifth, .three-fifth { display:inline; float:left; }
.one-fifth { width:164px; margin:0 20px 20px 0; }
.two-fifth { width:348px; margin:0 20px 20px 0; }
.three-fifth { width:532px; margin:0 20px 20px 0; }
.one-fourth { width:210px; margin:0 20px 15px 0; }
.three-fourth { width:670px; margin:0 20px 20px 0; }
.one-third { width:280px; margin:0 30px 0px 0; }
.two-third { width:590px; margin:0 30px 0px 0; }
.one-half { width:435px; margin:0 30px 0px 0; }
.inner{margin:0 auto; width:900px;}


/* -----------------------------------------------------------

   4: SIDEBAR

	All sidebar-spesific styles

   ----------------------------------------------------------- */
.sidebar { float:left; width:260px;  min-height:200px;   display:block;  }
.sidebar h4 {line-height:1.2em;  margin-bottom:16px; }
 .sidebar-top, .sidebar-bottom{width:250px; display:block; height:16px; clear:both;}
/* Sidebar right */
.sidebar-right{padding-left:40px;}
.sidebar-right .sidebar-top{background:url(lib/img/theme/sidebar-right-top.png) no-repeat; width:260px;  }
.sidebar-right .sidebar-bottom{background:url(lib/img/theme/sidebar-right-bottom.png) no-repeat; width:260px; }
.sidebar-right .sidebar-inner {float:left; padding-left:30px; background:url(lib/img/theme/sidebar-right-bg.png) repeat-y; min-height:300px; width:230px;}
/* Sidebar left */
.sidebar-left{padding-right:40px;}
.sidebar-left .sidebar-top{background:url(lib/img/theme/sidebar-left-top.png) no-repeat right;width:260px;  }
.sidebar-left .sidebar-bottom{background:url(lib/img/theme/sidebar-left-bottom.png) no-repeat right; width:260px; }
.sidebar-left .sidebar-inner {float:left; padding-right:30px; background:url(lib/img/theme/sidebar-left-bg.png) repeat-y right ; min-height:300px; width:230px; }

/* Sidebar lists */
.sidebar ul{ margin:0px 0px 20px; padding:0; list-style:none; width:240px }
.sidebar ol{ margin:0px 0px 0px 0px; padding:0; list-style:decimal; display:block; width:240px }
.sidebar ul li{ padding:10px 0px; margin:0px; line-height:16px;  color:#555; background:url(lib/img/theme/shadowborder.png) no-repeat bottom; }
.sidebar ul li a{  padding:0px; margin:0px;  font-weight:bold;  }
.sidebar ul li a:hover{ clear:both; padding:0px; margin:0px; }
.sidebar ul ul { margin:0px 0px 4px 2px; padding:0; list-style:none; display:block; border:none; }
.sidebar ul ul li {width:153px; border:none; font-size:11px; background:none; padding: 6px 0; }
.sidebar ul ul ul { margin:10px 0px 10px 10px; }
.sidebar ul ul li a{ width:153px; clear:both; padding:0px; margin:0px; background:none; font-weight:normal; }
.sidebar ul ul li a:hover{ text-decoration:none; }
.sidebar ul li:last-child { border:none; }
.sidebar ul ul ul li{ width:153px; border:none; }
.sidebar p { color:#555; }
.sidebar-widget{float:left; margin-bottom:20px; width:260px;}
.sidebar-widget h4 a{color:#555;}

/* -----------------------------------------------------------

   5: FOOTER
	
	All footer-spesific styles

   ----------------------------------------------------------- */
	
#footer .one-fourth { color:#999; }
#footer h1, #footer h2, #footer h3, #footer h4 { color:#eee; }
#footer a { color:#777; }
#footer a:hover { color:#999; }
#footercredits { float:left; padding:0px; font-size:11px; color:#535353; font-family:Arial, Helvetica, sans-serif;}

.footer-widget{clear:both; float:left; margin-bottom:20px; width:100%;}
.footer-widget ul { margin:0px 0px 20px; padding:0; list-style:none; display:block; width:100%; }
.footer-widget ol { margin:0px 0px 0px 0px; padding:0; list-style:decimal; display:block; }
.footer-widget ul li { display:block; padding:6px 0px 6px 0px; margin:0px; line-height:16px; border-bottom:1px solid #222; color:#777;  width:210px;}
.footer-widget ul li a { display:block; padding:0px; margin:0px; background:none; font-weight:bold; }
.footer-widget ul li a:hover { clear:both; padding:0px; margin:0px; }
.footer-widget ul ul { margin:10px 0px 10px 10px; padding:0; list-style:none; display:block; border:none; }
.footer-widget ul ul li { width:153px; border:none; font-size:11px; }
.footer-widget ul ul ul { margin:10px 0px 10px 10px; }
.footer-widget ul ul li a { width:153px; clear:both; padding:0px; margin:0px; background:none; font-weight:normal; }
.footer-widget ul ul li a:hover { text-decoration:none; }
.footer-widget ul li:last-child { border:none; }
.footer-widget ul ul ul li { width:153px; border:none; }


/* -----------------------------------------------------------

   6:  HOME PAGE
	
	Home page spesific styles

   ----------------------------------------------------------- */

.phi_right{right:0; top:0;}
.phi_left{left:0; top:0;}
.phi_center{left:50%; margin-left:-140px;}
.phi_none{display:none;}
.phi_white_opaque{background:#fafafa;}
.phi_white_transparent{background:url(lib/img/theme/white_80.png);}
.phi_black_opaque{background:#111;}
.phi_black_transparent{background:url(lib/img/theme/black_80.png);}
.phi_black_opaque .inner, .phi_black_transparent .inner{background:url(lib/img/theme/slide-info-diagonal-dark.png) no-repeat center bottom;}
.phi_black_opaque h1, .phi_black_transparent h1{color:#fafafa;}
.phi_white_opaque .inner, .phi_white_transparent .inner{background:url(lib/img/theme/slide-info-diagonal-light.png) no-repeat center bottom;}
.phi_white_opaque .inner h1, .phi_white_transparent .inner h1{color:#555;}
.phi_white_opaque .inner h3, .phi_white_transparent .inner h3{color:#777;}


/********************************************************
********* PORTFOLIO STYLES ******************************
*********************************************************/
.portfoliowrap{float:left; clear:both; width:100%; margin:0 0 30px; display:block;}
.portfolio-post{width:900px; display:block; float:left;  margin:0 0 30px; padding:0 0 20px 0; background:url(lib/img/theme/shadowborder.png) no-repeat bottom;}
.portfolio-image{display:inline; float:left; clear:none; width:590px; margin-right:30px;}
.portfolio-info{display:inline; float:left; clear:none; width:280px;}

p.edit_link{display:block; float:none;  margin:10px 0 30px; padding:10px;}



/* -----------------------------------------------------------

   11:  PORTFOLIO AND GALLERY

   ----------------------------------------------------------- */
.portfolio img { margin:0 0 0 0; }
#gallerycycle { overflow:hidden; float:left; clear:both; width:900px; margin:0px 0 20px; display:block; }
#galleryslider { overflow:hidden; }
.galleryslide { float:left; }
/*.slide { float:left; }*/
.zoom { background:url(lib/img/theme/zoom.png) no-repeat center center; position:absolute; top:50%; left:50%; margin-top:-15px; margin-left:-15px; height:30px; width:30px; display:block; }
#prev-gallery, #next-gallery { width:20px; height:20px; display:block;  margin:0 4px 0 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; background-repeat:no-repeat; background-image: url(lib/img/theme/prevnext.png); }
#prev-gallery { background-position:left top; background-color:#333; float:left;}
#next-gallery { background-position:right top; background-color:#333;float:right; }
#prev-gallery:hover { background-color:#555 }
#next-gallery:hover { background-color:#555 }
.bolk-wrapper {width:900px; float:left; clear:both; margin:0 0 20px 0;}
/* -----------------------------------------------------------

   12:  MENU AND LIST STYLES

   ----------------------------------------------------------- */
/* 
PRIMARY MENU 
*/
#primary-menu { float:left; width: 850px; }
#primary-menu ul { margin:0; padding:0; list-style:none; float:left; width:850px; height:40px; overflow:visible; position:relative; z-index:200; }
#primary-menu ul li { display:inline; margin:0; padding:0; position:relative; float:left; clear:none; }

#primary-menu ul li a { font-weight:500; display:inline; float:left; clear:none; line-height:40px; margin:0px 2px 0 0; padding:1px 14px 0px 14px; color:#858585; position:relative; height:40px;}

.primary-active,
#primary-menu ul li a:hover {color:#ceb698; background:url(lib/img/theme/menu-hover.png) no-repeat center top; text-decoration:none; }

#primary-menu ul li.current_page_item a {font-weight:500; color:#fafafa; background:url(lib/img/theme/menu-active.png) no-repeat center top; text-decoration:none; }
#primary-menu ul li.current_menu_item a {font-weight:500; color:#fafafa; background:url(lib/img/theme/menu-active.png) no-repeat center top; text-decoration:none; }
#primary-menu ul li.current_menu_ancestor a {font-weight:500; color:#fafafa; background:url(lib/img/theme/menu-active.png) no-repeat center top; text-decoration:none; }
#primary-menu ul li.current_page_parent a {font-weight:500; color:#fafafa; background:url(lib/img/theme/menu-active.png) no-repeat center top; text-decoration:none; }




/* Level 2 */
#primary-menu ul ul { background:none; height:auto; margin: 0 0 0 -1px; position:absolute; visibility: hidden;  z-index:800; padding:10px 5px; 
border-left:1px solid #fff;
border-right:1px solid #fff;
border-bottom:1px solid #fff;
width:190px;
background:#eee; 
background: -moz-linear-gradient(top, #eee, #fafafa);
background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#fafafa));
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#eeeeee, endColorstr=#fafafa)";
box-shadow:0px 1px 1px rgba(0, 0, 0, .3);
-webkit-box-shadow:0px 1px 1px rgba(0, 0, 0, .3);
-moz-box-shadow:0px 1px 1px rgba(0, 0, 0, .3);}

#primary-menu ul ul li a { width:180px; color:#999; margin:0 0 1px 0; background-image:none;  display:block; padding:10px 10px; 
line-height:1em;
height:auto;



}
#primary-menu ul ul li a:hover {text-decoration:underline; }

#primary-menu ul li ul li a, 
#primary-menu ul li.current_page_item ul li a, 
#primary-menu ul li.current_page_ancestor ul li a, 
#primary-menu ul li.current_page_ancestor ul li a, 
#primary-menu ul li.current_page_item ul li a, 
#primary-menu ul li.current_page_ancestor ul li a, 
#primary-menu ul li.current_page_parent ul li a,
#primary-menu ul ul li.current_page_item a,
#primary-menu ul ul li.current_menu_item a {background:none;}
/* Hover */
#primary-menu ul li ul li a:hover, 
#primary-menu ul li.current_page_item ul li a:hover, 
#primary-menu ul li.current_page_ancestor ul li a:hover, 
#primary-menu ul li.current_page_ancestor ul li a:hover, 
#primary-menu ul li.current_page_item ul li a:hover, 
#primary-menu ul li.current_page_ancestor ul li a:hover, 
#primary-menu ul li.current_page_parent ul li a:hover {background:none; }
#primary-menu ul ul li {display: block; margin:0; padding:0; width:220px; background-image:none; }

/*
HOME BUTTON
*/
#homebutton {float:left; height:40px; width:48px; display:block; background:##1C1C1C; }
#homebutton a {height:40px; width:48px; display:block; float:left; background:url(lib/img/theme/home-off.png) no-repeat center center; }
#homebutton a:hover { height:40px; width:48px; background: url(lib/img/theme/home-symbol-hover.png) no-repeat center center; padding:0; margin:0; }
#homebutton a.active { height:40px; width:48px; background:url(lib/img/theme/home-symbol-active.png) no-repeat center center; padding:0; margin:0; }
#homebutton a span { display:none; }
/*
SECONDARY MENU
*/

#secondary-menu ul { list-style:none; margin:0; padding:0; float:left; margin:0 10px -6px 0; position:relative; z-index:999; }
#secondary-menu li { display:inline; float:left; clear:none; margin-right:10px; padding:0; font-weight:normal; font-size:11px;  position:relative; z-index:60; text-transform:uppercase;}
#secondary-menu li ul { display:none; }
#secondary-menu li a { display:inline; float:left; color:#999; padding:0 10px 8px 0}

#secondary-menu li a:hover {color:#777; text-decoration:none; background:url(lib/img/theme/menu-hover.png) no-repeat bottom center;}
/* Level 2 */
#secondary-menu ul ul { background:none; height:auto; margin: 0 0 0 -1px; position:absolute; visibility: hidden;  z-index:800; padding:10px 5px; 
border-left:1px solid #fff;
border-right:1px solid #fff;
border-bottom:1px solid #fff;
width:190px; 
background:#eee; 
background: -moz-linear-gradient(top, #eee, #fafafa);
background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#fafafa));
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#eeeeee, endColorstr=#fafafa)";
box-shadow:0px 1px 1px rgba(0, 0, 0, .3);
-webkit-box-shadow:0px 1px 1px rgba(0, 0, 0, .3);
-moz-box-shadow:0px 1px 1px rgba(0, 0, 0, .3);}

#secondary-menu ul ul li a { width:180px; color:#999; margin:0 0 1px 0; background-image:none;  display:block; padding:10px 10px; 
line-height:1em;
height:auto;



}
#secondary-menu ul ul li a:hover {text-decoration:underline; }

#secondary-menu ul li ul li a, 
#secondary-menu ul li.current_page_item ul li a, 
#secondary-menu ul li.current_page_ancestor ul li a, 
#secondary-menu ul li.current_page_ancestor ul li a, 
#secondary-menu ul li.current_page_item ul li a, 
#secondary-menu ul li.current_page_ancestor ul li a, 
#secondary-menu ul li.current_page_parent ul li a,
#secondary-menu ul ul li.current_page_item a,
#secondary-menu ul ul li.current_menu_item a{background:none;}


/* FOOTER MENU */
#footernav { float:left; clear:left; padding:16px 0px 16px; margin:0 0 10px; width:900px; border-top:1px solid #222; border-bottom:1px dashed #222;}
#footernav ul { list-style:none; margin:0; padding:0; float:left; }
#footernav li { color:#ccc; display:inline; margin-right:20px; padding:0px; font-size:14px; /*font-weight:bold;*/ }
#footernav li ul { display:none; }
#footernav li a { color:#ccc; display:inline; }
#footernav li a:hover { color:#eee; }
/* -----------------------------------------------------------

   13:  ELEMENTS

   ----------------------------------------------------------- */
/* 
BREADCRUMB
*/
#breadcrumb { font-size:10px; color:#444; margin:0px 0 20px;  line-height:1.2em; text-transform:uppercase; width:900px; float:left; clear:both; display:block; background:url(lib/img/theme/shadowborder.png) no-repeat bottom; padding-bottom:16px; }
#breadcrumb a { color:#993333; }
.searchresult{width:590px; clear:both; display:block; float:left; margin-bottom:20px; border-bottom:1px solid #eee; padding-bottom:10px;}

/*
SOCIAL MEDIA LINKS
*/
ul.social{margin:0; list-style:none; padding:0px; float:left;  margin:0;}
ul.social li { display:inline; float:left; clear:none; margin:0 10px 0 0px; padding:0;}
ul.social li a { padding:0px; display:inline; }

/*
PAGER 
*/
#pager {float:left; clear:both; display:inline; min-width:570px; font-size:10px; line-height:20px;}
#pager ul { margin:16px 0 0; padding:0; list-style:none; max-width:570px; display:block; }
#pager ul li { clear:none; float:left; display:inline; padding:0px; margin-right:0px; text-align:center; font-size:10px; }
#pager ul li a { width:10px; height:10px; padding:0px 5px 10px 5px; line-height:20px; margin:0px; float:left; clear:none; display:block; text-decoration:none; color:#777; }
#pager ul li a:hover { color:#777; }
#pager ul li.current a { background-color:#333; color:#fff; -moz-border-radius: 2px; -webkit-border-radius: 2px; }
#pager ul li a span { padding-top:0px; text-align:center; display:block; }
#pager .pages {float:left; margin-right:10px; }


/*
BUTTONS
*/
a.button, input[type=submit],input[type=button], input[type=reset] {
	float:left;
	clear:both;
	display:block;
	background-color:#9e0039;
	color:#fff;
	padding:0 10px;
	height:24px;
	line-height:24px;
	font-weight:bold;
	margin:0 0 10px 0;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	text-decoration:none;
	border:none;
}

a.buttonmedium{
	float:left;
	clear:both;
	display:block; 
	background-color:#9e0039; 
	color:#fff;
	padding:0 16px;
	height:32px;
	line-height:32px;
	font-weight:bold;
	margin:0 0 10px 0;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	text-decoration:none;
	border:none;
}

a.buttonlarge{
	float:left;
	clear:both;
	display:block; 
	background-color:#9e0039; 
	color:#fff;
	padding:0 24px;
	height:40px;
	line-height:40px;
	font-weight:bold;
	margin:0 0 10px 0;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	text-decoration:none;
	border:none;
	font-size:18px;
}

a.lightbtn{background:#ddd; color:#333;}
a.darkbtn{background:#333; color:#eee;}
a.bullet{background:url(lib/img/theme/button_bullet.png) no-repeat left center; padding:2px 0 2px 21px;}
.button_wrap{float:left; clear:none; margin:0 4px 20px 0px;}

.button:hover, input[type=submit]:hover,input[type=button]:hover, input[type=reset]:hover, a.buttonlarge:hover,  a.buttonmedium:hover { background:#333 url(lib/img/theme/menu-hover.png) no-repeat center bottom; color:#eee; }

.tabcontent .button{border-color:#111;}

/****************************************************************
**** TABLES *****************************************************
***************************************************************'*/
table{width:100%; border-collapse:collapse; float:left; clear:both; margin:0px 0px 0px 0px;}
table caption{width:100%;  padding:6px 6px; color:#999; font-weight:bold;}
table th,table td {padding:6px 6px;  text-align:left;  display:table-cell;}
table a{font-weight:bold;  }
table a:hover{color:#999;  }

/* -----------------------------------------------------------

   FORMS

   ----------------------------------------------------------- */

input, textarea { font-family:Arial, Tahoma, Geneva, sans-serif; }
input[type=text], textarea { font-size:13px; color:#333; border:0px solid #ddd; background:#fafafa; background:url(lib/img/theme/search.png); -moz-border-radius:2px; -webkit-border-radius:2px;
border-radius:2px; }
input:focus, textarea:focus { font-size:13px; color:#333; border:1px solid #bbb; background:#fff; }
input[type=text] { padding:10px; }


#searchform_header{margin:0;}
#searchform_header input[type=text]{height:27px; line-height:27px; padding:0 10px; margin:0 4px 0 0; float:left; clear:none; width:167px; }
#searchform_header input[type=submit]{height:26px; line-height:26px; padding:0 10px; margin:0; float:left; clear:none; background-color:#1f3f78; color:#fff;}


#searchform_footer{float:right; margin:0; width:340px; text-align:right;}
#searchform_footer input[type=text]{height:30px; line-height:30px; padding:0 10px; margin:0 4px 0 0; float:right; clear:none; width:180px;}
#searchform_footer input[type=submit]{height:32px; line-height:32px; padding:0 10px; margin:0; float:right; clear:none; /*background-color:#333;*/}
/* 
CONTACTFORM 
*/
#contact-form { margin:10px 0px 30px; float:left; }
#contact-form ul { list-style:none; margin:0; padding:0; }
#contact-form li { margin:0 0 11px 0; }
#contact-form input[type=text] { width:300px; margin-right:20px; }
#contact-form textarea { width:590px; height:160px; padding:10px; color:#999; font-size:100% }
.mailreceipt { float:left; margin:0px 0 40px; padding:30px; width:620px; text-align:center; font-size:15px; }

.sidebar #contact-form input[type=text] { width:200px; margin-right:0px; }
.sidebar #contact-form textarea {width:200px; height:100px; padding:10px; color:#999; font-size:100%;  }
.sidebar #contact-form li{background:none; padding:0;}

/* -----------------------------------------------------------

   16: MISC CLASSES
	
   ----------------------------------------------------------- */

.alignleft { float:left; margin:0 15px 15px 0 !important }
.alignright { float:right; margin:0 0 15px 15px !important }
.alignleft-nomarginbottom { float:left; margin:0 20px 0 0 !important }
.alignright-nomarginbottom { float:right; margin:0 0 0 20px !important }
.image-wrap-large { margin-bottom:10px; position:relative; float:left; clear:both; display:block;}
.image-wrap { margin-bottom:6px; position:relative; float:left; clear:both; display:block; }
.900-wrap { margin-bottom:16px; }
.last { margin-right:0; }
#footer .last{margin:0;}
.border { border-bottom:1px solid #eaeef2; padding-bottom:10px; margin-bottom:20px; }
.border-top { border-top:1px solid #eaeef2; padding-top:20px; margin-top:20px; }
.break { width:100%; clear:both; display:block; }
.shadowline_break {  display:block; height:10px; margin:10px 0; background:url(lib/img/theme/shadowborder.png) no-repeat; }
.baseline-right { float:right; vertical-align:baseline; display:block; margin-left:20px; }
p.subcaption { font-size:14px; }
.module{float:left; clear:both; width:100%; display:block; margin:0px; padding:0px; }
.no-padding { padding:0;}
.no-margin { margin:0; float:left; display:block; }
.no-border{background-image:none;}
#footer .module{float:left; clear:both; width:100%; display:block; margin:-15px 0 30px 0;background:none; padding:0 0 20px 0; border-bottom:1px solid #333; }
.large-media{ float:left; margin-bottom:20px; clear:both; display:block;  }
.large-media img{float:left; margin:0; clear:both;}

.post_info_fullwidth{width:590px;}

.rounded{
	-moz-border-radius:2px 2px 0px 0px;
	-webkit-border-radius:2px 2px 0px 0px;
	border-radius:2px 2px 0px 0px;
}

.video-wrap{float:left; clear:both; margin:0 0 16px 0; display:block; width:100%;}
/* -----------------------------------------------------------

   17: CUSTOM WIDGETS
	
   ----------------------------------------------------------- */

/* Latest posts widget */
.latestposts { margin-bottom:10px; width:230px; float:left; clear:both; background:url(lib/img/theme/shadowborder.png) no-repeat bottom; padding-bottom:10px;}
#footer .latestposts { margin-bottom:10px; width:210px; float:left; clear:both; background:none; border-bottom:1px solid #252525; padding-bottom:10px;}
.latestposts img { float:left; margin:0 10px 0 0; }
.postlisttitle { font-size:12px; line-height:1.3em; font-weight:bold;  }
.latestposts p a { margin-top:4px;color:#999; }
span.tinytext { font-size:10px; letter-spacing:1px; margin:4px 0 5px 0; line-height:1em; color:#999; min-width: 100px; clear:right; display:block; }

/* Tags widget */
.tags a{float:left; padding:4px 6px; margin:0 2px 2px 0; background:#eee; color:#555; border-radius:2px;}
.tags a:hover{text-decoration:none; background:#ddd; color:#666;}
#footer .tags a{float:left; padding:4px 6px; margin:0 2px 2px 0; background:#333; color:#eee; border-radius:2px;}
#footer .tags a:hover{text-decoration:none; background:#666; color:#fff;}

/* QUOTE */

.quote_wrap{float:left; background:url(lib/img/theme/shadowborder.png) no-repeat top; padding-top:20px; margin-bottom:20px;}
.quote{float:left; background:url(lib/img/theme/shadowborder.png) no-repeat bottom; padding-bottom:30px; font-size:18px;  line-height:1.4em;}

/* For formatting the WP 3.1 admin bar */
#wpadminbar ul, #wpadminbar ul li {clear:none; } /* Added in version 1.3 */
#wpadminbar #adminbarsearch .adminbar-button { clear:none; } /* Added in version 1.3 */
#wpadminbar ul li a:hover {text-shadow:none; } /* Added in version 1.3 */