/**
 * Common stripe styles
 */

/* Layout */

.stripe > div {
    width: 1280px;
    margin: 0 auto;
}

.stripe--default {
    background: #e5e5e5;
}

.stripe--accent {
    background: #ce4141;
}

@media (max-width: 1320px) {

    /* Layout */

    .stripe > div {
        width: auto;
        margin: 0;
    }
}

/*
 * Slider stripe
 * Stripe with two columns to use with slider
 */

/* Layout */

.stripe-slider {
    padding: 30px;
}

.stripe-slider > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.stripe-slider-left,
.stripe-slider-right {
    display: table-cell;
    vertical-align: middle;
    padding: 15px 30px;
}

.stripe-slider-left {
    text-align: right;
    width: 465px;
    border-right: 3px solid #ce4141;
}

/* Title */

.stripe-slider-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Annotation */

.stripe-slider-annotation {
    color: #676767;
    margin-top: 20px;
}

@media (max-width: 1320px) {

    /* Layout */

    .stripe-slider {
        padding: 40px 20px;
    }

    .stripe-slider > div {
        display: block;
    }

    .stripe-slider-left,
    .stripe-slider-right {
        padding: 0;
        display: block;
    }

    .stripe-slider-left {
        text-align: left;
        width: 100%;
        padding-bottom: 30px;
        border-right: 0;
        border-bottom: 3px solid #ce4141;
    }

    .stripe-slider-right {
        width: 100%;
        padding-top: 30px;
    }
}

/*
 * News item
 * News item to use in slider
 */

/* Layout */

.stripe-news-item {
    background: #e5e5e5;
}

/* Description */

.stripe-news-item-description {
    font-size: 17px;
    font-style: italic;
    color: #676767;
}

.stripe-news-item-description > a {
    display: block;
    text-decoration: none;
}

.stripe-news-item-description > a:hover {
    color: #ce4141;
    text-decoration: underline;
}

/* Date */

.stripe-news-item-date {
    font-size: 15px;
    color: #676767;
    margin-bottom: 10px;
    font-weight: bold;
}

/*
 * Clients item
 * Clients item to use in clients slider
 */

.stripe-clients-item {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 130px;
}

.stripe-clients-item > div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.stripe-clients-item-link a {
    display: block;
}

.stripe-clients-logo {
    display: inline-block;
}

.stripe-clients-logo img {
    display: block;
    max-width: 150px;
    max-height: 130px;
}

.stripe-clients-logo-caption {
    line-height: 1.3;
    word-wrap: break-word;
    margin-top: 10px;
    color: #676767;
}

/*
 * Facts stripe
 * Stripe with three items
 */

.stripe-facts {
    padding: 40px;
}

.stripe-facts-item {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 33.3333%;
    margin-bottom: 20px;
}

.stripe-facts-item:before {
    content: '';
    position: absolute;
    left: 61px;
    bottom: -20px;
    right: -51px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 0;
}

.stripe-facts-item:first-child:before {
    left: 56px;
}

.stripe-facts-item:last-child:before {
    right: 0;
}

.stripe-facts-item > div {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.stripe-facts-item-left,
.stripe-facts-item-right {
    display: table-cell;
    vertical-align: top;
}

.stripe-facts-item-left {
    width: 132px;
    padding-right: 20px;
}

.stripe-facts-item-image {
    width: 112px;
    height: 112px;
    border: 10px solid #fff;
    background: center no-repeat;
}

.stripe-facts-item-image--balloons {
    background-image: url('../images/facts/balloons-ver-9892991BA3198DBA831D85210B9FFB5F.png');
}

.stripe-facts-item-image--users {
    background-image: url('../images/facts/users-ver-B353F2680CB26E364C11A82DAF63F145.png');
}

.stripe-facts-item-image--stars {
    background-image: url('../images/facts/stars-ver-F282B5C11EC98974B43CED8EEEFED2DE.png');
}

.stripe-facts-item-title {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

.stripe-facts-item-description {
    color: #fff;
    margin-top: 5px;
}

@media (max-width: 1320px) {

    .stripe-facts {
        padding: 0 20px 40px;
    }

    .stripe-facts-item {
        width: 50%;
        padding-top: 40px;
        margin-bottom: 0;
    }

    .stripe-facts-item:before {
        display: none;
    }
}

@media (max-width: 680px) {

    .stripe-facts-item {
        display: block;
        width: 100%;
    }
}