/*
 * Global Element Styling
 * Migrated from original Site.css v1.36
 * Font loaded via Google Fonts CDN in _Layout.cshtml (replaces local TTF @font-face)
 */

/* ── DataTables sort icons ──────────────────────────────────────────────────
 * jquery.dataTables.min.css references ../images/sort_*.png which are not
 * present. Override with Bootstrap 3 Glyphicons (already loaded via CDN)
 * to match the original app's DataTables Bootstrap integration styling.
 * ────────────────────────────────────────────────────────────────────────── */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background-image: none !important;
    position: relative;
    padding-right: 30px;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: block;
    font-family: 'Glyphicons Halflings';
    opacity: 0.5;
}
table.dataTable thead .sorting:after        { opacity: 0.2; content: "\e150"; }
table.dataTable thead .sorting_asc:after    { content: "\e155"; }
table.dataTable thead .sorting_desc:after   { content: "\e156"; }
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after { color: #eee; }


html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial;
}

body {
    background-color: #1a5894;
    background-image: linear-gradient(to right, #1a5894,#083e73 );
    letter-spacing: 0.5px;
    font-size: 14px !important;
    line-height: 1.6 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    margin: 4px 0px 12px 0px !important;
    font-size: 30px;
    padding-top: 4px;
}

h2 {
    margin: 35px 0px 35px 0px;
    font-weight: bold;
    font-size: 28px;
    color: #0171b2;
    text-align: center;
}

h3 {
    margin: 0px 0px 14px 0px !important;
    color: #0171b2;
    font-weight: bold;
}

h4 {
    font-size: 17px;
    font-weight: bold;
}

p {
    text-align: justify;
}

a,
a:hover,
a:focus {
    color: #0171b2;
}

/* Inline links within body paragraphs must be visually distinguishable from surrounding text (WCAG 1.4.1).
   Bootstrap 3 suppresses underlines on all anchors at rest; restore them for paragraph context. */
p a {
    text-decoration: underline;
}

.pagination > li > a {
    color: #428bca;
}

.pagination > li.active > a {
    color: white !important;
}

table {
    border-collapse: separate !important;
}

table, td, th {
    border: 1px solid #dddddd !important;
}

th, th .grid-header-title a {
    background-color: #4C76A0;
    color: #ffffff !important;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

input[type="submit"]:focus, input[type="submit"]:hover {
    text-decoration: none !important;
    color: white !important;
    background-color: #1278b6 !important;
    border: 1px solid #1278b6;
}

input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}

hr {
    margin: 10px 0px;
}

.btn {
    color: #fff;
    padding: 0.5em 1em;
    text-decoration: none;
    border: 1px solid white;
    background-color: #a41e24;
    font-weight: bold;
    border-radius: 0;
}

.btn:hover, .btn:focus {
    background-color: #1278b6 !important;
    text-decoration: none;
    color: white !important;
}

.pagecontent {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: block !important;
}

/* Scroll bar styling*/
::-webkit-scrollbar {
    width: 6px;
    border: 2px solid white;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: #FFA219;
}

::-webkit-scrollbar-thumb:hover {
    background: #a41e24;
}

/*
 * Shared Page Layout Styling
 */
/* Site Header */
.siteheader {
    text-align: center;
    display: block;
    padding: 6px;
}

.siteheader .row {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 20px;
    min-height: 113px;
}

.siteheader .row::before,
.siteheader .row::after {
    display: none;
}

.eac-logo {
    width: 100px;
    margin-left: 80px;
}

.fmg-logo {
    height: 80px;
    width: auto;
    justify-self: end;
    margin-right: 80px;
}

.headertext {
    text-align: center;
}

.headertext .header {
    color: #ffffff;
    text-align: center;
    max-width: 420px;
    display: inline-block;
}

/* Skip Link */
#skip-link {
    color: white;
}

/* Navbar */
#nav {
    margin-top: 6px;
    background-color: #f2f2f2;
}

#welcome {
    display: inline-block;
    padding: 10px 5px;
}

