.rozcestnik_inner {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-bottom: 1px solid #e1e1e1;
}

.rozcestnik_clanek h1.mainheading {
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}

.rozcestnik_clanek {
    border-bottom: none;
}

.rozcestnik_clanek .r-grid {
    margin: 0px;
}

.rozcestnik_clanek .r-grid li {
    padding: 0px;
    background: none;
    line-height: normal;
    margin: 0px 10px;
}

.r-grid {
    margin: 60px 0 50px 0;
    padding: 0;
    list-style: none;
    display: block;
    text-align: center;
    width: 100%;
}

.r-grid:after,
.r-item:before {
    content: '';
    display: table;
}

.r-grid:after {
    clear: both;
}

.r-grid li {
    width: 219px;
    height: 345px;
    display: inline-block;
    margin: 0px 10px;
}

.r-grid li:first-child {
    margin-left: 0px;
}

.r-grid li:last-child {
    margin-right: 0px;
}

.r-item {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: default;
    perspective: 900px;
}

.r-info{
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/*.r-info > div {*/
.r-info > .r-info-front,
.r-info > .r-info-back {
    display: block;
    position: absolute;
    width: 219px;
    height: 219px;
    border-radius: 50%;
    background-position: center center;
    transition: all 0.4s linear;
    transform-origin: 50% 0%;
}

.r-info .r-info-back {
    transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    background: #2f3192;
    opacity: 0;
}

.r-info .r-info-desc {
    position: relative;
    top: 245px;
}

.r-img img {
    border-radius: 50%;
}

.r-img a,
.r-info h2 a,
.r-info h3 a {
    display: block;
}

.r-info h2 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 24px;
    margin: 0 15px;
    padding: 60px 0 0 0;
    height: 110px;
    font-family: 'Open Sans', Arial, sans-serif;
    text-shadow: 
        0 0 1px #fff, 
        0 1px 2px rgba(0,0,0,0.3);
}

.rozcestnik_clanek .r-info h2 {
    padding-top: 0px;
    display: table-cell;
    width: 219px;
    text-align: center;
    vertical-align: middle;
    height: 219px;
}

.r-info h2 a {
    color: #fff;
}

.r-info h3 {
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    font-size: 24px;
    font-weight: 300 !important;
    color: #441513;

    text-transform: uppercase;
    margin: 0 15px;
}

.r-info h3 a {
    color: #441513;
}

.r-info .exttext {
    font-size: 14px;
    font-weight: 300;
    color: #ababab;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
}

.r-info p {
    color: #fff;
    padding: 10px 5px;
    font-style: italic;
    margin: 0 30px;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.5);
    text-align: center;
}

.r-info p a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 1px;
    padding-top: 4px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.r-info p a:hover {
    color: rgba(255,242,34, 0.8);
}

.r-item:hover .r-info-front {
    transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    opacity: 0;
}

.r-item:hover .r-info-back {
    transform: rotate3d(1,0,0,0deg);
    opacity: 1;
}


/* Podle velikosti */

@media (min-width: 1200px) {
    .size_small .r-info-front,
    .size_small .r-info-back {
        top: 50px;
    }

    .size_small .r-img a,
    .size_small .r-info h2 a,
    .size_small .r-info h3 a {
        width: 169px;
        margin: 0px auto;
    }

    .size_small .r-info-back {
        width: 169px;
        height: 169px;
        left: 25px;
        right: 25px;
    }

    .size_small .r-info-back h2 {
        height: 75px;
        padding-top: 50px;
    }

    .size_small .r-info-back p {
        padding-top: 6px;
    }

    .size_small .r-info-back a {
        width: 100% !important;
        font-size: 18px;
        line-height: 125%;
    }

    .size_middle .r-info-front,
    .size_middle .r-info-back {
        top: 25px;
    }

    .size_middle .r-img a,
    .size_middle .r-info h2 a,
    .size_middle .r-info h3 a {
        width: 194px;
        margin: 0px auto;
    }

    .size_middle .r-info-back {
        width: 194px;
        height: 194px;
        left: 12.5px;
        right: 12.5px;
    }

    .size_middle .r-info-back h2 {
        height: 85px;
        padding-top: 60px;
    }

    .size_middle .r-info-back p {
        padding-top: 10px;
    }

    .size_middle .r-info-back a {
        width: 100% !important;
        font-size: 22px;
        line-height: 125%;
    }
}