/*
    Document   : version2
    Created on : 2013-04-12, 15:39:18
    Author     : Jakub Kowalik <jkowalik@kowalix.waw.pl>
    Description: Style dla drugiej wersji - "dynamicznej" - strony projektu EU Geriatria
*/

root {
  display: block;
}
body {
  margin: 10px;
  background: white;
  color: black;
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 10pt;
}

/*** Style strony głównej *****************************************************/
div.content {
  margin: auto;
  max-width: 800px;
}
div.logoProjektu {
  background: top left url('projekt_logo.png') no-repeat;
  height: 150px;
  margin-bottom: 20px;
}
div.logoProjektu div.tytulProjektu {
  padding-top: 21px;
  padding-left: 179px;
  font-size: 16px;
}
div.logoUE {
  height: 200px;
  background: url('./logo-eu-v2.png') top center no-repeat;
  margin-top: 30px;
}

/* --- bannery pod tytułem --- */
div.banner {
  margin-bottom: 20px;
}
div.banner p {
  margin: 0;
}
div.banner p.title {
  font-size: 14pt;
  text-transform: uppercase;
}
div.banner p.message {
  font-size: 12pt;
  padding-left: 2em;
}
div.banner p.link {
  text-align: right;
}
div.banner div.message {}
.red {
  color: red;
}
.blue {
  color: blue;
}
.green {
  color: green;
}

/* --- elementy wyróżnione --- */
.blinkin {
  color: red;
  text-decoration: blink;
  /*display: none;*/
}
.highlight {
  color: blue;
}
.highlight a {
  color: blue;
  text-decoration: none;
}
.highlight a:hover {
  text-decoration: underline;
}

/* --- nagłówki sekcji --- */
div.header {
  font-size: 12pt;
  padding-bottom: 2px;
  padding-left: 22px;
  border-bottom: 1px solid silver;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: bold;
}
div.subheader {
  padding-left: 22px;
  cursor: pointer;
  margin-bottom: 10px;
}
div.closed {
  background: url('system-save-alt-02.png') top left no-repeat;
}
div.opened {
  background: url('system-stop.png') top left no-repeat;
}
div.empty {
  background: url('system-info-alt-02.png') top left no-repeat;
  cursor: default !important;
}

/* --- formatowanie numeru kursu --- */
span.cNumber {

}
span.cDescription {
  position: absolute;
  left: 33em;
}

/* --- pozycje sekcji --- */
div.container {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
div.container p {}
div.container p img {
  border: 0;
  vertical-align: -4px;
}
div.container p a {
  color: black;
  text-decoration: none;
}
div.container p a.important {
  color: #0099ff;
}
div.container p a:hover {
  color: blue;
}
div.container p.info {
  /*color: gray;*/
}
span.important {
  color: red;
}
div.container p.details {
  margin: 0;
  margin-bottom: 2px;
}
/*** Strukturta masterPage ****************************************************/
div.title {
  background: top left url('cmkp_logo.png') no-repeat;
  padding-left: 105px;
  height: 125px;
  margin-bottom: 10px;
  font-size: 20pt;
  font-weight: normal;
}
div.menu {
  background-color: black;
  border: 1px solid black;
  color: lime;
  padding: 10px;
}
div.menu a {
  color: yellow;
  text-decoration: none;
}
div.menu a:hover {
  text-decoration: underline;
}
div.content {
  margin: 0 auto;
}

/*** Komunikaty o błedach / ostrzeżenia ***************************************/
div.info, div.warning, div.error {
  text-align: center;
  margin: 10px;
  font-style: italic;
}
div.info {
  color: blue;
}
div.warning {
  color: orange;
}
div.error, p.error, span.error {
  color: red;
}
div.error a {
  color: black;
  text-decoration: none;
}
div.error a:hover {
  color: red;
  text-decoration: underline;
}

/*** Ekran logowania **********************************************************/
table.loginForm {
  border: 2px solid black !important;
  margin-top: 10px !important;
}
table.loginForm span#capsWarning {
  margin-top: 1px;
  padding-left: 20px;
  height: 18px;
  background: url('icon_caps_warning.png') left bottom no-repeat;
  color: orange;
  font-size: 12px;
  display: none;
}
table.loginForm input.text {
  width: 98%;
}
table.loginForm button {
  width: 90px;
}

/*** Ekran słowników **********************************************************/
table.dictList {
  max-width: 630px;
  min-width: 200px;
}
table.dictList tr.headerForm input, table.dictList tr.headerForm textarea {
  width: 87%;
}
table.dictList tr.headerForm td.columnButtons {
  vertical-align: top;
}
/*** Ekran kursów *************************************************************/
table.courseList {
  width: 600px;
}
table.courseForm {
  width: 600px;
}

/*** Wspólne dla list i formularz administracyjnych ***************************/
table.admList {
  margin: 0 auto;
}
table.admForm {
  margin: 0 auto;
  border-bottom: 1px solid gray;
}
/* --- wiersz z tytułem listy --- */
table.admList tr.header, table.admForm tr.header {
  /*font-weight: bold;*/
  background-color: silver;
}
table.admList tr.header td, table.admForm tr.header td {
  padding: 3px;
  border-bottom: 1px solid gray;
}
table.admList tr.header img, table.admForm tr.header img {
  vertical-align: bottom;
}
/* --- wiersz formularza listy --- */
table.admList tr.headerForm td {
  border-bottom: 1px solid silver;
  padding: 3px;
}
table.admList tr.headerForm button.editForm {
  width: 85px;
  text-align: left;
}
/* --- wiersze listy --- */
table.admList td {
  border-bottom: 1px solid silver;
}
table.admList tr.mouseOut {
  background-color: inherit;
}
table.admList tr.mouseOver {
  background-color: #F2F2F2;
}
/* --- wiersz z komunikatem o braku danych --- */
table.admList tr.emptyMessage {
  text-align: center;
  color: red;
}
table.admList tr.emptyMessage td {
  padding: 20px !important;
}
/* --- komórki --- */
table.admList td.left {
  text-align: left;
}
table.admList td.right {
  text-align: right;
}
table.admList td.center {
  text-align: center;
}
table.admList td.top {
  vertical-align: top;
}
table.admList td.columnButtons {
  text-align: right;
  max-width: 105px;
  min-width: 50px;
}
table.admList td.columnBoolean {
  text-align: center;
}
table.admList td.columnIcon {
  width: 20px;
  text-align: center;
}
/* --- formularze --- */
table.admForm td.columnKey {
  vertical-align: top;
  text-align: right;
  width: 200px;
}
table.admForm td.columnValue {
  vertical-align: top;
  text-align: left;
}
table.admForm td.rowButtons {
  text-align: right;
}
/* --- opisy pól formularzy --- */
table.admForm span.help {
  font-size: 8pt;
  padding-right: 5px;
}
table.admForm span.require {
  color: red;
}
input.text, input.data {
  border: 1px solid silver;
}
input.data {
  width: 6em;
  text-align: center;
}
input.center {
  text-align: center;
}
textarea.text {
  border: 1px solid silver;
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 10pt;
}
select.text {
  border: 1px solid silver;
  width: 200px;
}
