* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    outline-style: none !important;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #111;
    color: #fff;
    font: 12px/20px Tahoma, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
    padding-top: 2px;
}

.tmf {
    max-width: 1000px;
    margin: 0 auto;
}

.tmf-head {
    background: #222;
    padding: 2px;
}
.tmf-head-nav {
    font-size: 1.4em;
}
.tmf-head-nav li {
    list-style: none;
    float: left;
}
.tmf-head-nav a:hover,
.tmf-head-nav a:focus,
.tmf-head-nav li.current a {
    background-image: url('pattern.jpg');
    background-attachment: fixed;
}
.tmf-head-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 10px;
    display: inline-block;
}
.tmf-head-logo {
    clear: both;
    background-image: url('pattern.jpg');
    background-attachment: fixed;
    padding: 20px;
    padding-top: 26px;
}
.tmf-head-logo h1 {
    font-size: 0;
    background-image: url('logo.png');
    width: 269px;
    height: 43px;
}

.tmf-clear {
    clear: both;
}

.tmf-foot {
    font-size: .9em;
    text-align: center;
    color: #555;
    margin: 5px;
}
.tmf-foot a {
    color: #555 !important;
    text-decoration: none !important;
}
.tmf-foot a:hover,
.tmf-foot a:focus {
    text-decoration: underline !important;
}

.tmf-body {
    padding: 2px;
    background-color: #222;
    margin: 2px 0;
}

.tmf h2 {
    line-height: 1.5em;
    border-bottom: 1px solid #444;
}

.tmf--home h3,
.tmf--changelog h3,
.tmf--downloads h3 {
    margin-top: .5em;
    border-bottom: 1px solid #333;
}
.tmf--changelog a,
.tmf--downloads a {
    color: #fff;
    text-decoration: none;
}

.tmf--downloads h3 {
    margin-top: 1em;
}

.tmf-buttons {
    list-style: none;
}

.tmf-button {
    float: left;
    margin: 2px 1px;
}

.tmf-button a {
    padding: 10px;
    display: inline-block;
    background-color: #555;
    font-size: 1.2em;
}
.tmf-button-major a {
    padding: 10px 60px;
    background-color: #595;
}

.tmf-button-latest a {
    padding: 20px 30px;
    font-size: 1.3em;
}
.tmf-button-latest .tmf-button-major a {
    padding: 20px 60px;
}

.tmf-external {
    color: #77f !important;
    text-decoration: none !important;
}
.tmf-external:hover,
.tmf-external:focus {
    text-decoration: underline !important;
}
.tmf-external:active {
    color: #f77 !important;
}

.tmf--home img {
    float: right;
    margin: 2px;
    max-width: 100%;
}

.tmf--home p {
    margin: .5em 0;
}

@media(max-width: 700px) {
    .tmf--home img {
        float: none !important;
        margin: 2px auto;
        display: block;
    }
}

.tmf-godownload {
    text-align: center;
}
.tmf-godownload a {
    display: inline-block;
    padding: 20px 60px;
    background-color: #595;
    font-size: 1.3em;
    color: #fff;
    text-decoration: none;
}

