
body, p, div, span, a, table {
    font-family: Arial,Helvetica,sans-serif;
}

body, body.html-editor {
    
    color: #707368;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
}

#content {
    
}

h1 {
    background: -moz-linear-gradient(#DDDDDD, #CACACA) repeat scroll 0 0 transparent;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DDDDDD), to(#CACACA));
    background-image: -webkit-linear-gradient(#DDDDDD, #CACACA); 
    background-image: -o-linear-gradient(#DDDDDD, #CACACA);
    filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#DDDDDD00', EndColorStr='#CACACA00');
    
    -moz-border-radius: 8px 8px 8px 8px;
    -webkit-border-radius: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
    
    -moz-box-shadow: 0 1px 1px #AAAAAA;
    -webkit-box-shadow: 0 1px 1px #AAAAAA;
    box-shadow: 0 1px 1px #AAAAAA;
    filter: progid:DXImageTransform.Microsoft.dropShadow(color=#AAAAAA, offX=0, offY=2, positive=true);
    
    color: #C5007A;
    font-family: Arial,helvetiva,sans-serif;
    font-size: 26px;
    font-weight: normal;
    line-height: normal;
    margin: 10px 0;
    padding: 8px 8px 8px 12px;
    
    text-shadow: 0 1px 0 #999999;
}

h2 {
    background: url("img/line.png") repeat-x scroll left bottom transparent;
    border-bottom: none;
    color: #70368F;
    font-size: 1.4em;
    font-weight: normal;
    height: 26px;
    line-height: 26px;
    padding: 0 8px;
}

h2 span {
     font-size: 1em;
}

a {
    color: #C5007A;
}

button {
    background: -moz-linear-gradient(#8A5FA3, #662E87) repeat scroll 0 0 #662E87;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#8A5FA3), to(#662E87));
    background-image: -webkit-linear-gradient(#8A5FA3, #662E87); 
    background-image: -o-linear-gradient(#8A5FA3, #662E87);
    
    border-color: #662E87;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
    
    -moz-box-shadow: 0 -1px 0 rgba(99, 99, 99, 0.5);
    -webkit-box-shadow: 0 -1px 0 rgba(99, 99, 99, 0.5);
    box-shadow: 0 -1px 0 rgba(99, 99, 99, 0.5);
    
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    line-height: 16px;
    padding: 4px 14px;
    text-shadow: 0 -1px 1px #4A2162;
}

button:hover {
    background: -moz-linear-gradient(#662E87, #8A5FA3) repeat scroll 0 0 transparent;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#662E87), to(#8A5FA3));
    background-image: -webkit-linear-gradient(#662E87, #8A5FA3); 
    background-image: -o-linear-gradient(#662E87, #8A5FA3);
}

button:active {
    margin-top: 1px;
    margin-bottom: -1px;
    box-shadow: 0px -1px 0 rgba(99, 99, 99, 0.7);
}

.action_add {
    background: url("img/icon_add.png") no-repeat scroll 0 1px transparent;
    border: medium none;
    box-shadow: none;
    color: #C41B79;
    font-size: 10px;
    font-weight: normal;
    padding: 0 0 0 12px;
    text-shadow: none;
}

.action_add:hover {
    background: url("img/icon_add.png") no-repeat scroll 0 1px transparent;
    text-decoration: underline;
}

input#search, input#drs_search, input#st_search, .searchTable input[type=text], #idkood1 {
    background: url("img/button-form-elements.png") no-repeat scroll 0 0 transparent;
    border: 0 none !important;
    color: #666666;
    font: 100%/1 Arial,Helvetica,sans-serif;
    height: 24px;
    margin: 0 10px 0 0;
    outline: medium none;
    overflow: visible;
    padding: 5px 0 5px 6px !important;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: 179px;
}

#idkood1 {
    border-radius: 4px 4px 4px 4px;
    border-right: 1px solid #C9C7CB !important;
}

input#search, input#drs_search, input#st_search {
    border-right: medium none;
    float: left;
    margin: 2px 0 2px 2px;
    width: 400px;
    height: 24px;
}

input.seach_delete_btn {
    border: medium none;
    float: left;
    height: 24px;
    margin: 2px 0 0 0;
    padding: 0;
}

.searchTable {
    margin: 14px 4px 4px -3px;
}

div.input_row ul li {
    color: #B60068;
    float: left;
    height: 15px;
    padding: 6px;
}

div.input_row ul li.alternate {
    background: #D80067;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    text-shadow: 0 1px 0 #8B0042;
}

div.button_row {
    clear: both;
    margin-bottom: 22px;
    margin-top: 14px;
    padding: 3px 2px 6px;
}

div.button_row button {
    min-width: 200px;
}

div#header {
    background: url("img/bg_sitebar.png") repeat-x scroll 0 0 white;
    height: 40px;
}

div.input_row {
    margin-top: 8px;
    padding-left: 8px;
}

.layout_table {
    border-collapse: separate;
    border-spacing: 8pt;
    width: 100%;
}

.form_table {
    background: transparent;
}

#edit_form .form_table, #private_applicant, #corporate_applicant, .form_panel, .divider_bar {
    background: none repeat scroll 0 0 #D7D7D7;
    
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    
    /*
    -moz-box-shadow: 0 0 3px #888888 inset;
    -webkit-box-shadow: 0 0 3px #888888 inset;
    box-shadow: 0 0 3px #888888 inset;
    */
        
    margin-top: 18px;
    width: 100%;
}

.divider_bar {
    -moz-box-shadow: 0 1px 1px #AAAAAA;
    -webkit-box-shadow: 0 1px 1px #AAAAAA;
    box-shadow: 0 1px 1px #AAAAAA;
    
    width: auto;
}

.form_panel {
    margin-top: 0px;
}

#private_applicant, #corporate_applicant {
    margin-top: 0px;
    -moz-border-radius: 0 4px 4px 4px;
    -webkit-border-radius: 0 4px 4px 4px;
    border-radius: 0 4px 4px 4px;
}

#private_applicant .form_table, #corporate_applicant .form_table {
    background: transparent;
}

fieldset {
    
    _border: 1px solid #AAAAAA;
    
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    
    -moz-box-shadow: 0 0 3px #888888 inset;
    -webkit-box-shadow: 0 0 3px #888888 inset;
    box-shadow: 0 0 3px #888888 inset;
    
    padding: 6px;
}

fieldset > legend {
    background: #D7D7D7;
    color: #444444;
    text-shadow: 0 1px 0 #EEEEEE;
}

.tab_table {

}

.tab_table th {
    background: transparent;
    
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    
    border: none;
    padding: 4px;
    padding-left: 16px;
    padding-right: 16px;
    width: auto;
    text-align: center;
    
    line-height: 26px;
    
}

.tab_table th.active {
    background: -moz-linear-gradient(#CACACA, #B8B8B8) repeat scroll 0 0 transparent;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CACACA), to(#B8B8B8));
    background-image: -webkit-linear-gradient(#CACACA, #B8B8B8); 
    background-image: -o-linear-gradient(#CACACA, #B8B8B8);
    
    width: 85px;
    padding: 4px;
    
    border-bottom: 1px solid #999999;
}


.tab_table th a {
    color: #444444;
    text-shadow: 0 1px 0 #EEEEEE;
    text-decoration: underline;
}

.tab_table th.active a {
    text-decoration: none;
}

.data_table th {
    background: url("./img/th_bg.png") repeat-x scroll left top transparent;
    border-bottom: 1px solid #AAAAAA;
    color: #444444;
    font-weight: normal;
    height: 24px;
    text-shadow: 0 1px 0 #eee;
}

.data_table tr td {
    border-bottom: 1px dotted #AAAAAA;
    color: #444444;
}

.form_table th {
    background: -moz-linear-gradient(#CACACA, #B8B8B8) repeat scroll 0 0 transparent;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#CACACA), to(#B8B8B8));
    background-image: -webkit-linear-gradient(#CACACA, #B8B8B8); 
    background-image: -o-linear-gradient(#CACACA, #B8B8B8);
    
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    
    color: #444444;
    text-shadow: 0 1px 0 #EEEEEE;
    
    line-height: 26px;
    
    border-bottom: 1px solid #999999;
}

.form_table label {
    color: #444444;
    display: block;
    padding-bottom: 4px;
    text-shadow: 0 1px 0 #eee;
}

.form_table input, .form_table select {
    border: 1px solid #AFA6B4;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 1px #AFA6B4 inset;
    font-family: Verdana,Helvetica,sans-serif;
    font-size: 11px;
    height: auto;
    line-height: 20px;
    padding: 4px;
}

.form_table select {
    padding: 3px;
}

.form_table textarea {
    border: 1px solid #AFA6B4;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 1px #AFA6B4 inset;
    padding: 4px;
    width: 100%;
}

#ok_message_sms {
    float: left;
    clear: both;
}

div#session_info {
    color: #FFFFFF;
    float: right;
    font-size: 13px;
    margin-right: 14px;
    margin-top: 12px;
    text-align: right;
    white-space: nowrap;
}

div#session_info a {
    color: #FED80A;
    font-size: 13px;
}

.grid_header {
    border-bottom: 2px solid #0E73C2;
    float: left;
    width: 100%;
}

.table_pager {
    background: none repeat scroll 0 0 #0E73C2;
    float: right;
    height: 22px;
    margin-right: 4px;
 border-radius: 3px 3px 0 0;
}

.table_pager .of_pages {
    color: #FFFFFF;
    float: left;
    font-weight: bold;
    padding: 6px 5px 5px 1px;
}

.table_pager .pager_bg_rgt, .table_pager .pager_bg_lft {
    display: none;
}

.table_pager input {
    background: #fff;
    border: medium none;
    border-radius: 5px 5px 5px 5px;
    float: left;
    font-size: 11px;
    height: 16px;
    line-height: 14px;
    margin-left: 4px;
    margin-right: 3px;
    margin-top: 4px;
    padding: 0;
    text-align: center;
    width: 30px;
}

.grid table thead tr th {
    background: url("./img/th_bg.png") repeat-x scroll left top transparent;
    border-left: 1px solid #AAAAAA;
    height: 24px;
    padding: 4px 3px 4px 8px;
    white-space: nowrap;
    color: #444444;
    text-shadow: 0 1px 0 #eee;
    
}

.grid table thead tr th a {
    color: #444444;
    text-shadow: 0 1px 0 #eee;
}

.grid table tbody tr td {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    color: #0082BD;
    height: 36px;
    padding: 6px 3px 6px 8px;
}

.grid table tbody tr.alternate td {
    background: none;
}

#login_tabs {
    height: 29px;
    margin: 22px 0 18px 10px;
}

#login_tabs li {
    background: none repeat scroll 0 0 transparent;
    display: inline;
    float: left;
    margin: 0 0 0 0px;
    padding: 0 5px 0 0;
}

#login_tabs a:link, #login_tabs a:visited {
    color: #70368F;
    text-decoration: none;
}

#login_tabs li a:hover, #login_tabs li a:focus {
    background: url("./img/bg_menu.png") repeat scroll 100% -59px transparent;
    color: #FFFFFF;
    padding: 0;
}

#login_tabs li a:hover span, #login_tabs li a:focus span {
    background: url("./img/bg_menu.png") repeat scroll 0 -31px transparent;
    color: #FFFFFF;
    margin-right: 10px;
    padding: 0 0 0 10px;
}

#login_tabs a, #login_tabs a span {
    cursor: pointer;
    display: block;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    margin-right: 10px;
    padding: 0 0 0 5px;
}

