/* ---------------  Global EHS Styles --------------- */
body {
    font-family: Arial, Verdana, sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
}


tr td,
tr th {
    border: 1px solid #bbb;
    padding: 0 6px;
}

a:link {
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    background: none;
    color: #2774AE;
    text-decoration: underline;
}

.connect {
    padding: 4px 0 0 0;
}

.footer {
    margin-top: 25px;
    font-size: .9em;
}

.footer a {
    font-weight: bold;
}

.footer hr {
    border-top: 1px solid #FFD100;
}

.xowiki-content #wikicmds {
    position: absolute;
}

/* ---------------- Custom Bootstrap Styles --------------- */
.glyphicon {
    top: 0;
}

.glyphicon-menu-right {
    top: 2px;
}

.glyphicon-plus-sign,
.glyphicon-minus-sign {
    top: 2px;
    cursor: pointer;
    padding: 0 10px;
}

.glyphicon-earphone,
.glyphicon-print {
    color: #005a8c;
}

.glyphicon-envelope,
.glyphicon-link,
.glyphicon-file {
    margin-right: 3px;
    font-size: 1.1rem;
    top: 0;
    color: #187ae0;
}

.blue-box .glyphicon-envelope,
.blue-box .glyphicon-file,
.blue-box .glyphicon-file {
    color: #fff;
    top: 4px;
}

.glyphicon-envelope {
    top: 1px;
}

.carousel-indicators {
    bottom: 0;
}

.glyphicon-chevron-left,
.glyphicon-chevron-right {
    color: #ffffff;
}

.panel-primary a {
    color: #fff;
}

/* ---------------- Menu Styles --------------- */
.navbar .navActive {
    color: #ffd100 !important;
}
.navActive {
    font-style: italic;
    color: #000000 !important;
    font-weight: bold !important;
}

.nav>li>a {
    padding: 10px 38px 10px 38px;
}

.dropdown-menu>li>a.navActive {
    background-color: #4f80bd !important;
    color: #ffffff !important;
}

.dropdown>.dropdown-toggle.navActive {
    font-style: initial;
    color: #fff !important;
}

ul.degree-list {
    font-weight: bold;
    line-height: 3em;
    list-style-type: none;
    padding: 0;
}

.degree-list li,
ul.degree-list li a,
ul.degree-list li a:hover,
ul.degree-list li a:active {
    text-decoration: none;
}

.degree-list li {
    border-bottom: 1px dashed lightgray;
    display: block;
}

.degree-list li:last-child {
    border-bottom: none;
    display: initial;
}

ul.degree-list li a:active {
    color: black;
}

ul.about-list li,
ul.admin-list li {
    list-style-type: none;
    text-transform: uppercase;
    margin: 10px 0;
}

ul.about-list li:last-child,
ul.admin-list li:last-child,
.secondary-nav-list li:last-child {
    margin-bottom: 0;
}

ul.about-list li:first-child,
ul.admin-list li:first-child,
.secondary-nav-list li:first-child {
    margin-top: 0;
}

.secondary-nav-list li {
    list-style-type: none;
    margin-bottom: 7px;
}

#collapse-degree-programs .sub-menu>li:nth-of-type(2),
#collapse-degree-programs .sub-menu>li:nth-of-type(3),
#collapse-degree-programs .sub-menu>li:nth-of-type(4),
#collapse-degree-programs .sub-menu>li:nth-of-type(5),
.secondary-nav-list li.no-child {
    padding-left: 10px;
}

#collapse-mdp .sub-menu>li:nth-child(2) {
    padding-left: 0 !important;
}

.navbar-nav .mega-menu a:hover {
    color: #fff;
    text-decoration: underline !important;
}

.caret {
    border-top: 4px solid;
}

#block-menu-menu-top-position-links ul.menu {
    float: right;
}

#block-menu-menu-top-position-links ul.menu li {
    background-image: none;
    display: inline-block;
    float: left;
    padding: 0 7px;
    border-right: 1px solid #2774ae;
}

#block-menu-menu-top-position-links ul.menu li.map {
    border-right: none;
}

#block-menu-menu-top-position-links ul.menu,
.item-list ul {
    font-size: 0.9em;
    line-height: 0.9em;
    margin: 0;
    padding: 0;
}
#block-menu-menu-top-position-links a {
    text-decoration: none;
    font-weight: bold;
}

#block-menu-menu-top-position-links a:hover {
    text-decoration: underline;
}

.footer ul.menu li {
    background-image: none;
    display: inline-block;
    float: left;
    padding: 0 7px;
    border-right: 1px solid #005A8C;
}

