.blue_rule {
    background-color: #c8def9;
    width: 100%;
    height: 5px;
    padding: 0px;
}

.back_to_site {
    background: url(../images/back_arrow.png) no-repeat center left;
    padding-left: 10px;
    text-decoration: underline;
    font-size: 15px;
    float: left;
    margin-left: 30px;
    margin-top: 20px;
    margin-bottom: 0px;
}

/*.calc_container {
    height: auto;
    min-height: 300px;
    overflow: hidden;
    clear: left;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 30px;
    padding-right: 30px;
}
*/
h1.calc_header {
    font-family: arial black;
    width: 40%;
    float: left;
    margin: 0;
    font-size: 24px;
    margin-bottom: 20px;
    padding-top: 5px;
}

 select.calc_units {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    border: none;
    width: 160px;
    float: right;
    height: 30px;
    border-radius: 4px;
    position: relative;
    top: 30px;
    padding: 6px;
    margin-left: 15px;
    color: #fff;
    background: url(../images/select_arrow_calc.png) no-repeat 131px 1px #123968;

}

ul.calc_tabs {
    width: 100%;
    padding: 0;
    margin: 0px;
    clear: both;
    position: relative;
    z-index: 200;
}

ul.calc_tabs li:first-child {
    margin-left: 37px;
}

span.break {
    display: block;
    font-weight: bold;
}


ul.calc_tabs li {
    width: 146px;
    max-width: 150px;
    margin-left: 15px;
    display: block;
    float: left;
    background-color: #63738d;
    font-size: 18px;
    list-style: none;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding-bottom: 0px;
}

ul.calc_tabs li.active,
ul.calc_tabs li.active:hover {
    border-bottom: none;
    background-color: #123968;
}

ul.calc_tabs li:hover {
    width: 146px;
    max-width: 150px;
    display: block;
    float: left;
    background-color: #224875;
    font-size: 18px;
    list-style: none;
    text-align: center;
}

ul.calc_tabs li a {
    text-decoration: none;
    display: block;
    color: #fff;
    text-transform: uppercase;
    /*font-family: 'Oswald', sans-serif;*/
    font-weight: 500;
    border-top: 1px solid #fff;
    padding: 7px 12px 10px;
    line-height: 1.25;
}

form.calc_form div.heading_3 {
    font-size: 32px;
    float: left;
    padding: 0px;
    margin-top: 30px;
    border-bottom: none;
    color: #123968;
    text-align: left;
    margin-left: 124px;
    width: 100%;
    text-transform: uppercase;
    /*font-family: 'Oswald', sans-serif;*/
    font-weight: 500;
    margin-bottom: 30px;
}
form.calc_form div.heading_3.has_note{
	margin-bottom: 0px;
} 

form.calc_form div.heading_note {
    font-size: 14px;
    font-style: italic;
    clear: both;
    padding: 0px;
    margin-top: 0px;
    border-bottom: none;
    color: #000;
    text-align: left;
    margin-left: 126px;
}

form.calc_form {
    display: block;
    overflow: hidden;
    min-height: 300px;
    background-color: #fff;
    margin-bottom: 25px;
    clear: both;
}

form.calc_form h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    border-bottom: 1px dotted #ccc;
    font-family: arial black;
}

form.calc_form h4 {
    font-family: arial black;
    margin-top: 25px;
    margin-bottom: 15px;
    margin-left: 17px;
    margin-right: 15px;
}

form.calc_form>div {

    margin-left: 0px;
    margin-right: 0px;
    overflow: hidden;
    padding-bottom: 7px;
    padding-top: 5px;

}


form.calc_form>div:not(.calc_results)>label {
    font-size: 14px;
    margin-left: 126px;
    width: 214px;
    float: left;
    clear: left;
    padding-top: 10px;
    color: #000;
    text-align: left;
}

form.calc_form>div>label.smaller {
    font-size: 13px;
}

form.calc_form>div>input {
    font-size: 14px;
    font-weight: bold;
    margin-left: 15px;
    height: 15px;
    color: #555555;
    width: 220px;
    float: left;
    height: 35px;
    border-radius: 4px;
    border: 2px solid #ddd;
    padding: 8px;
    text-align: right;
}

form.calc_form>div>input:focus {
    font-size: 14px;
    font-weight: bold;
    margin-left: 15px;
    height: 15px;
    color: #555555;
    width: 220px;
    float: left;
    height: 35px;
    border-radius: 4px;
    border: 2px solid #ddd;
    padding: 8px;
    text-align: right;
}


form.calc_form>div>span.unit {
    font-size: 13px;
    margin-left: 10px;
    text-align: left;
    width: 30%;
    float: left;
    padding-top: 10px;
    color: #000;
}

