body {
    background: #ffffff;
    font-family: 'Rajdhani', sans-serif;
}

/*-------------menu-bar------------------*/


.menu-bar-1stline {
    top: 0;
    padding: 10px 20px;
    height: 45px;
    width: 100%;
    background: #232E5E;
    display: inline-block;
    z-index: 10;
    position: fixed;
}

.menu-bar-1stline i{
    margin: 3px 5px 5px 0;
    color: #ffffff;
}

.social{
    padding-right: 50px;
    float: left;
}

.social i:hover{
    color: #F0A202;
}

.contact{
    float: left;
}

.mail-contact, .phones{
    display: inline-block;
}

.contact p, .contact a{
    color: #ffffff;
    display: inline-block;
    padding-right: 20px;
}

.contact ul{
    padding-left: 0;
}

.contact ul li{
    padding-left: 0;
}

.contact .fa-envelope, .contact i{
    padding-right: 8px;
}

.contact .mailto-link:hover, .contact .mail-address:hover,
.contact .mailto-link .active, .contact .mail-address .active{
    color: #F0A202;
    text-decoration: none;
}

.contact-us-menu {
    float: right;
}

.contact-us-menu p{
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin: auto;
}

.contact-us-menu a:hover{
    text-decoration: none;
}

.contact-us-menu p:hover, .contact-us-menu .active{
    color: #F18805;
    border-bottom: 1px solid #F18805;
}

.menu-bar-2ndline{
    top: 45px;
    padding: 10px 20px;
    height: 70px;
    width: 100%;
    background: #ffffff;
    display: inline-block;
    z-index: 10;
    position: fixed;
}

.logo{
    float: left;
}

.logo img{
    width: 100%;
    transition: 0.2s;
}

.menu-list{
    float: right;
    padding-top: 10px;
    transition: 0.2s;
}

.menu-list ul, .contact-us-menu ul{
    text-align: center;
}

.menu-list li, .contact li{
    font-size: 18px;
    padding-left: 40px;
    list-style: none;
    display: inline;
    font-weight: 400;
    margin: auto;
}

.contact-us-menu li{
    font-size: 18px;
    padding-left: 40px;
    list-style: none;
    display: inline;
    font-weight: 400;
    margin: auto;
    float: left;
}

.menu-list a {
    color: #232E5E;
}

.main-link-sec{
    margin-left: 10px;
}

.menu-list .main-link:hover, .menu-list .active{
    color: #F18805;
    border-bottom: 1px solid #F18805;
    padding-bottom: 1px;
    text-decoration: none;
}

.mobile-menu-list{
    display: none;
    position: absolute;
    background-color: #232E5E;
    width: 100%;
    top: 0;
    left:0;
    height: 100vh;
    padding-top: 10px;
    color: #ffffff;
    font-size: 24px;
}

.mobile-menu-list li{
    list-style: none;
    margin: 10px auto;
}

.mobile-menu-list a{
    color: #ffffff;
}

.menu-button{
    display: none;
    color: #232E5E;
    font-size: 26px;
    right: 30px;
    padding-top: 5px;
    position: absolute;
}

.menu-button:hover{
    color: #F18805; !important;
}

@media only screen and (max-width: 1364px) {
    .menu-list{
        padding-top: 15px;
    }
    .menu-list li{
        font-size: 16px;
        padding-left: 20px;
    }
}

@media only screen and (max-width: 1300px) {
    .contact-us-menu {
        display: none;
    }
    .contact {
        float: right;
    }
    .contact .mail-contact a{
        padding-right: 0 !important
    }
}

@media only screen and (max-width: 1000px) {

    .logo{
        width: 250px;
    }
    .menu-bar-2ndline {
        height: 60px; !important;
    }
    .menu-list {
        display: none;
    }
    .menu-button {
        display: block;
        transition: 0.2s;
    }
    .social{
        padding-right: 10px;
    }
    .contact p, .contact a {
        padding-left: 10px;
    }
    .menu-bar-1stline .fa-envelope{
        padding-left: 10px;
    }
    .dropdown-link{
        font-size: 20px;
        font-weight: 200;
    }
}

@media only screen and (max-width: 630px) {
    .menu-bar-1stline {
        height: 90px;
    }
    .menu-bar-2ndline{
        top: 80px
    }
    .contact .phones{
        position: absolute;
        top: 10px;
        right: -10px;
    }
    .contact .mail-contact{
        position: absolute;
        top: 10px;
        right: 180px;
    }
    .contact .phones li{
       display: block;
       line-height: 8px;
    }
    .contact .phones i{
        padding-right: 0;
    }

}

@media only screen and (max-width: 500px) {
    .contact p, .contact a {
        padding-left: 5px;
    }
}

@media only screen and (max-width: 450px) {
    .menu-bar-1stline i{
        font-size: 20px;
    }
    .contact p, .contact a{
        font-size: 16px;
    }
    .contact i {
        font-size: 18px;
    }
    .contact .mail-contact{
        right: 160px;
    }
}

@media only screen and (max-width: 420px) {
    .menu-bar-2ndline{
        top: 70px
    }
    .menu-bar-1stline i{
        font-size: 18px;
    }
    .contact p, .contact a, .contact i {
        font-size: 12px;
    }
    .contact .mail-contact{
        right: 140px;
    }
}


/*-------------home------------------*/


.clear{
    width: 100%;
    height: 80px;
    display: block;
}

.home-banner {
    position: relative;
}

#video-overlay, #video-overlay-yt, #video-overlay-subpage, #photo-overlay-subpage {
    background-image: url("../img/video-overlay.png");
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    position: absolute;
}

#video-overlay-yt {
    margin-top: 50px
}

#video-overlay-subpage {
    margin-top: -8px
}

#photo-overlay-subpage {
    margin-top: 0;
}

.home-description {
    position: absolute;
    width: 100%;
    bottom: 20%;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    text-transform: uppercase;
}

.home-description h1{
    font-size: 4rem;
    font-weight: 600;
    line-height: 0.8rem;
    padding-bottom: 60px;
}

.home-description .button{
    background: #F18805;
    padding: 10px 40px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 4rem;
}

.home-description .button:hover{
    background: #232E5E;
    text-decoration: none;
}

.about-jjmac{
    padding: 60px 0;
}

.about-jjmac h1{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 42px;
    color: #F18805;
    text-align: center;
    line-height: 42px;
}

.about-jjmac p{
    text-align: center;
    font-size: 22px;
    line-height: 24px;
    font-weight: 300;
}

.icons-row{
    width: 95%;
    margin: auto;
    padding-top: 50px;
    text-align: center;
}

.icons-row h2{
    font-size: 16px;
    color: #F18805;
    padding-top: 20px;
    font-weight: 600;
}

.icons-row .icon{
    display: inline-block;
    margin: auto;
    width: calc(100% / 7 - 15px);
    padding: 30px;
    height: 100%;
    top: 0;
}

.icons-row .icon:hover h2{
    color: #232E5E;
    text-decoration: none;
}

.icons-row a:hover{
    text-decoration: none;
}

