/* CSS style for SliTaz Bugs/TinyCM */

html { min-height: 102%; }
body { font: 13px sans-serif, vernada, arial; margin: 0; }
h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; }
h1 a { color: #fff; text-decoration: none; }
h2 { color: #444; } h3 { color: #666; font-size: 140%; }
a { text-decoration: underline; color: #215090; }
a:hover { text-decoration: none; }
img { border: 0pt none; vertical-align: middle; }
pre {
	overflow: auto;
	font-size: 98%;
}
textarea, table { width: 100%; }
thead { font-weight: bold; }

/* Header */

#header {
	background: #111 url(images/logo.png) no-repeat left;
	height: 40px;
}

#header h1 {
	margin: 0;
	padding: 8px 0 0 42px;
	width: 250px;
}

#header h1 a { 
	color: white; 
	text-decoration: none;
	font-size: 20px;
	font-style: italic;
}

#header h1 a:hover { 
	color: #afafaf;
}

/* Header links */

#network { 
	float: right; 
	padding: 14px 5px 0; 
	font-size: 12px;
	margin-right: 100px;
}

#network a, #network span {
	padding: 0 4px;
	color: #fff; 
	font-weight: bold;
	text-decoration: none;
}

#network a:hover, #user a:hover, #network span { color: #afafaf; }

/* Logo */

#logo {
	background: url(images/logo.png) no-repeat left;
	position: absolute;
	float: left;
	left: 0px;
	top: 0px;
	width: 40px;
	height: 40px;
}

/* Login and user box */

#login { width: 240px; float: left; height: 120px; }

#login input[type="text"], #login input[type="password"] { 
	width: 200px; }

#signup input[type="text"], #signup input[type="password"] { 
	width: 400px; }

#login input[type="submit"] { float: none; }
#login p { display: inline; }

#user {
	background-color: #222;
	padding: 4px;
	width: 84px;
	float: right;
	font-size: 12px;
	position: absolute;
	right: 10px;
	top: 6px;
}
#user a { padding: 0 2px; color: #fff; 
	font-weight: bold; text-decoration: none; }

#account-info { width: 380px; height: 120px; float: right; }

/* Navigation */

nav {
	font-size: 120%;
	min-height: 54px;
	background: #ddd; 
	padding: 30px 6% 0;
	text-align: center;
	color: #222;
	border-bottom: 1px solid #afafaf;
	margin-bottom: 20px;
	top: 40px;
}

nav ul {
    margin: 0; padding: 0;
    list-style: none;
}
nav li { display: inline; }

nav a, nav form { 
	text-decoration: none;
	padding: 12px;
	color: #fff; 
	font-weight: bold;
	vertical-align: middle;
	-webkit-transition: background-color 0.6s;
	transition: background-color 0.6s;
}
nav p { padding: 8px; color: #333; font-size: 92%; }

nav input { padding: 0px;}
.nav1 { background-color: #333; }
.nav1:hover { background-color: #128da9; }
.nav2 { background-color: #ab3c00; }
.nav2:hover { background-color: #ff9b00; }
.navpi { background-color: #444; }
.navpi:hover { background-color: #bc1142; }


/* Languages */

#lang {
	position: absolute;
	right: 0;
	top: 152px;
	padding: 6px;
	font-size: 12px;
}

#lang a {
	text-decoration: none;
	padding: 0 2px;
}

#lang a:hover {
	text-decoration: underline;
}

/* Search */

#search {
	position: absolute;
	right: 20px;
	top: 72px;
	
}

#search input[type="text"] { width: 180px; }

/* Content */

#content {
	margin: 40px auto;
	padding: 0 20px;
	text-align: justify;
	max-width: 680px;
}

#edit textarea { width: 100%; height: 240px; background: #f8f8f8; }
#edit a { text-decoration: none; }

.box, pre, #login, #account-info {
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	padding: 10px;
}

pre img { margin: 4px 4px 4px 0px; }
#content p img { display: block;
	margin: 0 auto;  }

.mobile { display: none !important; }
.error { color: red; }
.ok { color: green; }
.date { color: #666; font-size: 96%; }

/* Progress bar */

.pct { background: #9dff4a; padding: 2px 4px; }

.pctbar {
	margin: 0;
	color: #666;
	background: #f1f1f1;
	border: 1px solid #ddd;
	overflow: hidden;
	clear: both;
}

/* Form */

form { display: inline; }
textarea { border: 2px solid #ccc; padding: 4px; width: 100%; }
select { min-width: 180px; }
input[type="submit"], input[type="text"], input[type="password"], 
select, #tools a {
	color: #444444;
	border: 1px solid #cccccc;
	padding: 4px;
	margin: 4px 0px;
	font-size: 14px;
	line-height: 1.2em;
	background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
	background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
	-webkit-appearance: none;
	-webkit-padding-end: 12px;
	-webkit-padding-start: 6px;
}

input[type="text"], input[type="password"] { 
	background: #fefefe; border: 2px solid #ccc; 
	width: 100%; }
/*input[type="file"] { border: 2px solid #ddd; }*/
/*input[type="checkbox"] { background: #fefefe; }*/

/* Be compatible with old FF and Webkit version. */
input[type="submit"] {
	-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:hover, #tools a:hover { 
	cursor: pointer;
	color: black;
}

select { 
	background-image: url(images/down.png), 
		-webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
	background-position: center right;
	background-repeat: no-repeat;
}

#tools { 
	padding-top: 10px;
	margin: 20px 0px; 
	/*border-top: 1px dotted #ccc;
	position: fixed;
	bottom: 10px;*/
}
#tools a { text-decoration: none; }

/* Round corner */

pre, .button, .pctbar, .box, #login, #account-info, #user, img,
input, textarea, select, #tools a, nav a {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

/* notes */

.noteclassic,.noteimportant,.notewarning,.notetip {
    margin:2em;
    margin-left:auto;
    margin-right:auto;
    width:70% !important;
    min-height:40px;
    clear:both;
    text-align:justify;
    vertical-align:middle;
    border-collapse:collapse;
    padding:15px 20px 15px 80px;
    background-position:20px 50%;
    background-repeat:no-repeat;
    -moz-border-radius:20px;
    -khtml-border-radius:20px;
    border-radius:20px;
}

.noteclassic {
    background-color:#eef;
    background-image:url(images/note.png);
}

.noteimportant {
    background-color:#ffc;
    background-image:url(images/important.png);
}

.notewarning {
    background-color:#fdd;
    background-image:url(images/warning.png);
}

.notetip {
    background-color:#dfd;
    background-image:url(images/tip.png);
}

/* Footer */

#footer {
	text-align: center;
	padding: 20px;
	border-top: 1px solid #ddd;
	font-size: 90%;
}

#footer a { padding: 0 2px; }

/* Plugins CSS */

.post-tools { border-bottom: 1px dotted #ccc; 
	border-top: 1px dotted #ccc; padding: 4px 0;}
.post-tools a { text-decoration: none; }
.post-tools a:hover { text-decoration: underline; }
