/* stylesheet file for layout 'admin' */

body {
	background: white;
	color: black;
	margin: 0;
	padding: 0;
}

input, select, textarea {
	border: 1px solid #d0d0d0;
}

h3 {
	font-size: 16pt;
	margin: 20px 0px;
}

h4 {
	font-size: 15pt;
	margin: 15px 0px;
}

h5 {
	font-size: 14pt;
	margin: 10px 0px;
}

h6 {
	font-size: 13pt;
	margin: 5px 0px;
}

div#site-header {
	background: #212121 url("/static/img/admin/header_background.png") repeat-x bottom left;
	color: white;
	padding: 10px 0px;
	min-width: 800px;
}

	div#site-header h1 {
		font-family: 'Open Sans', sans-serif;
		font-weight: 600;
		font-size: 14px;
		margin-left: 16px;
		float: left;
	}

		div#site-header h1 a {
			text-decoration: none;
			color: white;
		}

	div#site-header div.userinfo {
		float: right;
	}

		div#site-header div.userinfo div {
			font-size: 12px;
			float: left;
			border-right: 2px solid #343434;
			padding: 0px 16px;
		}

		div#site-header div.userinfo a {
			color: #f98e00;
			text-decoration: none;
		}

	div#site-header div.logo {
		background: transparent url("/static/img/admin/bme_logo_small.png") no-repeat;
		width: 84px;
		height: 18px;
		float: right;
		margin: 0px 16px;
	}

div#site-menu {
	background: #212121;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
}

		div#site-menu ul.menu {
			padding: 0px;
		}

		div#site-menu div.menu-level-0 {
			border-bottom: 1px solid black;
		}

		div#site-menu div.menu-level-1 {
			background: #474747 url("/static/img/admin/menu_level1_background_top.png") repeat-x top left;
			border-bottom: 1px solid black;
		}

		div#site-menu div.menu-level-2 {
			background: #616161;
			border-bottom: 1px solid black;
		}

		div#site-menu ul li {
			list-style: none;
			float: left;
		}

			div#site-menu ul li.active {
			}

			div#site-menu ul li:hover {
				background: #efbb75;
			}


			div#site-menu ul li a {
				text-decoration: none;
				padding: 8px 16px;
				display: block;
				color: white;
				font-size: 12px;
			}

			div#site-menu ul li.active a {
				background: #f98e00;
			}

			div#site-menu div.menu-level-1 ul li a {
				padding: 6px 16px;
			}

			div#site-menu div.menu-level-2 ul li a {
				padding: 4px 16px;
			}

div#site-content {
	padding: 16px;
}

	div#site-content a {
		color: #4040a0;
		text-decoration: none;
	}

	div#site-content div.x-grid-cell-inner a:hover {
		text-decoration: underline;
	}

div.clear {
	clear: both;
}


/* button classes for ExtJS */

span.x-btn-button span.add {
	background-image: url('/static/img/icons/add.png') !important;
}
span.x-btn-button span.cross {
	background-image: url('/static/img/icons/cross.png') !important;
}
span.x-btn-button span.modify {
	background-image: url('/static/img/icons/wrench.png') !important;
}
span.x-btn-button span.delete {
	background-image: url('/static/img/icons/delete.png') !important;
}
span.x-btn-button span.export {
	background-image: url('/static/img/icons/table.png') !important;
}
span.x-btn-button span.user-add {
	background-image: url('/static/img/icons/user_add.png') !important;
}
span.x-btn-button span.user-modify {
	background-image: url('/static/img/icons/user_edit.png') !important;
}
span.x-btn-button span.user-delete {
	background-image: url('/static/img/icons/user_delete.png') !important;
}
span.x-btn-button span.up {
	background-image: url('/static/img/icons/arrow_up.png') !important;
}
span.x-btn-button span.set_as_default {
	background-image: url('/static/img/icons/tick.png') !important;
}
span.x-btn-button span.upload {
	background-image: url('/static/img/icons/image_add.png') !important;
}
span.x-btn-button span.renumber {
	background-image: url('/static/img/icons/cog.png') !important;
}
span.x-btn-button span.finish {
	background-image: url('/static/img/icons/bullet_go.png') !important;
}
span.x-btn-button span.show {
	background-image: url('/static/img/icons/magnifier.png') !important;
}
span.x-btn-button span.undo {
	background-image: url('/static/img/icons/arrow_undo.png') !important;
}
span.x-btn-button span.copy {
	background-image: url('/static/img/icons/page_copy.png') !important;
}
span.x-btn-button span.save {
	background-image: url('/static/img/icons/disk.png') !important;
}


