/*iPhone 6 and iPhone 6+ portrait and landscape*/
@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px){
    #logo img{
        width: 14%;
    }
    #logo h2 {
        font-size: 1.2em;
        letter-spacing: 0px;
        padding-top: 15px;
    }
    #logo h5 {
        font-size: 1em;
        margin-top: 0px;
        letter-spacing: 0px;
    }
    #inHeader h2 {
        font-size: 1.2em;
        top: 45%;
        left: 35%;
        width: 27%;
        letter-spacing: -1px;
    }
    #inHeader h2:after {
        display: none;
    }
    #inHeader h5{
        width: 50%;
        left: 24%;
        top: 65%;
        font-size: 0.8em;
        letter-spacing: -0.2px;
    }
    #quickEnquiry{
        background: url("../img/quick-link-bg.jpg") no-repeat 0px 0px #2c2c2c;
    }
    .btn-orange{
        font-size: 10px;
        padding: 5px 10px;
    }
    .job_title{
        font-size: 10px;
    }
    .job_title::after{
        width: 20px;
    }
    .project_dropdown{
        left: 25%;
        position: absolute;
        z-index: 11;
    }
    .project_dropdown .btn-secondary {
        padding: 5px;
        font-size:10px;
    }
    .galleryBg{
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .shadow{
        position: inherit;
    }
    .shadow:before, .shadow:after{
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .gallery {
        margin-left: 12%;margin-bottom: inherit;
    }
    .news_detail .carousel-control-prev {
        right: 18%;
    }
    .news_detail .carousel-control-next, .news_detail .carousel-control-prev {
        top: 64%;
    }
    .newsDate{
        top: 30%;
        left: 34%;
        padding: 5px;
    }
    .project_dropdown{
        display: none;
      }
    #inHeader h2 {
        top: 50%;
    }
    .carousel-control-prev {
        right: 22%;
    }
    .carousel-control-next, .carousel-control-prev{
        width: 10%;
        bottom: 20px;
    }
    #download{
        padding: 2px 0px;
    }
    .careerBg_text p,
    .careerBg_text2 p{
        font-size: 9px;
        line-height: 1.1em;
        margin: 10px 0px 0px 0px;
    }
    .careerBg_text, .careerBg_text2{
        width: 40%;
    }


}
/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen
and (device-width : 375px)
and (device-height : 812px)
and (-webkit-device-pixel-ratio : 3) {
    #quickEnquiry{
        background: url("../img/quick-link-bg.jpg") no-repeat 0px 0px #2c2c2c;
    }
    .btn-orange{
        font-size: 10px;
        padding: 5px 10px;
    }
    .job_title{
        font-size: 8px;
    }
    .job_title::after{
        width: 20px;
    }
    .carousel-control-next {
        right: 4%;
    }
    .carousel-control-next, .carousel-control-prev {
        top: 75%;
        width: 10%;
    }
    .top-links{
        font-size: 8px;
    }

    #logo img{
        width: 7%;

    }
    #logo h2 {
        font-size: 1.2em;
        letter-spacing: 0px;
        padding-top: 15px;
    }
    #logo h5 {
        font-size: 1em;
        margin-top: 0px;
        letter-spacing: 0px;
    }
    #inHeader h2 {
        font-size: 1em;
        top: 53%;
        left: 35%;
        width: 27%;
        letter-spacing: -1px;
    }
    #inHeader h2:after {
        display: none;
    }
    #inHeader h5{
        width: 50%;
        left: 24%;
        top: 75%;
        font-size: 0.8em;
        letter-spacing: -0.2px;
    }
    .project_dropdown{
        display:none;
    }
    .project_dropdown .btn-secondary {
        padding: 5px;
        font-size:10px;
    }
    .galleryBg{
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .shadow{
        position: inherit;
    }
    .shadow:before, .shadow:after{
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .gallery {
        margin-left: 12%;margin-bottom: inherit;
    }
    .news_detail .carousel-control-prev {
        right: 18%;
    }
    .news_detail .carousel-control-next, .news_detail .carousel-control-prev {
        top: 60%;
    }
    .newsDate{
        top: 27%;
        left: 30%;
        padding: 5px;
    }
    #inHeader h2 {
        top: 58%;
    }
    .midText{
        width: 100%;
    }
    #download{
        padding: 2px 0px;
    }

    #statement_tabs h5 {
        font-size: 0.8em;
    }
    .box{
        padding: 0px 0px 10px 0px;
    }
    h2.inTitle{
        padding: 0px 0px 20px 30px;
    }
    .v_box h4::after{
        display: none;
    }
    #statement_tabs .nav-link.active i {
        background: url(../img/down-arrow.gif) no-repeat center 33px;
    }
    .careerBg_text p,
    .careerBg_text2 p{
        font-size: 9px;
        line-height: 1.2em;
        margin: 10px 0px 0px 0px;
    }
    .careerBg_text, .careerBg_text2{
        width: 40%;
    }
    .video{
        width: 100%;
    }
}
/* ----------- iPad 3, 4 and Pro 9.7" ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
    .top-links{
        font-size: 8px;
    }
    #logo img{
        width: 20%;
    }
    #logo h2 {
        font-size: 1em;
        letter-spacing: 0px;
        padding-top: 15px;
    }
    #logo h5 {
        font-size: 0.5em;
        margin-top: 0px;
        letter-spacing: 0px;
    }
    #nav > ul > li > a {
        font-size: 0.5em;
        padding: 15px 7px;
    }
    #nav li a.active {
        border-bottom: 5px #4d0000 solid !important;
    }
    #inHeader h2 {
        font-size: 1.1em;
        top: 53%;
        left: 35%;
        width: 27%;
        letter-spacing: -1px;
    }
    #inHeader h5{
        left: 35%;
        top: 80%;
        font-size: 1em;
        letter-spacing: -1px;
    }
    .galleryBg{
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .shadow{
        position: inherit;
    }
    .shadow:before, .shadow:after{
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .gallery {
        margin-left: 12%;
        margin-bottom: inherit;
    }
    .lightbox__caption{
        bottom: 200px;
    }
    .project_dropdown{
        left:6%;
    }
    .news_detail .carousel-control-prev {
        right: 13%;
    }
    .newsDate{
        top: 38%;
        left: 30%;
    }
    .project_dropdown .show>.btn-secondary.dropdown-toggle,
    .project_dropdown .show>.btn-secondary.dropdown-toggle:focus{
        padding: 8px 20px;
    }
    .project_dropdown .search {
        padding: 5px 20px 7px 20px;
    }
    .careerBg_text p,
    .careerBg_text2 p{
        font-size: 15px;
        line-height: 1.1em;
        margin: 50px 20px 0px 20px;
    }

}
/* ----------- iPad Pro 12.9" ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (-webkit-min-device-pixel-ratio: 2) {
    #nav{
        top: 52%;
        left: 60%;
    }

    #logo h2 {
        font-size: 1.2em;
        padding: 8px 0px 0px 0px;
        letter-spacing: -1px;
     }
    #logo h5{
        font-size: 1em;
        letter-spacing: -1px;
        margin-top: -3px;
    }
    #nav > ul > li > a {
        font-size: 0.8em;
        padding: 23px 11px;
    }
    .top-links {
        font-size: 11px;
    }
    .border-line {
        display: none;
    }
    #inHeader h2 {
        font-size: 1.5em;
        top: 60%;
        left: 32%;
        width: 40%;
        letter-spacing: -1px;
    }
    #inHeader h2, #inHeader h5, #inHeader p {
        font-size: 1.2em;
        top: 45%;
        left: 35%;
        width: 30%;
        letter-spacing: -1px;
        line-height: 1em;
    }
    #inHeader p {
        font-size: 0.7em;
        top: 75%;
        left: 10%;
        width: 75%;
        letter-spacing: 0.5px;
    }
    #inHeader h5{
        top: 65%;
        font-size: 1em;
        letter-spacing: 0.5px;
    }
    .galleryBg{
         background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
     }
    .shadow{
        position: inherit;
    }
    .shadow:before, .shadow:after{
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .gallery {
        margin-left: 12%;
        margin-bottom: inherit;
    }
    .lightbox__caption{
        bottom: 200px;
    }
    .project_dropdown{
        left:15%;
    }
    .news_detail .carousel-control-prev {
        right: 10%;
    }
    .newsDate{
        top: 49%;
        left: 35%;
    }
    .careerBg_text p,
    .careerBg_text2 p{
        font-size: 20px;
        line-height: 1.1em;
        margin: 60px 20px 0px 20px;
    }
}
/* (1280x1024) SXGA Display */
/* Portrait and Landscape */
@media screen and (min-width: 800px) and (max-width: 1280px) {
    #nav {
        left: 60%;
    }
    #nav > ul > li > a {
        padding: 20px 10px;
    }
    #nav > ul > li > a {
        font-size: 0.8em;
    }
    .careerBg_text p,
    .careerBg_text2 p{
        font-size: 20px;
        line-height: 1.2em;
        margin: 80px 20px 0px 20px;
    }
}
/*
@media screen and (min-width: 1024px) {

    #logo h2 {
        font-size: 1.5em;
        letter-spacing: -2px;
    }
    #logo h5 {
        font-size: 1.1em;
        margin-top: -3px;
        letter-spacing: -1px;
    }
    #nav {
        left: 70%;
    }
    #nav > ul > li > a {
        font-size: 0.8em;
        padding: 10px 6px;
        text-align: center;
    }
    #inHeader h2, #inHeader h5, #inHeader p {
        font-size: 1.8em;
        letter-spacing: -2px;
        line-height: 1em;
    }
}*/