.latest-news{
    padding: 80px 60px;
    background-color: #1a265a;
    background-image: url("../img/blueprint.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.latest-news .left-box{
    display: inline-block;
    width: 30%;
}

.latest-news .right-box{
    display: inline-block;
    width: 60%;
    float: right;
}

.latest-news .left-box h2{
    color: #ffffff;
    font-size: 52px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 48px;
    padding-bottom: 50px;
}

.latest-news .left-box p {
    color: #ffffff;
    font-size: 18px;
    line-height: 20px;
    padding-bottom: 160px;
}

.latest-news .left-box a{
    color: #ffffff;
    border-bottom: 1px solid CurrentColor;
}

.latest-news .left-box a:hover{
    color: #F18805;
    text-decoration: none;
}

.latest-news .left-box img{
    width: 50%;
}

.latest-news .left-box .arrow{
    text-decoration: none;
    border-bottom: none;
}

.latest-news .left-box .arrow:hover{
    cursor: pointer;
}

.latest-news .right-box .news{
    margin: 0 20px;
    width: calc(50% - 80px);
    padding: 20px;
    background-color: #ffffff;
    float: right;
}

.latest-news .right-box .news img {
    width: 100%;
    display: block;
    margin: auto;
    opacity: 1;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.latest-news .right-box .news img:hover{
    opacity: 0.5;
    cursor: pointer;
}

.latest-news .right-box .news h3 {
    width: 90%;
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #F18805;
}

.latest-news .right-box .news .news-description h2{
    font-weight: 600;
    font-size: 22px;
    color: #232E5E;
    margin-top: 10px;
}

.latest-news .right-box .news .news-description {
    height: 220px;
    width: 100%;
    background-color: rgba(255,255,255,0.75);
    color: #232E5E;
    display: inline-block;
    font-size: 15px;
    position: relative;
}

.latest-news .right-box .news .news-description a:hover, .latest-news .right-box .news .news-description h2:hover{
    text-decoration: none;
    color: #F18805;
}

.latest-news .right-box .news .news-description .check-more{
    background: #F0A202;
    color: #ffffff;
    padding: 5px 15px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.section-title {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 32px;
    color: #F18805;
    text-align: center;
    padding: 40px 0 20px 0;
    max-width: 90%;
    margin: auto;
}

#colour-section-title{
    background-color: #232E5E;
    color: #ffffff;
    margin: 0 !important;
    max-width: 100%;
    padding-bottom: 40px;
}

.our-clients {
    padding: 20px 0 60px 0;
}

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

.slider {
    background: white;
    height: 100px;
    margin: 30px auto;
    overflow: hidden;
    position: relative;
    width: 90%;
}

.slider::before, .slider::after {
    background: -webkit-gradient(linear, left top, right top, from(white), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 100px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
    display: -webkit-box;
    display: flex;
    width: calc(220px * 14);
    overflow-x: auto;
}

.slider .slide {
    height: 100px;
    width: 250px;
}

.slider .slide img{
    max-width: 80%;
    max-height: 50px;
    margin: auto;
    display:block;
    /*filter: sepia(32%) saturate(1%) hue-rotate(344deg) brightness(105%) contrast(103%);*/
}

.clients-logos{
    padding: 0 50px;
    width: 100%;
    height: 50px;
}

.clients-logos img, .clients-logos-img{
    max-width: 100%;
    max-height: 60px;
    margin: auto;
    display:block;
}


.hr-line{
    border-top: 1px solid rgba(174, 197, 235,0.8);
    width: 70%;
    margin: auto;
    padding: 10px 0;
}

.our-services img{
    width: 100%;
    margin: auto;
    display:block;
}

.services-section{
    background-color: #f8f8f8;
    padding-bottom: 40px;
}

.our-services-section{
    padding-bottom: 20px;
    width: 90%;
    margin: auto;
}

.our-services{
    position: relative;
    display: flex;
    padding: 0;
}

.our-services-element{
    padding: 0 0;
    margin-bottom: 20px;
}

.our-services-element img{
    width: 85%;
    height: 85%;
    object-fit: cover;
}

.bulk-bags{
    position: relative;
    display: flex;
    margin: 0 25%;
    padding: 15px 0;
}

.bulk-bag-element{
    margin-bottom: 35px;
}

.bulk-bags img{
    width: 100%;
    margin: auto;
    display:block;
}

.bulk-bags p{
    font-size: 26px;
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    color: #232E5E;
}

.our-services-description {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 180px;
    width: 75%;
    background-color: rgba(255,255,255,0.95);
    color: #232E5E;
    padding: 15px 15px 15px 20px;
    display: inline-block;
    font-size: 16px;
}

.our-services-text{
    width: 100%;
    height: 120px;
}

.our-services-text h2{
    margin-bottom: 0.2rem;
}

.our-services-description h2{
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    color: #F18805;
}

.our-services-description a:hover, .our-services-description h2:hover{
    text-decoration: none;
    color: #232E5E;
}

.our-services span{
    display: block;
}

.see-more{
    bottom: 0;
    right: 15px;
    position: absolute;
    background: #F0A202;
    color: #ffffff;
    padding: 5px 15px;
    min-width: 100px;
}

.see-more:hover{
    background: #232E5E;
    color: #ffffff;
}

.see-more .see-more-text{
    display: inline-block;
    vertical-align: middle;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.see-more .fa-angle-right{
    display: inline-block;
    vertical-align: middle;
    margin-right: -5px;
    color: #ffffff;
    font-size: 1.6vw;
}

.aggregates{
    width: 100%;
    padding: 0;
    margin: 0;
}

.aggregates-left, .aggregates-right{
    width: 50%;
    padding: 0;
    margin: 0;
}

.aggregates-left img, .aggregates-right img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.aggregates-text{
    padding: 50px 50px;
}

.aggregates-text h1{
    color: #F18805;
    font-weight: 600;
}

@media only screen and (max-width: 1330px) {

    .icons-row h2{
        font-size: 16px;
    }
    .icons-row .icon{
        padding: 30px;
    }
    .latest-news .left-box p{
        padding-bottom: 120px;
    }
    .latest-news .right-box .news .news-description span{
        font-size: 12px;
    }
    .our-services-element{
        height: 350px;
        width: 90%;
        padding: 0 20px 10px 20px;
    }
    .our-services-element img{
        object-fit: cover;
        width: 100%;
        height: 350px;
    }
    .our-services-description {
        font-size: 15px;
        width: 40%;
        margin-right: 20px;
        height: 100%;
    }
    .our-services-description h2{
        padding-bottom: 10px;
    }
}

@media only screen and (max-width: 1080px) {
    .home-banner{
        padding-top: 100px;
    }
    #video-overlay {
        margin-top: -100px; !important;
        background-size: 40%;
    }
    #video-overlay-yt {
        margin-top: -100px;
        background-size: 40%;
    }
    #video-overlay-subpage {
        margin-top: -108px; !important;
        background-size: 40%;
    }
    #photo-overlay-subpage {
        margin-top: -100px; !important;
        background-size: 40%;
    }
    #photo-overlay-carousel, #video-lime-remediation-overlay{
        background-size: 40%;
    }
    .about-jjmac h1{
       font-size: 38px;
    }
    .about-jjmac p{
        font-size: 20px;
    }
    .icons-row h2{
        font-size: 16px;
    }
    .icons-row .icon{
        padding: 20px;
    }
    .latest-news .right-box .news .news-description{
        font-size: 14px;
        line-height: 16px;
    }
    .our-services-description h2 {
        font-size: 20px;
    }
    .our-services-description {
        font-size: 14px;
    }
    .section-title{
        font-size: 28px;
    }
}


