/*
Theme Name: InterMax
Theme URI: http://alarm-max.pl
Description: InterMax
Author: Łukasz & Daniel
Author URI: http://xpoints.eu
Version: 1.0
*/

/* wyłącz efekt wyjeżdżania strony z lewej przy resecie (efekt uboczny założeń layoutu) */

#footer, #content {
  visibility: hidden;
}

#wpadminbar {
  display: none;
}

a {
  outline: none;
  color: #fff;
}

body {
  background-color: #0f0f0f;
  font-family: Tahoma, Verdana, Arial, sans-serif;
}

#content {
  background: transparent url(design/bg_24bit.png) top center no-repeat;
  height: 1120px;
  position: absolute;
  top: 0;
  left: 0;
}

#footer {
  height: 189px;
  background: transparent url(design/footer.png) top center no-repeat;
  position: absolute;
  left: 0;
}
  #footer div {
    position: absolute;
    bottom: 19px;
    left: 50%;
    margin-left: -457px;
    width: 915px;
    text-align: right;
    color: #fff;
    font-size: 12px;
  }
    #footer div a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
    }
    #footer div a:hover {
      color: #fff;
      text-decoration: underline;
      font-weight: bold;
    }

#container {
  width: 915px;
  height: 460px;
  position: absolute;
  top: 191px;
  left: 50%;
  margin-left: -457px;
}
  #container .the_content {
    position: absolute;
    width: 584px;
    top: 100px;
    left: 40px;
  }
    #container .the_content p {
      margin-top: 0;
      text-align: justify;
      font-size: 14px;
      color: #fff;
    }
    #container .the_content strong {
      color: #de1b21;
    }
  #container .tags {
    position: absolute;
    bottom: 44px;
    left: 40px;
    font-size: 12px;
    color: #fff;
    width: 564px;
  }
    #container .tags a {
      color: #de1b21;
      text-decoration: none;
      margin: 0 3px;
      line-height: 16px;
    }
    #container .tags a:hover {
      text-decoration: underline;
    }
  #container .navigation {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100px;
    left: 682px;
    width: 190px;
  }
    #container .navigation li {
      list-style-type: none;
      background: transparent url(design/strzalka.png) 0 5px no-repeat;
      padding-left: 24px;
      margin-bottom: 18px;
    }
      #container .navigation a.active {
        color: #DE1B21;
      }
      #container .navigation a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: bold;
      }
      #container .navigation a:hover {
        text-decoration: underline;
      }
  #container h2 {
    position: absolute;
    top: 36px;
    left: 40px;
    margin: 0;
    padding: 0;
    height: 35px;
    width: 564px;
  }
    #container h2 span {
      display: none;
    }

#container h2.i31 { background: transparent url(design/headery/naglowki_konserwacje_alarmow.png) no-repeat; }
#container h2.i28 { background: transparent url(design/headery/naglowki_konserwacje_cctv.png) no-repeat; }
#container h2.i19 { background: transparent url(design/headery/naglowki_kontroladostepu.png) no-repeat; }
#container h2.i34 { background: transparent url(design/headery/naglowki_systemy_alarmowe.png) no-repeat; }
#container h2.i26 { background: transparent url(design/headery/naglowki_systemy_cctv.png) no-repeat; }
#container h2.i40 { background: transparent url(design/headery/naglowki_onas.png) no-repeat; }
#container h2.i43 { background: transparent url(design/headery/naglowki_polecamy.png) no-repeat; }
#container h2.i45 { background: transparent url(design/headery/naglowki_kontakt.png) no-repeat; }
#container h2.i13 { background: transparent url(design/headery/naglowki_oferta.png) no-repeat; }
#container h2.i60 { background: transparent url(design/headery/naglowki_blog.png) no-repeat; }
#container h2.i50 { background: transparent url(design/headery/naglowki_mapa.png) no-repeat; }

#container.oferta {
  background-image: url(design/kreska.png);
}
#container.main {
  background-image: url(design/baner.jpg);
}
  #container.main h2 {
    display: none;
  }
  #container.main .excerpt {
    width: 214px;
    position: absolute;
    right: 34px;
    top: 220px;
  }
    #container.main .excerpt p {
      margin: 0 0 10px 0;
      font-size: 12px;
      text-align: justify;
      color: #fff;
    }
  #container.main .more {
    display: block;
    width: 75px;
    height: 40px;
    position: absolute;
    right: 96px;
    bottom: 24px;
  }
    #container.main .more span {
      display: none;
    }
