a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

body {
    background-image: url(../../../static/images/background-grad.jpg);
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #333333;
}

div.center {
    margin-left: auto;
    margin-right: auto;
}

div.main-content {
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    border-width: 0px;
    width: 1000px;
}

div.main-content-inner {
    width: 990px;
    margin: 0px;
}

div.nsl-bluebox {
    background-color: rgba(0, 23, 46, 0.85);
    margin: 5px 0px;
    padding: 5px;
    border: 1px solid rgb(0, 0, 0);
}


/* Menu divs */

div.pipe {
    margin: 0px;
    padding: 0px;
    border-left: 1px solid #555555;
    width: 24%;
    text-align: center;
    font-family: Verdana, Ariel, sans-serif;
    font-size: 12px;
    color: #EEEEEE;
    display: inline;
    float: left;
}

div.pipe:hover {
    color: #f6f096;
}

div.alert-menu {
    width: 16.5%;
}

div#first {
    border-left: none;
}

div.nsl-float-right {
    display: inline;
    float: right;
}

div.nsl-float-left {
    display: inline;
    float: left;
}

div.nsl-banner-center {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


/* Tablet */

@media screen and (max-width: 950px) {
    div.nsl-banner-center {
        display: block;
        position: relative;
        clear: both;
        width: 100%;
        float: left;
    }
}

div.nsl-banner-center>a {
    display: inline-block;
    margin: 0 auto;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0px 0px 1px black;
    color: #ffbe00;
    font-family: Verdana, Geneva, sans-serif;
}

h1#title {
    font-size: 40px;
    margin: 0px 15px 0px 0px;
}

h2 {
    margin-top: 1px;
    margin-bottom: 5px;
    font-size: 32px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    text-shadow: 0px 0px 1px black;
    color: #ffbe00;
}

h2.nsl-boxtitle {
    font-size: 18px;
    font-weight: normal;
    color: #f6f096;
    text-align: center;
    margin-top: 1px;
    margin-bottom: 5px;
    font-family: Verdana, Geneva, sans-serif;
}

hr {
    border: 0;
    height: 1px;
    color: #999999;
    background-color: #999999;
    width: 100%;
}

p.general {
    font-size: 12px;
    font-family: Verdana, Ariel, sans-serif;
    color: #BBBBBB;
}


/* nav menu START */

nav {
    position: relative;
}

.menuToggle {
    border: 0;
    margin: 0;
    z-index: 10;
    cursor: pointer;
    background-color: transparent;
}

.menuToggle:hover {
    opacity: 0.7;
}

#navMenuToggle {
    position: absolute;
    top: 14px;
    left: 8px;
}

#navMenuToggle .hamburger-inner,
#navMenuToggle .hamburger-inner::before,
#navMenuToggle .hamburger-inner::after {
    background-color: white;
}

#navigation {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    width: 180px;
    padding-top: 8px;
    z-index: 10;
    border-radius: 5px;
    background-color: black;
}

.nav-list-item {
    color: white;
    font-size: 14px;
    font-family: Verdana, Ariel, sans-serif;
    padding: 4px;
    margin: 0 5px 8px 5px;
    text-align: center;
}

.nav-list-item:not(.item-top):hover {
    background-color: #111;
}

.nav-list-link {
    display: block;
    width: 100%;
    color: white;
    font-size: 14px;
    font-family: Verdana, Ariel, sans-serif;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.nav-list-link.currentItem {
    color: #ffbe00;
}

.nav-list-item:hover .nav-list-link {
    color: #f6f096;
}

.nav-list-item.item-top {
    color: #eee;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 4px;
    background-color: #333;
    border-bottom: 1px solid #888;
}

.nav-list-item.item-top:not(:first-child) {
    border-top: 1px solid #888;
}

.nav-list-item.item-home {
    font-weight: 700;
}

.nav-list-item.item-home .nav-list-link {
    font-size: 16px;
}


/* Mobile */

@media screen and (max-width: 767px) {
    #navMenuToggle {
        top: 3px;
        left: 0px;
    }
    #navigation {
        top: 52px;
        left: 12px;
    }
    .nav-list-item {
        margin: 0 5px 6px 5px;
    }
}


/* nav menu END */

.mast {
    text-align: left;
    color: #FFFFFF;
    font-weight: normal;
    font-family: Verdana, Ariel, sans-serif;
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#alert-logo {
    display: inline-block;
    position: relative;
    top: -10px;
    max-width: 33%;
}

@media screen and (max-width: 767px) {
    #alert-logo {
        left: auto;
        margin: 0 auto;
        max-width: none;
    }
}

#nsl-mastlink {
    font-size: 24px;
    margin-top: 10px;
    display: inline;
}

#mackay-mastlink {
    font-size: 16px;
    color: #BBBBBB;
}

#unr-mastlink {
    font-size: 10px;
    margin-top: 2px;
    margin-bottom: 10px;
    color: #999999;
}

#logo {
    height: 56px;
    display: inline;
}

#logo.logo-2 {
    float: none;
    margin: 0;
    height: 75px;
    width: auto;
    max-width: 100%;
    border: hidden;
}

@media screen and (max-width: 767px) {
    #logo.logo-2 {
        height: 40px;
    }
}

#motto {
    font-size: 10px;
}

div#nsl-header {
    width: 960px;
    padding: 20px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    div#nsl-header {
        text-align: center;
    }
}

