body.iframe {
    background: none;
}

#dropdown-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    background: #000 url(/images/add/thumb.loader.gif) no-repeat center center;
    margin-top: -23px;
    margin-left: -23px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    z-index: 20000;
}


/* global stuff */

#dropdown h1, 
#dropdown h2, 
#dropdown label {
    position: relative;
    display: block;
    font-size: 12px;
    font-weight: bold;
    text-shadow: #fff 0px 1px 0px;
    margin-bottom: 5px;				
    color: #363636;
}

#dropdown {
    background: #f9f9f9;
    color: #363636;
    text-shadow: #fff 0px 1px 0px;
}
#dropdown.ajax {
    position: fixed;
    top: 0px;
    left: 50%;
    z-index: 100;
    width: 500px;
    margin-left: -260px;
    background: url(/images/dropdown.500.png) no-repeat center bottom;
    overflow: hidden;
    padding: 0px 10px 10px 10px;
}

#dropdown.html {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

/* header */
#dropdown-header {
    position: relative;
		background: #473620 url(/images/zoo/pattern.png) repeat-x left bottom;
    height: 50px;
    border-bottom: 1px solid #221b13;
    text-align: center;
    overflow: hidden;
		-webkit-user-select: none;
		-moz-user-select: none;	
}
#dropdown-header h1 {
    color: #fff;
    text-shadow: #000 0px 1px 0px;
    margin-top: 17px;
}



/* menu */
#dropdown-menu {
		position: relative;
    height: 50px;
		background: #473620 url(/images/zoo/pattern.png) repeat-x left bottom;
    border-bottom: 1px solid #221b13;
    text-align: center;
    overflow: hidden;
		-webkit-user-select: none;
		-moz-user-select: none;	
}
#dropdown-menu ul {
    float: left;
    left: 50%;
    position: relative;
}
#dropdown-menu li {
    position: relative;
    float: left;
    height: 50px;
    right: 50%;
    text-align: center;
    font-size: 11px;
    text-shadow: #000 0px 1px 0px;
    color: #968875;
    cursor: pointer;
    padding-left: 10px;
    margin: 0px 5px;
}
#dropdown-menu li a {
    display: block;
    padding-right: 10px;
    height: 100%;
    color: #968875;
}
#dropdown-menu li span {
    display: block;
    width: 100%;
    padding-top: 33px;
    height: 30px;
}
#dropdown-menu li.active {
    background: url(/images/dropdown/tab.png) no-repeat left top;
}
#dropdown-menu li.active a {
    color: #fff;
    background: url(/images/dropdown/tab.png) no-repeat right top;				
}



/* msg */
#dropdown-msg {
		position: relative;
    background: #f5b500 url(/images/dropdown/msg.png) repeat-x left top;
    padding: 0px 15px;
    height: 36px;
    overflow: hidden;
    cursor: pointer;
}
#dropdown-msg p {
    color: #fff;
    font-weight: bold;
    padding: 10px 20px 14px 40px;
    text-shadow: #c98c00 1px 1px 0px;
    background: url(/images/dropdown/msg.png) no-repeat left -36px;
}
#dropdown-msg.success {
    background-color: #729c30;
		background-position: left -72px;
}
#dropdown-msg.success p {
		text-shadow: #4a6a16 1px 1px 0px;
		background-position: left -108px;
}
#dropdown-msg.question {
    background-color: #2a2a2a;
		background-position: left -144px;
}
#dropdown-msg.question p {
		padding-left: 5px;
		text-shadow: #000 1px 1px 0px;
		background: none;
}
#dropdown-msg.question .buttons {
		position: absolute;
		right: 20px;
		top: 7px;
}
#dropdown-msg.question .buttons a {
		display: block;
		width: 40px;
		height: 21px;
		padding-top: 1px;
		float: left;
    background: url(/images/dropdown/msg.png) no-repeat center -188px;
    margin-left: 7px;
    color: #000;
    text-align: center;
    text-shadow: #c7c6c6 0px 1px 0px;
}



/* loader */
#dropdown-loader {
		position: absolute;
		top: 51px;
		left: 10px;
		right: 10px;
		bottom: 52px;
		z-index: 100;
		background: #f9f9f9;
		font-weight: bold;
}
#dropdown-loader p {
		position: absolute;
		top: 50%;
		left: 50%;
		height: 40px;
		width: 400px;
		margin-left: -200px;
		margin-top: -25px;
		background: url(/images/dropdown/progress.bar.gif) no-repeat center bottom;				
}




