#essi-content {
  margin: 6px;
}

#essi-mainform .ess-searchbutton {
  font-weight: bold;
}

#essi-queryfield {
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

#essi-query-block { 
  background-color: #870052;
  color: #FFFFFF;
  padding: 2px 4px;
}
#essi-query-block label { 
  display: block;
  margin: 3px 0px;
}
#essi-search-button { 
  display: block;
  float: right;
  margin-top: 2px;
}

#essi-query-refinement.cloud li {
  list-style: none;
  display: inline;
  /*
  padding: 0.25em;
  line-height: 2em;
  */
  padding: 0.75em;
  line-height: 2em;
  text-indent: 0;
  margin: 0px -0.5em;
  background: white;
  /* border: 3px solid #437DFF; */
  border: 3px solid transparent;
  -moz-border-radius: 50%;
  -webkit-border-radius: 2em;
  position: relative;
}

#essi-query-refinement.cloud ul {
  padding: 1em 0 0 0;
  -webkit-box-reflect:below 5px 
      -webkit-gradient(
      linear, 
      left top, 
      left bottom, 
      from(transparent), 
      color-stop(0.5, transparent), 
      to(white));;
  text-align: center;
}

#essi-query-refinement.cloud a {
  color: #437DFF;
  text-decoration: none;
  white-space: nowrap;
}

#essi-query-refinement.cloud a:hover {
  text-decoration: underline;
}
#essi-helplink {
  display: block;
  margin: 10px 0px 4px 0px;
}

#essi-options p {
  margin: 2px 0px;
}

#essi-options .ess-group { 
  border-top: 1px solid #0d0d0d;
  padding-top: 1px;
  margin-bottom: 1px;
}

#essi-options .ess-cat-group { 
  font-weight: bold;
}

#essi-options .ess-option-block { 
  margin-left: 6px;
}
#essi-pageinfo { 
  background-color: #F8DBFF; 
  border: 1px solid #92002C; 
  padding: 10px;
}
#essi-pageinfo h2 { 
  margin-top: 5px;
}
#essi-pageinfo table { 
  font-size: inherit;
}

#essi-footer-logo { 
  text-align: center;
  clear: left;
  padding-top: 15px;
}

/* Categories */

.ess-cat-bd p { 
  margin: 1px 0px;
  line-height: 1.5em;
}
* html .ess-cat-bd p {
  height: 1%;
}
.ess-cat-bd a { 
  float: left;
  width: 70%;
}
.ess-cat-bd .ess-clear { 
  display: block;
  clear: both;
  height: 1px;
  overflow: hidden;
}
.ess-cat-bd .ess-cat-bd-all strong a { 
  font-weight: bold;
}
.ess-cat-bd .ess-cat-bd-all {
  padding: 2px 4px;
  margin-top: 4px;
}
.ess-cat-bd .ess-cat-bd-all.ess-current {
  background-color: #437DFF;
  color: #FFFFFF;
}
.ess-cat-bd .ess-cat-bd-all.ess-current a:visited,
.ess-cat-bd .ess-cat-bd-all.ess-current a:active,
.ess-cat-bd .ess-cat-bd-all.ess-current a {
  color: #FFFFFF;
}
.ess-current .ess-num-pages {
  color: #FFFFFF;
}
.ess-num-pages {
  display: block;
  float: right;
  font-size: 0.9em;
  font-weight: bold;
  color: #999999; 
}
.ess-label-hits { 
  display: none;
}
.ess-cat-bd .ess-cat-bd-category {
  padding: 1px 4px;
  margin: 0px 0px 1px 0px;
}
.ess-cat-bd .ess-cat-bd-category.ess-current {
  background-color: #437DFF;
  color: #FFFFFF;
}
.ess-cat-bd .ess-cat-bd-category.ess-current a:visited,
.ess-cat-bd .ess-cat-bd-category.ess-current a:active,
.ess-cat-bd .ess-cat-bd-category.ess-current a {
  color: #FFFFFF;
}

.ess-cat-bd .ess-cat-bd-heading { 
  font-weight: bold;
  margin-top: 4px;
}
.ess-cat-bd h2.ess-heading { 
  border-bottom: 1px solid #0d0d0d;
  padding: 2px 0px 4px 0px;
  margin: 0px;
  font-size: 1em;
  font-weight: bold;
}


