* {
    box-sizing:border-box;
    padding: 0;
    margin:0;
}

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

body{
    min-height: 100%;
    font: 13px/23px Helvetica, Helvetica Neue, Arial;
}

.main-container{
    min-height: 100%;
    padding-top: 35px;
}

h5 {
    font-size: 20px;
    text-align: center;
    color: #979797;
    padding: 0;
    margin: 0;
    margin-top: 50px;
    margin-bottom: 0px;
    font-style: normal;
    font-weight: normal;
}

h1 {
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 0px;
    text-align: left;
    margin-left: 60px;
}

h2 {
    padding-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 10px;
}

h3 {
    padding-bottom: 0px;
    margin-bottom: 5px;
    margin-top: 15px;
}

h4 {
    width: 135px;
    border-bottom: 2px solid;
    font-size: 15px;
    margin-bottom: 10px;
}

section.sheet {
    width:95%;
    padding-left: 10px;
    box-shadow: 0px 8px 10px 1px rgba(54, 54, 54, 0.5);
    margin-top: 0px;
    padding-top: 0px;
    z-index: 6;
}

header h2.titlesheet {
    position: relative;
    top: 16px;
    color: white;
    width: fit-content;
    height: fit-content;
    background-color: #446ca2;;
    padding: 5px 10px;
    margin-bottom: 0px;
    padding-bottom: 5px;
    z-index: 5;
    border-radius: 15px 15px 0px 0px;
}

p.small {
    line-height: 1.2;
    padding-left: 0px;
  }
   
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
   
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
   
input,
textarea,
button,
select,
img,
li,
a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent; /* For some Androids */
}

*:focus {
    outline: 0 !important;
}

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;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.wrapper {
    width: 98%;
    margin: 0 2%;
}

/* ===================
    Side nav bar
   =================== */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 55px;
}

.sidenav a {
    padding: 10px 10px 8px 15px;
    text-decoration: none;
    color: white;
    opacity: 70%;
    display: block;
    font-size: 20px;
    border-top: 1px solid;
    border-top-color: #222;
    border-bottom: 1px solid;
    border-bottom-color: rgb(0, 0, 0);
    width: 320px;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
}

.sidenav a:nth-child(3) {
    color:#b5d5ff;
    opacity: 70%;
}

.sidenav a:nth-child(4) {
    padding-left: 40px;
    color:#94c2ff;
}

.sidenav a:nth-child(5){
    padding-left: 40px;
    color:#4069b8;
}

.sidenav a:nth-child(6){
    padding-left: 40px;
    color:#3c84a6;
}

.sidenav a:nth-child(7){
    padding-left: 40px;
    color:rgb(106, 115, 151);
}

.sidenav a:nth-child(8){
    padding-left: 40px;
    color:#445289;
}

.sidenav a:nth-child(9){
    color:#ff99a2;
}

.sidenav a:nth-child(10){
    color:#b8e0d6;
}

.sidenav a:hover {
    opacity: 100%;
}


.sidenav a:nth-child(3):hover {
    opacity: 70%;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 30px;
    margin-left: 50px;
    margin-bottom: 0px;
    margin-top: 0px;
    border-bottom: 0px solid;
    border-top: 0px solid;
    text-align: right;
    padding-top: 20px;
}

.sidenav .footer-section.Aknow {
    color: rgb(161, 161, 161);
}

.sidenav .footer-section.logos {
    margin-top: 10px;

}

.sidenav .footer-section .dev:first-of-type {
    margin-left: 90px;
}

.sidenav .footer-section .footerImage {
    margin-left: 90px;
}

.sidenav .footer-content {
    display: block;
    width: 310px;
    margin-top: 0px;
    padding-bottom: 10px;
    padding-top: 0px;
    border-top: 1px solid rgb(27, 27, 27);
    border-bottom: 1px solid rgb(27, 27, 27);
    box-shadow: inset 0 -0.5px 1px rgb(0, 0, 0);
}

.sidenav .logos p {
    text-align: center; 
    color: rgb(58, 58, 58);
    text-shadow: 0px 0px 3px #000000;
    margin-top: 5px;
}

.sidenav .Aknow p {
    margin-left: 8px;
}

.sidenav .Aknow h3 {
    text-align: center;
}

.sidenav .logos {
    border-bottom: 1px solid black;
}

.sidenav .Aknow {
    border-top: 1px solid rgb(27, 27, 27);
}

.home {
    vertical-align: central;
    width: 9%;
    padding-bottom: 6px;
    padding-right: 5px;
}

