body {
  margin: 0;
  padding: 0;
  font-family: "Lato";
  font-size: 14px;
  min-height: 100%;
}

/*
 * Style wspólne.
 */
a {
  transition: all 0.5s;
  text-decoration: none;
}

.hidden {
  display: block;
  width: 1px;
  height: 1px;
  font-size: 1px;
  text-indent: -999px;
  overflow: hidden;
  margin: -1px 0 0 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.clearfix:after {
  display: block;
  content: "";
  margin: 0;
  padding: 0;
  float: none;
  clear: both;
}

b {
  font-family: "Lato";
  font-weight: 900;
}

/*
 * Layout
 */

.container {
  display: block;
  margin: 0 auto;
  width: 98%;
  max-width: 1200px;
  position: relative;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: #fff;
  -webkit-box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
  -moz-box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
  box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
}

#slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #333;
}

.slide,
.slide_clone{
  display: block;
  position: absolute;
  width: 106%;
  height: 106%;
  top: -3%;
  left: -3%;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#page {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
  z-index: 11;
  -webkit-box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
  -moz-box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
  box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
}

#content {
  font-size: 140%;
  position: relative;
  padding: 2px 0;
  background-color: #f8f8f8;
}

footer {
  display: block;
  width: 100%;
  background-color: #262626;
  color: #fff;
  text-align: center;
  position: relative;
  -webkit-box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
  -moz-box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
  box-shadow: 0px 1px 10px 0px rgba(51,51,51,1);
}

/*
 * Style header
 */

h1 {
  display: block;
  float: left;
  width: auto;
  margin: 0;
  padding: 10px 0;
}

h1 img {
  max-height: 50px;
}

h1 a {
  margin: 0 5px 0;
}

.header_links {
  display: block;
  list-style: none;
  text-align: right;
  margin: 20px 0;
  padding: 0;
  float: right;
}

.centrum_komputerowe {
  display: inline-block;
  margin: 0 5px 0 0 ;
  padding: 0 10px 0 0;
  border-right: 1px solid #ccc;

}

a.logo_ck {
  display: inline-block;
  width: 102px;
  height: 30px;
  overflow: hidden;
  background: url(../img/logo_ck_grey.png) center no-repeat;
  opacity: 0.8;
}

a.logo_ck img {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
}

a.logo_ck:hover {
  background: none;
}

a.logo_ck:hover img {
  opacity: 1;
}

.social_media {
  display: inline-block;
  list-style: none;
  text-align: right;
  width: auto;
  margin: 0;
  padding: 0;
}

.social_media li {
  display: inline-block;
  margin: 0 0 0 5px;
}

.social_media li a {
  opacity: 0.8;
}

.social_media li a:hover {
  opacity: 1;
}


/*
 * Slajdy.
 */
#slide1 {
  background-image: url("../img/slides/slide1.jpg");
}

/*
 * Style content.
 */
#content a {
  color: #262626;
}

#content a:hover {
  color: #990000;
}

#uslugi_button {
  display: block;
  width: 100%;
  margin: 0 0 -1px 0;
  padding: 0;
  text-align: center;
  position: absolute;
  bottom: 100%;
  left: 0;
  font-size: 100%;
  text-transform: lowercase;
  font-weight: 900;
  text-align: center;
}

#uslugi_button span {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding: 20px 20px 20px 40px;
  margin: 0;
  background-color: #fff;
  border-radius: 5px 5px 0 0;
}

#uslugi_button span:after {
  content:"\00bb";
  font-size: 40px;
  position:  absolute;
  top: 8px;
  left: 16px;
  display: block;
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
  transform: rotate(90deg);
  color: #8B0304;
}

#uslugi {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0px auto;
  list-style: none;
  max-width: 1000px;
}
#uslugi:before,
#uslugi:after {
  display: block;
  content: "";
  height: 20px;
  width: 100%;
}

#uslugi li {
  display: inline-block;
  padding: 20px 10px;
  margin: 0;
}

#uslugi li a {
  padding: 10px;
  display: block;
}

/*
 * Style footer.
 */

#footer p {
  font-size: 100%;
  margin: 0;
  padding: 25px 0 25px 42px;
  vertical-align: middle;
  display: inline-block;
  position: relative;
}

.logo_pl {
  display: block;
  margin: -25px 0 0 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 50%;
  opacity: 0.8;
}

.logo_pl:hover {
  opacity: 1;
}

.logo_pl img {
  display: block;
  margin: 0;
  padding: 0;
}

/*
 * Responsive layoyt.
 */
@media all and (max-width: 450px) {
  #header {
    position: relative;
  }
  #header h1 {
    float: none;
    text-align: center;
    padding: 5px 0;
  }

  #header .header_links {
    float: none;
    margin: 0;
    padding: 0 0 5px 0;
    text-align: center;
  }

  #page {
    position: fixed;
  }

  #footer .logo_pl {
    float: left;
    display: block;
    width: auto;
  }

  #footer p {
    float: right;
    width: auto;
  }

}

@media all and (max-height: 450px), all and (max-width: 450px) {
  #content {
    font-size: 100%;
  }

  #uslugi_button span {
    padding: 10px 10px 10px 20px;
  }

  #uslugi_button span:after {
    content:"\00bb";
    font-size: 20px;
    position:  absolute;
    top: 8px;
    left: 9px;
    display: block;
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    color: #8B0304;
  }

  #uslugi:before,
  #uslugi:after {
    height: 10px;
  }

  #uslugi li {
    padding: 10px 5px;
  }

  #uslugi li a {
    padding: 5px;
  }
}