dl.ess-bestbets { 
  margin: 15px 0px;
  padding-bottom: 7px;
  border-bottom: 1px solid #0d0d0d;
}
.ess-bestbets dt {
  padding: 4px 8px 4px 8px;
  background-color: #F2F2F2;
  border: 1px solid #FFFFFF;
  border-bottom: none;
}
.ess-bestbets dd {
  padding: 2px 8px 4px 8px;
  margin: 0px 0px 8px 0px;
  background-color: #F2F2F2;
  border: 1px solid #FFFFFF;
  border-top: none;
}


.ess-result { 
  margin: 0px 0px 15px 0px; 
}
.ess-result .ess-header { 
  font-weight: bold;
}
.ess-result h2.ess-topcell { 
  padding: 2px 0px 4px 0px;
  margin: 0px 0px 4px 0px;
  border-bottom: 1px solid #0d0d0d;
  font-size: 1em;
  font-weight: normal;
  display: block;
}

.ess-sortlinks { 
  margin: 4px 0px 15px 0px;
  text-align: center;
  font-size: 0.9em;
}
.ess-sortlinks a {
  padding: 0px 2px;
}

.ess-next { 
  padding-left: 5px;
}
.ess-prev { 
  padding-right: 5px;
}

.ess-respages { 
  clear: left;
  margin: 0px 8px 15px 8px;
  padding-top: 20px;
  text-align: center;
}
.ess-respages a.ess-page { 
  padding: 1px 3px;
  font-weight: bold;
}
.ess-respages .ess-current { 
  padding: 1px 5px;
  font-weight: bold;
}


.ess-hits, .ess-nohitsinfo { 
  margin: 8px 0px 5px 0px; 
}

.ess-hits dt { 
  margin: 1.3em 0px 0px 1.8em;
  clear: left;
  font-size: 1.2em;
}
.ess-hits dl.ess-attachments { 
  margin: 0px;
}
.ess-hits dl.ess-attachments dt { 
  margin: 0.5em 0px 0px 0px;
  clear: left;
  padding-left: 1.6em;
  background: url('/images/modular/attachment.png') 2px 50% no-repeat;
}
* html .ess-hits dl.ess-attachments dt { 
  background: url('/images/modular/attachment.gif') 2px 50% no-repeat;
}
.ess-hits dl.ess-attachments dd { 
  margin: 5px 0px 5px 1.8em;
}
.ess-hits dd { 
  margin: 3px 0px 3px 2em;
}
.ess-hitnum {
  width: 2.3em;
  float: left;
  margin-left: -2.5em;
  font-size: 0.8em;
  line-height: 1.7;
  text-align: center;
}

table.ess-imgprev { 
  height: 104px; 
  width: 140px;
  margin-top: 4px; 
  margin-bottom: 20px; 
  margin-right: 15px; 
  border: 1px solid #0d0d0d; 
  float: left;
}
.ess-imgprev img { 
  border: none;
}
.ess-imagecontext { 
  display: block;
  padding: 5px 0px;
}
.ess-bestbets .ess-header,
.ess-hits dt { 
  font-size: 1.2em;
  font-weight: normal; 
}
.ess-bestbets .ess-header a, 
.ess-hits dt a { 
  font-weight: bold;
}
.ess-hits dt a strong { 
  font-style: italic;
}
.ess-special { 
  margin-top: 2px; 
  margin-bottom: 4px;
  color: #FFFFFF; 
}
.ess-info { 
  padding: 3px 10px 1px 5px;
  background-color: #F5f5f5; 
  color: #999999; 
  font-size: 0.85em;
}
dd.ess-info-img {
  margin-left: 180px;
} 
.ess-info a:link,
.ess-info a:visited { 
  background-color: #F5f5f5!important; 
}
.ess-info .ess-cleartexturl strong { 
  font-style: italic; 
}
.ess-info .ess-meterframe { 
  display: block; 
  float: left; 
  width: 32px; 
  height: 4px; 
  margin: 4px 5px 0px 5px;
  border: 1px solid #999999; 
}
.ess-info .ess-meter { 
  display: block; 
  height: 2px; 
  overflow: hidden; 
  text-indent: -2000px; 
  margin: 1px; 
  background-color: #0d0d0d; 
}
.ess-dtypeicon { 
  display: none;
  float: left;
  padding: 1px 5px 2px 0px;
}
.ess-dtypeicon-html { 
  display: none;
}

