html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,nav,main,header,footer,section,article {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: 0 none;
	font-size: 100%;
	margin: 0;
	outline: 0 none;
	padding: 0;
	vertical-align: baseline;
}

html {
	background-color: #E1F3D1;
	height: 100%;
	min-width: 300px;
}

body {
	font-family: Verdana, sans-serif;
	font-size: 14px;
}

p {
	margin-bottom: 1em;
}

p:last-child {
	margin-bottom: 0;
}

/* Ĝenerale */
a:link, a:visited {
	text-decoration: underline;
	color: #C84218;
}

a:hover {
	text-decoration: none;
}

a:focus, a:active {
	color: #9E1812;
}

a.butono, input[type="button"], input[type="submit"] {
	text-decoration: none;
	color: white;
	background-color: #A32D07;
	border: 0;
	border-radius: 5px;
	padding: 7px 12px 8px;
	display: inline-block;
	text-align: center;
	box-shadow: 0 -3px 3px rgba(0, 0, 0, 0.2) inset, 0 4px 3px rgba(255, 255, 255, 0.25) inset;
	font-weight: bold;
	font-family: Ubuntu, sans-serif;
	font-size: 1.1em;
}

a.butono:hover, input[type="button"]:hover, input[type="submit"]:hover {
	background-color: #BF461E;
}

a.butono:active, input[type="button"]:active, input[type="submit"]:active, a.butono:focus, input[type="button"]:focus, input[type="submit"]:focus {
	background-color: #BF461E;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2) inset, 0 -4px 3px rgba(255, 255, 255, 0.25) inset;
}

li {
	list-style-type: none;
	margin-top: 1px;
}

li:before {
	content: '› ';
}

.supra_mesagxo {
	font-weight: bold;
	padding: 4px 6px 6px 6px;
	margin-bottom: 12px;
	border-radius: 8px;
	color: black;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.eraro {
	background-color: #FFBDBD;
}

.informo {
	background-color: #95D66E;
}

.averto {
	background-color: #FADC5B;
}

nav.breto {
	margin-bottom: 12px;
	padding: 8px;
	background-color: #4BB17D;
	text-align: center;
	font-weight: bold;
	border-radius: 8px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25) inset;
}

nav.breto strong {
	color: #585858;
}

nav.breto a {
	color: white;
}

nav.breto a + a, nav.breto strong + a, nav.breto a + strong {
	margin-left: 0.8em;
}

/* Supro */

#cxapelilo {
	display: none;
	position: fixed;
	z-index: 1000;
	background-color: #78B48E;
	width: 200px;
	padding: 4px;
	border-bottom-right-radius: 8px;
	color: white;
	font-weight: bold;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
	opacity: 0.9;
}

header#supro {
	margin: 0;
	width: 100%;
	margin-bottom: 12px;
}

#titolo {
	background-color: #118C4E;
	padding-top: 2px;
	height: 94px;
	border-bottom: 1px solid black;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
	position: relative;
	z-index: 100;
}

#titolo .largxo {
	position: relative;
	height: 94px;
	padding: 0;
}

#reklamo_supre {
	text-align: right;
	margin: auto;
	max-width: 1200px;
}

#reklamo_supre img, #reklamo_supre a {
	display: block;
	float: right;
	width: auto;
	max-height: 90px;
	max-width: 800px;
}

#titolo a {
	color: white;
	font-size: 3.14em;
	font-family: Ubuntu, sans-serif;
	font-weight: bold;
	text-decoration: none;
	display: block;
	width: 200px;
	position: relative;
	z-index: 101;
}

#supro nav {
	background-color: #118C4E;
	margin: auto;
	max-width: 1184px;
	padding: 0 8px;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 0 2px rgba(100, 100, 100, 0.6);
	position: relative;
	z-index: 90;
}

#supro .spaco {
	width: 188px;
	display: inline-block;
}

#supro nav a {
	color: white;
	text-decoration: none;
	display: inline-block;
	padding: 5px 8px;
	text-transform: uppercase;
	transition: background-color 300ms, color 300ms;
}

#supro nav a.nevidebla {
	color: #238B49;
}

#supro nav a:hover, #supro nav a:focus {
	background-color: #82BA96;
	color: white;
}