@media only screen and (max-width: 1145px) {

    .latest-news .right-box{
        width: 70%;
    }
    .latest-news .left-box p{
        padding-bottom: 100px;
    }
    .latest-news .right-box .news .news-description .news-text h2 {
        font-size: 18px !important;
    }
    .latest-news .right-box .news .news-description .news-text h3 {
        font-size: 16px !important;
    }
    .clients-logos-img{
        max-width: 180px;
        margin-bottom: 20px;
    }
    .home-description h1{
        font-size: 4rem;
    }
    .home-description .button{
        padding: 15px 40px;
        font-size: 24px;
    }
}


@media only screen and (max-width: 964px) {
    .latest-news .left-box {
        width: 20%;
    }
    .latest-news .right-box{
        width: 80%;
    }
    .latest-news .left-box h2{
        font-size: 42px;
        padding-bottom: 40px;
    }
    .latest-news .left-box p{
        font-size: 16px;
        padding-bottom: 60px;
    }
    .latest-news .right-box .news .news-description{
        height: 200px;
    }
    .our-services-description {
        font-size: 13px;
    }
    .aggregates-left, .aggregates-right{
        width: 100%;
    }
    .home-description h1{
        font-size: 3rem;
        line-height: 0.2rem;
    }
}

@media only screen and (max-width: 886px) {
    .about-jjmac h1{
        font-size: 32px;
    }
    .icons-row .icon{
        padding: 10px;
    }
    .about-jjmac p{
        padding-top: 20px;
        font-size: 18px;
    }
    .icons-row h2{
        font-size: 13px;
    }
    .latest-news .right-box .news .news-description{
        font-size: 12px;
        line-height: 14px;
    }
    .latest-news .left-box p{
        font-size: 14px;
        padding-bottom: 40px;
    }
    .latest-news .right-box .news {
        width: calc(50% - 60px);
    }
    .our-services{
        margin: auto;
    }
    .our-services-element{
        max-width: calc(50% - 10px);
    }
    .our-services-description h2{
        font-size: 24px;
        padding-bottom: 10px;
    }
    .our-services-description {
        font-size: 18px;
        width: calc(100% - 40px);
    }
}


@media only screen and (max-width: 768px) {
    .about-jjmac h1{
        font-size: 28px;
        line-height: 32px;
    }
    .about-jjmac p{
        padding-top: 20px;
        font-size: 16px !important;
    }
    .icons-row {
        width: 70%;
    }
    .icons-row .icon{
        padding: 20px;
        width: calc(100% / 3 - 20px);
    }
    .icons-row h2{
        font-size: 14px;
    }
    .latest-news{
        padding: 40px;
        height: 560px;
    }
    .latest-news .left-box {
        width: 100%;
    }
    .latest-news .right-box {
        width: 100%;
    }
    .latest-news .right-box .news {
        display: inline-block;
        margin: 0 30px;
    }
    .latest-news .right-box .news .news-description{
        height: 180px;
    }
    .latest-news .left-box h2{
        padding-bottom: 0;
        display: inline-block;
        font-size: 28px;
        line-height: 32px;
        text-align: center;
        width: 100%;
    }
    .latest-news .left-box p{
        display: inline-block;
        font-size: 16px;
        padding-bottom: 0;
        text-align: center;
        width: 100%;
    }
    .latest-news .left-box img{
        display: none;
    }
   .our-clients {
        padding: 20px 0 40px 0;
    }
    .slider {
        height: 80px;
        margin: 10px 0;
    }
    .slider::before, .slider::after {
        height: 80px;
    }
    .section-title{
        font-size: 28px;
    }
    .clients-logos img, .clients-logos-img, .slide img{
        max-width: 60%;
    }
    .our-services-description {
        font-size: 16px;
    }
    .our-clients .row{
        margin-left: 0; !important;
    }
    .slider .slide-track {
        width: calc(150px * 14);
    }
    .our-clients{
        height: 150px;
    }
    .clients-logos-img{
        max-width: 180px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 678px) {
    .about-jjmac{
        width: 90%;
        margin: auto;
    }
    .icons-row {
        width: 80%
    }
    .latest-news .right-box .news {
        width: calc(50% - 30px);
    }
    .latest-news .right-box .news {
        margin: 0 15px;
    }
    .our-clients{
        height: 230px;
    }
    .our-services-description {
        font-size: 15px;
    }
    .home-description h1{
        font-size: 2.5rem;
        line-height: 0.05rem;
    }
}

@media only screen and (max-width: 575px) {
    .about-jjmac h1{
        font-size: 21px;
        line-height: 25px;
    }
    .about-jjmac p{
        font-size: 13px !important;
        line-height: 18px !important;
        font-weight: 500;
    }
    .icons-row{
        padding-top: 20px;
    }
    .icons-row .icon h2{
        font-size: 12px;
    }
    .latest-news {
        padding: 40px 20px;
        height: 1200px;
    }
    .latest-news .right-box .news {
        display: block;
        float: unset;
        padding: 10px;
        width: calc(100% - 15px);
        margin: 0 auto 30px auto;
    }
    .latest-news .right-box .news .news-description .news-text h2 {
        font-size: 24px !important;
    }
    .latest-news .right-box .news .news-description .news-text h3 {
        font-size: 18px !important;
    }
    .latest-news .right-box .news .news-description .news-text span {
        font-size: 16px !important;
        line-height: 18px;
    }
    .home-description {
        height: 260px;
        bottom: -50px;
    }
    .home-description h1{
        font-size: 2rem;
        line-height: 0;
        padding: 0 0 30px 0;
    }
    .home-description .button{
        padding: 10px 30px;
        font-size: 20px;
    }
    .our-services-description h2 {
        font-size: 18px;
    }
    .section-title{
        font-size: 24px;
    }
    .clients-logos-img{
        max-width: 120px;
        margin-bottom: 20px;
    }
    .our-services-section{
        width: 100%;
    }
    .our-services{
        margin: 0 0 0 15px;
    }
    .our-services-element{
        max-width: calc(100% - 10px);
        height: 350px;
        margin: 0 auto 25px auto;
        padding: 0 5px 10px 5px;
    }
    .our-services-element img{
        object-fit: cover;
        height: 350px;
        width: 100%;
    }
    .our-services-description{
        height: 52%;
        width: calc(100% - 10px);
        margin: auto;
        background-color: rgba(255,255,255,0.8);
    }
    .our-services-description h2{
        font-size: 20px;
        padding-bottom: 0;
    }
    .our-services-description {
        font-size: 14px;
        left: 0;
    }
    .see-more{
        bottom: 10px;
        right: 10px;
    }
    .clients-logos{
        padding: 0 10px;
    }
    .clients-logos-img{
        max-width: 170px;
    }
}

@media only screen and (max-width: 460px) {
    .icons-row {
        width: 90%
    }
}


@media only screen and (max-width: 575px) {
    .latest-news{
        height: 1100px;
    }
}

@media only screen and (max-width: 430px) {
    .home-description {
        height: 280px;
        bottom: -100px;
    }
    .home-description h1{
        font-size: 1.5rem;
        line-height: 0;
        padding: 0 0 20px 0;
    }
    .about-jjmac h1{
        font-size: 17px;
        line-height: 18px;
    }
    .about-jjmac p{
        font-size: 12px !important;
        line-height: 16px !important;
    }
    .icons-row{
        width: 100%;
        padding-top: 20px;
    }
    .icons-row .icon h2{
        font-size: 10px;
    }
    .icons-row .icon{
        padding: 10px;
    }
    .latest-news{
        height: 1000px;
    }
    .latest-news .right-box .news .news-description .news-text span {
        font-size: 14px !important;
        line-height: 16px;
    }
    .home-description .button{
        padding: 10px 30px;
        font-size: 20px;
    }

    #video-overlay {
        margin-top: -100px;
    }

    .our-services-description{
        height: 100%;
    }
}