#login_tabs li.active a {
    background: url("./img/bg_menu.png") repeat scroll 100% -3px transparent;
    color: #70368F;
    padding: 0;
}

#login_tabs li.active a span {
    background: url("./img/bg_menu.png") repeat scroll 0 25px transparent;
    color: #70368F;
    margin-right: 10px;
    padding: 0 0 0 10px;
}



.login {
    margin: 46px auto 0;
    width: 360px;
}

.login h1 {
    font-size: 19px;
    margin-bottom: 0;
}

.login label {
    color: #70368F;
    font-size: 12px;
    line-height: 23px;
    margin-right: 10px;
}

.login p {
    color: #70368F;
    font-size: 12px;
}

#login_logo h1 {
    font-size: 32px;
    background: transparent;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
}

.center {
    display: table;
    margin: 0 auto;
    overflow: visible;
}

hr.clear{
    display:block;
    clear:both;
    visibility:hidden;
    height:0;
    border-width:0;
    margin:0;
    padding:0;
}


.login hr.clear{
    margin-top: 16px;
}

#mid_div {
    margin: 22px;
}

.form_table .is_nok th {
    background: #E1170D;
    color: #fff;
    text-shadow: none;
}

.form_table .is_ok th {
    background: #9EBE1A;
}

.form_table .is_waiting th {
    background: #FCE811;
}

