/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Update navbar hover*/
.navbar {
    padding: 0rem 0rem;
}

.nav-item {
    padding: .3rem .5rem;
}

#planSubMenu .nav-item {
    padding: 0rem .5rem;
}

.nav-item:hover, .nav-item:focus {
    text-decoration: none;
    background-color: #001e3c;
}

#planSubMenu li.nav-item:hover, #planSubMenu li.nav-item:focus {
    text-decoration: none;
    background-color: #c4ccd4;
}

#AboveNavHeader {
    background-color: #B4C7E7;
}

.AboveNavHeaderLarge {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.AboveNavHeaderSmall {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

#AboveNavHeader.AboveNavHeaderSmall > div > div > img {
    height: 64px;
}

#AboveNavHeader.AboveNavHeaderLarge > div > div > img {
    height: 145px;
}

#HeaderInfoSection {
    background-color: #e9ecef;
}


.dropdown-submenu {
    position: relative !important;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0 !important;
        left: 100% !important;
        margin-left: .1rem;
        margin-right: .1rem;
    }

.col-form-label {
    font-weight: bold;
}

.required::after {
    content: "*";
    font-weight: bold;
    color: red;
    white-space: nowrap;
}

fieldset.full-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.full-border {
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}

.page-header {
    padding-top: 3rem;
    padding-bottom: 2rem;
    text-align: center;
}

/* Side Menu */

/* Remove default bullets */
ul, #sideNavigation {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#sideNavigation {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

    /* Create the caret/arrow with a unicode, and style it */
    .caret::before {
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
}


.form-group {
    margin-bottom: .5rem;
}

.btn-xs, .btn-group-xs > .btn {
    padding: .4rem .5rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
    /*padding: .5rem .6rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;*/
}

.form-control-xs {
    height: calc(1em + .375rem + 2px) !important;
    padding: 0px 4px !important;
    font-size: .75rem !important;
    line-height: 1.5;
    border-radius: .2rem;
}


/*  Nav Wizard */
ul.nav-wizard {
    background-color: #f9f9f9;
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    *zoom: 1;
    position: relative;
    overflow: hidden;
}

    ul.nav-wizard:before {
        display: block;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 46px;
        height: 47px;
        border-top: 1px solid #d4d4d4;
        border-bottom: 1px solid #d4d4d4;
        z-index: 11;
        content: " ";
    }

    ul.nav-wizard:after {
        display: block;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 138px;
        height: 47px;
        border-top: 1px solid #d4d4d4;
        border-bottom: 1px solid #d4d4d4;
        z-index: 11;
        content: " ";
    }

    ul.nav-wizard li {
        position: relative;
        float: left;
        height: 46px;
        display: inline-block;
        text-align: middle;
        padding: 0 20px 0 30px;
        margin: 0;
        font-size: 16px;
        line-height: 46px;
    }

        ul.nav-wizard li a {
            color: #468847;
            padding: 0;
        }

            ul.nav-wizard li a:hover {
                background-color: transparent;
            }

        ul.nav-wizard li:before {
            position: absolute;
            display: block;
            border: 24px solid transparent;
            border-left: 16px solid #d4d4d4;
            border-right: 0;
            top: -1px;
            z-index: 10;
            content: '';
            right: -16px;
        }

        ul.nav-wizard li:after {
            position: absolute;
            display: block;
            border: 24px solid transparent;
            border-left: 16px solid #f9f9f9;
            border-right: 0;
            top: -1px;
            z-index: 10;
            content: '';
            right: -15px;
        }

        ul.nav-wizard li.active {
            color: #3a87ad;
            background: #d9edf7;
        }

            ul.nav-wizard li.active:after {
                border-left: 16px solid #d9edf7;
            }

            ul.nav-wizard li.active a,
            ul.nav-wizard li.active a:active,
            ul.nav-wizard li.active a:visited,
            ul.nav-wizard li.active a:focus {
                color: #3a87ad;
                background: #d9edf7;
            }

    ul.nav-wizard .active ~ li {
        color: #999999;
        background: #ededed;
    }

        ul.nav-wizard .active ~ li:after {
            border-left: 16px solid #ededed;
        }

        ul.nav-wizard .active ~ li a,
        ul.nav-wizard .active ~ li a:active,
        ul.nav-wizard .active ~ li a:visited,
        ul.nav-wizard .active ~ li a:focus {
            color: #999999;
            background: #ededed;
        }

    ul.nav-wizard.nav-wizard-backnav li:hover {
        color: #468847;
        background: #f6fbfd;
    }

        ul.nav-wizard.nav-wizard-backnav li:hover:after {
            border-left: 16px solid #f6fbfd;
        }

        ul.nav-wizard.nav-wizard-backnav li:hover a,
        ul.nav-wizard.nav-wizard-backnav li:hover a:active,
        ul.nav-wizard.nav-wizard-backnav li:hover a:visited,
        ul.nav-wizard.nav-wizard-backnav li:hover a:focus {
            color: #468847;
            background: #f6fbfd;
        }

    ul.nav-wizard.nav-wizard-backnav .active ~ li {
        color: #999999;
        background: #ededed;
    }

        ul.nav-wizard.nav-wizard-backnav .active ~ li:after {
            border-left: 16px solid #ededed;
        }

        ul.nav-wizard.nav-wizard-backnav .active ~ li a,
        ul.nav-wizard.nav-wizard-backnav .active ~ li a:active,
        ul.nav-wizard.nav-wizard-backnav .active ~ li a:visited,
        ul.nav-wizard.nav-wizard-backnav .active ~ li a:focus {
            color: #999999;
            background: #ededed;
        }