.largxo {
	margin: auto;
	max-width: 1200px;
}

/* Menuo */

nav#flanka
{
	float: right;
	width: 270px;
}

nav#flanka h2 {
	background-color: #118C4E;
	border-radius: 8px 8px 0 0;
	color: white;
	margin: -4px -6px 4px -6px;
	padding: 3px 5px;
	font-size: 1.3em;
	font-family: Ubuntu, sans-serif;
	text-align: center;
	font-weight: bold;
	box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.2);
}

nav#flanka a.butono {
	display: block;
	margin: auto;
	margin: 3px;
	margin-top: 6px;
}

nav#flanka a.nuna {
	font-weight: bold;
	color: #333333;
	text-decoration: none;
}

/* Paĝo */
.kadro {
	background-color: white;
	padding: 4px 6px 6px 6px;
	margin-bottom: 12px;
	border-radius: 8px;
	box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.5);
}

#reklamo_menuo img, #reklamo_menuo a {
	display: block;
	margin: auto;
	max-height: 500px;
	max-width: 228px;
}

main {
	margin: auto;
	max-width: 1200px;
	padding: 0 8px;
}

#enhavo {
	margin-right: 282px;
}

#enhavo h1 {
	font-family: Ubuntu, sans-serif;
	font-size: 2.57em;
	margin-bottom: 8px;
	color: #585858;
	font-weight: bold;
}

#enhavo h2 {
	font-size: 1.43em;
	font-family: Ubuntu, sans-serif;
	color: #585858;
	font-weight: bold;
	margin-bottom: 8px;
}

#enhavo h2:last-child {
	margin: 0;
}

/* Formularoj */

table + form {
	margin-top: 1em;
}

form .linio {
	margin: 6px 0;
}

form .linio *
{
	vertical-align: middle;
}

form .linio div + div {
	margin-top: 3px;
}

label {
	cursor: pointer;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], textarea {
	font-size: inherit;
	font-family: inherit;
	width: 60%;
	min-width: 200px;
	background-color: white;
	border: 1px solid #C0C0C0;
	border-radius: 6px;
	padding: 4px;
}

input[type="number"] {
	width: 4em;
	min-width: 20px;
	text-align: right;
}

textarea {
	width: 80%;
	height: 12em;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="url"]:focus, textarea:focus {
	box-shadow: inset 1px 1px 2px #C0C0C0;
}

input[type="button"], input[type="submit"] {
	padding: 6px 8px;
}

.form_eraro {
	color: #D00000;
}

#sercxilo input[type="search"] {
	box-sizing: border-box;
	font-size: inherit;
	font-family: inherit;
	width: 213px;
	height: 28px;
	background-color: white;
	border: 1px solid #C0C0C0;
	border-radius: 6px;
	padding: 0 4px;
	vertical-align: middle;
}

#sercxilo input[type="submit"] {
	padding: 0;
	height: 28px;
	width: 35px;
	margin-left: 8px;
	font-size: 1em;
	vertical-align: middle;
}

/* Tabeloj */
table {
	border-collapse: collapse;
	border-radius: 5px;
	box-shadow: 1px 1px 2px #C0C0C0;
	margin: 0 auto 6px;
}

tr:first-child *:first-child {
	border-top-left-radius: 5px;
}

tr:first-child *:last-child {
	border-top-right-radius: 5px;
}

tr:last-child *:first-child {
	border-bottom-left-radius: 5px;
}

tr:last-child *:last-child {
	border-bottom-right-radius: 5px;
}

tr:nth-child(even) td {
	background-color: #EBEBEB;
}

th {
	background-color: #238B49;
	text-transform: uppercase;
	color: white;
	font-weight: normal;
	padding: 3px 6px;
}

td {
	padding: 3px 4px;
}

table.kategorioj {
	width: 100%;
	box-shadow: none;
}

table.kategorioj td {
	width: 33.333%;
	padding: 0;
	background: none;
}

table.kategorioj td a {
	display: block;
	background-color: white;
	border-radius: 8px;
	box-shadow: 1px 1px 3px rgba(150, 150, 150, 0.5);
	padding: 4px 6px 6px;
	margin: 0 4px 12px 4px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	transition-property: margin, box-shadow;
	transition-duration: 300ms;
}

