@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
@import url("https://fonts.googleapis.com/css?family=Barlow:300,300i,400,400i,500,500i,600,600i|Playfair+Display:400,400i,700,700i");

html {
    scroll-behavior: smooth;
    height: 100%;
}

/* General Styles */

a {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #E67920;
    display: inline-block;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

a:before {
    content: '';
    width: 0%;
    height: 2px;
    background: #E67920;
    display: block;
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s ease all;
}

a:after {
    content: '>';
    margin-left: 5px;
}

a:hover:before {
    width: 100%;
    transform: translateX(-50%);
}

header a:after {
    display: none;
}

header a:hover:before {
    display: none;
}

#wpadminbar a:before {
    display: none;
}

#wpadminbar a:after {
    display: none;
}

p a:after {
    content: '';
    margin-left: 0;
}

ul {
    list-style: none;
    padding: 0;
    color: #787878;
}

ul li {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 100;
    padding-left: 30px;
    position: relative;
}

ol {
    padding: 0 0 0 17px;
    color: #787878;
}

ol li {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 100;
    padding-left: 10px;
    position: relative;
}

ul li:before {
    content: '';
    width: 15px;
    height: 2px;
    background: rgba(230,121,32,0.5);
    position: absolute;
    top: 13px;
    left: 0;
    transform: translateY(-50%);
    display: block;
}

ul li a:after,
ol li a:after {
    display: none;
}

.mid-align ul {
    width: 75%;
}

section {
    position: relative;
}

section:after, 
.left-break:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: 30px;
    left: 115px;
}

.cs-body:after,
.cs-child-header:after,
.blog-filters:after,
.contact-details:after,
.blog-child-header:after,
.awards:after {
    display: none;
}

.blog-child-header > div::after,
.cs-child-header > div:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: 60px;
    left: 15px;
}

.cs-body section:after,
.blog-child section:after {
    display: none;
}

.wrapper {
    height: 100vh;
    width: 100%;
}