dt .ess-dtypelabel,
dt .ess-size,
dt .ess-cachelink { 
  font-size: 0.8em;
  color: #999999;
}
dt .ess-cachelink { 
  display: none;
}
* html dt .ess-cachelink { 
  display: inline;
}
dt:hover .ess-cachelink { 
  display: inline;
}
dt .ess-cachelink a:link,
dt .ess-cachelink a:visited { 
  font-weight: normal;
  text-decoration: underline;
  color: #999999;
}
dt .ess-dtypelabel { 
  text-transform: uppercase;
}
html .ess-dtypelabel-img,
html .ess-dtypelabel-html { 
  display: none;
}

/*
.ess-catheading-wrapper {
  clear: left; 
  padding-top: 15px; 
  margin-bottom: 10px;
}
*/
dt.ess-catheading {
  padding: 5px; 
  margin-left: 0px;
  margin-bottom: -5px;
  background-color: #999999; 
  color: #fff; 
  color: #FFFFFF;
  font-size: 1em;
}
.ess-hit-description { 
  margin-top: 2px;
}

.ess-spelling { 
  width: 300px; 
  padding: 6px; 
  margin-top: 5px; 
  background-color: #F8DBFF; 
border: 1px solid #92002C; 
}
.ess-spelling a { 
  background-color: #F8DBFF;
}

.ess-nohits .ess-spelling { 
  text-align: left; 
  width: 350px; 
  padding: 6px 6px 6px 45px; 
}
.ess-nohits .ess-spelling .ess-qmark { 
  font-size: 50px; 
  font-weight: bold; 
  color: #92002C; 
  line-height: 42px; 
  margin: 0px 0px 0px -39px;
  display: block;
  float: left;
}
.ess-helpheadline { 
  font-size: 1.5em; 
}
.ess-nohits .ess-spelling .ess-helpheadline { 
  margin: 0px 0px 3px 0px;
}
.ess-nohits .ess-spelling p { 
  margin-bottom: 6px; 
}
.ess-nohits .ess-spelling ul { 
  margin: 0px; 
  padding: 0px; 
  padding-left: 20px; 
  list-style-type: square; 
}
.ess-nohits .ess-spelling li {
  margin: 4px 0px;
}

.ess-helpif { 
  color: #0d0d0d; 
}

.ess-helpbox {
  margin: 10px 0px 0px 0px; 
  padding: 10px; 
  background-color: #F8DBFF; 
  border: 1px solid #92002C; 
}
.ess-helpbox .ess-helpheadline { 
  margin-top: 0px;
}
.ess-helpbox ul { 
  margin: 0px; 
  padding: 0px; 
  padding-left: 20px; 
  list-style-type: square; 
}
.ess-helpbox li { 
  margin: 2px 0px; 
}

#essi-search-button-2-div {
  display: none;
}

.ess-lang { 
  display: none;
}
.ess-lang abbr { 
  font-size: 0.8em; 
  font-weight: bold;
  background: #999999;
  color: #F5f5f5;
  padding: 1px 2px;
  cursor: default;
}

/* Related bets */
.ess-relatedbets { 
  padding: 1em;
  margin: 1em 0;
  background: #FFFFFF;
}
.ess-relatedbets h3 { 
  font-size: 1em;
  font-weight: normal;
  display: inline;
}
.ess-relatedbets ul { 
  list-style: none;
  display: inline;
  margin: 0px;
  padding: 0px;
}
.ess-relatedbets li { 
  display: inline;
}
.ess-relatedbets a { 
  font-weight: bold;
}

/* Markering av sökord */
.ess-info .ess-cleartexturl strong,
.ess-hit-extract strong,
.ess-hit-meta strong,
.ess-hits dt a strong {
  -moz-border-radius: 0.3em;
  -khtml-border-radius: 0.3em;
  background: #E4E4E4;
  padding: 0 0.1em;
}
