body, h1, h2, h3, h4, p, ul, li, form, fieldset, tr, td {
   margin: 0;
   padding: 0;
   color: #000;
}
body {
   font-size: 12px;
   font-family: arial, verdana, sans-serif;
   position: relative;
   background-color: #ffffff;
   text-align: center;
   background-image: url(../images/tlo.jpg);
   background-attachment:fixed;
}

dl {
    margin: 0 0 0.5em;
}
p {
    margin-bottom: 0.5em;
}
a {
    color: #ff0096;
    text-decoration: none;
}
a:hover {
    color: #ff0096;
    text-decoration: underline;
}
a:focus {
    outline: none;
}
img {
   border: none;
}
hr {
    border-top: 1px dotted #999;
    border-bottom: 0px;
    height: 1px;
}

/*
======================Global layaout==========================*/
#outer-wrapper {
   width: 1000px;
   clear: both;
   margin: 0 auto;
   text-align: left;
   position: relative;
   background: url('http://www.templarnetwork.org/www/themes/default/images/chlopek.gif') no-repeat;
}

.inner-container {
    clear: both;
    
}
#footer {
    clear: both;
}

#top {
   height: 124px;
   text-align: center;
   width: 100%;
   display: block;
   background: url('http://www.templarnetwork.org/www/themes/default/images/pas.gif');
   background-position: right 61px;
   background-repeat: no-repeat;
}
.top-inner {
   width: 1000px;
   position: relative;
   margin: 0 auto; 
}
.top-right {
   
   /*width: 245px; */

float: right;
   height: 124px;
}
#top img {
   display: block;
}
/*
======================2 Cols Fluid============================*/
#middleCol {
   float: left;
   background: #fff;
   background-position: 5px 5px;
   background-repeat: no-repeat;
   background-image: url('http://www.templarnetwork.org/www/themes/default/images/arrow.gif');
   height: 586px; /* Sets min height for IE */
   margin: 20px 0 0 0;
}
html > body #middleCol {
    /* Sets min height for gecko */
    height: auto;
    min-height: 586px;
}
#middleCol .inner {
   padding: 0 10px 10px 10px;
}
#layout-3Cols #middleCol {
    width: 405px;
}
#layout-leftCol #middleCol {
    width: 650px;
}
#layout-rightCol #middleCol {
    width: 755px;
   margin: 20px 0 0 0;
}
#layout-noCols #middleCol {
    width: 1000px;
}
#leftCol {
   float: left;
   width: 350px;
}
#leftCol .inner {
   height: 502px;
   position: relative;
}
#rightCol {
   float: right;
   margin: 20px 0 0 0;
}
#rightCol .inner {
   width: 235px;
   padding: 0px;
}


/*
======================Inner Wrapper===========================*/
#inner-wrapper {
    background: none;
}
#inner-wrapper .inner-container {

}

/*
======================Main Content============================*/

h1, h2, h3 {
   font-family: trebuchet MS, arial, verdana, sans-serif;
}
h1 {
   font-size: 2em;
   margin: 5px 0 10px 30px;
   text-transform: uppercase;
}
h2 {
   margin-top: 0.5em;
   font-size: 1.4em;
   color: #54bf0d;
}
h3 {
   font-size: 1.2em;
   color: #009cff;
}
ul {
    margin: 0.5em 0 0.5em 1em;
    padding-left: 0.5em;
    list-style-position: inside;
    list-style-image: url('http://www.templarnetwork.org/www/themes/default/images/bullet.gif');
}
#middleCol li {
    padding-left: 0.5em;
}

/*
===============Generic columns presentation===================*/
.two-cols {
    height: 100%;
    overflow: hidden;
}
.two-cols .col {
    float : left;
   width : 49%;
   margin-left : 1%;
}
.two-cols .first {
   width : 50%;
   margin-left : 0;
}

/*
==================Default Forms Styling=======================*/

fieldset {
    padding: 10px 0;
    border: none;
}
fieldset h3 {
    font-size: 1em;
    color: #666666;
}
#content form ul {
    position: relative;
    margin: 0;
    padding: 0;
    width: 99%;
    list-style-position: outside;
    list-style-image: none;
}

#content form li {
    display: block;
    margin: 0;
    padding: 1px 4px 6px 9px;
    line-height: 1.8em;
    list-style-type: none;
}
form li.focused {
    background: #EEF7D4;
}

form li div {
    float: left;
    display: inline;
    margin-right: 5px;
    color: #666666;
}
form li:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
form li p {
    clear: both;
    font-size: 9px;
    line-height: 13px;
}


/*
===================Form Elements Styling======================*/
input, select, textarea {
    font-size: 1.2em;
}
textarea {
    font-family: arial, verdana, sans-serif;
}

#newsletter .mail, #content input.text, #content select.select, #content textarea.textarea {
    border-width: 1px;
    border-style: solid;
    border-color: #333333;
    height: 1.3em;
    padding: 1px 0;
}

form label {
    font-weight: bold;
    color: #666666;
}

/* SIZES */
input.small, select.small {
   width:25%;
}
input.medium, select.medium {
   width:50%;
}
input.large, select.large, textarea.textarea {
   width:99%;
}
input.tags {
   width:315px;
}
textarea.small {
   height:5.5em;
}
textarea.medium {
   height:10em;
}
textarea.large {
   height:20em;
}

/* BUTTONS */
.button {
    font-size: 1.2em;
    margin-right: 5px;
}

/*
====================Form Fields Layout========================*/
/* --
Definition lists are used to display fields labels and values
-----*/
dl.onSide dt {
    float: left;
    width: 120px;
    padding-right: 20px;
    text-align: right;
}
dl.onSide dd{
    margin-left: 140px;
    margin-bottom: 0.5em;
}
dl.onTop dd {
    margin: 0;
}
dd .error {
    display: block;
}

/*
======================No forms layout=========================*/
div.fieldsetlike { /*
--------------------- as some pages don't use forms/fieldsets
- e.g. user/profile, we have to put data in a fieldset like
- div to have same render ------------------------------------*/
    padding: 10px 0;
}
div.fieldsetlike h3 {
    font-size: 1em;
    color: #666666;
}

/*
==================Default Tables Styling======================*/


table {
    margin: 0 0 1em;
    border-collapse: collapse;
    font-size: 1em;
}
table .nowrap {
    white-space: nowrap;
}
.sglTable td, .sglTable th {
  border-width : 0 0 1px 0;
   border-style : solid;
   border-color : #BBBBBB;
   padding : 2px 5px;
   vertical-align : top;
}
.sglTable th {
    text-align: left;
    border-bottom-color: #666666;
}
th a {
    display: block;
    color: #666 !important;
}
tr.expand td {
    border-bottom: none;
}
td.expand {
    padding: 1em 5px;
}
th.sortedAsc a {
    background: url('http://www.templarnetwork.org/www/themes/default/images/th-sortAsc.gif') 95% 50% no-repeat;
    color: #66A326 !important;
}
th.sortedDesc a {
    background: url('http://www.templarnetwork.org/www/themes/default/images/th-sortDesc.gif') 95% 50% no-repeat;
    color: #66A326 !important;
}
th a:hover {
    text-decoration: none;
    color: #66A326 !important;
}
tr.alternateRow td, tr.backDark {
    background-color: #FBFFEF; /*F0FFD9*/
}
tr.selectedRow td {
    background: #F6F5F2; /*D0DCE0*/
}


/*
=========================Footer===============================*/

#footer p {
    margin-bottom: 0.1em;
    color: #666666;
    font-size: 0.8em;
    text-align: center;
}

/*
======================Messages & Errors=======================*/
.message {
    text-align: center;
}
.message div {
    width: 60%;
    margin: 1em auto;
    padding: 0.5em;
    -moz-border-radius: 0.3em;
}
.errorMessage {
    border: 2px solid #FF3300;
    color: #FF3300;
}
.infoMessage {
    border: 2px solid #66A326;
    color: #99CC00;
}
.error, .required {
    color: #FF3300;
}

/* PEAR Errors
  --------------------*/
div.errorContainer {
    width: 80%;
    margin: 1em auto;
    padding: 0.5em;
    border: 2px solid #FF3300;
    -moz-border-radius: 0.3em;
    font-family: arial;
}
div.errorHeader {
    margin-bottom: 0.5em;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #FF3300;
}
div.errorContent {
    text-align: left;
}

/*
========================Miscellaneous=========================*/
#lang-flag {
   position: absolute;
   height: 30px;
   margin-top: 72px;
   right: 0px;
   width: 250px;
}
#lang-flag img {
   display: inline;
}
a.langFlag {
    margin: 0 5px;
}
#lang-switcher {
    float: right;
}


