/*-----------------------------------------------------------
    Global
-----------------------------------------------------------*/

@media only screen and (max-width: 993px) {

    div.currentweek {
        display:block !important;
        float:none;
        width:auto !important;
        margin-bottom:10px;
        padding:5px 10px;
    }

    div._table-responsive #TimesheetTable {
        overflow-x: inherit;
        padding: 20px;
    }

    #TimesheetTable._mw800px {
        min-width: auto !important;
        margin-right:0px;
        padding:10px;
    }


    #TimesheetTable tr th {
        display: none !important;
    }

    #TimesheetTable tbody tr {
        display: block;
        border:1px solid #ccc;
    }

    #TimesheetTable tbody tr.monday td,
    #TimesheetTable tbody tr.tuesday td,
    #TimesheetTable tbody tr.wednesday td,
    #TimesheetTable tbody tr.thursday td,
    #TimesheetTable tbody tr.friday td,
    #TimesheetTable tbody tr.saturday td,
    #TimesheetTable tbody tr.sunday td {
        display: block;
        border: none;
        text-align:left !important;
    }


    #TimesheetTable tr.eventitem td:nth-child(1) a {
        padding-top: 5px;
    }
    #TimesheetTable tr.eventitem td:nth-child(3) a:before {
        content: "Start Time : ";
        font-weight: bold;
        padding-left: 30px !important;
    }
    #TimesheetTable tr.eventitem td:nth-child(4) a:before {
        content: " End Time : ";
        font-weight: bold;
        padding-left: 38px !important;
    }
    #TimesheetTable tr.eventitem td:nth-child(5) a:before {
        content: "Miles : ";
        font-weight: bold;
    }
    #TimesheetTable tr.eventitem td:nth-child(6) a:before {
        content: "Lunch : ";
        font-weight: bold;
    }
    #TimesheetTable tr.eventitem td:nth-child(6) a:after {
        content: " mins";
    }
    #TimesheetTable tr.eventitem td:nth-child(7) a:before {
        content: "Hours : ";
        font-weight: bold;
    }

    #TimesheetTable tr.eventitem td:nth-child(7) a {
        font-weight: bold !important;
    }


    #TimesheetTable tr.eventitem td:nth-child(5) {
        float: left;
    }

    #TimesheetTable tr.eventitem td:nth-child(6) {
        float: left;
    }


    #TimesheetTable tr.eventitem td:nth-child(7) a {
        padding-bottom: 5px;
    }

    .grid [class*="col-"] {
        padding-left: 0 !important;
    }

    .starttime a, .starttime a:link, .starttime a:visited {
        font-size: 15px;
        text-align: left;
        padding-top: 5px !important;
    }
    .endtime a {
        font-size: 15px;
        text-align: left;
        padding-left: 10px !important;
        padding-bottom: 10px !important;
    }

    .totaltime a {
        font-size: 14px;
        text-align: right;
        font-weight:bold;
    }

    ._defaulttheme table._tablerowselect tr td.starttime a:link,
    ._defaulttheme table._tablerowselect tr td.starttime a:visited,
    ._defaulttheme table._tablerowselect tr td.endtime a:link,
    ._defaulttheme table._tablerowselect tr td.endtime a:visited,
    ._defaulttheme table._tablerowselect tr td.totaltime a:link,
    ._defaulttheme table._tablerowselect tr td.totaltime a:visited {
        color: #1874a7 !important;
    }

    #TimesheetTable tr.eventitem td:nth-child(2) a div._inline {
        font-weight: bold;
        display: block !important;
        color: #1874a7 !important;
    }



    #TimesheetTable tbody tr td:nth-child(0) {
        display: block !important;
        background-color:red;
    }

    #TimesheetTable tr.eventitem td:nth-child(0) {
        display: none !important;
    }

    #TimesheetTable,
    #TimesheetTable tbody,
    #TimesheetTable tbody tr,
    #TimesheetTable tbody tr td {
        border: none !important;
    }

    #TimesheetTable {
        border-top: 1px solid #ccc !important;
    }

    #TimesheetTable tbody tr.dateheader {
        border: 1px solid #ccc !important;
        border-top: none !important;
    }

        #TimesheetTable tbody tr.dateheader td div._w200px {
            display: block !important;
            width:100% !important;
        }

        

        
    #TimesheetTable tbody tr.eventitem {
        border: 1px solid #ccc !important;
        border-top:none !important;
    }

    /*#TimesheetTable tbody tr.dateheader td:nth-child(1) div {
        padding: 8px 5px 0px 10px !important;
    }*/

    #MondayDayTotalMask,
    #TuesdayDayTotalMask,
    #WednesdayDayTotalMask,
    #ThursdayDayTotalMask,
    #FridayDayTotalMask,
    #SaturdayDayTotalMask,
    #SundayDayTotalMask {
        position: absolute;
        margin-top: -44px;
        right: 30px;
        font-size: 14px;
        color: #1874a7 !important;
    }

    #MondayDayTotalMask:before,
    #TuesdayDayTotalMask:before,
    #WednesdayDayTotalMask:before,
    #ThursdayDayTotalMask:before,
    #FridayDayTotalMask:before,
    #SaturdayDayTotalMask:before,
    #SundayDayTotalMask:before {
        content: "Total Hours : ";
    }

    ._responsiveonly {
        display:block !important;
        font-weight:bold;
    }

    .submitbutton {
        display: block !important;
        margin-top: 10px !important;
        width: 100%;
    }


    main [class*="col-"] {
        padding-left: 0 !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
    }

    #notesbutton {
        display:none;
    }

    ._responsivepr10 {
        padding-right: 10px !important;
    }
  }