*{

    font-size: 18px !important;
    font-family: Raleway, "Open Sans", "Segoe UI", Tahoma, Helvetica, Arial, sans-serif !important;
}

a:link, a:visited, a:active
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

html
{
    min-height: 100%;
}

body
{
    min-height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color:#006699;
    background-image: linear-gradient(#006699, #006699);
}

input[type=text] {
    border: 2px #ccdde3 solid;
    height: 34px;
    background-color: #FBFCFC ;
    border-radius: 0;
    -webkit-appearance: none;
}

input[type=text]:focus {
    border: 2px #0099ff solid;
    background-color: #F8F8F8 ;
}

.checkboxborder {
    border: 2px solid gray;
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    padding: 2px;
}

.checkboxborder img {
    height: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    vertical-align: middle;
}

.radioborder {
    border: 2px solid gray;
    width: 12px;
    height: 12px;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%; 
    padding: 5px; 
    margin: 3px;
}

.radioborder img {
    height: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    vertical-align: middle;
}


/*page layout items*/
.container
{
 border: 0;
 border-style: solid;
 border-color: #0075BC;
    border-radius: 2px;
 margin-left: auto;
 margin-right: auto;
    max-width: 700px;
 background-color: #FFFFFF;
}

.header
{

}

.content
{
    width: 100%;
    display: table;
    overflow: auto;
}

.navbar
{
    padding: 0;
 vertical-align: top;
    display: table-cell;
}

.detail
{
    padding: 10px;
    width: 100%;
 vertical-align: top;
    background-color: #FFFFFF;
    display: table-cell;
}

.options
{
    padding: 6px;
    width: 100%;
    box-sizing: border-box;
    height: 70px;
    clear: both;
    display: table;
}

/* header */
.header > div:first-child {
    height: 160px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    background-size: 150px 150px;
}

.header .frameBackground {
    display: table;
    height: 35px;
    line-height: 35px;
    overflow: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.header img {
    float: left; 
    display: none;
}

.header .frameText {
    font-weight: bold; 
    display: table-cell; 
    line-height: normal; 
    vertical-align: middle; 
    width: 100%;
}

.frameBackground
{
    background-color: #808080;
}

.frameText
{
    color: white;
}

/* options */
.optionsLeft
{
    padding: 5px;
    vertical-align:middle;
    display:table-cell;
    width:auto;
}

.optionsRight
{
    padding: 4px;
    vertical-align:top;
    width: 170px;
    border-left: 1px solid #e6e6e6;
    text-align: center;
    display:table-cell;
}

.optionsRight > p {
    margin: 3px 0 0 0;
}

.iconWrap
{
    display: table-cell; 
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 10px;
}

.iconWrap > img {
    vertical-align: middle;
}

.messageWrap
{
    display: table-cell; 
    vertical-align: middle; 
    font-weight: bold; 
    color: black; 
    padding-left: 10px; 
    padding-right: 3px;
    border-left: 2px solid lightgray;
}

/*navbar items*/
.navbar ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar ul > li
{
    border-bottom: 1px solid #e6e6e6;
    line-height: 1.8em;
    padding: 8px;
}

.navbar ul > li:hover
{
    background-color: #808080;
    /*font-weight: bold;*/
}

/*general items*/
.navButton 
{
  background: #ff9900;
  color: white;
  padding: 5px 15px 5px 15px;
  border: solid 1px #e68a00;
  border-radius: 0;
  -webkit-appearance: none;
  text-decoration: none;
  height: 35px;
width:110px !important;
}

 .navButton:hover 
{
  background: #ffcc80;
  text-decoration: none;
  cursor: pointer;
}

 .navButton:disabled
{
  background: lightgray;
  text-decoration: none;
  border-color: #bfbfbf;
  color: black;
}

 .detailButton
{
  background: #ff9900;
  color: white;
  padding: 5px 14px 5px 14px;
  border: 1px solid #e68a00;
  border-radius: 0;
  -webkit-appearance: none;  
  text-decoration: none;
}

.detailButton:hover
{
  background: #ffcc80;
  text-decoration: none;
  cursor: pointer;
}

/* login */
#divLogin_Creds {
    float: left; 
    padding: 30px 15px 0 35px; 
    width: 295px;
}

#divLogin_Logo {
    float: right; 
    padding: 40px 35px 0 0;
}

#divLogin_Result {
    background-color:whitesmoke;
    border: 5px solid #CC2605; 
    box-sizing: border-box; 
    clear: both; 
    display: none; 
    height: 50px; 
    margin-top: 10px; 
    width: 100%; 
    padding: 3px;
}

#divLogin_NotOpen {
    background-color: whitesmoke;
    border: 5px solid #FFD42A; 
    box-sizing: border-box; 
    clear: both; 
    display: table; 
    height: 90px; 
    margin: 40px 10px 20px 10px; 
}

