*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body, html {
    font-size: 100%;
    padding: 0;
    margin: 0;
}
.lt-ie9 body {
    padding: 0; /* IE7-8 need this. */
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.grid h2 {
    position: absolute;
    top: 104px;
    z-index: 1;
    padding: 0 17px;
    margin: 10px 0;
    font-size: 23px;
    font-weight: 400;
    line-height: 30px;
    color: #fff;
    text-align: center;
    -webkit-backface-visibility: hidden; /* Prevent h2 flicker in Safari when animating figcaption */
}
.lt-ie8 .grid h2 {
    width: 85%;
}
.grid p {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 215px;
    margin-left: -107px; /* Half the width */
    font-size: 18px;
    font-weight: 600;
    color: #333; /* Default */
    line-height: 38px;
    text-align: center;
    background: #fff;
}
.grid figure {
    margin: 0;
    position: relative;
}

.grid figure img {
    max-width: 100%;
    display: block;
    position: relative;
}

.grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 20px;
    background: #FFF;
    color: #424242;
    text-align: center;
}

.grid figcaption a {
    color: #424242;
    text-decoration: none;
    font-size: 14px;

}

.firstbox a:hover {
    color: #d9731c;
}

.secbox a:hover {
    color: #c81d1b;
}

.thirdbox a:hover {
    color: #2ea3ef;
}

.grid figcaption h3 {
    margin: 0;
    padding: 0;
    color: #fff;
}

/* Individual Caption Styles */

/* Caption Style 3 */
.cs-style-3 figure {
    overflow: hidden;
}

.cs-style-3 figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.cs-style-3 figcaption {
    height: 150px;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.homepage-figure {
    width: 100%;
    height: 258px;
    overflow: hidden;
    background: no-repeat center center;
    background-size: cover;
}
.homepage-figure-1 {
    background-image: url('../img/box1.png');
}
.homepage-figure-1 p {
    color: #d94505;
}
.homepage-figure-2 {
    background-image: url('../img/box2.png');
}
.homepage-figure-2 p {
    color: #de1e1f;
}
.homepage-figure-3 {
    background-image: url('../img/box3.png');
}
.homepage-figure-3 p {
    color: #1f9fd0;
}

#data-rismark ul li {
    height: 36px;
}




/* Retina images */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

  body {}

}


@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

    /* Desktop */
    .navbar .brand {
        background:url('../img/retina/CL_Header-Logo@2x.jpg') no-repeat 0 0;
        background-size: 177px 81px; /* Original image size */
    }
    .navbar img.brand {
        display: none!important;
    }

    /* Mobile */
    .blackGrad > a {
        float: left;
        display: block;
        width: 131px;
        height: 60px;
        background: url('../img/retina/CL_Header-Logo@2x.jpg') no-repeat 0 0;
        background-size: 131px 60px;
    }
    .blackGrad > a img {
        display: none;
    }

  .homepage-figure-1 {
      background-image: url('../img/retina/box1@2x.png');
  }
  .homepage-figure-2 {
      background-image: url('../img/retina/box2@2x.png');
  }
  .homepage-figure-3 {
      background-image: url('../img/retina/box3@2x.png');
  }

  #data-rismark ul .data-rismark-title span {
    display: inline-block;
    height: 22px;
    margin-left: 0;
    padding-left: 9px!important;
    background-size: 52px 22px;
  }
  #data-rismark ul .data-rismark-title img {
    display: none;
  }
    @media (max-width: 979px) {
      #data-rismark ul .data-rismark-title span {
        position: static!important;
        text-indent: -9999px;
      }
    }

  .foot2 .foot2-col-1 {
    height: 62px;
    line-height: 50px;
    background: url('../img/retina/core-logo-footer@2x.png') no-repeat 1px 10px;
    /* previous RP logo
    background: url('../img/retina/rp-logo-footer@2x.png') no-repeat 1px 10px;*/ 
    background-size: auto 30px;
  }
  .foot2 .foot2-col-1 img {
    display: none;
  }
  .foot2 .foot2-col-1 .t10 {
    left: 100px;
  }
  .foot2 .foot2-col-2 div {
    line-height: 50px;
  }

  .span8 .title1foot {
    /*background-image: url('../img/retina/rpdata-logo-footer@2x.png');
    background-size: 43px 43px;*/
  }

    .foot2 .foot2-col-2 div {
        /*background-image: url('../img/retina/rpdata-logo-footer@2x.png');
        background-size: 43px 43px;*/
    }

    .link-block:hover,
    .link-block:focus {
      background: #efefef;
    }

}