/* content */
#dropdown-content {
    position: relative;
    border-bottom: 1px solid #222;
    background: #f9f9f9;
}
#dropdown.html #dropdown-content {
    position: absolute;
    top: 51px;
    bottom: 40px;
    left: 0px;
    right: 0px;
    width: 100%;
    overflow: auto;
}
#dropdown.html.msg #dropdown-content {
    margin-top: 36px;
}
#dropdown-content a {
    color: #7ca935;						
}
#dropdown-content .tab {
    display: none;
}
#dropdown-content .tab.active {
    display: block;
}




/* form stuff */
#dropdown fieldset {
		padding: 15px 20px 5px 20px;
		border: none;
}
#dropdown .field {		
		margin-bottom: 15px;
}
#dropdown label.inline {
		font-weight: normal;
		color: #555;
		font-size: 11px;
}
#dropdown label.inline input {
		margin-right: 10px;
}
#dropdown .text {
		width: 100%;
		padding: 3px 0px;
		color: #000;
		border: 1px solid #bbb;
		background: #fff url(/images/back.textarea.gif) repeat-x;
}		
#dropdown textarea.text {
		height: 50px;
}
#dropdown .field .description {
		position: relative;
		color: #555;
		font-size: 11px;
		margin-top: 3px;
		margin-bottom: 15px;
		line-height: 15px;
}
#dropdown .field p {
		line-height: 18px;
}
#dropdown .inset {
		position: relative;
		background: #f2f2f2;
		padding: 3px 7px;
		line-height: 0px;
		font-size: 11px;
		border: 1px solid #d7d7d7;
		-webkit-box-shadow: #fff 0px 1px 0px;
		-moz-box-shadow: #fff 0px 1px 0px;
		-webkit-border-radius: 3px;						
		-moz-border-radius: 3px;										
}
#dropdown .inset p {
		line-height: 16px;				
}

#dropdown .button {
		display: block;
		cursor: pointer;
		border: 1px solid #bbb;
		text-shadow: #fff 0px 1px 0px;
		text-align: center;
		-webkit-box-shadow: #fff 0px 1px 0px;
		-webkit-user-select: none;
		-moz-box-shadow: #fff 0px 1px 0px;
		-moz-user-select: none;
		background: #f5f5f5;
		background: -webkit-gradient(linear, left bottom, left top, from(#f2f2f2), to(#fefefe));
		background: -moz-linear-gradient(left bottom, left top, from(#f2f2f2), to(#fefefe));
    color: #363636;
}
#dropdown .button span {
		display: block;
		border: 1px solid #fff;
		padding: 2px 20px;		
}
#dropdown-content .button:active {
		background: #eee;
		background: -webkit-gradient(linear, left bottom, left top, from(#f9f9f9), to(#eee));
		background: -moz-linear-gradient(left bottom, left top, from(#f9f9f9), to(#eee));
}



/* special stuff */
#dropdown .gear {
		position: absolute;
		right: 18px;
		width: 20px;
		height: 20px;
		background: url(/images/share/gear.png) no-repeat right center;
		text-indent: -6000px;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;	
}
#twitter-counter {
    position: absolute;
    right: 0px;
		margin-top: -1px;
		font-size: 9px;
		color: #fff !important;
		text-shadow: none !important;
		background: #9e9e9e;
		padding: 2px 7px;
		text-align: center;
		-webkit-border-radius: 7px;
		-moz-border-radius: 7px;
}
#twitter-counter.limit {
    background: #b52008;
}
#twitter-settings-toggle {
		position: relative;
		padding: 0px;
		right: 0px !important;
		top: 0px;
		float: right;
		margin-right: 1px;
		margin-top: -3px;
}





/* footer */
#dropdown-footer {
    position: relative;
		border-top: 1px solid #80755f;
		text-align: right;
		background: #473620 url(/images/zoo/pattern.png) repeat-x left bottom;
		height: 39px;
		overflow: hidden;
		-webkit-user-select: none;
		-moz-user-select: none;	
}
#dropdown.ajax #dropdown-footer {
		border-bottom: 1px solid #291f12;
}
#dropdown.html #dropdown-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
}


