/* css reset */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* end reset */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
    color: #666666;  
    font-family: 'Avenir','Avenir W02',Arial,Helvetica,sans-serif !important;
}

.selectorWrapper * {
    font-weight: 500;
}

.selectorWrapper h1, .calculatorWrapper h1 {
    font-size: 45px;
    font-weight: 500;
    text-transform: uppercase;
    color: #666666;
    margin: 30px 0px;  
}

.selectorWrapper h2, .calculatorWrapper h2 {
    font-size: 32px;
    margin: 0px 0px 35px 0px;
    color: #838383;
    font-weight: 500;
}

.selectorWrapper h2.large, .calculatorWrapper h2.large {
    font-size: 44px;
}

.selectorWrapper h5, .calculatorWrapper h5 {
    font-size: 20px;
    color: #e98300;
    font-weight: 500;
}

.selectorWrapper h6, .calculatorWrapper h6 {
    font-size: 22px;
    margin: 0px 0px 10px 0px;
    font-weight: 600;
}

.selectorWrapper p, .calculatorWrapper p {
    font-size: 22px;
    line-height: 140%;
    margin: 22px 0px;
    font-weight: 500;
}

.clr {
    clear: both;
}

.btn {
    display: inline-block;
    text-transform: uppercase;
    font-size: 20px;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.btn-orange {
    background: #e98300;
    color: white !important;
}

.btn.center {
    display: block;
    margin: 40px auto 10px auto;
    max-width: 300px;
}

.appBtn {
    position: absolute;
    top: 0px;
    right: 417px;
    padding: 7px 15px;
    font-size: 24px;
    background: #0066a1;
    background: #838383;
    color: white !important;
    line-height: 115%;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0px;
    border: none;
    margin: 0px;
    text-transform: none;
    text-decoration: none;
    font-weight: 600;   
}

.appBtn.noCalc {
    right: 45px;
}

@media (max-width: 980px) and (min-width: 671px) {
    .appBtn {
        float: right;
        margin-top: 45px;
        position: relative;
        right: auto;
        top: auto;    
    }
    .appBtn.noCalc {
        right: 45px;
        margin-top: 0px;
    }
}

.calcBtn {
    position: absolute;
    top: 0px;
    right: 45px;
    padding: 7px 15px 6px 15px;
    font-size: 24px;
    background: #0066a1;
    color: white;
    line-height: 115%;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0px;
    border: none;
    margin: 0px;
}

.selectorWrapper {
    max-height: 3500px !important;
}

.panel {
    background: #f7f7f7;
    padding: 0px !important;
    margin-top: 60px;
}

.panel .inner {
    padding: 30px 35px;
    clear: both;
}

.panel .leftCol {
    width: 55%;
    float: left;
}

.panel .rightCol {
    width: 45%;
    float: right;
    background: #e98300;
    color: white;
    padding: 35px;
}

.questionBox {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 7px 15px;
    font-size: 24px;
    background: #0066a1;
    color: white;
    line-height: 115%;
    cursor: pointer;
}

.questionBox p {
    display: none;
    position: absolute;
    width: 300px;
    right: 0px;
    background: #0066a1;
    color: white;
    padding: 10px 5px;
    text-align: center;
    margin: 0px;
    font-size: 18px;
    line-height: 120%;
    z-index: 1;
}

.questionBox:hover p {
    /*display: block;*/
}

.questionBox a {
    color: white;
    text-decoration: underline;
}

.questionBox div {
    font-weight: 600;
}

.calculatorBox {
    padding: 0px;
    font-size: 24px;
    background: #0066a1;
    color: white;
    line-height: 115%;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0px;
    border: none;
    margin: 0px;
    font-weight: 600;
}

.calcBtn p {
    margin: 0px;
    font-size: 14px;
    float: right;
    padding: 1px 0px 0px 9px;
    vertical-align: middle;
    max-width: 150px;
    line-height: 95%;
    border-left: solid 1px white;
    margin-left: 10px;    
}

.rightCol p {
    margin: 0px 0px 10px 0px;
}

.rightCol input[type="text"] {
    width: 25%;
    height: 40px;
    margin-bottom: 10px;
    font-size: 17px;
    text-align: center;
}

.rightCol label {
    font-size: 22px;
    width: 73%;
    display: inline-block;
    padding-left: 10px;
}

.lead {
    margin-bottom: 25px;
}

.addWire {
    font-size: 20px;
    margin-top: 10px;
    cursor: pointer;
}

.infoBox {
    background: #d6e342;
    clear: both;
    margin-top: 20px;
    padding: 15px 20px 15px 40px;
    font-size: 22px;
    line-height: 120%;
}

.calculatorWrapper .infoBox {
    max-width: 550px;
    width: 95%;    
}

img.lightIcon {
    position: absolute;
    margin-left: -25px;
}

.remove {
    font-weight: 900;
    padding-left: 20px;
    cursor: pointer;
    font-size: 15px;
    vertical-align: middle;
    opacity: .8;
}

.errorMessage {
    padding: 5px;
    margin: -5px 0px 10px 0px;
    font-weight: 700;
}

.rightCol input[type="text"].error {
    border: solid 3px red;    
}

/* calculator radio button */
.radioWrapper {
    max-width: 260px;
    width: 45%;
    position: relative;
    border-radius: 0px;
    border: solid 1px #838383;
    float: left;
    padding-top: 28%;
}

.radioWrapper:first-of-type {
    margin-right: 5%;
}

.radioWrapper label {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: absolute;
    left: 0px;
    top: 0px;
    text-align: center;
    font-size: 24px;
    padding-top: 28%;
    color: rgba(102, 102, 102, .5);
}

.radioWrapper input[type=radio] {
  visibility: hidden;
}

.radioWrapper input[type=radio]:checked + label {
  color: white;
  background-color: #e98300;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}
/* end calculator radio button */

/* selector radio buttons */
.threeButtons .radioWrapper {
    max-width: 100%;
    width: 31%;
}

.threeButtons .radioWrapper:first-of-type {
    margin: 0px;
}

.threeButtons .radioWrapper:nth-of-type(2) {
    margin: 0 3%;
}

.selectorWrapper .radioWrapper {
    padding-top: 15%;
}

.selectorWrapper .threeButtons .radioWrapper label {
    padding-top: 24%;    
}

.selectorWrapper .radioWrapper label:after,
.selectorWrapper .radioWrapper input[type=radio]:checked + label:after {
    content: "";
}

.fourButtons .radioWrapper {
    max-width: 100%;
    width: 23%;
    margin: 0 2% 0 0%;
}

.fourButtons .radioWrapper:last-of-type {
    margin: 0px;
}

.selectorWrapper .fourButtons .radioWrapper label {
    padding-top: 31%;    
}
/* end selector radio buttons */

/* selector results */
.prod {
    /*float: left;*/
    width: 23.5%;
    /*margin: 0 2% 0 0%;*/
    text-align: center;
    margin: 0 auto;
}

.prod:nth-of-type(4) {
    margin: 0;
}

.prod img {
    max-width: 100%;
}

.prod h5 {
    max-width: 90%;
    margin: 10px auto;
}

.errorMessagem1 {
    padding-bottom: 10px;
}

.errorMessagem2 {
    padding-bottom: 10px;
}

.errorMessagem3 {
    padding-bottom: 10px;
}

.overlayWrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: none;
    z-index: 9999999;
}
 
.overlayWrapper .inner {
    max-width: 1300px;
    max-height: 800px;
    overflow-y: scroll;
    width: 95%;
    margin: 5% auto 0 auto;
    background: white;
    padding: 10px;
}

@media (max-width: 1600px) {
    .overlayWrapper .inner {
        max-height: 600px;    
    }
}
 
.overlayWrapper .close {
    text-align: right;
    font-size: 19px;
    cursor: pointer;
}
 
#calculatorModal .inner {
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-color: white;
    text-align: center;
    font-size: 18px;              
    background-size: cover;
}

