/*****************
browsers interpret margin and padding a little differently, we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}


object { outline:none; }


#links {
	float: right;
	color: #BBBBBB;
	font-size: 100%;
	margin: 1px 1px 0 0;
}



#links a {
	color: #FFFFFF;
	text-decoration: none;
	
}

#links a.current {
	color: #FFFFFF;
	text-decoration: none;
	}

#links a:hover {
	color: #FF8A00;
	text-decoration: none;
}

.language {
font-size:10px;
height: 26px;
/*margin:0 0 0 764px;*/
/*position:absolute;*/
top:30px;
z-index:0;
float: right;
padding:20px;

}

ul.menu_horiz {
/*display:block;*/
float: left;
color: #fff; 
list-style-type:none;
}
#menu_horiz li {
float: left;
margin:5px 5px 5px 5px;
color: #fff; 
list-style-type:none;
display:block;
padding: 33px 20px 20px 20px;
}


/*if img is inside "a" it would have borders, we don't want that */
img {border: 0;}
div#content img {
margin:0 10px 10px 0;
}
/* default link styles  */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #C95390; 
}

a:hover {
   /*text-decoration: underline;*/
   color: #ffffff; 
   background-color: inherit;
   /*color: #18507C;*/                /* a different color can be used for visited links */
}

a:visited {
   /*text-decoration: underline;*/
   background-color: inherit;
   /*color: #18507C;*/                /* a different color can be used for visited links */
}




/*****************
basic layout 
*****************/
body {
   font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
   font-size: 0.9em;
   background-image:url('images/bg_ms3!.jpg');
   background-image:url('images/gfx/ajax-loader.gif');
	 background-position: center ;
   
	 background-position: 50% 270px;
	 background-repeat:no-repeat;
   /*line-height: 1em;*/   
  
   background-color: #262233;
   color: #fff;
  /* margin:1em; /* gives some air for the pagewrapper */
}


.site {
  margin:0 auto;
  padding:0 3em;
  text-align:left;
  width:69em;
}

/* center wrapper, min max width */
div#pagewrapper {
   /*border: 1px solid black;*/
   /*background: #dddddd url(uploads/theme/bg!.jpg) 0px; */
   margin: 0 auto;     /* this centers wrapper */
   /*max-width: 70em; /* IE wont understand these, so we will use javascript magick */
   /*min-width: 60em;*/
   width: 860px;
   /*background-color: #FFFFFF;*/
  
}


/*** header ***
we will hide text and replace it with a image we need to assign a height for it */

div#header {
   height: 160px; /* adjust according your image size */
   width: 860px;; 
   /*float: center;*/
   /*background-image:url('images/header!.jpg');*/
    background-position:top;
	 background-repeat:no-repeat;
	 padding: 0px 0px 0px 0px ;
	 margin: 0px 0px 0px 0px;
	 
   /*background: #ffffff; */          
}


div#headerwrap {

height:160px;
}

div#header h1 a {
/* you can set your own image here */
   background: #ffffff url(../images/header.jpg) no-repeat 0 0px; 
   display: block; 
   height: 156px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#search {
   float: right;
   width: 23em;     /* enough width for the search input  */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative,  */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#mainfull {
   /*570*/
   float: left;
   width: 780px;
   padding:30px 15px 25px 25px;
   margin: 0px 0px 0px 0px;
   /*background-color: #333333;*/
}
 div#mainfullh {
   /*570*/
   float: left;
    /*width: 734px;*/
   width:100%;
   background: url('../images/hfull.jpg') no-repeat 0px 0px;
   padding: 55px 0px 25px 0px ;
   margin: 0px 0px 0px 0px;
   background-color: #333333;
}
div#mainl {
   /*570 nie uzywac margin tylko pading i float:left */
   float: left;
   width: 397px;
   padding: 0px 0px 0px 20px;
   /*background-color: #FFFFFF;*/
}


div#main {
   /*570*/
   float: left;
   width: 496px;
   padding: 30px 15px 20px 25px ;
   margin: 0px 0px 0px 0px;
   /*background-color: #FFFFFF;*/
}
div#pagging {
   width: 100%;
   padding: 0px 0px 10px 0px ;
   float: left;
   
}



div#middle {
   /*570*/
   width: 225px;
   padding: 30px 15px 15px 25px ;
   position:relative;
   margin-left:270px;
   
   /*background-color: #FFFFFF;*/
}

div#sidebar {
   /*250*/
   /*border:1px solid #6677A0;*/
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 242px;    /* sidebar width, if you change this please also change #main margins */
   /*display: inline;*/ 
   padding: 30px 15px 15px 35px ;
  /* background-color: #6677A0;*/
}
div#submenu {
  height: 35px;
}


div#box {
   /*570*/
   float: right; 
   width: 218px;
   padding: 12px ;
   
   /*margin: 0 auto;*/
   background-color: #550E52;
}
div#fot {
   /*570*/
   color: #C95390; 
   float: right; 
   padding: 3px;
   
   font-size: 0.8em;
   /*margin: 0 auto;*/
}





div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   /*background-color: #202312; /* same bg color as in header */
   height: 224px; 
   background: url(images/footer3.jpg) ;
    background-position:top;
	 background-repeat:no-repeat;
   /*padding: 0.5em 1.5em 0.5em 1.5em;*/
}

