html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 10px;
}

header {
    background-color: #000065;
}

#header .logged_in_user {
    border: none;
    float: left;
    font-size: 13px;
    margin-top: 5px;
    width: 100%;
}

#header img.logo {
    display: block;
}
    
#header .logged_in_user th,
    #header .logged_in_user td {
        border: none;
        line-height: 20px;
    }

    #header .logged_in_user th {
        color: #FFFFFF;
        font-weight: normal;
        padding-right: 8px;
        text-align: left;
        padding-left: 10px;
        width: 95px;
    }

    #header .logged_in_user td {
        color: #3D3D3D;
    }

        #header .logged_in_user td .company_id {
            color: #FFFFFF;
        }

.aliased_as_user_td {
    font-weight: bold;
    font-size: 13px;
    color: #398c11;
}


footer {
    background-color: #0A9451;
    color: #FFFFFF;
}

footer .contact_info {
    float: right;
    text-align: right;
    width: 60%;
}

footer a:link,
footer a:visited {
    color: #FFF;
    text-decoration: none;
}

footer a:active,
footer a:hover {
    color: #7DBC4B;
}

.btn-primary-brid {
    color: #fff;
    background-color: #ea8f00;
    border-color: #ea8f00;
}

.btn-primary-brid:hover {
    color: #fff;
    background-color: #fbc000;
    border-color: #fbc000;
}

.btn-primary-brid.focus {
    color: #fff;
    background-color: #fbc000;
    border-color: #fbc000;
}

.btn-save {
    padding: 0.125rem 0.612rem;
    font-size: 1.1rem;
    height: 36px;
}

button:focus {
    border: solid 1px green;
}

.secondaryActionSmall {
    border: 0px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    overflow: hidden;
    color: white;
    background-color: gray;
    font-family: Arial;
    font-size: 12px;
    /*font-weight:bold;*/
    height: 20px;
    text-align: center;
}

.secondaryActionSmall:hover {
    background-color: #bfbfbf;
}

.navigation_link {
    color: #0A9451;
    font-weight: bold;
}

.navigation_link:hover {
    color: #226946;
    font-weight: bold;
}

.header_link {
    color: #FFFFFF;
    font-weight: bold;
}
    .header_link:hover {
        color: #e9ecef;
        font-weight: bold;
    }

#header .auxillary_nav {
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
}

    #header .auxillary_nav:hover {
        color: #398c11;
        font-weight: bold;
        text-decoration: none;
    }

#torso {
    background: url(../Images/torso.gif) repeat-y #FFF;
    
    padding: 0px 0;
    height: 100%;
    width: 100%;
    min-height: calc(100vh - 147px);
}

#content {
    float: left;
    padding: 5px 0 5px 5px;
    /*width: 730px;*/ /* width = .content_box.width - #primary_nav.width */
}


#primary_nav {
    float: left;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    width: 218px;
}

    #primary_nav li {
        margin: 0;
        padding: 0 30px 0 30px;
        text-align: right;
    }

        #primary_nav li.section {
            font-size: 15px;
            font-weight: bold;
            margin-top: 24px;
        }

            #primary_nav li.section hr.divider {
                margin-bottom: 24px;
            }

        #primary_nav li a:link,
        #primary_nav li a:visited {
            color: #0A9451;
            display: block;
            font-size: 15px;
            padding: 7px 0 5px 0px;
            text-decoration: none;
            width: 160px;
        }

        #primary_nav li a:active,
        #primary_nav li a:hover {
            color: #605E5F;
        }

        #primary_nav li.current {
            background: url(../Images/primary_nav_current.gif) no-repeat #434343;
            font-weight: bold;
            padding-top: 6px;
            min-height: 38px;
            margin: 12px 0;
        }

            #primary_nav li.current a:link,
            #primary_nav li.current a:visited,
            #primary_nav li.current a:active,
            #primary_nav li.current a:hover {
                color: #FFF;
            }

.secondary_nav {
    background: url(../Images/secondary_nav.gif) repeat-x bottom #5F5D5E;
    display: none;
    list-style-type: none;
    margin: -5px 0 0 -30px;
    padding: 0 30px 4px 0;
    width: 218px;
}