#calculatorModal h1 {
    margin: 0px;
}

#calculatorModal p {
    margin-top: 5px;
}

#calculatorModal #panel1 {
    margin-top: 0px;
}

#calculatorModal .panel .rightCol {
    padding: 15px 35px;
}

#calculatorModal sup {
    font-size: 50%;
}

#calculatorModal .magnet {
    text-align: left;
}

#calculatorModal .panel {
    background: white;
}

#calculatorModal .rightCol input[type="text"] {
    height: 35px;    
}

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

#calculatorModal .lead {
    text-align: left;
}


/* media queires */
@media (max-width: 768px) {
    h1 {
        font-size: 35px;
        font-weight: 500;
        text-transform: uppercase;
    } 
    h2 {
        font-size: 25px;
    }
    h2.large {
        font-size: 33px;
    }
    .btn {
        text-align: left;
        padding: 10px 45px 10px 10px;
    }
    .panel .inner {
        padding: 25px 20px;
    }   
    .panel .leftCol, .panel .rightCol {
        width: 100%;
        float: none;
    }
    .radioWrapper {
        width: 45%;
        height: 100px;
        margin: 0px;
        float: left;    
    }
    .infoBox, .calculatorWrapper .infoBox {
        max-width: 100%;  
        margin-bottom: 20px;  
        width: 100%;
        position: relative;
    }
    .panel .rightCol {
        padding: 20px;    
    }
    .rightCol label {
        width: 70%;
        vertical-align: middle;
        line-height: 120%;    
    }
    .rightCol input[type="text"] {
        width: 28%;    
    }
    .selectorWrapper .threeButtons .radioWrapper label,
    .selectorWrapper .fourButtons .radioWrapper label {
        font-size: 19px;
    }
    .btn.center {
        text-align: center;
        padding: 10px;    
    }
    .overlayWrapper .inner {
        max-height: 500px;
    }
}

