.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.offlajnlistcontainer {
  float: left;
}
.offlajnlistelementcontainer {
  background-color: #FEF3CB;
  border-left: 1px solid #b3b3b3;
  border-right: 1px solid #b3b3b3;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.offlajnlist {
  height: 20px;
  background-color: #f4f4f4;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
  color: #575656;
  font-size: 10px;
  cursor: pointer;
  z-index: 6;
  position:relative;
  overflow: hidden;
}

.openedlist .offlajnlist {
  background-color: #fef3cb;
  z-index: 8;
}

.offlajnlist .offlajnlistcurrent {
  float: left;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.7);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: 'PT Sans';
  font-size: 12px;
  line-height: 18px;
  padding: 0 5px;
}

.offlajnlist .offlajnlistbtn {
  width: 20px;
  height: 20px;
  float: right;
  background-color: #ececec;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-left: 1px solid #b3b3b3;  
  /* Safari 4-5, Chrome 1-9 */ 
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#dfdfdf));
   /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #ffffff, #dfdfdf);
   /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #ffffff, #dfdfdf);
   /* IE 10 */ 
  background: -ms-linear-gradient(top, #ffffff, #dfdfdf);
   /* Opera 11.10+ */ 
  background: -o-linear-gradient(top, #ffffff, #dfdfdf);
}

.offlajnlistbtn span {
  width: 20px;
  height: 20px;
  background-image: url("arrows.png");
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  margin: 0;
}

.offlajnlistelements {
  position: absolute;
  top: 0;
  display: none;
  margin-top: -3px;
  z-index: 5;
}

.offlajnlistelements.openedlist {
  z-index: 7;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  color: #575656
  font-size: 10px;
  padding-top: 3px;
  border: 1px solid #b3b3b3;
  border-top: none;
  background-color: #fef3cb;
  overflow: hidden;
  box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
}

div.offlajnlistelements .content {
  background: none; 
  position: relative;
    -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;  
}

.offlajnlistelements .content .listelement {
  padding-left: 5px;
  padding-top: 3px;
  padding-bottom: 4px;
  display: block;
  white-space:nowrap;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.7);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: 'PT Sans';
  font-size: 11px;
  line-height: 16px;
}

.offlajnlistelements .content .listelement.optgroup{
  padding-top: 7px;
  padding-bottom: 0;
  color: #575656;
  font-style: italic;
}

.offlajnlistelements .content .listelement.optgroup:hover{
  cursor: default;
  color: #575656;
  background-image: none;
  text-shadow: none;
  box-shadow: none;
}

.offlajnlistelements .content .listelement.selected{
  font-weight: bold;
  font-size: 12px;
}

.offlajnlistelements .content .listelement.active,
.offlajnlistelements .content .listelement:HOVER {
  background-color: #4e85c5;
  cursor: pointer;
  color: #fff;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
  /* Safari 4-5, Chrome 1-9 */ 
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5b9bd1), to(#416eb8));
   /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #5b9bd1, #416eb8);
   /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #5b9bd1, #416eb8);
   /* IE 10 */ 
  background: -ms-linear-gradient(top, #5b9bd1, #416eb8);
   /* Opera 11.10+ */ 
  background: -o-linear-gradient(top, #5b9bd1, #416eb8);
}

li fieldset span, li fieldset a {
  margin: 0;
}
