@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.tox-notifications-container, .tox-statusbar__branding {
    display: none !important;
}

.centered {
    margin: 0 auto;
    padding: 0 1em;
}

.tinymceHTML > p {
    margin: 3px 0 0 0;
    text-indent: 1em;
}


@media screen and (min-width: 52em) {
    .centered {
        max-width: 52em;
    }
}


.speciesImage{
    width: 100%;
}

.clickable {
    cursor: pointer;
}


td.ellipsis {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Basic styling */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ol, ul {
    padding-left: 40px;
}

html, body, app {
    height: 100%;
}

app {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: rgb(0, 123, 255);
}

    a:hover {
        text-decoration: underline;
    }

.text-muted {
    color: rgb(108, 117, 125) !important;
}

.border-top {
    border-top: 1px solid rgb(222, 226, 230) !important;
    border-top-width: 1px !important;
    border-top-style: solid !important;
    border-top-color: rgb(222, 226, 230) !important;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

.mainContainer {
    flex: 1 0 auto;
}

app {
    flex: 1 0 auto;
}

footer {
    margin-top: 50px;
    flex-shrink: 0;
}

.img-fluid {
    max-height: 100%;
    height: auto;
}

nav {
    background: #222;
    padding: 0 15px;
    z-index: 100;
}

    nav a {
        color: white;
        text-decoration: none;
    }

.nav-pills .nav-link {
    border-radius: .25rem
}

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        color: #fff;
        background-color: #007bff
    }


.menu, .submenu {
    list-style-type: none;
}

.logo {
    font-size: 20px;
    padding: 0 10px 0 0;
}

    .logo a {
        color: white;
        text-decoration: none;
    }

.menu li.logo a {
    padding: 18px 10px;
}

.logo img {
    vertical-align: middle;
}

.logo .logo-suffix {
    color: #C00;
}

.item {
    padding: 10px;
}

    .item.button {
        padding: 9px 5px;
    }

    .item a.active {
        color: #fff;
        background-color: #333;
        border-color: lightgray
    }

    .item:not(.button) a:hover,
    .item a:hover::after {
        color: #333;
        background-color: white;
        text-decoration: none;
    }
/* Mobile menu */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

    .menu li a {
        display: block;
        padding: 15px 5px;
    }

    .menu li.subitem a {
        padding: 15px;
    }

.toggle {
    order: 1;
    font-size: 20px;
    cursor: pointer;
}

.item.button {
    order: 2;
}

.item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
    white-space: nowrap;
}


    .item .btn-link {
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
        color: #FFFFFF;
        text-decoration: none;
        font-family: inherit;
        font-size: inherit;
        padding: 15px 10px;
        width: 100%;
        /*white-space: nowrap;*/
    }

        .item .btn-link:hover {
            color: #333;
            background-color: white;
        }

.btn-link:hover {
    background-color: white;
    color: #333;
}

.active .item {
    display: block;
}

.button.secondary { /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}

/* Submenu up from mobile screens */
.submenu, .submenu2 {
    display: none;
}

.submenu-active .submenu, .submenu2-active .submenu2 {
    display: block;
}

.has-submenu i {
    font-size: 12px;
}

.has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
    content: "\f077";
    padding-left: 5px;
    cursor: pointer;
}

.has-submenu.submenu-active > a::after, .has-submenu.submenu2-active > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
    content: "\f078";
    padding-left: 5px;
    cursor: pointer;
}

.subitem a {
    padding: 10px 15px;
}

.submenu-active {
    background-color: #111;
    border-radius: 3px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
}

.nav-item a.nav-link {
    color: rgb(0,0,0);
}



#divCurrentRSSFeeds {
    width: 100%;
    order: 2;
}

#divRSSFeed {
    width: 100%;
    order: 1;
}



.container, .containerWide {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.rssIcon {
    height: 96px;
    margin-right: 15px;
}

.rssIconSmall {
    height: 64px;
    margin-right: 15px;
}

.rssHeader {
    display: flex;
    align-items: center;
}


@media (min-width: 768px) {
    .container, .containerWide {
        width: 750px;
    }

    .rssIcon {
        height: 128px;
        margin-right: 30px;
    }

    .rssPullRight {
        text-align: right;
        width: 100%;
    }

    #divCurrentRSSFeeds {
        width: 40%;
        order: 1;
    }

    #divRSSFeed {
        width: 60%;
        order: 2;
    }
}

@media (min-width: 992px) {
    .container, .containerWide {
        width: 970px;
    }

    .menu {
        align-items: flex-start;
        flex-wrap: nowrap;
        background: none;
    }

    .logo {
        order: 0;
        width: 100%;
    }

    .item {
        order: 1;
        position: relative;
        display: block;
        width: auto;
    }

        .item .btn-link {
            width: auto;
        }

    .button {
        order: 2;
    }

    .submenu-active .submenu {
        display: block;
        position: absolute;
        left: 0;
        top: 68px;
        background: #111;
        padding: 5px 5px;
        z-index: 100;
    }

    .toggle {
        display: none;
    }

    .submenu-active {
        border-radius: 0;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }

    .containerWide {
        width: 98%;
        margin: auto;
        display: flex;
    }

    .table {
        flex: 1;
    }
}




.baseContainer {
    flex: 0 0 auto;
    margin-top: -32px;
    align-items: stretch;
}

.heroContainer {
    overflow-x: hidden;
    overflow-y: hidden;
    max-height: 700px;
}

    .heroContainer video {
        z-index: 1;
        width: 100%;
        height: auto;
    }





/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

h2 a, h4 a {
    color: black;
}

    h2 a:hover, h4 a:hover {
        text-decoration: none;
    }

.flexBox {
    padding: 5px;
}
.flexBox > a {
    color: darkred;
}

    .flexBox > a:hover {
        color: #333;
        text-decoration: none;
    }

.flexContainer {
    display: flex;
    flex-flow: row wrap;
}

    .flexContainer > * {
        padding: 0px;
        margin: 0px;
        flex: 1 100%;
        border-radius: 10px;
    }

@media(min-width:1001px) {
    .flexBox-75 {
        flex-basis: 75%;
    }

    .flexBox-25 {
        flex-basis: 25%;
    }
}

@media(max-width:1000px) {

    .flexBox-75,
    .flexBox-25 {
        flex-basis: 50%;
    }
}

@media(max-width:640px) {
    .flexBox-25 {
        flex-basis: 100%;
    }
}

.boldish {
    font-weight: bold;
}

p.Stats a {
    color: #990000;
}

    p.Stats a:hover {
        text-decoration: none;
    }

.flex-outer {
    padding-left: 10px;
}
.flex-outer li,
.flex-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

}


.flex-outer > li > label,
.flex-outer li p {
    flex: 1 0 120px;
    max-width: 220px;
}

    .flex-outer > li > label + *,
    .flex-inner {
        flex: 1 0 220px;
    }

.flex-outer li button {
    margin-left: auto;
    padding: 8px 16px;
    border: none;
    background: #333;
    color: #f2f2f2;
    text-transform: uppercase;
    letter-spacing: .09em;
    border-radius: 2px;
}