form.calc_form>div>span.note {
    font-size: 14px;
    margin-left: 126px;
    padding-top: 8px;
    width: 660px;
    float: left;
    clear: left;
    color: #111;
    margin-bottom: 5px;
    text-align: left;
}

form.calc_form>div>input.calc_submit {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    width: 219px;
    border-radius: 4px;
    background-color: #22a86c;
    height: 37px;
    border: 1px solid #22a86c;
    padding: 10px;
    cursor: pointer;
    cursor: hand;
    text-align: center;
    box-shadow: 9px 9px 9px -3px #C9C9C9;
    margin-top: 25px;
}

form.calc_form>div>input.calc_submit:hover {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    width: 219px;
    border-radius: 4px;
    background-color: #1a8e5a;
    height: 37px;
    text-align: center;
    border: 1px solid #22a86c;
    padding: 10px;
    cursor: pointer;
    cursor: hand;
    box-shadow: 9px 9px 9px -3px #C9C9C9;
    margin-top: 25px;
}

form.calc_form>div>input.calc_submit:active {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    width: 219px;
    border-radius: 4px;
    background-color: #1a8e5a;
    height: 37px;
    text-align: center;
    border: 1px solid #22a86c;
    padding: 10px;
    cursor: pointer;
    cursor: hand;
    position: relative;
    top: 2px;
    left: 1px;
    box-shadow: 8px 7px 9px -3px #C9C9C9;
    margin-top: 25px;
}

form.calc_form>div>select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 14px;
    font-weight: bold;
    width: 220px;
    float: left;
    height: 36px;
    border-radius: 4px;
    border: 2px solid #ddd;
    padding: 8px;
    margin-left: 15px;
    background: url(../images/select_input_arrow.png) no-repeat right -2px #ffffff;

}

form.calc_form>div>select:focus {
    font-size: 14px;
    font-weight: bold;
    width: 220px;
    float: left;
    height: 36px;
    border-radius: 4px;
    border: 2px solid #1a65c0;
    padding: 8px;
    margin-left: 15px;
}

form.calc_form div.calc_results {
    border-bottom: none;
    padding-top: 10px;
}

form.calc_form div.calc_results input {
    width: 380px;
    height: 35px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: bold;
    color: #22a86c;
    background-color: #ddf2e9;
    text-align: center;
    border: none;
    margin-bottom: 15px;
}

form.calc_form div.calc_results input.error {
    width: 380px;
    height: 35px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: bold;
    color: #d84a4a;
    background-color: #f2dddd;
    text-align: center;
    border: none;
    margin-bottom: 15px;
}



form.calc_form div.calc_results input::-webkit-input-placeholder {
    height: 35px;
    border-radius: 4px;
    font-size: 20px;
    color: #a0cbb9;
    font-weight: normal;
    text-align: center;
    border: none;
    margin-bottom: 15px;
    font-style: italic;
}

form.calc_form div.calc_results input:-moz-placeholder {
    height: 35px;
    border-radius: 4px;
    font-size: 20px;
    color: #a0cbb9;
    font-weight: normal;
    text-align: center;
    border: none;
    margin-bottom: 15px;
    font-style: italic;
}

form.calc_form div.calc_results input::-moz-placeholder {
    height: 35px;
    border-radius: 4px;
    font-size: 20px;
    color: #a0cbb9;
    font-weight: normal;
    text-align: center;
    border: none;
    margin-bottom: 15px;
    font-style: italic;
}

form.calc_form div.calc_results input:-ms-input-placeholder {
    height: 35px;
    border-radius: 4px;
    font-size: 20px;
    color: #a0cbb9;
    font-weight: normal;
    text-align: center;
    border: none;
    margin-bottom: 15px;
    font-style: italic;
}





form.calc_form div.calc_results label {
    width: 125px;
    height: 35px;
    display: table;
    float: left;
    clear: left;
    text-align: left;
    border: none;
    margin-left: 126px;
    padding-top: 7px;
}

form.calc_form div.calc_results label span {
    vertical-align: middle;
    font-size: 15px;
    color: #22a86c;
    display: table-cell;
}


form.calc_form>div.equation {
    width: 100%;
    text-align: center;
    font-size: 14px;
    clear: both;
    padding: 0;
    overflow: hidden;
    margin: 0px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-bottom: none;
    color: #000;


}

form.calc_form span.Mathjax {
    font-size: 14px;
    color: #000 !important;
}

form.calc_form span.Mathjax span.mo {
    color: #000 !important;
}

.calculator-container{
	margin: 0px auto 50px;
	max-width: 890px;
	padding-left: 50px;
}

