body
{
	margin: 0;
	padding: 0;
	color: #555;
font-family: "PT Sans", sans-serif;
	background: #EFEFEF;
}

#page
{
	background: white;
	border: 1px solid #C9E0ED;
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 3px solid #C9E0ED;
}

#content
{
    padding: 20px;
}


#search-simple {
    position: absolute;
    top: 0;
    right: 220px;
    margin-top: -5px;
}

@media screen and (max-width: 750px) {
    #search-simple {
        position: relative;
        right: 0;
    }
}

#sidebar
{
	padding: 20px 20px 20px 0;
}

html, body {
    height: 100%;
}

#page {
    height: auto !important;
    min-height: 100%;
}

#page {
    margin-bottom: -50px;
}

#footer
{
	padding: 10px;
	margin: 0px 20px 0;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-size: 200%;
}

#menu
{
    position: relative;
}

#menu ul
{
	padding:5px 20px 4px 20px;
	margin:0;
}

#menu ul li
{
	display: inline;
}

#menu ul li a
{
	color:#ffffff;
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding:5px 8px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#menu ul li a:hover, #menu ul li.active a
{
	color: #6399cd;
	background-color:#EFF4FA;
	text-decoration:none;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background:#EFFDFF;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}

.items {
    border-collapse: collapse;
    background: #f7f7f7;
}

.items a {
    text-decoration: none;
}

.items td, .items th {
    border: 1px solid #fff;
}

.items th {
    background: url(bg.gif) repeat-x;
    color:#fff;
}

.items tr:hover {
    background: #fcefa1;
}

.remove-item, .btn {
    cursor: pointer;
    text-decoration: none;
    padding: 3px 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #feffff;
    background: -moz-linear-gradient(top,  #feffff 0%, #d9ebf4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feffff), color-stop(100%,#d9ebf4));
    background: -webkit-linear-gradient(top,  #feffff 0%,#d9ebf4 100%);
    background: -o-linear-gradient(top,  #feffff 0%,#d9ebf4 100%);
    background: -ms-linear-gradient(top,  #feffff 0%,#d9ebf4 100%);
    background: linear-gradient(to bottom,  #feffff 0%,#d9ebf4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#d9ebf4',GradientType=0 );
}
.remove-item:hover {
    background: #d9ebf4;
    background: -moz-linear-gradient(top,  #d9ebf4 0%, #feffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d9ebf4), color-stop(100%,#feffff));
    background: -webkit-linear-gradient(top,  #d9ebf4 0%,#feffff 100%);
    background: -o-linear-gradient(top,  #d9ebf4 0%,#feffff 100%);
    background: -ms-linear-gradient(top,  #d9ebf4 0%,#feffff 100%);
    background: linear-gradient(to bottom,  #d9ebf4 0%,#feffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9ebf4', endColorstr='#feffff',GradientType=0 );
}

.order-table {
    border-collapse: collapse;
}

.submit-btn, .cancel-btn {
    padding: 8px 14px;
    background-color: #006DCC;
    background-image: linear-gradient(to bottom, #0088CC, #0044CC);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.cancel-btn {
    background: linear-gradient(to bottom, #EE5F5B, #BD362F);
    color: #fff;
}


.order-block {
    padding: 8px 12px;
    background: #f9fcf9;
    margin-bottom: 24px;
}

.status-menu {
    list-style-type: none;
    height: 15px;
}

.status-menu li {
    margin-right: 1px;
    padding: 2px 6px;
    float: left;
    border:1px solid #ddd;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-color: #fff;
    background: #fff;
}

.status-menu a, .status-menu a:hover {
    text-decoration: none;
}

.status-menu li:hover {
    background: #005693;
}
.status-menu li:hover a {
    color: #fff;
}

.order-list {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 3px;
}

.order-list tr:hover, .order-content tr:hover {
    background:#d3e9ff;
}

.status-menu .active {
    font-weight: bold;
    color: #005693;
}

.status-menu .active:hover {
    color: #fff;
    cursor: default;
}

.article p {
    text-align: justify;
}

.user-menu {
    list-style-type: none;
}

.user-menu li {
    display: inline-block;
    padding: 6px;
    margin: 0 12px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.user-menu a {
    text-decoration: none;
}

.user-menu .active, .user-menu li:hover {
    background-color: #006DCC;
    background-image: linear-gradient(to bottom, #0088CC, #0044CC);
    background-repeat: repeat-x;
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #fff;
    font-weight: normal;
    cursor: pointer;
	position:relative;
}

.user-menu .active:before {
	content:'';
	width:0;
	height:0;
	border: 8px solid transparent;
	border-top-color: #0044CC;
	position: absolute;
	margin-top: 25px;
	left: 50%;
	margin-left: -8px;
}

.user-menu li:hover a, .user-menu .active a {
    color: #fff;
    text-decoration: none;
}


button {
    cursor: pointer;
}

.fod {
    white-space: nowrap;
    width: 180px;
    padding: 3px 10px;
}

.add-item {
    background: url("img/item.png") no-repeat 0 0;
    width: 30px;
    height: 30px;
}

.active-section {
    font-weight: bold;
}

.brief-sections {
    list-style-type: none;
}

.brief-sections li {
    display: inline-block;
    margin: 5px;
    padding: 5px;
}

.attention {
    border: 1px solid #b33;
    padding: 5px;
    border-radius: 3px;
    color: #333;
    background: #fee;
}
.notice {
     border: 1px solid #bb3;
     padding: 5px;
     border-radius: 3px;
     color: #333;
     background: #ffe;
 }

.form-horizontal .control-group {
    margin-bottom: 10px !important;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 21px !important;
    font-weight: normal !important;
}

h3 {
    font-size: 18px !important;
}

.loading {
    background: url('img/ajax-loader.gif') no-repeat 5px 50%;
}

.select-col {
    width: 20px;
}

.state {
    font-weight: bold;
}

.push {
    height: 40px;
}

.excluded, .excluded a {
    color: #ccc;
}

.returned {
    background-color: #eee;
}

.xv, .xv a {
    color: #a22;
}

.nowrap {
    white-space: nowrap;
}

.logo-name a:hover {
    text-decoration: none;
}

.input-micro {
    width: 42px;
}

.exceed {
    background-color: #fcc;
}

.tagged {
    padding: 5px 8px;
    border-radius: 3px;
    background: #fde19a;
}

.archival {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: -12px;
}

td.nextchar:first-letter {
    color: #f00;
    font-size: 140%;
    text-transform: uppercase;
}

.photo {
	padding: 12px;
}