.arrowdown {
    border: solid;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 8px;
    margin-bottom: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

/* ===================
    Button style
   =================== */

button {
    font-size: 15px;
    text-align: center;
    border-radius: 6px;
    border: 0.5px solid #0061e0;
    background-color: #0061e0;
    color: white;
    padding: 0px 15px 0px 15px;
    box-shadow: 
    0px 1px 3px 0.5px #747474,
    inset 0px 0.5px 1px 0px #8bb2e4,inset 0px 10px 10px 0px #3882dd;
}

button img {
    height: 20px;
    margin: none;
    padding-bottom: 4px;
    padding-right: 3px;
    color:#004db3
}

.Calculate {
    display: flex;
    justify-content:center;
    border-top: 4px solid #f0f0f0 ;
    margin-right: 2%;
    padding-top: 7%;
}

.Calculate button {
    font-size: 20px;
    border-radius: 7px;
    padding: 9px 15px 5px 15px;
    box-shadow: 
    0px 1px 4px 0.2px #747474,
    inset 0px 0.5px 1px 0px #adcef8,inset 0px 15px 15px 0px #3882dd;
}

.Calculate button img {
    height: 25px;
    margin: none;

}

button:active{
    transform: scale3d(0.98, 0.98, 1);
    -webkit-transform: scale3d(0.98, 0.98, 1);
}

img:active{
    opacity: 0.6;
}

button:hover{
    filter: brightness(1.08);
}

button:active{
    filter: brightness(0.8);
}

/* ===================
    Header styles
   =================== */

header h2 {
    border-bottom: 4px solid #f0f0f0 ;
    margin-right: 2%;
    padding-bottom: 10px;
    color: #7c7c7c;
    text-align: center;
} 

.header-container {
    position: fixed;
    width: 100%;
    background: #446ca2;
    -webkit-box-shadow: 0 0.5px 4px #1b1b1b;
    -moz-box-shadow: 0 5px 4px #1b1b1b;
    box-shadow: 0 0.5px 4px #1b1b1b;
    z-index: 100;
    padding-top: 10px;
}

nav {
    padding: 0px 10px;

}

ul {
    list-style-type: none;
}

.menu li {

    margin: 0px 5px;
}

.menu li a {
    display: block;
}

nav a {
    color: #8bb2e4;
    text-decoration: none;
 
}

.titlehead a {
    font-size: 20px;
    color: white;
}

.titlehead {
    width: 50%;
    text-align: center;
    padding-bottom: 5px;
}

.back img {
    height:30px;
}

.toggle img {
    height:30px;
}

.toggle, .back {
    cursor: pointer;
}

.toggle:active, .back:active {
    background-color: rgb(0, 0, 0, 0.1);
    border-radius: 6px;
}

.logo img {
    height:30px;
}

.logo {
    display: none;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.item a {

    padding: 0px 6px;
    padding-top: 5px;
    font-size: 13px;
    text-align: center;
}

.item .current {
    color: white;
}

.item .current::after {
    content: "";
    display:block;
    position: relative;
    width: 100%;
    height: 2px;
    bottom: 0px;
    background-color: white;
    border-radius: 9px 9px 0 0;
}

.item a:hover{
    color: white;
}

/* ===================
    Aside modal styles
   =================== */

.main aside {
    border-top: 10px solid #00004d;
    background: #446ca2;
    color: white;
    -webkit-box-shadow: 0 3px 8px #222;
    -moz-box-shadow: 0 3px 8px #222;
    box-shadow: 0 3px 8px #222;
    padding-top: 100px;
    padding: 5px 10px 5px;
    margin-right: 10px;

}

.engineDesc {
    width: 100%;
}

/* ===================
    Footer styles
   =================== */

.footer-container {
    background: #e7e9eb;
    border-top: 2px solid #f3f3f3;
    color: #64686D;
    padding: 0.8%;
    display: none;
}

 .footer-content{
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

 .footer-content .footer-section {
    flex:1;
    padding-left: 2px;
}

 .footer-content .footer-section img.dev{
    width: 40px;
}

 .footer-content h3 {
    margin: 0px;
    padding-top: 3%;
}

 .footer-content p {
    margin: 0px;
    padding-top: 5px;
    padding-right: 2px;
}

.footer-content .footer-section img.footerImage {
    width: 120px;
    padding: 15px 0px;

}
 
.footer-section.info{
    display:none;
}

.footer-container .footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    color: rgb(177, 177, 177);
}

.title {
    color: white;

}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.left {
    float: left;
    width: 40%;
}

.left2 {
    float: left;
    width: 40%;
}

.right {
    margin-left: 50%;
}

.right2 {
    margin-left: 53%;
}

.table3col {
    width: 230px;
    table-layout: fixed;
}

.table4col {
    width: 310px;
    table-layout: fixed;
}

.table5col {
    width: 320px;
    table-layout: fixed;
}

table {
    width: 140px;
    table-layout: fixed;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

@media only screen and (min-width: 320px) {

    h1 {
        font-size: 14px;
        vertical-align: central;
    }

    h4 {
        width: 140px;
        border-bottom: 2px solid;
        font-size: 15px;

    }

    .titlehead {
        width: 58%;
    }

    .main-container{
        padding-top: 35px;
    }

}

@media only screen and (min-width: 360px) {

    h1 {
        font-size: 16px;
        margin-left: 65px;
        margin-top: 9px;
    }

    h4 {
        width: 150px;
        border-bottom: 2px solid;
        font-size: 15px;
    }

    .menu {
        padding-top: 2px;
    }

    .item a {
        font-size: 15px;
    }

    .mImage {
        margin-left: 0px;
    }

}

@media only screen and (min-width: 375px) {

    h1 {
        font-size: 16px;
    }

    h4 {
        width: 160px;
        border-bottom: 2px solid;
        font-size: 15px;
    }

    .header-container, .sidenav .closebtn{
        padding-top: 10px;
    }

    .main-container {
        padding-top: 55px;
    }

    .mImage {
        margin-left: 0px;
    }

    .menu {
        padding-top: 4px;
    }

    .sidenav {
        padding-top: 90px;
    }

    .sidenav .closebtn {
        padding-top: 55px;

    }

}

@media only screen and (min-width: 411px) {

    h1 {
        font-size: 20px;
        padding-top: 3px;
        padding-left: 8px;
    }

    h2 {
        margin-top: 15px;
    }

    h4 {
        width: 175px;
        border-bottom: 2px solid;
        font-size: 15px;
    }

    .main-container {
        padding-top: 50px;
    }

    .main aside {
        margin-top: 10px;
    }

    .titlehead {
        width: 66%;
    }

    .item a {
        font-size: 16px;
    }

    .item {
        padding-top: 5px;
    }

}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

    /* ====================
    INTERMEDIATE: Menu
   ==================== */

    .table3col {
        width: 352.5px;
        table-layout: fixed;
    }

    .table4col {
        width: 470px;
        table-layout: fixed;
    }

    .table4col {
        width: 590px;
        table-layout: fixed;
    }

    table {
        width: 235px;
        table-layout: fixed;
    }

    body {
        font: 15px/25px Helvetica, Helvetica Neue, Arial;
    }

    .titlehead {
        width: 60%;
    }

    .titlehead a {
        text-align: left; 
        font-size: 30px; 
    }

    .logo {
        display: block;
        padding-bottom: 5px;
    }

    .logo img {
        float: right;
    }

    .logo {
        flex: 1;
    }

    .item a{
        font-size: 20px;
        padding-bottom: 5px;
    }


    .item .current::after {
        bottom: -6px;
        height: 3px;
    }

    .header-container{
        padding-top: 10px;
    }
   
    .main-container {
        padding-top: 20px;
    }

    .main aside {
        margin-top: 15px;
    } 

    .footer-container .footer-content .footer-section img.dev{
        width: 14.5%;
    }

    .footer-container .footer-content .footer-section img.footerImage {
        width: 45%;
        
    }



}

@media only screen and (min-width: 600px) {

    .titlehead {
        width: 75%;
    }



}

@media only screen and (min-width: 768px) {

    /* ====================
    WIDE: CSS3 Effects
   ==================== */
 
   .item .current::after {
    bottom: -13px;
    height: 4px;
    }

   .menu {
    padding-bottom: 7px;
    }

    h1 {
        float: none;
        margin-top: 25px;
        margin-left: 10px;
        text-align: left;
        font-size: 35px;
    }

    h4 {
        width: 190px;
        border-bottom: 2px solid;
        font-size: 18px;

    }

    h5 {
        font-size: 25px;
    }

    .sidenav a {
        padding: 8px 8px 8px 22px;
        font-size: 19px;
    }

    .sidenav {
        padding-top: 55px;
    }

    .sidenav .closebtn {
        margin-top: 0px;
        padding-top: 20px;
    }


    .sidenav .footer-content {
        display: none;
    }

    .home {
        width: 12%;
        padding-bottom: 6px;
        padding-right: 5px;
    }

    .main aside {
        border-top: 20px solid #00004d;
    }

    .main-container {
        padding-top: 70px;
    }


    .table3col {
        width: 525px;
        table-layout: fixed;
    }

    .table4col {
        width: 650px;
        table-layout: fixed;
    }

    .table5col {
        width: 880px;
        table-layout: fixed;
    }

    table {
        width: 160px;
        table-layout: fixed;
    }

    .header-container {
        border-bottom: 1.5px solid;
        border-bottom-color: #00004d;
    }

    .back{
        order: 1;
    }

    .toggle{
        order:2;
    }

    .titlehead {
        width: 26%;
        order:4;
    }

    .logo {
        order:3;
    }

    .item {
        order:6;

    }

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #1b1b1b;
        -moz-box-shadow: 0 5px 10px #1b1b1b;
        box-shadow: 0 1px 8px #1b1b1b;
    }

    /* ============
    WIDE: Menu
   ============ */

    .title {
        float: inside;
    }

    .left {
        float: left;
        width: 30%;
    }

    .left2 {
        float: left;
        width: 30%;
    }

    .right {
        margin-left: 35%;
    }

    .right2 {
        margin-left: 35%;
    }

    .main aside {
        position: absolute;
        right: 2px;
        width: 34%;
        margin-top: 5%;
    }

    .footer-section.info{
        display:block;
    }

    .Calculate {
        width: 60%;
        padding-top: 20px;
    }

    header h2 {
        width: 60%;
    } 
    
    .Calculate button {
        font-size: 15px;
        border-radius: 6px;
        padding: 0px 15px 0px 15px;
        width:fit-content
    
    }

    .Calculate button img {
        height: 18px;
        padding-bottom: 4px;
    }

    button img {
        height: 20px;
    }


}

@media only screen and (min-width: 1024px) {

    /* ================
    iPad Pro Width
   ================ */
   
   .item .current::after {
    bottom: -5px;
    height: 4px;
    }


    h1 {
        font-size: 43px;
        float: none;
        margin-top: 40px;
        margin-bottom: 10px;
        padding: 0px 0px;
        vertical-align: central;
        margin-left: 165px;
        text-align: left;
    }

    .main-container {
        padding-top: 30px;
    }

    h4 {
        width: 250px;
        border-bottom: 2px solid;
        font-size: 18px;
    }


    table {
        width: 350px;
        table-layout: fixed;
    }



    .main aside {
        width: 30%;
        margin-top: 5%;
        right: 5px;
    }

    .titlehead {
        width: 40%;
    }

    .engineDesc {
        width: 100%;

    }

    .menu {
        padding-bottom: 0px;
    }


}

@media only screen and (min-width: 1140px) {

    /* ===============
    PC Width
   =============== */

   header h2 {
        width: 60%;
    }

    h1 {
        font-size: 32px;
        float: none;
        padding-bottom: 15px;
        padding-top: 3px;
        vertical-align: initial;
        margin-left: 0px;
        padding-left: 140px;
        margin-top: 24px;
        text-align: left;
    }

    .last {
    position:relative;
    top: -225px;
}

    .main-container {
        padding-top: 50px;
    }

    .header-container {
        border-bottom: 1px solid #00004d;
        position: fixed;
        width: 100%;
        padding-top: 0px;
    }

    .footer-container{
        display: block;
    }

    table {
        width: 350px;
        table-layout: fixed;
    }

    body {
        font: 16px/25px Helvetica, Helvetica Neue, Arial;
    }

    .wrapper {
        width: 900px;
        /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    h4 {
        width: 225px;
        border-bottom: 2px solid;
        font-size: 18px;
    }

    .home {
        vertical-align: central;
        width: 9%;
        padding-bottom: 5px;
        padding-right: 10px;
    }


    .main aside {
        position: absolute;
        right: 60px;
        top: 10px;
        width: 34%;
        padding-left: 15px;
        border-radius:  4px 4px 4px 4px;
    }

    .main aside p {
        padding-top: 10px;
    }

    .back{
        display: none;
    }

    .titlehead{
        width: 43%;
    }

    .item a {
        padding-top: 10px;
    }

    .logo{
        padding: 10px 0px;
    }

    .sidenav {
        transition: 0.5s;
        padding-top: 54px;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 35px;
        padding-top: 0px;
        margin-top: 15px;
    }

    .sidenav a {
        padding: 8px 8px 8px 16px;
        font-size: 19px;
    }

    .sidenav a  img {
        width: 13%;
    }

    .engineDesc {
        width: 70%;
        margin-left: 40px;
    }

    .arrowdown {
        border: solid;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 4px;
        margin-left: 10px;
        margin-bottom: 3px;
      }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {

    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    sub {
        z-index: inherit;
    }

    table {
        table-layout: fixed;
    }

    .tableDP {
        table-layout: fixed;
    }

    .table3col {
        table-layout: fixed;
    }

    .table4col {
        table-layout: fixed;
    }

    .table5col {
        table-layout: fixed;
    }

    th,
    td {
        text-align: left;
    }

}

table,
th,
td {
    border: 1px solid lightgrey !important;
    border-collapse: separate;
    empty-cells: show;
}

th,
td {
    text-align: center;
}

th {
    background-color: gainsboro;
    color: black;
}