﻿body {
    background-color: #FFEC98;
}

.fixedContent {
    width: 100%;
    max-width: 1040px;
    min-width: 520px;
    padding: 10px;
    padding-bottom: 0;
    background-color: #FFEC98;
}

.scrollContent {
    z-index: 960;
    padding-left:10px;
    padding-right:10px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    .sticky + .scrollContent {
        padding-top: 100px;
    }

.wfBookmarkCont {
    display: inline-table;
    width: 100%;
    min-width: 100%;
    margin: 20px auto;
    text-align: left;
}

    .wfBookmarkCont a {
        width: 22.8%;
        min-width: 22.8%;
        padding: 1%;
        display: inline-block;
        color: #222222;
        text-decoration: none;
        border-bottom: solid 1px #820000;
        text-align: center;
    }

    .wfBookmarkCont .active {
        color: #820000;
        border: solid 1px #820000;
        border-bottom: none;
    }

    .wfBookmarkCont a:hover {
        color: white;
    }

.mainContainer, .mainMenuContainer {
    background-color: #FFEC98;
}

.wordFamiliesMainCont {
    text-align: center;
    padding: 10px;
}

.searchWordCont {
    position: relative;
}

    .searchWordCont input {
        width: 40%;
    }

.searchBox {
    padding: 5px 10px !important;
}

.divSearchResult {
    background-color: white;
    width: 40%;
    position: absolute;
    left: 30%;
    z-index: 1000;
    opacity: .85;
    height: auto;
    max-height: 300px;
    overflow-y: scroll;
}

.resultComplete {
    width: 100%;
}

    .resultComplete td {
        padding-left: 15px;
        text-align: left;
    }

    .resultComplete a {
        display: block;
        width: 100%;
        min-height: 20px;
        padding: 5px 0;
    }

.letterButtonCont {
    width: 100%;
    margin: 0 auto 10px;
}

    .letterButtonCont table {
        width: 100%;
        border-spacing: 0px;
        margin-top: 10px;
    }

    .letterButtonCont td {
        padding: 0;
    }

    .letterButtonCont table a {
        text-decoration: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        color: black;
        font-weight: 700;
        cursor: pointer;
        font-size: 1em;
        line-height: 2em;
        margin: 0;
    }

        .letterButtonCont table a:hover, .letterButtonCont .selected {
            background-color: #820000;
            color: white;
        }

.familiesTable {
    margin-bottom: 30px;
}

    .familiesTable, .familiesTable td {
        border: none;
        border-spacing: 0;
        border-collapse: collapse;
        width: 100%;
        text-align: left;
    }

        .familiesTable td:first-child {
            width: 25%;
            max-width: 25%;
            vertical-align: top;
            padding: 15px;
            border-top: solid 1px #FFC700;
            border-bottom: solid 2px #FFC700;
        }

.familyName, .wordGroupName {
    background-color: #820000;
}

.familyName {
    color: white;
    font-weight: 700;
    padding-left: 40px !important;
    position: relative;
}

.familiesTable td:first-child.wordCount {
    width: 15%;
}

.spiderNavICO {
    position: absolute;
    left: 7px;
    top: 10px;
}

.familyAnchor {
    position: relative;
    top: -245px;
}



.wordGroupName {
    color: #b6b6b6;
    font-weight: 700;
}

    .wordGroupName span {
        padding-left: 40px;
    }

.wordsCell div {
    width: auto;
    padding: 0;
    height: 100%;
    background-color: white;
    display: inline-block;
    color: black;
    font-weight: 700;
    border-bottom: solid 1px #A7A7A7;
    border-left: solid 1px #A7A7A7;
    border-top: solid 1px white;
    position: relative;
    left: -1px;
    border-spacing: 0;
}

.wordsCell a {
    color: black;
    font-weight: 700;
    display: block;
    padding: 15px;
}

    .wordsCell a:hover {
        color: white;
    }

        .wordsCell a:hover .wordType {
            color: lightgray;
        }

.wordType {
    color: #626262;
}

.wordsCell.crossReference div {
    padding: 0;
    height: 100%;
}

.wordsCell.crossReference a {
    height: 100%;
    display: block;
    padding: 15px;
    font-weight: 700;
    color: #820000;
}

    .wordsCell.crossReference a:hover {
        color: white;
    }

.invis {
    visibility: hidden;
    display: none;
}


.wordFamiliesIntro {
    font-size: 17px;
    line-height: 1.4;
    color: black;
    display: block;
    margin-bottom: 20px;
    text-align: left;
    padding-left:10px;
    padding-right:10px;
}

.moreLink {
    font-style: italic;
    color: #820000;
    font-weight: 600;
    padding-top: 5px;
    cursor: pointer;
    display: block;
}


.chartdiv {
    width: 100%;
    height: 650px;
    max-height: 650px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    letter-spacing: -.015em;
    font-size: 1em;
}

fieldset {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
}

    fieldset legend {
        padding: 0px 20px 0px 20px;
    }

.grpcount, .wrdcount {
    font-weight: 400;
}
.directionButtCont {
    text-align:left;
    margin-bottom:10px;
}

@media (max-width: 800px) {
    .mainTitleMb {
        background-color: #FFC700;
    }

    /*.fixedContent {
        width:98%;
        padding:10px 0;
    }*/
    .sticky {
        width:95%;
    }

    .letterButtonCont table a {
        font-size: .8em;
        line-height: 1.3em;
        width: 25px;
        height: 25px;
    }

    .familyAnchor {
        position: relative;
        top: -265px;
    }

    .chartdiv {
        height:850px;
        min-height:850px;
    }
}