#container.strona h2, #container.strona .the_content, #container.strona .tags {
  width: 855px;
}

#top {
  width: 915px;
  height: 191px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -457px;
}
  #top h1 a {
    display: block;
    width: 276px;
    height: 84px;
    position: absolute;
    top: 10px;
    left: 0;
  }
    #top h1 a span {
      display: none;
    }
  #top .lang {
    width: 22px;
    height: 16px;
    position: absolute;
    top: 15px;
    right: 0;
  }
    #top .lang span {
      display: none;
    }
  #top .pl {
    right: 39px;
  }

#menu {
  position: absolute;
  top: 127px;
  left: 20px;
  margin: 0;
  padding: 0;
}
  #menu li {
    list-style-type: none;
  }
    #menu a {
      display: block;
      width: 120px;
      height: 64px;
      position: absolute;
      top: 0;
      left: 0;
      background-image: url(design/menu.png);
    }
      #menu a span {
        display: none;
      }
      #menu .oferta { left: 122px; background-position: -122px 0 }
      #menu .onas { width: 121px; left: 243px; background-position: -244px 0 }
      #menu .polecamy { width: 123px; left: 364px; background-position: -366px 0 }
      #menu .kontakt { width: 122px; left: 487px; background-position: -489px 0 }
      #menu .blog { left: 612px; background-position: -615px 0 }

      #menu .home.active { background-position: 0 -64px !important }
      #menu .oferta.active { background-position: -122px -64px !important }
      #menu .onas.active { background-position: -244px -64px !important }
      #menu .polecamy.active { background-position: -366px -64px !important }
      #menu .kontakt.active { background-position: -489px -64px !important }
      #menu .blog.active { background-position: -615px -64px !important }

      #menu .home:hover { background-position: 0 -128px }
      #menu .oferta:hover { background-position: -122px -128px }
      #menu .onas:hover { background-position: -244px -128px }
      #menu .polecamy:hover { background-position: -366px -128px }
      #menu .kontakt:hover { background-position: -489px -128px }
      #menu .blog:hover { background-position: -615px -128px }

#contact {
  width: 915px;
  height: 249px;
  position: absolute;
  top: 670px;
  left: 50%;
  margin-left: -457px;
}
  #contact h2 {
    display: none;
  }
  #contact .info {
    position: absolute;
    left: 130px;
    top: 85px;
  }
    #contact .info div {
      margin-bottom: 8px;
    }
    #contact .info h3 {
      font-size: 12px;
      font-weight: normal;
      margin: 0;
      padding: 0;
      color: #df1c24;
    }
    #contact .info strong {
      color: #fff;
      font-size: 12px;
      position: relative;
      top: -4px;
    }
    #contact .info .qr {
      width: 83px;
      height: 83px;
      background: url(design/qr.jpg);
      position: absolute;
      top: 3px;
      left: -102px
    }
  #contact .submit {
    display: block;
    width: 86px;
    height: 86px;
    position: absolute;
    top: 124px;
    left: 390px;
  }
    #contact .submit span {
      display: none;
    }
  #contact .footer {
    position: absolute;
    bottom: -30px;
    right: 0;
  }
    #contact .footer ul {
      margin: 0;
      padding: 0;
    }
      #contact .footer li {
        list-style-type: none;
        display: block;
        float: left;
        line-height: 12px;
      }
        #contact .footer a {
          color: #fff;
          text-decoration: none;
          font-size: 12px;
          position: relative;
          top: -1px;
        }
          #contact .footer a:hover {
            text-decoration: underline;
          }
        #contact .footer .fhome {
          padding-right: 10px;
          border-right: 1px solid #fff;
        }
        #contact .footer .foferta {
          padding: 0 10px;
        }
        #contact .footer .fpanel {
          padding: 0 10px;
          border-left: 1px solid #fff;
        }
        #contact .footer .fmapa {
          padding-left: 10px;
          border-left: 1px solid #fff;
        }

