* { 
  margin: 0;
  padding: 0;
  border: none; 
}

body {
  background-color: #232323;
  width: 820px;
  margin: auto;
  font-family: Arial, Serif;
}

#top {
  background-image: url('img/top.png');
  width: 820px;
  height: 158px;
  margin-top: 30px;
}

#top h1 {
  float: left;
  padding: 46px 0 0 190px;
}

#top h2 {
  background: #ebebeb url('img/punktor.png') no-repeat;
  border: 1px #d4d4d4 solid;
  float: right;
  color: #343434;
  font-size: 14px;
  font-weight: normal;
  font-style: italic;
  height: 20px;
  padding: 5px 10px 0 30px;
  margin: 30px 10px 0 0;
}

#wyszukiwarka { 
  float: right;
  margin: 20px 35px 0 0;  
}

legend {
  display: none;
}

#input_text {
  background-color: #fafafa;
  border: 1px #c4c4c4 solid;
  border-right: none;
  width: 215px;
  height: 20px;
  float: left;
  font-size: 12px;
  color: black;
  padding: 2px 0 0 5px;
}

#input_submit {
  background: url('img/submit_szukaj.png') no-repeat;
  width: 25px;
  height: 24px;
  float: left;
  cursor: pointer;
  text-indent: 25px;
  overflow: hidden;
  padding-top: 25px;
}

#menu {
  background: url('img/bg_menu.png') repeat-x;
  list-style: none;
  width: 770px;
  height: 22px;
  margin: -7px 0 0 10px;
  float: left;
  padding: 8px 30px 0 0;
  overflow: hidden;
}

#menu li {
  background: url('img/separator.png') center right repeat-y;
  float: right;
  font-size: 12px;
  color: #343434;
  margin-left: -2px;
}

#menu li:first-child {
  background: none;
}

#menu li a {
  color: #343434;
  text-decoration: none;
  margin: -8px 0 0 0;
  padding: 8px 13px 6px 13px;
}

#menu li a:hover {
  color: black;
  background-image: url('img/bg_hover.png');
  text-decoration: underline;
}

#prawa_kolumna {
  background: url('img/bg_top_prawa_kolumna.png') center top no-repeat;
  width: 549px;
  padding-top: 24px;
  margin-top: 20px;
  float: right;
}

#bg_bottom_prawa_kolumna {
  background: url('img/bg_bottom_prawa_kolumna.png') center bottom no-repeat;
  width: 549px;
  padding-bottom: 24px;
  float: right;
}

#tresc {
  background-image: url('img/bg_prawa_kolumna.png');
  background-repeat: repeat-y;
  width: 549px; 
}

#tresc h2 {
  background: url('img/hr_h2.png') center bottom no-repeat;
  width: 90%;
  font-size: 15px;
  color: #343434;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
  padding: 18px 0 3px 0;
  margin: auto;
}

#tresc h3 {
  background: url('img/hr_red.png') center bottom no-repeat;
  width: 100%;
  font-size: 12px;
  color: #747474;
  font-weight: normal;
  text-align: center;
  padding: 2px 0 30px 0;
}

#tresc h3 span {
  text-transform: uppercase;
}

#tresc h3 strong {
  #cb2d2d;
}

#tresc h3 strong img {
  margin-bottom: -8px;
}


#lekcja {
  padding: 25px 30px 10px 30px;
}

#lekcja h4,
.prawo li a {
  font-size: 15px;
  color: black;
  font-weight: normal;
  text-decoration: none;
}

.prawo  li a:hover {
  color: #cb2d2d;
}

.prawo li {
  margin: 10px 0 0 30px;
}

#lekcja h4 span {
  color: #cb2d2d;
  font-weight: bold; 
}

#lekcja h4 span img {
  margin-bottom: -7px; 
}

.opis_zagadnienia {
  font-size: 12px;
  color: #343434;
  text-indent: 40px;
  padding-top: 30px;
  text-align: justify;
  line-height: 175%;
  padding-bottom: 55px;
}

#opis_prawa {
  font-size: 12px;
  color: #343434;
  text-indent: 40px;
  margin: 10px 40px 10px 40px;
  text-align: justify;
  line-height: 175%;
  border: 1px black dashed;
  padding: 10px 10px 10px 10px;
  font-weight: bold;
  font-style: italic;
  list-style: none;
}