.loginAlerts {
    font-weight: bold; 
    color: #CC2605; 
    border: 3px solid #CC2605;
    margin: 10px 25px 10px 25px;
    padding: 5px;
    clear: both;
    text-align: center;
    background-color: whitesmoke;
}

#divLogin_Footer {
    clear: both; 
    padding: 15px 35px 25px 35px;
}

.loginFooterHighlight {
    background-color: #FFCD28;
    border: 5px solid gray;
    margin: 20px;
}

#tblLogin {
    border: 2px solid #006699;
    width: 100%;
    list-style: none;
    box-sizing: border-box;
    padding: 0;
    margin-top: 0;
}

#tblLogin li {
    padding: 4px 8px 2px 8px;
}

#tblLogin input[type=text] {
    box-sizing: border-box; 
    width: 100%;
}

#tblLogin li:first-child {
 background-color: #006699;
 color:white;
 font-weight: bold;
 margin: -1px;
    font-size: 16px !important;
    height: 35px;
}

#tblLogin li:last-child {
    padding-top: 10px !important;
    padding-bottom: 5px !important;
}

#divLoginError {
    border-left: none;
    padding-left: 0; 
}

.loginItemText {
    padding-top: 15px !important; 
    font-size: 13px !important;
    font-weight: bold;
}

#imgLock {
    background: url(../images/COMMON-lock-white.png?v=22) no-repeat;
}

#divAuthMKEYLogin {
    font-weight:bold; 
    text-align: center; 
    margin: 60px; 
    padding:20px; 
    background-color: lightblue; 
    border: 1px solid gray; 
    display:none;
}


/* cand vote */
#tblCandVote {
    margin-left: auto; 
    margin-right: auto; 
    width: 90%; 
    max-width: 500px;
}

/* prop vote */
.propContainer {
    margin-left: auto !important; 
    margin-right: auto !important;
    width: 90%;
}

.propProp {
    background-color: #9fbedf;
    border-bottom: 0 solid gray;
    display: table;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

.propProp div:first-child {
    display: table-cell;
    padding: 8px; 
    vertical-align: middle; 

}

.propProp div:nth-child(2) {
    display: table-cell;
    float: right; 
    padding: 5px; 
}

.propItems {
    clear: both;
    padding: 5px;
}


.propItems > div {
    display: table;
}

.propItems input {
    display: table-cell; 
    margin-right: 6px;
}

.propItems label {
    display: table-cell; 
    vertical-align: middle;
}

/* confirm */
.confirm_Grid {
    margin-left:auto !important; 
    margin-right:auto !important;
    max-width: 420px; 
    width: 100%; 
}

#divConfirm_Email {
    background-color: #e6e6e6;
    border: 1px solid gray; 
    box-sizing: border-box; 
    padding: 9px; 
    margin-left: auto !important; 
    margin-right: auto !important; 
    max-width: 420px; 
    text-align: center; 
    width: 100%; 
}

#divConfirm_Consent {
    background: lightyellow;
    border: 1px solid gray; 
    padding: 9px; 
}

#divConfirm_Consent div:first-child {
    display: table-cell;
    float: left; 
}

#divConfirm_Consent div:nth-child(2) {
    display: table-cell;
    float: left; 
    margin-top: 11px;
}
#divConfirm_Consent div:nth-child(3) {
    display: table-cell;
    padding-left: 5px;
}

/* logout */
#divLogout_Voted
{
    padding-left: 6px; 
    font-weight: bold;
    float: none !important; 
    margin: 25px auto 25px auto !important; 
    max-width: 450px; 
   width: 100%;
}

#tblLogout_Voted {
    background-color: white;
    width: 100%;
}

#tblLogout_Voted tr:first-child td:first-child {
    background-color: lightgreen;
}

#divLogout_NotVoted
{
    background-color: lightblue; 
    border: 1px solid gray;
    font-weight: bold;
    height: 30px;
    float: none !important; 
    margin: 25px auto 25px auto !important; 
    max-width: 450px; 
    width: 100%;   
    padding: 25px; 
    text-align: center; 
    vertical-align: middle; 
}

#divLogout_Logo {
    display:none;
}

#divLogout_Extra {
    background-color: whitesmoke; 
    border: 1px solid gray;
    clear: both; 
    margin: 40px 20px 25px 20px; 
    padding: 10px; 
}

/* other */
.memberHeader {
    border-collapse: collapse;
    font-weight: bold; 
    width: 100%;
    margin-bottom: 15px;
}

.memberHeader tr > td:nth-child(odd) {
    background-color: #37541A;
    /*border: 3px solid white;*/
    padding: 5px;
    white-space: nowrap;
    width: 25%;
    color: white;
}

.memberHeader tr > td:nth-child(even) {
    background-color: white;
    border-bottom: 1px dashed #E8E8E8;
    padding: 3px 3px 3px 8px;
    width: 75%;
}