@media only screen and (max-width: 330px) {

    .home-description {
        height: 300px;
        bottom: -150px;
    }

    .home-description h1{
        font-size: 1.2rem;
        line-height: 0;
        padding: 0 0 15px 0;
    }

    .home-description .button{
        padding: 8px 15px;
        font-size: 12px;
    }
}

/*-------------map------------------*/


#map {
    width: 100%;
    height: 400px;
    background-color: grey;
}

#map2 {
    width: 95%;
    height: 200px;
    background-color: grey;
    position: absolute;
    bottom: 0;
}
.gm-style .controls {
    font-size: 28px;
    /* this adjusts the size of all the controls */
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
    box-sizing: border-box;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 300;
    height: 1em;
    margin: 6px;
    text-align: center;
    user-select: none;
    padding: 2px;
    width: 1em;
}

.gm-style .controls button {
    border: 0;
    background-color: white;
    color: rgba(0, 0, 0, 0.6);
}

.gm-style .controls button:hover {
    color: rgba(0, 0, 0, 0.9);
}

.gm-style .controls.zoom-control {
    display: flex;
    flex-direction: column;
    height: auto;
}

.gm-style .controls.zoom-control button {
    font: 0.85em Rajdhani;
    margin: 1px;
    padding: 0;
}

/*--------------subpage------------------*/

.subpage-banner {
    position: relative;
}

.subpage-description, .subpage-description-photo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255,255,255,0.7);
    color: #232E5E;
    padding: 20px 30px 20px 20px;
    display: inline-block;
    max-width: 550px;
    z-index: 9;
}

.subpage-description h1, .subpage-description-photo h1{
    font-weight: 600;
}

.subpage-description h2, .subpage-description-photo h2{
    color: #F18805;
}


.subpage-description span, .subpage-description-photo span{
    font-size: 18px;
}

.image-desc {
    padding: 15px;
    text-align: center;
    color: #232E5E;
}

.image-container{
    width: 82%;
    margin: auto;
}

.testimonials {
    width: 80%;
    height: 480px;
    margin: auto;
    padding: 10px 0 40px 0;
}

.testimonial-left, .testimonial-right{
    max-width: 50%;
    padding: 20px;
    background: rgba(240,162,2,0.05);
    border: 5px solid #ffffff;
}

.testimonial-long{
    max-width: 100%;
    padding: 20px;
    background: rgba(240,162,2,0.05);
    border: 5px solid #ffffff;
}


.testimonial-left i, .testimonial-right i, .testimonial-long i{
    font-size: 5vw;
}

.testimonial-long i{
    max-width: 8%;
}

.testimonial-text{
    font-size: 22px;
    color: #232E5E;
}

.testimonial-author{
    bottom: 15px;
    left: 20%;
    position: absolute;
    color: #232E5E;
}

.testimonial-long .testimonial-author{
    bottom: 15px;
    left: 10%;
    position: absolute;
    color: #232E5E;
}

.testimonial-name {
    font-weight: 500;
}

.testimonial-title{
    font-size: 14px;
    color: #F18805;
}

@media only screen and (min-width: 1920px) {

    .subpage-description span{
        font-size: 20px;
    }
}

@media only screen and (max-width: 1330px) {
    .testimonial-text{
        font-size: 20px;
    }
}

@media only screen and (max-width: 1080px) {

    .testimonials{
        display: block;
        height: 800px;
    }

    .one-testimonial{
        display: block;
        height: 220px;
    }

    .testimonial-left, .testimonial-right{
        max-width: 100%;
        height: 200px;
    }

    .testimonial-long{
        max-width: 100%;
        height: 350px;
    }

    .testimonial-left i, .testimonial-right i, .testimonial-long i{
        padding: 20px 30px;
    }
    .testimonial-long i{
        max-width: 18%;
    }
    .testimonial-text{
        font-size: 22px;
    }
    .testimonial-author{
        left: 19%;
    }

    .testimonial-long .testimonial-author{
        left: 19%;
    }

}

@media only screen and (max-width: 819px) {

    .subpage-description, .subpage-description-photo {
        position: relative;
        bottom: 8px;
        left: 0;
        width: 100%;
        max-width: 100%;
    }

    .subpage-description{

    }

    .subpage-description-photo{
        top: 0;
    }

    .subpage-description h1, .subpage-description-photo h1{
        font-size: 24px;
    }

    .subpage-description h2, .subpage-description-photo h2{
        font-size: 22px;
    }

    .subpage-description span, .subpage-description-photo span{
        font-size: 16px;
    }
    .testimonial-left i, .testimonial-right i, .testimonial-long i{
        padding:0 10px;
        max-width: 15%;
    }

    testimonial-long{
        height: 400px;
    }

    .testimonial-text{
        max-width: 85%;
        font-size: 20px;
    }
}

@media only screen and (max-width: 660px) {

    .testimonial-long {
        height: 400px;
    }
}

@media only screen and (max-width: 575px) {

    .testimonials {
        width: 90%;
    }

    .testimonial-left i, .testimonial-right i, .testimonial-long i{
        font-size: 28px;
    }

    .testimonial-long{
        height: 250px;
    }

    .testimonial-text{
        font-size: 14px;
    }

    .testimonial-author{
        font-size: 12px;
        left: 21%;
    }

    .testimonial-title{
        font-size: 12px;
        color: #F18805;
    }
}

@media only screen and (max-width: 450px) {

    .testimonial-long{
        height: 320px;
    }
    .testimonial-long .testimonial-author{
        left: 21%;
    }

}


@media only screen and (max-width: 320px) {

    .testimonial-long{
        height: 400px;
    }

    .testimonial-title{
        font-size: 12px;
        color: #F18805;
    }
}


/*--------------about us------------------*/

.about-us-desc{
    margin: auto;
    padding: 30px 0 20px 0;
    width: 80%;
    color: #232E5E;
    text-align: justify;
}

.about-us-desc span{
    font-size: 18px;
}

.about-us-desc img{
    width: 100%;
    margin: 20px auto;
    display: block;
}

.about-us-team{
    width: 50%;
    margin: auto;
    text-align: center;
    padding-top: 20px;
}

.about-us-team img{
    width: 70%;
}

.about-us-team h2{
    padding-top: 10px;
    margin-bottom: -2px;
}

.about-us-team span{
    color: #F18805;
    font-size: 16px;
}

.adv {
    position: relative;
    display: flex;
    margin: 0 10%;
    padding: 15px 0;
}

.adv img{
    width: 100%;
    margin: auto;
    display:block;
}

