﻿#flipBoxesContainer {
    background-color: #C32032;
    color: #FFF;
    padding: 40px 0;
}
/* entire container, keeps perspective */
.flip-container {
    perspective: 1000px;
    display: inline-block;
}
    /* flip the pane when hovered */
    .flip-container:hover .flipper, .flip-container.hover .flipper {
        transform: rotateY(180deg);
    }

.flip-container, .front, .back {
    width: 225px;
    height: 170px;
    border-radius: 7px;
}

    .flip-container h3 {
        padding: 0;
        margin: 10px 0 0;
        color: #FFF;
    }

    .flip-container i.fa {
        color: #C32032;
    }

i.fa.fa-inverse {
    color: #FFF;
}
/* flip speed goes here */
.flipper {
    transition: 0.4s;
    transform-style: preserve-3d;
    position: relative;
}
/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
/* front pane, placed above back */
.front {
    z-index: 2; /* for firefox 31 */
    transform: rotateY(0deg);
    background-color: #C32032;
    padding-top: 30px;
}
/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);
    background-color: #000;
    color: #FFF;
    padding: 20px 25px 0;
}

.carousel-caption {
    /*background-color: rgba(195, 32, 50, .9);*/
    background-color: rgba(0, 0, 0, .5);
    padding: 25px 25px 10px;
    top: 10%;
    right: 10%;
    left: initial;
    bottom: auto;
    width: 25%;
    border: 1px solid #FFF;
    border-radius: 10px;
}

.carousel-caption-title {
    font-size: 1.85em;
    text-align: left;
}

.carousel-caption-content {
    font-size: 1em;
    text-align: left;
}

.carousel-caption-button {
    text-align: right;
    padding-right: 15px;
    padding-top: 10px;
}

    .carousel-caption-button .btn-primary {
        border-color: #C32032;
    }

        .carousel-caption-button .btn-primary:hover {
            border-color: #000;
        }


#animatedContainer {
    position: relative;
    width: 100%;
    padding-bottom: 45%;
    background-image: url("/Uploads/home-banner.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom;
}

#foodFirst {
    position: absolute;
    right: 20%;
    top: 10%;
    opacity: 0;
    width: 15%;
    height: auto;
}


#carousel-home.slide .carousel-control .glyphicon-chevron-left {
    left: 15%;
}

#carousel-home.slide .carousel-control .glyphicon-chevron-right {
    right: 15%;
}

@media screen and (min-width: 767px) and (max-width: 1200px) {

    .carousel-caption {
        width: 40%;
    }
}

@media screen and (max-width: 767px) {

    #animatedContainer {
        padding-bottom: 50%;
    }

    #foodFirst {
        width: 25%;
    }

    .carousel-caption {
        display: none;
    }
}
