/*top right bottom left*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  background-color: #eeeeee;
  height: 100%;
}

body {
  /* Photo courtesy photos-public-domain.com */
  background-image: url(gfx/bck_body.jpg);
  background-repeat: repeat-x;
  text-align: center;
  color: black;
  height: 100%;
}

#wrapper {
  background-color: white;
  width: 1200px;
  position: relative;
  margin-top: 10px;
  /*to dodalem po wylaczeniu serwera*/
  margin: auto;
  padding: 0;
  height: 100%;
  border-radius: 0 0 5px 5px;
}

.form-search {
  float: left;
  border: 1px #00729d solid;
  height: 25px;
  margin: 10px 10px 0 10px;
}

.button {
  background-color: #00729d;
  margin-top: 10px;
  float: left;
  color: white;
  padding: 0 10px;
  border: none;
  display: inline-block;
  font-size: 0.9rem;
  border-radius: 8px;
  height: 25px;
  cursor: pointer;
}

#header a {
  color: #00729d;
  text-decoration: none;
}

#header a:hover,
#header a:active {
  color: #00729d;
}


/* START fb yt bip na górze strony */
#media {
  position: relative;
  float: right;
  margin-top: -26px;
}

#media li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 0;
}

#media li,
#media a {
  height: 44px;
  display: block;
}

#epuap {
  right: 65px;
  width: 60px;
  background: url('gfx/ikony.jpg') -165px 0;
}

#bip {
  right: 22px;
  width: 60px;
  background: url('gfx/ikony.jpg') -100px 0;
}

/* fb yt bip na górze strony KONIEC */

/* START zmiana stylu strony */
#block-styleswitcher li {
  display: inline;
  list-style: none outside none;
  list-style-type: none;
}

#block-styleswitcher li a {
  display: block;
  min-width: 90px;
  margin-top: 10px;
  margin-right: 4px;
  font-size: 0.9rem;
  float: right;
  padding: 5px;
  text-align: center;
  text-decoration: none;
}

.style-wersja-graficzna {
  display: block;
  border: 1px black solid;
  text-decoration: none;
  background-color: white;
  color: black;
}

.style-kontrast {
  display: block;
  border: 1px yellow solid;
  text-decoration: none;
  background-color: black;
  color: yellow;
}

.style-powiksz-czcionk {
  display: block;
  border: 1px black solid;
  text-decoration: none;
  background-color: white;
  color: black;
}

/* zmiana stylu strony KONIEC */

/* START Pokazywanie i ukrywanie grafiki */
.grafika {
  display: block;
}

.bezgrafiki {
  display: none;
  margin: auto;
  width: 260px;
  border: none;
}

.bezgrafiki a {
  display: block;
  width: 240px;
  padding: 20px;
  margin: auto;
  margin-bottom: 5px;
  border: blue solid 1px;
}

.bezgrafiki_top {
  display: none;
  margin-top: -30px;
}

.bezgrafiki_top a {
  display: block;
  border: 1px black solid;
  min-width: 80px;
  margin-top: 9px;
  margin-right: 4px;
  font-size: 1rem;
  float: right;
  padding: 4px;
  text-align: center;
  text-decoration: none;
  color: #00729d;
}

/* Pokazywanie i ukrywanie grafiki KONIEC */





/* Sidebar lewy */
#sidebar {
  float: left;
  width: 300px;
  height: 100%;
  border-left: white solid 2px;
}

/* Navigation */
#mainmenu {
  float: left;
  width: 100%;
  background-color: #00729d;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

#mainmenu ul li {
  display: block;
  list-style: none outside none;
  list-style-type: none;
  border-bottom: white solid 1px;
  margin-left: -15px;
  padding: 0;
  /*margin-top: -3px; */
}

#mainmenu ul li a {
  color: white;
  font-size: 1.1rem;
  min-height: 45px;
  display: block;
  padding: 10px 10px 10px 5px;
  text-align: left;
  text-decoration: none;
}

#mainmenu ul li a:hover {
  padding-left: 15px;
  background-color: #04baff;
}

#mainmenu ul li.active-trail a,
#mainmenu ul li a.active {
  background-color: #04baff;
}

/* Drugi poziom */
#mainmenu ul ul li {
  display: block;
  list-style: none outside none;
  list-style-type: none;
/*  border-top: white solid 1px;*/
  margin-left: -15px;
  padding: 0;
}

#mainmenu ul ul li a {
  background-color: #0081b2;
  color: white;
  font-size: 1rem;
  min-height: 40px;
  display: block;
  padding: 10px 10px 10px 20px;
  text-align: left;
  text-decoration: none;
}

