body {
  --darkColor: #33C3F0;
  --lightColor: lightgray;
}

.navigation:after {
  content: "";
  display: table;
  clear: both; 
}

.search .fa-search,
.search .fa-times
{
   float: left;
   padding: 0px 12px;
   line-height: 28px;
   height: 28px;
}

.rowsperpage 
{
   float: left;
   padding: 0 0 0 0;
   line-height: 28px;
   height: 34px;
   margin-bottom: 20px;
}

.search .fa-search,
.search .fa-times
{
   background-color: var(--darkColor);
   color: white;
}

.search input.fuzzy-search 
{
   float: left;
   border: none;
   background-color: var(--lightColor);
   padding: 0px 12px;
   line-height: 28px;
   height: 28px;
   border-radius: 0;
}

.pagination {
   float: right;
   list-style-type: none;
   padding: 0;
   line-height: 28px;
   height: 28px;
}

 .pagination > li {
   display:inline;
   flush: right;
   padding: 6px 12px;
}

 .pagination > li > a  
{
   color: inherit;
   text-decoration: none;
}

 .pagination > li.active {
   background-color: var(--darkColor);
   color: white;
}

 .pagination > li:not(.active):not(.disabled):hover {
   background-color: var(--lightColor);
}

@media only screen and (max-width: 640px) {
    /* For mobile phones: */
    .pagination, .search, .rowsperpage {
        width: 100%;
	flush: center;
    }

   .search .fa-search,
   .search .fa-times
   {
	float:none;
   }
   .search input.fuzzy-search
   {
	float:none;
   }

}


.rankings table, .ranking-results table, .ranking-journals table, .orcid-publications table, .endorsers table {
   width: 100%;
   text-align: left;
}

.rankings th, .ranking-results th, .ranking-journals th, .orcid-publications th,
.rankings td, .ranking-results td, .ranking-journals td, .orcid-publications td {
   text-align: left;
}

.rankings tr.selected {
   background-color: var(--darkColor);
   color: white;
}

.loader {
    display: block;
    clear: both; 
    border: 16px solid var(--lightColor); /* Light grey */
    border-top: 16px solid var(--darkColor); /* Blue */
    border-radius: 50%;
    animation: spin 2s linear infinite;
    position: relative;
    left: 50%;
    margin-left: -80px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    padding: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 /* The switch for a slider */
.switch {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 18px;
  bottom: -3px;
  margin-right: 6px;
  margin-bottom: 16px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 17px;
  background-color: lightgray;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #1EAEDB;
}

input:focus + .slider {
  box-shadow: 0 0 1px #1EAEDB;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}