.floatLeft {
    float: left;
}
.floatRight {
    float: right;
}
.clear {
    clear: both;
}
.spacer {
    clear: both;
    display: block;
    visibility: hidden;
    line-height: 1px;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.hide {
    display: none;
}
.narrow {
    width: 45%;
}
.full {
    width: 100%;
}
.button {

}
.noBg {
    background: none;
}
pre.codeExample {
    padding: 1em;
    background-color: #EEEEEE;
    border: 1px solid #666666;
    border-left: 5px solid #666666;
    font-size: 1em;
}

/*
========================Comments=========================*/

#addComment fieldset {
    padding: 10px;
    border: 1px solid grey;
}
#addComment input[type="text"] {
    width: 200px;
}

/*
========================Miscellaneous2=========================*/

.tipOwner {
    position: relative;
    cursor: help;
    }
.tipOwner .tipText {
    display: none;
    position: absolute;
    top: 0;
    left: 105%;
    border: 1px solid transparent;
    border-color: #ffffff #333333 #333333 #ffffff;
    background-color: #FFE5F8;
    color: #184a84;
    text-align: center;
    width: 15em;
    padding: 2px 5px;
        -moz-opacity: 0.85;
    }
.tipOwner:hover .tipText {
    display: block;
}


#debug {
   color: #333333;
   position: absolute;
   z-index: 999;
   top: 0px;
   right: 0px;
   border: 1px black solid;
   margin: 10px;
   padding: 5px 20px;
   width: 120px;
   height: 300px;
   background-color: grey;
   opacity:0.9;
   text-align: left;
   overflow: auto;
}
#debug a, #debug a:visited {
    color: #CCCCCC;
}

/* =========== calendar =========== */
.listDay {
   display: block;
   padding-bottom: 10px;
   border-bottom: solid 1px #eaeaea;
}
.listDate {
   font-size: 30px;
   font-family: trebuchet MS, arial, verdana, sans-serif;
   font-weight: bold;
   display: block;
   padding: 0 8px 0 8px;
   float: left;
}
.chosenDay {
   display: block;
   padding-bottom: 5px;
   margin-bottom: 10px;
   border-bottom: solid 2px #888888;
   background-color: #efefef;
   #height: 15px;
}
.explain {
   font-size: 10px;
   padding-bottom: 20px;
   text-align: center;
}/*
====================Default Block Styling=====================*/
.block {
   margin-bottom: 1.5em;
}
.block .header, #newsletter h2 {
   padding-bottom: 0.4em;
   color: #000;
   font-weight: bold;
   text-transform: uppercase;
   font-family: trebuchet MS, arial, verdana, sans-serif;
   margin: 0;
}
.block .header h2 {
   font-size: 1.3em;
}
.block .content {
   font-size: 0.8em;
}


/*
====================Navigation Block======================*/
.menuposition {
   position: absolute;
   bottom: 0px;
   padding: 0 0 0 30px;
   display: block; 
}
.podnosnik {
   height: 50px;
   width: 80px;
   margin: -3px 0 0 30px;
   background: #fff600;
   clear: both;
   display: block;
}
#top-nav {
   margin: 0;
   padding: 0;
   display: block;
}

#top-nav ul, #top-nav ul ul {
   list-style: none;
   font-family: trebuchet MS, arial, verdana, sans-serif;
   font-size: 14px;
   width: 110px;
   padding: 0;
   margin: 0;
}
#top-nav ul ul {
   font-size: 12px;
}
#top-nav li {
   float: left;
   list-style: none;
   position: relative;
   display: block;
   width: 110px;
}
#top-nav li a {
   display: block;
   color: #000;
   padding: 3px 0 3px 5px;
   font-weight: bold;
   background: #fff600;
   margin: 0 0 0 30px;
   text-decoration: none;
}
#top-nav li.current a,
#top-nav li.current a:hover {
   text-decoration: none;
   color: #fff;
   background: #ff0096;
   padding: 3px 0 3px 35px;
   margin: 0;
}
#top-nav li a:hover {
   color: #ff0096;
}
#top-nav li ul{
   position: absolute;
   width: 100px;
   left: 0;
   top: 0;
   display: none;
   filter:alpha(opacity=100);
   -moz-opacity:1;
   margin: 0px;
   z-index: 999;
}
#top-nav li li{ /*SUB MENU STYLE*/
   width: 120px;
}
#top-nav li li a:hover,
#top-nav li li.current a,
#top-nav li.current li a,
#top-nav li li a,
#top-nav li.current li a:hover {
   color: #000;
   display: block;
   padding: 2px 0 2px 15px;
   font-weight: bold;
   background: #dfd700;
   margin-left: 0px;
   background-position: 2px 6px;
   background-repeat: no-repeat;
   background-image: url('http://www.templarnetwork.org/www/themes/default/images/m_arrow.gif');
}

