@media (min-width:320px) {
    /* smartphones, iPhone, portrait 480x320 phones */

    .logo {
        width: 70px;
    }

    .w-100 {
        
        height: 350px;
    }
    .page-section {
        padding: 4rem 0;
    }
    .mob_img_why_us{
        overflow: hidden;
        width: 185%;    
        margin-left: -84%;
    }
    .d-block {
        display: block !important;
        color: black;
        font-weight: 700;
    
    }
}

@media (min-width:481px) {
    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
}

@media (min-width:641px) {
    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
}

@media (min-width:961px) {

    /* tablet, landscape iPad, lo-res laptops ands desktops */
    .page-section {
        padding: 2rem 0;
    }
}

@media (min-width:1025px) {

    /* big landscape tablets, laptops, and desktops */
    .align-items-lg-end {
        -webkit-box-align: end !important;
        -ms-flex-align: end !important;
        align-items: flex-end !important;
    }

    .col-lg-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.66667%;
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .mb-lg-0,
    .my-lg-0 {
        margin-bottom: 0 !important;
    }

    .mr-lg-n100,
    .mx-lg-n100 {
        margin-right: -100px !important;
    }

    .mt-lg-n70,
    .my-lg-n70 {
        margin-top: -70px !important;
    }

    .page-section {
        padding: 2rem 0;
    }

    #mainNav {
        box-shadow: none;
        background-color: #fff;
    }
}

@media (min-width:1281px) {

    /* hi-res laptops and desktops */
    .page-section {
        padding: 2rem 0;
    }

    .logo {
        width: 70px;
    }

    .w-100 {
        width: 100%;
        height: 350px;
        /* opacity: 0; */
    }

    .d-md-block {
        display: block !important;
        color: #000;
        font-size: 30px;
        font-weight: 700;
    }

    .fade.in {
        opacity: 1;
    }

    .modal {
        display: none;
        overflow: auto;
        overflow-y: scroll;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        -webkit-overflow-scrolling: touch;
        outline: 0;
    }

    #quoteform .modal-dialog {
        width: 950px;
        max-width: calc(100% - 30px);
    }

    .modal-content {
        position: relative;
        background-color: #fff;
        border: 1px solid #999;
        border: 1px solid rgba(0, 0, 0, .2);
        border-radius: 6px;
        -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
        box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
        background-clip: padding-box;
        outline: 0;
    }

    #quoteform .modal-header {
        background: #333;
    }

    .modal-header {
        padding: 22px 30px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    #quoteform .modal-header .close {
        margin-top: -3px;
    }

    #quoteform .modal-header .close {}

    #quoteform .modal-title {
        font-weight: 500;
        color: #fff;
        font-size: 18px;
    }

    a:hover {
        text-decoration: none;
    }

    .modal-title {
        margin: 0;
        line-height: 1.42857143;
    }

    .modal-body {
        padding: 20px 30px;
    }

    .modal-header .close {
        padding: 0rem 0rem;
        /* margin: -1rem -1rem -1rem auto; */
    }

    body input[type=submit],
    body button[type=submit] {
        font-size: 18px;
        letter-spacing: 0;
        border-radius: 0;
        background-color: #ef0c14;
        border-color: #ef0c14;
        color: #fff;
        white-space: normal;
        margin-right: 0;
    }

    #mainNav {
        box-shadow: none;
        background-color: #fff;
    }
    .mob_img_why_us{
        overflow: hidden;
        margin-left: unset;
    }

}
