@import url(http://fonts.googleapis.com/css?family=Open+Sans&subset=latin-ext);

body {
	font: 14px/1.5 'Open Sans', Tahoma, Arial, sans-serif;
	margin: 0 auto;
	color: #333;
	background: #333;
}

html.js .jshidden {
	display: none;
}

h1 {
	margin-top: 0.8em;
	margin-bottom: 0.8em; 
	color: #333;
	font-family: 'Open Sans', Tahoma, Arial, sans-serif;
	font-weight: normal;
	letter-spacing: -1px;
}
h2 {
	font-family: 'Open Sans', Tahoma, Arial, sans-serif;
	font-weight: normal;
	letter-spacing: -1px;
}
h3 {
	font-family: 'Open Sans', Tahoma, Arial, sans-serif;
	letter-spacing: -1px;
}

pre, code, kbd, samp {
	font-size: 1em;
}

/**********/

p.blue {
	color: #1C7AB4;
}

/**********/

#wrap {
	background: #fff;
}

#content {
	position: relative;
	min-width: 255px;
	max-width: 960px;
	margin: 0 auto;
	padding: 1em 15px 4em;
}

/**********/

#usermenu-wrap {
	color: #fff;
	background: #013860;
	border-bottom: 2px solid #fff;
}
.usermenu {
	min-width: 255px;
	max-width: 960px;
	margin: 0 auto;
	padding: 5px 15px 0;
}
.usermenu .login {
	display: inline-block;
	margin: 0.4em 1em 0.5em 0;
	font-size: 0.9em;
}
.usermenu ul {
	float: right;
	clear: right;
	margin: 0;
	padding: 0;
	text-align: right;
}

.usermenu li {
	display: inline-block;
	margin: 0.2em 0 0.6em 0;
}
.usermenu li i.glyphicons:before {
	font-size: 18px;
}
.usermenu li i.glyphicons {
	top: -10px;
	padding-left: 25px;
}

.usermenu span.label {
	font-size: 1em;
	font-weight: bold;
	text-shadow: none;
}
.usermenu span.label.label-red {
	background-color: #CC585D;
}

/**********/

#header-wrap {
	background: #1B76AE url('../images/header-bg.png') bottom repeat-x;
}

#header {
	position: relative;
	min-width: 255px;
	max-width: 960px;
	min-height: 155px;
	margin: 0 auto;
	padding: 15px 15px 0;
	color: #fff;
	font-weight: bold;
	background: url('../images/header-big.png') right no-repeat;
}
#header.intro {
	min-height: 120px;
	padding-top: 50px;
}
#header-top span {
	display: block;
	font-size: 3em;
	font-weight: normal;
	letter-spacing: -2px;
}
#header-top a {
	color: #fff;
	text-decoration: none;
}
#header-top a:hover {
	color: #fff;
}
@media only screen and (max-width: 767px)
{
	#header {
		background: url('../images/header-small.png') top right no-repeat;
	}
}

#intro-text {
	margin: 2em 0;
}

/**********/

#searchbar {
	margin-top: 0.9em;
	padding-bottom: 0.9em;
}
#searchbar form {
	margin: 0;
}
#searchbar .glyphicons-icon {
	position: relative;
	left: -6px;
	width: 30px;
	height: 39px;
}
#searchbar .btn-group {
	position: relative;
	left: -2px;
}
#searchbar input.input-search {
	width: 253px;
	height: 20px;
	padding: 4px 12px;
}
#searchbar button.btn {
	height: 30px;
}

#searchbar input:focus {
	border-color: #2aaeff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2) inset; 
} 

@media only screen and (max-width: 767px)
{
	#searchbar input.input-search {
		width: 130px;
	}
}

/**********/

#footer-wrap {
	color: #fff;
}
#footer {
	min-width: 255px;
	max-width: 960px;
	margin: 0 auto;
	padding: 2em;
	font-size: 0.8em;
}
#footer,
#footer a {
	color: #aaa;
}
#footer a:hover {
	color: #EF6465;
	text-decoration: none;
}
@media only screen and (max-width: 767px)
{
	#footer .align-r {
		text-align: left;
	}
}

/**********/

.posts td {
	line-height: 1.2em;
	padding: 0.7em 0.8em;
	vertical-align: middle;
}
.posts th {
	line-height: 1.2em;
}
.posts td.title {
	padding: 0;
}
@media only screen and (max-width: 767px)
{
	.posts th.responsible,
	.posts td.responsible {
		display: none;
	}
}
.posts a {
	text-decoration: none;
	
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
.posts a:focus,
.posts a:hover {
	color: #000;
	text-decoration: underline;
}
.posts td.title a {
	display: block;
	padding: 0.7em 0.8em;
}

.posts td a.glyphicons {
	padding: 0;
}
.posts td a.glyphicons:before {
	top: -11px;
	left: -11px;
	color: #b3b3b3;
	font-size: 21px;
	
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
.posts td a.glyphicons.enabled:before {
	color: #369;
}
.posts td a.glyphicons:hover:before {
	color: #000;
	text-decoration: none;
}

.posts tr.updated td {
	background: #D8FFD9 !important;
}

.posts .drag-handle {
	padding: 0;
	background: url('../images/cursor-move.gif') center no-repeat;
	cursor: move;
}

/**********/

#top-list {
}
#top-list .unit-50 {
	border: 1px solid #1B76AE;
}
#top-list .posts {
	margin-bottom: 0;
}
#top-list .posts tr.inverted th {
	color: #1B76AE;
	background: #EAF7FF;
	border-bottom: 3px double #1B76AE;
}

