/*  
Theme Name: ENDO.CZ WP Theme
Theme URI: 
Description: Custom theme for new ENDO.CZ website. This theme requires WordPress 2.0+.
Version: 1.0
Author: Nicolò Volpato
Author URI: http://www.gnvpartners.com

This theme uses some PHP and CSS code from the Hemingway theme by Kyle Neath.
This credit is due.
Kyle Neath - http://warpspire.com
*/



/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}
.clear{ clear:both; height:0px; font-size:0px; line-height:0px; }

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/

html{
	background:#F0F9F9 url(../images/bg_pattern.jpg) repeat left top;
}

body{
	color:#666;
	font-size:0.8em;
	font-family:Helvetica, Arial, Verdana, sans-serif;
}

* html body{
	font-size:0.85em;
	font-family:Arial, Tahoma, Verdana, Helvetica, sans-serif;
}

*:first-child+html body{
	font-size:0.85em;
	font-family:Arial, Tahoma, Verdana, Helvetica, sans-serif;
}

.inside{
	width:915px;
	margin:0 auto;
}

a{
	color:#222;
	text-decoration:none;
}

.line{
	height:1px;
	border-top:1px solid #FF8A00;
	margin:20px 0 25px 0;
}

/*-----------------------------------------------------------------------------------------------
  Header Styles
-----------------------------------------------------------------------------------------------*/

#header{
	background:transparent url(../images/bg_header.jpg) no-repeat center top;
	height:350px;
}

* html #header{
	margin:0 3px 0 0;
}

*:first-child+html #header{
	margin:0 3px 0 0;
}

#header #flash{
	width:400px;
	height:188px;
	/*border:1px dashed #CCC;*/
	float:right;
	margin:-6px 2px 0 0;
	margin /**/:-2px 5px 0 0;
	color:#DDD;
}
#header #flash img{
	width:400px;
	height:188px;
	margin:1px 0 0 0;
}

#header p{
	padding:12px 0 0 38px;
	color:#CCC;
	height:12px;
}

#header p a{
	border-bottom:1px solid #DDD;
	color:#9CB4B2;
	font-size:11px;
	text-decoration:none;
}

#header p a:hover{
	color:#FF8A00;
}

#header p.lang_home a{
	border-bottom:1px solid #DDD;
	color:#FF8A00;
	font-size:11px;
	text-decoration:none;
}

#header p.lang_home a:hover{
	color:#000;
}

#header #logo{
	display:block;
	float:left;
	width:300px;
	height:102px;
	margin:45px 0 0 50px;
	text-indent:-999999px;
}

/*-----------------------------------------------------------------------------------------------
  Search 
-----------------------------------------------------------------------------------------------*/

#search{
	float /**/:left;
	height:26px;
	margin:90px 0 0 665px;
	margin /**/:93px 0 0 665px;
}

input, textarea{
	border:1px solid #CCC;
	height:12px;
	width:150px;
	background:#FFF;
	color:#222;
	color /**/:#999;
	text-align:left;
	padding:6px;
	font-size:12px;
	font-family: Helvetica, Arial, Verdana, sans-serif;
}

*:first-child+html input{
	color:#222;
}
*:first-child+html textarea{
	color:#222;
}

input:focus, textarea:focus{
	color:#222;
	border:1px solid #FFB400;
}

#search form input{
	float:left;
}

#search form a{
	display:block;
	width:24px;
	height:24px;
	float:left;
	margin:0 0 0 6px;
	background:transparent url(../images/btn_search.gif) no-repeat left top;
	border-bottom:0;
	text-indent:-99999px;
}

/*-----------------------------------------------------------------------------------------------
 Sidebar
-----------------------------------------------------------------------------------------------*/

#sidebar{
	float:left;
	width:277px;
	text-align:left;
}

#sidebar #wrapper{
	background:transparent url(../images/bg_sidebar.jpg) repeat-y right top;
	width:277px;
	margin:0;
}

#menu{
	background:transparent url(../images/bg_menu.jpg) no-repeat right top;
	padding:0 0 0 45px;
	font-size:1.15em;
}

#menu ul{
	width:190px;
	margin:0;
	padding:0;
}

#menu ul li{
	padding:0 0 20px 0;
	margin:0;
	list-style-type:none;
}

#menu ul li a{
	color:#819593;
	display:block;
	padding-left:15px;
}

#menu ul li a:hover{
	color:#FF8A00;
	background:transparent url(../images/nav.gif) no-repeat left center;
}

#menu ul li ul li a:hover, #menu ul li.current_page_item ul li a:hover{
	color:#FF8A00;
	background:transparent url(../images/nav.gif) no-repeat left center;
}

#menu ul li.current_page_item a{
	color:#57666B;
	background:transparent url(../images/nav.gif) no-repeat left center;
}

#menu ul li ul{
	margin:10px 0 5px 10px;
	margin /**/:10px 0 10px 10px;
	font-size:0.85em;
}

#menu ul li ul li{
	margin:0 0 8px 0;
	padding:0;
	list-style-type:none;
}