.tab_table th#tab_step_ok.active {
    background: #9EBE1A;
    border-bottom-color: #9EBE1A;
}

.tab_table th#tab_step_nok.active {
    background: #E1170D;
    border-bottom-color: #E1170D;
}

.tab_table th#tab_step_nok.active a {
    color: #fff;
    text-shadow: none;
}

.status_bar {
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    font-size: 1.4em;
}

div#center_pane {
    left: 0px;
    margin: 40px 0 0;
    padding-bottom: 60px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    right: 0;
    width: auto;
}

/*
 Main menu
*/

div#main_menu {
    float: left;
    height: 36px;
    margin-top: 4px;
    padding-bottom: 0;
    width: auto;
    margin-left: 40px;
}

div#main_menu ul li {
    display: inline;
    float: left;
    line-height: 18px;
    color: #fff;
    font-size: 16px;
    background: transparent;
    padding-left: 5px;
    padding-right: 5px;
}

div#main_menu ul li.active {
    background: #fff;
    line-height: 22px;
    
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

div#main_menu ul li a  {
    background-color: transparent;
    background-image: url("./img/page_tabs-sprite.png");
    background-position: -1000px -1000px;
    background-repeat: no-repeat;
    border: 0 none;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    height: 36px;
    margin: 0 5px 0 0;
    padding: 0;
}