.full-height {
    min-height: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.full-height.half-page {
    display: block;
}

.full-height.half-page .row {
    min-height: 100%;
}

.blog-latest {
    height: auto;
    min-height: 100%;
    display: flex;
    padding-top: 100px;
    padding-bottom: 100px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.blog-latest .mid-align {
    position: relative !important;
    overflow: hidden;
}

.hasbackground {
    position: relative;
    background-position: -10000% -10000%;
    background-size: cover;
    background-repeat: no-repeat;
}

.hasbackground:before {
    content:'';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
}

.half-page .hasbackground:before {
    display: none;
}

.half-page .half-page-content {
    height: 100vh;
}

.half-page .half-page-image {
    position: absolute;
    height: 100vh;
    top: 0;
    right: 0;
    overflow: hidden;
}

.full-height .mid-align {
    width: calc(100% - 30px);
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.auto-height {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.auto-height .mid-align {
    width: calc(100% - 30px);
    position: relative;
    top: auto;
    transform: none;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero.border {
    border-bottom: 1px solid #9F9F9F;
}

.hero.border:before {
    display: none;
}

.half-height {
    height: 75%;
    padding-top: 50px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.half-height .mid-align {
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    z-index: 999;
}

 .constrained-img {
    width: 100%;
    padding-bottom: 75%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-size: cover;
    background-repeat: no-repeat;
}

 .constrained-img.bleed {
    width: 150%;
    padding-bottom: 75%;
    position: absolute;
    top: 50%;
    right: auto;
    transform: translateY(-50%);
    background-size: cover;
    background-repeat: no-repeat;
}

.client .client-logo {
    max-width: 150px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.client .constrained-img .client-logo {
    top: -20px;
    left: 20px;
}

.award .award-logo {
    max-width: 120px;
    position: absolute;
    top: -25px;
    left: 25px;
    z-index: 999;
}

.client .client-logo img,
.award .award-logo img { 
    width: 100%;
    display: block;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.services-list {
    background: #171717;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.services-list p {
    font-weight: 100;
}

.services-list .service {
    margin-top: 20px;
}

.services-child {
    margin: 60px 0;
}

.services-child:after {
    display: none;
}

.services-child > .row > div:nth-child(2) {
    padding-bottom: 60px;
}

.services-child > .row > div:nth-child(2):after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: 30px;
    left: 15px;
}

.services-child h2 span {
    display: inline-block;
}

.services-child h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 42px;
    font-weight: 400;
    margin: 20px 0 40px;
}

.services-child img {
    width: 100%;
    margin: 20px auto;
}

.award h3,
.case-study h3 {
    font-family: 'Playfair Display', sans-serif;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 8px;
    font-size: 14px;
    background: #787878;
    color: #ffffff !important;
    display: inline-block;
    margin: 0;
}

.case-study blockquote {
    padding: 20px 0 20px 0;
    margin-left: 0;
}

.case-study blockquote p {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    line-height: 30px;
    margin-top: 0;
    width: 70%;
}

.case-study blockquote p:before {
    content: '"';
    font-size: 22px;
    margin-right: 5px;
}

.case-study blockquote p:after {
    content: '"';
    font-size: 22px;
    margin-left: 5px;
}

.case-study blockquote .quoted,
.case-study blockquote .quoted-client {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 100;
    line-height: 30px;
    color: #787878;
    display: block;
}

.case-study a:after {
    content: '>';
    margin-left: 5px;
}

.forefront .logo-forefront {
    width: 239px;
    height: 24px;
    background: url('../img/logo-forefront.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
}

.forefront a {
    font-size: 18px;
    color: #E67920;
}

.forefront a:after {
    content: '>';
    margin-left: 5px;
}

.forefront h3 {
    font-family: 'Playfair Display', sans-serif;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 8px;
    font-size: 14px;
    background: #787878;
    color: #ffffff;
    display: inline-block;
    margin: 0 0 20px 0;
}

.border:before {
    content: '';
    width: calc(100% - 200px);
    height: 1px;
    background: #9F9F9F;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.border-full{
    position: relative;
}

.border-full:before{
    width: calc(100% - 30px);
}
.contact-form {
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-form:before {
    background: rgba(0,0,0,0.6);
}

.contact-form label {
    width: 100%;
    display: block;
    color: #ffffff !important;
    margin-bottom: 0px;
    margin-top: 20px;
}

.contact-form label span {
    float: right;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px !important;
    border: none;
    margin-bottom: 40px;
    border-radius: 0;
    display: block;
    -webkit-appearance: none;
    color: #787878;
    outline: none;
    border-bottom: 4px solid #E67920;
    background: #fff;
}

.contact-form textarea {
    height: 200px;
    margin-bottom: 20px;
}

.contact-form select {
    background-image: url(../img/caret-down.svg);
                      
    background-position: 98%;
                         
    background-size: 20px;

    background-repeat: no-repeat;
}

.contact-form button {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px;
    background: transparent;
    border: 2px solid #fff;
    color: #ffffff;
    outline: none;
    position: absolute;
    z-index: 999;
    right: 15px;
    cursor: pointer;
    transition: 0.5s ease all;
}

.contact-form button:hover {
    border: 2px solid #E67920;
    background: #E67920;
    color: #171717;
    transition: 0.5s ease all;
}

.contact-details .details {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: #171717;
    display: block;
    width: 50vw;
    height: 100%;
    padding: 0;
    border-bottom: 1px solid #9F9F9F;
}

.contact-details .rm-details {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: left;
}

.contact-details .rm-details h2 {
    font-size: 62px;
    margin-bottom: 40px;
}

.contact-details .rm-details #RMlogo {
    width: 180px;
    fill: #E67920;
}

.contact-details .rm-details .address {
    font-family: 'Playfair Display', sans-serif;
    color: #ffffff;
    font-size: 18px;
    line-height: 36px;
    font-weight: normal; 
    margin-top: 20px;
}

.contact-details .rm-details .phone {
    font-family: 'Playfair Display', sans-serif;
    color: #ffffff;
    font-size: 20px;
    line-height: 36px;
    font-weight: normal; 
    margin-top: 20px;
    padding-left: 40px;
    position: relative;
    display: inline-block;
}

.contact-details .rm-details .phone:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../img/phone.svg) no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-30%);
}

.contact-details .rm-details .phone:after {
    display: none;
}

.contact-details .rm-details .email {
    font-family: 'Playfair Display', sans-serif;
    color: #ffffff;
    font-size: 20px;
    line-height: 36px;
    font-weight: normal; 
    margin-top: 20px;
    padding-left: 40px;
    position: relative;
    display: inline-block;
}

.contact-details .rm-details .email:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url(../img/envelope.svg) no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 35%;
    transform: translateY(-30%);
}

.contact-details .rm-details .email:after {
    display: none;
}

.contact-details .rm-details .social {
    margin-top: 40px;
}

footer .social {
    margin-bottom: 10px;
}

.social a.icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

footer .social a.icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-left: 0;
    margin-right: 20px;
}

.social a.icon:before {
    display: none;
}

.social a.icon:after {
    display: none;
}

.social a.icon.twitter {
    background: url('../img/twitter.svg') no-repeat 50% 50%;
    background-size: 30px;
}

.social a.icon.facebook {
    background: url('../img/facebook.svg') no-repeat 50% 50%;
    background-size: 30px;
}

.social a.icon.linkedin {
    background: url('../img/linkedin.svg') no-repeat 50% 50%;
    background-size: 30px;
}

.social a.icon.instagram {
    background: url('../img/instagram.svg') no-repeat 50% 50%;
    background-size: 30px;
}

.social a.icon.youtube {
    background: url('../img/youtube-play.svg') no-repeat 50% 50%;
    background-size: 30px;
}

.contact-details .map {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: block;
    width: 50vw;
    height: 100%;
    padding: 0;
}

.rm-gmap {
    overflow:hidden;
    padding: 100% 0 50%;
    position:relative;
    height:0;
}

.rm-gmap iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.blog-home .header-forefront,
.category .header-forefront {
    background: url('../img/logo-forefront.svg') no-repeat 0 0;
    background-size: 100%;
    width: 600px;
    height: 60px;
    position: relative;
    margin: 30px 0 20px 0;
}

.blog-home .header-forefront span,
.category .header-forefront span {
    color: #E67920;
    position: absolute;
    right: 0;
    bottom: 0;
}

.blog-filters {
    padding-top: 50px;
    padding-bottom: 20px;
}

.blog-filters label {
    position: relative;
    display: inline-block;
}

.blog-filters label:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f078';
    font-weight: 900;
    color: #787878;
    position: absolute;
    top: 23px;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.blog-filters label.filter,
.blog-filters label.sort {
    float: left;
    margin-right: 30px;
}

.blog-filters select {
    font-family: 'Barlow', sans-serif;
    padding: 15px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #CCCCCC;
    border-radius: 0;
    background: none;
    color: #171717;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    display: block;
}

.blog-latest:before {
    background: rgba(0,0,0,0.6);
}

.blog-latest h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    padding: 8px 10px;
    margin: 0 0 8px 0;
    background: #9F9F9F;
    display: inline-block;
}

.blog-latest .read-time {
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
    float: left;
}

.blog-latest .read-time:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/clock-o.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

.blog-latest .author {
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
    margin-left: 15px;
    float: left;
}

.blog-latest .author:after {
    display: none;
}

.blog-latest .author:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/user.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 2px;
}

.blog-latest .post-date {
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    font-size: 16px;
    position: relative;
    padding-left: 25px;
    margin-left: 15px;
    float: left;
}


.blog-latest .post-date:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/calendar.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

.blog-latest a.read-more {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px;
    background: none;
    border: 2px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    margin-top: 30px;
    position: relative;
    transition: 0.5s ease all;
    display: block;
    float: left;
    clear: both;
}

.blog-latest a.read-more:hover {
    border: 2px solid #E67920;
    background: #E67920;
    color: #171717;
    transition: 0.5s ease all;
}

.blog-latest a.read-more:before {
    display: none;
}

.blog-latest a.read-more:after {
    display: none;
}

.blog-posts {
    margin: 40px 0 60px;
}

.blog-posts:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: 0;
    left: 115px;
}

.blog-posts > div > div {
    text-align: center;
}

.blog-posts .blog-post-image {
    width: 100%;
    background-size: cover;
    background-position: 50% 50%;
    transition: 1s ease all;
    padding-bottom: 56.25%;
    display: block;
}

