/* Example styles */

/* SVG BLOCKS */
.svgblockswrapper {
    position: relative;
    padding: 0 20% 0 0;
}

.svgblocksheader {
    font-size: 72px;
    line-height: 72px;
    font-weight: 600;
    margin: 0 0 60px 0;
}

.svgblocks {
    display: flex;
    flex-wrap: wrap;
}

.svgblock {
    flex: 1 0 50%;
    width: 50%;
    padding: 0 24px 0 100px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 40px 0 0 0;
    position: relative;
}

    .svgblock h3 {
        color: #c63f33;
    }

    .svgblock p {
        margin: 10px 0 0 0;
    }

.svgblockicon {
    position: absolute;
    top: 0;
    left: 0;
}

    .svgblockicon svg {
        fill: #c63f33;
        width: 72px;
    }

/* GRID BLOCKS */
.grid-wrapper {
    padding: 100px 0;
}

    .grid-wrapper h2 {
        text-align: center;
    }

.grid-refs {
    max-width: 1280px;
    margin: 0 auto;
}

    .grid-refs:after {
        content: "";
        display: block;
        clear: both;
    }

.grid-sizer {
    width: 33.33%;
}

.grid-item {
    float: left;
    width: 33.33%;
    height: 320px;
    cursor: pointer;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .grid-item * {
        -webkit-transition: .4s;
        -moz-transition: .4s;
        -ms-transition: .4s;
        -o-transition: .4s;
        transition: .4s;
    }

.grid-item0 {
}

.grid-item1 {
    width: 66.66%;
}

.grid-item2 {
    height: 640px;
}

.grid-item3 {
    width: 66.66%;
    height: 640px;
}

.refsimg {
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

.refsoverlay {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(245,71,75,0.75);
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform-style: preserve-3d;
}

    .refsoverlay h4 {
        font-size: 18px;
        color: white;
    }

    .refsoverlay a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 1;
    }

.refstext {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 20px 25px;
    background: white;
    z-index: 1200;
    color: #666;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.refstext-line1 {
    font-family: "Unica One", Arial, Helvetica, sans-serif;
    font-weight: 300;
    line-height: 36px;
    font-size: 30px;
    text-transform: uppercase;
    color: #f5474b;
}

.refstext-line2 {
    font-size: 16px;
    line-height: 24px;
    margin: 6px 0;
}

.grid-item:hover .refsoverlay {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0);
    transform: translateX(0px);
    -webkit-transform-style: preserve-3d;
}

.grid-item:hover .refstext {
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    webkit-transform-style: preserve-3d;
}