/* Last update 11.04.2012 14:30 */

* {
	margin:0;
	padding:0;
}

body {
	font-size:12px;
	color:#222;
	background:#fff;
	font-family:Arial, Helvetica, sans-serif;
}

div {
	display:block;
}

fieldset {
	border: 1px solid #CCC;
	display: block;
	padding: 5px 10px 10px 10px;
}

legend {
	color:#333;
	border: none;
	font-size:13px;
	font-weight:bold;
	padding: 4px 8px 6px 8px;
	display: block;
}

input[type="button"] {
	cursor: pointer;
	float: left;
	font-weight: bold;
	padding: 7px 14px;
	color: #fff;
	border: 1px solid #33136E;
	background: #523087;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

input[type="text"] {
	width:280px;
}

input[type="checkbox"] {
	margin-top:1px;
}

input:focus, select:focus, textarea:focus {
	outline: none;
}

input, select, textarea {
	border: 1px solid #CCC;
	padding: 5px;
	float: left;
	margin: 0px;
	display: block;
}

textarea {
	outline: none;
	resize: none;
}

.page {
	width:1200px;
	margin:0 auto;
}

#header {
	width:100%;
	position:relative;
	float:left;
	height:110px;
}

#header div#Logo
{
	position: absolute;
	left: 0px;
	top: 20px;
	height: 65px;
	width: 95px;
	cursor: pointer;
	background: url(img/niiniplus-logo.png) no-repeat;
}

#header div#Logoee
{
	position: absolute;
	left: 0px;
	top: 20px;
	height: 65px;
	width: 251px;
	cursor: pointer;
	background:url(img/ee/logo.png) no-repeat;
}

#main {
	width:100%;
	position:relative;
	float:left;
	-moz-box-shadow:0px 2px 8px #ccc;
	-webkit-box-shadow:0px 2px 8px #ccc;
	box-shadow:0px 2px 8px #ccc;
	margin-bottom:100px;
}

#content {
	margin:0px;
}

#content .content-header {
	width:1198px;
	position: relative;
	text-shadow: 0px 1px 1px white;
	float: left;
	height: 62px;
	background: url(img/login-title-bg.png) repeat-x 0 0;
	border: 1px solid #CCC;
}

#content .content-header h1 {
	width:1183px;
	margin:5px 0 4px 15px;
	float:left;
	display:block;
	float:left;
	font-size:24px;
}

#content .content-header span {
	width:1183px;
	margin-left:15px;
	display:block;
	float:left;
	font-size:12px;
}

.main-content {
	width:1158px;
	float: left;
	position: relative;
	padding: 20px 20px;
	border: 1px solid #CCC;
}

fieldset.margin {
	margin: 0 0 20px 0;
}

fieldset.m-box {
	border:1px solid #e0e0e0;
	margin: 0 0 10px 0;
}

.box-container {
	margin-top:10px;
	position:relative;
	float:left;
	width:1136px;
}

.box {
	position:relative;
	float:left;
	width:563px;
}

.box fieldset {
	border: 1px solid #e0e0e0;
	width:542px;
}

.right {
	margin-left:10px;
}

.label, .field, .editor-field, .editor-label {
	font-size: 12px;
	display: block;
	margin: 0.5em 0px;
	overflow: hidden;
}

.label, .editor-label {
	color:#6b6b6b;
}

.editor-label input, .editor-field input {
	background:#F7F7F7;
}

.editor-field textarea {
	background:#F7F7F7;
}

.field input {
	width:240px;
}

.field select {
	width:252px;
}

.editor-field label {
	margin-left:6px;
}

.checkbox {
	height:20px;
}

.editor-field a {
	display:block;
	height:17px;
	line-height:17px;
	font-weight:bold;
	text-decoration:none;
	padding-left:24px;
}

.editor-field a:hover {
	text-decoration:underline;
}

a.download {
	color:#522F91;
	background:url(img/ico_btn-download.png) no-repeat 0 0;
	margin-bottom:8px;
}

a.decline {
	color:#F00;
	background:url(img/ico_delete.png) no-repeat 0 0;	
}

.validation-summary-errors {
    background: #fffacd;
    border: 1px solid black;
    color: red;
    margin-bottom: 5px;
    padding: 5px 5px 5px 20px;
}

/*
    ================================================    
    ========== MODAL LOADING ICONS    
    ================================================    
*/

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.preloader {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('img/modal_loading.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .preloader {
    display: block;
}