﻿/* if the viewport is equal to 340px or less than that */
@media only screen and (max-width: 414px) {
    .avoid-flex-style {
        flex-basis: unset;
        flex-grow: unset;
    }

    .sm-button-1 {
        padding: 0 5px;
    }

    .sm-mar-top-1 {
        margin-top: 0px;
    }

    .header-wrapper {
        background-color: #00000047;
    }

    .header-bk .navbar-nav > .nav-item {
        padding: 0;
        border-bottom: 1px solid #4b868a;
    }

    .header-bk .navbar-nav > .nav-item {
        font-size: 15px;
        line-height: normal;
    }

    .nic-menu {
        padding: 0 1rem 0 1rem;
    }

    .serviceBox .service-content {
        width: 77% !important;
    }

    .header-banner .header-content-container h4 {
        font-size: 16px;
        line-height: 22px;
        font-weight:400;
    }

    .service-label {
        line-height: 38px;
    }

    .responsive-text-center {
        text-align: center;
    }

    .background-holder {
        height: 50vh;
        position: relative;
        overflow: hidden;
    }

    .product-background-holder {
        height: 50vh;
        position: relative;
        overflow: hidden;
    }

    .banner-bg-style {
        height: 50vh;
    }

    .resp-hidden {
        display: none;
    }

    .banner-small-bg-1 {
        background-image: url("../images/jpg/responsive-banner-1.jpg");
    }

    .banner-small-bg-2 {
        background-image: url("../images/jpg/oasys-payroll-banner.jpg");
    }

    .banner-small-bg-3 {
        background-image: url("../images/jpg/responsive-cloud-banner-1.jpg");
    }

    .banner-small-bg-4 {
        background-image: url("../images/jpg/responsive-business-wide.jpg");
    }

    .banner-small-bg-5 {
        background-image: url("../images/jpg/resp-industry-banner.jpg");
    }

    .banner-small-bg-6 {
        background-image: url("../images/jpg/resp-about-banner.jpg");
    }

    .banner-small-bg-7 {
        background-image: url("../images/jpg/resp-contact-banner.jpg");
    }

    .banner-small-bg-style {
        height: 50vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .hide-smaill-banner-1 {
        display: block;
    }

    .resp-image-banner-1 {
        display: block;
        position: absolute;
        min-width: 1000%;
        min-height: 1000%;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%) scale(0.1);
        z-index: -1;
        width: auto;
    }

    .cloud-azure {
        top: 8px;
        left: 126px !important;
    }

    .azure-logo {
        width: 125px;
    }

    .sm-screen-scroll {
        height:280px;
        overflow:auto;
    }

    .fl-slide-section .fl-slide-module h4 {
        border-top-right-radius: 5px;
        border-bottom-left-radius: 0px !important;
    }

    .banner-logo {
        position: absolute;
        bottom: 0;
        /*width: 75%;*/
        right: auto;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .banner-logo-img {
        font-size: 26px;
        white-space: nowrap;
    }

}

@media only screen and (max-width: 736px) {
    #timeline .date {
        display: block !important;
        top: -22% !important;
        right: 0px;
        left: unset !important;
    }

    #timeline li {
        margin-bottom: 35px !important;
    }
}



    @media (min-width: 576px) {
        .sm-screen-scroll {
            height: 200px;
            overflow: auto;
        }
    }

    @media (min-width: 992px) {
        .sm-screen-scroll {
            height: unset;
            overflow: unset;
        }

        .page-top {
            margin-top: 60px;
            height: auto;
        }

        .logo-width {
            width: 150px;
        }

        .header-bk .navbar-nav > .nav-item > a {
            padding-top: 12px;
            padding-bottom: 12px;
        }

        .header-height-1 {
            height: 60px;
        }

        .nic-menu {
            top: 59px;
            transition: all 0.5s ease-in-out;
        }
    }

    /* if the viewport is equal to 991px or less than that */
    @media only screen and (max-width: 991px) {
        .section-wrapper {
            padding: 40px 0px;
        }

        .align-center-1 {
            padding: 0 2%;
        }

        .responsive-wrapper-1 {
            padding: 0 15px;
        }

        .responsive-wrapper-3 {
            padding: 0 0px;
        }

        /*.header-banner .header-wrapper {
        padding: 0px;
        top: 29px;
    }*/

        .image-banner {
            height: auto;
        }

        .h2-reponsive {
            font-size: 20px;
        }

        .oasys-cloud-sec h4 {
            max-height: 60px;
            overflow: auto;
            font-size: 15px !important;
            /*padding-right: 30px;*/
            line-height: normal !important;
        }

        .oasys-cloud-sec h2 {
            margin-bottom: 3px;
        }

        .oasys-cloud-sec p {
            margin-bottom: 5px;
        }

        .sm-button-1 {
            padding: 0 5px;
        }

        .sm-mar-top-1 {
            margin-top: 0px;
        }

        .header-wrapper {
            background-color: #00000047;
        }

        .responsiv-mar-left-1 {
            margin-left: unset;
        }

        .costom-position-1 {
            position: unset;
            right: unset;
        }

        .max-wid-160px {
            max-width: unset;
        }

        .top-responsive-button {
            position: absolute;
            top: 0px;
            right: 45px;
            height: 52px;
        }

        .contact-form-bottom {
            padding-bottom: 20px;
        }

        /*.page-top {
        margin-top: 35px;
    }*/

        .toggle-button-1 {
            border: none;
            padding: 14px 0;
        }

        .image-banner-2 {
            position: absolute;
            min-width: 1000%;
            min-height: 1000%;
            left: 50%;
            top: 50%;
            transform: translateX(-50%) translateY(-50%) scale(0.1);
            z-index: -1;
            width: auto;
        }

        .image-banner {
            /*position: absolute;
        min-width: 1000%;
        min-height: 1000%;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%) scale(0.1);
        z-index: -1;
        width: auto;*/
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        .resp-menu-drop-1 {
            max-height: calc(100vh - 246px);
            overflow-y: auto;
            overflow-x: hidden;
        }

        .hideonmobile-1 {
            display: none;
        }

        .view-small-screen {
            display: unset;
        }

        .hide-small-screen {
            display: none;
        }

        .cloud-direction {
            margin-left: unset;
            margin: auto;
        }

        .resp-navdrop-bg {
            margin-left: -15px;
            margin-right: -15px;
            padding-left: 15px;
            padding-right: 15px;
            background-color: #226267;
        }

        .resp-hide-border-imp {
            border-bottom: none !important;
        }

        .header-bk .navbar-nav > .nav-item {
            padding: 0;
            border-bottom: 1px solid #4b868a;
            padding: 10px 0;
            margin-right: 0px;
        }

        .service-border-1 {
            border-right: 0 !important;
        }

        .resp-border-bottom {
            border-bottom: 1px solid #4b9b9d;
        }

        .cloud-azure {
            left: auto;
            right: 30px;
            top: 12px;
        }

        .sm-mt-35px {
            margin-top: 35px;
        }

        .section-main-head {
            font-size: 26px;
            line-height: 33px;
        }

        .serviceBox .service-content h3 {
            line-height: 25px;
        }

        .service-box-parrant h5 {
            text-align: left;
            line-height: 25px;
        }

        .logo-width {
            width: 100px;
        }

    }


    @media only screen and (min-width: 415px) and (max-width: 991px) {
        .background-holder {
            height: 70vh;
            position: relative;
            overflow: hidden;
        }

        .product-background-holder {
            height: 70vh;
            position: relative;
            overflow: hidden;
        }

        .banner-bg-style {
            height: 70vh;
            background-size: cover;
            background-attachment: unset;
        }

        .banner-logo {
            right: 21px;
            left: unset;
            transform: unset
        }

        .banner-logo-img {
            text-align: right;
            font-size: 25px;
        }
    }

    /* if the viewport is equal to 991px or greater than that */
    @media only screen and (min-width: 1025px) {
        .resp-nav-mr-left {
            margin-left: 30px;
        }

        .resp-rtlink {
            margin-right: 6px;
        }
    }


    /* ipad only not ipad pro */
    @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
        .background-holder {
            height: 32vh;
            position: relative;
            overflow: hidden;
        }

        .product-background-holder {
            height: 32vh;
            position: relative;
            overflow: hidden;
        }

        .banner-bg-style {
            height: 32vh;
            background-size: cover;
            background-attachment: unset;
        }

        .header-banner .header-content-container h4 {
            font-size: 20px;
        }

        .tab-head-h2 {
            font-size: 22px;
        }
    }

    @media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
        .background-holder {
            height: 60vh;
            position: relative;
            overflow: hidden;
        }

        .product-background-holder {
            height: 60vh;
            position: relative;
            overflow: hidden;
        }

        .banner-bg-style {
            height: 60vh;
            background-size: cover;
            background-attachment: unset;
        }

        .header-banner .header-content-container h4 {
            font-size: 20px;
        }

        .tab-head-h2 {
            font-size: 22px;
        }
    }
    /* ipad only not ipad pro */


    /* Portrait */
    @media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
        .background-holder {
            height: 25vh;
            position: relative;
            overflow: hidden;
        }

        .product-background-holder {
            height: 31vh;
            position: relative;
            overflow: hidden;
        }

        .banner-bg-style {
            height: 30vh;
            background-size: cover;
            background-attachment: unset;
        }
    }

    /* Landscape */
    @media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
        .background-holder {
            height: 45vh;
            position: relative;
            overflow: hidden;
        }

        .product-background-holder {
            height: 55vh;
            position: relative;
            overflow: hidden;
        }

        .banner-bg-style {
            height: 56vh;
            background-size: cover;
            background-attachment: unset;
        }
    }



    /* if the viewport is equal to 1910px or less than that */
    @media only screen and (max-width: 1910px) {

        .responsiv-mar-left-1 {
            margin-left: unset;
        }
    }


    /* Portrait and Landscape */
    @media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
        .navbar-nav > .nav-item .dropdown-menu {
            left: auto;
            right: 22px;
        }
    }

    /* Portrait */
    @media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
        .navbar-nav > .nav-item .dropdown-menu {
            left: auto;
            right: 22px;
        }
    }

    /* Landscape */
    @media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
        .navbar-nav > .nav-item .dropdown-menu {
            left: auto;
            right: 22px;
        }
    }