.footer ul.menu li.last {
    border-right: none;
}

.navbar {
    margin-bottom: 50px;
}

.mega-menu {
    padding: 1.5em;
}

ul.mega-menu li.mega-menu-header {
    text-transform: uppercase;
}

.mega-menu ul {
    padding: 0;
    visibility: visible;
    display: block;
}

li.mega-menu-header a {
    color: #fff;
}

ul.mega-menu ul li a,
ul.mega-menu li {
    color: #fff;
    list-style-type: none;
    text-transform: capitalize;
    font-weight: 400;
}

.dropdown>.dropdown-toggle.navActive,
.navbar-nav>li>a.navActive {
    font-style: initial;
    color: #fff !important;
    background-color: #4f80bd;
}

.glyphicon-minus-sign {
    color: #8c8c8c;
}

.no-child {
    margin-left: 26px;
}

.sub-sub-nav-item {
    margin-left: 20px;
}

.secondary-nav-list,
.admin-list,
.about-list {
    padding-left: 0;
}

#additional_pro_and_cert,
#course_syll,
#alum,
#inter_program,
#md-programs {
    display: table;
}

#additional_pro_and_cert span,
#course_syll span,
#alum span,
#inter_program span,
#md-programs span {
    display: table-cell;
    padding-right: 10px;
}

#collapse-alumni span {
    padding-right: 2px;
}

#degree-programs>span {
    padding-right: 10px;
}

#additional_pro_and_cert ul {
    padding-left: 25px;
}

.secondary-nav-list ul {
    padding-left: 25px;
}

#collapse-degree-programs>ul {
    padding-left: 50px;
}

.navbar-toggle .icon-bar:nth-of-type(3) {
    top: 1px;
}

.navbar-toggle .icon-bar:nth-of-type(4) {
    top: 2px;
}

.navbar-toggle .icon-bar {
    position: relative;
    transition: all 500ms ease-in-out;
}

.navbar-toggle.active .icon-bar:nth-of-type(2) {
    top: 6px;
    transform: rotate(45deg);
}

.navbar-toggle.active .icon-bar:nth-of-type(3) {
    background-color: transparent;
}

.navbar-toggle.active .icon-bar:nth-of-type(4) {
    top: -6px;
    transform: rotate(-45deg);
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: initial;
}

/* ---------------- Font Styles --------------- */
h1 {
    margin-top: 0px;
}

h2 {
    font-size: 24px;
}

.env-news h2 {
    margin-top: 0;
}

.env-news h2 a {
    text-decoration: none;
    font-weight: bold;
}

.view-header h3 {
    color: white;
    background-color: #2774ae;
    border-bottom: 1px solid white;
    padding: 5px 10px;
    margin: 20px 0px 10px;
}

h2.block-title {
    background: none repeat scroll 0 0 #2774ae;
    border-bottom: 1px solid white;
    color: white;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #bbb;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.photo-caption {
    text-align: center;
}

#centers h2 {
    font-size: 19px;
}

.dashed-bottom h2 {
    font-size: 21px;
}

.blue-header {
    color: white;
    background-color: #2774ae;
    border-bottom: 1px solid white;
    font-weight: normal;
    padding: 5px 10px;
    margin: 20px -10px 10px;
}

.alumni-meta {
    font-weight: bold;
}


.blue-header-box a:hover {
    color: #2774ae !important;
    text-decoration: underline !important;
}


.ehs-button {
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #003b5c;
    margin: 3px 0 !important;
    padding: 5px 12px;
    font-weight: 400 !important;
    font-style: normal;
}

.ehs-button:hover {
    background-color: #ffd100;
    color: #003B5C !important;
}

a.btn.ehs-button:hover {
    color: #003b5c !important;
}

.blue-header-box h2 {
    margin-bottom: 0;
    padding: 4px 6px 4px 6px;
    color: white;
    background-color: #2774ae;
    border-bottom: 1px solid white;
    font-size: 24px;
    margin-top: 20px;
}

.table-wrapper h2 {
    font-size: 14px;
}

.university {
    font-family: arial narrow, sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 1.2em;
}

.school {
    font-family: arial narrow, sans-serif;
    padding 0 0 3px 0;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 2.1em;
}

.department {
    font-family: arial, sans-serif;
    font-size: 2.9em;
}

.department a {
    text-decoration: none;
    font-weight: bold;
    color: #005a8c;
}

