/* 
    Document   : resistor
    Created on : 18.10.2012, 20:51:27
    Author     : markus
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

body {
    margin: 0;
    padding: 0;
    font-family : Arial, Helvetica, sans-serif;
}

@media all and (max-width:3840px) {
    body {
        font-size: 1.188em;
    }
}
@media all and (max-width:2560px) {
    body {
        font-size: 1.125em;
    }
}
@media all and (max-width:1440px) {
    body {
        font-size: 1.000em;
    }
}
@media all and (max-width:1280px) {
    body {
        font-size: 0.938em;
    }
}
@media all and (max-width:800px) {
    body {
        font-size: 0.875em;
    }
}
a { 
text-decoration:none; 
} 
      h1 {
        color: #0033cc;
	font-size : 1.5em;
      }

header {
    position: relative;
    left: 50%;
    width: 530px;
    margin-left: -270px;
    margin-top: 40px;
}

header h1 {
    margin: 0;
    margin-left: 12px;
    font-size: 1.5em;
    color: #0033cc;
    margin-bottom: 20px;
    text-align: center;
}

footer {
    font-weight: bold;
    color: white;
    background-color: #e2c8af;
    position: fixed;
    bottom: 0%;
    width: 100%;
    padding: 2px 4px 2px 4px;
}

#content {
    width: 700px;
    height: 400px;
    position: relative;
    top: 20%;
    left: 50%;
    margin-top: 160px;
    margin-left: -350px;
}

#resBody {
        margin: 0 auto;
        width: 272px;
        height: 74px;
        background-color: gold;
        background: linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -webkit-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -moz-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -o-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
		background: -ms-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        position: relative;
}

      #resBody::before {
        content: "";
        background-color: gold;
        background: linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -webkit-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -moz-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -o-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
		background: -ms-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        height: 92px;
        width: 80px;
        float: left;
        border-radius: 20px;
        top: -10px;
        left: -20px;
        position: relative;
      }

      #resBody::after {
        content: "";
        background-color: gold;
        background: linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -webkit-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -moz-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -o-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
		background: -ms-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        height: 92px;
        width: 80px;
        float: right;
        border-radius: 20px;
        top: -10px;
        right: -20px;
        position: relative;
      }

.resWire {
        position: absolute;
        width: 400px;
        left: 150px;
        top: 32px;
        height: 10px;
        background-color: grey;
        z-index: -1;  
}

.resBand {
        position: absolute;
        height: 74px;
        width: 16px;
    border-left: 1px solid #c0a68d;
    border-right: 1px solid #c0a68d;
        background-color: black;
        z-index: 999;
}

#resBand0 {
    background-color: black;
        left: 25px;
        height: 92px;
        top: -10px;
}

#resBand1 {
    background-color: black;
        left: 65px;
}

#resBand2 {
    background-color: black;
        left: 100px;
}

#resBand3 {
    background-color: black;
        left: 135px;
}

#resBand4 {
    background-color: goldenrod;
    margin-left: 190px;
}

#resBand5 {
        left: 230px;
        height: 92px;
        top: -10px;
        background-color: gold;
        background: linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -webkit-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -moz-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
        background: -o-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
		background: -ms-linear-gradient(top, rgba(213,173,109,1) 0%, rgba(213,173,109,1) 10%, rgba(226,186,120,1) 20%, rgba(163,126,67,1) 50%, rgba(145,112,59,1) 80%, rgba(213,173,109,1) 100%);
}

#console {
    clear: both;
    width: 650px;
    margin-left: 75px;
    height: 150px;
}

#explanation {
    padding-top: 10px;
    height: 50px;
    font-size: 1.7em;
}

#resBand0Val {
    float: left;
    margin-left: 100px;
    width: 30px;
    text-align: center;
    visibility: hidden;
}

#resBand1Val {
    float: left;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

#resBand2Val {
    float: left;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

#resBand3ValPre {
    float: left;
    margin-left: 10px;
    width: 40px;
    text-align: center;
}

#resBand3Val {
    float: left;
    margin-left: 5px;
    width: 30px;
    text-align: left;
    font-size: 0.6em;
    vertical-align: text-top;
}

#resBand4ValPre {
    float: left;
    margin-left: -10px;
    width: 30px;
    text-align: center;
}

#resBand4ValContainer {
    float: left;
    width: 30px;
    margin-left: -5px;
    text-align: center;
}

#resBand5ValContainer {
    float: left;
    margin-left: 35px;
    text-align: left;
    visibility: hidden;
}

#consoleForm {
    clear: both;
    height: 50px;
    font-size: 2.0em;
}

#consoleForm input {
    font-size: 1.0em;
}

.eSeriesSelection {
    margin-left: 40px;
    font-size: 0.6em;
    margin-top: 5px;
    margin-bottom: 20px;
    background-color: #e2c8af;
    width: 460px;
    padding: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
}

#eSeriesMenu {
    margin: 0;
    padding: 0;
    clear: both;
    display: inline;
    list-style-type: none;
    margin-left: auto;
    margin-right: auto;
}

#eSeriesMenu li {
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 5px;
    display: inline;
    background-color: #c0a68d;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#eSeriesMenu li:hover {
    text-decoration: underline;
    cursor: pointer;
}

#eSeriesMenu li.active {
    background-color: white;
}

#eSeriesInfo {
    display: none;
    font-size: 0.5em;
    margin-left: 40px;
    margin-bottom: 20px;
    background-color: #DD4433;
    color: #ffffff;
    width: 460px;
    padding: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/*#eSeriesClosestVal {
    font-weight: bold;
}

#eSeriesInfoName {
    font-weight: bold;
}*/

#eSeriesClosestValButton {
    text-decoration: underline;
}

#eSeriesClosestValButton:hover {
    cursor: pointer;
}

#resValue {
    width: 160px;
    margin-left: 10px;
}

#resValue.error {
    background-color: #DD4433;
}

#resTolerance {
    font-size: 30px;
}

.resBandUnit {
    font-size: 0.6em;
}

.preResult {
    float: left;
    width: 30px;
    text-align : center;
    margin-left: 50px;
}

#resultContainer {
    float: left;
}

#tolMinMax {
    float: left;
    margin-left: 20px;
    vertical-align: top;
    padding-top: 2px;
    font-size: 0.5em; 
}

.clrSelectorArea {
    margin:2px;
    display: none;
    width: 41px;
    height: 290px;
    margin-left: -12px;
    margin-top: -80px;
}

.clrSelectorField {
    border: 1px solid darkgray;
    border-collapse: collapse;
/*    border-left: 1px solid darkgray;
    border-right: 1px solid darkgray;*/
    width: 39px;
    height: 20px;
    text-align: center;
    padding-top: 0.1em;
    font-size: 0.7em;
}

.clrSelectorSelected {
    border: 1px solid red;
}

.clear {
    clear: both;
}