div#main_menu ul li a.hover {
    background-color: transparent;
    background-position: 0 0;
    border: 0 none;
    color: #FFFFFF;
    font-weight: normal;
    text-decoration: none;
}

div#main_menu ul li.active a.hover {
    color: #652D86;
    text-decoration: underline;
}

div#main_menu ul li.active a.hover span {
    color: #652D86;
}

div#main_menu ul li a span {
    background-color: transparent;
    background-image: url("./img/page_tabs-sprite.png");
    background-position: -1000px -1000px;
    background-repeat: no-repeat;
    display: block;
    font-weight: normal;
    height: 20px;
    margin: 0 -5px 0 0;
    padding: 8px;
    color: #fff;
    font-size: 14px;
}

div#main_menu ul li.active a span {
    background: #fff;
    color: #652D86;
    font-size: 16px;
}

div#main_menu ul li a.hover span{
    background-position: 100% -44px;
    color: #fff;
}

div#main_menu ul ul {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-top: none;
    display: none;
    padding-bottom: 10px;
    padding-top: 8px;
    position: absolute;
    top: 44px;
    z-index: 99999;
    font-size: 13px;
}

div#main_menu ul ul li  {
    display: none;
    float: none;
    margin: 0;
    font-size: 13px;
    padding: 5px 10px 5px 0;
}

div#main_menu ul ul li a {
    height: auto;
    font-size: 13px;
}

div#main_menu ul ul li a:hover {
    text-decoration: underline;
    font-size: 13px;
}



div#main_menu ul ul li a span, div#main_menu ul ul li a.hover span, div#main_menu ul ul li.active a span {
    color: #652D86;
    font-size: 13px;
    height: auto;
    line-height: 13px;
    padding: 0px;
    background: transparent;
}

div#main_menu ul ul li a:hover span, div#main_menu ul ul li.active a:hover span {
    color: #652D86;
    background: transparent;
    font-size: 13px;
}

.form_table .delfile {
	width: auto !important;
	padding: 6px;
	padding-bottom: 0;
}

.form_table .delfile input {
	width: auto !important;
	margin-right: 6px;
}

.form_table .file_link {
	display: block;
	padding: 6px;
	padding-bottom: 0;
}

#rr_details, #ari_details {
    background: #E2E2E2;
    border: 1px solid #AAA;
    padding: 20px;
    box-shadow: 0px 0px 9px -3px #333 inset;
    text-shadow: 0px 1px 0px white;
}

/*
 VEHICLE CHECK
*/

.vehicle_info {
    border-top: 1px dotted #999;
    margin-top: 8px;
}

.vehicle_info .hl {
    margin-top: 8px;
    margin-bottom: 8px;
}

.vehicle_info table {
    width: 100%;
}

/*
 PULL IMAGES
 */
#pull_images {
    float: right;
    background: transparent;
    text-shadow: none;
    margin-right: 10px;
}

/*
 INDENTED LISTS
*/

.indented_lists ul {
    margin-left: 2px;
    border-left: 1px dotted #AAA;
    padding-left: 11px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
}

/* 
 IMAGES TABLE
*/

.image_row td {
	padding: 4px;
}

.image_row a {
	background: transparent;
	float: left;
	width: 50%;
	padding: 5px;
	box-sizing: border-box;
}

.image_row a img {
	background: transparent;
	width: 100%;
}