#tblExistingVote {
    width: 100%; 
    max-width: 450px; 
    margin-left: auto; 
    margin-right: auto;
}

.left-highlight {
background-color: #006699;
 border-bottom: none !important;
}

/*table/gridview items*/
.linesTable
{
 border: 2px solid #37541A;
    border-collapse: collapse;
 padding: 0;
 margin: 0;    
}

.linesTable td
{
 border-bottom: 1px solid #bfbfbf;
 padding: 9px;
}

.gridTable
{
 border: 2px solid #37541A;
    border-collapse: collapse;
 padding: 0;
 margin: 0;    
}

.gridTable td
{
 border: 1px solid #ededed;
    border-style: inset;
 padding: 9px;
}

.propertyTable tr > td:nth-child(odd):not([colspan='2']) {
    background-color: whitesmoke;
    border: 1px dotted lightgray;
    border-style: inset;
    font-weight: bold;
    padding-left: 4px;
    text-align: left;
    width: 30%;
}

.propertyTable tr > td:nth-child(even) {
    border: 1px dotted lightgray;
    border-style: inset;
    padding-left: 4px;
    text-align: left;
    width: 70%;
}

.tableHeader
{
    background-color: #006699;
    color: white;
    font-weight: bold;
    padding: 9px;
}

.tableFooter
{
    background-color: #006699;
    color: white;
    font-weight: bold;
    padding: 9px;
}


#divLogin_Logo, #divLogout_Logo { 
    display: none !important; 
}

#divLogout_Voted, #divLogout_NotVoted { 
    float: none !important; 
    margin: 25px auto 25px auto !important; 
    max-width: 450px; 
   width: 100%;
}

#divLogin_Creds { 
    float: none !important; 
    margin: 25px auto 25px auto !important; 
    max-width: 275px; 
   width: 100%;
}


@media all and (max-width: 665px) {
    /* general items */
    /** {
        font-size: 16px !important;
    }*/

    html, body {
        margin: 0;
        height: 100%;
    }

    body {
        background-color: white;
        background-image: none;
    }

    .container {
        border: none;
    }

    .container > .content > .detail {
        display: block !important;
        box-sizing: border-box;
    }


    /* banner header */
    .header > div:first-child {
        display: none;
    }

    .header .frameBackground {
        border-top: none;
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 5px;
        box-sizing: border-box;
    }

    .header img {
        /*display: table-cell !important;*/
        float: none !important;
        display: table-row !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5px;
    }

    .header .frameText {
        padding: 5px;
        text-transform: uppercase;
        display: table-row !important;
        line-height: 1.5 !important;
    }

  .memberHeader tr > td:nth-child(odd) {
      white-space: normal;
  }

    /* login / logout */
    #divLogin_Logo, #divLogout_Logo {
        display: none;
    }

    #divLogin_Creds, #divLogout_Voted, #divLogout_NotVoted {
        float: none !important;
        width: auto !important;
        min-width: 0 !important;
    }

    #divLogin_Creds {
        padding-top: 20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100%;
        max-width: 275px;
        margin-left: auto;
        margin-right: auto;
    }

    #tblLogin, #tblVoted {
        margin-left: auto;
        margin-right: auto;
    }

    #divLogout_Voted, #divLogout_NotVoted {
        margin: 20px !important;
        padding-left: 0;
    }

    #divLogin_Footer {
        padding: 25px;
    }

    .loginAlerts {
        margin: 5px;
    }

    /* navbar */
    .navbar {
        background-color: whitesmoke !important;
        border-right: none !important;
        border-bottom: 1px solid lightgray;
        display: block !important;
        margin-bottom: 10px;
    }

    .navbar ul > li {
        border-bottom: none !important;
        border-right: 1px solid lightgray;
        display: inline;
        line-height: 2.8em;
        white-space: nowrap;
        color:black;
    }

    .navbar ul > li a  {
        color: #0066ff;
        font-weight: bold;
     }

    .navbar ul > li a:hover {

     }

    /* options bar */
    .options {
        border-bottom: 1px solid lightgray;
    }

    .optionsRight {
        width: 110px;
        border-left:none;
    }

    .optionsLeft {
        display: none;
    }

    .iconWrap {
        padding: 0 4px 0 3px;
    }

    .messageWrap {
        padding-left: 2px;
        border-left: none;
    }

    /* other */
    #imgMobile {
        /*display: table-cell !important;*/
max-height: 175px;
margin-top: 5px;
    }

    input[type=text], input[type=text]:hover {
        height: 38px !important;
    }

    .navButton {
        height: 38px;
        width: 100% !important;
    }

    .gridTable td {
        padding: 11px;
    }
}

@media all and (max-width: 400px) {
    img[alt="Candidate Image"] {
      float: none !important;
      display: block !important;
      margin-left: auto !important;
      margin-right: auto !important;
      margin-bottom: 20px;
    }
}

