@media only screen and (max-width : 1024px) {
    .GalleryCaption {
        opacity: 1;
    }
    .MainNav ul li a,
    .MainNav ul li span {
        padding: 20px 10px;
    }

    .MainNav ul li:last-child a,
    .MainNav ul li:last-child span {
        padding: 20px 0px 20px 10px;
    }
    .HalfPageInner h1 {
        width: 100%;
    }
    .Capabilities {
        background-image: url(../media/1064/l-steelroller.jpg?width=1024px);
    }
@media only screen and (max-width : 991px) {
    [class*='Overlap-'] {
        margin-top: 0;
        box-shadow: none;
    }

    .Overlap-Right {
        margin-right: 0;
    }

    .Overlap-Left {
        margin-left: 0;
    }

    .Overlap-Both {
        margin-left: 0;
        margin-right: 0;
    }

    .grid-item {
        width: 50%;
    }

    .StreamText {
    max-height:160px;
}
    .HalfPageInner h1 {
        font-size: 1.5em;
    }
.MainNav ul{
 display:none;
    }
.MobileMenu{
    Display:block;
    text-align: right;
    font-size: 24px;
    padding: 16px;
}
.MobileNav {
    position: fixed;
    background-color: rgba(255,255,255,.9);
    z-index: 100;
    left: 25%;
    right: 0;
    top: 0;
    bottom:0;
    text-align: left;
    padding:100px 0px;
    display: block;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0s, transform .3s ease;
    overflow-y: auto;
}
.MobileNav.Opened{
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: all 0s, transform .3s ease;
    box-shadow: -1px 0px 10px rgba(0, 0, 0, 0.27);
}
 .MobileNav li{
     display:block;
     border-bottom: 1px solid rgba(0,0,0,.15);
     font-size:0;
}
 .MobileNav li a,
 .MobileNav li span{
    padding: 10px 15px 10px 30px;
    display: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
    .MainNav ul li:hover ul.SubNav,
    .MobileNav ul li:hover > ul.SubNav {
        visibility: hidden;
        opacity: 0;
        transform: scaleY(0);
        z-index: -1;
        height: 0;
    }
ul.SubNav.SubOpened {
    visibility: visible !important;
    opacity: 1 !important;
    transform: scaleY(1) !important;
    z-index: 1 !important;
    height: auto !important;
}
 .Has-SubNav a {
    width: 80%;
    margin-right: 0;
    display: inline-block !important;
}
.Has-SubNav i {
    display: inline-block;
    width: 20%;
    line-height: 43px;
    text-align: center;
    margin: auto;
    border-left: 1px solid rgba(0, 0, 0, .15);
    font-size: 16px;
}
  .MobileNav .SubNav{
    background-color: transparent;
    color: inherit;
    font-weight: 400;
    position: relative;
    text-align: left;
    font-size: 12px;
    height:0;
}
  .MobileNav .SubNav li:last-child{
      border:0;
  }
    .MobileNav .SubNav li a,
    .MobileNav .SubNav li:last-child a {
        font-weight: 400;
        padding: 10px 15px 10px 45px;
        color: inherit !important;
        font-size: 14px;
    }
    ul.SubNav li a:hover {
        background-color: transparent;
    }
    .CloseMobile {
     width: 100%;
    position: absolute;
    top: 75px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding: 0px 0px 10px 30px;
    }

    .Capabilities {
        background-image: url(../media/1064/l-steelroller.jpg?width=991px);
    }




    }
@media only screen and (max-width : 768px) {
    [class*='HalfPage-'] {
        height: 50vh;
    }
.flex-container {
    display: block;
    width: 100%;
    min-height: 450px;
}
.flex-item {
    width:100%;
    min-height: 450px;
}
.HeroText {
    font-size: 60px;
}
.HeroText p {
    font-size: 20px;
}
.RequestForm {
    box-shadow: none;
    padding: 30px;
    margin: 0px
}
ul.CustomRadioButton input {
    display: block;
    margin: auto;
}
.Capabilities {
        background-image: url(../media/1064/l-steelroller.jpg?width=768px);
    }
    @media (orientation: landscape) {
        body {
            background-color: black;
            visibility:hidden;
        }
            body:before {
                content: "Please Rotate to Portrait for Best View";
                color: white;
                visibility: visible;
                text-align: center;
                width: 100%;
                display: block;
                margin-top: 25%;
            }
    }
}


@media only screen and (max-width : 498px) {
    .grid-item{
    width: 100%;
    }
    .HeroText {
        font-size: 40px;
    }

        .HeroText p {
            font-size: 16px;
        }
}