/*
 * -----------------
 * TABLE OF CONTENTS
 * -----------------
 * 
 * 1) Generic
 * 2) Validation
 * 3) Grid
 * 4) Inline Label
 * 5) Search-Form
 * 6) Uniform Theme
 */


/* ==================================================
 * 1) Generic
 * ================================================== */

.form p.inline-label, .form p.inline-medium-label, .form p.inline-small-label { padding-right: 10px; }


.form fieldset { border: 1px solid #b7c4d1; border-radius: 3px 3px 3px 3px; padding: 0px 10px 10px 10px; margin: 10px 0px 10px 0px; margin-top: 10px; }

.form fieldset p.inline-label, .form fieldset p.inline-medium-label, .form fieldset p.inline-small-label { padding-right: 0; }

.form fieldset legend { background: url("../img/forms/legend-bg.png") repeat-x scroll top left #dcdcdc; padding: 5px 10px; line-height: 16px; box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); border: 1px solid #fff; border-radius: 5px 5px 5px 5px; }

.form label, .form .label { display: block; /* margin-bottom:3px; */ }
.form input[type="text"], .form input[type="password"], .form textarea { border: 1px solid #D1D1D1; border-color: #AAAAAA #CCCCCC #CCCCCC #AAAAAA; border-radius: 0; line-height: 1.5em; padding: 4px 3px 4px 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset; FONT-SIZE: 13PX; }


.form input[type="text"]:hover, .form input[type="password"]:hover, .form textarea:hover { border-color: #a3a3a3; }

.form input[type="text"]:focus, .form input[type="password"]:focus, .form textarea:focus { border-color: #666666; }







/* ==================================================
 * 2) Validation
 * ================================================== */

div.error { color: #740000; font-weight: 700; }

span.error { color: #740000; font-weight: 700; }

div.jGrowl div.error { color: #fff; font-weight: 400; }

input[type=text].error, input[type=password].error, textarea.error { border-color: #bf0000 !important; }

p.inline-small-label label.error { margin-left: 0 !important; }





/* ==================================================
 * 3) Grid
 * ================================================== */

._25 { width: 21%; display: inline; float: left; margin-left: 2%; margin-right: 2%; margin-bottom: 5px; margin-top: 5px; }
._50 { width: 46%; display: inline; float: left; margin-left: 2%; margin-right: 2%; margin-bottom: 5px; margin-top: 5px; }
._129 { width: 129px; display: inline; float: left; margin-left: 2%; margin-right: 25px; margin-bottom: 5px; margin-top: 5px; }
._250 { width: 290px; display: inline; float: left; margin-left: 2%; margin-right: 25px; margin-bottom: 5px; margin-top: 5px; }
._75 { width: 71%; display: inline; float: left; margin-left: 2%; margin-right: 2%; margin-bottom: 5px; margin-top: 5px; }
._100 { width: 96%; display: inline; float: left; margin-left: 2%; margin-right: 2%; margin-bottom: 5px; margin-top: 5px; }

input, textarea, select { }

p.no-top-margin { margin-top: 0; }



/* ==================================================
 * 4) Inline Label
 * ================================================== */

.inline-label label, .inline-label .label, .inline-medium-label label, .inline-medium-label .label, .inline-small-label label, .inline-small-label .label, .inline-mini-label label, .inline-mini-label .label { float: left; display: block; padding: 4px 0 0 4px; }

p.inline-label { padding-left: 200px; }
.inline-label label, .inline-label .label { margin-left: -200px; }

p.inline-medium-label { padding-left: 150px; }
.inline-medium-label label, .inline-medium-label .label { margin-left: -150px; }

p.inline-small-label { padding-left: 100px; }
.inline-small-label label, .inline-small-label .label { margin-left: -100px; }

p.inline-mini-label { padding-left: 70px; }
.inline-mini-label label, .inline-mini-label .label { margin-left: -70px; }






/* ==================================================
 * 5) Search-Form
 * ================================================== */

.search-form input[type="text"] { background: url("../img/icons/misc/search.png") no-repeat scroll 8px 6px #fff; margin-left: 10px; margin-right: 10px; padding-top: 4px; padding-left: 25px; padding-right: 0px; padding-bottom: 4px; border: 1px solid #b3b3b3; border-radius: 2px 2px; width: 144px; }


.search-left { width: 175px; height: 26px; line-height: 26px; padding: 8px 7px 8px 0px; float: left; }
.search-right { width: 63px; height: 26px; line-height: 26px; padding: 5px 7px 8px 1px; float: left; max-width: 63px; overflow: hidden; }
.search-right .selector { width: 63px !important; }

.search-right .selector span { width: 41px !important; }



/* ==================================================
 * 6) Uniform Theme
 * ================================================== */
/*
     /*

Uniform Theme: Aristo
Version: 1.1
By: 280North / Ported by Josh Pyles
License: Creative Commons Share Alike
---
For use with the Uniform plugin:
http://uniformjs.com/

*/
/* General settings */
div.selector, div.selector span, div.checker span, div.radio span, div.uploader, div.uploader span.action, div.button, div.button span { background-image: url("../img/forms/sprite-aristo.png"); background-repeat: no-repeat; -webkit-font-smoothing: antialiased; }
div.selector, div.checker, div.button, div.radio, div.uploader { display: -moz-inline-box; display: inline-block; *display: inline; zoom: 1; vertical-align: middle; /* Keeping this as :focus to remove browser styles */ }
div.selector:focus, div.checker:focus, div.button:focus, div.radio:focus, div.uploader:focus { outline: 0; }
div.selector, div.selector *, div.radio, div.radio *, div.checker, div.checker *, div.uploader, div.uploader *, div.button, div.button * { margin: 0; padding: 0; }

.highContrastDetect { background: url("../img/forms/bg-input-aristo.png") repeat-x 0 0; width: 0px; height: 0px; }

/* Input & Textarea */

select.uniform-multiselect { padding: 4px; background: url("../img/forms/bg-input-aristo.png") repeat-x 0 0; outline: 0; }

select.uniform-multiselect.active,
textarea.uniform.active { }

/* Remove default webkit and possible mozilla .search styles.
 * Keeping this as :active to remove browser styles */
div.checker input,
input[type="search"],
input[type="search"]:active { -moz-appearance: none; -webkit-appearance: none; }

/* Select */
div.selector { background-position: 0 -160px; line-height: 32px; height: 32px; padding: 0 0 0 10px; position: relative; overflow: hidden; }
div.selector span { text-overflow: ellipsis; display: block; overflow: hidden; white-space: nowrap; background-position: right 0; height: 32px; line-height: 32px; padding-right: 25px; cursor: pointer; width: 100%; display: block; }
div.selector.fixedWidth { width: 190px; }
div.selector.fixedWidth span { width: 155px; }
div.selector select { opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0; border: none; background: none; position: absolute; height: 24px; top: 4px; left: 0px; width: 100%; }
div.selector.active { background-position: 0 -192px; }
div.selector.active span { background-position: right -32px; }
div.selector.hover, div.selector.focus { background-position: 0 -224px; }
div.selector.hover span, div.selector.focus span { background-position: right -64px; }
div.selector.hover.active, div.selector.focus.active { background-position: 0 -256px; }
div.selector.hover.active span, div.selector.focus.active span { background-position: right -96px; }
div.selector.disabled, div.selector.disabled.active { background-position: 0 -288px; }
div.selector.disabled span, div.selector.disabled.active span { background-position: right -128px; }

/* Checkbox */
div.checker { position: relative; }
div.checker, div.checker span, div.checker input { width: 23px; height: 23px; }
div.checker span { display: -moz-inline-box; display: inline-block; *display: inline; zoom: 1; text-align: center; background-position: 0 -320px; }
div.checker span.checked { background-position: -92px -320px; }
div.checker input { opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0; border: none; background: none; display: -moz-inline-box; display: inline-block; *display: inline; zoom: 1; }
div.checker.active span { background-position: -23px -320px; }
div.checker.active span.checked { background-position: -115px -320px; }
div.checker.hover span, div.checker.focus span { background-position: -46px -320px; }
div.checker.hover span.checked, div.checker.focus span.checked { background-position: -138px -320px; }
div.checker.hover.active span, div.checker.focus.active span { background-position: -69px -320px; }
div.checker.hover.active span.checked, div.checker.focus.active span.checked { background-position: -161px -320px; }
div.checker.disabled, div.checker.disabled.active { background-position: -184px -320px; }
div.checker.disabled span.checked, div.checker.disabled.active span.checked { background-position: -207px -320px; }

/* Radio */
div.radio { position: relative; }
div.radio, div.radio span, div.radio input { width: 23px; height: 23px; }
div.radio span { display: -moz-inline-box; display: inline-block; *display: inline; zoom: 1; text-align: center; background-position: 0 -343px; }
div.radio span.checked { background-position: -92px -343px; }
div.radio input { opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0; border: none; background: none; display: -moz-inline-box; display: inline-block; *display: inline; zoom: 1; text-align: center; }
div.radio.active span { background-position: -23px -18px -343px; }
div.radio.active span.checked { background-position: -115px -343px; }
div.radio.hover span, div.radio.focus span { background-position: -46px -36px -343px; }
div.radio.hover span.checked, div.radio.focus span.checked { background-position: -138px -343px; }
div.radio.hover.active span, div.radio.focus.active span { background-position: -69px -343px; }
div.radio.hover.active span.checked, div.radio.focus.active span.checked { background-position: -161px -343px; }
div.radio.disabled span, div.radio.disabled.active span { background-position: -184px -343px; }
div.radio.disabled span.checked, div.radio.disabled.active span.checked { background-position: -207px -343px; }

/* Uploader */
div.uploader { background-position: 0 -366px; height: 32px; width: 190px; cursor: pointer; position: relative; overflow: hidden; }
div.uploader span.action { background-position: right -494px; height: 32px; line-height: 32px; width: 90px; text-align: center; float: left; display: inline; overflow: hidden; cursor: pointer; }
div.uploader span.filename { text-overflow: ellipsis; display: block; overflow: hidden; white-space: nowrap; float: left; cursor: default; height: 24px; margin: 4px 0 4px 4px; line-height: 24px; width: 76px; padding: 0 10px; }
div.uploader input { opacity: 0; filter: alpha(opacity=0); -moz-opacity: 0; border: none; background: none; position: absolute; top: 0; right: 0; float: right; cursor: default; width: 100%; height: 100%; }
div.uploader.active span.action { background-position: right -558px; }
div.uploader.hover, div.uploader.focus { background-position: 0 -430px; }
div.uploader.hover span.action, div.uploader.focus span.action { background-position: right -526px; }
div.uploader.hover.active span.action, div.uploader.focus.active span.action { background-position: right -590px; }
div.uploader.disabled, div.uploader.disabled.active { background-position: 0 -398px; }
div.uploader.disabled span.action, div.uploader.disabled.active span.action { background-position: right -462px; }

/* Buttons */
div.button { background-position: 0 -750px; height: 32px; cursor: pointer; position: relative; /* Keep buttons barely visible so they can get focus */ }
div.button a, div.button button, div.button input { opacity: 0.01; filter: alpha(opacity=1); -moz-opacity: 0.01; display: block; top: 0; left: 0; right: 0; bottom: 0; position: absolute; }
div.button span { display: -moz-inline-box; display: inline-block; *display: inline; zoom: 1; line-height: 22px; text-align: center; background-position: right -622px; height: 22px; margin-left: 13px; padding: 5px 15px 5px 2px; }
div.button.active { background-position: 0 -782px; }
div.button.active span { background-position: right -654px; cursor: default; }
div.button.hover, div.button.focus { background-position: 0 -814px; }
div.button.hover span, div.button.focus span { background-position: right -686px; }
div.button.disabled, div.button.disabled.active { background-position: 0 -846px; }
div.button.disabled span, div.button.disabled.active span { background-position: right -718px; cursor: default; }

/* INPUT & TEXTAREA */

select.uniform-multiselect,
select.uniform-multiselect.hover,
select.uniform-multiselect.focus,
textarea.uniform.hover,
textarea.uniform.focus { }

/* Uploader */
div.button span { font-weight: bold; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
div.button.hover span, div.button.focus span { color: #555; }
div.button.disabled span, div.button.disabled.active span { color: #bbb; }

/* Select */
div.selector { font-weight: bold; color: #464545; font-size: 14px; }
div.selector span { color: #666; text-shadow: 0 1px 0 white; }
div.selector select { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 1em; border: solid 1px white; }
div.selector.disabled span, div.selector.disabled.active span { color: #746969; }

/* Checker */
div.checker { margin-right: 10px; }

/* Radio */
div.radio { margin-right: 2px; }

div.uploader span.action { text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px; background-color: #fff; font-weight: bold; color: #1c4257; }
div.uploader span.filename { color: #777; font-size: 11px; }
div.uploader.disabled span.action, div.uploader.disabled.active span.action { color: #aaa; }
div.uploader.disabled span.filename, div.uploader.disabled.active span.filename { border-color: #ddd; color: #aaa; }

.selectorYY .selector { width: 100% !important; }
.selectorYY span { width: 100% !important; padding-right: 0 !important; }