div#nsl-index-header {
    width: 960px;
    margin: 0;
    padding: 6px 20px 4px 20px;
    text-align: center;
    min-height: 98px;
    position: relative;
}

#aws-link {
    position: absolute;
    top: 32px;
    right: 20px;
}

#aws-link>a>img {
    width: 70px;
}

.nsl-hr {
    clear: left;
}

.page-menu {
    display: flex;
    align-items: stretch;
    /* Default */
    justify-content: space-between;
    margin: 5px -30px 5px -30px;
    padding: 0;
    font-size: 12px;
    font-family: Verdana, Ariel, sans-serif;
    color: #eeeeee;
    line-height: 33px;
}

.page-menu-group {
    display: block;
    flex: 0 1 100%;
    /* Default */
    list-style-type: none;
    text-align: center;
    transition: color 500ms ease-in-out, background-color 1s ease-in-out;
}

.page-menu-item {
    display: inline-block;
    color: #eeeeee;
}

.page-menu-item:not(.social) {
    width: 100%;
}

.view-toggle {
    display: none;
    text-align: center;
    font-family: Verdana, Ariel, sans-serif;
    font-size: 11px;
    color: #EEEEEE;
    padding-top: 4px;
    clear: both;
}

.page-menu .page-menu-group:hover {
    color: #f6f096;
    background-color: rgba(128, 128, 128, 0.1);
}

.page-menu-item:hover {
    color: #f6f096;
}

body.full-view .page-menu .page-menu-group:not(:first-child) {
    border-left: 1px solid #555555;
}

@media screen and (min-width: 768px) {
    .page-menu .page-menu-group:not(:first-child) {
        border-left: 1px solid #555555;
    }
}

div#nsl-footer {
    width: 960px;
    padding: 5px 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

p.nsl-footer-text {
    margin: 5px 0px;
    font-size: 12px;
    font-family: Verdana, Ariel, sans-serif;
    color: rgb(187, 187, 187);
}

table#nsl-footer-table {
    width: 100%;
}

table#nsl-footer-table td.nsl-footer-cell {
    width: 33.333%;
}

table#nsl-footer-table td.nsl-footer-cell:nth-child(1) {
    text-align: left;
}

table#nsl-footer-table td.nsl-footer-cell:nth-child(2) {
    text-align: center;
}

table#nsl-footer-table td.nsl-footer-cell:nth-child(3) {
    text-align: right;
}

div#nsl-links {
    width: 960px;
    padding: 5px 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

div#nsl-links table {
    width: 100%;
}

div#nsl-links table tr {
    width: 50%;
    vertical-align: top;
    display: inline-block;
}

div#nsl-links td.nsl-links-cell {
    text-align: left;
    margin: 5px 0px;
    font-size: 12px;
    font-family: Verdana, Ariel, sans-serif;
}

div#nsl-links td.nsl-links-cell>h3 {
    color: #ddd;
}

div#nsl-links td.nsl-links-cell>a {
    color: rgb(187, 187, 187);
}

div#nsl-links td.nsl-links-cell>a:hover {
    color: #f6f096;
}

div#nsl-links .general>a {
    color: #ddd;
    margin: 10px 0;
    font-weight: bold;
    display: inline-block;
}

div#nsl-links .general>a:hover {
    color: #f6f096;
}

#nsl-footer .page-menu .nsl-hr {
    margin-top: 6px;
}

.social-icon {
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
    margin: 0 5px;
    ;
}


/* Desktop */

@media screen and (min-width: 768px) {
    div#nsl-links table tr:nth-child(2n):before {
        display: block;
        content: ' ';
        clear: both;
    }
    table#nsl-footer-table.nsl-footer-wide-center td.nsl-footer-cell:nth-child(1),
    table#nsl-footer-table.nsl-footer-wide-center td.nsl-footer-cell:nth-child(3) {
        width: 28%;
    }
    table#nsl-footer-table.nsl-footer-wide-center td.nsl-footer-cell:nth-child(2) {
        width: 44%;
    }
}


/* Mobile devices */

@media screen and (max-width: 767px) {
    div.main-content {
        max-width: 100%;
    }
    div#nsl-index-header {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
    #aws-link {
        top: 25px;
        right: 8px;
    }
    #aws-link>a>img {
        width: 42px;
    }
    div.main-content-inner {
        max-width: calc(100% - 10px);
    }
    body:not(.full-view) .page-menu {
        display: block;
    }
    body:not(.full-view) .page-menu .page-menu-group {
        display: inline-block;
        width: 40%;
        margin: 0;
        border: 1px solid #555555;
    }
    body:not(.full-view) div#nsl-links {
        margin: 0;
        padding: 0 5px;
        width: auto;
    }
    body:not(.full-view) div#nsl-links table tr {
        width: 100%;
        display: table-row;
    }
    body:not(.full-view) div#nsl-links td.nsl-links-cell {
        width: 100%;
        display: block;
        text-align: center;
    }
    body:not(.full-view) div#nsl-footer {
        padding: 0 5px;
        margin: 5px;
        width: auto;
    }
    body:not(.full-view) table#nsl-footer-table td.nsl-footer-cell {
        width: 100%;
        display: block;
        text-align: center;
    }
    body:not(.full-view) div#nsl-footer .page-menu .page-menu-item {
        width: 100%;
        border: none;
    }
}

div.nsl-rounded {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6)
}

a.site-link {
    text-decoration: none;
    color: white;
}