/* CSS for Electrical References Static Pages */

/* 1.0 Typography ----------------------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
}

@media (max-width: 767px) {
    h1 {
        font-size: 2.1em;
    }

    h2 {
        font-size: 1.7em;
    }
}

h2.subtitle {
    font-size: medium;
    font-weight: 400;
    line-height: normal;
}

h2 {
    margin-top: 25px;
    margin-bottom: 20px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

body {
    font-size: 1.5rem;
    line-height: 1.5;
}

.btn-group-lg > .btn, .btn-lg {
    font-size: 16px;
}

/* 2.0 Colors ---------------------------------------------------------------------------------------------*/

body {
    color: #222;
}

.text-brightblue {
    color: #0054a4;
}

.bg-white {
    background: #fff;
}

.bg-lightergray {
    background: #f3f3f3;
}

.well.well-gray {
    background: #eee;
}

.well.well-light {
    background: #fcfcfc;
}

.well-light .border {
    border-color: #eee !important;
}

.oneValue {
    background-color: lightyellow;
}

.gray-empty tr td:empty {
    background-color: rgb(230, 230, 230);
}

.section.main .bg-blue {
    background-color: #0256a5;
}

/* 3.0 Buttons and Links ----------------------------------------------------------------------------------*/

.btn i.fa {
    vertical-align: middle;
}


/* 4.0 Tables ---------------------------------------------------------------------------------------------*/

tr:nth-child(even) {
    background-color: #E0F2FB;
}

th {
    font-weight: bold;
    background-color: #f3f3f3;
    text-align: right;
}

td {
    text-align: right;
}

/* 5.0 Layout Classes -----------------------------------------------------------------------------------------*/
.section.main {
    margin-top: 20px;
}

@media only screen and (max-width: 767px) {
    .section.main {
        width: 90%;
        margin: 20px auto;
    }
}

.margin-horizontal-auto {
    margin-right: auto;
    margin-left: auto;
}

.nowrap {
    white-space: nowrap;
}

.max-width-500 {
    max-width: 500px;
}

.max-width-600 {
    max-width: 600px;
}

/* 6.0 Helper Classes  ----------------------------------------------------------------------------------------*/

/* Used to add a jump links section to the top of long pages */
.jumplink-container {
    margin: 30px 0px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    row-gap: 10px;
    column-gap: 10px;
    justify-content: center;
}

    .jumplink-container a {
        background-color: #0256a5;
        margin: 8px;
        padding: 5px 12px 8px 12px;
        font-size: 0.9em;
        border-radius: 8px;
        text-align: center;
        color: #ffffff;
        white-space: nowrap;
    }

        .jumplink-container a:hover {
            background-color: #01315e;
            text-decoration: none;
            color: #ffffff;
        }

    .jumplink-container h4 {
        font-size: 1em;
        font-weight: 400;
    }

.downarrow {
    font-size: 1.5em;
    padding-left: 5px;
}

.badge.badge-light {
    background: #f2f2f2;
    color: #000;
    font-weight: inherit;
    font-size: inherit;
    padding: 8px;
}

    .badge.badge-light.text-sm {
        font-size: 13px;
    }

        .badge.badge-light.text-sm li {
            padding: 0 3px;
        }

/* 7.0 Boostrap Contextual Class Overrides for References pages  ----------------------------------------------------------------------------------------*/
.panel-info, .panel-info .panel-heading {
    border-color: #ccc;
}

    .panel-info .panel-heading {
        background: #d6e6f5;
        color: #05437e;
    }

    .panel-info .text-info {
        color: #05437e;
    }

@media (max-width: 767px) {
    .media-heading { /* SM */
        line-height: inherit;
    }
}

/* 8.0 Bootstrap 4 class used in our Bootstrap 3 -----------------------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 768px) {
    .text-md-left {
        text-align: left;
    }
}

/* 9.0 NacSpace Flex Layout classes --------------------------------------------------------------------------------------------------------------------*/

.flex-basis-10p {
    flex-basis: 10%;
}

.flex-basis-20p {
    flex-basis: 20%;
}

.flex-basis-40p {
    flex-basis: 40%;
}

.flex-basis-50p {
    flex-basis: 50%;
}

.flex-basis-60p {
    flex-basis: 60%;
}

.flex-column-gap-30 {
    column-gap: 30px;
}

.flex-column-gap-40 {
    column-gap: 40px;
}

.flex-row-gap-20 {
    row-gap: 20px;
}

.flex-row-gap-25 {
    row-gap: 25px;
}

.flex-row-gap-40 {
    row-gap: 40px;
}

/* Used for On This Page link sections */
.outer-flex-link-list {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 20px;
}

.flex-link-list-title {
    font-weight: bold;
    font-size: 85%;
    padding-top: 2px;
    padding-right: 10px;
    white-space: nowrap;
    margin-bottom: 0px;
    flex-basis: 5%;
}

ul.flex-link-list {
    display: flex;
    column-gap: 7px;
    flex-wrap: wrap;
    row-gap: 7px;
    justify-content: flex-start;
    list-style: none;
    margin-bottom: 0px;
    padding-inline-start: 0px;
}

@media only screen and (max-width: 991px) {

    .outer-flex-link-list { /* MD and SM */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 15px;
    }

    .flex-link-list-title {
        white-space: normal;
        font-size: 1.05em;
        padding: 5px 0px;
    }

    ul.flex-link-list {
        align-items: center;
        white-space: nowrap;
    }

    .flex-link-list > * {
        flex-basis: 49%;
    }

    .bullet {
        display: none;
    }
}

@media only screen and (max-width: 575px) {

    ul.flex-link-list { /* XS */
        flex-direction: column;
        list-style: disc;
        align-items: flex-start;
        white-space: normal;
        padding-inline-start: 10px;
    }
}

/* 10.0 Mobile Responsiveness -----------------------------------------------------------------------------*/

@media only screen and (max-width: 575px) {
    .visible-xs .table {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 11.0 Images ---------------------------------------------------------------------------------------------*/

img {
    pointer-events: none;
}