.blog-posts .blog-post-image:after {
    content: '';
    width: 0; 
    height: 5px;
    position: absolute;
    background: #E4792E;
    transition: 0.75s ease all;
    bottom: 0;
    left: -5px;
    pointer-events: none;
}

.blog-posts .blog-post-image:hover:after {
    width: 100%; 
    transition: 0.75s ease all;
}

.blog-posts .blog-post-image:before {
    display: none;
}

.blog-posts .blog-post-title {
    width: 100%;
}

.blog-posts .blog-post-title h2 {
    font-size: 32px;
    line-height: 42px;
    text-align: left;
    margin: 30px 0 20px;
    width: 100%;
}

.blog-posts h3 {
    font-family: 'Playfair Display', sans-serif;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 8px;
    font-size: 14px;
    background: #787878;
    color: #ffffff !important;
    display: inline-block;
    margin: 0;
    display: inline-block;
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 999;
}

.blog-posts p {
    font-size: 16px;
    line-height: 25px;
    text-align: left;
    margin: 0 auto 20px;
}

.blog-posts .blog-post-title:before {
    display: none;
}

.blog-posts .blog-post-title:after {
    display: none;
}

.blog-posts .post-details {
    width: 100%;
    position: relative;
    text-align: left;
    margin: 15px 0 60px;
}

.blog-posts .read-time {
    font-family: 'Barlow', sans-serif;
    color: #787878;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
}

.blog-posts .read-time:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/clock-g.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

.blog-posts .author {
    font-family: 'Barlow', sans-serif;
    color: #E67920;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
    margin-left: 15px;
}

.blog-posts .author:after {
    display: none;
}

.blog-posts .author:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/user-g.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 2px;
}

.blog-posts .post-date {
    font-family: 'Barlow', sans-serif;
    color: #787878;
    font-size: 16px;
    position: relative;
    padding-left: 25px;
    margin-left: 15px;
}

.blog-posts .post-date:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/calendar-g.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

.blog-posts .read-more {
    width: 131px;
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    padding: 20px;
    margin-top: 30px;
    color: #787878;
    display: block;
}

.blog-posts a.read-more:before {
    display: none;
}

.blog-posts a.read-more:after {
    display: none;
}

.blog-child-header h3 {
    font-family: 'Playfair Display', sans-serif !important;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 8px;
    font-size: 14px;
    background: #787878;
    color: #ffffff !important;
    display: inline-block;
    margin: 0 0 10px 0;
}

.blog-child-body {
    margin: 0 0 60px;
}

.blog-child-body .post-meta {
    margin-top: -20px;
}

.blog-child-body .post-meta .meta-block {
    display: inline-block;
    margin: 0 40px 30px 0;
}

.blog-child-body .post-meta .meta-block {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    margin-top: 10px;   
    color: #171717;
}

.blog-child-body .post-meta .meta-block .meta-label {
    font-family: 'Playfair Display', sans-serif;
    font-size: 18px;
    font-style: italic;
    color: #787878;
    margin-bottom: 10px;
}

.blog-child-body .post-meta .meta-block a {
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0;
    color: #171717;
}

.blog-child-body .post-meta .meta-block a:after {
    display: none;
}

.blog-child-body .post-meta .img-author {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid #ffffff;
}

.blog-child-body .post-meta .img-author img {
    width: 100%;
    height: 100%;
}

.blog-child-body .post-meta .date {
    margin-top: 5px;
}

.blog-child-body .post-meta .read-time {
    position: relative;
    margin-top: 5px;
    padding-left: 25px;
}

.blog-child-body .post-meta .read-time:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/clock-b.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 1px;
}

.blog-child-body iframe {
    width: 100%;
}

.blog-child-body .thumb-click {
    cursor: pointer;
}

.blog-child-body .thumb-click img {
    width: 100%;
}

.blog-child-body .thumb-click:after {
    display: none;
}

.blog-child-body .thumb-click:before {
    content: '';
    width: 135px;
    height: 100px;
    background: url('../img/yt_icon_rgb.png') no-repeat 0 0;
    background-size: 100%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    display: block !important;
    position: absolute;
}

.blog-child-body blockquote p {
    font-family: 'Playfair Display', sans-serif;
    font-size: 30px !important;
    line-height: 43px !important;
    color: #E67920 !important;
    font-style: italic;
    padding: 30px 0 0 0;
    text-align: left;
    margin-bottom: 0;
 }

.blog-child-body blockquote{
    font-family: 'Playfair Display', sans-serif;
    font-size: 40px !important;
    line-height: 62px !important;
    color: #E67920 !important;
    font-style: italic;
    padding: 10px 0 20px;
    margin: 0;
}
.blog-child-body blockquote p:before {
    font-family: 'Playfair Display', sans-serif;
    content: open-quote;
    font-size: 100px;
    position: absolute;
    top: 0;
    left: -7px;
    color: #444444;
    font-style: italic;
}

.blog-child-body blockquote p:after {
    font-family: 'Playfair Display', sans-serif;
    content: close-quote;
    font-size: 100px;
    position: absolute;
    top: 100%;
    right: 0;
    color: #444444;
    font-style: italic;
}
.blog-child-body blockquote footer{
    background: none;
    padding:0;
}
.blog-child-body blockquote em{
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 0;
    color: #787878;
    display: inline;
    font-weight: bold;
}
.blog-child-body blockquote footer a {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 22px;
    color: #787878;
    display: inline;
}

.blog-content > .row > div {
    width: 100%;
}


.blog-content > .row > div img {
    width: 100%;
    height: auto;
}

.blog-content a {
    display: inline;
}

.related-posts {
    background: #EFEFEF;
    padding-top: 60px;
    padding-bottom: 60px;
}

.related-posts > .row > div  {
    padding: 0;
}

.related-posts h2 {
    margin-left: 15px;
}

.related-posts .blog-post-image:after {
    display: none;
}

.related-posts .blog-post-image {
    width: 100%;
    padding-bottom: 56.25%;
    display: block;
    overflow: hidden;
}