.image-caption-wrap p {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.blue-header-box.calendar_template h2 {
    margin-top: 0;
}

.secondary-blue-header-box h2 {
    padding: 4px 6px 4px 6px;
    color: white;
    background-color: #2774ae;
    border-bottom: 1px solid white;
    font-size: 24px;
    margin: 0;
}

.col-sm-4 .student_voices h2 {
    margin: 0;
}

.blue-header-box p {
    padding: 1em 1em 1.75em 1em;
    background-color: #2774AE;
    color: #fff;
    margin-top: -10px;
}

.blue-header-box p a {
    color: #fff;
}
.blue-header-box p a:hover {
    color: #C3D7EE;
}

#read-more {
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

#read-more:hover {
    color:#ffd100 !important;
    text-decoration: none;
}


/* ---------------- Image Styles --------------- */
.logo a img {
    height: auto;
    margin: 0 10px 0 -10px;
    padding: 60px 0 5px;
}

.img-inline-right {
    display: inline;
    float: right;
    margin: 1em 0 1em 1em;
}

.img-inline-left {
    display: inline;
    float: left;
    margin: 1em 1em 1em 0;
}

.carousel-inner img {
    width: 100%;
}

.sidebar-content-wrap img {
    margin-top: -9em;
}


.blue-header-box img {
    margin: 0 auto;
}

/* ---------------- Homepage Styles --------------- */
.home .blue-header-box h2 {
    padding: 4px 6px 4px 6px;
    color: white;
    background-color: #2774ae;
    border-bottom: 1px solid white;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.home .ehs-button {
    margin-top: 23px !important;
}

#home-image {
    width: 100%;
}

.home .navbar {
    margin-bottom: 20px;
}

.home .btn {
    margin: 0;
}

/* ---------------- Miscellaneous Styles --------------- */
.join {
    background-color: #005587;
    color: #fff;
    line-height: 1.25em;
    max-width: 260px;
    margin: 0 auto;
}

.no-bullets {
    list-style-type: none;
}

ul li a:link {
    text-decoration: none;
    font-weight: bold;
}

ul li a:hover {
    text-decoration: underline;
}

.field-content {
    border-bottom: 1px dotted #BBBBBB;
}

#degree-links {
    text-decoration: none;
}

.file-wrapper {
    background-color: #005587;
    margin: 0;
    padding: 5px 15px 5px 15px;
}

.file-wrapper a {
    text-decoration: none;
}

.file-wrapper a:hover {
    text-decoration: underline;
    background: none;
}

.table-wrapper table {
    width: 100%;
}

.table-wrapper a {
    text-decoration: none;
    font-weight: bold;
}
.table-wrapper a:hover {
    text-decoration: underline;
}

.table-wrapper th,
.table-wrapper td {
    min-width: 150px;
}

.blue-box a {
    color: #fff;
    display: flex;
    margin-bottom: 10px;
}

.blue-box a:hover {
    color: #ffd100;
    text-decoration: underline;
}

.second-arrow {
    margin-left: -5px;
}


.news-hr {
    margin-top: 20px;
}

.sidebar-content-wrap {
    background-color: #2774ae;
    color: #fff;
    max-height: 416px;
    padding: 14em 1em 14em 1em;
}

.sidebar-content-wrap a, blue-header-box a {
    color: #fff;
}

.sidebar-content-wrap a:hover, blue-header-box a:hover  {
    text-decoration: underline; 
    color: #ffd100 !important;
}

.gift-wrap {
    background-color: #2774ae;
}

#current-students li {
    list-style-type: none;
}

.blue-box {
    background-color: #2774AE;
    color: #fff;
    padding: 1.5em 1em 1em 1em;
}

.downloads-wrapper {
    background-color: #005587;
    color: #fff;
    padding: 1.5em 1em 1em 1em;
}

.downloads-wrapper .glyphicon-file {
    color: #fff;
}

.testimonial-wrap,
.alumni-wrap {
    border-bottom: 1px dotted #FFFFFF;
    display: block;
    margin-top: -10px;
}

.testimonial-meta {
    font-weight: bold;
}

.blue-header-box ul {
    padding: 0;
}


.blue-header-box ul li {
    list-style-type: none;
    margin-bottom: 10px;
}

.blue-header-box iframe {
    width: 100%;
}

.blue-header-box .events-wrap:last-child {
    border-bottom: none;
    margin-top: 10px;
}

.blue-header-box .news-wrap:nth-child(11) {
    border-bottom: none;
    margin: -10px 0 10px 0;
}

.events-wrap {
    border-bottom: 1px dashed lightgray;
    display: block;
    padding-bottom: 10px;
    margin-top: -10px;
}
.events-wrap a, .news-wrap a {
    color: #2774AE !important;
}


.events-wrap:last-of-type {
    border-bottom: none;
}

