@media all and (min-width:320px) and (max-width:767px) {
    /*-------------------------------Final Layout ---------------------------*/
    #side-bar {
        display: none !important;
    }

    #side-bar-mob {
        display: block !important;
        position: relative !important;
        z-index: 1;
    }


    /*.content-section-div {
        position: relative !important;

    }*/

    .content-wrapper {
        padding-left: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        /*margin-bottom: 0 !important;*/
        position: relative !important;
        border-right: 0;
        margin-top: 0px !important;
        height: 100% !important;
    }

    .responsive-popup {
        width: 300px !important;
    }

    #main-wrapper {
        padding-left: 0px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        position: relative !important;
    }

    #header {
        margin-left: 0px !important;
        position: relative !important;
        top: 0 !important;
        margin-top: 0 !important;
        height: auto !important;
    }

    #footer {
        margin-left: 0px !important;
    }
    /*-------------------------------Final Layout End ---------------------------*/
    .x-tree-node {
        color: black;
        font: normal 13px arial,tahoma,helvetica,sans-serif !important;
        white-space: nowrap;
    }

    .i-menu-mob {
        display: block;
        float: left;
        width: 100%;
    }

    .i-menu-web {
        display: none;
    }

    .x-tool1 {
        width: 20px;
        height: 20px;
        float: right;
        margin-right: 8px;
    }

    .i-hearder {
        width: 100%;
        height: auto;
        /*background-image: url(../Images/pipestrade/header/topback_02.jpg);*/
        margin: auto;
        text-align: center;
    }

    .i-header-logo {
        width: 90%;
        height: auto;
        margin: auto;
    }

    .content-section-div {
        max-height: none !important;
    }

    .mon-menu-nav {
        position: absolute;
        background-color: #fff;
        right: 0;
        width: auto;
        padding: 10px;
        border: 1px solid #ccc;
        background-color: #d0d0d0;
        z-index: 111;
    }

    .x-panel-header {
        margin: auto;
    }

    .text_index {
        width: 100% !important;
        min-width: 295px !important;
        border: 2px solid #d0d0d0;
        margin: auto;
        /*margin-top: 30px;*/
    }

    .x-tree-node-el {
        line-height: 18px;
        cursor: pointer;
        padding: 2px 0;
        border-bottom: 1px solid #fff;
        margin-bottom: 2px;
    }

    .content-section-div {
        float: none;
        margin: 40px 0 0 0;
    }

    .responsive-popup {
        width: 261px !important;
        max-width: 305px !important;
        margin-left: -145px !important;
    }


    .table_grant_main table, .table_grant_main th, .table_grant_main td .table_grant_main th, .table_grant_main td {
        border: 1px solid rgb(181, 184, 200);
        border-collapse: collapse;
        vertical-align: top;
        padding-left: 1%;
    }


    .login-header-img {
        width: 100%;
        height: auto;
        margin: auto;
        z-index: 5;
        top: -122px;
    }

    .login-header-img-class {
        width: 100%;
        height: auto;
        margin: auto;
    }

    .logo-new {
        /*width: 90%;*/
        height: auto;
    }

    .x-tree-node-ct li {
        list-style: none !important;
    }

    .main-con-eva-table-top-left {
        width: 90%;
        height: auto;
        float: none;
        clear: none;
        padding: 2% 2% 0 2%;
        margin: auto;
    }

    .main-con-eva-table-top-right {
        width: 90%;
        height: auto;
        float: none;
        clear: none;
        padding: 0 2% 2% 2%;
        margin: auto;
    }

    .main-con-eva-table-top-right-1 {
        width: 100%;
        height: auto;
        float: none;
        clear: none;
    }

    .input-area-top-label1 {
        font: normal 12px tahoma,arial,helvetica,sans-serif;
        width: 40%;
        float: left;
        clear: left;
    }

    .input-area-top-input1 {
        font: normal 12px tahoma,arial,helvetica,sans-serif;
        width: 60%;
        float: left;
        clear: right;
    }


    .col-1-form-inner {
        width: 100% !important;
        float: none;
    }
    /*------------Dues Css Start----------------*/
    .width-per50 {
        width: 100% !important;
        float: none !important;
    }


    .mediatext-left {
        text-align: left !important;
    }

    .padding-left16-media {
        padding-left: 16px !important;
    }

    .padding-left20 {
        padding-left: 0 !important;
    }
    /*------------Dues Css Start----------------*/

    /*------------dues/credit card-----------------*/
    .isa-chng-prfl-fset {
        width: 94% !important;
        height: auto !important;
        margin: 7px auto !important;
        border: 1px solid #B5B8C8 !important;
        padding: 5px !important;
    }

    .k-sub-section {
        width: 94% !important;
    }

    .isa-chng-prfl-fset-area1 {
        width: 100% !important;
        margin: 20px auto !important;
    }

    .isa-chng-prfl-fset-area2 {
        width: 100% !important;
    }

    .k-section {
        width: 100% !important;
    }

    .isa-chng-prfl-area {
        width: 95% !important;
        height: auto !important;
        margin: auto !important;
    }

    .isa-chng-prfl-input, .isa-chng-prfl-input-half, .isa-chng-prfl-input-25, .isa-chng-prfl-input-20 {
        padding: 0 2px 0 2px !important;
    }

    .isa-chng-prfl-lbl, .isa-chng-prfl-lbl-20, .lbl-width-45-70-txt-adjust {
        padding: 3px 2px 0 2px !important;
    }

    .space-icon {
        padding-right: 20px !important;
    }

    .padding-20 {
        padding: 0px;
        -ms-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }
    /*----------------dues/credit card-----------------*/
}