.related-posts .blog-post-image img {
    width: 125%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.related-posts .blog-post-title {
    width: 100%;
}

.related-posts .blog-post-title h2 {
    font-size: 36px;
    line-height: 48px;
    text-align: left;
    margin: 30px 0 20px;
}

.related-posts h2 span {
    display: inline;
}

.related-posts h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 13px !important;
    line-height: 20px;
    background: #787878;
    color: #fff !important;
    text-align: center;
    padding: 5px 10px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.related-posts p {
    font-size: 18px;
    line-height: 30px;
    text-align: left;
    margin: 0 auto 20px;
}

.related-posts .blog-post-title:before {
    display: none;
}

.related-posts .blog-post-title:after {
    display: none;
}

.related-posts .post-details {
    width: 100%;
    position: relative;
    text-align: left;
    margin: 15px 0 60px;
}

.related-posts .read-time {
    font-family: 'Barlow', sans-serif;
    color: #787878;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
}

.related-posts .read-time:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/clock-g.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

.related-posts .author {
    font-family: 'Barlow', sans-serif;
    color: #E67920;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
    margin-left: 15px;
}

.related-posts .author:after {
    display: none;
}

.related-posts .author:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/user-g.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 2px;
}

.related-posts .post-date {
    font-family: 'Barlow', sans-serif;
    color: #787878;
    font-size: 16px;
    position: relative;
    padding-left: 25px;
    margin-left: 15px;
}

.related-posts .post-date:before {
    content:'';
    width: 15px;
    height: 15px;
    background: url('../img/calendar-g.svg') no-repeat 0 0;
    background-size: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}

.related-posts .read-more {
    width: 131px;
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    padding: 20px;
    margin-top: 30px;
    color: #787878;
    display: block;
}

.related-posts a.read-more:before {
    display: none;
}

.related-posts a.read-more:after {
    display: none;
}

body.author .blog-posts {
    padding-top: 125px;
}

body.about-us .full-height {
    height: calc(100% + 200px);

}

/* Awards Section */

.awards {
    background-size: cover;
}

.awards:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: 60px;
    left: 115px;
}

.awards h3 {
    font-family: 'Playfair Display', sans-serif;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 8px;
    font-size: 14px;
    background: #787878;
    color: #ffffff !important;
    display: inline-block;
    margin: 0;
}

.awards p {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    line-height: 30px;
}

.awards a:after {
    content: '>';
    margin-left: 5px;
}

.awards-module {
    background: #EFEFEF;
    padding-top: 100px;
    padding-bottom: 100px;
}

.awards-module  .logo-award {
    width: calc(25% - 23px);
    background: #ffffff;
    border-top: 5px solid #E67920;
    border-left: 1px solid #9F9F9F;
    border-right: 1px solid #9F9F9F;
    border-bottom: 1px solid #9F9F9F;
    margin: 15px 15px 15px;
}

.awards-module  .logo-award:first-child,
.awards-module  .logo-award:nth-child(5) {
    margin: 15px 15px 15px 0;
}

.awards-module  .logo-award:nth-child(4),
.awards-module  .logo-award:last-child {
    margin: 15px 0 15px 15px;
}

.awards-module  .logo-award img {
    width: 100%;
    padding: 20%;
    display: block;
    margin: 0 auto;
    flex: 0 0 100%;
}


/* Awards on About Us */

.our-awards {
    padding-top: 80px;
    padding-bottom: 80px;
}

.our-awards h2 {
    color: #787878;
}

.our-awards h2 span,
.awards-panel h2 span {
    display: inline;
}


.our-awards .logo-award {
    width: calc(25% - 30px);
    border-top: 5px solid #E67920;
    border-left: 1px solid #9F9F9F;
    border-right: 1px solid #9F9F9F;
    border-bottom: 1px solid #9F9F9F;
    margin: 15px 15px 30px;
}

.our-awards .logo-award:first-child,
.our-awards .logo-award:nth-child(5) {
    margin: 15px 30px 30px 0;
}

.our-awards .logo-award:nth-child(4),
.our-awards .logo-award:last-child {
    margin: 15px 0 30px 30px;
}

.our-awards .logo-award img {
    width: 100%;
    padding: 20%;
    display: block;
    margin: 0 auto;
    flex: 0 0 100%;
}

.careers-list {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #EFEFEF;
}

.careers-list h2 {
    color: #787878;
}

.careers-list p {
    color: #787878;
    font-weight: 100;
}

#vacancies .col-md-12 {
    display: flex;
    flex-wrap: wrap;
}

.careers-list .vacancy {
    width: calc(33% - 30px);
    margin-right: 30px;
    margin-top: 30px;
    float: left;
    position: relative;
    background: #ffffff;
    padding: 50px 30px;
}

.careers-list .vacancy h3 {
    font-family: 'Playfair Display', sans-serif !;
    font-size: 26px;
    font-style: italic;
    color: #171717;
    margin: 0 0 20px;
}

.careers-list .vacancy h4 {
    font-family: 'Playfair Display', sans-serif;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
    font-size: 14px;
    display: inline-block;
    position: absolute;
    right: -10px;
    top: 10px;
    padding: 5px;
}

.careers-list .vacancy h4 {
    background: #E67920;
}

.careers-list .vacancy p {
    width: 100%;
    color: #787878;
}

.careers-list .vacancy {
    border-left: 5px solid #E67920;
}


.careers-list .vacancy:before,
.careers-list .vacancy:after {
    display: none;
}

.stories {
    padding-top: 100px;
    padding-bottom: 100px;
}

.video-container {
    display: inline-block; /* let it be styled thusly */
    padding: 0;            /* get rid of pre-styling */
    margin: 0;
    width: 100%;           /* take up full width available */
    padding-top: 56.25%;   /* give aspect ratio of 16:9; "720 / 1280 = 0.5625" */
    height: 0px;           /* don't want it to expand beyond padding */
    position: relative;    /* allow for absolute positioning of child elements */
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;    /* expand to fill */
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}


.job-description {
    padding-top: 100px;
    padding-bottom: 100px;
}

.description {
    border-bottom: 1px solid #9F9F9F;
}

.job-description .salary {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    color: #E67920;
    font-weight: bold;
}

.job-description h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 32px;
    font-weight: 100;
    margin-bottom: 20px;
}

ul.benefits-list {
    width: calc(50% - 30px);
    display: inline-block;
    float: left;
}

ul.benefits-list li {
    color: #ffffff;
}

.job-description {
    padding: 0;
}

.job-benefits {
    padding-top: 100px;
    padding-bottom: 100px;
}

.job-benefits p {
    width: 100%;
    display: block;
    clear: both;
}

