/* FLIP */
.img-responsive.flip {
    max-width: 100%;
}

.flip-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -ms-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
}

.flip-container:hover .flipper,
.flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container,
.front,
.back {
    width: 500px;
    height: 300px;
    margin-bottom: 30px;
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateX(0deg);
}

.front {
    z-index: 2;
}

.back {
    transform: rotateY(180deg);
}

h2.title-flip {
    font-family: Roboto;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 28px;
    display: block;
    text-align: center;
    color: #FFFFFF;
    position: absolute;
    top: 10%;
    right: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    margin: 0 auto;
}

span.text-flip {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    display: block;
    align-items: center;
    text-align: center;
    color: #000000;
}

.block-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 10px;
}

@media only screen and (max-width:1200px) {

    .flip-container,
    .front,
    .back {
        width: 500px;
        height: 300px;
    }

    h2.title-flip {
        font-size: 20px;
        line-height: 24px;
    }

    span.text-flip {
           font-size: 10px;
           line-height: 12px;
    }
}

@media only screen and (max-width:991px) {
h2.title-flip {
    font-size: 22px;
    line-height: 26px;
    padding: 10px;
}
span.text-flip {
    font-size: 16px;
    line-height: 18px;
}
    .flip-container,
    .front,
    .back {
        width: 340px;
        height: 190px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width:536px) {

    .flip-container,
    .front,
    .back {
        width: 340px;
        height: 190px;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    h2.title-flip {
        font-size: 24px;
        line-height: 28px;
    }

    .block-text {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        padding: 1em;
    }

    span.text-flip {
        font-size: 16px;
        line-height: 18px;
    }
}

/* FLIP END */

.text-gallery {
    font-size: 13px; padding-right: 10px; 
    /*padding-left: 10px;  border-left: rgb(236, 236, 236) solid 10px; */
}