.tmfs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #d4d0c8;
    height: 30px;
    color: #000;
}
.tmfs-inner {
    margin-top: 1px;
    border-top: 1px solid #fff;
}
.tmfs-left {
    float: left;
}
.tmfs-right {
    float: right;
}
.tmfs-systray {
    border: 1px inset #fff;
    height: 24px;
    margin: 2px;
    padding: 0 4px;
}
.tmfs-systray * {
    float: left;
}
.tmfs-systray img {
    margin-top: 2px;
    margin-right: 4px;
}
.tmfs-clock {
    margin-left: 2px;
}
.tmfs-start {
    border: 2px outset #bbb;
    height: 24px;
    margin: 2px;
    padding: 0 4px;
    font-weight: 700;
}
.tmfs-start img {
    vertical-align: bottom;
    margin-right: 3px;
}
.tmfs-menu {
    position: fixed;
    z-index: 1000;
    background: #f9f8f7;
    border: 1px solid #666;
    color: #000;
    box-shadow: 1px 1px 2px #000;
}
.tmfs-menu-item {
    height: 24px;
    min-width: 120px;
}
.tmfs-menu-item-icon {
    background-image: url('gradient.gif');
    width: 24px;
    height: 24px;
    float: left;
}
.tmfs-menu-item-icon img {
    margin: 4px;
    vertical-align: middle;
}
.tmfs-menu-item-text {
    float: left;
    padding: 0 10px;
    line-height: 22px;
}
.tmfs-about {
    position: fixed;
    background-image: url('about.jpg');
    width: 445px;
    height: 120px;
    overflow: hidden;
}
.tmfs-about-version {
    position: absolute;
    top: 79px;
    left: 128px;
    line-height: 16px;
}
.tmfs-about-button {
    position: absolute;
    width: 70px;
    height: 22px;
    top: 88px;
}
.tmfs-about-button-close {
    left: 363px;
}
.tmfs-about-button-website {
    left: 286px;
}
.tmfs-about-button-donate {
    left: 209px;
}
.tmfs-about-credit {
    position: absolute;
    width: 300px;
    height: 15px;
    display: block;
    top: 46px;
    left: 133px;
}
.tmfs-about-credit-fff {
    top: 64px;
}
.tmfs-about-drag {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tmfs-window {
    position: fixed;
    width: 400px;
    height: 400px;
    overflow: hidden;
    margin: 2px;
    top: 0;
    left: 0;
    background-color: #d4d0c8;
    padding: 1px;
    border: 2px outset #ccc;
}
.tmfs-window-title {
    background-image: linear-gradient(90deg, #000080, #1084d0);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000080', endColorstr='#1084d0', GradientType=1);
    height: 18px;
}
.tmfs-window-title-icon {
    float: left;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin: 0 2px;
    z-index: 200;
}
.tmfs-window-title-text {
    font-weight: 700;
    font-size: .9em;
    line-height: 17px;
    z-index: 100;
}
.tmfs-window-title-close {
    float: right;
    width: 16px;
    height: 14px;
    border: 2px outset #ccc;
    font-weight: 700;
    font-size: .9em;
    background-color: #d4d0c8;
    z-index: 200;
    line-height: 9px;
    text-align: center;
    color: #000;
    margin: 2px;
    cursor: pointer;
}
.tmfs-window-title-close:active {
    border-style: inset;
}

.tmfs-blacklist {
    width: 418px;
    height: 230px;
}
.tmfs-blacklist-list {
    font-size: .9em;
    width: 318px;
    height: 192px;
    position: absolute;
    top: 7px;
    left: 88px;
}
.tmfs-blacklist-list option {
    padding: 0 2px;
}
.tmfs-blacklist-button {
    position: absolute;
    width: 75px;
    height: 23px;
    left: 6px;
}
.tmfs-blacklist-button-add {
    top: 7px;
}
.tmfs-blacklist-button-edit {
    top: 36px;
}
.tmfs-blacklist-button-remove {
    top: 65px;
}
.tmfs-blacklist-button-done {
    top: 146px;
}
.tmfs-blacklist-button-cancel {
    top: 175px;
}

.tmfs-fieldset-title {
    color: #000;
    margin: 0 5px;
}

.tmfs-checkbox {
    color: #000;
    display: block;
}
.tmfs-checkbox-label {
    display: inline-block;
    cursor: pointer;
}

.tmfs-settings {
    width: 436px;
    height: 323px;
}
.tmfs-settings-button {
    position: absolute;
    width: 75px;
    height: 23px;
    top: 269px;
}
.tmfs-settings-button-ok {
    left: 187px;
}
.tmfs-settings-button-cancel {
    left: 268px;
}
.tmfs-settings-button-apply {
    left: 349px;
}
.tmfs-settings-fieldset {
    position: absolute;
    width: 418px;
    left: 8px;
}
.tmfs-settings-hotkeys {
    top: 6px;
    height: 70px;
}
.tmfs-settings-flags {
    top: 76px;
    height: 130px;
}
.tmfs-settings-blacklist {
    top: 207px;
    height: 55px;
}
.tmfs-settings-blacklist-button {
    left: 8px;
    top: 2px;
    width: 120px;
}
.tmfs-settings-checkbox .tmfs-checkbox-input {
    margin: 0 7px;
}
.tmfs-settings-hotkey-label {
    color: #000;
    position: absolute;
    top: 0;
    left: 7px;
}
.tmfs-settings-hotkey-key {
    width: 100px;
    height: 20px;
    position: absolute;
    left: 7px;
    top: 20px;
}
.tmfs-settings-hotkey-mod {
    width: 50px;
    height: 23px;
    position: absolute;
    top: 19px;
}
.tmfs-settings-hotkey-mod.pressed {
    border: 1px solid #808080;
}
.tmfs-settings-hotkey-mod-ctrl {
    left: 115px;
}
.tmfs-settings-hotkey-mod-alt {
    left: 165px;
}
.tmfs-settings-hotkey-mod-shift {
    left: 215px;
}
.tmfs-settings-hotkey-mod-win {
    left: 265px;
}
.tmfs-settings-hotkey-reset {
    width: 75px;
    height: 23px;
    position: absolute;
    top: 19px;
    left: 328px;
}