.job-description .description {
    padding: 100px 100px;
}

.job-description .application-form {
    padding: 100px 100px;
    background: #171717;
}

.application-form h2 {
    color: #ffffff !important;
}

.application-form p {
    font-family: 'Barlow', sans-serif;
    color: #ffffff !important;
}

.application-form label {
    font-family: 'Barlow', sans-serif;
    color: #ffffff;
    width: 100%;
    display: block;
    margin-top: 30px;
    margin-bottom: 10px;
}

.application-form label span {
    float: right;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 10px !important;
    font-family: 'Barlow', sans-serif;
    border: none;
    margin-bottom: 40px;
    border-radius: 0;
    display: block;
    -webkit-appearance: none;
    outline: none;
    border-bottom: 4px solid #E67920;
}

.application-form textarea {
    height: 200px;
    margin-bottom: 20px;
}

.application-form select {
    background-image: url(../img/caret-down.svg);
                      
    background-position: 98%;
                         
    background-size: 20px;

    background-repeat: no-repeat;
}

.application-form button {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px;
    background: none;
    border: 2px solid #E67920;
    color: #ffffff;
    outline: none;
    position: absolute;
    z-index: 999;
    right: 100px;
}

.application-form button:after {
    content: '';
    width: 0%;
    height: 100%;
    background: #E67920;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: 0.5s ease all;
}

.application-form button:hover:after {
    width: 100%;
    transition: 0.5s ease all;
}

.application-form .upload-cv input {
    padding: 0 !important;
    border-bottom: none;
}

.error404 .wrapper,
.page-template-page-regularpage .wrapper {
    height: auto;
}

.error404 .hero,
.page-template-page-regularpage .hero {
    min-height: auto;
}

.page-template-page-regularpage h3,
.page-template-page-regularpage h3 strong {
    font-family: 'Playfair Display', sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #444444;
}

.regular-content {
    margin: 60px auto 100px;
}

.regular-content h2 {
    font-size: 42px;
    line-height: 54px;
    color: #787878;
}

.regular-content:after {
    display: none;
}

.regular-content > div > div:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: -30px;
    left: 15px;
}

li.pagenav {
    font-family: 'Barlow', Sans-Serif;
    font-size: 22px;
    font-weight: 400;
    color: #171717;
    list-style: none;
}

/* Case Studies Child */

.case-study-child .cs-body {
    padding-top: 60px;
    padding-bottom: 40px;
}


.case-study-child .cs-left-col {
    padding-left: 15px;
    margin-bottom: 15px;
}

.cs-right-col > section > .row > div {
    padding-left: 0;
    padding-right: 0;
}

.cs-right-col > section.the-results > .row > div {
    padding-left: 30px;
    padding-right: 30px;
}

.case-study-child h3{
    font-size: 40px;
    font-family: 'Playfair Display';
    font-weight: normal;
    margin-bottom: 10px;
}
.case-study-child h2 span {
    display: inline-block;
}

.case-study-child .cs-jumplinks{
    padding-top: 20px;
    padding-bottom: 20px;
}

.case-study-child .results-jump,
.case-study-child .watch-video,
.case-study-child .download-pdf {
    height: 40px;
    color: #E67920;
    padding-top: 8px;
    padding-left: 50px;
    margin-right: 50px;
}

.case-study-child .results-jump:before {
    content: '';
    width: 40px;
    height: 40px;
    background: url('../img/line-chart.svg') #E67920 no-repeat 50% 50%;
    background-size: 20px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
}

.case-study-child .watch-video:before {
    content: '';
    width: 40px;
    height: 40px;
    background: url('../img/video-camera.svg') #E67920 no-repeat 50% 50%;
    background-size: 20px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
}

.case-study-child .download-pdf:before {
    content: '';
    width: 40px;
    height: 40px;
    background: url('../img/file-pdf-o.svg') #E67920 no-repeat 50% 50%;
    background-size: 20px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
}
.case-study-child .cs-image-caption,
.case-study-child .cs-caption{
    padding-left:0;
    padding-right:0;
}


.case-study-child .image-with-caption .cs-image-caption > a,
.case-study-child .image-with-caption .cs-image-caption > div {
    width: 100%;
    padding-bottom: 55%;
    overflow: hidden;
    display: block;
    position: relative;
}

.case-study-child .image-with-caption.isvideo a:before {
    content: '';
    color: #ffffff;
    display: block;
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    opacity: 0.8;
    background: url(../img/video-camera.svg) #E67920 no-repeat 50% 50%;
    background-size: 20px;
    border-radius: 50%;
}

.case-study-child .image-with-caption img {
    width: 100%;
    position: absolute;
}

.case-study-child .image-no-caption {
    margin: 20px 0;
}

.case-study-child .image-no-caption img {
    width: 100%;
}

