/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. User profile
 * 6. Media queries for responsive layout
 * 7. Accessibility helpers
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

* {
	box-sizing: border-box; 
}

body {
/*	padding: 5%;
*/
	max-width: 100%; 
	margin: 0 auto;
	background: #FDFDFD url(/site/templates/styles/images/background.jpg);
}

body, td, input[type=text], textarea {
	font-family: 'Montserrat', Tahoma, Arial;
/*	font-size: 105%; 
*/	line-height: 1.8em;
	color: #444; 
}

img {
	max-width: 100%; 
}

h2 {
	font-weight: normal;
}

h3 {
	border-top: 1px solid #eee; 
	padding-top: 1em;
	color: #777; 
}

a {
/*	color: #333;
	text-decoration: none;
*/	color: #3060a4;
    text-decoration: underline;
	/*border-bottom: 1px solid #ccc; */
}
	a:hover, .nav a:hover {
		color: #000;
		border-color: #aaa; 
	}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}

/*********************************************************************
 * 2. Masthead area
 *
 */
.bg-dark {
 /*   background-color: #546e7a !important;
 */
}
.topnav, .topnav li {
	list-style: none; 
	padding: 0;
	margin: 0;
}
	.topnav li {
		float: left; 
		margin-right: 1em;
		margin-bottom: 1em;
	}
	.topnav a {
		padding: 0.25em 0.5em;
		text-decoration: none; 
		display: block;
		background: #eee; 
		color: #333; 
		border: 1px solid #eee; 
	}
	.topnav a:hover {
		background: #ddd;
		border-color: #ddd; 
	}
	.topnav li.current a {
		background: #ddd; 
		border-color: #ddd; 
	}
	.topnav li.edit a {
		background: none; 
	}


form.search {
	float: right; 
	margin: 0;
	width: 30%; 
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #ccc; 
		width: 100%; 
	}

.breadcrumbs {
	clear: both; 
	/*padding-top: 3em; */
	font-size: small;
	margin-top: 3.5em;
}

.breadcrumbs span:after {
		content: ">";
		color: #999; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}

.navbar-nav .active {
	border-bottom:8px white solid;
}
.dropdown-toggle::after  {
    display:none;
}


.list-group-item.active {
    z-index: 2;
    color: orange;
    background-color: #333;
    border-color: #333;
    border-right-color: #333;
    border-top-color: #333;
	border-radius: 3px;
}

.nav-item .edit {color:orange;padding:.6em .8em;}
.nav-item .edit:hover, .nav-item .edit:active {color:#ffef00;}
/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	padding: 1em  1em; 
	margin-top: 1em; 
	clear: both; 
}

#content {
	width: 85%; 
}

#content, #sidebar {
	padding-bottom: 2em; 
	margin-top: 2em;
}

body.has-sidebar #content {
	width: 75%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 25%;
	padding-left: 5%; 
	float: left; 
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.nav .current > a {
		color: #333; 
	}
#content .nav-tree li a {
	color: #3060a4; 
}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}

/*********************************************************************
 * 4. Footer
 *
 */

#footer {
	clear: both; 
	border-top: 1px solid #eee; 
	font-size: 80%; 
	background:#e8e8e8 url(/site/templates/styles/images/top_tear_box.png) repeat-x top left;
	padding-top: 24px;
	padding-bottom: 24px;
}
/*********************************************************************
 * 5. User profile
 *
 */
.avatar{
	float:left;
	width:200px;
	margin-right:1em;
}
.nav-tree{
    list-style: disclosure-closed;
    color:#3060a4;
    font-size: 1.2rem;
}
.list-group-item {
    border: 1px solid rgba(0,0,0,.125);
    font-size: small;
    line-height: 1.2em;
}
/*********************************************************************
 * 6. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 100%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		float: none; 
		width: 100%; 
	}
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}

@media only screen and (min-width: 1280px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 115%; 
	}
}
/*********************************************************************
 * 7. Accessibility helpers
 *
 */

/* Hide visually, but remain approachable for screenreader */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	white-space: nowrap;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border: 0;
}

/* Show bypass link on hover */

.element-focusable:focus {
	clip: auto;
	overflow: visible;
	height: auto;
}

/* Sample styling for bypass link */

.bypass-to-main:focus {
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #333;
	color: #fff;
}
.ui-datepicker{
	background-color: #ead31b;
	padding: 2em;
	width: 16em;
}

form#LoginRegisterConfirmationForm h2 {
	font-size:1.1em;
	color:#25640e;
}
.green {
	margin-top:.8rem;
	background-color:#82be05;
	font-weight: bold;
	color: white;
	padding:.5em;
	border-radius: 3px;
}
.brown {
	background-color:#f25c127a;
	font-weight: bold;
	color: white;
	padding:.5em;
	border-radius: 3px;
}
aside p {
	line-height: 1.25em;
	margin-top: 1em;
}
div#user_info.our_user {
	color: white;
	font-size: small;
}
div#user_info.not_user {
	color: transparent;
}
