.gallery-card {
    background: #fff;
}

.gallery-card .row {
    padding: 20px 0
}

#newsletter-result {
    padding-left: 54px;
    font-weight: bold;
}

#newsletter-result.success {
    color: green !important;
}

#newsletter-result.error {
    color: #ed1c24 !important;
}

.pagination {
	padding: 20px 0 30px 0;
	margin: 0px 50vh;
	text-align: center;
	list-style: none;
	display: inline-flex;
    width: 100%;
	align-items: center !important;
	justify-content: start !important;
}

.pagination a {
    text-decoration: none;
    color: #444444;
    background: #eee;
    padding: 4px 10px;
}

.pagination .active {
    padding: 4px 10px;
    border: 1px solid #eee;
}

.pagination .active a {
    background-color: inherit;
}


/* galeria video */
#product-card .bottom .content-video .content-4 .title {
    color: #ed1c24;
    font-size: 16px;
    font-weight: 600;
    margin: 30px 0;
}

#product-card .bottom .content-video .content-4 .row {
    overflow: hidden;
}

#product-card .bottom .content-video .content-4 .row .video {
    float: left;
    width: 161px;
    margin: 0 28px 0 0;
    cursor: pointer;
}

#product-card .bottom .content-video .content-4 .row .video .video-title {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    margin: 8px 0 35px;
    height: 36px;
    color: #1c1d1f;
    text-align: center;
}

#product-card .bottom .content-video .content-4 .row .video .image-container {
    /*height: 109px;*/
    height: 92px;
    width: 161px;
    position: relative;
}

#product-card .bottom .content-video .content-4 .row .video .image-container .image {
    position: absolute;
    z-index: 0;
}

#product-card .bottom .content-video .content-4 .row .video .image-container .play {
    position: absolute;
    z-index: 1;
    height: 45px;
    margin: 32px auto 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

#product-card .bottom .content-video .content-4 .row .video:nth-child(6),
#product-card .bottom .content-video .content-4 .row .video:last-child {
    margin: 0;
}



@media (max-width: 1244px) {

    #product-card .bottom .content-video .content-4 .row .video {
        margin: 0 92px 0 0;
        width: 160px;
    }

    #product-card .bottom .content-video .content-4 .row .video:nth-child(4),
    #product-card .bottom .content-video .content-4 .row .video:nth-child(8) {
        margin: 0;
    }

    #product-card .bottom .content-video .content-4 .row .video:nth-child(6) {
        margin: 0 92px 0 0;
    }
}

@media (max-width: 991px) {

    #product-card .bottom .content-video .content-4 .row .video {
        width: 159px;
        margin: 0 24px 0 0;
    }

    #product-card .bottom .content-video .content-4 .row .video:nth-child(6) {
        margin: 0 24px 0 0;
    }
}

@media (max-width: 767px) {
    #product-card .bottom .content-video .content-4 .title {
        text-align: center;
    }

    #product-card .bottom .content-video .content-4 .row {
        width: 340px;
        margin: 0 auto;
    }

    #product-card .bottom .content-video .content-4 .row .video {
        margin: 0 22px 0 0;
    }

    #product-card .bottom .content-video .content-4 .row .video:nth-child(2),
    #product-card .bottom .content-video .content-4 .row .video:nth-child(4),
    #product-card .bottom .content-video .content-4 .row .video:nth-child(6),
    #product-card .bottom .content-video .content-4 .row .video:nth-child(8),
    #product-card .bottom .content-video .content-4 .row .video:nth-child(10),
    #product-card .bottom .content-video .content-4 .row .video:nth-child(12) {
        margin: 0;
    }
}

@media (max-width: 399px) {
    #product-card .bottom .content-video .content-4 .row {
        width: 159px;
    }

    #product-card .bottom .content-video .content-4 .row .video {
        float: none;
    }
}



/*lista*/
.list .item .left {
    float: left;
    width: 30%;
}

.list .item .right {
    width: 70%;
    float: right;
    padding: 0 0 0 20px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
}

.list h2 {
    margin-top: 6px;
}

.list h2 a {
    color: #231f20;
    text-decoration: none;
}

.list h2 a:hover {
    text-decoration: underline;
}

.list .item {
    margin-bottom: 40px;
}

.list .item:first-child {
    margin-top: 40px;
}

.list .read-more {
    padding: 8px 14px;
    margin-top: 6px;
    background: #ed1c24;
    display: block;
    color: #fff;
    float: right;
    text-decoration: none;
}

.list .read-more:hover {
    background: #231f20;
}


.thankyou-info {
    font-weight: bold;
    color: green;
    text-align: center;
    padding-top: 20px;
}

.clear {
    clear: both;
}

.wyposazenie_left {
    width: 20%;
    float: left;
}

.wyposazenie_right {
    width: 80%;
    float: right;
    padding: 0 0 0 20px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    ;
}

@media (min-width: 768px) {
    #sample-configurations .image img {
        width: 227px;
        padding: 10px;
    }
}


.message {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#successMessage {
    padding: 20px;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#errorMessage {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}



/* formularz serwisowy*/

#contact .service-form input.name,
#contact .service-form textarea.name {
    width: 100% !important;
    display: block;
}

#contact #contact-form label.error {
    margin-top: 2px !important;
    color: red;
}

/* formularz wyszukiwania filmow */

.search-film-containter {
    text-align: right;
    margin-right: 30px;
    padding-top: 18px;
}

.search-film-form input {
    height: 28px;
    padding: 4px;
    margin-top: 0;
    border: 1px solid #ddd;
}

.search-film-form button {
    color: #fff;
    height: 28px;
    width: 28px;
    margin-left: -8px;
    border: 0;
}

.search-film-form button:first-of-type {
    background: #231f20 url("/img/search-icon.png");
}

.film-id {
    margin-top: -32px;
}