@media all and (min-width:320px) and (max-width:767px) and (orientation: portrait) {
    .logo-new {
        width: 300px !important;
    }

    /*.content-section-div {
        position: fixed;
        height: calc(100% - 90px);
        top: 73px;
    }*/

    .preview-popup-width {
        width: 90% !important;
        top: 20%;
        left: 5%;
    }
}

@media all and (min-width:320px) and (max-width:767px) and (orientation: landscape) {
    .logo-new {
        width: 480px !important;
    }

    /*.content-section-div {
        position: fixed;
        height: calc(100% - 116px);
        top: 100px;
    }*/

    .preview-popup-width {
        width: 90% !important;
        top: 31%;
        left: 5%;
        max-height: 205px;
    }
}

@media all and (min-width:768px) and (max-width:1024px) and (orientation: portrait) {
    .preview-popup-width {
        width: 90% !important;
        top: 20% !important;
        left: 12% !important;
        max-height: 700px !important;
    }
}

@media all and (min-width:768px) and (max-width:1024px) and (orientation: landscape) {
    .preview-popup-width {
        width: 90% !important;
        top: 20% !important;
        left: 21% !important;
        max-height: 500px !important;
    }
}

@media all and (min-width:768px) and (max-width:1200px) {
    .ipad-height-strip {
        height: 505px !important;
    }

    .main-con-eva-table-top-right-1 {
        width: 98% !important;
        float: none !important;
    }

    .col-1-form-inner {
        width: 100% !important;
        float: none;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1100px) {
    .ojtlatest-c-block {
        float: none;
        width: 48%;
        margin-left: 0;
        padding: 1px 0;
    }

    .ojtlatest-input-textarea-div {
        border: 0px solid black;
        float: left;
        width: 43%;
        margin-left: 2%;
        margin-bottom: 2px;
    }

    .ojtlatest-input-textareabtn-div {
        height: auto;
        width: 23%;
        float: left;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 900px) {
    input, select, textarea, .ojtlatest-label, button, .ojtlatest-label2, .ojtlatest-label2a {
        font: normal 10px tahoma,arial,helvetica,sans-serif !important;
    }

    .print_confrim {
        width: 90px !important;
        margin-bottom: 10px;
        margin-left: 52px !important;
        padding: 10px;
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 767px) {
    .ojtlatest-b-block {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        padding: 1px 0;
    }

    .ojtlatest-c-block {
        float: none;
        width: 100%;
        margin-left: 0;
        padding: 1px 0;
    }

    .ojtlatest-a-block {
        float: none !important;
        width: 100% !important;
        padding: 1px 0 !important;
        margin-right: 0;
    }

    .ojtlatest-row {
        width: 96%;
        padding: 0px 2%;
        height: auto;
        /*margin: 5px 0;*/
    }

    .print_confrim {
        width: 90px !important;
        margin-bottom: 10px;
        margin-left: 52px !important;
        padding: 10px;
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .margin-top-5 {
        margin-top: 5px !important;
    }

    .margin-left-30 {
        margin-left: 30% !important;
    }

    .isa-chng-prfl-input-25 {
        width: 70% !important;
    }

    .lbl-width-45-70-txt-adjust {
        width: 70% !important;
    }

    .isa-chng-prfl-lbl-20 {
        width: 30% !important;
    }

    .dob-ast {
        left: 70px !important;
    }

    .gen-ast {
        left: 42px;
    }

    .ojtlatest-multicolumn-left {
        border: 0px solid black;
        float: none;
        height: auto;
        width: 100%;
        margin-right: 0;
        margin-bottom: 2px;
    }

    .ojtlatest-input-textarea-btn {
        font: normal 11px tahoma,arial,helvetica,sans-serif;
    }

    .ojtlatest-multicolumn-right {
        border: 0px solid black;
        float: none;
        height: auto;
        width: 100%;
        margin-left: 0%;
    }

    .ojtlatest-inputdiv2 {
        border: 0px solid black;
        float: left;
        width: 66%;
        margin-left: 8% !important;
    }

    .ojtlatest-label2 {
        border: 0px solid black;
        float: left;
        width: 30%;
        font: normal 12px tahoma,arial,helvetica,sans-serif;
        display: block;
        padding: 3px 0;
        padding-left: 0;
        z-index: 2;
        color: #333;
    }

    .ojtlatest-inputdiv2a {
        border: 0px solid black;
        float: left;
        width: 66%;
        margin-left: 2%;
    }

    .ojtlatest-label2a {
        border: 0px solid black;
        float: left;
        width: 28% !important;
        font: normal 12px tahoma,arial,helvetica,sans-serif;
        display: block;
        padding: 3px 0;
        padding-left: 0;
        z-index: 2;
        color: #333;
        text-align: left !important;
    }

    .dues-th-act-width {
        width: 50px !important;
    }

    .dues-th-width-main {
        min-width: 50px !important;
    }

    .ojtlatest-input-textarea-div {
        border: 0px solid black;
        float: left;
        width: 45%;
        margin-left: 2%;
        margin-bottom: 2px;
    }

    .ojtlatest-input-textareabtn-div {
        height: auto;
        width: 21%;
        float: left;
    }

    .dues-th-width {
        min-width: 50px !important;
    }
}

@media (max-width: 767px) and (min-width: 319px) and (orientation: portrait) {
    .responsive-popup-print {
        width: 216px !important;
        max-width: 305px !important;
        margin-left: -123px !important;
    }

    .close-print {
        margin-left: 152px !important;
    }

    .table_grant_main {
        height: 180px;
    }

        .table_grant_main .wrapper {
            height: 180px;
        }

        .table_grant_main td {
            padding: 3px !important;
        }

    .content-section-div {
        top: 0;
        position: relative !important;
            height: 87%;
    }
}

@media (max-width: 767px) and (min-width: 359px) and (orientation: portrait) {
    .table_grant_main {
        height: 270px;
    }

        .table_grant_main .wrapper {
            height: 270px;
        }
}

@media (max-width: 767px) and (min-width: 413px) and (orientation: portrait) {
    .table_grant_main {
        height: 350px;
    }

        .table_grant_main .wrapper {
            height: 350px;
        }
}

@media (max-width: 767px) and (min-width: 319px) and (orientation: landscape) {
    .table_grant_main {
        height: 180px !important;
    }

        .table_grant_main .wrapper {
            height: 180px !important;
        }

        .table_grant_main td {
            padding: 4px !important;
        }

    .footerPrintBnt {
        margin-bottom: 20px;
    }

    .content-section-div {
        top: 0;
        position: relative;
        height:70%;
    }
}
