body h1, body h2, body h3, body h4, body h5 { font-family: 'Lato', sans-serif; }
body p { font-family: 'Open Sans', sans-serif; }

body a { color: #ef7b26; }

a.std-button {
    background: #ef7b26;
    color: #fff;
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #ef7b26;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin: 15px 0px;
    transition: linear 0.3s;
}
a.std-button:hover {
    text-decoration: none;
    background: transparent;
    color: #ef7b26;
}


/* menu */
button.navbar-toggler {
    border: 1px solid #135584 !important;
    padding: 0px 15px;
}


.navbar-light .navbar-toggler {
    outline: none;
    border: 1px solid #135584 !important;
}

.navbar { 
    background: #fff;
    position: fixed; 
    width: 100%;
    z-index: 9999;
    top: 0px;
    -webkit-box-shadow: 0 1px 7px 0 rgba(0,0,0,.75);
    -moz-box-shadow: 0 1px 7px 0 rgba(0,0,0,.75);
    box-shadow: 0 1px 7px 0 rgba(0,0,0,.75);
    padding-top: 0px;
    padding-bottom: 0px
}


li.nav-item a {
    position: relative;
    padding: 30px 10px;
    margin: 0px 20px 0px 5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
}
li.nav-item a:before { 
    transition: linear 0.5s; 
    content: ''; width: 0px; 
    height: 5px; 
    background: #ef7b26; 
    position: absolute; 
    left: 0px; 
    bottom: 0px; 
}
li.nav-item a:after { 
    transition: linear 0.5s; 
    content: ''; width: 0px; 
    height: 5px; 
    background: #ef7b26; 
    position: absolute; 
    right: 0px; 
    bottom: 0px; 
}

li.nav-item a.active , li.nav-item a:hover, .navbar-light .navbar-nav .active>.nav-link {
    color: #ef7b26 !important;
}

.navbar-light .navbar-nav .active>.nav-link:after, li.nav-item a.active:after , li.nav-item a:hover:after {
    width: 50%;
}
.navbar-light .navbar-nav .active>.nav-link:before, li.nav-item a.active:before , li.nav-item a:hover:before {
    width: 50%;
}





@media(max-width: 767px) {
    .navbar-light .navbar-nav .nav-link {
        text-align: center;
    }
}


/* menu mobile */

.navbar-light .navbar-toggler {
    border: none !important;
}



/* Slider */

.slider {
    height: 700px;
    position: relative;
    background-image: url('../images/sg-slider-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}



/* SG Intro */

.sg-intro { margin-top: -70px; }

.sg-intro-box {
    position: relative;
    padding: 20px 25px 15px 90px;
    background: #444;
    transition: linear 0.35s;
}

.sg-intro-box:before {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    top: 6px;
    border: 1px dashed #fff;
}

p.sg-intro-box-nr { 
    position: absolute;
    left: 30px;
    top: 20px;
    font-size: 42px;
    line-height: 50px;
    font-weight: 600;
    color: #fff !important;
 }

 h3.sg-intro-box-h {
    font-size: 18px;
    line-height: 26px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    margin: 0px 0px 10px 0px;
}

.sg-intro-box p { 
    color: #aaa; 
}

.sg-intro-box:hover { 
    background: #ef7b26; 
    transform: scale(1.08); 
}
.sg-intro-box:hover p { 
    color: #fff !important; 
}

@media (max-width: 991px){
    .sg-intro-box { margin-bottom: 30px; }
}

/* SG opis */

.sg-opis { 
    margin-top: 90px; 
    margin-bottom: 90px; 
}
.sg-opis-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767px){
    .sg-opis-image { margin-bottom: 30px; }
}


/* SG counter */


.sg-counter {
    background: #444;
    padding: 60px 0px 45px 0px;
    margin: 50px 0px;
    position: relative;
}
.sg-counter:before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0px;
    right: 0px;
    border-top: 1px dashed #fff;
    border-bottom: 1px dashed #fff;
}


.sg-counter-box {
    text-align: center;
}

.sg-counter-box-anim {
    font-size: 56px;
    line-height: 64px;
    font-weight: 700;
    color: #fff !important;
}
.sg-counter-box-anim:after {
    content: '';
    width: 60px;
    height: 4px;
    background: #ef7b26;
    display: block;
    margin: 15px auto;
}

p.sg-counter-box-desc {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 767px){
    .sg-counter-box { margin-bottom: 40px; margin-top: 40px; }
}

/* SG last */

.sg-last { 
    margin-top: 110px; 
    margin-bottom: 30px;
}

.sg-last-bg {
    height: 100%;
    background-image: url(../images/city.jpg);
    background-size: cover;
}

.sg-last-text {
    width: 540px;
    max-width: 100%;
    margin-left: auto;
    padding-right: 40px;
    padding-top: 50px;
    padding-bottom: 20px;
}

h2.sg-last-text-h {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    margin: 0px;
}

h2.sg-last-text-h:after {
    content: '';
    width: 70px;
    height: 4px;
    background: #ef7b26;
    display: block;
    margin: 20px 0px;
}

.sg-last-bg { min-height: 300px; }


/* Footer */

.footer-copy {
    padding-top: 40px;
    text-align: center;
}

.footer-copy p { 
    font-size: 16px; 
    line-height: 24px; 
    font-weight: 700; 
}

.main-content {
    padding-bottom: 80px;
    border-bottom: 3px solid #444;
    background: #fff;
    z-index: 2;
    position: relative;
}

footer.footer-container {
    padding-top: 70px;
    z-index: 0;
}


.footer-box img {
    margin-bottom: 15px;
}

.footer-box2 {
    text-align: center;
    padding-top: 80px;
}

.footer-box2 p {
    margin-bottom: 12px;
}

.footer-box2 p, .footer-box2 a { 
    color: #333; 
}


h4.footer-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0px;
}

h4.footer-title:after {
    content: '';
    width: 50px;
    height: 4px;
    background: #ef7b26;
    display: block;
    margin: 10px auto 25px auto;
}



@media (min-width: 768px) {
    footer {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: -2;
    }
}