html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: #DDD;
    background-color: #000;
    font-family: Arial,Verdana,Helvetica,sans-serif;
    font-size: 12px;
    line-height: 1.3em;
    -webkit-text-size-adjust: none;
}
html { height: 100%; }
body { position: relative; }

a, a:visited {
    color: #777;
    text-decoration: underline;
}
a.link-new, a.link-new:visited {
    color: #737373;
}
a:hover, a.link-new:hover {
    color: #666;
}

p { 
    margin: 4px; 
    padding: 0;
}

h2, h3 { 
    font-size: 14px;
    margin: 4px 0;
    padding: 0;
    color: #4f4f4f;
    text-shadow: none;
}

#page-logo {
	height: 70px;
	background: url("./styles/motot_mobile/theme/images/logo.png") center center no-repeat;
}
#page-logo span {
	display: none;
}
/* 
    header / footer
*/
#page-header, #page-footer {
    margin: 0;
    padding: 0;
    height: 30px;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
}
.gradient, .button1, .button2, th {
    background: #707070;
    background: -webkit-gradient(linear, left top, left bottom, from(#4f4f4f), to(#707070));
    background: -moz-linear-gradient(top, #4f4f4f, #707070);
    color: #fff !important;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
}
.gradient.link:hover, .button1:hover, .button2:hover, #page-header > ul > li:hover {
    background: #4f4f4f;
    background: -webkit-gradient(linear, left top, left bottom, from(#404040), to(#4f4f4f));
    background: -moz-linear-gradient(top, #404040, #4f4f4f);
}
.header.gradient, th, #page-header > ul > li {
    background: -webkit-gradient(linear, left top, left bottom, from(#707070), to(#4f4f4f));
    background: -moz-linear-gradient(top, #707070, #4f4f4f);
}
.header.link.gradient:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(#4f4f4f), to(#707070));
    background: -moz-linear-gradient(top, #4f4f4f, #707070);
}
#page-header {
    z-index: 2;
}
#page-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.gradient a, .gradient a:visited, .gradient a:hover, th a, th a:visited, th a:hover {
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
}

#page-header h1, #page-footer > p {
	position: absolute;
    display: block;
    font-family: Arial;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    top: 0;
    left: 35px;
    right: 0;
    padding: 7px 6px 5px;
    line-height: 1em;
    white-space: nowrap;
    overflow: hidden;
}
#page-header.menu-1 h1, #page-footer.menu-1 > p {
	right: 35px;
}
#page-header.menu-2 h1, #page-footer.menu-2 > p {
	right: 70px;
}
#page-header.menu-3 h1, #page-footer.menu-3 > p {
	right: 105px;
}
#page-footer > p {
	left: 0;
}
#page-header h1 a { text-decoration: none; }
#page-header > p { display: none; }

#page-header {
    transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
}

.nav-block ul, .nav-block li, .sub, .sub li {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
}
.nav-block > ul, .nav-block > ul > li {
    float: right;
}
#page-header-start { 
	float: left; 
	width: 35px;
}
.nav-block > ul > li {
    height: 30px;
}
.nav-block li.li-hover, .tabs-list:hover {
    background-color: #4f4f4f;
}
ul.sub { 
    display: none; 
    position: absolute;
    z-index: 3;
    top: 29px;
    left: 4px;
    right: 4px;
    background-color: #707070;
    background: -webkit-gradient(linear, left top, left bottom, from(#707070), to(#5e5e5e));
    background: -moz-linear-gradient(top, #707070, #5e5e5e);
    padding: 2px;
    border: solid 2px #fff;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}
#page-footer ul.sub {
    top: auto;
    bottom: 29px;
}
li:hover ul.sub-nojs, ul.sub-hover {
    display: block;
}
ul.sub li {
    border-top: solid 1px #fff;
    border-color: rgba(255, 255, 255, 0.6);
    padding: 0;
}
ul.sub li:first-child { border-top-width: 0; }
ul.sub li a, ul.sub li a:visited, ul.sub li span {
    display: block;
    padding: 8px;
    line-height: 1em;
    color: #fff;
}
ul.sub li span {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: none;
    padding: 4px 8px;
}
ul.sub li a:hover {
    background-color: #4f4f4f;
    color: #fff;
}

.nav-block .menu-link {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    width: 34px;
    height: 30px;
    margin: 0;
    padding: 0;
    border-left: solid 1px #fff;
    border-color: rgba(255, 255, 255, 0.2);
}
#page-header-start .menu-link {
    border-right: solid 1px #fff;
    border-color: rgba(255, 255, 255, 0.2);
    border-left-width: 0;
}
.nav-block .menu-link strong { font-weight: normal; }
.nav-block .menu-link span { display: none; }
.nav-block .menu-link.back { background-image: url("./styles/motot_mobile/theme/images/menu_up.png"); }
.nav-block .menu-link.main { background-image: url("./styles/motot_mobile/theme/images/menu_main.png"); }
.nav-block .menu-link.search { background-image: url("./styles/motot_mobile/theme/images/menu_search.png"); }

.pages .menu-link { 
    padding-top: 6px;
    height: 24px;
    text-align: center;
}
.pages ul.sub li:first-child {
    padding: 6px;
}
.pages ul.sub li:first-child span, .pages ul.sub li:first-child a { 
    display: inline; 
    padding: 0;
}

div.copyright {
    clear: both;
    margin: 6px 0 0;
    padding: 0;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    height: 14px;
    overflow: hidden;
}
p.copy-left, p.copy-right {
    margin: 0;
    padding: 0;
    float: left;
    color: #888;
}
p.copy-right { float: right; }

/* content */
#page-body {
    margin: 0;
    padding: 4px 4px 36px;
}

#page-body > p, #page-body > form > p {
    margin: 0;
    margin-bottom: 4px;
}