.adv-description {
    position: absolute;
    bottom: 0;
    left: 0;
    height:60%;
    width: 100%;
    background-color: rgba(255,255,255,0.85);
    color: #232E5E;
    padding: 20px;
    display: inline-block;
    font-size: 16px;
    margin: 10px 10px 0 10px;
}

.adv-description-left{
    width: 70%;
    float: left;
    padding: -0.2vw 1vw 1vw 0.5vw;
}

.adv-description-left h2{
    font-size: 20px;
    font-weight: 600;
}

.adv-description-left span{
    font-size: 16px;
}

.adv-description-right{
    width: 20%;
    float: right;
    position: absolute;
    right: 8%;
    bottom: 20%;
}

.adv-link{
    background-color: #F18805;
    color: #ffffff;
    text-align: center;
    padding: 5px;
}

.adv-link:hover, .adv-description-right a:hover{
    background-color: #232E5E;
    text-decoration: none; !important;
}

@media only screen and (min-width: 1920px) {

    .about-us-desc span,
    .ground-improvements-list{
        font-size: 20px; !important;
    }

    .section-title {
        font-size: 36px;
    }
}

@media only screen and (max-width: 1330px) {
    .about-us-team img{
        width: 100%;
    }

    .adv-description-left span {
        font-size: 15px;
    }
}

@media only screen and (max-width: 1080px) {
    .adv {
        display: flow;
    }

    .adv-work-with-jjmac, .adv-charity{
        padding-bottom: 20px;
        width: 100%;
        height: 350px;

    }

    .adv-description{
        position: relative;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .adv-description-left{
        width: 100%;
    }

    .adv-description-right{
        right: 0;
        width: 40%;
        top: 120px;
    }
}


@media only screen and (max-width: 960px) {
    .john h2, .pat h2{
        font-size: 24px;
    }
}


@media only screen and (max-width: 767px) {
    .adv-work-with-jjmac, .adv-charity{
        height: 500px;
    }

    .adv-description-right{
        top: 100px;
        width: 150px;
    }

    .john, .pat{
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 700px) {
    .adv-work-with-jjmac, .adv-charity{
        height: 450px;
    }
}

@media only screen and (max-width: 500px) {
    .about-us-team{
        width: 80%;
    }

    .adv-work-with-jjmac, .adv-charity{
        height: 380px;
    }
    .adv-description-right {
        top: 140px;
    }
}



@media only screen and (max-width: 370px) {

    .adv{
        margin: -40px auto 0 auto;
        width: 90%;
    }

    .about-us-team{
        width: 90%;
    }

    .about-us-team img{
        font-size: 20px;
    }
    .john span, .pat span{
        font-size: 14px;
    }

    .adv-work-with-jjmac, .adv-charity{
        height: 360px;
    }

    .adv-description-right {
        top: 140px;
        width: 100%;
    }

}


/*--------------ground stabilisation------------------*/


#progress {
    margin: 0 20px 25px 0;
    width: 100%;
    height: 8px;
    position: relative;
    background-color: #f4f4f4;
}

#bar1, #bar2, #bar3, #bar4, #bar5, #bar6, #bar7, #bar8 {
    height: 8px;
    background-color: #F0A202;
    color: #232E5E;
    position: absolute;
    text-align: right;
    line-height: 40px;
}

.percentage-charts {
    float: left;
    margin: 0 25px;
}

.advantages-section{
    width: 90%;
    margin: auto;
    padding-bottom: 40px;
}

.advantages-element{
    background-color: #232E5E;
    color: #ffffff;
    border: 5px solid #ffffff;
    height: 9vw;
}

.advantages-element img{
    background-color: #F0A202;
    border-radius: 50%;
    padding: 5px;
    margin-top: 18px;
}

.advantages-description{
    display: inline-block;
    float:right
}

.advantages-icon{
    display: inline-block;
    float:left;
}

.advantages-description span{
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.ground-cross-section{
    width: 80%;
    margin: auto;
    font-size: 16px;
    font-weight: 500;
    color: #232E5E;
    padding-bottom: 40px;
}

.ground-cross-section img{
    width: 90%;
    display: block;
    margin: auto;
}

.ground-links{
    width: 80%;
    margin: auto;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #232E5E;
    padding-bottom: 80px;
    padding-top: 10px;
    overflow: hidden;
}

.ground-links-video{
    width: 30%;
    float:left;
}


.ground-links-buttons, .ground-links-long-button {
    text-align: center;
    font-weight: 500;
    color: #232E5E;
    padding-bottom: 80px;
    padding-top: 10px;
}

.ground-links-buttons{
    width: 100%;
    float: left;
    font-size: 15px;
    padding-left: 5px;
}

.ground-links-long-button{
    width: 80%;
    font-size: 20px;
    margin: auto;
}

.ground-links-buttons .link{
    border: 2px solid #232E5E;
    height: 80px;
    line-height: 80px;
    margin-bottom: -20px;
    color: #232E5E;
}

.ground-links-long-button .link{
    background-color: #232E5E;
    height: 80px;
    line-height: 80px;
    margin-bottom: -20px;
    color: #ffffff;
}


.ground-links-buttons .link{
    width: calc(33% - 15px);
    float: left;
    margin: 5px;
}

.ground-links-buttons img, .ground-links-long-button img{
    width: 100px;
    padding: 0 20px 0 0;
    vertical-align: middle;
    display: inline-block;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.ground-links-buttons a:hover, .ground-links-long-button a:hover{
    text-decoration: none;
}

.ground-links-long-button .link:hover {
    background-color: #F0A202;
}

.ground-links-buttons .link:hover{
    border: 2px solid #F0A202;
    color: #F0A202;
}

.ground-improvement-section {
    display: inline-block;
    width: 100%;
}

.carousel {
    width:100%;
}

.carousel-item img {
    width:100%;
    min-width:100%;
}

.carousel-indicators {
   z-index: 9;
}

#photo-overlay-carousel {
    background-image: url("../img/video-overlay.png");
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.video-lime-remediation{
    position: relative;
    display:inline-block;
    width: 100%;
}

#videoPlayer{
    position: relative;
    width: 100%;
    z-index: 1;
}

.video-screener{
    margin: auto;
    width: 80%;
}

.video-screener .col-md-6{
    padding: 0 !important;
}

.video-screener video{
    width: 95%;
    display: block;
    padding-bottom: 20px;
}

#video-lime-remediation-overlay{
    background-image: url("../img/video-overlay.png");
    background-repeat: repeat;
    position:absolute;
    width:100%;
    height: calc(100% - 8px);
    z-index: 9;
}