@media screen and (max-width: 1065px) {
	.calculator-container{
		max-width: 100%;
		padding-left: 0px;
	}
	form.calc_form>div:not(.calc_results)>label,
	form.calc_form div.heading_3,
	form.calc_form div.heading_note,
	form.calc_form div.calc_results label {
	    margin-left: 30px;
	}
}

@media screen and (max-width: 880px) {
	ul.calc_tabs {
        height: auto;
        display: block;
        border: none;
        padding: 15px 15px 0px;
    }

    ul.calc_tabs li:first-child {
        margin-left: 0px;
    }

    ul.calc_tabs li {
        width: 100%;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        display: block;
        float: left;
        border: none;
        border-top: none;
        list-style: none;
        text-align: center;
        border-radius: 4px;
        margin-bottom: 5px;
        padding-bottom: 0px;
    }

    ul.calc_tabs li.active,
    ul.calc_tabs li.active:hover {
        height: auto;
        border-top: none;
    }

    ul.calc_tabs li a {
        font-size: 18px;
        text-decoration: none;
        display: block;
        color: #fff;
        padding: 15px ;
        border-top: none;
    }

    ul.calc_tabs li:hover {
        width: 100%;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        display: block;
        float: left;
        border: none;
        border-top: none;
        list-style: none;
        text-align: center;
        border-radius: 4px;
        margin-bottom: 5px;
    }

	span.break {
        display: inline;
        padding-left: 5px;
    }

    form.calc_form {
        width: 100%;
        margin-top: 10px;
        float: left;
    }


    form.calc_form>div>select {
        width: 40%;
        padding-top: 3px;
        margin-bottom: 5px;
    }

    form.calc_form>div>span.unit {
        padding-top: 5px;
    }

    form.calc_form>div>div>input.calc_submit {
        font-size: 14px;
        font-weight: bold;
        margin-top: 5px;
        width: 95%;
        float: left;
        height: 30px;
        border-radius: 4px;
        border: 1px solid #ccc;
        padding: 6px;
        margin-bottom: 10px;
    }

    form.calc_form>div>div {
        margin-left: 15px;
        width: 95%;
        float: left;
        clear: left;
        padding-top: 0px;
        color: #777;
    }

    form.calc_form>h4,
    form.calc_form>h3,
    form.calc_form>h2 {
        text-align: center;
    }

    div.equation {
        font-size: 2vw;
        color: #000;
    }

    span.MathJax {
        font-size: 2vw;
        color: #000;
    }

    select.calc_units {
        position: initial;
        top: initial;
        margin-bottom: 5px;
        border: none;
    }

    form.calc_form div.heading_1 {
        width: 100%;
        background-color: #e2e0e2;
        line-height: 20px;
        font-size: 20px;
        border-bottom: none;
        color: #0f386a;
        text-align: center;
        margin-bottom: 0px;
        padding-top: 16px;
        margin-top: 0px;
    }

    form.calc_form div.heading_2 {
        width: 100%;
        background-color: #e2e0e2;
        line-height: 24px;
        text-transform: uppercase;
        font-size: 24px;
        padding: 0px;
        font-weight: bold;
        border-bottom: none;
        color: #0f386a;
        text-align: center;
        padding-bottom: 24px;
        margin-bottom: 15px;

    }

    form.calc_form div.heading_3 {
        font-size: 32px;
        padding: 0px;
        margin-top: 0px;
        border-bottom: none;
        text-align: left;
        margin-left: 0px;

    }


    form.calc_form>div:not(.calc_results)>label {
        font-size: 14px;
        margin-left: 0px;
        width: 214px;
        float: left;
        clear: left;
        padding-top: 10px;
        color: #000;
        text-align: left;
    }

    form.calc_form>div:not(.calc_results)>input[type=text] {
        font-size: 14px;
        font-weight: bold;
        margin-left: 0px;
        color: #555555;
        width: 50%;
        float: left;
        clear: left;
        border-radius: 4px;
        border: 2px solid #ddd;
        padding: 8px;
        text-align: right;

    }

    form.calc_form>div:not(.calc_results)>input[type=text]:focus {
        font-size: 14px;
        font-weight: bold;
        margin-left: 0px;
        color: #333;
        width: 50%;
        float: left;
        clear: left;
        border-radius: 4px;
        border: 2px solid #1a65c0;
        padding: 8px;
        text-align: right;

    }


    form.calc_form div.heading_note {
        font-size: 14px;
        font-style: italic;
        clear: both;
        padding: 0px;
        margin-top: 0px;
        border-bottom: none;
        color: #000;
        text-align: left;
        margin-left: 0px;
    }

    form.calc_form>div>select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-size: 14px;
        font-weight: bold;
        width: 50%;
        float: left;
        clear: left;
        height: 36px;
        border-radius: 4px;
        border: 2px solid #ddd;
        padding: 8px;
        margin-left: 0px;
        background: url(../images/select_input_arrow.png) no-repeat right -2px #ffffff;

    }

    form.calc_form>div>select:focus {
        font-size: 14px;
        font-weight: bold;
        clear: left;
        margin-left: 0;
        width: 50%;
        float: left;
        height: 36px;
        border-radius: 4px;
        border: 2px solid #1a65c0;
        padding: 8px;
    }

    form.calc_form>div>div>input.calc_submit:focus {
        font-size: 14px;
        font-weight: bold;
        width: 100%;
        float: left;
        height: 30px;
        border-radius: 4px;
        border: 1px solid #ccc;
        padding: 6px;
        cursor: pointer;
        cursor: hand;
    }

    form.calc_form>div>div>input.calc_submit {
        font-size: 14px;
        font-weight: bold;
        margin-top: 0px;
        width: 100%;
        float: left;
        clear: left;
        height: 30px;
        border-radius: 4px;
        border: 1px solid #ccc;
        padding: 6px;
        cursor: pointer;
        cursor: hand;
    }

    form.calc_form>div>div>input.calc_submit:hover {
        font-size: 14px;
        font-weight: bold;
        background-color: #bbb;
        margin-top: 0px;
        width: 100%;
        float: left;
        clear: left;
        height: 30px;
        border-radius: 4px;
        border: 1px solid #888;
        padding: 6px;
        cursor: pointer;
        cursor: hand;
    }

    form.calc_form>div>span.note {
        font-size: 14px;
        text-align: left;
        padding-top: 8px;
        width: 100%;
        margin-left: 0px;
        color: #111;
        margin-bottom: 5px;
    }

    form.calc_form div.calc_results label {
        width: 100%;
        height: auto;
        display: table;
        float: left;
        clear: left;
        text-align: left;
        border: none;
        margin-left: 0px;
        padding-top: 7px;
    }

    form.calc_form div.calc_results input {
        width: 94%;
        height: 35px;
        border-radius: 4px;
        font-size: 22px;
        font-weight: bold;
        color: #22a86c;
        background-color: #ddf2e9;
        text-align: center;
        border: none;
        margin-bottom: 10px;
        margin-left: 0px;

    }

    form.calc_form div.calc_results input.error {
        width: 94%;
        height: 35px;
        border-radius: 4px;
        font-size: 22px;
        font-weight: bold;
        color: #d84a4a;
        background-color: #f2dddd;
        text-align: center;
        border: none;
        margin-bottom: 10px;
        margin-left: 0px;
    }

    form.calc_form>div>input.calc_submit {
        clear: left;
        margin-top: 0px;
        margin-left: 0px;
    }

    form.calc_form>div>input.calc_submit:hover {
        clear: left;
        margin-top: 0px;
        margin-left: 0px;
    }

    form.calc_form>div {

        margin-left: 0px;
        margin-right: 0px;
        overflow: hidden;
        padding-bottom: 0px;
        padding-top: 5px;

    }
}