/*.wrapper {
    display: flex;
    text-decoration: none;
    transition: all 0.4s;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #033D72;
    color: #fff;
    transition: all 0.4s;
    height: 100vh;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        padding: 20px;
        background: #033D72;
    }

    #sidebar ul.components {
        padding: 20px 0;*/
/* border-bottom: 1px solid #47748b; */
/*}

    #sidebar ul p {
        color: #fff;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        #sidebar ul li a:hover {
            color: #262933;
            background: #033D72;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        background: #033D72;
    }

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #033D72;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #sidebarCollapse span {
        display: none;
    }
}*/

#table-wrapper {
    position: relative;
}

#table-scroll {
    height: 24rem;
    overflow: auto;
    margin-top: 3px;
}

#ada-code-table-scroll {
    height: 28rem;
    overflow: auto;
    margin-top: 2px;
}

#table-wrapper table {
    width: 100%;
}

    #table-wrapper table thead th .text {
        position: absolute;
        top: -2rem;
        z-index: 2;
    }
/*
.approved-column {
    width: 6rem;
}

.maximum-dropdown {
    width: 6rem;
}

.deductible-dropdown {
    width: 6rem;
}

.maximum-period-dropdown {
    width: 9rem;
}

.age-dropdown {
    width: 5rem;
}

.smallint-dropdown {
    width: 5rem;
}

.maximumType-dropdown {
    width: 11rem;
}

.yesno-dropdown {
    width: 5rem;
}

.waiting-pd-start-type-dropdown {
    width: 12rem;
}

.us-state-dropdown {
    width: 5rem;
}

.phone-number {
    width: 8rem;
}

.phone-ext {
    width: 4rem;
}

.smallint {
    width: 4rem;
}

.duration-dropdown{
    width: 6rem;
}

.percentages {
    width: 5rem !important;
}

.input-validation-error {
    border-color: var(--danger);
    border-style: solid;
}

.ada-code-benefit-modified {
    border-style: solid;
}

.edited-ada-code {
    border-style: solid;
    border-width: 2px;
    border-color: var(--primary);
}

select.benefitfreqdurationvalues {
    width: 7rem;
}

select.percentages {
    width: 8rem !important;
    min-width: 8rem !important;
}*/


input[type=number] {
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fixed_header  {
    height: 250px;
}

.fixed_header table {
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
}

.fixed_header  table thead {
        /* head takes the height it requires, 
    and it's not scaled when table is resized */

    flex: 0 0 auto;
    width: calc(100% - 0.9em);
}

.fixed_header table tbody {
    /* body takes all the remaining available space */
    flex: 1 1 auto;
    display: block;
    overflow-y: scroll;
}

.fixed_header table tbody tr {
    width: 100%;
}

    .fixed_header table thead, fixed_header table tbody tr {
        display: table;
        table-layout: fixed;
    }



.edit-help {
    border: 1px solid blue;
}



/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }