label {
    margin-bottom:0 !important;
}

.navbar-top .dropdown-menu li:hover .sub-menu {
    visibility: visible;
}
.navbar-top .dropdown:hover .dropdown-menu {
    display: block;
}

.buttonsmall {
	height: 25px !important;
	height: 31px;
	text-align: left;
	text-decoration: none;
	width: 105px !important;
	width: 115px;
    display:block;
    float:left;
	font-size:1em;
	font-weight: bold;
	padding-top: 6px;
	padding-left: 10px;
    margin: 0 5px 5px 0;
    border:0 !important;
    outline:0 !important;
}

.buttonsmall:hover {
	height: 24px !important;
	height: 31px;
	padding-top: 7px;
}

.buttonsmall.grey {
	background: url("../img/button_grey.png") repeat scroll 0 0 transparent;
	color: #3b3b3b;
}

.buttonsmall.grey:hover {
	background: url("../img/button_grey.png") repeat scroll left bottom transparent;
} 

.buttonsmall.red {
	background: url("../img/button_red.png") repeat scroll 0 0 transparent;
	color: #fff;
}

.buttonsmall.red:hover {
	background: url("../img/button_red.png") repeat scroll left bottom transparent;
} 

.buttonquad {
	background: url("../img/button_grey_smallest.png") repeat scroll 0 0 transparent;
	color: #3b3b3b;
	height: 25px !important;
	height: 31px;
	text-align: center;
	text-decoration: none;
	width: 31px;
    display:block;
    float:left;
	font-size: 1em;
	font-weight: bold;
	padding-top: 6px;
    margin: 0 5px 5px 0;
}

.buttonquad:hover {
	background: url("../img/button_grey_smallest.png") repeat scroll left bottom transparent;
	height: 24px !important;
	height: 31px;
	padding-top: 7px;
}

.buttonhalf {
	background: url("../img/button_grey_half.png") repeat scroll 0 0 transparent;
	color: #3b3b3b;
	height: 25px !important;
	height: 31px;
	text-align: center;
	text-decoration: none;
	width: 57px;
    display: block;
    float:left;
	font-size: 1em;
	font-weight: bold;
	padding-top: 6px;
    margin: 0 5px 5px 0;
}

.buttonhalf:hover {
	background: url("../img/button_grey_half.png") repeat scroll left bottom transparent;
	height: 24px !important;
	height: 31px;
	padding-top: 7px;
}


.nr1table {
    border-collapse: separate;
    border-spacing: 0px;
    width:100%;
    border-radius:4px;
    box-shadow: 1px 1px 3px #aaa;
    margin-bottom:25px;
}


.nr1table td, 
.nr1table th {
    padding:10px;
    border:1px solid #aaa;
    text-align:left;
}

.nr1table th {
  background-image: -webkit-linear-gradient(top, #666 0%, #222 100%);
  background-image: linear-gradient(to bottom, #666 0%, #222 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff666666', endColorstr='#ff222222', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color:#fff;
  border-left:1px solid #666;
  border-top:1px solid #000;
  border-bottom:1px solid #000;
  border-right:1px solid #000;
}

.nr1table td {
  border-left:1px solid #aaa;
  border-bottom:1px solid #aaa;
  border-right:0px;
  border-top:0px;
  background:#f4f4f4;
}

.nr1table.striped tbody tr:nth-child(odd) td {
  background:#fcfcfc;
}

.nr1table tr td:last-child {
  border-right:1px solid #aaa;
}

.nr1table tr th:first-child {
    border-radius:3px 0 0;
    border-left:1px solid #000;
}
.nr1table tr th:last-child {
    border-radius:0 3px 0 0;
}

.nr1table tr:last-child td:first-child {
  border-radius:0 0 0 3px;
}

.nr1table tr:last-child td:last-child {
  border-radius:0 0 3px 0;
}

.nr1panel {
    border:1px solid #aaa;
    box-shadow: 1px 1px 3px #aaa;
    border-radius:3px;
    margin-bottom:15px;
}

.nr1panel-heading {
    border-top:1px solid #aaa;
    background-image: -webkit-linear-gradient(top, #fefefe 0%, #e0e0e0 100%);
    background-image: linear-gradient(to bottom, #fefefe 0%, #e0e0e0 100%);
    background-repeat: repeat-x;
    padding:10px;
}

.nr1panel .nr1panel-heading:first-child {
    border-radius:3px 3px 0 0;
    border-top:0;
}

.nr1panel-heading h3 {
    padding:0px;
    margin:0px;
    font-weight:bold;
}



.nr1panel-body {
    border-top:1px solid #aaa;
    padding:10px;
}

.nr1panel-body-grey {
    background-image: -webkit-linear-gradient(top, #fefefe 0%, #e0e0e0 100%);
    background-image: linear-gradient(to bottom, #fefefe 0%, #e0e0e0 100%);
    background-repeat: repeat-x;
}

.nr1panel .nr1panel-body:first-child {
    border-top:0;
}

.nr1panel .nr1panel-body:last-child {
    border-radius:0 0 3px 3px;
}


.nr1button {
    display: inline-block;
    padding:7px 10px !important;
    text-align:center !important;
    border-radius:3px !important;
    text-decoration:none !important;
    font-size: 1.0em !important;
    font-weight:bold !important;
    color:#2887C2 !important;
    background-image: -webkit-linear-gradient(to bottom, #fefefe 0%, #e0e0e0 100%);
    background-image: linear-gradient(to bottom, #fefefe 0%, #e0e0e0 100%);
    background-repeat: repeat-x !important;
    border:1px solid #aaa;
    text-shadow: 1px 1px 0px #fff;
    box-shadow: 1px 1px 3px #888;
}

.nr1button.red {
    background-image: -webkit-linear-gradient(to bottom, #DC4D21 0%, #C8370B 100%);
    background-image: linear-gradient(to bottom, #DC4D21 0%, #C8370B 100%);
    background-repeat: repeat-x !important;
    color:#fff !important;
    text-shadow: none;
}

.formerror input,
.formerror select,
.formerror textarea {
    background:#fee !important;
    border-color:#800 !important;
}

.formerror .input-group-addon {
    border-color:#800 !important;
}