.quick-enquiry-form {
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-image: url("../soil-stabilisation/ground-stabilisation-bg2.jpg");
    height: 800px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ground-improvement-description{
    width: 90%;
    display: block;
    margin: 20px auto;
    text-justify: inter-word;
    position: relative;
    background: rgba(250, 250, 250, 0.8);
    border-radius: 10px;
    font-weight: 500;
    font-size: 18px;
    color: #232E5E;
}

.ground-improvements-list{
    width: 80%;
    margin: auto;
    font-weight: 400;
    font-size: 18px;
    color: #232E5E;
    text-align: justify;
}

.lime-cement{
    text-align: center;
}

.gps, .design-engineering{
    width: 90%;
    margin: auto;
    font-weight: 400;
    font-size: 18px;
    color: #232E5E;
    padding: 40px 40px 80px 40px;
    text-align: justify;
}

.design-description{
    padding-right: 100px;
}

.gps img{
    width: 40%;
    padding-left: 10px;
}

.design-engineering img{
    width: 100%;
}

@media only screen and (min-width: 1920px) {

    .ground-cross-section, .gps, .design-engineering{
        font-size: 20px;
    }
    .advantages-description span,  .ground-improvement-description, .ground-improvements-list  {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1330px) {

    .advantages-description span {
        font-size: 14px;
    }
}


@media only screen and (max-width: 1080px) {
    .advantages-element {
        min-width: 50%;
        height: 120px;
    }

    .advantages-icon img{
        width: 90%;
    }

    .advantages-description span {
        font-size: 16px;
    }

    .ground-links-buttons {
        width: 100%;
    }

    .ground-links .link{
        width: calc(50% - 10px);
    }

    .ground-links-video {
        display: none;
    }

    .ground-cross-section img{
        width: 100%;
    }

    .ground-cross-section{
        font-size: 14px;
    }

    .lime-cement{
        width: 90%;
        margin: auto;
    }

    .gps-images, .design-images{
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .design-images img{
        width: 100%;
    }

    .gps-images img{
        width: 49%;
        margin: auto;
        display: inline-block;
    }

    .gps-description, .design-description{
        min-width: 100%;
        padding: 20px 0;
    }
}

@media only screen and (max-width: 1005px) {
    .ground-improvement-section {
        height: 520px;
    }
}

@media only screen and (max-width: 991px) {
    .quick-enquiry-form {
        height: 1010px;
        }
}

@media only screen and (max-width: 960px) {

    .advantages-icon img {
        width: 100%;
    }

    .advantages-description span {
        font-size: 14px;
    }

    .ground-cross-section {
        font-size: 12px;
    }
}

@media only screen and (max-width: 921px) {
    .ground-improvement-section {
        height: 540px;
    }

    .ground-improvement-description, .ground-improvement-description ul{
        font-size: 16px;
    }

    .percentage-charts{
        min-width: 85%;
    }
}

@media only screen and (max-width: 845px) {
    .quick-enquiry-form {
        height: 1050px;
    }
}
@media only screen and (max-width: 820px) {

    .carousel{
        top:100px;
        margin-bottom: 100px;
    }
    .carousel-indicators {
        top: 40vh;
    }
}


@media only screen and (max-width: 767px) {

    .carousel-indicators {
        top: 30vh;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon{
        position: absolute;
        top: 15vh;
    }

    .about-us-desc span{
        font-size: 16px;
    }

    .advantages-section{
        width: 80%;
    }

    .advantages-element {
        min-width: 100%;
        height: 150px;
    }

    .advantages-icon{
        width: 150px;
    }

    .advantages-description span {
        font-size: 18px;
    }

    .ground-links{
       width: 90%;
    }

    .ground-links .link{
        font-size: 14px;
    }

    .ground-cross-section{
        font-size: 16px;
    }

    .ground-cross-section .text-side{
        padding-top: 30px;
    }

    .ground-improvement-section {
        height: 640px;
    }

    .quick-enquiry-form {
        height: 1550px;
    }

    .video-screener video{
        width: 100%;
    }
}

@media only screen and (max-width: 604px) {

    .ground-links-buttons {
        width: 90%;
        margin: auto;
    }

    .carousel-indicators {
        top: 25vh;
    }

    .ground-links .link{
        width: 100%;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        position: absolute;
        top: 12vh;
    }

}

@media only screen and (max-width: 520px) {

    .carousel-indicators {
        top: 20vh;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        position: absolute;
        top: 10vh;
    }
    .ground-improvement-section {
        height: 690px;
    }
}

@media only screen and (max-width: 500px) {

    .ground-improvement-section {
        height: 720px;
    }
}

@media only screen and (max-width: 440px) {


    .advantages-description span {
        font-size: 16px;
    }

    .ground-links {
        width: 90%;
    }

    .ground-cross-section{
        font-size: 14px;
    }

    .percentage-charts{
        min-width: 100%;
        margin: 0;
    }
}

@media only screen and (max-width: 410px) {
    .carousel-indicators {
        top: 15vh;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        position: absolute;
        top: 8vh;
    }
    .advantages-description span {
        font-size: 14px;
    }
    .ground-improvement-section {
        height: 780px;
    }
}
/*--------------accreditations------------------*/

.accreditations-section{
    padding: 20px 0;
}

.accreditations{
    position: relative;
    display: flex;
    margin: 0 10%;
}

.accreditations img{
    width: 100%;
    margin-left: 10px;
    margin-top: 15px;
    padding-bottom: 40px;
}

.accreditations-element{
    background: #F5F5F5;
    border: 5px solid #ffffff;
    display: block;
}

.accreditations-element:hover{
    background: #D6D6D6;
    border: 5px solid #ffffff;
    cursor: pointer;
}

.accreditations-see-more{
    transform: rotate(-90deg);
    white-space: nowrap;
    position: absolute;
    top: 100px;
    right:-10px;
    font-size: 16px;
}

.accreditations-see-more .fa-caret-right{
    transform: rotate(45deg);
    padding-right: 10px;
    font-size: 28px;
    position: absolute;
    left: -5px;
    top: 3px;
}

.accreditations-see-more a{
    color: #F18805;
}

.accreditations-see-more a:hover{
    color: #232E5E;
}

.accreditations-description h2 {
    font-size: 26px;
    text-align: center;
    font-weight: 600;
    color: #232E5E;
}

.accreditations-description{
    text-align: center;
    color: #F18805;
    font-size: 16px;
}

.accreditations a:hover {
    text-decoration: none; !important;
}

@media only screen and (max-width: 960px) {
    .accreditations-element {
        min-width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .accreditations-see-more{
        right: -30vw;
        top: -5vw;
        font-size: 26px;
    }

    .accreditations-see-more .fa-caret-right{
        font-size: 46px;
        left: -15px;
    }

    .accreditations img {
        width: 90%
    }
}

@media only screen and (max-width: 680px) {

    .accreditations-see-more {
        right: -30vw;
        top: 0;
        font-size: 24px;

    }

    .accreditations img {
        width: 80%
    }
}


@media only screen and (max-width: 500px) {

    .accreditations-see-more {
        right: -30vw;
        top: 2vw;
        font-size: 22px;
    }

    .accreditations-see-more .fa-caret-right{
        font-size: 38px;
    }

    .accreditations img {
        width: 70%
    }
}


@media only screen and (max-width: 450px) {

    .accreditations-see-more {
        font-size: 18px;
    }

    .accreditations-see-more .fa-caret-right{
        font-size: 32px;
    }

}

@media only screen and (max-width: 400px) {

    .accreditations-see-more {
        top: 5vw;
        font-size: 16px;
    }

    .accreditations-see-more .fa-caret-right{
        font-size: 28px;
    }

}

@media only screen and (max-width: 320px) {
    .accreditations-see-more{
        display: none;
    }

    .accreditations img {
        width: 90%
    }

}


/*-------------recent projects------------------*/

.recent-projects img{
    width: 100%;
    margin: auto;
    display:block;
}

.recent-projects-section{
    margin-bottom: 20px;
}

.recent-projects{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 10%;
    gap: 25px;
    align-items: stretch;
}

#recent-title{
    margin-top:-10px;
}

.case-study-table{
    width: 60%;
    margin: auto;
    display: block;
}

.case-study-table table{
   width: 100%;
}

.case-study-table table tr{
    width: 100%;
}

.case-study-table table td.parameter{
    width: 30%;
    font-weight: 900;
    background-color: #f4f4f4;
    padding: 5px;
    border: 1px solid;
    color: #232E5E;
    font-size: 16px;
}

.case-study-table table td.description{
    width: 70%;
    padding: 5px;
    border: 1px solid;
    color: #232E5E;
    font-size: 16px;
}

.case-study-link{
    width: 100%;
    border: 1px solid #232E5E;
    color: #232E5E;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.case-study-link:hover{
    width: 100%;
    border: 1px solid #232E5E;
    color: #ffffff;
    background-color: #232E5E;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.case-study-link a, .case-study-link a:hover{
   text-decoration: none;
}

.case-study-link i{
    padding-right: 15px;
}

.about-us-desc .case-study-image{
    float: left;
    width: 50%;
    padding: 5px;
    display: block;
}

.recent-projects-element{
    border: 1px solid #F0A202;
    padding: 0;
    flex: 1 0 calc(33.333% - 25px);
    margin-bottom: 25px;
    box-sizing: border-box;
}

.recent-projects-element.movie {
    flex: 1 0 calc(66.66% - 25px) !important;
}


.recent-projects-element.movie video{
    margin-top: 8px;
    transform: scaleY(1.03);
}

.recent-projects-element .image{
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.recent-projects-element  img:hover{
    opacity: 0.5;
    cursor: pointer;
}

.recent-projects-text{
    padding: 20px;
}

.recent-projects-description {
    width: 100%;
    background-color: rgba(255,255,255,0.75);
    color: #232E5E;
    display: inline-block;
    font-size: 15px;
}

.recent-projects-description h2{
    font-weight: 600;
    font-size: 22px;
    color: #232E5E;
}

.recent-projects-description a:hover, .recent-projects-description h2:hover{
    text-decoration: none;
    color: #F18805;
}

.recent-projects-description h3{
    font-weight: 600;
    font-size: 18px;
    color: #F18805;
}

.recent-projects-description .see-more{
    background: #F0A202;
    color: #ffffff;
    right: 0;
}

.recent-projects-description .see-more:hover, .latest-news .right-box .news .news-description .check-more:hover{
    background: #232E5E;
    color: #ffffff;
}

.recent-projects-description .see-more .see-more-text, .latest-news .right-box .news .news-description .check-more .see-more-text{
    display: inline-block;
    vertical-align: middle;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    margin-right: 5px;
}

.recent-projects-description .see-more .fa-angle-right, .latest-news .right-box .news .news-description .check-more .fa-angle-right{
    display: inline-block;
    vertical-align: middle;
    margin-right: -5px;
    color: #ffffff;
    font-size: 26px;
}

.project-table{
    padding: 20px 0;
}

.project-table table, .project-table td, .project-table th {
    border: 1px solid #ddd;
    text-align: left;
}

.project-table table{
    width: 100%;
    border-collapse: collapse;
}

.project-table th, .project-table td {
    padding: 15px;
    text-align: left;
}

.project-table td:nth-child(odd) {
    background-color: #f2f2f2;
}

.ground-cross-section .recent-side-text{
    font-size: 18px;
    font-weight: 400;
    text-align: justify;
    padding-right: 5%;
}

.ground-cross-section .recent-left-side-text{
    font-size: 18px;
    font-weight: 400;
    text-align: justify;
    padding-left: 5%;
}

.youtube-bg {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    top: 50px;
}
.youtube-bg::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}
.youtube-bg #player {
    position: absolute;
    top: 60%;
    left: 50%;
    min-width: 180%; /* Adjust this between 150% and 200% */
    min-height: 180%; /* Adjust this between 150% and 200% */
    width: auto;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
}
.youtube-bg h1 {
    color: #ffffff;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 400;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 48px;
}

.youtube-bg span {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 400;
    text-align: left;
    position: absolute;
    top: 570px;
    right: 20px;
}


@media only screen and (max-width: 1270px) {
    .recent-projects-element, .col-md-4 {
        flex: 1 0 calc(50% - 25px);
        max-width: none;
    }
    .recent-projects-element.movie {
        flex: 1 0 calc(100% - 25px) !important;
    }
    .recent-projects-element.movie video {
        margin-top: 0;
        transform: scaleY(1);
    }
    .recent-projects-description {
        height: 200px;
    }
}

@media only screen and (max-width: 1100px) {
    .youtube-bg {
        top: 0;
    }
    .recent-projects-description {
        height: 210px;
    }
}

@media only screen and (max-width: 930px) {
    .recent-projects-description {
        height: 240px;
    }
}

@media only screen and (max-width: 950px) {
    .youtube-bg {
        height: 60vw;
    }
    .youtube-bg span{
        top: 55vw;
    }
}

@media only screen and (max-width: 767px) {
    .recent-projects-element, .col-md-4 {
        flex: 1 0 100%;
    }
    .youtube-bg h1{
        font-size: 32px;
    }
    #recent-title{
        margin-top:-70px !important;
    }
    #recent-hr{
        display: none;
    }
   .youtube-bg h1 {
        font-size: 24px;
    }
    .case-study-table{
        width: 80% !important;
    }
}



/*-------------contact-us------------------*/

.contact-boxes{
    color: #232E5E;
}

.contact-box1{
    background-color: rgba(240,162,2,0.1);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    padding: 20px;
}

.contact-box2{
    padding: 20px 25px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    text-align: justify;
}

.soil-contact-box1{
    border-radius: 10px 0 0 10px;
    background-color: rgba(240,162,2,0.1);
    padding: 40px 25px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    margin-left: 15px;
    margin-right: -15px;
}

.soil-contact-box2{
    padding: 20px 0 20px 25px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    text-align: justify;
}


.contact-details-section{
    width: 80%;
    margin: auto;
    display: block;
    padding: 40px 0;
    line-height: 20px;
}

.contact-details-section h2{
    font-size: 24px;
    font-weight: 600;
    color: #F18805;
    text-align: center;
}


.contact-details-section .fa-phone,  .contact-details-section .fa-envelope ,
.ground-improvement-description .fa-phone,  .ground-improvement-description .fa-envelope{
    color: #F0A202;
    float: left;
    font-size: 15px;
    margin-right: 8px;
    padding: 0.25em 0.25em;
}

.moving-h2{
    padding-top: 5vh;
}

#contact-contact-form .contact-form-wrap {
    margin: 20px auto;
}