table.kategorioj td a span {
	color: #505050;
	font-weight: normal;
	font-size: 0.8em;
}

table.kategorioj td:first-child a {
	margin-right: 8px;
	margin-left: 0;
}

table.kategorioj td:last-child a {
	margin-left: 8px;
	margin-right: 0;
}

table.kategorioj td a:hover {
	box-shadow: 1px 1px 2px rgba(100, 100, 100, 0.6);
	margin-right: 10%;
}

/* Sxerco */
.sxerco {
	background-color: white;
	padding: 4px 6px 6px 6px;
	margin-bottom: 12px;
	border-radius: 8px;
	box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.5);
}

.sxerco header {
	border-bottom: 1px solid #E4E4E4;
	padding-bottom: 2px;
	margin-bottom: 4px;
	font-size: 1.1em;
}

.sxerco header a {
	text-decoration: none;
	font-weight: bold;
}

.sxerco footer {
	border-top: 1px solid #E4E4E4;
	padding-top: 2px;
	margin-top: 4px;
	color: #585858;
}

.sxerco footer hr {
	border: 0;
	border-top: 1px solid #E4E4E4;
}

.sxerco footer .butonoj {
	text-align: center;
	padding-top: 3px;
}

.sxerco footer .kategorioj {
	font-size: 0.8em;
}

.sxerco footer .admin {
	font-size: 0.8em;
}

.sxerco footer .admin a, .sxerco footer .kategorioj a {
	color: inherit;
}

.sxerco .bildo {
	display: block;
	text-align: center;
}

.sxerco .bildo img {
	max-width:100%;
	height:auto;
}

.sxerco .noto {
	font-size: 0.9em;
}

.noto .steloj {
	cursor: help;
	background: url("../img/steloj.png") left 0;
	display: inline-block;
	text-indent: -10000%;
	height: 20px;
	vertical-align: middle;
}

.noto .grizaj_steloj {
	cursor: help;
	background: url("../img/steloj.png") right 20px;
	display: inline-block;
	text-indent: -10000%;
	height: 20px;
	vertical-align: middle;
}

.stelaro .grizaj_steloj, .stelaro .steloj {
	cursor: pointer;
}

form div.kategorioj {
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
	max-width: 800px;
}

.sociaj_retoj {
	float: right;
	vertical-align: middle;
	margin-top: 6px;
}

.facebook {
	display: inline-block;
}

.twitter {
	display: inline-block;
	position: relative;
	top: 3px;
}

.sxerco .fonto {
	margin-top: 0.8em;
	margin-bottom: 0;
	font-size: 0.9em;
	color: #585858;
}

/* Paĝligiloj */
nav.pagination * {
	display: inline-block;
	background-color: white;
	padding: 4px 6px 6px 6px;
	margin-bottom: 12px;
	border-radius: 8px;
	box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.5);
	margin-left: 0;
	min-width: 1em;
	text-align: center;
}

nav.pagination * + * {
	margin-left: 6px;
}

nav.pagination a {
	text-decoration: none;
}

nav.pagination a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 800px) {
	nav#flanka {
		width: 200px;
	}
	
	section#enhavo {
		margin-right: 212px;
	}
	
	#titolo {
		padding: 6px 0 6px 0;
		height: auto;
	}
	
	#reklamo_supre {
		text-align: center;
		max-width: 100%;
	}
	
	#reklamo_supre a {
		width: auto;
		float: none;
		margin: auto;
	}
	
	#reklamo_supre img {
		max-width: 100%;
		height: auto;
		float: none;
		margin: auto;
	}
	
	#titolo .largxo {
		height: auto;
	}
	
	#titolo .largxo a {
		margin: auto;
	}
	
	#supro .spaco {
		display: none;
	}
	
	table.kategorioj td a {
		margin: 0 0 2px 0;
	}
}

@media screen and (max-width: 550px) {
	nav#flanka {
		width: 100%;
		float: none;
	}
	
	section#enhavo {
		margin-right: 0;
	}
	
	div.kategorioj {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}
	
	#titolo {
		padding: 4px 0 4px 0;
	}
	
	#titolo a {
		font-size: 2.5em;
	}
}
