/* REQUIRED for core functionality */

.tabs h1,
.tabs h2 {
  color: #000;
  margin-bottom: 1em;
}
.responsive-tabs h2 {
  color: #fff;
}
.tabs ul,
.tabs ol,
.tabs p {
  margin-top: 0;
  padding-top: 1em;
}
.tabs ul li,
.tabs ol li {
  margin-bottom: 0.5em;
}

hgroup h1 {
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.2em;
}

hgroup h2 {
  font-size: 1.1em;
  font-weight: normal;
  position: absolute;
  top: 16px;
  right: 20px;
}

.btn {
  display: block;
  float: left;
  padding: 10px 15px;
  background: #ddd;
  font-size: 1.5em;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  box-shadow: 2px 2px 2px #eee;
}
.btn:hover {
  background: #ddd;
}
.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}

.intro {
  margin: 20px 0;
  background: #003399;
  color: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 2px #eee;
  padding: 5px 15px 10px 15px;
}
.intro a {
  color: #fff;
}
.intro.contact {
  width: 40%;
}
p.demo-intro {
  font-size: 1.2em;
  margin-bottom: -0.5em;
  font-weight: bold;
}

.responsive-tabs__heading {
  display: none;
}
.responsive-tabs__list__item {
  display: inline;
  cursor: pointer;
}

/* OPTIONAL - Basic Skin */

.responsive-tabs-wrapper {
  clear: both;
  zoom: 1;
}
.responsive-tabs-wrapper:before,
.responsive-tabs-wrapper:after {
  content: "";
  display: table;
}
.responsive-tabs-wrapper:after {
  clear: both;
}

.responsive-tabs__heading:focus,
.responsive-tabs__list__item:focus {
  outline: 1px solid #ccc;
}

.responsive-tabs__heading--active:focus,
.responsive-tabs__list__item--active:focus {
  outline: none !important;
}

.responsive-tabs__list {
  font-size: 1.2em;
  margin: 2em 0 0 0;
  padding: 0;
  border-bottom: 0px solid #fefa13;
  padding-bottom: 11px;
  line-height: 1em;
  color: #aaa;
}
.responsive-tabs__list__item {
  background: #ddd;
  padding: 10px 20px;
  margin-right: 7px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border: 2px solid #ccc;
  font-size: 100%;
  text-transform: uppercase;
  font-weight: 900;
}
.responsive-tabs__list__item:hover {
  background: #78000f;
  color: #fff;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 2px solid #b07b57;
}
.responsive-tabs__list__item--active,
.responsive-tabs__list__item--active:hover {
  background: #ffe9c1;
  border: 0;
  color: #78000f;
}

.responsive-tabs__panel {
  margin: 25px 15px 50px;
}

/* END - Optional - Basic Skin */

@media only screen and (max-width: 1015px) {
  .responsive-tabs__list__item {
    font-size: 84%;
    margin-right: 10px;
    padding: 10px;
  }

  .responsive-tabs__list__item {
    font-size: 80%;
    margin-right: 5px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3sease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
}

@media only screen and (max-width: 848px) {
  .responsive-tabs__list__item {
    font-size: 75%;
    margin-right: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3sease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
}

@media only screen and (max-width: 787px) {
  .responsive-tabs__list__item {
    font-size: 72%;
  }
}

@media only screen and (max-width: 767px) {
  .responsive-tabs__list {
    display: none;
  }
  .responsive-tabs__heading {
    display: block;
    cursor: pointer;
  }
  .responsive-tabs__panel--closed-accordion-only {
    display: none;
  }
  hgroup h1 {
    margin-top: 25px;
  }
  hgroup h2 {
    top: 0;
    left: 5px;
    font-size: 12px;
  }
  .btn {
    width: 80%;
    margin: 20px auto;
    float: none;
  }

  .responsive-tabs__heading {
    padding: 0.5em;
    border-radius: 0px;
    border: 0px solid #ccc;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
    background: #b07b57;
    position: relative;
    font-size: 110%;
    color: #fefa13;
    clear: both;
    overflow: hidden;
  }

  .responsive-tabs__heading:after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: 40%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
  }
  .responsive-tabs__heading:hover,
  .responsive-tabs__heading--active:hover {
    background-color: #78000f;
    color: #fff;
  }
  .responsive-tabs__heading--active {
    background: #ffe9c1;
  }
  .responsive-tabs__heading--active:after {
    border-bottom: 10px solid #000;
    border-top: 0;
  }
}

@media (min-width: 768px) {
  .responsive-tabs__panel--closed-accordion-only {
    display: block !important;
  }
}

/* END - Required for core functionality */
