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

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

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

#select_index {
    max-width: 20%;
    margin-left: 5px;
}

.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;
}

@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;
}
#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;
}

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

#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%;
  -webkit-transform: translateX(-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;
  -webkit-transition: all 0.2s ease-in-out;
  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%;
  -webkit-transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
  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;
  -webkit-animation-name: content;
          animation-name: content;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
          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 {
  -webkit-transform: translateX(0%);
          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 {
  -webkit-transform: translateX(100%);
          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 {
  -webkit-transform: translateX(200%);
          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 {
  -webkit-transform: translateX(300%);
          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;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}
@keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            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;
  }
}
/** END Tabs CSS **/

/* Building indicator */

.building {
  margin: 10px;
}
.building: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 */