@media only screen and (max-width: 1080px) {

    .contact-details-section{
        width: 90%;
    }

}


@media only screen and (max-width: 927px) {

    .moving-h2{
        padding-top: 2vh;
    }
    .contact-box2{
        height: 460px;
    }

}


@media only screen and (max-width: 767px) {

    .contact-details-section{
        width: 100%;
    }

    .moving-h2{
        padding-top: 3vh;
    }

    .contact-box1{
        padding: 30px 50px;
    }
    .soil-contact-box2{
        padding: 20px 20px 20px 25px;

    }
}

@media only screen and (max-width: 530px) {
    .footer .credits{
        margin: 20px 0;
    }
}

@media only screen and (max-width: 519px) {

    .contact-box2{
        height: 500px;
    }
}

@media only screen and (max-width: 354px) {

    .contact-box2{
        height: 550px;
    }
}


/*-------------footer------------------*/

.footer{
    width:100%;
    bottom:0;
    padding: 50px 50px 70px 50px;
    background-color: #f8f8f8;
    display: block;
}

.footer img{
    width: 60%;
}

.legal-jjmac{
    float: left;
    width: 30%;
    display: block;
}

.office{
    padding-top: 30px;
    display: block;
}

.office .copyright{
    font-weight: 700;
    color: #3d4043;
    display: inline-block;
    font-size: 18px;
}

