/* Small screen style sheet for Equigraphix 4/16/2013   DMH */
@media only screen and (max-width: 767px)
{
    #doc {
        min-width: 480px;
        margin-left: 0px;
        padding-left: 0px;
        text-align: left;
        max-width: 660px;
        width: 660px;
    }
    #equiGraph-header {
       background-image: none;
    }
    input[type='text'] {
        font-size: 2em;
        /* font-size:24px; */
    }
    #links {
        min-width: 640px;
        max-width: 640px;
        width: 640px;
        text-align: center;
        margin-left: 5px;
    }
    .racebox {
       width: 98%;
    }
    .racetext {
       width: 98%;
    }
    .raceTitle {
       width: 98%;
    }
    #descBox {
        font-size: 98%;
        height: 90px;
        width: 98%;
        /* for testing touchScroll
        overflow-x: auto;
        overflow-y: hidden;
        height: 200px;
        width: 80px; */
    }

    #smallScreen {
        font-size: 1.2em;
    }
    label {
        font-size: 1.3em;
    }

    /* for the horse Notes Display */
    #horseNotesDisplay li {
        font-size: 20px;
    }
    #notesData thead .horse {
        width: 120px;
    }
    #notesData tbody tr td {
        padding: 1px;
    }
    #notesData table .title {
        overflow-x: hidden !important;
        height: auto;
    }
    #notesData input {
        padding: 2px 2px;
    }
    .notesHeader {
        width: 57%;
    }

    /* End for the horse Notes Display */

    .printIcon,
    .printText,
    .settingsIcon,
    .helpText,
    .helpIcon,
    .helpText,
    #gridDesc,
    #downloadPDFText,
    #equiGraph-tabs {
        display: none;
    }
    .leftAlign {
        width: 35%;
    }

    #bubCapTable1 {
       margin-top: -12px !important;
    }
    /* changes for the Bubble Capper Grid displays */
    #bubCapGridDiv1 .ui-jqgrid .ui-jqgrid-htable th.ui-th-column,
    #bubCapGridDiv1 .ui-jqgrid .ui-jqgrid-htable .ui-th-column-header {
        font-size: 1.2em;
        padding: 3px 2px;
    }
    #bubCapGrid1 tbody tr.jqgrow td,
    #bubCapGrid2 tbody tr.jqgrow td,
    #bubCapGrid3 tbody tr.jqgrow td {
        font-size: 1.2em;
        padding: 4px 2px;
    }
    /* END changes for the Bubble Capper Grid displays */

    /* for the Signals grid with frozen columns */
    #statsTableReg_frozen tbody tr.jqgrow td,
    #statsTableReg_frozen tbody tr td {
        height: 27px;
    }
    #statsTableReg_frozen tbody tr.jqgrow:last-of-type td:first-of-type {
        height: 27px !important;
    }

    .frozen-div table {
        /* height: 54px; */
        border-bottom: none;
    }
    .frozen-div table thead tr:nth-of-type(3) th:nth-of-type(1) {
        height: 28px;
    }
    .frozen-bdiv.ui-jqgrid-bdiv {
        top: 55px !important;
    }

    /* END for the Signals grid with frozen columns */

    .jqplot-table-legend-label {
        font-size: 1.5em;
    }
    .jqplot-table-legend-title {
        font-size: 1.3em;
    }
    #legend1 .jqplot-table-legend-title {
        font-size: 1em;
    }
    #legend1 .jqplot-table-legend-label {
        font-size: 1em;
    }

    /* increase size of close dialog button on titlebar */
    .ui-dialog .ui-dialog-titlebar-close {
        height: 24px;
        width: 28px;
        top: 1.15em;
    }
    .titlebar-close-left {
        right: 71.5em !important;
    }
    .ui-dialog-buttonpane {
        padding-bottom: 0px !important;
    }
    /* For the Speed/Class Display */
    #raceSection {
        position: relative;
        margin-top: -10px;
        overflow: visible;
    }
    #SpeedClass, #HorsePlayers {
        font-size: 1.5em;
    }
    #HorseListGrid span {
        font-size: 1.3em;
    }
    #tableListReg {
        width: 55em;
    }
    /* END For the Speed/Class Display */

    /* for the Speed/Class amd Player selection buttons */
    #playerChoices, #graphChoices, #spdClsChoices {
        display: none;
        padding: 0px 30px 0px 0px !important;
        border-width: 0px !important;
        background-color: transparent !important;
    }

    #playerChoices .ui-button,
    #graphChoices .ui-button,
    #spdClsChoices .ui-button,
    #bubCapBtnSet .ui-button {
        height: 30px;
        border: thin solid black !important;
    }
    #playerChoices .ui-button-text,
    #graphChoices .ui-button-text,
    #spdClsChoices .ui-button-text {
        padding: .6em;
    }
    #bubCapBtnSet .ui-button-text {
        padding: .6em 1em;
    }
    #bubCapBtnSet {
        width: 190px;
        overflow: hidden;
    }
    .gridButtonDiv {
        padding-right: 14px;
    }
    #spdClsChoices input + label,
    #playerChoices input + label,
    #graphChoices input + label {
        background-color: #E1D4C0 !important;
        color: black;
        padding-left: 5px;
    }
    #spdClsChoices input:hover + label,
    #playerChoices input:hover + label,
    #graphChoices input:hover + label {
        background-color: #99BBCC !important;
        /* color: white !important; */
        padding-left: 5px;
    }

    #spdClsChoices input:checked + label,
    #playerChoices input:checked + label,
    #graphChoices input:checked + label {
        background-color: #656565 !important;
        color: white;
        padding-left: 5px;
    }
    .buttonGroupDiv {
        padding-top: 6px !important;
        padding-bottom: 2px !important;
    }
    /* END for the selection buttons */
    #iconsRight {
        float: right;
    }

    .equiGraph-model ul.nav-section {
        padding: 4px 4px 4px 4px;
        position: relative;
    }
    .equiGraph-model ul.nav-section li {
      margin-right: 6px;
    }

    .equiGraph-model ul.nav-section li span,
    .equiGraph-model ul.nav-section li a,
    .equiGraph-model ul.nav-section li a.active,
    .equiGraph-model ul.nav-section li a.inactive {
      width: 44px ;
      height: 44px ;
      padding: 6px !important;
      padding-bottom: 22px !important; /* new */
    }
    .navBarBtnText span,
    .equiGraph-model ul.nav-section li a.active:hover span,
    .equiGraph-model ul.nav-section li a.inactive:hover span {
        margin-bottom: 10px !important;
    }
    /*
    .equiGraph-model ul.nav-section li:nth-of-type(6),
    .equiGraph-model ul.nav-section li:nth-of-type(6) a {
       margin-right: 45px;
       margin-left: 30px;
       width: 64px;
    }
    .equiGraph-model ul.nav-section li:nth-of-type(6) a#helpNav {
        margin: 0px !important;
    } */

    .trackInfoNav, .trackInfoNavMsg {
        height: auto !important;
        width: 15.6em !important;
        text-align: left;
        background-color: #CCC !important;
        margin: 0;
        padding: 3px 6px 3px 4px !important;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
         border-radius: 2px;
    }
    .outerNavDiv {
        width: 300px;
    }
    .trackInfoNav {
        font-weight: bold !important;
        font-size: 1.3em !important;
    }
    .equiGraph-model .trackInfoNavMsg {
        font-weight: normal !important;
        font-size: 0.9em !important;
        text-align: left;
        padding: 2px 0px 2px 2px !important;

    }


    /*
    .equiGraph-model ul.nav-section li:nth-of-type(6) a.active:hover,
    .equiGraph-model ul.nav-section li:nth-of-type(6) a.inactive:hover,
    .equiGraph-model ul.nav-section li:nth-of-type(6) {
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center !important;
        width: 65px !important;
    } */

    /* For the Races and PPs page - temporary */
    .middle {
       width: 50%;
    }
    #equiGraph-middle .bd div {
        min-width: 20%;
    }
    #equiGraph-middle .bd ul.leader-categories li {
        width: 28%;
    }

    #equiGraph-middle .bd ul.leader-categories li:first-child {
        width: 34%;
    }
    #equiGraph-middle .bd li.leader img {
        height: 70px;
        width: 70px;
    }
    #downloadPDFText {
       width: 100%;
    }
    /* End For the Races and PPs page - temporary */

    .navBarBtn {
        float: right;
        background-color: #E1D4C0 !important;
        border-width: thin;
        border-style: solid;
        border-color: black;
        height: 57px;
        width: auto !important;
        padding: 4px 0px 0px 0px !important;
        margin-top: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
         border-radius: 5px;
        /*margin-left: 5px; */
    }
    .navBarBtnText {
        width: auto;
        text-align: center;
        font-size: 115%;
        font-weight: normal !important;
        color: black !important;
    }
    .navBarBtn:hover, .navBarBtnText:hover {
        font-weight: bold !important;
        cursor: pointer;
    }
    .navBarBtnText span {
        display: none !important;
    }
    .leftAlignRaceText,
    .showFullText,
    .noWrapText {
        width: auto;
    }
    .list_carousel {
        width: 280px;
        float: left;
        left: 5px;
    }
    /* BEGIN For the Race Info Dialog Box */

    .trackInfo, .raceInfoText {
        text-align: left;
        font-weight: bold;
        border: #565656 solid 2px;
        height: auto;
        background-color: #AAA;
        margin: 0;
        padding: 4px;
    }
    .trackInfo {
        font-size: 1em;
    }
    .raceInfoMiddle {
    /*    font-size: 1.4em; */
        font-size: 1.1em;
        font-weight: bold;
        border: #565656 solid 2px;
        height: auto;
        background-color: #CCC;
        margin: 0;
        padding: 4px;
        min-height: 60px;
        overflow: auto;
        border-top: none;
        border-bottom: none;
    }
    .raceListItem {
        font-size: 70% !important;
        font-weight: bold;
        border: #565656 solid 2px;
        background-color: #CCC;
        margin: 0;
        padding: 4px;
        border-top: none;
        border-bottom: none;
        overflow: auto;
    }
    .raceInfoLeft {
        position: relative;
        text-align: left;
        float: left;
        width: 55%;
    }
    .raceInfoRight {
        position: relative;
        text-align: right;
        float: right;
        width: 45%;
    }
    .raceInfoDialog {
        margin: 0px !important;
        padding: 0 !important;
    }
    .biggerFontBold {
        font-size: 120%;
        font-weight: bolder;
    }
    .mediumFontBold {
       font-size: 100%;
       font-weight: bold;
    }
    .raceInfoText {
        font-size: 1.2em !important;
    }
    /* END For the Race Info Dialog Box */

    .evenRace, .oddRace {
        text-align: left;
        font-size: 1.1em !important;
        font-weight: bold;
        border: #565656 solid 2px;
        height: auto;
        margin: 0;
        padding: 4px 5px 1px 5px;;
        border-top: none;
        cursor: pointer;
        overflow: auto;
    }
    .font2em {
        font-size: 2em !important;
    }
    .evenRace:first-child {
        border-top: #565656 solid 2px;
    }
    .evenRace {
        background-color: #BBB;
    }
    .oddRace {
        background-color: #D1D1D1;
    }
    .checkMark {
        position: relative;
        top: -9px;
    }

    /* Added for the "data loading" image */
    #loading {
      width: 100% !important;
      height: 100% !important;
      top: 0px;
      left: 0px;
      position: fixed;
      display: block;
      background:url(/images/loading54x55.gif) no-repeat center center;
      opacity: 0.7;
      background-color: #fff;
      z-index: 99;
      text-align: center;

    }
}