#contact-form {
  position: absolute;
  top: 32px;
  right: 25px;
}
  #contact-form p {
    margin: 0 0 3px 0;
  }
    #contact-form input, #contact-form textarea {
      background-color: #de1b21;
      border-width: 1px 0;
      border-style: solid;
      border-color: #8c181b;
      font-size: 12px;
      padding: 0 3px;
      width: 234px;
      color: #fff;
      height: 19px;
    }
    #contact-form input {
      line-height: 19px;
    }
    #contact-form textarea {
      height: 106px;
      line-height: 19px;
      overflow: auto;
    }
    #contact-form .tresc {
      padding-top: 1px;
    }
    #contact-form label {
      font-size: 12px;
      color: #fff;
      font-weight: bold;
      width: 160px;
      text-align: right;
      line-height: 21px;
      display: block;
      float: left;
      margin-right: 12px;
    }

#under_construction {
  width: 496px;
  height: 118px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -59px;
  margin-left: -248px;
  background: url(design/strona-w-budowie.png);
}

#not_found {
  width: 377px;
  height: 110px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -168px;
  margin-top: -55px;
  background: url(design/404.png);
}

/* custom scrollbars */

#box {
  height: 270px;
}

.custom-scrolls {
  position: relative;
  /*
    nie wolno ustawiać temu elementowi żadnych paddingów.
    Do tego służy .content
  */
  padding: 0 !important;
}

.custom-scrolls .horizontal, .custom-scrolls .horizontal div, .custom-scrolls .vertical, .custom-scrolls .vertical div {
  font-size: 0;
}

.custom-scrolls .container {
  overflow: hidden;
  position: relative;
  /*
    nie wolno ustawiać temu elementowi żadnych marginesów,
    paddingów ani obramowania. Do tego służy .content,
    lub scroll do samego obramowania
  */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.custom-scrolls .content {
  position: relative;
}

.custom-scrolls .vertical {
  right: 0;
  top: 0;
  width: 20px; /* można nadpisać, wartość domyśna */
}

.custom-scrolls .horizontal {
  left: 0;
  bottom: 0;
  height: 20px; /* można nadpisać, wartość domyśna */
}

.custom-scrolls .vertical, .custom-scrolls .horizontal {
  position: absolute;
  display: none;
}

.custom-scrolls .left, .custom-scrolls .horizontal .middle, .custom-scrolls .right {
  position: absolute;
  top: 0;
  width: 20px; /* można nadpisać, wartość domyśna */
}

.custom-scrolls .horizontal .middle {
  width: 50px; /* można nadpisać, wartość domyśna */
}

.custom-scrolls .top, .custom-scrolls .vertical .middle, .custom-scrolls .bottom, .custom-scrolls .field {
  position: absolute;
  left: 0;
  height: 20px; /* można nadpisać, wartość domyśna */
}

.custom-scrolls .vertical .middle {
  height: 50px; /* można nadpisać, wartość domyślna */
}

/* kursory */
.custom-scrolls .vertical .middle div, .custom-scrolls .horizontal .middle div {
  position: absolute;
  width: 0;
  height: 0;
}

.custom-scrolls .cursor-bottom {
  bottom: 0;
}

.custom-scrolls .cursor-right {
  right: 0;
}

/* */

.custom-scrolls .left {
  left: 0;
}

.custom-scrolls .right {
  right: 0;
}

.custom-scrolls .top {
  top: 0;
}

.custom-scrolls .bottom {
  bottom: 0;
}

.custom-scrolls .scrolls div {
  /* nie ustawiać tych wartości dla elementów suwaków, z założenia tła obrazkowe */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#box .left, #box .right {
  width: 18px;
}


#box .field {
  background: #1f1f1f;
}

#box .top, #box .bottom {
  height: 18px;
}

#box .cursor-vertical-middle {
  background-color: #DE1B21;
}

#box .horizontal {
  height: 25px;
  display: none !important;
}

#box .vertical {
  width: 10px;
}

#box .content {
  padding: 0 20px 0 0;
}

#box .cursor-top, #box .cursor-bottom {
  height: 1px;
  background-color: #0F0F0F;
}

#box .cursor-bottom {
  background-position: 0 -15px;
}


#box .cursor-left, #box .cursor-right {
  width: 1px;
}

/* mapa witryny */

.ddsg-wrapper h2 {
  position: static !important;
  font-size: 16px;
  color: #fff;
  height: auto !important;
}

.ddsg-wrapper ul {
  margin: 5px 0 5px 20px;
  padding: 0;
}

.ddsg-wrapper div p {
  display: none !important;
}

.ddsg-wrapper li {
  color: #fff;
  font-size: 14px;
  padding: 2px 0;
}

.ddsg-wrapper a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
}

.ddsg-wrapper a:hover {
  text-decoration: underline;
}