.navbar-inverse {
    background-color: #96daf1;
}

.navbar-inverse .container {
    max-width: 1100px;
}

.navbar-nav > li > a {
    padding: 14px 20px !important;
}

.navbar {
    margin-bottom: 0px !important;
}

.navbar-default .navbar-nav > li > a {
    color: #1f3060;
    font-size: 1.1em;
    font-weight: bold;
}

.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none !important;
    color: white !important;
    background-color: #1278b6 !important;
}

.nav > li > a.active {
    background-color: #1278b6 !important;
    color: white !important;
}

.account-options {
    padding: 0px 10px;
}

/* Dropdown animation*/
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-toggle::after {
    content: none;
}

.dropdown-toggle:not(.show) i {
    transform: rotate(0deg);
    transition: transform 1s;
}

.dropdown-toggle.show i {
    transform: rotate(180deg);
}

.dropdown:hover .animated-dropdown-icon {
    transform: rotate(180deg);
    transition: transform 1s;
}

/* Login Button */
.login-btn {
    padding: 12px 20px;
}

/* Main Content */

#body-content {
    display: block;
    background-color: #ECF6FA;
    flex: 1 0 auto;
}

#main-content {
    display: block;
    padding: 0px 30px;
    margin: 0 auto;
    max-width: 1100px;
}

/* Footer */
.page-footer {
    background-color: #0171b2;
    border-top: 10px solid #a41e24;
    font-size: 16px;
}

.footercontent {
    padding-top: 20px;
    text-align: center;
    height: 100px;
    color: #fff;
}

.footercontent a {
    color: #fff !important;
}

#footertext {
    display: block;
    color: #fff;
    text-align: center;
    margin-top: 10px !important;
    font-size: 13px;
}

/* Home Page */
#home-text-div {
    z-index: 2;
}

#home-img-div {
    z-index: 1;
}

/* Login Page */
input[name=username] + .text-danger {
    display: none;
}

input[name=username]:invalid + .text-danger {
    display: block;
}

input[name=password] + .text-danger {
    display: none;
}

input[name=password]:invalid + .text-danger {
    display: block;
}

.form-group-center label.col-md-8 {
    width: auto !important;
}

.form-group-center div.col-md-4 {
    float: none !important;
    width: 280px;
    text-align: center;
}

.form-group-center {
    margin: 0 auto;
    display: block;
    width: 280px;
}

/* State Upload Page */
.text-danger {
    line-height: 30px;
    display: inline-block;
    margin: 0 auto;
    color: #b94a48 !important;
    font-size: 13px;
    font-weight: bold;
}

.display-inline {
    display: inline !important;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.eavsList {
    margin-bottom: 0px;
}

.eavsList a {
    display: block;
    padding: 2px 0;
}

ul.eavsList li {
    padding-bottom: 15px;
}

.file {
    width: 90%;
    margin: 0 auto;
}

.filetext {
    padding-left: 40px;
}

.form-control {
    height: auto !important;
}

.grid-sort-arrow{
    color:#102b3b !important;
    font-weight: bolder;
    font-size: 15px;
}

.table-striped tbody tr
{
    background-color: #e6f7ff !important;
}

.text-success {
    color: #005700 !important;
}

.unorderedlist {
    margin: 0 auto;
    max-width: 720px;
}

#tracking-datatable-caption-header {
    text-align: left;
}
#jurisdiction{
    width:160px;
}
#status{
    width:55px;
}
#percentcomplete{
    width:92px;
}
#lastaccessed{
    width:154px;
}

/* Calendar Page */
.calendar-frame {
    border: 0;
    width: 100%;
    height: 100%;
}

.calendar-today-button {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: none;
}

/* Resource Page */
.resources-pagecontent {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: block !important;
}

.title {
    color: #004666;
    float: right;
    z-index: 99999;
    position: relative;
}

.transcript {
    margin: 0 auto;
    width: 100%;
    display: block !important;
    max-width: 550px;
}

.webinarcontent {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    color: #1f3060;
}