.case-study-child .image-float img{
    width: 100%;
}
.case-study-child .inset-image{
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 30px 0;
        align-items: center;
}
.case-study-child .inset-image .image-contain{
    flex: 1;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-study-child .image-contain + .image-contain {
    margin-left: 15px;
}

.case-study-child .image-contain img{
    max-width: 100%;
}

.case-study-child section.cs-child-header {
    padding-top: 40px;
    padding-bottom: 0;
}

.case-study-child .constrained-img {
    width: 100%;
    padding-bottom: 65%;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    background-size: cover;
    background-repeat: no-repeat;
}

.cs-quote {
    margin-bottom: 20px;
}

.cs-quote blockquote {
    padding: 0;
    margin: 0;
}

.cs-quote p:first-child {
    font-family: 'Playfair Display', sans-serif;
    font-size: 40px !important;
    line-height: 62px !important;
    color: #E67920 !important;
    font-style: italic;
    padding: 40px 0 0 0;
    text-align: left;
}

.cs-quote blockquote p:first-child:before {
    font-family: 'Playfair Display', sans-serif;
    content: open-quote;
    font-size: 100px;
    position: absolute;
    top: 0;
    left: -7px;
    color: #444444;
    font-style: italic;
}

.cs-quote blockquote p:first-child:after {
    font-family: 'Playfair Display', sans-serif;
    content: close-quote;
    font-size: 100px;
    position: absolute;
    top: 100%;
    right: 0;
    color: #444444;
    font-style: italic;
}

.cs-quote blockquote .quote-author{
    padding-top: 0;
    /*padding-left: 120px;*/
    /*margin: 0;*/
}

.cs-quote blockquote .quoted,
.cs-quote blockquote .quoted-client {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 22px;
    color: #787878;
    display: block;
}
.cs-quote .quote-logo {
    width: 100%;
    max-width: 150px;
    margin-top: 20px;
}

.cs-quote .quote-avatar {
    width: 45px;
    margin-right: 10px;
    float: left;
}

.cs-quote blockquote .quoted {
    font-weight: bold;
}

.cs-results {
    padding-bottom: 80px;
}

.cs-results ul li,
.cs-results ol li {
    color: #ffffff;
}

.the-results {
    margin-top: 15px;
}

.the-results .text {
    padding: 30px;
    background: #171717;
}

.the-results .img {
    overflow: hidden;
    position: relative;
    background-position: center center;
    background-size: cover;
}

a.result-button {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px;
    background: none;
    /*border: 2px solid #fff;*/
    color: #ffffff;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: 0.5s ease all;
    background: #E67920;
    margin-top: 30px;
}

a.result-button:hover {
    border: 1px solid #E67920;
    background: #E67920;
    color: #fff;
    transition: 0.5s ease all;
}
a.result-button:hover:before{
    content:none;
}

.cs-body section:after,
.blog-child:after,
.no-decoration:after,
.modal:after {
    display: none;
}

.row-divider {
    min-height: 70vh;
    align-items: center;
}


/* Logo Styles */

#RMlogo.grey {
    fill: #787878;
}

#RMlogo.orange {
    fill: #E67920;
}

#RMlogo.white {
    fill: #ffffff;   
}

/* Footer Styles */

footer {
    background: #171717;
    padding: 40px 0 40px 0;
}

footer #RMlogo {
    width: 184px !important;
    height: 31px !important;
    margin-bottom: 60px !important;
    display: block !important;
}

footer .copyright {
    font-family: 'Barlow';
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: #ffffff;
}

footer #footerLinks {
    text-align: right;
}

footer a {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-right: 10px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline;
}

footer a:after {
    content: '';
}

footer ul li {
    padding: 0;
    display: inline-block;
}

footer ul li:before {
    display: none;
}

section.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 30px 0;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    display: block;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease all;
}

section.modal.open {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s ease all;
}

section.modal .container-fluid {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

section.modal .modal-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    margin-top: 18px;
    display: inline-block;
    cursor: pointer;
    z-index: 999;
    transition: 0.4s ease all;
}

section.modal .modal-close  .bar1, section.modal .modal-close  .bar2, section.modal .modal-close  .bar3 {
    width: 40px;
    height: 5px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: 0.4s ease all;
    border-radius: 3px;
}

section.modal .modal-close .bar1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 3px);
    transform: rotate(-45deg) translate(-4px, 3px);
}

section.modal .modal-close .bar2 {
    opacity: 0;
}

section.modal .modal-close .bar3 {
    -webkit-transform: rotate(45deg) translate(-11px, -10px);
    transform: rotate(45deg) translate(-11px, -10px);
}

section.modal .video-container {
    display: inline-block;
    padding: 0;
    margin: 0 auto;
    width: 95%;
    padding-top: 53.5%;
    height: 0px;
    position: relative;
}

.pagination {
    width: 100%;
}

.pagination .navigation {
    width: 100%;
}

.pagination .navigation ul {
    display: block;
}

.pagination .navigation ul li {
    display: inline-block;
    border: 1px solid #CCC;
    margin: 0;
    padding: 0;
    position: relative;
}

.pagination .navigation ul li.active:after {
    content:'';
    width: calc(100% + 2px);
    height: 5px; 
    background: #E67920;
    position: absolute;
    bottom: -1px;
    left: -1px;
}

.pagination .navigation ul li:before {
    display: none;
}

.pagination .navigation ul li a {
    margin: 0;
    padding: 5px 20px;
}

.pagination .navigation ul li a:hover:before {
    display: none;
}

.pagination .navigation ul li a:after {
    display: none;
}

.blog-home-pagination {
    width: 100%;
    padding: 0 0 40px 0;
}

.blog-home-pagination:before {
    display: none;
}

.blog-home-pagination a:after {
    display: none;
}

.blog-home-pagination span.no-of-pages {
    width: 100%;
    font-family: 'Barlow', sans-serif;
    display: block;
    margin: 10px 0;
    display: none;
}

.blog-home-pagination a {
    font-family: Barlow, sans-serif;
    display: inline-block;
    font-size: 18px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    margin: 5px;
    position: relative;
    cursor: pointer;
}

.blog-home-pagination a:hover:before {
    display: none;
}

.blog-home-pagination span.current,
.blog-home-pagination a {
    font-family: Barlow, sans-serif;
    display: inline-block;
    font-size: 18px;
    padding: 10px 15px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    margin: 5px;
    position: relative;
}

.blog-home-pagination span.current:after {
    content: '';
    width: calc(100% + 2px);
    height: 3px;
    background: #EB8820;
    position: absolute;
    bottom: 0px;
    left: -1px;
}