#menu ul li ul li a{
	display:block;
	color:#819593;
	background:none;
	height:20px;
	height /**/:auto;
	margin:0;
	padding:0 0 0 15px;
}

#menu ul li ul li.current_page_item a{
	color:#57666B;
	background:transparent url(../images/nav.gif) no-repeat left center;
}

#menu ul li.current_page_item ul li a{
	color:#819593;
	margin:0 0 7px 0;
	background:none;
}

#contacts{
	background:transparent url(../images/bg_contacts.jpg) no-repeat right top;
	padding:80px 0 0 50px;
	line-height:1.3em;
}

#contacts p{
	margin:0 0 15px 0;
	color:#888;
}

#contacts strong{
	font-weight:normal;
	color:#222;
}
	
#contacts a{
	border-bottom:1px solid #FF8A00;
	color:#222;
	text-decoration:none;
}
#contacts a:hover{
	color:#FF8A00;
}
	
/*-----------------------------------------------------------------------------------------------
  Body / Content Styles
-----------------------------------------------------------------------------------------------*/
#primary{
	background:transparent url(../images/bg_primary.jpg) repeat-y center top;
	text-align: justify;
}

* html #primary{
	margin:0 2px 0 0;
}

*:first-child+html #primary{
	margin:0 2px 0 0;
}

#primary .inside{
	background:transparent url(../images/bg_inside.jpg) no-repeat center top;
}

/* Breadcrumb navigation */ 

#primary .primary .breadcrumb{
	color:#999;
	font-size:0.9em;
	line-height:1.75em;
	border:none;
}

#primary .primary .breadcrumb a{
	color:#666;
}

#primary .primary .breadcrumb a:hover{
	color:#FF8A00;
}

/* Main body */

#primary .primary{
	float:left;
	width:575px;
	color:#666;
	padding:0 0 0 10px;
	min-height /**/:700px;
}

* html #primary .primary{
	width:575px;
	height:700px;
	overflow: visible;
}

#primary .primary p{
	width:575px;
	line-height:1.3em;
	margin-bottom:20px;
}

#primary .primary h1{
	font-size:2em;
	font-weight:normal;
	color:#FF8A00;
	margin:30px 0 30px 0;
	text-align:left;
}

#primary .primary h2{
	font-size:1.7em;
	font-weight:normal;
	color:#57666B;
	margin:20px 0 20px 0;
	text-align:left;
}

#primary .primary h4{
	font-size:1.3em;
	margin:-20px 0 30px 0;
	font-weight /**/:normal;
	color:#222;
}
#primary .primary a{
	border-bottom:1px solid #FF8A00;
	color:#FF8A00;
	text-decoration:none;
}
#primary .primary a:hover{
	color:#FF8A00;
}

#primary .pagenav{
	/*font-size:16px;*/
}

#primary .primary .news{
	margin:0 0 25px 0;
}

#primary .primary .news .news-body{
	width:495px;
	float:right;
	text-align:left;
}

#primary .primary .news .news-body p{
	width:495px;
	margin:0;
	display:inline;
}

#primary .primary .sticky{
	background:transparent url(../images/bg_sticky.gif) no-repeat 5px 0px;
	width:495px;
	color:#222;
	padding:0 0 0 80px;	
	text-align:left;
}

#primary .primary .sticky p{
	width:495px;
}

#primary .primary p.right{
	text-align:right;
}

#primary .primary div.right{
	float:right;
	width:325px;
	text-align:right;
}

#primary .primary div.left{
	float:left;
	width:250px;
	overflow:hidden;
}

#primary .primary p.center{
	width:575px;
	font-size:14px;
	line-height:1.3em;
	margin-bottom:20px;
	text-align:center;
}

#primary .primary p.center .current_page{	
	font-weight:bold;
	color:#222;
}

#primary .primary p.center a{	
	text-decoration:none;
	border-bottom:none;
}

#primary .primary ul li{
	list-style-type:none;
	margin:10px 0 10px 0;
	padding:0 0 0 25px;
	text-align:left;
	background:transparent url(../images/bg_ul.gif) no-repeat 0px 5px;
	background /**/:transparent url(../images/bg_ul.gif) no-repeat 0px 3px;
}

*:first-child+html #primary .primary ul li{
	background:transparent url(../images/bg_ul.gif) no-repeat 0px 5px;
}

#primary .primary ul li.page_item, #primary .primary ul.sresults li{
	list-style-type:none;
	margin:10px 0 10px 0;
	padding:0 0 0 10px;
	background:transparent url(../images/bg_ul.gif) no-repeat 0px 7px;
	background /**/:transparent url(../images/bg_ul.gif) no-repeat 0px 4px;
}

*:first-child+html #primary .primary ul li.page_item{
	background:transparent url(../images/bg_ul.gif) no-repeat 0px 7px;
}

*:first-child+html #primary .primary ul.sresults li{
	background:transparent url(../images/bg_ul.gif) no-repeat 0px 7px;
}

#primary .primary ol{
	margin:10px 0 10px 20px;
	color:#FF8A00;
}

