/* 
    Document   : display.css
    Created on : 2012-04
    Last change: 2012-09-26
    Author     : Jakub Kowalik
    Description: Podstawowy styl CSS strony
*/

/* --- struktura strony --- */
body {
  height: 100%;
  width: 100%;
  margin: 0;
  background-color: white;
  font-family: 'Verdana', 'Arial';
  color: #9FA1A0;
  font-size: 13px;
}
img {
  border: 0;
}
/* --- struktura MasterPage ------------------------------------------------- */
table.page, table.miniatures {
  width: 100%;
  border-collapse: collapse;
}
table td {
  padding: 0;
  border: 0;
  _border: 1px dotted red;
}

table.page .rowTop {
  height: 50px;
  text-align: right;
  vertical-align: top;
  _background-color: lightblue;
}
table.page .rowTop button {
  margin: 20px;
}

/* --- definicja szerokości poszczególnych kolumn --- */
table.page .columnLeft {
  width: 30%;
}
table.page .columnRight {
  width: 30%;
}

/* --- definicja komórek z zawartością --- */
table.page .columnLine {
  background: url('./images/pasek.png') bottom repeat-x;
}
table.page .columnLogo {
  text-align: right;
}
table td.columnButtonLeft {
  text-align: left;
}
table td.columnButtonRight {
  text-align: right;
}
table td.columnMiniatures {
  text-align: center;
}

/* --- style menu ----------------------------------------------------------- */
#menu {
  text-align: right;
  padding-right: 10px;
  vertical-align: top;
  background: url('./images/ms.png') top right no-repeat;
}
#menu p {
  margin: 0;
  _text-transform: uppercase;
}
#menu p.projectDescription {
  font-style: italic;
  margin-bottom: 10px;
}
#menu a {
  color: #9FA1A0;
  text-decoration: none;
}
#menu a:hover {
  color: #75b790;
}
#menu a.selected {
  color: #75b790;
  font-weight: bold;
}

/* --- style obszaru content ------------------------------------------------ */
#content {
  vertical-align: top;
  width: 775px;
  _background-color: lightskyblue;
}

/* --- style obrazka --- */
#content img.full {
  width: 775px;
}
#content img.half {
  width: 320px;
}

/* --- style obszaru tekstowego --- */
table.tableText {
  width: 775px;
  border-collapse: collapse;
}
td.columnText {
  text-align: left;
  _background-color: lightyellow;
}
td.columnText p {
  margin: 0 10px 10px 0;
}
td.columnText p a {
  color: gray;
  text-decoration: none;
}
td.columnText p a:hover {
  color: #75b790;
  text-decoration: underline;
}
td.columnImage {
  vertical-align: top;
  width: 320px;
}

/* --- style obszaru miniaturek --- */
.columnButtonLeft img, .columnButtonRight img, img.thumb {
  _display: block;
  _vertical-align: bottom;
  cursor: pointer;
}

/* --- strony administracyjne ----------------------------------------------- */
div.admin {
  _border: 1px dashed blueviolet;
  vertical-align: top;
  _sekcja_adm_jest_wezsza__width: 775px;
  width: 600px;
}

/* --- obszar komunikatu --- */
div.admin p {
  margin-top: 0;
  margin-left: 10px;
}
p.info {
  font-style: italic;
}
p.error {
  font-style: italic;
  color: red;
}
p.error a {
  font-weight: bold;
  color: red;
}
p.warning {
  font-style: italic;
  color: #F58026;
}
p.warning a {
  font-weight: bold;
  color: #F58026;
}

/* --- stona logowania --- */
table.loginForm {
  margin: 0 auto;
  border: 1px solid gray;
}
span#capsWarning {
  margin-top: 1px;
  padding-left: 20px;
  height: 18px;
  background: url('./images/icon_caps_warning.png') left bottom no-repeat;
  color: blue;
  font-size: 12px;
  display: none;
}

/* --- style list --- */
table.list {
  width: 100%;
  border: 1px solid gray;
  _margin-bottom: 10px;
}
table.list tr.borderBottom {
  _border-bottom: 1px solid gray;
}
table.list tr.borderTop {
  _border-top: 1px solid gray;
}
table.list tr.mouseOut td {
  background-color: inherit;
  color: #9FA1A0;
}
table.list tr.mouseOver td {
  background-color: #DBDBDB;
  color: black;
}
table.list td.columnHeader {
  text-align: center;
}
table.list td.columnLP {
  width: 2em;
  text-align: right;
}
table.list td.columnButtons {
  width: 30px;
  text-align: center;
}
table.list td.columnButtons a {
  color: gray;
  text-decoration: none;
}
table.list td.columnButtons a:hover {
  color: black;
  text-decoration: underline;
}
table.list td.columnBoolean {
  width: 65px;
  text-align: center;
}
td.left {
  text-align: left;
  padding-left: 3px;
}
table.list tr.rowHeader td {
  background-color: silver;
  color: black;
  padding-top: 1px;
  padding-bottom: 1px;
}
table.list td.rowButtons {
  text-align: right;
  background-color: silver;
  color: black;
  padding: 1px;
}
table.list tr.emptyMessage td {
  text-align: center;
  color: red;
  padding: 10px;
}
table.list tr.emptyMessage_mouseOut td {
  text-align: center;
  color: red;
  padding: 10px;
  background-color: inherit;
}
table.list tr.emptyMessage_mouseOver td {
  text-align: center;
  color: red;
  padding: 10px;
  background-color: pink;
}
/* --- style formularzy --- */
table.form {
  width: 100%;
  margin: 0 auto;
  border: 1px solid gray;
  margin-bottom: 10px;
}
span.help {
  font-size: 8pt;
  padding-right: 5px;
}
span.require {
  color: red;
}
td.columnKey {
  text-align: right;
  vertical-align: top;
  width: 25%;
}
table.loginForm td.columnKey {
  width: 37%;
}
td.columnValue {
  text-align: left;
  vertical-align: top;
  padding-right: 2px;
}
td.columnValue p {
  margin: 1em 0;
}
td.rowHeader {
  text-align: left;
  background-color: silver;
  color: black;
  padding: 1px;
}
td.rowButtons {
  text-align: right;
}
input {
  border: 1px solid silver;
}
input.text {
  width: 100%;
  border: 1px solid silver;
}
textarea {
  width: 99.5%;
  border: 1px solid silver;
  background-color: white;
  padding-left: 2px;
  height: 75px;
  font-family: 'Verdana', 'Arial';
  font-size: 15px;
}
button.default {}
