@CHARSET "UTF-8";

#preface-wrapper {
  position:relative;
}

#preface-wrapper .block-wrapper {
	float: right;
}
#preface-wrapper #global-search.block-wrapper {
  position: absolute;
  top: 4px;
  right: 325px;
  margin-top: 1px;
  margin-right: 10px;
  
}
#ie-global-search-label { 
  display: none;
  float: left;
  display: block;
  color: white;
  margin: 4px 10px 0 0;
}
#preface-wrapper #global-search.block-wrapper input, #preface-wrapper #global-search.block-wrapper .select-wrapper {
	display: block;
  float: left;
  border: 1px solid #AAA !important;
  height: 26px;
  background-color: #fff;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
  background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
  background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
  background-image: -o-linear-gradient(bottom, #eeeeee 0%, #ffffff 50%);
  background-image: -ms-linear-gradient(top, #eeeeee 0%, #ffffff 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#ffffff', GradientType = 0);
  background-image: linear-gradient(top, #eeeeee 0%, #ffffff 50%);
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #aaa;
  white-space: no-wrap;
}

#preface-wrapper #global-search.block-wrapper div.select2-container a.select2-choice {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
  text-decoration: none;
  color: #AAA;
}

#preface-wrapper #global-search.block-wrapper .select-wrapper {
  overflow:hidden; /* this hides the select's drop button */
  padding: 0 0 0 5px; 
  /* this is the new drop button, in image form */
  width: 105px;
  height: 25px;
   -webkit-border-radius: 0 4px 4px 0;
   -moz-border-radius: 0 4px 4px 0;
   border-radius: 0 4px 4px 0;
  position: relative;
}
#preface-wrapper #global-search.block-wrapper select {
	 color: #AAA;
	 margin-left: -3px;
   width:115% /* this percentage effectively extends the drop down button out of view */; 
   background-color:transparent; /* this hides the select's background making any styling visible from the div */; 
   background-image:none; 
   -webkit-appearance: none /* this is required for Webkit browsers */; 
   border:none; 
   box-shadow:none; 
   padding: 6px 0.5em 0 0.5em; /* padding should be added to the select, not the div */
   position: relative;
   z-index: 999;
}
#preface-wrapper #global-search.block-wrapper input {
		width: 190px;
    padding-left: 10px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

#preface-wrapper #global-search.block-wrapper .select-wrapper div.selector {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background: #ccc;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
    background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
    background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
    background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
    background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#cccccc', endColorstr = '#eeeeee', GradientType = 0);
    background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%);
    border-left: 1px solid #aaa;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    height: 100%;
    width: 18px;
}

#preface-wrapper #global-search.block-wrapper .select-wrapper div.selector .selector-image {
  background-image: url('/sites/all/libraries/select2/select2.png');
  background-repeat: no-repeat;
  background-position: 0 1px;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 100%;
}