#search_div {
    display : flex;
    transition: all 1s;
}

#search_bar {
    width: 100%;
    padding-right: 1%;
    display: inline-flex;
}

.search-button {
  margin-left: 10px;
}

#select_index {
    width: calc(100% + 1px);
    margin-left: -1px;
    border: 1px solid #FF1979;
}

.search {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.logo-search {
    max-height: 130px;
}

.hide {
  display: none;
}

.no-result {
  font-size: 1.5em;
}

i.info {
  color: #b0b0b0;
  font-size: .9em;
}

.logo-preview img {
  max-width: 200px;
}

.no-label label {
  color: transparent !important;
  font-size: 1px;
}

div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls button[data-i18n="Filter"] {
  display: none;
}

@media (max-width: 600px) {
  #mynij-results > li, #searx-results > li {
     width: 100%;
  }
}

.mynij-results, .searx-results {
  margin-top : 20px;
  flex: 50%;
}

.logo-img {
  height: 25px;
}
.logo-mynij {
  margin-bottom: 5px;
}
.search-mbar {
  position: relative;
}
.search-header {
  position: absolute;
  top: -3em;
  right: 0;
}
.search-header ul {
  list-style: none;
}
.search-header ul li {
  float: left;
}
.search-header ul li.sep {
  border-right: 1px solid #d7d4d4;
  height: 20px;
  margin: 5px;
  width: 1px;
}
.search-header ul li a {
  display: inline-block;
  color: #41575c;
  padding: 5px;
  min-width: 4em;
  text-align: center;
  border-radius: 4px;
  font-size: 1.1em;
}
.search-header ul li a:hover {
  background: #f1f1f1;
  text-decoration: none;
}
.about-content {
  max-width: 50em;
  font-size: 1.1em;
}
.about-content p {
  margin: 20px 0;
}
.about-content h1 {
  font-size: 1.5em;
  margin-bottom: 40px;
  margin-top: 10px;
}

#mynij-results, #searx-results {
  display: inline-block;
  width: 100%;
}
#mynij-results > li, #searx-results > li {
  list-style-type: none;
  position: relative;
  padding: 10px 1%;
  background: #fff;
  color: #2b2b5d;
  width: 90%;
  max-width: 50em;
  text-align : left;
  flex: inherit;
}

.title {
  color: #3c459e;
  text-decoration: none;
  font-size: 1.3em;
  max-width: 50em;
}

.link, .link:visited {
  text-decoration: none;
  color: #009933;
  max-width: 50em;
}

.searx-more {
  margin: 20px 10px;
}

.searx-morelink {
  color: #3c459e;
}

.body {
  color : #444444;
  max-width: 50em;
}

div[data-gadget-scope='panel'] .ui-content {
    margin-top: 30pt;
}

#mynij-results > a, #searx-results > a {
  position: relative;
}

.highlight {
  font-weight: bold;
}

#mynij-results > a:after , #searx-results > a:after{
    content: '';
    position: absolute;
    bottom: -.4em;
    left: 50%;
    right: 50%;
    height: 1px;
    background: #2b2b5d;
    transition: all ease .2s;
}

#mynij-results > a:hover:after , #searx-results >a:hover:after{
  left: 0;
  right: 0;
  height: 2px;
}

#mynij-results > a:before , #searx-results > a:before{
  position: absolute;
  transform: translateX(-100%);
  left: -10px;
  color: #2b2b5d;
  opacity: .3;
  font-weight: 100;
  font-size: .8em;
}

