@charset "utf-8";

/* CSS Document
powersStyles.css
09/30/19
updating the styles to integrate into technovice

*/

div#content {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

ul.errorList {
    font-size: .7em;
}

.wrapper {
    overflow-x: auto;
}

.wrapper table {
    white-space: nowrap
}

table#powers {
    background-color: white;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border: 3px solid gray;
    border-radius: 20px;
    padding: 3px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

table#powers td {
    border: none;
    text-align: right;
    padding-right: 9px;
    font-family: "Courier New", Courier, monospace;
    font-size: .85em;
}

table#powers th {
    color: #F63;
    padding: 10px;
    border: none;
    background-color: #FEF5BC;
}

table#powers tr td:first-child {
    text-align: right;
    padding-right: 25px;
    font-style: italic;
    background-color: #C03;
}

table#powers tr th {
    text-align: right;
    padding-left: 0px;
}

table#powers tr th:first-child.center {
    text-align: center;
}

.fivePercentTarget {
    color: #06F;
    font-weight: bold;
    font-size: 1.05em;
    background-color: #0CF;
    border-radius: 20px;
}

.perfectPower {
    color: #390;
    font-weight: bolder;
    font-size: 1.2em;
    background-color: yellow;
    border-radius: 20px;
}

form fieldset img {
    float: right;
    width: auto;
    height: 200px;
    margin-top: -50px;
    display: none;
}

span#anAlert {
    text-align: center;
    color: red;
    font-style: italic;
    margin-top: 15px;
    font-size: 90%;
}

@media (min-width: 400px) {

    /*gray*/
    form fieldset img {
        display:block;
    }
}


@media (min-width: 800px) {
    span#anAlert {
        display: none;
    }
}