/* admin-permission list backgrounds */

tr.permission-system td.x-grid-cell {
	background: #fff0f0;
}

tr.permission-virtual td.x-grid-cell {
	background: #f0f0ff;
}

tr.x-grid-row-over td.x-grid-cell {
	background: #efefef;
}

/* extjs displayfield html design */
table.editor-display-field tr td div.x-form-display-field h1 {
	margin: 0 0 15px 0;
}

table.editor-display-field tr td div.x-form-display-field h2 {
	margin: 0 0 13px 0;
}

table.editor-display-field tr td div.x-form-display-field h3 {
	margin: 0 0 10px 0;
}

table.editor-display-field tr td div.x-form-display-field h4 {
	margin: 0 0 15px 0;
}

table.editor-display-field tr td div.x-form-display-field ul,
table.editor-display-field tr td div.x-form-display-field ol,
table.editor-display-field tr td div.x-form-display-field p {
	margin: 0 0 10px 0;
}


.highlighted {
	background: #e0f0e0;
}

#msg-div {
    position: absolute;
    right: 10px;
    top: 36px;
    width: 300px;
    z-index: 20000;
}
#msg-div .msg {
    background: #F6F6F6;
    border: 2px solid #ccc;
    margin-top: 2px;
    padding: 10px 15px;
    color: #555;
}
#msg-div .msg h3 {
    margin: 0 0 8px;
    font-weight: bold;
    font-size: 15px;
}
#msg-div .msg p {
    margin: 0;
}

/* list row backgrounds */
tr.event-period-active td.x-grid-cell {
	background: #e0ffe0;
}
tr.event-period-inactive td.x-grid-cell {
	background: #f0f0f0;
}

table.x-form-invalid table.mceLayout iframe {
	border: 1px solid #cc3300;
}



table.admin {
	background: #c0c0c0;
	border-collapse: separate;
	border-spacing: 2px;
	border-width: 1px;
	font-size: 8pt;
	width: 100%;
}

	table.admin th {
		padding: 4px;
		background: #f0f0f0;
		font-weight: bold;
		color: #404040;
	}

		table.admin th.id {
			width: 24px;
		}

	table.admin td {
		padding: 4px;
		background: white;
		vertical-align: top;
	}

	table.admin td.attribute-name {
		vertical-align: top;
	}

	table.admin label {
		font-weight: bold;
	}


div.login-options {
	text-align: center;
}

	div.login-options h1 {
		font-size: 20px;
	}

	div.login-options h2 {
		font-size: 18px;
	}

	div.login-options h3 {
		font-size: 16px;
	}

	div.login-options p {
		font-size: 14px;
	}

	div.login-options div.login-option-container {
		margin: 20px auto;
		padding: 0px 20px;
	}

	div.login-options a.eduid-button {
		background-image: url('/static/img/default/eduid_button_belepes_retina_gray.png');
		background-repeat: no-repeat;
		background-size: 122px 21px;
		display: block;
		height: 21px;
		margin: 20px auto;
		width: 122px;
	}


@media screen and (min-width: 900px) {
	div.login-options div.login-option-container {
		width: 45%;
		min-width: 400px;
	}
}

		div.login-options div.login-option-container h3 {
			margin: 20px 10px;
			font-size: 16px;
			text-align: center;
		}

#LoginFormContainer {
	margin: 20px auto;
	text-align: left;
	width: 400px;
}

div.messages {
	border: 1px solid #d0d0d0;
	margin: 10px 0px 40px 0px;
	max-width: 600px;
	padding: 10px 20px;
}

	div#main div.messages p {
		margin: 5px;
	}

	div.messages p.error {
		color: red;
	}

	div.messages p.warning {
		color: blue;
	}

	div.messages p.info {
		color: green;
	}

	div.messages p.notice {
		color: #808080;
	}
