.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #f9f9f9;
    transition: all 0.5s ease;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0px 0px 0px;
}

@media (min-width: 768px) {
    .card:hover {
        background-color: #ffffff;
        box-shadow: 1px 4px 10px grey;
    }

    .card:hover .text-grey {
        color: #333333;
    }
}


.card > hr {
    margin-right: 0;
    margin-left: 0;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 25px;
}

.card-footer {
    padding: 0px 25px 25px 25px;
}

.card-padding {
    padding: 25px !important;
}

.card-image {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    min-height: 200px;
}

.card-img-wrap {
    overflow: hidden;
    position: relative;
}

.card-img-wrap img {
    transition: transform 0.5s ease;
    width: 100%;
}

.card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    padding: 50px 25px;
    text-align: center;
}

.card-img,
.card-img-top,
.card-img-bottom {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
}

.card .h4 {
    margin-bottom: 0;
}

.card .rating {
    color: #fdcc0d;
}












.menucard {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    transition: all 0.5s ease;
    overflow: hidden;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .menucard:hover .text-grey {
        color: #333333;
    }
}


.menucard > hr {
    margin-right: 0;
    margin-left: 0;
}

.menucard-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 25px;
}

.menucard-footer {
    padding: 0px 25px 25px 25px;
}

.menucard-padding {
    padding: 25px !important;
}

.menucard-image {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    min-height: 200px;
}

.menucard-img-wrap {
    overflow: hidden;
    position: relative;
}

.menucard-img-wrap img {
    transition: transform 0.5s ease;
    width: 100%;
}

.menucard:hover .menucard-img-wrap img {
    transform: scale(1.05);
}

.menucard-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
}

.menucard-img,
.menucard-img-top,
.menucard-img-bottom {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
}

.menucard .h4 {
    margin-bottom: 10px;
}





.badge-block {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    padding: 5px;
    background-color: #cc0000;
    color: #fff;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    z-index: 5;
}




.price-block {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    background-image:
        linear-gradient(45deg, #cc0000 25%, transparent 25%, transparent),
        linear-gradient(-45deg, #cc0000 25%, transparent 25%, transparent),
        linear-gradient(45deg, transparent 75%, #cc0000 75%),
        linear-gradient(-45deg, transparent 75%, #cc0000 75%);
    background-size: 20px 20px;
    background-position: -10px -10px;
    width: 160px;
    height: 160px;
    z-index: 3;
}

.price-block::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    content: '';
    background: #cc0000;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin: 10px;
    z-index: 2;
}

.price-block-04x {
    transform: scale(0.4);
    bottom: -48px;
    right: -48px;
}

.price-block-05x {
    transform: scale(0.5);
    bottom: -40px;
    right: -40px;
}

.price-block-06x {
    transform: scale(0.6);
    bottom: -32px;
    right: -32px;
}

.price-block-07x {
    transform: scale(0.7);
    bottom: -24px;
    right: -24px;
}

.price-block-08x {
    transform: scale(0.8);
    bottom: -16px;
    right: -16px;
}

@media (max-width: 767px) {

    .price-block {
        transform: scale(0.5) !important;
        bottom: -40px !important;
        right: -40px !important;
    }
}


.price-block .price {
    color: #FFFFFF;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 2.4rem;
    font-style: italic;
}

.price-block .currency {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 500;
}

.price-block .weight {
    color: #FFFFFF;
    font-size: 1.4rem;
    font-style: italic;
}

.price-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 30px 0;
}

.pattern-red {
    position: relative;
    background-image:
        linear-gradient(45deg, #cc0000 25%, transparent 25%, transparent),
        linear-gradient(-45deg, #cc0000 25%, transparent 25%, transparent),
        linear-gradient(45deg, transparent 75%, #cc0000 75%),
        linear-gradient(-45deg, transparent 75%, #cc0000 75%);
    background-size: 10px 10px;
    background-position: -5px -5px;
}

.pattern-red::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    content: '';
    background: #cc0000;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    z-index: -1;
}

.pattern-black {
    position: relative;
    background-image:
        linear-gradient(45deg, #000000 25%, transparent 25%, transparent),
        linear-gradient(-45deg, #000000 25%, transparent 25%, transparent),
        linear-gradient(45deg, transparent 75%, #000000 75%),
        linear-gradient(-45deg, transparent 75%, #000000 75%);
    background-size: 10px 10px;
    background-position: -5px -5px;
}

.pattern-black::before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    content: '';
    background: #000000;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    z-index: -1;
}

.card-deck .card {
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .card-deck {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .card-deck .card {
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin: 0 10px 20px 10px;
    }
}








.card-columns .card {
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }

    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }

    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}

.card_act {
    text-align: center;
}

.card_act img {
    height: 50px;
    width: 50px;
    margin-bottom: 15px;
}

.card_act .h4 {
    margin-bottom: 10px;
}

.card_offer .card-body {
    padding: 0;
}


.card_calc:hover {
    background-color: inherit !important;
    box-shadow: inherit !important;
}


.card_event {
    background-color: rgba(0, 0, 0, .5);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    transition: all 0.5s ease;
    box-shadow: 0px 0px 0px !important;
}

.card_event:hover {
    background-color: rgba(0, 0, 0, .75);
    box-shadow: 0px 0px 0px !important;
}

.card_event img {
    height: 50px;
    width: 50px;
    margin-bottom: 15px;
}

.card_event .h5 {
    margin-bottom: 10px;
}

.card_contact {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 50px 20px;
    margin-bottom: 30px;
    text-align: center;
    min-height: 475px;
    transition: all 0.5s ease;
}

.card_contact img {
    height: 50px;
    width: 50px;
    margin-bottom: 15px;
}

.card_contact .h4 {
    margin-bottom: 0;
}

.card_contact:hover {
    background-color: #fff;
}





.card-modal {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.card-modal img {
    height: 50px;
    width: 50px;
    margin-bottom: 15px;
}

.card-modal .h4 {
    margin-bottom: 0;
}





.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.page-link {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-left: -1px;
    line-height: 1.25;
    color: #666666;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.5s ease;
}

.page-link:hover {
    z-index: 2;
    color: #cc0000;
    text-decoration: none;
    background-color: #fcfcfc;
    border-color: #dee2e6;
}

.page-link:focus {
    z-index: 3;
    outline: 0;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #cc0000;
    border-color: #cc0000;
}





.accordion > .card {
    overflow: hidden;
}

.accordion > .card:not(:last-of-type) {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion > .card:not(:first-of-type) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.accordion > .card > .card-header {
    border-radius: 0;
    margin-bottom: -1px;
}
