﻿/* Responsive table on the mobile phone*/



@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 800px) {

    /*frmOutcomeOnDemand.aspx=> Governance*/

    /* Force table to not be like tables anymore */
    #tblOutcomeCustomerTable table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblOutcomeCustomerTable thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblOutcomeCustomerTable tr {
        border: 1px solid #ccc;
    }

    #tblOutcomeCustomerTable td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width:100% !important;
    }

        #tblOutcomeCustomerTable td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblOutcomeCustomerTable td:nth-of-type(1):before {
            content: "Name";
        }

        #tblOutcomeCustomerTable td:nth-of-type(2):before {
            content: "Job title";
        }




    /*frmOutcomeOnDemand.aspx=> Activities*/
    /* Force table to not be like tables anymore */
    #activityGridId table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #activityGridId thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #activityGridId tr {
        border: 1px solid #ccc;
    }

    #activityGridId td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #activityGridId td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #activityGridId td:nth-of-type(1):before {
            content: "DEP";
        }

        #activityGridId td:nth-of-type(2):before {
            content: "NAME";
        }

        #activityGridId td:nth-of-type(3):before {
            content: "RISK";
        }

        #activityGridId td:nth-of-type(4):before {
            content: "DUR";
        }

        #activityGridId td:nth-of-type(5):before {
            content: "COST DRIVER";
        }

        #activityGridId td:nth-of-type(6):before {
            content: "VOLUME";
        }

        #activityGridId td:nth-of-type(7):before {
            content: "FTES";
        }


    /*frmOutcomeOnDemand.aspx=> Facilities*/
    /* Force table to not be like tables anymore */
    #tblOutcomeFacility table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblOutcomeFacility thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblOutcomeFacility tr {
        border: 1px solid #ccc;
    }

    #tblOutcomeFacility td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblOutcomeFacility td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/

        #tblOutcomeFacility td:nth-of-type(1):before {
            content: "NAME";
        }

        #tblOutcomeFacility td:nth-of-type(2):before {
            content: "Cost driver";
        }

        #tblOutcomeFacility td:nth-of-type(3):before {
            content: "Volume";
        }

        #tblOutcomeFacility td:nth-of-type(4):before {
            content: "Cost";
        }

    /*frmOutcomeOnDemand.aspx=> Producers*/
    /* Force table to not be like tables anymore */
    #tblOutcomeProducers table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblOutcomeProducers thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblOutcomeProducers tr {
        border: 1px solid #ccc;
    }

    #tblOutcomeProducers td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblOutcomeProducers td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/

        #tblOutcomeProducers td:nth-of-type(1):before {
            content: "NAME";
        }

        #tblOutcomeProducers td:nth-of-type(2):before {
            content: "Job title";
        }

        #tblOutcomeProducers td:nth-of-type(3):before {
            content: "Work days";
        }

        #tblOutcomeProducers td:nth-of-type(4):before {
            content: "% free";
        }

        #tblOutcomeProducers td:nth-of-type(5):before {
            content: "% allocated";
        }

        #tblOutcomeProducers td:nth-of-type(6):before {
            content: "Cost";
        }


    /*frmAudiTrail.aspx=> Audit*/
    /* Force table to not be like tables anymore */
    #tblAudit table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblAudit thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblAudit tr {
        border: 1px solid #ccc;
    }

    #tblAudit td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        width: 100% !important;
    }

        #tblAudit td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblAudit td:nth-of-type(1):before {
            content: "DATE";
        }

        #tblAudit td:nth-of-type(2):before {
            content: "TIME";
        }

        #tblAudit td:nth-of-type(3):before {
            content: "PERSON";
        }

        #tblAudit td:nth-of-type(4):before {
            content: "TABLE FIELD";
        }

        #tblAudit td:nth-of-type(5):before {
            content: "PREVIOUS VALUE";
        }

        #tblAudit td:nth-of-type(6):before {
            content: "NEW VALUE";
        }



    /*frmDefinitions.aspx=> Co-ordinates*/
    /* Force table to not be like tables anymore */
    #tblCoordinatesMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblCoordinatesMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblCoordinatesMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblCoordinatesMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblCoordinatesMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblCoordinatesMaintenance td:nth-of-type(1):before {
            content: "OUTCOME";
        }

        #tblCoordinatesMaintenance td:nth-of-type(2):before {
            content: "HORIZONTAL";
        }

        #tblCoordinatesMaintenance td:nth-of-type(3):before {
            content: "VERTICAL";
        }

        #tblCoordinatesMaintenance td:nth-of-type(4):before {
            content: "WIDTH";
        }

        #tblCoordinatesMaintenance td:nth-of-type(5):before {
            content: "HEIGHT";
        }


    /*frmDefinitions.aspx=> Facility type*/
    /* Force table to not be like tables anymore */
    #tblFacilityMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblFacilityMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblFacilityMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblFacilityMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        width: 100% !important;
    }

        #tblFacilityMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblFacilityMaintenance td:nth-of-type(1):before {
            content: "NAME";
        }

        #tblFacilityMaintenance td:nth-of-type(2):before {
            content: "DEFINITION";
        }

        /*#tblFacilityMaintenance td:nth-of-type(3):before {
            content: "MULTIPLE/DIVIDE";
        }*/


    /*frmDefinitions.aspx=> LABEL*/
    /* Force table to not be like tables anymore */
    #tblLabelMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblLabelMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblLabelMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblLabelMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblLabelMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblLabelMaintenance td:nth-of-type(1):before {
            content: "PAGE";
        }

        #tblLabelMaintenance td:nth-of-type(2):before {
            content: "FIELD";
        }

        #tblLabelMaintenance td:nth-of-type(3):before {
            content: "LABLE";
        }

        #tblLabelMaintenance td:nth-of-type(4):before {
            content: "TOOLTIP";
        }

    /*frmDefinitions.aspx=> pERIOD*/
    /* Force table to not be like tables anymore */
    #tblPeriodMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblPeriodMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblPeriodMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblPeriodMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        width: 100% !important;
    }

    #tblPeriodMaintenance td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

        /*
	Label the data
	*/
    #tblPeriodMaintenance td:nth-of-type(1):before {
        content: "START ON";
    }

    #tblPeriodMaintenance td:nth-of-type(2):before {
        content: "END ON";
    }

    #tblPeriodMaintenance td:nth-of-type(3):before {
        content: "WORKING DAYS";
    }

    /*frmDefinitions.aspx=> Perspectives*/
    /* Force table to not be like tables anymore */
    #tblPerspectiveMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblPerspectiveMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblPerspectiveMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblPerspectiveMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblPerspectiveMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblPerspectiveMaintenance td:nth-of-type(1):before {
            content: "NAME";
        }

        #tblPerspectiveMaintenance td:nth-of-type(2):before {
            content: "QUESTION";
        }

    /*frmDefinitions.aspx=> sKILL*/
    /* Force table to not be like tables anymore */
    #tblSkillMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblSkillMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblSkillMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblSkillMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblSkillMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblSkillMaintenance td:nth-of-type(1):before {
            content: "NAME";
        }

        #tblSkillMaintenance td:nth-of-type(2):before {
            content: "DEFINITION";
        }

    /*frmDefinitions.aspx=> STRATEGY MAP*/
    /* Force table to not be like tables anymore */
    #tblStrategyMapMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblStrategyMapMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblStrategyMapMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblStrategyMapMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 30%;
        width: 100% !important;
    }

        #tblStrategyMapMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblStrategyMapMaintenance td:nth-of-type(1):before {
            content: "FILE";
        }

        #tblStrategyMapMaintenance td:nth-of-type(2):before {
            content: "WIDTH";
        }

        #tblStrategyMapMaintenance td:nth-of-type(3):before {
            content: "HEIGHT";
        }

        #tblStrategyMapMaintenance td:nth-of-type(4):before {
            content: "ACTIVE";
        }

    /*frmDefinitions.aspx=> THEME*/
    /* Force table to not be like tables anymore */
    #tblThemeMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblThemeMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblThemeMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblThemeMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 36%;
        width: 100% !important;
    }

        #tblThemeMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblThemeMaintenance td:nth-of-type(1):before {
            content: "THEME";
        }

        #tblThemeMaintenance td:nth-of-type(2):before {
            content: "PRIORITY";
        }
        #tblThemeMaintenance td:nth-of-type(3):before {
            content: "RGB CODE";
        }



    /*frmDefinitions.aspx=> Messages*/
    /* Force table to not be like tables anymore */
    #tblMsgMaintenance table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tblMsgMaintenance thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tblMsgMaintenance tr {
        border: 1px solid #ccc;
    }

    #tblMsgMaintenance td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        width: 100% !important;
    }

        #tblMsgMaintenance td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*
	Label the data
	*/
        #tblMsgMaintenance td:nth-of-type(1):before {
            content: "MESSAGE ID";
        }

        #tblMsgMaintenance td:nth-of-type(2):before {
            content: "MESSAGE";
        }



}

.ui-dialog {
    top: 40% !important;
}
