.Error {
    color: Red;
    font-size: 85%;
}

.HeaderStyle {
    background: url('https://www.vita.virginia.gov/internal_app_resources/template/Images/headingsBg.gif') repeat-x #344ba2;
}

.HeaderStyle {
    font-family: Verdana,Arial,sans-serif;
    font-size: 95%;
    font-weight: bold;
    font-style: normal;
    color: #ffffff;
    vertical-align: bottom;
    text-align: left;
    padding-bottom: 5px;
    border: none 0;
}

    .HeaderStyle a {
        color: #fff;
        text-decoration: none;
        margin-bottom: 50px;
    }

.RowStyle {
    vertical-align: top;
    border-bottom: 1px solid #999999;
    font-size: 95%;
}

    .RowStyle td {
        vertical-align: top;
        border-bottom: 1px solid #999999;
        font-size: 95%;
    }

.AlternatingRowStyle {
    vertical-align: top;
    background-color: #FFFAFA;
    border-bottom: 1px solid #999999;
    font-size: 95%;
}

    .AlternatingRowStyle td {
        vertical-align: top;
        background-color: #FFFAFA;
        border-bottom: 1px solid #999999;
        border-left: none;
        border-right: none;
        font-size: 95%;
    }

.SelectedRowStyle {
    vertical-align: top;
    background-color: #EEE8AA;
    border-bottom: 1px solid #999999;
    font-size: 95%;
}

    .SelectedRowStyle td {
        vertical-align: top;
        background-color: #EEE8AA;
        border-bottom: 1px solid #999999;
        font-size: 95%;
    }

.EditRowStyle {
    vertical-align: top;
    background-color: #EEE8AA;
    border-bottom: 1px solid #999999;
    font-size: 95%;
}

    .EditRowStyle td {
        vertical-align: top;
        background-color: #EEE8AA;
        border-bottom: 1px solid #999999;
        font-size: 95%;
    }

.FooterStyle {
    vertical-align: top;
    background-color: #EEE8AA;
    font-size: 95%;
    border-bottom: 1px solid #999999;
}

    .FooterStyle td {
        vertical-align: top;
        background-color: #EEE8AA;
        font-size: 95%;
        border-bottom: 1px solid #999999;
    }

.PagerStyle {
    vertical-align: middle;
    background-color: #F5F5F5;
    font-size: 95%;
    border-bottom: 1px solid #999999;
}

    .PagerStyle td {
        vertical-align: middle;
        background-color: #F5F5F5;
        font-size: 95%;
        border-bottom: 1px solid #999999;
    }

.DeletedRecord {
    color: #666;
}

body {
    margin: 0px;
}

#modalPage {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

.modalBackground {
    filter: Alpha(Opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    background-color: #999999;
    position: absolute;
    z-index: 500;
    top: 0px;
    left: 0px;
}

.modalContainer {
    position: absolute;
    width: 300px;
    left: 50%;
    top: 50%;
    z-index: 750;
}

.modal {
    background-color: white;
    border: solid 4px black;
    position: relative;
    top: -150px;
    left: -150px;
    z-index: 1000;
    width: 300px;
    height: 300px;
    padding: 0px;
}

.modalTop {
    width: 292px;
    background-color: #000099;
    padding: 4px;
    color: #ffffff;
    text-align: right;
}

    .modalTop a, .modalTop a:visited {
        color: #ffffff;
    }

.modalBody {
    padding: 10px;
}

.popForm TD {
    text-align: left;
}


a.back-to-top {
    display: none;
    width: 60px;
    height: 60px;
    text-indent: -9999px;
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    background: #27AE61 url("up-arrow.png") no-repeat center 43%;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

img {
    float: right;  
    /*max-height: 50%;*/ 
}
@media all and (max-width: 600px){
  select {
     width: 100%; max-width: 100%;
  }
    img {
      max-width: 100%;
    height: auto;}

    .selectTextBox {
                      max-width:100%;
                  }
    

}