.office .office{
    color: #bfc2cd;
    display: inline-block;
    font-size: 15px;
}

.links{
    float: left;
    display: inline-block;
    width: 52%;
}

.explore-line{
    display: inline-block;
    border-top: 1px solid #F18805;
    width: 22%;
    float: left;
    padding: 0;
    margin: 0;
}

.explore-jjmac{
    display: block;
    float: left;
    width: 35%;
}

.community-social{
    display: block;
    float: left;
}

.explore-jjmac p, .community-social p{
    color: #232E5E;
    font-weight: 700;
    font-size: 18px;
}

.explore-jjmac ul, .community-social ul, .legal ul{
    margin: 0;
    padding: 0;
}

.explore-jjmac li, .community-social li, .legal li{
    font-size: 16px;
    list-style: none;
    font-weight: 400;
    margin: auto;
    color: #3d4043;
}

.explore-jjmac a, .community-social a, .legal a{
    color: #3d4043;
}

.explore-jjmac li a:hover, .community-social li a:hover, .legal li a:hover{
    color: #F18805;  !important;
    border-bottom: 1px solid #F18805; !important;
    padding-bottom: 1px;
    text-decoration: none;
}

.contact-footer{
    display: block;
    float: right;
    width: 18%;
    color: #232E5E;
    font-size: 18px;
}

.contact-footer ul{
    padding: 0;
}

.contact-footer ul li{
    list-style: none;
}

.contact-footer i{
    padding-right: 10px;
}

.contact-footer a{
    color: #232E5E;
}

.contact-footer a:hover{
    color: #F18805;  !important;
    text-decoration: none;
}

.legal-docs{
    width: 100%;
    display: block;
    float: left;
    padding-top: 80px;
}

.legal-docs ul{
    padding: 0;
    margin-bottom: 0;
}

.legal-docs ul li{
    display: inline;
    padding-right: 20px;
}

.legal-docs ul a{
    color: #3d4043;
}

.legal-docs ul a:hover{
    color: #F18805;
    text-decoration: none;
}

.explore-line-2{
    display: inline-block;
    border-top: 1px solid #b0b4b9;
    width: 100%;
    margin-top: 5px;
}

.follow-us{
    padding-top: 10px;
    width: 100%;
    display: block;
}

.follow-us i{
    color: #ffffff;
    background-color:#232E5E;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    padding-top: 15px;
}

.follow-us i:hover{
    background-color:#F18805;
}

.tags, .tags2{
    width: 100%;
    height: 50px;
    text-align: center;
    font-size:20px;
    font-weight: 600;
    display: inline-block;
    background-color: #ffffff;
    padding-top: 10px;
}

.tags2{
    padding-top: 20px;
}

.tags span, .tags2 span{
    margin: 0 2vw;
    width: 100%;
    font-size:20px;
}

.tags a, .tags2 a{
    color: #F18805;
}

.tags a:hover, .tags2 a:hover{
    color: #232E5E;
    text-decoration: none;
}

.footer .credits{
    float: right;
    display: block;
    margin: 10px 0 20px 0;
}

.footer .credits a{
    color: #52b5fb;
    cursor: pointer;
}

.footer .credits a:hover{
    color: #3e1a69;
    text-decoration: none;
    border-bottom: 1px solid CurrentColor;
}


@media only screen and (max-width: 1190px) {
    .tags span{
        font-size: 16px;
    }
}

@media only screen and (max-width: 1080px) {
    .contact-footer ul li{
        font-size: 16px;
    }
    .footer img{
        width: 70%;
    }
    .office .copyright{
        font-size: 16px;
    }
    .office .office{
        font-size: 13px;
    }
    .explore-jjmac p, .community-social p{
        font-size: 16px;
    }
    .explore-jjmac li, .community-social li, .legal li{
        font-size: 14px;
    }
    .legal-docs{
        font-size: 14px;
    }
}

@media only screen and (max-width: 967px) {
    .contact-footer ul li{
        font-size: 14px;
    }
    .footer img{
        width: 70%;
    }
    .office .copyright{
        font-size: 14px;
    }
    .office .office{
        font-size: 12px;
    }
    .explore-jjmac p, .community-social p{
        font-size: 15px;
    }
    .explore-jjmac li, .community-social li, .legal li{
        font-size: 13px;
    }
    .legal-docs{
        font-size: 13px;
    }
    .tags span{
        font-size: 14px;
    }
}


@media only screen and (max-width: 840px) {
    .tags span{
        font-size: 16px;
        margin: 0 3vw;
    }
}

@media only screen and (max-width: 820px) {
    .legal-jjmac{
        width: 40%;
    }
    .links{
        width: 60%;
    }
    .contact-footer{
        padding-top: 20px;
        width: 100%;
    }
    .follow-us i{
        font-size: 14px;
        width: 35px;
        height: 35px;
        padding: 12px 12px;
    }
    .tags span{
        font-size: 16px;
        margin: 0 3vw;
    }

}

@media only screen and (max-width: 640px) {
    .footer {
        padding: 30px 30px 40px 20px;
    }
    .legal-jjmac{
        width: 100%;
    }
    .footer img{
        width: 30%;
    }
    .legal-jjmac .office{
        padding: 10px 0 20px 0;
    }
    .legal-jjmac .office .copyright{
        width: 100%;
    }
    .legal-jjmac .office .office{
        width: 100%;
    }
    .links{
        width: 100%;
    }
    .explore-jjmac {
        width: 45%;
    }
    .contact-footer{
        padding-top: 30px;
    }
    .tags span{
        font-size: 14px;
        margin: 0 3vw;
    }
}

@media only screen and (max-width: 560px) {
    .footer img {
        width: 40%;
    }
}

@media only screen and (max-width: 480px) {
    .footer img {
        width: 50%;
    }
}



.cookie-banner{
    position: fixed;
    bottom: 0;
    background: #ffffff;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    z-index: 99;
    border-top:1px solid #232E5E;
}

.cookie-banner a{
    color: #F18805;
    text-decoration: none;
}

.cookie-banner a:hover{
    text-decoration: underline;
}

.cookie-banner .left-side{
    width: 80%;
}

.cookie-banner .right-side{
    width: 20%;
}

.accept-cookies-btn{
    background-color: #232E5E;
    border:1px solid #232E5E;
    color: #ffffff;
    padding: 10px 30px;
    float: right;
}
.accept-cookies-btn:hover{
    color: #232E5E;
    background-color: transparent;
}