.uwaga {
  font-size: 12px;
  color: #343434;
  text-indent: 40px;
  text-align: justify;
  line-height: 175%;
  padding-bottom: 25px;
}

#definicja_i_wzor {
  background-color: #f6f6ea;
  border: 3px #ffb854 solid;
  border-left: 0;
  border-right: 0;
  padding: 10px 20px 10px 20px;
  margin: 15px 0 40px -20px;
  width: 100%;
  text-align: center;
  color: #343434;
  font-size: 12px;
}

#definicja_i_wzor img {
  margin: 10px 0 10px 0;
}

#opis_zadania {
  font-size: 12px;
  padding-top: 25px;
  text-align: center;
  font-style: italic;
}

#dane_zadania {
  width: 100%;
  margin: 20px 0 0 20px;
}

#dane_zadania tr td,
#dane_zadania tr th {
  color: #343434;
  font-size: 12px;
  width: 33%;
  font-style: italic;  
}

#dane_zadania tr th {
  font-weight: bold;
  text-align: left;
}

.td {
  padding-left: 20px;
}

#tr1 {
  line-height: 200%;
}

#dane_zadania tr td strong {
  color: #cb2d2d;
  font-weight: bold;
}

#zadanie {
  margin: 20px 0 0 20px;
  font-weight: bold;
  font-size: 12px;
  color: #343434;
  font-style: italic;
}

#zadanie tr td,
#zadanie tr th {
  padding: 0 10px 10px 0;
}

.rozwiazanie {
  color: #cb2d2d;
}

#rozwiazanie {
  float: left;
  margin-top: -36px;
}

#odpowiedz {
  font-weight: normal;
}

#pokaz_rozwiazanie {
  color: #474747;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  display: block; 
  cursor: pointer;
}

#pokaz_rozwiazanie:hover {
  color: #cb2d2d;
}

#lewa_kolumna {
  background: url('img/bg_top_lewa_kolumna.png') center top no-repeat;
  width: 244px;
  padding-top: 24px;
  margin: 20px 25px 0 0;
  float: right;
}

#bg_bottom_lewa_kolumna {
  background: url('img/bg_bottom_lewa_kolumna.png') center bottom no-repeat;
  width: 244px;
  padding-bottom: 25px;
  float: right;
}

#przeliczniki {
  background-image: url('img/bg_lewa_kolumna.png');
  background-repeat: repeat-y;
  width: 244px; 
}

#przeliczniki h3 {
  background: url('img/hr_h3.png') center bottom no-repeat;
  color: black;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  padding-bottom: 5px;
  width: 100%;
}

#przeliczniki form {
  width: 224px;
  margin: 10px 0 0 15px;
}

#przeliczniki form fieldset input[type=text] {
  background-color: #fafafa;
  border: 1px #c4c4c4 solid;
  width: 130px;
  height: 20px;
  float: left;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
} 

#przeliczniki form fieldset select {
  background-color: #fafafa;
  border: 1px #c4c4c4 solid;
  width: 72px;
  height: 22px;
  float: left;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 5px;
}

#przeliczniki form fieldset p {
  width: 100%;
  text-align: center;
  margin: 10px 0 10px 0;
  float: left;
  text-transform: uppercase;
  font-size: 10px;
}

.przelicz {
  background: url('img/button.png') no-repeat;
  width: 129px;
  height: 28px;
  font-size: 14px;
  color: white;
  cursor: pointer;
  margin: 15px 0 30px 45px;
  text-shadow: 1px 1px 1px #121112;
  padding-top: 1px;
}

.przelicz2 {
  background: url('img/button_cz.png') no-repeat;
  width: 129px;
  height: 28px;
  font-size: 14px;
  color: white;
  cursor: pointer;
  margin: 15px 0 30px 45px;
  text-shadow: 1px 1px 1px #121112;
  padding-top: 1px;
}

#stopka {
  background: url('img/bg_footer.png') no-repeat;
  width: 820px;
  height: 102px;
  margin-top: 20px;
  float: left;
  clear: both;
}

#konkurs_fw {
  margin: 22px 0 0 32px;
  float: left;
}