.news-wrap {
    border-bottom: 1px dashed lightgray;
    display: block;
    margin-top: -11px;
    padding: 8px 0;
}

.blue-header-box br:last-of-type {
    display: none;
}

.events-wrap a,
.news-wrap a {
    text-decoration: none;
    font-weight: bold;
}

.events-wrap a:hover,
.news-wrap a:hover {
    color: #2774AE !important;
    text-decoration: underline;
}

#news-header,
#events-header {
    margin-bottom: 20px;
}

#centers a {
    text-decoration: none;
    color: #fff;
    line-height: 1.3em;
}

#centers a:hover {
    color: #ffd100;
    text-decoration: underline;
}

#current-students li {
    list-style-type: none;
}

.dashed-bottom {
    border-bottom: 1px dashed lightgray;
    display: block;
    padding-bottom: 10px;
}

.dashed-bottom-wrapper .dashed-bottom:last-child {
    border-bottom: none;
    padding: 0 1em;
    display: initial;
}

#md-programs {
    margin-left: -26px;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    color: #005a8c;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    font-size: 48px;
    background-image: url(/environmental-health/resources/images/arrow-up.png);
    background-size: 100%;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    #back-to-top {
        background-image: url(/environmental-health/resources/images/arrow_up_2x.png);
    }
}

#back-to-top:hover {
    color: #003b5c;
}

#back-to-top.show {
    opacity: 1;
}

/* --------------- Media Queries --------------- */
@media(max-width: 767px) {
    #give-epi {
        margin: 25px 0 -10px 0;
    }

    .table-wrapper {
        overflow-x: scroll;
    }

    .logo {
        margin-bottom: -1.5em;
    }

    .logo a img {
        padding: 0;
        margin: 0 auto;
    }

    .department {
        text-align: center;
        font-size: 1.9em;
    }

    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    .navbar {
        margin-right: -15px;
        margin-left: -15px;
    }

    .container-fluid>.navbar-header {
        margin-right: 0;
        margin-left: 0;
    }

    .top-links {
        display: flex;
        justify-content: center;
        float: none !important;
    }

    .connect {
        width: 68px;
        display: flex;
        margin: 1em auto 0 auto;
        float: none !important;
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a,
    .dropdown-menu.mega-menu {
        padding-left: 50px;
    }

    .btn-responsive {
        margin: 0 auto !important;
        display: block;
        float: none !important;
    }

    .join {
        margin: 20px auto;
    }

    .img-margin-top {
        margin-top: 20px;
    }

    .table-wrapper {
        overflow-x: scroll;
    }

    h1 {
        font-size: 24px;
        text-align: center;
    }

    h2,
    h2.blue-header-box,
    .blue-header-box h2,
    #main_degree h2.blue-header-box,
    h2.h2-16px,
    h2.h2-18px,
    h2.h2-24px,
    h2.block-title,
    .dashed-bottom h2 {
        font-size: 18px;
    }



    h3,
    .field-content h3,
    h3.h3-16px,
    .view-header h3 {
        font-size: 14px;
    }

    h4 {
        font-size: 12px;
    }

    .caret {
        border-top: 4px solid;
        margin-left: 5px;
    }

    .footer .pull-right {
        float: initial !important;
        padding: 0;
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .mega-menu {
        width: 420px;
    }

    .navbar-nav {
        float: none !important;
        margin: 0 auto;
        display: flex !important;
        justify-content: space-between;
    }

    #header-middle {
        margin-left: 75px;
    }
}

@media (max-width: 991px) {
    .ehs-button {
        font-size: 12px;
    }

    .col-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-list,
    .secondary-nav-list,
    .admin-list {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        padding: 1em 0;
        margin: 1em 0;
    }
}

@media (min-width: 970px) {
    .img-full-width {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-default .navbar-nav>li>a {
        font-size: .75em;
    }

    .nav>li>a {
        padding: 10px 17px 10px 17px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .nav>li>a {
        padding: 10px 24px 10px 23px;
    }

    #header-middle {
        margin-left: 10px;
    }
}

@media (max-width: 1200px) {
    .ehs-button {
        width: 100%;
        display: block;
        margin: 0 auto 10px auto !important;
    }
}

@media (min-width: 1200px) {
    .image-caption-wrap {
        margin-top: -77px;
        width: 750px;
        background-color: rgba(34, 69, 107, .5);
        position: absolute;
        padding: .5em 0;
    }

    .image-caption-wrap p {
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
        text-align: left;
        width: 95%;
    }

    #header-middle {
        margin-left: 75px;
    }
}