@media (max-width: 670px) {
    .calcBtn {
        position: relative;
        top: 0px;
        right: auto;
        padding: 7px 15px 6px 15px;
        font-size: 24px;
        background: #0066a1;
        color: white;
        line-height: 115%;
        cursor: pointer;
        -webkit-appearance: none;
        border-radius: 0px;
        border: none;
        margin: 10px 0px 10px 0px;
        display: block;
        width: 100%;
        float: left;    
    }
    .calculatorBox {
        padding: 7px 0px;
        display: block;
        width: 47%;
        font-size: 17px;
        top: auto;
        right: auto;
        position: relative;
        float: left;
        text-align: center;
    }
    .calcBtn p {
        margin: 0px;
        font-size: 16px;
        float: right;
        padding: 1px 0px 0px 10px;
        vertical-align: middle;
        max-width: 49%;
        line-height: 110%;
        border-left: solid 1px white;
        margin-left: 10px;
    }
    .appBtn {
        display: block;
        width: 50%;
        font-size: 17px;
        margin: 10px 0px 0px 0px;   
        top: auto;
        right: auto;
        position: relative;
        width: 215px;
        text-align: center; 
    }
    .appBtn.noCalc {
        right: auto;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .threeButtons .radioWrapper {
        width: 100%;    
    }
    .threeButtons .radioWrapper:nth-of-type(2) {
        margin: 3% 0%;
    }
    .selectorWrapper .threeButtons .radioWrapper label {
        padding-top: 10%;
        font-size: 20px;
    }
    .selectorWrapper .radioWrapper label.pigclick,
    .selectorWrapper .radioWrapper label.thruclick {
        padding-top: 7% !important;
    }
    .fourButtons .radioWrapper {
        max-width: 100%;
        width: 100%;
        margin: 2% 0% 2% 0%;
    }
    .selectorWrapper .fourButtons .radioWrapper label {
        padding-top: 10%;
        font-size: 20px;   
    }
    .prod {
        float: left;
        width: 100%;
        margin: 2% 0;
        text-align: center;
    }
    .rightCol input[type="text"] {
        width: 80%;
    }
    .rightCol label {
        width: 100%;    
    }
}

@media (max-width: 400px) {
    .selectorWrapper .threeButtons .radioWrapper label,
    .selectorWrapper .fourButtons .radioWrapper label {
        padding-top: 13%;
        font-size: 20px;
    }
}
.calculatorWrapper sup, .selectorWrapper sup {
    vertical-align: super;
    font-size: x-small;
}
}