#selected-video {
    padding: 15px 15px 0px 15px !important;
    background-color: #41b0f0;
}

#video-list {
    padding: 0px !important;
    max-width: 330px;
}

.youtube-video-slide {
    margin-top: 1px;
}

.slick-slide:focus,
.slick-slide.slick-current {
    outline: 0px solid black !important;
}

.slick-slide {
    border: none !important;
    outline: none !important;
}

.youtube-video-slide h4 {
    display: inline-block !important;
    vertical-align: middle;
    max-width: 130px;
    margin: 6px 0px 0px 0px;
    font-size: 15px;

}

.video-thumbnail {
    width: 179px;
    display: inline-block !important;
    cursor:pointer;

}
.video-thumbnail-2022 {
    width: 178px;
    display: inline-block !important;
    cursor:pointer;
}

.slick-list {
    margin-right: 0px;
}


.youtube-video-slide.slick-current {
    background-color: #41b0f0;
}

.slick-prev-glyph:hover,
.slick-prev-glyph:focus,
.slick-next-glyph:hover,
.slick-next-glyph:focus {
    color: transparent;
    outline: none;
    background: transparent;
}

.slick-prev-glyph.slick-disabled:before,
.slick-next-glyph.slick-disabled:before {
    opacity: .25;
}

.slick-prev-glyph:hover:before,
.slick-prev-glyph:focus:before,
.slick-next-glyph:hover:before,
.slick-next-glyph:focus:before {
    opacity: 1;
}

.slick-prev-glyph:before,
.slick-next-glyph:before {
    font-size: 60px;
    opacity: 0.8;
    color: gray;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev-glyph,
.slick-next-glyph {
    display: block;
    position: absolute !important;
    margin: 0 auto;
    top: auto !important;
    z-index: 99;
    left: 50% !important;
    line-height: 0;
    width: 65px;
    height: 65px;
    border: none;
    outline: none;
    background: transparent;
    color: transparent;
    padding: 0;
}

.slick-prev-glyph {
    top: 30px !important;
}

.slick-next-glyph {
    right: auto !important;
    bottom: 20px !important;
}

#video-player{
    padding-left:2.5px;
}

#video-player #video-list .slick-list {
    height: 535px !important;
}


#video-playerarchived #video-list .slick-list {
    height: 555px !important;
}


#archived-resources-list {
    margin: 0 auto;
    float: none;
}
/*Sub menu for Resources page*/
#menu {
    list-style-type: none;
    display: flex;
    padding-left: 10px;
    padding-top: 10px;
    width: 1100px;
}

#menu li a {
    display: block;
    margin-right: 20px;
    font-weight: bold;
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fbfbfb;
    background-clip: initial !important;
    border: 2px solid #9bdaf1;
    border-radius: unset !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/*Scroll to top button*/
#back-to-top {
    background-color: #a41e24;
    text-align:center;
    opacity: 0.9;
    color: white;
    width: 50px;
    line-height: 40px;
}

.backTop-btn {
    cursor: pointer;
    position: fixed;
    bottom: 130px;
    right: 80px;
    display: none;

}

/* Manager Users Page */
label.edit-btn {
    padding: 2px 4px;
    margin: 0px;
}

/* Responsive Submenu */
@media (max-width: 767px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #0171b2;
    }
    .navbar-nav .open .dropdown-menu {
        background-color: #fbfbfb;
    }
    #menu {
        display: block;
        width: initial;
    }
    .footercontent{
        padding-top:15px;
    }
}
@media (hover: hover){
    .dropdown:focus .dropdown-menu {
        display: block;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }

}

/* DataTables disabled pagination links — #777777 (4.47:1) fails WCAG 1.4.3; darken to meet 4.5:1 */
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover,
.dataTables_paginate .paginate_button.disabled:active {
    color: #595959 !important;
}

/* File-type icons shown inline before download/upload filenames */
.file-type-icon {
    margin-right: 5px;
    color: #555;
    vertical-align: middle;
}