/* buttons */
#dropdown-buttons {
    position: absolute;
    right: 17px;
    top: 7px;
}
#dropdown-buttons .button {
    float: left;
    cursor: pointer;
    border: 1px solid #211a13;
    color: #000;
    text-shadow: #e2dfd9 0px 1px 0px;
    text-align: center;
    -webkit-box-shadow: #726554 0px 1px 0px;
    -webkit-user-select: none;
    -moz-box-shadow: #726554 0px 1px 0px;
    -moz-user-select: none;
    background: #c4c0b5;
    background: -webkit-gradient(linear, left bottom, left top, from(#a09a8f), to(#e2dfd5));
    background: -moz-linear-gradient(left bottom, left top, from(#a09a8f), to(#e2dfd5));
    height: 21px;
}
#dropdown-buttons .button span {
    display: block;
    border: 1px solid #d8d6d1;
    padding: 2px 20px;		
}
#dropdown-buttons .button:active {
		background: #a6a095;
		background: -webkit-gradient(linear, left bottom, left top, from(#c0bbb1), to(#a6a095));
		background: -moz-linear-gradient(left bottom, left top, from(#c0bbb1), to(#a6a095));
}
#dropdown-buttons .reset {
    margin-right: 7px;
}






/* tags */
#dropdown .tagbox {
		position: relative;
		border: 1px solid #bbbbbb;
		background: #fff url(/images/back.textarea.gif) repeat-x;
		overflow: hidden; 
		height: auto !important; 
		height: 1%; 
		padding: 6px 5px 2px 5px; 
		margin: 0px;
		cursor: pointer;			
		-webkit-box-shadow: #fff 0px 1px 0px;
		-moz-box-shadow: #fff 0px 1px 0px;
		text-shadow: none !important;
}
#dropdown .tagbox .autoloader {
		position: absolute;
		top: 6px;
		right: 8px;
		width: 16px;
		height: 16px;
		background: #000 url(/images/loader/loader-white.gif) no-repeat;
		z-index: 100;
}
#dropdown .tagbox li {
		position: relative;
		list-style: none;
		width: auto;
		float: left;
		display: inline;
		margin: 0px 3px 3px 0px;
		text-transform: lowercase;
		white-space: nowrap;	
		color: #fff;
		overflow: hidden;
}
#dropdown .tagbox li .tag {
		border: 1px solid #678f28;
		color: #486619;
		background: #a0ce57;
    background: -webkit-gradient(linear, left bottom, left top, from(#a0ce57), to(#edf9df), color-stop(90%, #b6dc7b));
		background: -moz-linear-gradient(left bottom, left top, from(#a0ce57), to(#b6dc7b));
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
		display: block;
		font-size: 11px;
		padding: 1px 21px 3px 10px;
		line-height: 11px;
}
#dropdown .tagbox li:hover .tag,
#dropdown .tagbox li.selected .tag {
		background: #7ea93b; 
		color: #fff;
}
#dropdown .tagbox .delete {
		position: absolute;
		background: url(/images/close.gif) no-repeat left 5px;
		top: 0px;
		height: 15px;
		width: 13px;
		margin-left: 4px;
}
#dropdown .tagbox li.selected .delete {
		background-position: left -12px;
}


#dropdown .tagbox li input.field {
		position: absolute;
		top: -20px;
		left: -20px;
		outline: 0;
		border: 0;
		width: 1px;
		height: 1px;
		padding: 0px;
		color: #fff;
}
#dropdown .tagbox .new input {
		outline: 0;
		border: 0;
		width: 50px;
		color: #000 !important;
		height: 13px;		
		font-size: 11px;
		position: relative;
		padding: 2px 0px;
}

/* autocomplete */
.autocomplete {
		font-size: 11px;
		position: fixed;
		color: #000;
		z-index: 5000;
		border: 1px solid #bbbbbb;
		border-top: 0px;
		border-bottom: 0px;
		text-shadow: none !important;
}
.autocomplete ul {
    background: #fff;
		background: rgba(255,255,255, .95);
		list-style-type: none;
		margin: 0px;
		padding: 0px;
}
.autocomplete li {
		display: block;
		float: none;
		margin: 0px;
		border-bottom: 1px solid #bbbbbb;
		background: url(/images/dropdown/autocomplete.png) no-repeat 10px 2px;
		cursor: pointer;
		line-height: 12px;
}
.autocomplete li span {
		display: block;
		padding: 4px 10px 5px 28px;
		border: 1px solid #fff;
}
.autocomplete li.selected {
		background: #8ab645 url(/images/dropdown/autocomplete.png) no-repeat 10px -21px;	
		color: #fff;
}


.autocomplete.contacts li {
		background: url(/images/dropdown/autocomplete.png) no-repeat 14px -46px;
}
.autocomplete.contacts span {
		padding-left: 31px;
}
.autocomplete.contacts li.selected {
		background: #8ab645 url(/images/dropdown/autocomplete.png) no-repeat 14px -46px;
}
.tagbox.contacts li .tag {
		background: #678f28 url(/images/dropdown/autocomplete.png) no-repeat 8px -73px;
		padding-left: 25px;
}
.tagbox.contacts li.selected .tag {
		border-color: #362d20; 
		background: #473d30 url(/images/dropdown/autocomplete.png) no-repeat 8px -73px;
}
