.top-bar {
    min-height: 80px;
    background-color: #22252a;
    color: white;
}

.logo {
    background-color: #22252a;
    position: relative;
}

.logo img {
    max-width: 70%;
}

.logo .pagination {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-radius: 0;
}

.address, .menu, .button-ham {
    background-color: #ef3131;
}

.address h2 {
    font-size: 21px;
    margin: 0;
}

.address h2 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
}

.menu {
    display: flex;
}

.menu a {
    color: white;
    text-transform: uppercase;
    font-size: 14px;
}

.menu .nav {
    height: 100%;
}

.menu .nav a {
    height: 100%;
}

.slider-bar .slide {
    padding: 0;
}

.bar-bar {
    background: url("../img/bar-bg.jpg") no-repeat center;
    background-size: cover;
    padding-top: 20px;
    padding-bottom: 20px;
    color: white;
}

.bar-bar img {
    width: 140px;
}

.bar-bar .carousel {
    width: 100%;
    text-align: center;
}

.bar-bar .carousel-item h2 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 24px;
}

.services-bar {
    background: url("../img/mustang.jpg") no-repeat center fixed;
    background-size: cover;
}

.services-bar > div {
    margin: 0;
}

.services-bar .element {
    height: 400px;
    max-width: 300px;
    background-size: cover !important;
    margin: 20px;
    position: relative;
    font-weight: 300;
    font-size: 15px;
    overflow: hidden;
    border-radius: 5px;
}

.services-bar .element .title {
    font-size: 25px;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.3);
    text-shadow: 3px 3px 3px black;
    text-align: center;
    transition: all 0.4s;
}

.services-bar .element ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(239, 49, 49, 0.75);
    color: white;
    margin: 0;
    padding: 10px;
    padding-left: 35px;
    list-style-type: none;
    transition: all 0.4s;
}

.services-bar .element ul li {
    position: relative;
}

.services-bar .element ul li:before {
    display: block;
    content: '';
    background: url("../img/check.png") no-repeat center;
    background-size: 100%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 2px;
    left: -25px;
}

.services-bar .element:hover ul {
    top: 0;
}

.services-bar .element:hover .title {
    top: -100%;
}

.services-bar .element.mechanical {
    background: url("../img/services/mechanical.png") no-repeat center;
}

.services-bar .element.vulcanization {
    background: url("../img/services/vulcanization.png") no-repeat center;
}

.services-bar .element.autoclima {
    background: url("../img/services/autoclima.png") no-repeat center;
}

.services-bar .element.metal {
    background: url("../img/services/metal.png") no-repeat center;
}

.services-bar h2 {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 24px;
    text-shadow: 3px 3px 4px black;
    margin-top: 20px;
    margin-bottom: 20px;
}

.services-bar h2 span {
    display: block;
    font-weight: 400;
    font-size: 14px;
}

.map-bar .map {
    width: 100%;
    height: 500px;
}

.footer-bar {
    background-color: #22252a;
    color: white;
    padding-bottom: 40px;
    padding-top: 30px;
    position: relative;
}

.footer-bar form input, .footer-bar form textarea, .contact-form input, .contact-form textarea {
    width: 100%;
    border: solid 1px white;
    font-size: 14px;
    padding: 9px;
    background: none;
    margin: 7px 0;
    color: white;
    outline: none;
}

.footer-bar form textarea, .contact-form textarea {
    height: 100px;
    resize: none;
}

.footer-bar form button[type='submit'], .contact-form button[type='submit'] {
    float: right;
    width: 100px;
    cursor: pointer;
    background: none;
    color: white;
    border: solid 1px white;
    padding: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bar form input:first-child {
    margin-top: 50px;
}

.footer-bar form input:last-child {
    margin-bottom: 50px;
}

.contact-form input, .contact-form textarea, .contact-form button[type='submit'] {
    border-color: black;
    color: #212529;
}

.footer-bar div img:not(.form-code) {
    width: 70%;
}

.footer-bar div:not(.alert) {
    padding: 0 40px;;
}

.footer-bar .copyright {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: right;
    font-size: 13px;
    font-weight: 300;
}

.footer-bar .copyright a {
    color: #7f8082;
}

.content-bar {
    background-color: #dcdcdc;
}

.content-bar > div {
    padding: 20px 10%;
}

table.cennik {
    width: 100%;
}

.form-address {
    clear: both;
    margin-top: 10px;
    display: block;
}

.carousel-captio-individual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 9%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-captio-individual * {
    font-size: unset;
    margin: 0;
    font-weight: unset;
}

.carousel-captio-individual h1 {
    text-transform: uppercase;
    font-size: 37px;
    font-weight: 400;
    margin-bottom: 35px;
}

.carousel-captio-individual h2 {
    font-size: 24px;
    margin-top: 20px;
}

.form-spinner {
    -webkit-animation:spin 1.5s linear infinite;
    -moz-animation:spin 1.5s linear infinite;
    animation:spin 1.5s linear infinite;
}

@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

@media(min-width: 992px) {
    .button-ham {
        display: none !important;
    }
}

@media(max-width: 992px) {
    .menu .nav {
        width: 100%;
    }

    .menu .nav li {
        display: block;
        width: 100%;
    }

    .menu .nav li a {
        display: block !important;
        text-align: center;
        font-size: 24px;
        text-transform: none;
        font-weight: 700;
    }

    .menu {
        display: none;
    }

    .services-bar .element {
        height: 300px;
    }

    .carousel-captio-individual h1 {
        font-size: 25px;
        font-weight: 400;
        margin-bottom: 25px;
    }

    .carousel-captio-individual h2 {
        font-size: 20px;
        margin-top: 10px;
    }
}

@media(max-width: 767px) {
    .services-bar .element {
        height: 400px;
    }

    .footer-bar div:last-child {
        display: none !important;
    }

    .carousel-captio-individual h1 {
        display: none;
    }
}

@media(max-width: 670px) {
    .carousel-captio-individual h1 {
        display: unset;
    }

    .carousel-captio-individual p, .carousel-captio-individual h2, .carousel-captio-individual h3 {
        display: none;
    }
}

@media(max-width: 576px) {
    .button-ham {
        display: none !important;
    }

    .address {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .bar-bar img {
        margin-bottom: 20px;
    }

    .carousel-captio-individual {
        text-align: center;
        padding-left: 5%;
        padding-right: 5%;
    }
}