.loading {
  margin-top: 80px;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  border: 2px solid red;
  border-color: transparent #ff2c2c transparent #ff2c2c;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}

.section-result {
  position: relative;
}

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

/** Tabs CSS **/
.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding-top: 20px;
  padding-bottom: 80px;
  border-radius: 5px;
  min-width: 240px;
}
.tabs input[name="tab-control"] {
  display: none;
}
.tabs ul li label {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 18px;
  color: #428bff;
}
.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: -webkit-box;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 0;
}
.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}
.tabs ul li label {
  color: #929daf;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}
.tabs ul li label br {
  display: none;
}
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}
.tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active {
  outline: 0;
  color: #bec5cf;
}
.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
  fill: #bec5cf;
}
.tabs .slider {
  position: relative;
  width: 50%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabs .slider .indicator {
  position: relative;
  /*width: 50px;*/
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #428bff;
  border-radius: 1px;
}
.tabs .slider-border {
  border-top: 4px solid #e2e6ef;
  height: 1px;
  width: 100%;
  margin-top: -4px;
  border-radius: 1px;
}
.tabs .content {
  margin-top: 30px;
}
.tabs .content section {
  display: none;
  animation-name: content;
  animation-direction: normal;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  line-height: 1.4;
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
  cursor: default;
  color: #428bff;
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
  fill: #428bff;
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
  cursor: default;
  color: #428bff;
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
  fill: #428bff;
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
  cursor: default;
  color: #428bff;
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg {
  fill: #428bff;
}
@media (max-width: 600px) {
  .tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
  display: block;
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
  cursor: default;
  color: #428bff;
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg {
  fill: #428bff;
}
@media (max-width: 600px) {
  .tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
  display: block;
}
@-webkit-keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
  .tabs ul li label br {
    display: initial;
  }
  .tabs ul li label svg {
    height: 1.5em;
  }
}
@media (max-width: 600px) {
  .tabs {
    padding: 20px 0;
    padding-bottom: 80px;
  }
  .tabs .content {
    margin-top: 20px;
  }
}

@media (min-width: 1300px) {
  .tabs .content {
    display: flex;
  }
  .section-result {
    width: 50%;
  }
  #mynij-results > li, #searx-results > li {
    max-width: auto;
    width: 100%;
  }
  .tabs .slider {
    display: none;
  }
  .tabs ul li label {
    cursor: default;
  }
  .tabs .content section {
    display: block !important;
  }
}
/** END Tabs CSS **/

/* Building indicator */

.building {
  margin: 10px;
}
.building:after, .logo-preview .ui-field-contain:after {
  content: "";
  clear: both;
}
.build-title {
  display: inline;
  text-align: left;
  font-weight: 700;
}

.anbuild {
  max-width: 90px;
}

.anbar {
    background-color: #83da41;
    background-image: linear-gradient(45deg, #71e721 25%, #cbecc5);
    border-left: 1px solid #175f05;
    border-top: 1px solid #35a21a;
    border-right: 1px solid #35a21a;
    border-bottom: 1px solid #35a21a;
    width: 10px;
    height: 10px;
    margin: 10px 0;
    float: left;
    margin-left: 5px;
    opacity: 0.1;
    transform: scale(0.7);
    animation: move 1s infinite linear;
}

.bar1 {
    animation-delay: .4s;
}

.bar2 {
    animation-delay: .3s;
}

.bar3 {
    animation-delay: .2s;
}

.bar4 {
    animation-delay: .3s;
}

.bar5 {
    animation-delay: .4s;
}

@keyframes move {
    0% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.7);
        opacity: 0.1;
    }
}

/* END Building indicator */

/* Table style */
table {
  border-collapse: collapse;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #5e6e82;
}

.border-bottom {
  border-bottom: 1px solid #d8e2ef;
}

.table th {
  background-color: #034163;;
  color: white;
  font-weight: 600;
}

.table td, .table th {
  padding: .75rem;
  vertical-align: top;
  border-top: 1px solid #edf2f9;
  border-width: 0;
  text-align: left;
}

.table tbody tr:nth-of-type(even) {
    background-color: #f9fafd;
}
/* END Table style */


div[data-gadget-scope='panel'] {
    left: -186pt;
}

div[data-gadget-scope='header'] .ui-header {
    color: #545558;
}

div[data-gadget-scope='panel'].visible {
    transform: translate3d(186pt, 0, 0);
}

div[data-gadget-scope='panel'] {
    box-shadow: 5px 0 5px rgb(0 0 0 / 15%);
}

div[data-gadget-scope='header'] .ui-header {
    transition: none;
    transform: none;
    /*box-shadow: 0 0 16px 0 rgb(108 126 131 / 8%), 0 0px 4px 0 rgb(0 59 77 / 18%);*/
    background-color: white;
}

div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls .ui-icon-bars {
    width: 8em;
}

div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls button, div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a {
    /*background-color: #085078;*/
    background: #f8f8f8;
}

div[data-gadget-scope='header'] .ui-header > .ui-btn-right button, div[data-gadget-scope='header'] .ui-header > .ui-btn-right a {
    border-left: 1px solid rgba(255, 255, 255, 0.55);
}

div[data-gadget-scope='header'] .ui-header button, div[data-gadget-scope='header'] .ui-header a {
    color: #424748
}

div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls button:hover, div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a:hover, div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls button:active, div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a:active {
    color: #085078;
    background: none;
}

div[data-gadget-scope='header'] .ui-header button:hover, div[data-gadget-scope='header'] .ui-header a:hover, div[data-gadget-scope='header'] .ui-header button:active, div[data-gadget-scope='header'] .ui-header a:active {
    background-color: transparent;
    color: #1075ae;
    text-decoration: none;
}

div[data-gadget-scope='header'] .ui-header, div[data-gadget-scope='header'] .ui-header h1 {
    background: #f8f8f8;
}

div[data-gadget-scope='panel'] {
  background-color: #1d1f32;
}

div[data-gadget-scope='panel'] div[data-role="header"] button, div[data-gadget-scope='panel'] div[data-role="header"] a {
  background-color: transparent;
}

