@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

#tab-tariff {
  background: #fff;
  box-shadow: 0 1px 10px rgba(0,0,0,.2);
  border-radius: 4px;
  overflow: hidden;
}
#tab-tariff .r-tabs-nav,
#tab-tariff .r-tabs-accordion-title {
  background: #123B8A;
  text-align: center;
  padding: 0 15px;
  border-radius: 4px 4px 0 0;
}
#tab-tariff .r-tabs-accordion-title {
  border-radius: 0;
  padding: 0px;
}
#tab-tariff .r-tabs-nav a {
  min-width: 100px;
}
#tab-tariff .r-tabs-nav a,
#tab-tariff .r-tabs-accordion-title a {
  color: #fff!important;
  text-decoration: none;
  padding: 15px 20px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  display: block;
}
#tab-tariff .r-tabs-nav a i,
#tab-tariff .r-tabs-accordion-title a i {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
}
#tab-tariff .r-tabs-accordion-title a {
  background: #4369b3;
  border-top: 1px solid rgba(0,0,0,.2);
}
#tab-tariff .r-tabs-nav .r-tabs-state-active a {
  background: #fff;
  color: #123B8A!important;
  position: relative;
  top: 0px;
  border-top: 0;
}
#tab-tariff .r-tabs-accordion-title.r-tabs-state-active a,
#tab-tariff .r-tabs-accordion-title a:hover {
  background: #123B8A
}
#tab-tariff .r-tabs-panel {
  padding: 25px;
  min-height: auto!important;
}
#tab-tariff .tariff-search {
  width: 100%;
  padding: 10px;
  margin: 0;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 700;
  color: #123B8A;
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid #999;
}
#tab-tariff .tariff-search-wrapper {
  display: none;
  position: relative;
}
#tab-tariff .tariff-search-wrapper:after {
  content: "\f002";
  font-family: fontawesome;
  position: absolute;
  right: 12px;
  top: 12px;
  color: #aaa;
  line-height: 1.2;
}
#tab-tariff .tariff-search::-webkit-input-placeholder{
  color: #aaa;
}
#results-darat .result:before {
  content: '\f0d1';
  font-family: fontawesome;
  font-size: 250px;
  position: absolute;
  z-index: -1;
  top: 30px;
  right: -50px;
  opacity: .05;
}
ul.result {
  position: relative;
  z-index: 1;
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 4px;
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
ul.result li {
  word-wrap: break-word;
  padding: 5px 10px;
}
ul.result li.result-title {
  text-align: center;
  background: #123B8A;
  color: #fff;
  padding: 15px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
}
ul.result li.result-tariff {
  padding: 10px;
}
ul.result li.result-tariff.odd {
  background: rgba(0,0,0,.05);
}
ul.result li.result-tariff:hover {
  background: rgba(0,0,0,.1);
  cursor: pointer;
}
ul.result li.result-tariff:hover span {
  color: #123B8A;
}
ul.result li.result-tariff span {
  min-width: 170px;
  display: inline-block;
  font-weight: 700;
  position: relative;
  margin-right: 10px;
}
ul.result li.result-tariff span:after {
  content: ":";
  position: absolute;
  right: 0;
}
ul.result li.result-cta {
  margin-top: 5px;
  padding-bottom: 10px;
}
ul.result li.result-cta a {
  text-decoration: none!important;
  text-align: center;
  display: block;
  background: #03AC0E;
  color: #fff!important;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  border: 1px solid #008809;
  border-radius: 4px;
  line-height: 1;
}
ul.result li.result-cta a i {
  font-size: 18px;
  position: relative;
  top: 1px;
  right: 2px;
}
ul.result li.result-cta a:hover {
  background: #008809;
}
ul.result li.result-ket {
  background: #ffffd2;
  border: 1px dashed #caca00;
  border-radius: 4px;
  margin: 10px 10px 15px;
  padding: 10px;
  font-size: 13px;
  text-align: center;
}
ul.result li.result-ket span {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}
.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }
.autocomplete-suggestion,
.autocomplete-no-suggestion {
  padding: 10px;
  cursor: pointer;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 4em;
  height: 4em;
}
.loader {
  margin: 20px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: .7em solid rgba(18, 59, 138, 0.2);
  border-right: .7em solid rgba(18, 59, 138, 0.2);
  border-bottom: .7em solid rgba(18, 59, 138, 0.2);
  border-left: .7em solid #123B8A;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 480px) {
  #tab-tariff .r-tabs-panel {
    padding: 15px;
  }
  #tab-tariff .tariff-search-wrapper:after {
    right: 15px;
  }
  #tab-tariff .r-tabs-accordion-title a i {
    display: inline-block;
    font-size: 16px;
    margin-right: 3px;
    margin-bottom: 0;
  }
  ul.result li.result-tariff span {
      display: block;
  }	
  ul.result li.result-tariff span:after {
    display: none;
  }
}

.r-tabs .r-tabs-nav {
    margin: 0;
    padding: 0;
}

.r-tabs .r-tabs-tab {
    display: inline-block;
    margin: 0;
    list-style: none;
}

.r-tabs .r-tabs-panel {
    padding: 15px;
    display: none;
}

.r-tabs .r-tabs-accordion-title {
    display: none;
}

.r-tabs .r-tabs-panel.r-tabs-state-active {
    display: block;
}

/* Accordion responsive breakpoint */
@media only screen and (max-width: 768px) {
    .r-tabs .r-tabs-nav {
        display: none;
    }

    .r-tabs .r-tabs-accordion-title {
        display: block;
    }
}