@media (max-width: 991px) {

    .full-height {
        min-height: 70%;
        padding-top: 0;
        padding-bottom: 0;
    }

    .half-height {
        height: auto;
    }

    .half-height .mid-align {
        width: 100%;
        position: relative;
        top: auto;
        transform: none;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .full-height .mid-align {
        width: 100%;
        position: relative;
        top: auto;
        transform: none;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .half-page .half-page-content {
        height: auto;
    }

    .half-page .half-page-image {
        height: 100%;
    }

     .constrained-img {
        padding-bottom: 85%;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-bottom: 100px;
    }

     .constrained-img.bleed {
        padding-bottom: 85%;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-bottom: 100px;
    }

    .client .client-logo {
        max-width: 125px;
    }

    .case-study blockquote {
        padding: 20px 0 0 0;
        margin-right: 0;
    }

    .case-study blockquote p {
        width: 100%;
    }

    .border:before {
        width: calc(100% - 60px);
    }
    
    .hero.border:after {
        width: 75px;
    }

    .our-awards .logo-award {
        width: calc(50% - 15px);
        max-width: 100%;
    }

    .our-awards .logo-award:nth-child(odd) {
        margin: 15px 15px 30px 0;
    }

    .our-awards .logo-award:nth-child(even) {
        margin: 15px 0 30px 15px;
    }

    .awards-module .logo-award {
        width: calc(50% - 15px);
        max-width: 100%;
    }

    .awards-module .logo-award:nth-child(odd) {
        margin: 15px 15px 30px 0;
    }

    .awards-module .logo-award:nth-child(even) {
        margin: 15px 0 30px 15px;
    }

    .video-container {
        margin-top: 100px;
    }

    .careers-list {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .job-description .description {
        padding: 100px 40px;
    }

    .job-description .application-form {
        padding: 100px 40px;
    }

    ul.benefits-list {
        width: 100%;
        margin: 0;
    }

    .contact-form {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .contact-form .row > div:first-child {
        margin-bottom: 40px;
    }

    .contact-details {
        padding-left: 0;
        padding-right: 0;
    }

    .contact-details .details {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 50px 30px;
    }

    .contact-details .rm-details {
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        text-align: left;
    }

    .contact-details .rm-details h2 {
        font-size: 48px;
        line-height: 58px;
        margin-bottom: 40px;
    }

    .contact-details .map {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        height: 0;
        padding-bottom: 90%;
    }

    .contact-details .rm-details .address {
        font-size: 16px;
        line-height: 30px;
    }

    .contact-details .rm-details .phone {
        font-size: 16px;
    }

    .contact-details .rm-details .email {
        font-size: 16px;
    }

    .contact-details .rm-details .email:before {
        top: 30%;
    }

    .blog-home-pagination span.current {
        font-family: Barlow, sans-serif;
        display: inline-block;
        font-size: 16px;
        padding: 6px 12px 8px;
        border-top: 1px solid #ccc;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        margin: 0px 5px 15px;
        position: relative;
    }

    .blog-home-pagination a {
        font-family: Barlow, sans-serif;
        display: inline-block;
        font-size: 16px;
        padding: 3px 10px 4px;
        border-top: 1px solid #ccc;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        margin: 0px 5px 15px;
        position: relative;
    }

    .award .award-logo {
        max-width: 80px;
        position: absolute;
        top: -20px;
        left: 20px;
        z-index: 999;
    }

}

@media (min-width: 1200px) and (max-width: 1599px) {
    section:after {
        left: 95px !important;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .careers-list .vacancy {
        width: calc(50% - 30px);
    }

    section:after {
        display: none;
    }



    .full-height .mid-align {
        position: relative;
    }

    section.half-page .mid-align:after {
        content: '';
        width: 75px;
        height: 5px;
        position: absolute;
        background: #E67920;
        bottom: 0;
        left: 0;
    }

    .case-study blockquote p {
        width: 100%;
    }

    .contact-details {
        padding-top: 0;
        padding-bottom: 0;
    }
    
}

@media (max-width: 991px) {

    .blog-home .header-forefront,
    .category .header-forefront {
        width: 95%;
        height: 9vw;
        margin: 15px 0 5px 0;
    }

    .case-study blockquote {
        padding: 20px 0 0 0;
        margin-right: 0;
    }

    .case-study blockquote p {
        width: 100%;
    }

}

@media (min-width: 991px){

    .image-float{
        float: right;
        margin-right: -100%;
        width: 80%;
    }
    .image-float img{
        width:100%;
    }
    .text-contain{
        float: left;
        width:100%;
    }

}

@media (max-width: 768px) {

    .careers-list .vacancy {
        width: 100%;
    }

    .blog-posts .post-details a {
        width: 100%;
        margin-left: 7px;
        margin-bottom: 5px;
        display: block;
    }

    .blog-posts .post-details span {
        width: 100%;
        margin-left: 0;
        margin-bottom: 5px;
        display: block;
    }

    .blog-posts .post-details span.read-time > span {
        width: auto;
        line-height: 10px;
        display: inline-block;
        margin: 0;
    }

    .blog-posts .author:before {
        top: 5px;
        left: 0;
    }

    .blog-latest span {
        width: 100%;
        margin: 0 0 10px 5px !important;
        padding-left: 0;
    }
    
    .blog-latest .author {
        font-family: 'Barlow', sans-serif;
        color: #ffffff;
        font-size: 16px;
        position: relative;
        padding-left: 15px;
    }
    
    .blog-latest .read-time {
        padding-left: 25px;
    }
    
    .blog-latest .read-time span {
        margin: 0 !important;
    }
    
    .blog-latest .author {
        margin-bottom: 8px;
    }
    
    .blog-latest .author:before {
        left: -3px;
    }

}

@media (min-width: 768px) and (max-width: 991px) { 


    .full-height.half-page .mid-align {
        position: relative;
        top: auto;
        transform: none;
    }

    .half-page .half-page-content {
        height: auto;
        padding: 0;
    }

     section.half-page .mid-align:after {
        content: '';
        width: 75px;
        height: 5px;
        position: absolute;
        background: #E67920;
        bottom: 60px;
        left: 0;
    }

    .half-page .half-page-image {
        height: 450px;
        position: relative;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .full-height {
        height: auto;
        min-height: 0;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .blog-child-body .post-meta .meta-block {
        margin: 0 20px 30px 0;
    } 

}

@media (min-width: 576px) and (max-width: 767px) { 

    .full-height.half-page {
        height: auto;
    }

    .full-height.half-page .row {
        height: auto;
    }

    .full-height.half-page .mid-align {
        position: relative;
        top: auto;
        transform: none;
    }

    .half-page .half-page-content {
        height: auto;
        padding: 0;
    }

    .half-page .half-page-image {
        height: 50vh;
        position: relative;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: calc(100% + 80px);
        margin-bottom: 40px;
    }
    
    section.half-page:after {
        display: none;
    }

    section.half-page .mid-align:after {
        content: '';
        width: 75px;
        height: 5px;
        position: absolute;
        background: #E67920;
        bottom: 60px;
        left: 0;
    }

    section:after {
        left: 75px !important;
    }

    .blog-child-body .post-meta {
        margin-top: 20px;
    }

    .blog-child-body .post-meta .meta-block:first-child {
        display: none;
    } 

    .blog-child-body .post-meta .meta-block {
        width: 40%;
        float: left;
        margin: 10px 20px 20px 0;
    }
}

@media (min-width: 321px) and (max-width: 575px) { 

    ul li {
        font-size: 16px;
        line-height: 24px;
    }

    section.half-page:after {
        display: none;
    }

    section.half-page .mid-align:after {
        content: '';
        width: 75px;
        height: 5px;
        position: absolute;
        background: #E67920;
        bottom: 60px;
        left: 0;
    }

    .half-page .half-page-content {
        height: auto;
    }

    .half-page .half-page-image {
        height: 45vh;
        position: relative;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: calc(100% - 30px);
        margin: 0 auto 40px;
    }

    footer #RMlogo {
        margin-bottom: 30px !important;
    }

    footer #footerLinks {
        margin-top: 40px;
        text-align: left;
    }

    footer a {
        margin-left: 0;
    }

    footer ul li {
        width: 100%;
    }

    .social a.icon {
        width: 30px;
        height: 30px;
        margin-left: 0;
        margin-right: 20px;
    }

    section:after {
        left: 35px !important;
    }

    .blog-child-body .post-meta {
        margin-top: 20px;
    }

    .blog-child-body .post-meta .meta-block:first-child {
        display: none;
    } 

    .blog-child-body .post-meta .meta-block {
        width: 45%;
        float: left;
        margin: 10px 15px 20px 0;
    }
    
}

@media (max-width: 320px) { 

    h1,
    h2 {
        width: 100% !important;
    }

    ul li {
        font-size: 15px;
        line-height: 20px;
    }

    .full-height.half-page {
        height: auto;
    }

    .full-height.half-page .row {
        height: auto;
    }

    .full-height.half-page .mid-align {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .half-page .half-page-content {
        height: auto;
    }

    .half-page .half-page-image {
        height: 50vh;
        position: relative;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: calc(100% - 30px);
        margin: 0 auto 60px;
    }

    section.half-page .mid-align:after {
        content: '';
        width: 75px;
        height: 5px;
        position: absolute;
        background: #E67920;
        bottom: 60px;
        left: 0;
    }

    footer #RMlogo {
        margin-bottom: 30px !important;
    }

    footer #footerLinks {
        margin-top: 40px;
        text-align: left;
    }

    footer a {
        margin-left: 0;
    }

    .social a.icon {
        width: 30px;
        height: 30px;
        margin-left: 0;
        margin-right: 20px;
    }

    section:after {
        left: 35px !important;
        display: none;
    }

    footer ul li {
        width: 100%;
    }
    
}
/* Gravity Form Overrides */

.job-description:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: 60px;
    left: 95px;
}

.gform_wrapper ul.gform_fields li.gfield {
    padding: 0;
    margin: 0;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 100% !important;
    margin: 0;
}

.application-form input#input_1_4 {
    padding: 0 !important;
    border-bottom: 0;
    color: #fff;
}

input.gform_button.button {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 10px;
    background: none;
    border: 2px solid #ffffff;
    color: #ffffff;
    outline: none;
    margin: 0;
    z-index: 999;
    float: right;
    cursor: pointer;
    transition: 0.5s ease all;
}

input.gform_button.button:hover {
   background: #E67920;
   border: 2px solid #E67920;
   transition: 0.5s ease all;
}

.gform_anchor {
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
}

.gform_anchor::after {
    display: none;
}

@media (max-width: 1200px) {
    table#benefits td {
        width: 100%;
        display: block;
    }  
  
    table#benefits ul {
        width: 100%;
        margin: 0;
    }
  }


