/* Messages */
form.nd_form ul.errors, form.nd_form ul.messages {
	margin: 0 !important; border:none;  padding:0 0 5px 0;
	list-style: none !important;
}
form.nd_form ul.errors li, form.nd_form ul.messages li {
	border: 1px solid;
	margin: 5px 0 6px 0;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	font-size: 13px;
}
form.nd_form ul.messages li {
	color: #4F8A10; 
	background-color: #DFF2BF;
	background-image:url('../img/success.png');
}
form.nd_form ul.errors li {
	color: #9d7b11; 
	background-color: #ffe69c;
	background-image: url('../img/errors.png');
}


/* Form/Div Styling */

    form.nd_form, div.nd_logged_in {
    background-color: #ffffff;
	border: 1px solid #d5d5d5;
	padding: 1.3em 1.3em 0 1.3em;
	font-size: 12px; 
}
form.nd_form h2, div.nd_logged_in h2, form.nd_form h3, div.nd_logged_in h3 {
	margin-top: 0;
	clear: none;
}
form.nd_form p {
margin: 0 0 0.5em;
	padding: 0;
	font-size: 13px;
	line-height: 21px;
	font-weight: normal;
	clear: both;
}
form.nd_form p a {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: -0.05em;
	color: #666666;
}
form.nd_form p a.forgotten {
	float: right;
	padding: 17px 0 0 0;
	text-transform: none;
	font-family: Trebuchet MS;
	 
}

div.nd_logged_in .avatar {
	padding: 3px; width: 70px; height: 70px;
	border: 1px solid #d5d5d5;
	float: right; margin-right:0px; 
    margin-left:2px;
}
div.nd_logged_in .photo  { width: 70px; height: 70px;
	padding: 3px !important;
	border: 1px solid #d5d5d5 !important;
	float: right; margin-right:0px; 
    margin-left:2px;
}
form.nd_form label {
	display: block;
	color: #666666;
	text-transform:uppercase;
	margin-bottom:5px;
	font-family:Trebuchet MS;
}
form.nd_form label.hidden {
	visibility: hidden;
}
form.nd_form input.text {
    border:1px solid #d5d5d5;
    background: #f9f9f9 url(../img/input.png) repeat-x top left;
    color: #666666;
    font-size: 14px;
    padding: 8px 2% 8px;
    width: 96%;
    margin: 0;
    outline: 0;
}
form.nd_form input.text:focus {
	background: #f0f0f0;
}
form.nd_form p.column {
	float: left;
	width: 44%;
    padding-right: 5px;
	clear: none;
}
form.nd_form p.column-alt {
	margin-right: 0;
	float: right;
}
form.nd_form p.column input {
	 padding: 5px 3% 3px;
    width: 94%;
}
.nd_logged_in p {
 	padding-bottom: 5px;
}


.nd_logged_in ul.links {
	margin: 0;  border:none !important;  
	padding: 15px 0 0 0;
    margin-top: 5px;
	list-style: none outside;
	overflow: hidden; 
	zoom: 1;
}
.nd_logged_in ul.links li {
	float: left; 
	margin: -10px 4px 4px 0; border:none !important; 
}
 .links li a {
	background: #fb2900; 
	padding: 4px 9px;
	float: left;  text-decoration: none; font-size: 13px; font-family:Trebuchet MS;
    display: inline-block;
    color: #fff !important; 
    -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; 
}
.nd_logged_in ul.links li a:hover{
	background: #242424;
}

.nd_logged_in .count {
	color: #fb2900;
	padding: 1px 2px;
	margin: 0 2px;
	font-size: 1.4em;
	font-style: italic;
	font-family: Georgia, Times, Serif;
}
.nd_logged_in hr {
	border: 0;
	margin: 0 0 10px;
	padding: 0;
}

/* Buttons */
form.nd_form input.button {
	font-size: 13px; font-family:Trebuchet MS;
    display: inline-block;
    font-weight: bold;
    padding: 3px 13px; margin-left:0;
    color: white !important;
    text-align: center;
    text-shadow: 0 -1px 0 hsla(0,0%,0%,.3);
    text-decoration: none;
    cursor: pointer; 
    border:none; 
   -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease;
    background: #fb2900;}

form.nd_form input.button:hover {
    text-decoration: none !important;
    background: #242424;
}

form.nd_form input.button:active  {
    border-color: #20559a;

    /*Box shadow*/
    -webkit-box-shadow:
    	inset 0 0 7px hsla(0,0%,0%,.3) /*Shine*/,
        0 1px 0 hsla(0, 100%, 100%, 1) /*Shadow*/;
    -moz-box-shadow:
    	inset 0 0 7px hsla(0,0%,0%,.3) /*Shine*/,
		0 1px 0 hsla(0, 100%, 100%, 1) /*Shadow*/;
    box-shadow:
    	inset 0 0 7px hsla(0,0%,0%,.3) /*Shine*/,
		0 1px 0 hsla(0, 100%, 100%, 1) /*Shadow*/;
}