.ri-grid{
    margin: 30px auto 30px;
    position: relative;
    height: auto;
}

.ri-grid ul {
    list-style: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}


.ri-grid ul:before,
.ri-grid ul:after{
    content: '';
    display: table;
}

.ri-grid ul:after {
    clear: both;
}

.ri-grid ul {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
} 

.ri-grid ul li {
    -webkit-perspective: 400px;
    -moz-perspective: 400px;
    -o-perspective: 400px;
    -ms-perspective: 400px;
    perspective: 400px;	
    margin: 0;
    padding: 0;
    float: left;
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
}

.ri-grid ul li a{
    display: block;
    outline: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #333;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* Grid wrapper sizes */
.ri-grid-size-1{
    width: 100%;
}
.ri-grid-size-2{
    width: 100%;
}
.ri-grid-size-3{
    width: 100%;
    margin-top: 0px;
}

.ri-shadow:after,
.ri-shadow:before{
    content: "";
    position: absolute;
    z-index: -2;
    bottom: 15px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    max-height: 100px;

}
.ri-shadow:after{
    right: 10px;
    left: auto;
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    transform: rotate(3deg);
}

.ri-grid-loading:after,
.ri-grid-loading:before{
    display: none;
}

.ri-loading-image{
    display: none;
}

.ri-grid-loading .ri-loading-image{
    position: relative;
    width: 30px;
    height: 30px;
    left: 50%;
    margin: 100px 0 0 -15px;
    display: block;
}

.pg-hero-widget-wrap {
    position: absolute;
    width: 100%;
    top: 30%;
}

.pg-hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 90%;
    margin: 0px auto;
}

.pg-hero-section .pg-hero-heading {
    background-color: #007bff;
    color: #fff;
    font-weight: 500;
    font-size: 1em;
    padding: 10px 15px;
    font-size: 2.5vw;
    line-height: 2.5vw;
}

.pg-hero-section .pg-hero-heading span {    
    color: #ffa92f;
}
.pg-hero-section .pg-hero-subheading span { 
    color: #007bff;
    font-weight: 600;
}

.pg-hero-section .pg-hero-subheading {    
    background-color: #f7fbff;
    color: #007bff;
    font-weight: 300;
    font-size: 1.5vw;
    line-height: 1.5vw;
    padding: 10px 15px;
}



.hero-section button {
    background-color: #FF9113;
    color: #fff !important;
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    border: 0;
    display: inline-block;
    box-shadow: none;
    text-shadow: none;
    margin-top: 10px;
}


.widget.profilegrid_hero_banner {  
    margin: 0px;
    padding: 0px;
}


.sidebar.widget-area .pg-hero-section .pg-hero-heading {
    font-size: 1.5vw;
    line-height: 1.5vw;
}

.sidebar.widget-area .pg-hero-section .pg-hero-subheading {
    font-size: 0.75vw;
    line-height: 0.75vw;
}

.profilegrid_hero_banner.pg-hero_banner-widget .ri-grid {
    min-height: 150px;
}
.profilegrid_hero_banner.pg-hero_banner-widget .pg-hero-section .pg-hero-heading {
     font-size: 1.5vw;
    line-height: 1.5vw;
}

.profilegrid_hero_banner.pg-hero_banner-widget .pg-hero-section .pg-hero-subheading  {
    font-size: 0.75vw;
    line-height: 0.75vw;
}

.profilegrid_hero_banner.pg-hero_banner-widget .pg-hero-widget-wrap {
    top: 20%;
}