
/* Form items */
div.form-item{vertical-align: top; padding:3px 0 3px 120px; position:relative;}
div.form-item>label{position:absolute; top:5px; left:0px;}
div.form-item.label-wrap>label{width:115px; white-space: normal;}
div.form-item.hide-label{padding-left:0px;}
div.form-item.hide-label>label{display:none;}
div.form-item input[type=text], div.form-item input[type=password], textarea, select{width:100%;}
div.form-item.hide-label.normal-padding
{
  padding-left: 120px;
}

div.form-item.error input,
div.form-item.error textarea,
div.form-item.error select,
div.form-item.error .dropzone,
.form-item.form-radio.error > .form-option-wrapper{border-color:red; color:red;}

div.form-item.error .dropzone,
.form-item.form-radio.error > .form-option-wrapper{border: 1px solid;}

div.form-item a.select-button{display:inline-block; margin:0 2px 2px 0; border-radius:3px; padding:3px 8px; background: #eee; border:1px solid #eee;}
div.form-item a.select-button:hover{background: #d9d9d9; border-color:#d3d3d3;}
div.form-item a.select-button.selected{background: #83adff; border-color: #557bd6;}

div.form-item.form-file input{display:none;}
div.form-item.form-file span.label{display:inline-block; padding-left:10px;}
div.form-item.form-file.error span.label{color:red;}

input, textarea, select{-webkit-user-select: auto;}

textarea
{
  min-height:50px;
  resize: vertical;
  white-space: pre-wrap !important;
}

.hide-no-results .no-results{display:none !important}
.hide-no-results-match .no-results span{display:none;}

.ui-datepicker{z-index:1020;}

.form-item input::-webkit-input-placeholder{padding-top:0px;}
.form-item input[disabled]{border-color: #dddddd !important; color: #888888 !important; cursor: not-allowed;}

.form-on-off-wrapper{display:block; position:relative; width:75px;}
.form-on-off-wrapper span{border:1px solid #3db93d; position:absolute; display: block; top:0; left:0; background:-webkit-linear-gradient(top, #AEEB9F 5%, #75DF67 100%); padding:4px 8px 3px 8px; cursor: pointer; border-radius:4px; z-index: 2; width:65px;}
.form-on-off-wrapper .second-option{left:auto; right:0; border-color:#c55757; background:-webkit-linear-gradient(top, #FDA5A5 5%, #F78585 100%); z-index: 1;}
.second-selected .form-on-off-wrapper .second-option{z-index: 3;}
.first-selected .form-on-off-wrapper .second-option{background:#c55757;}
.second-selected .form-on-off-wrapper .first-option{background:#3db93d;}

.form-on-off-wrapper .first-option:after, .form-on-off-wrapper .first-option:before{left: 100%; top: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none;}
.form-on-off-wrapper .first-option:after{border-color: rgba(134, 233, 134, 0); border-left-color: #86e986; border-width: 5px; margin-top: -5px;}
.form-on-off-wrapper .first-option:before{border-color: rgba(61, 185, 61, 0); border-left-color: #3db93d; border-width: 6px; margin-top: -6px;}

.form-on-off-wrapper .second-option:after, .form-on-off-wrapper .second-option:before{right: 100%; top: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none;}
.form-on-off-wrapper .second-option:after{border-color: rgba(255, 168, 168, 0); border-right-color: #ffa8a8; border-width: 5px; margin-top: -5px;}
.form-on-off-wrapper .second-option:before{border-color: rgba(197, 87, 87, 0); border-right-color: #c55757; border-width: 6px; margin-top: -6px;}

.text-color-only .form-on-off-wrapper .first-option{color: #004c00;}
.text-color-only .form-on-off-wrapper .second-option{color: #720000;}
.text-color-only .form-on-off-wrapper span{background:#fff !important; border-color:#fff; font-weight:bold;}
.text-color-only .form-on-off-wrapper span:before,
.text-color-only .form-on-off-wrapper span:after{display:none;}

.chosen-modal .modal-content-wrapper{overflow:visible;}
.chosen-modal .chzn-container, .chosen-modal .chzn-drop, .chosen-modal .chzn-drop input{width:100% !important;}

.chosen-filter-large .chzn-container .chzn-single{
    border: 0px solid white;
    background-color: transparent;
    box-shadow: none;
    background-image: none;
    overflow:visible;
}

.chosen-filter-large .chzn-container .chzn-single span{
    font-size: 22px;
    font-weight: bold;
    position: relative;
    top: 3px;
    color: #555;
}
.chosen-filter-large .chzn-container .chzn-drop{background:#eee;}

div .chzn-container .chzn-results .group-option {white-space: pre-wrap;} /* wraps long items on two lines */

/* @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);
  box-shadow        : 0 4px 5px rgba(0,0,0,.15);
  z-index: 2010;
}
.chzn-drop>button {
    display: block;
    margin-top: 4px;
    border-radius: 0 0 3px 3px;
    width: 100%;
}
.chzn-container .chzn-drop li{float:none;}
.error .chzn-container .chzn-drop {border-color:red;}
/* @end */

/* Mimic styles */
.form-item input[type=text], input.styled,
.form-item input[type=password],
.form-item input[type=date],
.form-item input[type=number],
.form-item textarea, textarea.styled,
.form-item select, select.styled{
    background-color: #ffffff;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #f6f6f6), color-stop(15%, #ffffff));
    border-radius        : 3px;
    border: 1px solid #aaaaaa;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 25px;
    line-height: 25px;
    padding: 0 0 0 8px;
    position: relative;
    color: #444444;
    text-decoration: none;
    -webkit-box-sizing: border-box;
}

.form-item.large input, .form-item.large select, input.large, select.large{height:30px; line-height:30px; padding:0 0 0 14px; border-width:2px;}

select.styled{
    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%);
    -webkit-background-clip: padding-box;
    box-shadow        : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
}
textarea.styled{height:50px;}

input.styled:focus,
.form-item input[type=text]:focus,
.form-item input[type=password]:focus,
.form-item input[type=date]:focus,
.form-item input[type=number]:focus,
.form-item textarea:focus,
.form-item select:focus,
textarea.styled:focus,
select.styled:focus{
    -webkit-box-shadow: 0 0 5px #5897fb;
    box-shadow        : 0 0 5px #5897fb;
    border: 1px solid #5897fb !important;
    outline:0;
}

.error .mimic-chzn-style, .mimic-chzn-style.error,
.error .chzn-container-single .chzn-single,
.error .chzn-container-multi .chzn-choices,
.chzn-container-single.error  .chzn-single{
    border: 1px solid #c91200 !important;
}

.std-form.width-500 .chzn-container{width:360px !important;}





/* @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: linear-gradient(#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: 25px;
  line-height: 24px;
  padding: 0 0 0 8px;
  color: #444444;
  text-decoration: none;
}
.chzn-container-single .chzn-default,
.chzn-container-single .chzn-default span {
  color: #999;
}
.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: 12px;
  font-size: 1px;
  background: url('images/chosen-sprite.png') -42px 1px no-repeat;
}
.chzn-container-single .chzn-single abbr:hover {
  background-position: -42px -10px;
}
.chzn-container-single.chzn-disabled .chzn-single abbr:hover {
  background-position: -42px -10px;
}
.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('images/chosen-sprite.png') no-repeat 0px 2px;
  display: block;
  width: 100%;
  height: 100%;
}
.chzn-container-single .chzn-search {
  padding: 3px 4px;
  position: relative;
  margin: 0;
  white-space: nowrap;
  z-index: 2010;
}
.chzn-container-single .chzn-search input {
  background: #fff url('images/chosen-sprite.png') no-repeat 100% -20px;
  background: url('images/chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url('images/chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('images/chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('images/chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('images/chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
  margin: 1px 0;
  padding: 4px 20px 4px 5px !important;
  outline: 0;
  border: 1px solid #aaa !important;
  font-family: sans-serif;
  font-size: 1em;
    width:100%;
}
.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: linear-gradient(#eeeeee 1%, #ffffff 15%);
  border: 1px solid #aaa;
  margin: 0;
  padding: 0;
  cursor: text;
  overflow: hidden;
  height: auto !important;
  height: 1%;
  position: relative;
    border-radius:5px;
}
.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;
  height: 15px;
  padding: 5px;
  margin: 1px 0;
  outline: 0;
  -webkit-box-shadow: none;
  -moz-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: linear-gradient(#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: 13px;
  padding: 3px 20px 3px 5px;
  margin: 3px 0 3px 5px;
  position: relative;
  cursor: default;
}
.chzn-container-multi .chzn-choices .search-choice.search-choice-disabled {
  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%);
  color: #666;
  border: 1px solid #cccccc;
  padding-right: 5px;
}
.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: 4px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  background: url('images/chosen-sprite.png') -42px 1px no-repeat;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
  background-position: -42px -10px;
}
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
  background-position: -42px -10px;
}
/* @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;
  -webkit-overflow-scrolling: touch;
}
.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;
    white-space: pre;
}
.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: linear-gradient(#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('images/chosen-sprite.png') no-repeat -4px -3px;
}
.chzn-container .chzn-results-scroll-up span {
  background: url('images/chosen-sprite.png') no-repeat -22px -3px;
}
/* @end */

/* @group Active  */
.chzn-container-active .chzn-single {
  -webkit-box-shadow: 0 0 5px #5897fb;
  -moz-box-shadow   : 0 0 5px #5897fb;
  box-shadow        : 0 0 5px #5897fb;
  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;
  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: linear-gradient(#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 2px;
}
.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);
  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; }
.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('images/chosen-sprite.png') no-repeat -30px -20px;
  background: url('images/chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url('images/chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);  
  background: url('images/chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('images/chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('images/chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
  padding: 4px 5px 4px 20px;
  direction: rtl;
}
.chzn-container-single.chzn-rtl .chzn-single div b {
  background-position: 6px 2px;
}
.chzn-container-single.chzn-rtl .chzn-single-with-drop div b {
  background-position: -12px 2px;
}
/* @end */

/* @group Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)  {
  .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span {
      background-image: url('images/chosen-sprite@2x.png') !important;
      background-repeat: no-repeat !important;
      background-size: 52px 37px !important;
  }
}
/* @end */

/* integration */
.chzn-results .client-group{font-weight:bold;}
.chzn-results .lvl1{border-left:5px solid #e3e3e3; margin-left:5px !important;}
.chzn-results .lvl2{border-left:10px solid #e9e9e9; margin-left:5px !important;}
.chzn-results .lvl3{border-left:15px solid #eee; margin-left:5px !important;}
.chzn-results .lvl4{border-left:20px solid #f6f6f6; margin-left:5px !important;}
.chzn-results .lvl5{border-left:25px solid #fafafa; margin-left:5px !important;}
.chzn-results .lvl6{border-left:30px solid #fff; margin-left:5px !important;}



.chzn-container-single.error .chzn-single, input[type=text].mimic-chzn-style.error {border-color:red;}

/* Select2 */
.form-item.select2
{
  display: none;
}
.form-item .select2-container
{
  min-height: 28px;
  position: relative;
  width: 100%;
  outline: none;
  z-index: 1;
  line-height: 99%;
}
.form-item .select2-choice{
  background-color: transparent;
  background-image: none !important;
  border-width: 0 0 0 0;
  box-shadow: none !important;
}
.form-item .select2-choice > div
{
  display:none;
}
.form-item input.select2-offscreen, .form-item select.select2-offscreen
{
  display: none;
}
.form-item .select2-container .select2-choice div b
{
  background: url(../icons/bullet_arrow_down.png) no-repeat 0 4px;
}
.form-item .select2-container-disabled > .select2-choice{cursor: not-allowed;}
.form-item .select2-container-disabled > .select2-choice > span{color: #888888 !important; cursor: not-allowed;}
.form-item.error .select2-choice
{
  border: solid 1px red;
}







/* Styled checkbox */
input[type=checkbox].styled-checkbox:before{
  content:"";
  display:block;
  width:14px;
  height:14px;
  background-color:white;
  border:1px solid #aaa;
  position:relative;
  top:-2px;
  box-shadow:-5px -5px 16px rgba(0, 0, 0, 0.08) inset;
  cursor:pointer;
}
input[type=checkbox].styled-checkbox:hover:before{
  border-color:#777;
}


input[type=checkbox].styled-checkbox:checked:before{
  background-color:#aaa;
  border-color:#aaa;
}
input[type=checkbox].styled-checkbox:checked:after{
  content:"\f00c";
  display:block;
  width:14px;
  height:14px;
  color:white;
  position:relative;
  top:-15px;
  left:2px;

  font: normal normal normal 12px FontAwesome;
  font-weight:100;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  cursor:pointer;
}

/* Disabled */
input[type=checkbox].styled-checkbox:disabled:before{
  border-color:#ddd;
  cursor:default;
}
input[type=checkbox].styled-checkbox:disabled:checked:before{
  border-color:#ccc;
  background-color:#ccc;
  cursor:default;
}


/* Green */
input[type=checkbox].styled-checkbox.green:before{border:1px solid #95afa6;}
input[type=checkbox].styled-checkbox.green:hover:before{border-color:#1b7e5a;}

input[type=checkbox].styled-checkbox.green:checked:before{background-color:#1b7e5a; border-color:#1b7e5a;}

input[type=checkbox].styled-checkbox.green:disabled:before{border-color:#bfcec8;}
input[type=checkbox].styled-checkbox.green:disabled:checked:before{border-color:#a1c5b8;background-color:#a1c5b8;}

/* Blue */
input[type=checkbox].styled-checkbox.blue:before{border:1px solid #95a0b1;}
input[type=checkbox].styled-checkbox.blue:hover:before{border-color:#4f7aa0;}

input[type=checkbox].styled-checkbox.blue:checked:before{background-color:#2489c5; border-color:#2489c5;}

input[type=checkbox].styled-checkbox.blue:disabled:before{border-color:#bfcace;}
input[type=checkbox].styled-checkbox.blue:disabled:checked:before{border-color:#9dbed2;background-color:#9dbed2;}

/* Red */
input[type=checkbox].styled-checkbox.red:before{border:1px solid #e2ae9d;}
input[type=checkbox].styled-checkbox.red:hover:before{border-color:#e47a57;}

input[type=checkbox].styled-checkbox.red:checked:before{background-color:#d54e21; border-color:#d54e21;}

input[type=checkbox].styled-checkbox.red:disabled:before{border-color:#ecd2c9;}
input[type=checkbox].styled-checkbox.red:disabled:checked:before{border-color:#f1b39f;background-color:#f1b39f;}
 