/*
 CHOSEN
*/
/* @group Base */
.chzn-container {
  font-size: 13px;
  position: relative;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.chzn-container .chzn-drop {
  background: #fff;
  border: 1px solid #aaa;
  border-top: 0;
  position: absolute;
  top: 29px;
  left: 0;
  -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
  -moz-box-shadow   : 0 4px 5px rgba(0,0,0,.15);
  -o-box-shadow     : 0 4px 5px rgba(0,0,0,.15);
  box-shadow        : 0 4px 5px rgba(0,0,0,.15);
  z-index: 999;
}
/* @end */

/* @group Single Chosen */
.chzn-container-single .chzn-single {
  background-color: #ffffff;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );   
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
  background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: -ms-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
  background-image: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 
  -webkit-border-radius: 5px;
  -moz-border-radius   : 5px;
  border-radius        : 5px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  border: 1px solid #aaaaaa;
  -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
  -moz-box-shadow   : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
  box-shadow        : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 23px;
  line-height: 24px;
  padding: 0 0 0 8px;
  color: #444444;
  text-decoration: none;
}
.chzn-container-single .chzn-single span {
  margin-right: 26px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.chzn-container-single .chzn-single abbr {
  display: block;
  position: absolute;
  right: 26px;
  top: 6px;
  width: 12px;
  height: 13px;
  font-size: 1px;
  background: url("img/chosen-sprite.png") right top no-repeat;
}
.chzn-container-single .chzn-single abbr:hover {
  background-position: right -11px;
}
.chzn-container-single .chzn-single div {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 18px;
}
.chzn-container-single .chzn-single div b {
  background: url("img/chosen-sprite.png") no-repeat 0 0;
  display: block;
  width: 100%;
  height: 100%;
}
.chzn-container-single .chzn-search {
  padding: 3px 4px;
  position: relative;
  margin: 0;
  white-space: nowrap;
  z-index: 1010;
}
.chzn-container-single .chzn-search input {
  background: #fff url("img/chosen-sprite.png") no-repeat 100% -22px;
  background: url("img/chosen-sprite.png") no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url("img/chosen-sprite.png") no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  outline: 0;
  border: 1px solid #aaa;
  font-family: sans-serif;
  font-size: 1em;
}
.chzn-container-single .chzn-drop {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius   : 0 0 4px 4px;
  border-radius        : 0 0 4px 4px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
}
/* @end */

.chzn-container-single-nosearch .chzn-search input {
  position: absolute;
  left: -9000px;
}

/* @group Multi Chosen */
.chzn-container-multi .chzn-choices {
  background-color: #fff;
  /*
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  border: 1px solid #aaa;
  */
  
      border: 1px solid #AFA6B4;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 1px #AFA6B4 inset;
  
  margin: 0;
  padding: 0;
  cursor: text;
  overflow: hidden;
  height: auto !important;
  height: 1%;
  position: relative;
}
.chzn-container-multi .chzn-choices li {
  float: left;
  list-style: none;
}
.chzn-container-multi .chzn-choices .search-field {
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
.chzn-container-multi .chzn-choices .search-field input {
  color: #666;
  background: transparent !important;
  border: 0 !important;
  font-family: sans-serif;
  font-size: 100%;
  sheight: 15px;
  spadding: 5px;
  margin: 1px 0;
  outline: 0;
  width: 100% !important;
  -webkit-box-shadow: none;
  -moz-box-shadow   : none;
  -o-box-shadow     : none;
  box-shadow        : none;
}
.chzn-container-multi .chzn-choices .search-field .default {
  color: #999;
}
.chzn-container-multi .chzn-choices .search-choice {
  -webkit-border-radius: 3px;
  -moz-border-radius   : 3px;
  border-radius        : 3px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  background-color: #e4e4e4;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 ); 
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 
  -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  -moz-box-shadow   : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  box-shadow        : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  color: #333;
  border: 1px solid #aaaaaa;
  line-height: 16px;
  padding: 3px 20px 3px 5px;
  margin: 3px 0 3px 5px;
  position: relative;
  cursor: default;
}
.chzn-container-multi .chzn-choices .search-choice-focus {
  background: #d4d4d4;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
  display: block;
  position: absolute;
  right: 3px;
  top: 5px;
  width: 12px;
  height: 13px;
  font-size: 1px;
  background: url("img/chosen-sprite.png") right top no-repeat;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
  background-position: right -11px;
}
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
  background-position: right -11px;
}
/* @end */

/* @group Results */
.chzn-container .chzn-results {
  margin: 0 4px 4px 0;
  max-height: 240px;
  padding: 0 0 0 4px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}
.chzn-container-multi .chzn-results {
  margin: -1px 0 0;
  padding: 0;
}
.chzn-container .chzn-results li {
  display: none;
  line-height: 15px;
  padding: 5px 6px;
  margin: 0;
  list-style: none;
}
.chzn-container .chzn-results .active-result {
  cursor: pointer;
  display: list-item;
}
.chzn-container .chzn-results .highlighted {
  background-color: #3875d7;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 );  
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
  background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%);
  color: #fff;
}
.chzn-container .chzn-results li em {
  background: #feffde;
  font-style: normal;
}
.chzn-container .chzn-results .highlighted em {
  background: transparent;
}
.chzn-container .chzn-results .no-results {
  background: #f4f4f4;
  display: list-item;
}
.chzn-container .chzn-results .group-result {
  cursor: default;
  color: #999;
  font-weight: bold;
}
.chzn-container .chzn-results .group-option {
  padding-left: 15px;
}
.chzn-container-multi .chzn-drop .result-selected {
  display: none;
}
.chzn-container .chzn-results-scroll {
  background: white;
  margin: 0 4px;
  position: absolute;
  text-align: center;
  width: 321px; /* This should by dynamic with js */
  z-index: 1;
}
.chzn-container .chzn-results-scroll span {
  display: inline-block;
  height: 17px;
  text-indent: -5000px;
  width: 9px;
}
.chzn-container .chzn-results-scroll-down {
  bottom: 0;
}
.chzn-container .chzn-results-scroll-down span {
  background: url("img/chosen-sprite.png") no-repeat -4px -3px;
}
.chzn-container .chzn-results-scroll-up span {
  background: url("img/chosen-sprite.png") no-repeat -22px -3px;
}
/* @end */

/* @group Active  */
.chzn-container-active .chzn-single {
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
  -o-box-shadow     : 0 0 5px rgba(0,0,0,.3);
  box-shadow        : 0 0 5px rgba(0,0,0,.3);
  border: 1px solid #5897fb;
}
.chzn-container-active .chzn-single-with-drop {
  border: 1px solid #aaa;
  -webkit-box-shadow: 0 1px 0 #fff inset;
  -moz-box-shadow   : 0 1px 0 #fff inset;
  -o-box-shadow     : 0 1px 0 #fff inset;
  box-shadow        : 0 1px 0 #fff inset;
  background-color: #eee;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
  background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: -ms-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  background-image: linear-gradient(top, #eeeeee 20%, #ffffff 80%);
  -webkit-border-bottom-left-radius : 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomleft : 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-left-radius : 0;
  border-bottom-right-radius: 0;
}
.chzn-container-active .chzn-single-with-drop div {
  background: transparent;
  border-left: none;
}
.chzn-container-active .chzn-single-with-drop div b {
  background-position: -18px 1px;
}
.chzn-container-active .chzn-choices {
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
  -o-box-shadow     : 0 0 5px rgba(0,0,0,.3);
  box-shadow        : 0 0 5px rgba(0,0,0,.3);
  border: 1px solid #5897fb;
}
.chzn-container-active .chzn-choices .search-field input {
  color: #111 !important;
}
/* @end */

/* @group Disabled Support */
.chzn-disabled {
  cursor: default;
  opacity:0.5 !important;
}
.chzn-disabled .chzn-single {
  cursor: default;
}
.chzn-disabled .chzn-choices .search-choice .search-choice-close {
  cursor: default;
}

/* @group Right to Left */
.chzn-rtl { text-align: right; }
.chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }

.chzn-rtl .chzn-single div { left: 3px; right: auto; }
.chzn-rtl .chzn-single abbr {
  left: 26px;
  right: auto;
}
.chzn-rtl .chzn-choices .search-field input { direction: rtl; }
.chzn-rtl .chzn-choices li { float: right; }
.chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; background-position: right top;}
.chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
.chzn-rtl .chzn-search input {
  background: #fff url("img/chosen-sprite.png") no-repeat -38px -22px;
  background: url("img/chosen-sprite.png") no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url("img/chosen-sprite.png") no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);  
  background: url("img/chosen-sprite.png") no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url("img/chosen-sprite.png") no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  padding: 4px 5px 4px 20px;
  direction: rtl;
}
/* @end */