/**********/

.date {
    margin: 0 0 1em;
	color: #999;
    font-variant: small-caps;
    letter-spacing: 2px;
}

.author {
    margin: 0 0 1em;
	color: #999;
}

.post {
	margin: 0 0 1em;
	padding: 1em 0;
	border: 1px solid #aaa;
}
.post.odd {background: #eee;}
.post.even {background: #ddd;}

.post h2 {
	padding: 0 2%;
}
.post-text {
	float: left;
	width: 46%;
	padding: 0 2% 0 2%;
}
.post-date {
	float: left;
	width: 46%;
	padding: 0 2% 0 2%;
	font-size: 0.9em;
}
.post-content {
	margin: 0 0 2em;
}

.post-content a.attachment {
	padding: 0 15px;
	background-color: #F3F4F5;
	border-radius: 15px;
}

.nav-pills.attachment-list ul li {
	float: none;
}

/**********/

#breadcrumbs ul {
	font-family: "Arial", "Helvetica Neue", "Helvetica", "Tahoma", sans-serif;
	font-size: 1.1em;
}
#breadcrumbs ul li {
	margin-right: 0.2em;
	color: #1C7AB4;
	font-weight: bold;
}
#breadcrumbs ul li a {
	background: #eee;
	
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
#breadcrumbs ul li a:hover {
	color: #333;
	background: #ddd;
	border-color: #333;
}
#breadcrumbs ul li span {
	color: #333;
}
#breadcrumbs ul li a,
#breadcrumbs ul li span {
	position: relative;
	display: inline-block;
	padding: 5px 12px;
	font-weight: normal;
	border: 1px solid #aaa;
}

#breadcrumbs ul li.first i.glyphicons {
	padding-left: 28px;
}

#breadcrumbs ul li i.glyphicons.chevron-right {
	display: inline-block;
	width: 8px;
	margin-right: -36px;
}
#breadcrumbs ul li i.glyphicons.chevron-right:before {
	top: 1px;
	left: -6px;
	line-height: 1.3em;
	font-size: 18px;
}

/**********/

.mainmenu.adminmenu {
	margin-bottom: 0.5em;
}

.mainmenu a {
	display: inline-block;
	margin: 0 0 0.25em;
}

/**********/

.category-list {
	margin: 0 0 3em;
}