#mainmenu ul ul li a:hover {
  padding-left: 25px;
  background-color: #04baff;
}

#mainmenu ul ul li.active-trail a,
#mainmenu ul ul li a.active {
  background-color: #04baff;
}

#mainmenu ul ul ul li {
  display: block;
  list-style: none outside none;
  list-style-type: none;
  border-left: white solid 5px;
}

#mainmenu ul ul ul li a {
  background-color: #0d93c6;
  color: white;
  min-height: 35px;
  display: block;
  padding: 10px 5px 10px 40px;
  text-align: left;
  text-decoration: none;
}

#mainmenu ul ul ul li a:hover {
  padding: 10px 5px 10px 45px;
  background-color: #04baff;
}

#mainmenu ul ul ul li.active-trail a,
#mainmenu ul ul ul li a.active {
  background-color: #00aaea;
}


/* Sidebar lewy */
#sidebar_first {
  float: left;
  width: 100%;
}

/* START Elementy */
ul,
ol {
  margin-top: 5px;
  margin-left: 25px;
}

a {
  color: #00729d;
  text-decoration: none;
  font-size: 1rem;
}

p {
  font-size: 1rem;
  margin: 10px 0 5px 0;
}

ul li,
ol li {
  margin-top: 2px;
  font-size: 1rem;
}

/*
hr {
  background-color: red;
  height: 2px;
  width: 80%;
  margin: auto;
}
*/
.page-title {
  text-align: left;
  color: black;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 2.2rem;
  font-weight: 400;
  padding: 0;

}

.site-name a {
  color: #00729d;
  font-size: 3rem;
  font-weight: 400;
}

h2 {
  text-align: left;
  color: #00729d;
  margin-top: 15px;
  font-size: 1.4rem;
  font-weight: 400;
}

h2 a {
  color: #00729d;
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: none;
}

h3 {
  text-align: left;
  color: #00729d;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1.3rem;
  font-weight: 700;
}

h4 {
  text-align: left;
  color: black;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.field--name-title {
  margin-top: 100px;
}

/* Dodane przez ...*/
.node__submitted,
.views-field-created {
  text-align: right;
  color: grey;
  border-top: solid 1px grey;
  font-size: 0.9rem;
  margin-bottom: 7px;
  margin-top: 20px;
  padding-top: 8px;
}


.node__links {
  text-align: right;
  margin-top: 10px;
  font-size: 1rem;
}

.field__label {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 5px;
}

/*obrazek w galerii*/
.field--name-field-galeria {
  margin-top: 10px;
}

/*obraek przy artykule*/
.field--name-field-image {
  float: left;
  margin: 0px 10px 2px 0;
}

.field--name-field-galeria img {
  border: 1px solid #bbbbbb;
  padding: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.node--type-galeria {
  clear: both;
  padding: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.node--type-galeria h2 a,
.node--type-film h2 a {
  text-align: left;
  color: #00729d;
  font-size: 1.2rem;
  font-weight: 400;
}

.field--name-field-zalacznik {
  margin-bottom: 20px;
}

img.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
}

img {
  float: left;
  padding-bottom: 10px;
}

img.galeria {
  float: left;
  padding-right: 15px;
  padding-bottom: 5px;
}

th, td {
  border: 2px solid #888;
  padding: 5px;
}

/* Elementy KONIEC */


/*h1 {
  text-align: left;
  color: #00729d;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 400;
}

h2 {
  text-align: left;
  font-weight: 700;
  margin: 5px 0;
  font-size: 1.5rem;
}

h3 {
  text-align: center;
  font-weight: 700;
  margin: 5px 0;
  letter-spacing: 3px;
  font-size: 1.2rem;
}*/

#content {
  float: right;
  background-color: blue;
  text-align: justify;
  width: 900px;
  padding: 20px 25px 20px 35px;
  background-color: white;
  height: 100%;
}

#content img {
  margin-right: 15px;
  margin-bottom: 5px;
  float: left;
}

#content hr {
  background-color: #00729d;
  margin: 20px auto;
  padding: 0;
  border: none;
  width: 70%;
  height: 2px;
  display: block;
  clear: both;
}

#content img.galeria {
  margin-bottom: 25px;

}

/*
a:link,
a:visited {
  color: #b95f00;
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: underline;
}

.data {
  text-align: right;
  line-height: 2.2;
}

#footer {
  color: white;
  text-align: center;
  font-size: 1rem;
  width: 100%;
  height: 80px;
  line-height: 80px;
  background-color: #00729d;
}
*/
#footer a {
  color: #ffffff;
  text-decoration: none;
}

#footer a:hover,
#footer a:active {
  color: white;
}