#primary_nav .secondary_nav li {
    margin: 0;
    padding: 0 30px 0 18px;
}

    #primary_nav .secondary_nav li a:link,
    #primary_nav .secondary_nav li a:visited {
        color: #C1BFC0;
        display: block;
        font-size: 13px;
        font-weight: normal;
        padding: 4px 0;
        width: 160px;
    }

    #primary_nav .secondary_nav li a:active,
    #primary_nav .secondary_nav li a:hover {
        color: #DDDBDC;
    }

    #primary_nav .secondary_nav li.current {
        background: url(../Images/secondary_nav_current.gif) no-repeat 183px 9px;
        color: #FFF;
        font-weight: bold;
        min-height: 16px;
    }

        #primary_nav .secondary_nav li.current a:link,
        #primary_nav .secondary_nav li.current a:visited {
            color: #FFF;
            font-weight: bold;
        }

.current .secondary_nav {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: #000065;
    font-weight: bold;
    line-height: 110%;
    margin-bottom: 0.5em;
}

h1 {
    color: #000065;
    font-size: 30px;
    margin-bottom: 1.2em;
}

h2 {
    color: #000065;
    font-size: 24px;
}

h3 {
    color: #000065;
    font-size: 20px;
}

h4 {
    color: #4f4f4f;
    font-size: 18px;
}

h5 {
    color: #797979;
    font-size: 16px;
}

h6 {
    color: #4f4f4f;
    font-size: 15px;
}

.data-grid th {
    background-color: #0A9451;
    color: #FFFFFF
}

.page-link {
    position: relative;
    display: block;
    color: #000065;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .page-link:hover {
        z-index: 2;
        color: #000065;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #000065;
    border-color: #000065;
}

#SearchCriteria {
    border: 1px solid #D0D0D0;
    line-height: 22px;
    height: 32px;
    margin: 0;
    padding: 4px 10px;
    vertical-align: top;
    width: 280px;
}

.active, .collapsible:hover {
    background-color: #d5d8dc;
}

#datatable td a.alias {
    background: url(../Images/datatables/alias.gif) no-repeat 0px 0px;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.view {
    background: url(../Images/datatables/view.gif) no-repeat 0px 0px;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.edit {
    background: url(../Images/datatables/edit.gif) no-repeat 0px 0px;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.editDisabled {
    background: url(../Images/datatables/edit.gif) no-repeat 0px 0px;
    opacity: 0.4;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.delete {
    background: url(../Images/datatables/deleteDisabled.gif) no-repeat 0px 0px;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.deleteDisabled {
    background: url(../Images/datatables/delete.gif) no-repeat 0px 0px;
    opacity: 0.4;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.add {
    background: url(../Images/datatables/add.gif) no-repeat 0px 0px;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

#datatable td a.added {
    background: url(../Images/datatables/added.gif) no-repeat 0px 0px;
    border: none;
    display: block;
    height: 18px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 25px;
    width: 18px;
}

.tile {
    background: url(../Images/tile.gif) repeat-x #F0F0F0;
    border: 1px solid #CFCFCF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    float: left;
    height: 176px;
    margin: 20px 30px 20px 0;
    padding: 16px;
    position: relative;
    width: 220px;
}

    .tile h2 {
        font-size: 20px;
        text-transform: uppercase;
    }

    .tile p {
        font-size: 14px;
    }

.tile {
    color: #222222;
    text-decoration: none;
}

    .tile:visited {
        color: #222222;
        text-decoration: none;
    }

    .tile:hover {
        border: 1px solid #ea8f00; /*#0A9451;*/
        background: #efefef;
        color: #222222;
        text-decoration: none;
    }

    .tile a {
        display: block;
        color: #222222;
        text-decoration: none;
    }

        .tile a.visited {
            color: #222222;
            text-decoration: none;
        }

        .tile a.active {
            color: #222222;
        }

        .tile a.hover {
            color: #222222;
        }

.last_tile {
    margin-right: 0;
}

.tile .link {
    border: 0;
    bottom: 8px;
    position: absolute;
    right: 12px;
}

.file-wrapper {
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    right: 0%;
}

.FileNameClass {
    display: inline-block;
    overflow: hidden;
    position: relative;
    right: 0%;
}

.file-wrapper .button {
    background: #809090;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    Color: white;
    font-weight: bold;
    padding: 4px 18px;
    border: black;
}

.file-wrapper input {
    display: inline-block;
    cursor: pointer;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.01;
    font-size: 100px;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}

fieldset {
    border: 1px solid #D0D0D0;
    padding: 0px 12px 10px;
    margin: 1em 0;
}

legend {
    padding: 0 5px;
    font-size: 18px;
    font-weight: bold;
    float: none;
    width: auto;
}

.editor-label {
    color: #000065;
    font-weight: bold;
}