#top-nav li li a:hover,
#top-nav li.current li a:hover {
   color: #ff0096;
}

/*
================== Left Block =================== */
.block-l {
   background: #fff600;
   width: 350px;
   position: relative;
   z-index: 1;
}
.block-l .news {
   float: right;
   height: 103px;
   padding-right: 5px;
   width: 186px;
   margin: 0;
}

#newsletter h2 {
    padding-bottom: 0;
    font-size: 2em;
}
#newsletter img {
   float: left;
   padding: 15px 5px 0 0;
}
#newsletter .wideButton {
   background: #000;
   border: none;
   color: #fff;
   font-size: 10px;
   font-weight: bold;
   height: 16px;
   padding: 1px 8px;
   margin: 3px;
}

/*
======================Post-it==================== */
#post-it {
   position: relative;
}
#post-it .inner {
   display: block; 
   width: 218px;
   background-image: url('http://www.templarnetwork.org/www/themes/default/images/postit_m.gif');
   background-repeat: repeat-y;
   padding: 0 10px 5px 5px;
}
.czarny {
   color: #fff;
   background-color: #000;
   padding: 2px 4px;
   font-size: 12px;
}
.strzalki {
   font-size: 12px;
   background-image: url('http://www.templarnetwork.org/www/themes/default/images/arrowS.gif');
   background-repeat: no-repeat;
   background-position: 1px 4px;
   padding-left: 14px;
}

/*
============ Calendar ==================== */
.month, .year {
   font-family: trebuchet MS, arial, verdana, sans-serif;
   font-size: 14px;
   font-weight: bold;
   position: absolute;
}
.month {
   top: 35px;
   left: 10px;
}
.year {
   top: 35px;
   right: 20px;
}
.cal_day {
   font-size: 30px;
   font-family: trebuchet MS, arial, verdana, sans-serif;
   font-weight: bold;
   display: block;
   padding: 0 8px 0 8px;
   float: left;
}
.cal_txt {
   padding-top: 5px;
}
.cal-bg {
   background-image: url(http://www.templarnetwork.org/www/themes/default/images/cal_top.gif);
   background-repeat: no-repeat;
   height: 55px;
}
.cal-ins {
   background-image: url(http://www.templarnetwork.org/www/themes/default/images/cal_bg.gif);
   background-repeat: repeat-y;
   width: 206px;
   padding: 0 8px;
}
.cal-ins a {
   color: #000;
   font-family: trebuchet MS, arial, verdana, sans-serif;
   float: right;
   padding: 0 5px;
}#nav {
    height: 50px;
    font-size: 0.75em;
}
#nav ul {
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #99CC00;
}
#nav ul li {
    float: left;
    display: inline;
    margin: 0;
}
#nav ul li a {
    display: block;
    position: relative;
    padding: 0.2em 1.5em;
    background-color: #0099CC;
    font-size: 1.3em;
    font-weight: bold;
    color: #EEF7D4;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-right: 1px solid #99CC00;
}
#nav ul li a:hover {
    color: #2666A3;
    text-decoration: underline;
}
#nav ul li.current a {
    color: #2666A3;
    background-color: #E5F8FF;
}
#nav ul li.current a:visited {
    color: #2666A3;
}
/* hide the sublevels */
#nav ul ul {
    display: none;
}
#nav ul li.current ul {
    position: absolute;
    left: 0;
    display: block;
    /* use max-width emulation hack from
     * http://www.svendtofte.com/code/max_width_in_ie/, using the IE5.0+ dynamic
     * properties syntax, see
     * http://msdn.microsoft.com/workshop/author/dhtml/overview/recalc.asp */
        padding: 0;
    background-color: #E5F8FF;
}
#nav ul li.current li {
    padding: 0.4em 0;
}
#nav ul li.current li a {
    /* hide first pipe */
    left: -1px;
    padding: 0 1em;
    font-weight: normal;
    font-size: 1.1em;
    color: #2666A3;
    border-right: none;
    border-left: 1px solid #2666A3;
}
/* hide 3rd or more levels */
#nav ul ul ul li {
    display: none;
}
#options {
    float: right;
    width: 180px;
    background: #EEF7D4;
    border: 1px solid #666666;
}