/**
 * CSS typoghraphical reset
 * Some styling (form fields) based on formalize (http://github.com/nathansmith/formalize)
 *
 * @name         Restypo
 * @version      1.0 - $Id$
 * @link         http://github.com/hrach/restypo
 * @author       Jan Skrasek
 * @link         http://jan.skrasek.com
 * @license      MIT License
 */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin:0;
	padding:0;
}
table{
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img{
	border:0;
}
address,caption,cite,code,dfn,th,var{
	font-style:normal;
	font-weight:normal;
}
ol,ul{
	list-style:none;
}
caption,th{
	text-align:left;
}
th,td{
	vertical-align:top;
}
h1,h2,h3,h4,h5,h6{
	font-size:100%;
	font-weight:normal;
}
q:before,q:after{
	content:'';
}
abbr,acronym{
	border:0;
}
html{
	font-size:100.01%;
	min-height:100%;
}
body{
	font-family:Calibri, sans-serif;
	font-size:15px;
	line-height:1.4em;
	color:#333;
	background:#fff;
	padding:30px;
}
#wrapper{
	width:940px;
	margin:0 auto;
}
p,table,pre,fieldset,address{
	margin-bottom:20px;
}
pre{
	border:1px solid #eee;
	font-family: Consolas, 'Lucida Console', 'Monaco CE', fixed, monospace;
	overflow: auto;
	white-space: pre;
}
pre code{
	display:block;
	padding:4px;
}
h1,h2,h3,h4,h5,h6{
	line-height:1em;
	color:#000;
	clear:both;
}
h1{
	font-size:32px;
	margin-top:30px;
	margin-bottom:10px;
}
h2{
	font-size:24px;
	margin-top:30px;
	margin-bottom:10px;
}
h3{
	font-size:22px;
	margin-top:15px;
	margin-bottom:5px;
}
h4{
	font-size:20px;
	font-variant:small-caps;
}
h5{
	font-size:16px;
	font-variant:small-caps;
}
h6{
	font-size:14px;
	font-variant:small-caps;
}
a{
	color:#00268f;
}
a:hover{
	text-decoration:none;
}
hr{
	background:#ddd;
	border:none;
	clear:both;
	color:#fff;
	height:1px;
	margin:18px 0;
}
table{
	border:1px solid #ccc;
}
td,th{
	border:1px solid #ccc;
	padding:6px;
}
th{
	background:#eee;
}
tfoot td, tfoot th{
	background:#F5F5F5;
}
address{
	font-style:italic;
}
blockquote{
	font-size:17px;
	color:#666;
	text-indent:-7px;
	margin:15px 0;
	padding:15px 10px 15px 35px;
	border-top:1px solid #bbb;
	border-bottom:1px solid #bbb;
}
blockquote p:last-child{
	margin-bottom: 0;
}
cite{
	font-style:italic;
}
blockquote p:before{
	content:'\201E';
	font-weight:bold;
}
blockquote p:after{
	content:'\201C';
	font-weight:bold;
}
cite:before{
	font-weight:bold;
	content:'\201A';
}
cite:after{
	font-weight:bold;
	content:'\2018';
}
abbr,acronym{
	border-bottom:1px dotted #555;
	cursor:help;
}
.clear{
	clear:both;
}
.left,.figure-left{
	float:left;
}
.right,.figure-right{
	float:right;
}
img.left,.figure-left img{
	padding:4px;
	border:1px solid #ccc;
	margin-bottom:18px;
	margin-right:20px;
	margin-top:3px;
}
img.right,.figure-right img{
	padding:4px;
	border:1px solid #ccc;
	margin-bottom:18px;
	margin-left:20px;
	margin-top:3px;
}
.figure-left img,.figure-right img,.figure img{
	margin-bottom:0;
}
.figure-left a,.figure-right a,.figure a{
	padding-right:0;
	background:none;
}
.figure-left p,.figure-right p,.figure p{
	padding:5px 0;
	font-style:italic;
}
.figure-right p{ margin-left:20px; }
.figure-left p{ margin-right:20px; }
ul,ol{
	margin-left:40px;
	margin-bottom:18px;
}
ul{
	list-style-type:disc;
}
ul ul{
	list-style-type:circle;
}
ul ul ul{
	list-style-type:square;
}
li > ul, li > ol{
	margin-bottom:0;
}
ol{
	list-style:decimal;
}
ul.no-margin,ol.no-margin{
	margin:0;
	list-style-type:none;
	list-style-image:none;
}
table ul,table ol{
	margin-bottom:0;
	margin-left:23px;
}
dl dt{
	font-style:italic;
	font-weight:bold;
	margin:5px 0 0 0;
}
dl dd{
	margin:0 0 5px 25px;
}
iframe{
	border:1px solid #eee;
}
fieldset{
	border:1px solid #ddd;
	padding:5px;
}
fieldset table{
	margin-bottom:0;
}
legend{
	border:1px solid #ddd;
	padding:0 5px;
	margin:0 5px;
}
input,
button,
select,
textarea {
	margin: 0;
	outline: 0;
}
button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
	-webkit-appearance: none;
	background: #f2f2f2;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
	background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
	border: 1px solid;
	border-color: #ddd #bbb #bbb #ddd;
	cursor: pointer;
	color: #333;
	font: bold 12px/1.2 Arial, sans-serif;
	padding: 5px 15px 6px;
	overflow: visible;
	text-shadow: #fff 0 1px 1px;
	width: auto;
	/* IE7 */
	*padding-bottom: 3px;
}
button:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover{
	background:#ededed;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.3, #eee), color-stop(1, #ddd));
	background:-moz-linear-gradient(top center, #fff 0%, #eee 33%, #ddd 100%);
}
button:active,
input[type="reset"]:active,
input[type="submit"]:active,
input[type="button"]:active{
	background:#eee;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #ddd), color-stop(0.3, #eee), color-stop(1, #fff));
	background:-moz-linear-gradient(top center, #ddd 0%, #eee 33%, #fff 100%);
	border-color:#bbb;
}
input[type="checkbox"]{
	margin:2px;
}
button[disabled],
input[type="reset"][disabled],
input[type="submit"][disabled],
input[type="button"][disabled] {
	color: #777;
}
textarea,
/*select,*/
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
	-webkit-appearance: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid;
	border-color: #848484 #c1c1c1 #e1e1e1;
	color: #000;
	padding: 2px 3px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	vertical-align: top;
	/* IE7 */
	*padding-top: 1px;
	*padding-bottom: 1px;
	*height: auto;
}
select {
	padding: 0;
        -moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid;
	border-color: #848484 #c1c1c1 #e1e1e1;
	color: #000;
	padding: 2px 3px;
	font-size: 13px;
	font-family: Arial, sans-serif;
	vertical-align: top;
	/* IE7 */
	*padding-top: 1px;
	*padding-bottom: 1px;
	*height: auto;
}

textarea[disabled],
select[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
	background-color: #eee;
	color: #777;
}

select.required, input.required {
        border: 1px solid #f63232;
        box-shadow:0px 0px 3px 1px #f63232;
}

select:required:not(:valid) {
        border: 1px solid #f63232;
        box-shadow:0px 0px 3px 1px #f63232;
}
input:required:not(:valid) {
        border: 1px solid #f63232;
	box-shadow:0px 0px 3px 1px #f63232;
}
::-webkit-input-placeholder {
	color: #777;
}
::-moz-focus-inner {
	border: 0;
}
input[type=search]::-webkit-search-decoration {
	display: none;
}