@media screen and (max-width: 500px) {
    form.calc_form div.calc_results input {
        width: 92%;
        line-height: 20px;
    }

    form.calc_form div.calc_results input.error {
        width: 92%;
        line-height: 20px;
    }

    form.calc_form div.calc_results input::-webkit-input-placeholder {
        height: 35px;
        border-radius: 4px;
        font-size: 4vw;
        line-height: 20px;
        color: #a0cbb9;
        font-weight: normal;
        text-align: center;
        border: none;
        margin-bottom: 15px;
        font-style: italic;
    }

    form.calc_form div.calc_results input:-moz-placeholder {
        height: 35px;
        border-radius: 4px;
        font-size: 4vw;
        line-height: 20px;
        color: #a0cbb9;
        font-weight: normal;
        text-align: center;
        border: none;
        margin-bottom: 15px;
        font-style: italic;
    }

    form.calc_form div.calc_results input::-moz-placeholder {
        height: 35px;
        border-radius: 4px;
        font-size: 4vw;
        line-height: 20px;
        color: #a0cbb9;
        font-weight: normal;
        text-align: center;
        border: none;
        margin-bottom: 15px;
        font-style: italic;
    }

    form.calc_form div.calc_results input:-ms-input-placeholder {
        height: 35px;
        border-radius: 4px;
        font-size: 4vw;
        line-height: 20px;
        color: #a0cbb9;
        font-weight: normal;
        text-align: center;
        border: none;
        margin-bottom: 15px;
        font-style: italic;
    }
}


form.calc_form>div.blue_rule {
    background-color: #c8def9;
    margin-top: 15px;
    width: 100%;
    height: 4px;
    padding: 0px;
    margin-bottom: 10px;
}

.MathJax span.mo {
    color: #000;
    font-weight: bold;
}