#stopka p {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  margin-top: 45px;
  font-size: 11px;
}

#stopka p a{
  color: #cb2d2d;
}

#zrodlo {
  float: right;
  width: 100%;
  text-align: right;
  display: block;
  margin-top: 20px;
}

#wzory {
  width: 100%;
  font-size: 12px;
  text-align: center;
  border-collapse: collapse;
}

#wzory tr td,
#wzory tr th {
  padding: 20px 10px 20px 10px; 
}

.calc {
  margin-top: 20px;
}

.calc fieldset label {
  font-size: 12px;
  color: #343434;
  font-weight: bold;
  width: 100%;
  float: right;
  text-align: right;
  margin: 10px 25px 0 0;
}

.masa {
  background: #fafafa url('img/kg.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 20px;
}

.wysokosc,
.przesuniecie,
.w {
  background: #fafafa url('img/m.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 20px;
}

.praca {
  background: #fafafa url('img/j.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 10px;
}

.czas {
  background: #fafafa url('img/s.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 10px;
}

.sila {
  background: #fafafa url('img/n.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 20px;
}

.v {
  background: #fafafa url('img/m_na_s.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 20px;
}

.predkosc {
  background: #fafafa url('img/m_na_s.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 10px;
}

.ws {
  background: #fafafa url('img/niuton_na_metr.png') center right no-repeat;
  border: 1px #c4c4c4 solid;
  width: 350px;
  height: 20px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 10px; 
}

.calc_select {
  background-color: #fafafa;
  border: 1px #c4c4c4 solid;
  width: 357px;
  height: 22px;
  font-size: 12px;
  color: black;
  padding: 0 0 0 5px;
  margin-left: 20px;
}

.pokaz_wynik {
  background: url('img/button.png') no-repeat;
  width: 129px;
  height: 28px;
  font-size: 14px;
  color: white;
  cursor: pointer;
  margin: 15px 180px 30px 0;
  float: right;
  text-shadow: 1px 1px 1px #121112;
  padding-top: 1px;
}

#kalkulatory {
  margin: 30px 0 0 30px;
  font-size: 12px;
  padding-bottom: 392px;
}

#kalkulatory li {
  margin-bottom: 15px;
}

#kalkulatory li a {
  text-decoration: none;
  color: #343434;
}

#kalkulatory li a:hover {
  text-decoration: none;
  color: #cb2d2d;;
}

.error {
  font-size: 12px;
  color: red;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

#spis_tresci,
.spis_tresci {
  margin: 20px 0 0 50px;
  color: #343434;
  padding-bottom: 20px;
}

#spis_tresci ul,
.spis_tresc ul {
  padding: 10px 0 15px 20px;
}

.spis_tresci {
  margin-bottom: 20px;
}

#spis_tresci li,
.spis_tresci li {
  padding: 5px 0 5px 0;
  font-size: 15px;
}

#spis_tresci ul li a,
.spis_tresci ul li a {
  color: #474747;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-style: italic;
}

.spis_tresci li:first-letter {
  text-transform: uppercase;
} 

#spis_tresci li a,
.spis_tresci li a {
  color: #474747;
  text-decoration: none;
  font-size: 13px;
}

#spis_tresci ul li a:hover,
#spis_tresci li a:hover,
.spis_tresci ul li a:hover,
.spis_tresci li a:hover {
  color: #cb2d2d;
}

#stronnicowanie {
  background: url('img/hr_red.png') center top no-repeat;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 30px 0 20px 0;  
}

#stronnicowanie a {
  background-color: #f6f6ea;
  border: 1px #ffb854 solid;
  padding: 5px 7px 5px 7px;
  color: black; 
  text-decoration: none;
  font-size: 12px;
  margin-right: 5px;
}

.zadania,
.zadania2 {
  width: 100%;
  padding: 20px 40px 20px 40px;
  display: block;
  background-color: #FBFBF7;
  border: 1px #ffb854 solid;
  margin: 20px 0 20px -25px;
  text-align: center; 
}

.zadania2 {
  background-color: #F5F5F5;
  border: 1px #9E9E9E solid;
}

#stopka a img {
  float: left;
  margin: 20px 0 0 20px;
}
