body {
    font-family: Arial, sans-serif;
    font-size: 100%;
}
.bg {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}
#home {
    background: #fff url(/img/soul-of-machine.jpg) no-repeat center center; 
}
#page1 {
    background: #fff url(/img/team-sketch.jpg) no-repeat center center; 
}
#page2 {
    background: #fff url(/img/serwerownia-sketch.jpg) no-repeat center center; 
}
#page3 {
    background: #fff url(/img/motherboard-sketch.jpg) no-repeat center center;
}
#page4 {
    background: #fff url(/img/repair-sketch.jpg) no-repeat center center; 
}
.top-row {
    padding-top: 2.2em;
}
.bottom-row {
    margin-top: 2.2em;
}
.logo-container {
    position: relative;
    background-color: #fff;
    width: 10em;
    height: 10em;
}
#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border: 0.1em #ae1738 solid;
    padding: 0.5em;
}
.logo-logo {
    font-family: "alaminecraft";
    font-size: 1.6em;
    color: #ae1738;
    text-align: center;
}
.logo-adres {
    font-size: 0.8em;
    color: #ae1738;
    text-align: center;
}
.logo-adres a {
    color: #ae1738;
}
.sectiontitle {
    font-size: 2em;
    color: #ae1738;
    text-align: left;
    letter-spacing: 0.04em;
    margin-left: 10%;
    text-transform: uppercase;
}
.pbottom {
    position:absolute;
    bottom:0;
    opacity: 0.92;
    background-color: #ae1738;
    color: #fff;
    text-align: justify;
    filter: alpha(opacity=92); /* For IE8 and earlier */
}
.pbottom img {
    display: block;
    margin: 0 auto;
    }
.motto {
    padding: 1em 2em;
    font-size: 0.75em;
    text-transform: uppercase;
    font-weight: bold;
    color: #aaa;
}
.motto p {
    line-height: 1.3em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.motto abbr {
    letter-spacing: 0.08em;
    color: #aaa;
    border:  0;
/*    background-color: #ae1738; */
}
#main-menu {
    opacity: 0.76;
    filter: alpha(opacity=76); /* For IE8 and earlier */
}
#main-menu-trick {
    padding-bottom: 0.2em;
    border-bottom: 0.23em solid #fff;
}
a.menuli {
    border-right: 1px solid #000;
    line-height: 0px !important;
}
.menu > li > a {
    color: #000;
}
.top-bar {
    padding:0 !important;
}
.title-bar {
    background: #fff;
    padding-left: 0;
}
.title-bar .menu-icon {
    margin-left: 0;
}
.title-bar-open {
    width: 3.8em;
}
.menu-icon {
}
.menu-icon::after {
    background: #7c7c7c;
    box-shadow: 0 9px 0 #7c7c7c, 0 18px 0 #7c7c7c;
    width: 2.2em;
}
div.col-right {
    margin-right: 2em;
    margin-left: 3em;
    text-align: justify;
}
.dekalog {
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: bold;
    color: #6a6767;
}
.dekalog li {
    margin-bottom: 0.8em;
}
.dekalog i {
    font-size: 0.7em;
}
.dekalog abbr {
    color: #6a6767;
}
p.mbot {
    font-size: 1.2em;
}
span.arrow {
    font-size: 1.2em;
    color: #6a6767;
}
span.hilite {
    color: #ae1738;
}
.olNum {
    list-style-type: none;
    margin-left: 3.8em;
}
.olNum ol {
}
.olNum li {
    counter-increment: count-me;
    margin-bottom: 0.6em;
}
.olNum li::before {
    content: counter(count-me) " ";
    display: block;
    position: relative;
    max-width: 0px;
    max-height: 0px;
    left: -1.3em;
    color: #ccc;
    font-weight: bold;
    font-size: 2.3em;
    top: -0.33em;
}
.olNum li.dycha::before {
    left: -1.8em;
}
div.adres {
    font-size: 2.4em;
    font-weight: bold;
    width: 50%;
    margin: 0.5em auto 3em auto;
    color: #6a6767;
}
footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 30px;
    background-color: #ae1738;
    color: #fff;
    padding: 5px;
    font-size: 0.7rem;
    text-align: center;
}
footer a {
    color: #fff;
}
.slogo {
    font-family: "alaminecraft";
    font-size: 1em;
    color: #ae1738;
}

/* ---------------------  Media queries ------------------------- */



/* Large and up czyli powyżej 1024px */
@media screen and (min-width: 64em) {
}
/* Medium and up  czyli powyżej 768px*/
@media screen and (min-width: 40em) {
}

/* Large only czyli od 1024px do 1200px */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {
}

/* Medium only czyli pomiędzy 768px do niecałych 1024px*/
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .bg {
        background-size: cover !important;
    }
    .title-bar-open {
        width: 4.2em;
    }
    .menu > li > a {
        padding: 0.5rem 0.3rem !important;
        font-size: 90%;
    }
    .pbottom {
        height: 30%;
        margin-top: 16em;
    }
    .logo-container {
        height: 6em !important;
        width: 6em !important;
    }
    #logo {
        width: 92%;
        height: 91%;
        padding: 0.3em;
    }
    .logo-logo {
        font-size: 1em;
        text-align: center;
    }
    .logo-adres {
        font-size: 0.5em;
        padding-left: 1em;
        padding-top: 0.2em;
    }
    .motto {
        font-size: 0.8em;
    }
    .dekalog {
        font-size: 0.6em;
    }
}

/* Small only  czyli niecałe 768px */
@media screen and (max-width: 39.9375em) {
    .overlay .overlay-close {
        font-size: 3em;
        top: 2%;
        right: 6%;
    }
    .overlay nav {
        top: 50%;
        margin: 0;
        padding: 0;
    }
    .overlay ul li {
        margin: 0;
        padding: 0;
        min-height: 1em;
    }
    .overlay ul li a {
        font-size: 1.1em;
        display: initial;
        margin: 0;
    }
    .logo-container {
        height: 5em;
    }
    #logo {
        width: 96%;
        height: 84%;
    }
    .logo-logo {
        font-size: 2em;
        text-align: left;
    }
    .logo-adres {
        font-size: 0.6em;
        padding-left: 1em;
        padding-top: 1em;
    }
    .ltoggle {
        display: none;
    }
    .motto {
        font-size: 1em;
        text-align: left;
        text-transform: none;
        padding: 2em;
    }
    .title-bar {
        width: 3.5em;
    }
    .title-bar-small {
        width: 1.5em;
    }
    .title-bar .menu-icon {
        margin-left: auto;
        margin-right: auto;
        top: 0.1em;
    }
    .menu-icon::after {
        box-shadow: 0 10px 0 #7c7c7c, 0 20px 0 #7c7c7c, 0 30px 0 #7c7c7c;
        width: 3em;
    }
    .menu-icon-small::after {
        box-shadow: 0 7px 0 #7c7c7c, 0 14px 0 #7c7c7c;
        width: 2em;
    }
    .sectiontitle {
        font-size: 1.5em;
        margin-left: 20%;
    }
    .olNum {
        margin-left: 2em;
    }
    .olNum li::before {
        font-size: 1.2em;
    }
    .dekalog {
        font-size: 0.8em;
        text-transform: none;
    }
    div.adres {
        font-size: 1.7em;
        width: 90%;
    }
    div.col-right {
        text-align: left !important;
        margin-left: 0;
    }
    footer {
        font-size: 0.5rem;
    }
    .pbottom {
        height: inherit;
        position: inherit;
        opacity: 1;
    }
    #home, .bg {
        background: none;
    }
}