div[data-gadget-scope='panel'] dl {
  background-color: #151728;
  color: #767a7d;
}

div[data-gadget-scope='panel'] ul li a:hover, div[data-gadget-scope='panel'] ul li a:active {
  background-color: #2f3147;
}

div[data-gadget-scope='panel'] ul li a.upload, div[data-gadget-scope='panel'] ul li a.store {
    background: #272a44;
    color: #bfbedc;
}

div[data-gadget-scope='panel'] ul li a.upload:hover, div[data-gadget-scope='panel'] ul li a.store:hover {
    color: #deddec;
}

div[data-gadget-scope='panel'] dl dd a:hover, div[data-gadget-scope='panel'] dl dd a:active {
  background-color: rgb(255 255 255 / 55%);
}

div[data-gadget-scope='header'] .ui-header .ui-subheader {
    background: white;
}

@media not screen and (max-width: 85em) {
  div[data-role='page']:not(.desktop-panel-hidden) div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls button[name="panel"], div[data-role='page']:not(.desktop-panel-hidden) div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a[name="panel"] {
    display: block;
  }
  div[data-role='page']:not(.desktop-panel-hidden) div[data-gadget-scope='panel'] div[data-role="header"] button[data-i18n="Close"], div[data-role='page']:not(.desktop-panel-hidden) div[data-gadget-scope='panel'] div[data-role="header"] a[data-i18n="Close"] {
      display: block;
  }
  div[data-role='page']:not(.desktop-panel-hidden) .gadget-content {
      margin-left: inherit;
  }
  div[data-role='page']:not(.desktop-panel-hidden) div[data-gadget-scope='header'] .ui-header h1 {
      flex: 1;
      background: #f8f8f8;
  }
  div[data-gadget-scope='header'] .ui-header .ui-subheader {
    text-align: left;
    flex: 1 100%;
  }
}

@media not screen and (min-width: 45em) {
  div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls .ui-icon-bars {
    width: auto;
  }
}

@media only screen and (min-width: 45em) and (max-width: 85em), not screen and (min-width: 45em) {
  div[data-gadget-scope='header'] .ui-header ul li {
      border-left: 1px solid #e0e0e0;
  }
}

.inp-wrap {
  display: inline-block;
}


/* very messy "grid" styles */

.input-search, .index-select, .btn-search {
  vertical-align: middle;
  height: 3rem;
  font-size: 1.1rem;
}

.search-wrap {
  width: 70%;
}

.cat-wrap {
  width: 20%;
}

.submit-wrap {
  width: 10%;
  min-width: 6em;
}


/* input and label styles*/

.input-search {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 100%;
}

.index-select,
.input-search,
#search_div input[type=search]{
  transition: box-shadow 0.2s ease-in-out;
  border: 0;
  padding: 0 0 0 0.5em;
}

#search_div input[type=search] {
  border: 1px solid #FF1979;
  border-radius: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 100%;
}

#search_bar .input-search:focus,
#search_bar .index-select:focus {
  outline: none;
  border: 1px solid #ffc519;
  box-shadow: inset 0 0 0 5px #FFC519;
}


/* select menu styles */

.cat-wrap {
  padding: 0;
  position: relative;
  z-index: 1;
}

select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

.add-source {
  font-weight: 600;
  font-size: .9em;
}

option {
  margin: 0.6em 0;
}


/* search button and icon styles */

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

/* remove mozilla button styles */

button::-moz-focus-inner {
  padding: 0 !important;
  border: 0 none !important;
}

.btn-search {
  text-transform: uppercase;
  font-size: 1.1rem;
  border: 0;
  padding: 0 0.3em 0 0;
  background: #FF1979;
  color: white;
  font-weight: 600;
  transition: background 0.25s ease-in-out;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 5px;
  width: 100%;
}

#search_bar .btn-search:hover,
#search_bar .btn-search:focus,
#search_bar .btn-search:active {
  outline: 0;
  background: #FFC519;
  color: #232323;
}

.btn-search:active {
  transform: translateY(1px);
}

.btn-link {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid #ccc;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  user-select: none;
  color: #333;
  background-color: #fff;
}

.btn-link:hover, btn-link:active {
  text-decoration: none;
  color: #333;
  background-color: #e6e6e6;
  border-color: #ff1979;
}

@media screen and (max-width: 820px) {
  .search-label {
    border-radius: 0;
  }
  .cat-wrap {
    width: 30%;
  }
  .submit-wrap {
    display: none;
  }
  .btn {
    border-radius: 5px;
  }
  .search-form {
    padding: 0 1rem;
  }
  .search-header ul li a {
    font-size: 1em;
  }
}

@media screen and (max-width: 560px) {
  .cat-wrap {
    width: 40%;
    margin-bottom: 0.5rem;
  }
  .search-wrap {
    width: 60%;
    margin-bottom: 0.5rem;
  }
  #select_index {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}