.category {
	margin: 0 0 0.5em;
	padding: 0.5em 1em;
	border: 1px solid #aaa;
}
.category.odd {background: #eee;}
.category.even {background: #ddd;}

/**********/

#conversation {
	margin-top: 2em;
}

.comments {
	margin: 0 0 2.5em;
}
.comment {
	margin: 0;
	padding: 1em 1em 1.5em;
	border: 1px solid #aaa;
	border-top: none;
}
.comment.first {
	border-top: 1px solid #aaa;
}

.comment.odd {background: #f8f8f8;}
.comment.even {background: #eee;}

.comment.odd.caselaw {background: #f4dcdc;}
.comment.even.caselaw {background: #eecacb;}

.comment.odd.important {background: #dce9f4;}
.comment.even.important {background: #cadeee;}

.comment p {
	margin-bottom: 0;
}
.comment p.info strong {
	display: block;
	margin: 10px 0 0 0;
}
.comment p.flags {
	display: inline-block;
	margin: 10px 0 0 0;
}
.comment p.flags a {
	display: block;
	margin: 1px 0 0 0;
}
.comment div.reply-to p {
	font-style: italic !important;
}

.comment blockquote {
	margin-left: 0;
	border-color: #bbb;
}

.comment .attachment-list-title {
	margin-top: 1.5em;
}
.comment .nav-pills ul li a {
	background-color: #e6e6e6;
}

/**********/

.forms fieldset {
	padding-bottom: 0.8em;
}

fieldset {
	padding-bottom: 2.1em;
	background: #dcf2ff;
	border: 1px solid #1B76AE;
	box-shadow: -2px 2px 5px 1px rgba(86, 132, 167, 0.5);
}
fieldset legend {
	padding: 0.8em 1.5em;
	color: #1C7AB4;
	font-weight: normal;
	background: #fff;
	border: 1px solid #1B76AE;
	border-radius: 0.5em;
	box-shadow: -2px 2px 5px 1px rgba(86, 132, 167, 0.5);
}

fieldset.green {
	background: #e3fcbc;
	border-color: #69a04c;
	box-shadow: -2px 2px 5px 1px rgba(119, 167, 86, 0.5);
}
fieldset.green legend {
	color: #69a04c;
	border-color: #69a04c;
	box-shadow: -2px 2px 5px 1px rgba(119, 167, 86, 0.5);
}
fieldset.green label {
	color: #69a04c;
}
fieldset.green input[type="text"],
fieldset.green input[type="email"],
fieldset.green input[type="password"] {
	border-color: #bfe85c;
}
fieldset.green input:focus {
	border-color: #7acd2e;
	box-shadow: 0 0 0 2px rgba(165, 212, 122, 0.8), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}

/**********/

.forms .fs-margin-left {
	margin-left: 1.5em;
}

.forms input[type="text"],
.forms input[type="password"],
.forms input[type="email"],
.forms input[type="url"],
.forms input[type="phone"],
.forms input[type="tel"],
.forms input[type="number"],
.forms input[type="datetime"],
.forms input[type="date"],
.forms input[type="search"],
.forms input[type="range"],
.forms input[type="file"],
.forms input[type="datetime-local"],
.forms textarea,
.forms select,
.forms button {
	margin: 0 0 1em;
	padding: 0.7em 1em;
}
.forms input[type="file"],
.forms button {
	margin-bottom: 0;
}

.forms input[type="checkbox"] {
	margin-top: 0.8em;
}
.forms p.existing-file a {
	display: inline-block;
	margin-top: 0.4em;
}


.forms label {
	margin: 0 0 0.4em;
	color: #1c7ab4;
}
.forms.forms-columnar label {
	line-height: 2.5em;
}

.forms.forms-columnar p.existing-file {
	margin-top: -0.9em;
	amargin-bottom: -0.5em;
}

@media only screen and (max-width: 767px)
{
	.forms-columnar p {
		margin-bottom: 1em;
		padding-left: 0;
	}
	.forms.forms-columnar label {
		position: static;
		line-height: normal;
	}
}

/**********/

#sign-form form {
	margin-bottom: 0.9em;
}
#sign-form label {
	font-weight: bold;
}
#sign-form button {
	margin-top: 1.5em;
}

.units-row div.rounded fieldset {
	border-radius: 0.5em;
}

/**********/

table.table-hovered tbody td {
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

/**********/

.btn {
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

.btn-big.btn-ico,
.forms .btn-ico {
	padding: 0 1.5em 0 1em;
	line-height: 45px;
}

i.glyphicons {
	position: relative;
	top: -14px;
}
.glyphicons {
	padding-left: 35px;
}
.glyphicons-icon {
	margin: 0;
}

.nav-pills ul li a.btn-ico i.glyphicons:before {
	color: #777;
}
.nav-pills ul li a.btn-ico:hover i.glyphicons:before {
	color: #555;
}
.nav-pills ul li a:hover {
	text-decoration: none;
}

i.glyphicons.blue:before {
	color: #1b76ae;
}
i.glyphicons.green:before {
	color: #69a04c;
}

/**********/

table.table-hovered tbody tr:hover td {
	background-color: #eaf7ff;
}

table.table-hovered thead tr.nohover th {
	background-color: #fff;
}
/**********/

.registration {
	margin: 2em 0 0 0;
}

.g-recaptcha {
	margin-left: 170px;
}

/**********/

#nestedlist {
	list-style-type: none;
	margin-left: 0;
}
#nestedlist ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 30px;
}
#nestedlist ul:first-child {
	padding-left: 0;
}
#nestedlist ul li a {
	display: block;
	padding: 3px 10px;
	text-decoration: none;
	border: 1px solid #bbb;
	border-width: 0 0 1px 1px;
	border-radius: 0 0 0 10px;
}
#nestedlist ul li a:hover {
	background: #eaf7ff;
}
#nestedlist li.connect {
	border-left: 1px solid #bbb;
}
#nestedlist li a.connect {
	position: relative;
	left: -1px;
	padding: 3px 11px;
}

/**********/

.highlight {
    background-color: #FFFF88;
}

/**********/

#ajax-spinner {
	margin: 15px 0 0 15px;
	padding: 13px;
	background: white url('../images/spinner.gif') no-repeat 50% 50%;
	font-size: 0;
	z-index: 123456;
	display: none;
}

div.message-success {
	color: #4a822c;
	background: #E3FCBC;
	border: 1px solid #b6e29d;
	box-shadow: -2px 2px 5px 1px rgba(119, 167, 86, 0.5);
}
div.message-error {
	box-shadow: -2px 2px 5px 1px rgba(152, 115, 111, 0.5);
}
div.message-info {
	box-shadow: -2px 2px 5px 1px rgba(86, 132, 167, 0.5);
}

a[href^="error:"] {
	background: red;
	color: white;
}

#nette-debug code {
	display: inline;
}

/**********/

.tiny {font-size: 0.75em; line-height: 1;}

.strike {text-decoration: line-through;}

.hidden {display: none;}
.cleaner {clear: both;}