/*
    Blocks
*/
.block {
    background-color: #FFF;
    color: #000;
    margin: 8px 0;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;

}
.post {
    background-color: #EEE;
    color: #666;
}
.post.unreadpost {
    border-left-color: #ff9d76;
    border-left-width: 3px;
    background-color: #FFF;
    color: #000;
}
div.copyright, #information { text-align: center; }
.rules, .notice {
    background-color: #f2f2f2;
    border-color: #cccccc;
    padding: 8px;
}
#information {
   background: #fef093;
   background: rgba(254,240,147,0.9);
   border:none;
}
#information a {
   color: #662222;
   text-decoration: none;
}
.rules {
   background: #efe0e0;
   background: rgba(239,224,224,0.9);
}
.postbody .notice {
   font-size: 0.9em;
   font-style: italic;
   color: #666;
}
.rules h2 {
    color: #7a7a7a;
}
p.block { padding: 6px 4px; }

/*
    Forums list
*/
div.forums {
    margin: 4px 0 8px;
}
.block > p.header, .forums > p.header {
    font-size: 14px;
    font-family: Arial;
    line-height: 1.2em;
    margin: 0;
    padding: 4px 6px 6px;
    border: 0px solid #fff;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
ul.forums, ul.forums > li {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ul.forums > li, .search .post-details {
    /*
    border: solid 1px #c2c2c2;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    */
    border: none;
    border-bottom: 1px solid #666;
    
    margin: 2px 0;
    background: url("./styles/motot_mobile/theme/images/link.png") right 50% no-repeat;
}
ul.forums > li.row {
    color: #777;
}
ul.forums > li.row-new { 
    background-image: url("./styles/motot_mobile/theme/images/link_new.png"); 
    /*
    border-color: #dadada;
    border-width: 2px;
    */
    color: white;
    
}
ul.forums > li.row-new a.topictitle,
ul.forums > li.row-new a.forumtitle {
    color: white;
    font-weight: bold;
}
ul.forums > li.locked { 
    /* border-color: #ccc; */ 
    background-image: none;
    background-color: #111;
    color: #555;
       font-style: italic;
}
ul.forums > li.locked a.topictitle,
ul.forums > li.locked a.forumtitle {
   color: #555;
   font-weight: normal;
}

ul.forums > li:last-child { margin-bottom: 0; }
ul.forums > li > p {
    color: #888;
    font-size: 11px;
}
ul.forums > li.locked > p {
    color: #444;
}
ul.forums > li a {
    text-decoration: none;
    font-family: Arial;
    line-height: 1.4em;
}
ul.forums > li.locked a, ul.forums > li.locked a:visited {
    color: #888;
}
ul.forums > li.locked a:hover, ul.forums > li.row-new a, ul.forums > li.row-new a:visited {
    color: #FFF;
}
ul.forums > li.row-new a:hover { color: #737373; }
ul.forums > li > p:first-child {
    font-size: 14px;
    text-shadow: rgba(0, 0, 0, 0.1) 1px 1px 1px;
}
ul.forums strong { color: #888; font-weight: normal; }

span.replies {
    display: inline-block;
    border: solid 0px transparent;
    padding: 0 6px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    color: #fff;
    background-color: #707070;
}
span.replies.empty { background-color: #ccc; }

/*
    Posts
*/
.post { position: relative; }
.post-header {
    min-height: 16px;
}
.post-author {
    float: right;
    padding: 3px 6px;
    margin-left: 4px;
    border: solid 0px transparent;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
.post-author.settings > a {
    display: inline-block;
    width: 16px;
    background-image: url("./styles/motot_mobile/theme/images/menu_main.png");
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.post-author .sub, .tabs-list .sub { 
    display: none;
    top: 30px;
}
.post-header h2, .post-author > a {
    font-family: Arial;
    text-decoration: none;
}
/*
.unreadpost .post-header h2 {
    color: #a79668;
}
*/
.post-author:hover .sub-nojs, .post-author.li-hover .sub, .tabs-list:hover .sub-nojs, .tabs-list.li-hover .sub { 
    display: block; 
}
.post-time { 
    margin: 0 0 4px; 
    color: #888;
    font-size: 11px;
}
.post .post-time {
    padding-left: 15px;
    background-image: url("./styles/motot_mobile/theme/images/icon_post_target.gif");
    background-position: left center;
    background-repeat: no-repeat;
}
.post.unreadpost .post-time {
    background-image: url("./styles/motot_mobile/theme/images/icon_post_target_unread.gif");
}
.search .post-time { margin: 0; }
.post .rules { margin: 4px 10px; }
.search .post-details {
    color: #888;
    font-size: 11px;
    line-height: 1.2em;
    border-width: 1px;
    padding: 4px;
    margin: 2px 10px;
}

/*
    BBCode
*/
blockquote, .codebox, .attachbox, .inline-attachment {
    margin: 4px 10px;
    border: solid 1px #ccc;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 4px;
    color: #444;
    font-size: 11px;
}
blockquote cite, .codebox dt {
    display: block;
    color: #999;
    font-style: normal;
    font-weight: normal;
}
.codebox dd, .codebox code {
    display: block;
    margin: 0;
    padding: 0;
}
.attachbox dt, .file dt {
    margin: 0;
    padding: 0;
    color: #999;
}
dl.file, .attachbox dd, .file dd {
    margin: 0;
    padding: 0;
}

/*
    Pagination
*/
ul.forums .pages a, ul.forums p.pages {
    margin-top: 0;
    line-height: 1em;
}
ul.forums .pages a, ul.forums a.newest {
    display: inline-block;
    padding: 4px;
    border: solid 0px transparent;
    background-color: #222;
    color: #bbb !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
ul.forums .pages a:hover { background-color: #4f4f4f; }
ul.forums a.newest, ul.forums span.pages a { 
    line-height: 1em;
    font-size: 11px; 
    padding: 2px 4px;
    margin: 0;
    margin-left: 4px;
}
.pages .page-sep { display: none; }

/*
    Buttons
*/
div.buttons a, a.button1, a.button2 {
    display: inline-block;
    text-decoration: none !important;
}
div.buttons a, .button1, .button2 {
    font-family: Arial;
    padding: 4px 8px 4px;
    border: solid 0px transparent;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
div.buttons a { margin-bottom: 2px; }

/*
    Forms
*/
form, fieldset {
    margin: 0;
    padding: 0;
    border-width: 0;
}

fieldset dl, dl.polls {
    height: 1%;
    overflow: hidden;
}
fieldset dl {
    margin: 0;
    padding: 4px 0;
}
fieldset dt, .details dt {
    display: block;
    float: left;
    text-align: left;
    width: 40%;
}
fieldset.fields1 dt {
    border-right-width: 0;
    width: 75px;
}
fieldset.fields2 dt, .details dt {
    border-right-width: 0;
    width: 115px;
}
fieldset dd, .details dd {
    margin-bottom: 3px;
    margin-left: 41%;
    vertical-align: top;
}
fieldset.fields1 dd {
    border-left-width: 0;
    margin-left: 80px;
}
fieldset.fields2 dd, .details dd {
    border-left-width: 0;
    margin-left: 120px;
}

fieldset dd input[type="text"] { width: 200px; }
fieldset dd textarea { width: 160px; height: 40px; }
#message-box textarea { width: 285px; height: 100px; }


fieldset.polls dd.resultbar {
    width: 50%;
}
fieldset.polls dd {
    border-left: medium none;
    float: left;
    font-size: 1.1em;
    margin-left: 0;
    padding: 0 5px;
    width: auto;
}
fieldset.polls dd div {
    color: #fff;
    background-color: #666666;
    border: solid 0px transparent;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    font-family: Arial;
    font-weight: bold;
    min-width: 14px;
    overflow: visible;
    padding: 0 2px;
    text-align: right;
}

p.explain { 
    margin: 0 0 6px; 
    color: #666;
    font-size: 11px;
}

/*
    Table
*/
table {
    width: 100%;
    margin: 4px 0;
}
table td, table th {
    margin: 1px;
    padding: 3px;
    border: solid 1px #ccc;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
table th { 
    border-width: 0; 
    font-weight: normal; 
}

/*
    UCP
*/
.tabs-container { 
    position: relative; 
    margin: 0 0 6px 0;
}
.tabs-list { 
    display: inline-block; 
    border: solid 0px transparent;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 0 6px;
}
.tabs-list > a {
    display: inline-block;
    padding: 3px 6px 6px;
}

.tabs-list .sub { top: 22px; }

/*
    Misc stuff
*/
.clear { clear: both; }
.float-right { float: right; }

dl.faq { margin: 0 0 6px; }
dl.faq:last-child { margin: 0; }
dl.faq dt { 
    margin: 0 0 4px; 
    color: #000;
    text-shadow: none;
    font-size: 14px;
}
dl.faq dd { margin: 2px 4px; }
