body, html {
  height: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #fff;
  font-family: arial, sans-serif;
}

body {
  height: 100%;
}

a:link, a:active, a:visited {text-decoration: none;}

#logo-image {
  width: 150px;
}

#logo-container {
  padding: 50px 0px 0px 10px;
}

#main-body {background:#fff;}

#sidebar {
  width: 190px;
  float: left;
  padding: 0 20px 0 10px;
  font-size: 12px;
  /*font-family: 'Lato', sans-serif;*/
}

#result {
  margin-left: 181px;
  overflow: hidden;
}

#right_column { margin-left:20px;}


.actual_label {
  position: relative;
  vertical-align:top;
  /*top: -20px;*/
  /*left: 40px;*/
  cursor: pointer;
}
input[type=radio], input[type=checkbox] {
    /*display:none; 
    margin:10px;*/
	position:absolute;
	left:-99999px;
}

/*
  Change the look'n'feel of labels (which are adjacent to radiobuttons).
  Add some margin, padding to label
*/
input[type=radio] + label, input[type=checkbox] + label {
    display:inline-block;
    padding: 4px 0;
    background: url('/images/search-page-icons.gif') no-repeat;
    border-color: #ddd;
	height: 17px;
	width:17px;
	margin-right:10px;
}
input[type=radio] + label  {background-position: -49px -26px;}
input[type=checkbox] + label  {background-position: -28px -26px;}
/*
 Change background color for label next to checked radio button
 to make it look like highlighted button
*/
input[type=radio].checked + label{
	background-position: -49px 0;
}
input[type=checkbox].checked + label {
	background-position: -28px 0;
}

#search-in{border-top: 1px solid #969696;}
#search-in2{margin-bottom: 28px;}
#search-in li, #search-in2 li {
  color: black;
  list-style: none;
  font-size: 14px;
  color: #7d7d7d;
  padding:10px 13px;
  height:17px;
  /*margin-top:-5px;*/
  border-bottom: 1px solid #d4d4d4;
  /*text-shadow: 0 1px rgba(255,255,255,0.5);*/
}
#search-in li.selected, #search-in2 li.selected {background: #f5f5f5;font-weight:bold;color:#373737;}
#search-information {float:left; color: #000; font-size: 13px;margin: 20px 0 10px 0;display:none;}
#sort-by {color:#373737;font-size:13px;float:right;margin: 20px 0 10px 0;}
#sort-by select {border:1px solid #a9a9a9; margin-left:10px;background-color: #f5f5f5;}
#result-container {clear:both;border-top:1px solid #ccc;}

.box-container{
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}
.box-container #search-form {height:32px;overflow:hidden;border: 1px solid #373737;}
.box-container input#q{
  width: 100%;
  padding: 7px 0 6px 15px;
  background: white;
  font-size: 16px;
  float: left;
  color: #6a6a6a;
  -webkit-transition: all .55s ease;
  -moz-transition: all .55s ease;
  -ms-transition: all .55s ease;
  -o-transition: all .55s ease;
  transition: all .55s ease;
  border: none;
  outline: 0;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.box-container input#q::-webkit-input-placeholder {
   color: #65737e;
}
.box-container input#q:-moz-placeholder { /* Firefox 18- */
   color: #65737e;  
}
.box-container input#q::-moz-placeholder {  /* Firefox 19+ */
   color: #65737e;  
}
.box-container input#q:-ms-input-placeholder {  
   color: #65737e;  
}

.box-container button.icon{
  border: none;
  background: #373737;
  height: 32px;
  width: 150px;
  color: #fff;
  font-size: 18px;
  margin-left: -150px;
  -webkit-transition: all .55s ease;
  -moz-transition: all .55s ease;
  -ms-transition: all .55s ease;
  -o-transition: all .55s ease;
  transition: all .55s ease;
}

  /*.box-container input#q:focus, .box-container input#q:active{
    outline:none;
    background: #373737;
    color: black;
  }*/
  /* ANIMATION EFFECT */
  /*.box-container:hover button.icon, .box-container:active button.icon, .box-container:focus button.icon{
    outline:none;
    opacity: 1;
    margin-left: -50px;
  }
  .box-container.loading button.icon {
    outline:none;
    opacity: 1;
    margin-left: -50px; 
  }
  input#q::-webkit-search-cancel-button{
    display: none;
  }*/

.result-item {
  display: block;
  width: 100%;
  margin: 0px auto;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #ccc;
  padding: 17px 0;
}

.result-item h2 {
  font-size: 18px;
  margin: 0px;
  color: #000;
  line-height:24px;
}

.result-item p {
  margin: 0px;
  font-size: 13px;
  color: #373737;
}
.result-item img.thumbnail {
  float: left;
  padding: 0 10px 0px 0px;
  max-width: 140px;
  max-height: 140px;
}
/*.result-item .result-content {
  margin: 10px 0;
}*/
.result-content span.source-link {
  text-decoration: none;
  font-size: 11px;
  color: green;
  display: inline;
}
.result-content span.label {
  font-size: 12px;
  color: #003871;
  font-weight: bold;
  line-height: 26px;
}
.result-content span.pubdate {
	font-size: 12px;
	color: #666;
	line-height: 26px;
}
#no-res {margin-top: 20px;line-height: 1.5em;font-size: 13px;}
#no-res h2 {margin-bottom: 1.2em;}
.clearfix {
  clear: both;
}

/*---------- PAGINATION  -----------*/
#paging-block {clear:both; margin-top: 20px; font-size: 15px;color: #bbb9b9;text-align:center;}
#previous {float:left;}
#next {float:right;}
#arrow-previous, #arrow-next {vertical-align:middle;width: 13px; height: 16px;background: url('/images/search-page-icons.gif') no-repeat;display:inline-block;}
#arrow-previous {background-position: 0 -20px;}
#arrow-previous.disabled {background-position: 0 -2px;}
#arrow-next {background-position: -14px -20px;}
#arrow-next.disabled {background-position:-14px -2px;}
#previous a, #next a {color: #373737;}
#paging {
  display: inline-block;
  list-style: none;
}
#paging li {
  display: inline;
  list-style: none;
}
#paging li a:hover {
  text-decoration: underline;
}
#paging li a {
  display: block;
  padding: 0 5px;
  margin: 0 4px;
  text-decoration: none;
  float: left;
  color: #7d7d7d;
  border-radius: 1px;
}
#paging li.current-page a{color: #373737; font-weight:bold;}


hr.sep {
  width: 90%;
}