#primary .primary ol li{
	margin:10px 0 10px 0;
	padding:0 0 0 10px;
	color:#666;
}

#primary .primary ul li.page_item a, #primary .primary ul.sresults li a{
	color:#FF8A00;
	display:block;
	padding-left:15px;
	font-size:1.3em;
	line-height:1.3em;
	text-decoration:underline;
	border:0;
}

#primary .primary .download_item{
	padding:0 0 0 25px;
	margin:0 0 20px 0;
	line-height:1.3em;
}

#primary .primary .download_item p{
	width:550px;
}

#primary .primary .download_item .fileinfo{
	color:#222;
}

/* file types */
.pdf{ background:transparent url(../images/icons/pdf.png) no-repeat 2px 0px; }
.zip,.rar{ background:transparent url(../images/icons/zip.png) no-repeat 2px 0px; }
.txt,.rtf{ background:transparent url(../images/icons/txt.png) no-repeat 2px 0px; }
.doc{ background:transparent url(../images/icons/doc.png) no-repeat 2px 0px; }
.xls{ background:transparent url(../images/icons/xls.png) no-repeat 2px 0px; }
.ppt,.pps{ background:transparent url(../images/icons/ppt.png) no-repeat 2px 0px; }
.jpeg,.jpg,.gif,.png,.bmp,.tif{ background:transparent url(../images/icons/jpeg.png) no-repeat 2px 0px; }

/*----------------------------------------------------------------------------------------------
  Calendario - Sticky
-----------------------------------------------------------------------------------------------*/

.cal{
	font-family:Arial, Tahoma, Verdana, Helvetica, sans-serif;
	margin:-2px 0 0 0;
	padding:0 0 0 1px;
	float:left;
	background:transparent url(../images/bg_cal.gif) no-repeat center bottom;
	height:60px;
	width:54px;
}

.day{
	font-size:26px;
	font-weight:bold;
	color:#FFF;
	display:block;
	margin:7px 0 0 12px;
}

.month{
	font-size:15px;
	color:#FFF;
	text-transform:uppercase;
	display:block;
	text-align:center;
	margin:-3px 0 0 0;
}


/*-----------------------------------------------------------------------------------------------
  Foooter Styles
-----------------------------------------------------------------------------------------------*/

#footer{
	background:transparent url(../images/bg_footer.jpg) no-repeat center top;
	color:#555;
	height:171px;
	font-size:12px;
	font-size /**/:11px;
	color:#9CB4B2;
}

* html #footer{
	margin:0 2px 0 0;
}

*:first-child+html #footer{
	margin:0 2px 0 0;
}

#footer a{
	border-bottom:1px solid #DDD;
	color:#9CB4B2;
	font-size:11px;
	text-decoration:none;
}

#footer a:hover{
	color:#FF8A00;
}

#footer div.foot-notes{
	float:left;
	padding:150px 0 10px 38px;
}

#footer div.credits{ 
	float:right;
	padding:150px 38px 10px 0;
}

/*-----------------------------------------------------------------------------------------------
   Contact Form Styles
-----------------------------------------------------------------------------------------------*/

#cmessage{
	height:120px;
}


#primary .primary input, #primary .primary textarea{
	width:310px;
	background:transparent url(../images/bg_input.jpg) no-repeat left top;
	margin:0 0 15px 0;
}

#primary .primary label{
	font-family:Arial, Tahoma, Verdana, Helvetica, sans-serif;
	font-size:12px;
	line-height:12px;
	display:block;
	height:20px;
	background:transparent url(../images/nav.gif) no-repeat 0px 2px;
	margin:5px 0 8px 0;
	margin /**/:4px 0 5px 0;
	padding:0 0 0 15px;
	color:#222;
}

#primary .primary a#btn_send{
	display:block;
	background:transparent url(../images/btn_send.jpg) no-repeat center center;
	text-align:left;
	text-indent:-999999px;
	border:0;
	height:46px;
	width:127px;
	float:right;
}

/*-----------------------------------------------------------------------------------------------
  Image Styles / Other Styles
-----------------------------------------------------------------------------------------------*/

.primary img {
	background-color:#EEE;
	padding:6px;
	margin:20px 20px 20px 0;
	border:1px solid #DDD;
	float:left;
}

.primary img.noborder {
	background:none;
	padding:0;
	margin:0;
	border:0;
	float:none;
	clear:both;
}
a img{ border:none; }

/*-----------------------------------------------------------------------------------------------
  Table Other Styles
-----------------------------------------------------------------------------------------------*/

table{
	width:100%;
	border:1px solid #FFB400;
	padding:0;
	margin:0;
}

th,thead td{
	background-color:#FFB400;
	border:0;
	padding:8px 5px 8px 5px;
	margin:0;
	font-size:120%;
	color:#FFF;
	font-weight:normal;
}

td{	
	width:auto;
	border:1px solid #EEE;
	padding:5px;
	margin:0;
	vertical-align:top;
	text-align:left;
}
#primary .primary td p{
	width:100%;
	margin-bottom:0;
	text-align:left;
}