div#footer p {
   font-size: 0.7em;
   padding: 1.2em 0.5em 0.5em 0.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #ddd; /* needed becouse footer link would be same color as background otherwise */
   text-decoration: none;
}

div#footer p a:hover {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
   }
/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

hr {
   /*height: 1px;*/
  /* margin: 1em;*/
  /* border-bottom: 1px dotted black;*/
   color: #222222;
}




/********************
CONTENT STYLING
*********************/
div#content {
    /*padding: 30px;*/
   /*padding-bottom: 90px;*/
  background: transparent url('../images/gfx/gradient2.png') repeat-x scroll 0 0 ;
   background-color: #000000;
   font-size: 0.8em;
   width: 834px;
   border: 1px solid #333333; 
   float: left;
   margin: 0px 9px 0px 9px;
   padding: 0px;
}


/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #C95390; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.1em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #ff0000; 
   border-left: 0em solid #e7ab0b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   font-family: Arial;
   color: #C95390; 
   font-size: 16px;
   line-height: 1.3em;
   margin: 30px 0px 20px 0px;
}

div#content h4 {
   color: #C95390; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   color: #C95390; 
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */



.col {
   float:left;
   width:380px;
}


/* form */

form {
/*background:#F8F8F8 none repeat scroll 0 0;*/
border:1px solid #6677A0;
margin:10px 20px;
padding:15px 25px 25px;
}

input.button {

background:#B4DB6F none repeat scroll 0 0;
border-color:#B6DE8F #91BD37 #91BD37 #B6DE8F;
border-style:solid;
border-width:1px;
color:#FFFFFF;
font-family:Arial,Sans-serif;
font-size:12px;

font-weight:bold;

line-height:normal;
margin:0;
padding:2px 3px;
}





/* NEWS' */

.eContainerh {
/* float:left;*/
margin:0 10px 5px 0px;
text-decoration: none;
/* position:relative;*/
width:365px;
}

.eContainerh a {

text-decoration: none;

}

.eContainer {
float:left;
margin:0 10px 5px 0;

position:relative;
/*width:470px;*/
width:100%;
}
.eSummary {
padding-bottom:10px;
border-bottom:1px solid #550E52;
padding:0 0 1.5em 0.9em;
}



.aggregatedperson img {
	background: #fff;
	border: 1px solid #ccc;
	padding: 2px 0 0 0px;
}

div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #FFE9AF; 
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
  /* width: 500px;
  width: 100%;*/
  font-size: 0.9em;
    /*float: left;  */  
    padding: 0em 0em 1.5em 0.9em; /* padding for the news article summary */
    /*margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #550E52; 
}

.eSummaryPostdate {
  /*width: 500px;*/
  width: 100%;
  font-size:10px;
  
  /*font-weight: bold;*/
  /*padding: 0.5em 0em 0.5em 0em;
  /*height: 10px;*/
 }

.NewsSummaryLink {   
    font-weight: bold;
    padding-top: 0.3em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}







/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {

 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}



/* wizualizacje */

li.thumbwiz {
    float:left;
    list-style-type:none;
    padding:0;
    text-decoration:none;
    margin:0 10px 8px 0;
    background:#1B1B1B;
}

li.thumbwiz a {
    float:left;
/*background:#666666 none repeat scroll 0 0;*/
}
li.thumbwiz a:hover {
    background:#333;
}

div#wizualizacje img {
    margin: 5px;
    border: 1px solid #aaa;
}

.gallery {
    float:left;
    list-style-type:none;
    margin:0;
    padding:0;
}

/* 2rvideo */
li.eSummaryThumbVid a {
    background:#1B1B1B ;
    margin-top:1px;
    float:left;
    display:block;
    overflow:hidden;
    border:1px solid #AAAAAA;
    margin:0 10px 8px 0;
}
li.eSummaryThumbVid a:hover {
    background:#ddd none repeat scroll 0 0;
}

li.eSummaryThumbVid img {
    margin: -18px 0 0 0;
    margin:5px;
    
}

img.play {
    float:left;
    margin:0px;
    padding:0px;
}
button.play {
    background:transparent url('../images/bull2.gif') repeat-x scroll 0 0;
}


/* END TEXT */

/* LISTS */
/*div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.2em 0.5em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* Paging */
.paging { padding:15px 0px 30px 0px; float:left; width:100%; text-align:center; font-size:13px;}
.paging.display{text-align:right;}
.paging a, .paging span {padding:2px 8px 2px 8px;}
.paging span {font-weight:bold; font-size:13px; }
.paging a { text-decoration:none; border:1px solid #999999;}
.paging a:hover { text-decoration:none; background-color:#6C6C6C; color:#fff; border-color:#000;}
.paging span.prn { font-size:13px; font-weight:normal; color:#aaa; }
.paging a.prn { border:2px solid #dddddd;}
.paging a.prn:hover { border-color:#000;}
.paging p#total_count{color:#aaa; font-size:12px; padding-top:8px; padding-left:18px;}
.paging p#total_display{color:#aaa; font-size:12px; padding-top:10px;}


