html {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none
}

* {
    margin: 0;
    padding: 0
}

body {
    font-family: Verdana, Tahoma, sans-serif;
    margin: 0 auto
}

body a {
    color: #369;
    text-decoration: none
}

body a:hover, div.results a:hover, div.trackers a:hover, div.index-stats a:hover {
    color: #F51;
    text-decoration: underline
}

div.top {
    background-color: #369;
    border-radius: 0 0 10px 10px;
    height: 60px
}

div.top > h1 > a {
    color: #FFF;
    display: block;
    float: left;
    font-size: 40px;
    font-weight: 400;
    height: 60px;
    text-align: center;
    text-decoration: none;
    padding: 5px 20px
}

div.top > h1 > a:hover {
    color: #B3CCE6
}

div.top > ul {
    display: block;
    float: right;
    height: 60px;
    list-style-type: none;
    padding-right: 10px
}

div.top > ul > li {
    border-left: solid 1px #B3CCE6;
    display: block;
    float: left;
    height: 60px
}

div.top > ul > li > a {
    background-color: #369;
    color: #FFF;
    display: block;
    float: left;
    font-size: 20px;
    height: 30px;
    padding: 18px 18px 12px;
    text-decoration: none
}

div.top > ul > li > a:hover {
    background-color: #90B2D5;
    border-bottom: solid 10px #369;
    border-radius: 0 0 5px 5px;
    color: #FFF
}

div.footer {
	clear: both;
	font-size: 10px;
	margin: 40px 0 100px;
	text-align: center
}

div.note {
    background-color: #F1F2F3;
    border: solid 1px #97A6B5;
    border-radius: 5px;
    color: #567;
    font-size: 12px;
    line-height: 20px;
    margin: 20px;
    padding: 10px 40px
}

p.generic {
    font-size: 15px;
    padding: 10px;
    text-align: center
}

div.loader {
    background: #FFF url(/img/loader2.gif) no-repeat center center;
    height: 100px
}

form.search {
    background-color: #FFB090;
    border-radius: 10px;
    display: block;
    margin: 20px 0
}

form.search #thesearchbox {
    border: 0;
    border-radius: 5px;
    font-size: 18px;
    margin: 0;
    padding: 4px;
    background: #fff url(/img/zoom.png) no-repeat;
    background-position: 98% 50%;
    width: 77%
}

form.search #thesearchbutton {
    background-color: #FFF;
    border: 0;
    border-radius: 5px;
    color: #6B3F2E;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    height: 30px;
    margin: 0 0 0 1.5%;
    padding: 0;
    width: 20%
}

form.search > fieldset {
    border: none;
    display: block;
    height: 30px;
    padding: 10px
}

ul.autocomplete {
    background-color: #FFF;
    border: solid 1px #FFB090;
    border-radius: 4px;
    display: none;
    left: -100px;
    list-style-type: none;
    position: absolute;
    top: -100px
}

ul.autocomplete > li {
    border-top: solid 1px #FFB090;
    display: block;
    font-size: 12px;
    padding: 3px;
    text-align: left
}

ul.autocomplete > li.selected {
    background-color: #e1e1e1
}

@media (max-width: 819px) {
    body {
        width: 99%;
        max-width: 799px
    }

    #mgid {
        width: 600px
    }

    div.results > dl > dt {
        width: 100%;
        max-width: 799px;
        min-width: 600px;
        white-space: normal;
        min-height: 40px
    }

    div.votebox, div.trackers {
        width: 100%;
        float: none
    }

    div.index-stats > dl {
        width: 100%;
        float: none
    }

    div.top {
        border-radius: 0 0 10px 10px;
        height: 50px
    }

    div.top > h1 > a {
        font-size: 32px;
        font-weight: 400;
        height: 50px;
        padding: 5px 15px
    }

    div.top > ul {
        height: 50px
    }

    div.top > ul > li {
        height: 50px
    }

    div.top > ul > li > a {
        padding: 13px 12px 7px
    }
}

@media (min-width: 820px) and (max-width: 1019px) {
    body, #mgid {
        width: 800px
    }

    div.results > dl > dt {
        width: 460px
    }

    div.votebox, div.trackers {
        width: 100%;
        float: none
    }
}

@media (min-width: 1020px) and (max-width: 1219px) {
    body, #mgid {
        width: 1000px
    }

    div.results > dl > dt {
        width: 660px
    }
}

@media (min-width: 1220px) and (max-width: 1419px) {
    body, #mgid {
        width: 1200px
    }

    div.results > dl > dt {
        width: 860px
    }
}

@media (min-width: 1420px) {
    body, #mgid {
        width: 1400px
    }

    div.results > dl > dt {
        width: 1060px
    }
}

