/*********************************** 
    SITE HTML, BODY AND STRUCTURE
************************************/
html, body {
    height: 100%;
}

/* Move down content */
body {
    padding-top: 10px;
    padding-bottom: 20px;
}

/* Main wrapper to all body elements */
.wrapper {
    min-height: 100%;
    padding-bottom: 75px; /* this needs to be bigger than footer height*/
}

/* Wrapping element */
.body-content {
}

/* Footer */
.footer {
    position: relative;
    margin-top: -75px; /* negative value of footer height */
    height: 75px;
    clear: both;
    text-align: center;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

/*********************************** 
    MASTER PAGE
************************************/
a, a:hover, a:active, a:focus {
    outline: 0;
}

.footer-sitemap > li {
    display: inline;
    list-style-type: none;
}

    .footer-sitemap > li:before {
        content: "|";
        margin: 0 10px;
    }

    .footer-sitemap > li:first-child:before {
        content: "";
    }


/*********************************** 
    OVERRIDES
************************************/
.page-header {
    text-align: center;
    margin: 0;
}

.page-header h3 {
    margin: 0;
    margin-top:10px;
}
@media (min-width: 768px) {
    /*.navbar .navbar-nav {
        float: none;
        vertical-align: top;
    }*/

    .nav.navbar-nav.nav-justified {
        text-align: center;
    }

        .nav.navbar-nav.nav-justified > li {
            /*width: 20%;*/
        }
}

.tooltip-inner {
    max-width: 600px;
}

/*********************************** 
    COMMONS
************************************/
.smaller-font {
    font-size: 50%;
}

 .page-heading  small { font-size:14px; } .page-heading {
    color: dodgerblue;
}

/* Indents list so that bullet points start aligned with rest of content */
ul.list-fix,
ol.list-fix {
    padding-left: 15px;
    list-style: none;
}

    ul.list-fix li,
    ol.list-fix li {
        line-height: 1.1em;
    }

        ul.list-fix li:before,
        ol.list-fix li:before {
            content: "";
            border-color: transparent #333;
            border-style: solid;
            border-width: 0.35em 0 0.35em 0.45em;
            display: block;
            height: 0;
            width: 0;
            left: -1em;
            top: 0.9em;
            position: relative;
        }

.center {
    margin: 0 auto;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.margin-top-xs {
    margin-top: 10px;
}

.margin-top-sm {
    margin-top: 20px;
}

.margin-top-md {
    margin-top: 30px;
}

.margin-top-lg {
    margin-top: 40px;
}

.undecorated, .undecorated:hover {
    text-decoration: none;
}


/*********************************** 
    SIDE NAVEBAR
************************************/
#sidenav {
    color: black;
}

    #sidenav > h2 {
        font-weight: 100;
        margin-top: 0;
    }


#sidenav-nav > a {
    font-size: 14px;
}


/*********************************** 
    Calculate Tables
************************************/
.table-calculate {
    width: auto;
    border: solid 2px #D9EDF7;
}

    .table-calculate th { font-weight:bold;   } .table-calculate tr :nth-child(2) {
        font-weight: bold;
    }

    .table-calculate tr :nth-child(5) {
        background-color: #D9EDF7 !important;
        cursor: help;
    }

.table-calculate-result tr :nth-child(4) {
    background-color: #D9EDF7 !important;
    cursor: help;
}

.table-calculate tr td {
    text-align: center;
    font-size: 85% !important;
    vertical-align: middle !important;
}

.table-calculate tr th {
    text-align: center;
    font-size: 85% !important;
    vertical-align: top !important;
}

.table-calculate td input {
    border: 1px solid #a1a1a1;
    border-radius: 8px;
    text-align: center;
    width: 100%;
}

.table-calculate td .form-control {
    max-height: 22px;
    padding: 0;
    width: 100%;
    float: none;
    font-size: 100%;
    color: #333;
}

.table-calculate td .input-group-addon {
    padding: 2px;
    float: none;
}

/*********************************** 
    BLUEIMP IMAGES CENTER
************************************/
.blueimp-img-links {
    margin: 10px;
    text-align: center;
}

    .blueimp-img-links a {
        text-decoration: none;
    }

    .blueimp-img-links img {
        display: inline-block;
        width: 100% \9;
        max-width: 100%;
        height: auto;
        padding: 4px;
        line-height: 1.42857143;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        margin: 5px;
    }

        .blueimp-img-links img:hover {
            opacity: 0.6;
        }

.img-opacity:hover {
    opacity: 0.6;
}


/*********************************** 
    Tables
************************************/
.table-td-fixed {
    width: 116px;
}

/*********************************** 
    FAQ
************************************/
.question {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

ul.answer {
    padding-left: 15px;
}

.btn-width-max {
    text-align: center;
    width: 100%;
}

.brand,
.address-bar {
    display: none;
}


@media screen and (min-width:768px) {

    .brand,
    .address-bar {
        display: inherit;
    }
}

.menu-level2 {
    width: 250px;
}

    .menu-level2 li a {
        color: #262626 !important;
        -moz-border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        border-radius: 0 !important;
    }

        .menu-level2 li a:hover, .menu-level2 li a:active, .menu-level2 li a:focus, .list-group-item.active {
            color: white !important;
            background-color: #c52d2f !important;
        }

.margin-left {
    margin-left: 100px;
}