/* New Styles */

ul li {
	font-size: 18px;
	line-height: 24px;
}

.error404 .hero .mid-align, .page-template-page-regularpage .mid-align {
	position: relative;
	padding: 80px 0 60px;
}

.error404 p, .page-template-page-regularpage p {
	color: #787878;
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
    text-align: left;
    position: relative;
}

@media (max-width: 1200px) {
    .error404 .hero, .page-template-page-regularpage section:after {
        display: block !important;
        left: 80px;
    }    
}

.event .phone,
.event .email {
	display: none !important;
}

.case-study-child .auto-height {
	padding-bottom: 60px;
}

.bg-light p {
	color: #595959;
}

/* Planet First page */
.page-id-32142 #main section:after, .left-break:after,
.page-id-32142 a:before {
    background: #187c5f;
}
.page-id-32142 #main h1 span,
.page-id-32142 #main h2 span,
.page-id-32142 #main a {
    color: #187c5f;
}
.page-id-32142 .contact-form input,
.page-id-32142 .contact-form select,
.page-id-32142 .contact-form textarea {
		border-bottom: 4px solid #187c5f !important;
}
.page-id-32142 input.gform_button.button:hover {
    background: #187c5f;
    border: 2px solid #187c5f;
}

/* Planet First timeline */
.page-id-35166 h2 span {
    color: #187c5f;
}
.page-id-35166 section:after, .left-break:after {
    background: #187c5f;
}


/* Sky Event */

.page-id-34224 a.contact-form-cta {
    padding: 20px !important;
    border: 2px solid #E67920;
    background: #E67920;
    color: #FFFFFF;
}

.blog-child ul li {
    font-size: 16px;
    line-height: 28px;
}


section.half-page:after {
    display: none;
}

section.half-page .mid-align:after {
    content: '';
    width: 75px;
    height: 5px;
    position: absolute;
    background: #E67920;
    bottom: -50px;
    left: 0;
}

section.half-page.reversed .mid-align:after {
        content: '';
        width: 75px;
        height: 5px;
        position: absolute;
        background: #E67920;
        bottom: -50px;
        left: 0;
}

.reversed .row {
  flex-direction: row-reverse;  
}

.reversed .row .half-page-image {
    order: 0;
}

.reversed .row .half-page-content {
    order: 1;
}

.reversed .half-page-image {
	left: 0;
	right: auto;
}

.reversed .mid-align {
	left: 100px;
}

.hasbackground.noparallax {
    background-position: 50% 50%;
}

.hero.freetext h1 strong {
    font-weight: normal;
    color: #E67920;
}

.hero.wide h1 {
    width: 100%;
}

.half-page-content pre {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #E67920;
    margin-top: -20px;
    margin-bottom: 30px;
    margin-left: 2px;
}

.half-page-content em {
    font-style: normal;
    color: #E67920;
}
