html,
body,
.hgt-iframe-wrapper {
  height: auto;
}

.hgt-body {
  background: #f0f0f0;
}

.hgt-index-container {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.hgt-logo {
  float: left;
}

p.hgt-version {
  font-size: 18px;
  margin-top: 0px;
  margin-left: 5px;
}

@media screen and (height: 568px) and (max-width: 479px) {
  p.hgt-version {
    font-size: 10px;
  }

  .hgt-nav-menu {
    top: 40px !important;
  }

  .hgt-pagehead.iframed {
    height: 112px !important;
  }

  iframe#styleguideFrame {
    height: calc(100% - 112px) !important;
    top: 112px;
  }


}

body {
  padding: 0;
  margin: 0 auto;
}

iframe {
  margin: 0 auto;
  border: none;
  margin: 0 auto;
  height: calc(100% - 135px) !important;
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 135px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  transition: width 0.2s ease-in-out;
}

.frame-mobile {
  width: 500px !important;
  margin: 0 auto;
  text-align: center;
}

.frame-tablet-portrait {
  width: 788px !important;
  margin: 0 auto;
}

.frame-tablet-landscape {
  width: 1044px !important;
  margin: 0 auto;
}

.frame-desktop {
  width: 1220px !important;
  margin: 0 auto;
}

.hgt-pagehead {
  transition: width 0.2s ease-in-out;
}

.hgt-pagehead.iframed {
  margin-bottom: 0 !important;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 3px solid #c8c8c8;
  height: 135px;
}

.hgt-breakpoints {
  display: inline-block;
  position: relative;
  float: left;
  left: 310px;
  top: 30px;
}

.hgt-breakpoints button {
  border: none;
  cursor: pointer;
  margin-right: 20px;
  vertical-align: bottom;
}

.hgt-breakpoints button:nth-last-of-type() {
  margin-right: 0;
}

.hgt-breakpoints button:focus {
  outline: 0;
}

.hgt-breakpoints button:hover {
  opacity: .5;
}

.hgt-breakpoints button.selected:hover {
  opacity: 1;
}

.hgt-breakpoint-mobile {
  background-color: transparent;
  background: url('../images/mobile.svg');
  background-size: 100% 100%;
  width: calc(22px * .8);
  height: calc(32px * .8);
  opacity: .4;
  position: relative;
  /*top: 15px;*/
}

.hgt-breakpoint-mobile.selected {
  opacity: 1;
}


/*.hgt-breakpoint-mobile:hover {
   opacity: .4;
 }*/

.hgt-breakpoint-tablet-portrait {
  background-color: transparent;
  background: url('../images/tablet-portrait.svg');
  background-size: 100% 100%;
  width: calc(45px * .8);
  height: calc(55px * .8);
  opacity: .4;
  /*top: 6px;*/
  position: relative;
}


/*.hgt-breakpoint-tablet-portrait:hover {
   opacity: .4;
 }*/

.hgt-breakpoint-tablet-portrait.selected {
  opacity: 1;
}

.hgt-breakpoint-tablet-landscape {
  background-color: transparent;
  background: url('../images/tablet-landscape.svg');
  background-size: 100% 100%;
  width: calc(55px * .8);
  height: calc(45px * .8);
  opacity: .4;
  /*top: 10px;*/
  position: relative;
}


/*.hgt-breakpoint-tablet-landscape:hover {
   opacity: .4;
 }*/

.hgt-breakpoint-tablet-landscape.selected {
  opacity: 1;
}

.hgt-breakpoint-desktop {
  background-color: transparent;
  background: url('../images/desktop.svg');
  background-size: 100% 100%;
  width: 74px;
  height: 58px;
  opacity: .4;
  position: relative;
}

.hgt-breakpoint-desktop.selected {
  opacity: 1;
}


/*.hgt-breakpoint-desktop:hover {
   opacity: .4;
 }*/

.hgt-nav-menu {
  float: right;
  width: 150px;
  top: 46px;
  position: relative;
  cursor: pointer;
  height: 40px;
}

.hgt-nav-menu h3#view-section {
  font-size: 16px;
  padding: 0;
  line-height: normal;
  height: 24px;
  margin: 0;
  display: inline;
  float: left;
  border: none;
  position: relative;
  top: 20px;
  left: 1px;
}

.hgt-nav-wrapper-dropdown {
  border-bottom: 4px solid #000;
  font-size: 18px;
  position: relative;
  top: 41px;
}

.hgt-nav-wrapper-dropdown.active {
  /* active state handled here */
}

.hgt-nav-wrapper-dropdown.active .hgt-nav-dropdown {
  max-height: 440px;
}

.hgt-nav-dropdown {
  font-size: 15px;
  z-index: 10;
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  background: #fff;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transition: all .3s ease;
}

.hgt-nav-dropdown li {
  padding: 0px;
  background: #fff;
  color: #000;
}

.hgt-nav-dropdown li a.active {
  background: #00AE4D;
  color: #fff;
}

.hgt-nav-dropdown li a {
  display: block;
  text-decoration: none;
  padding: 10px;
  transition: all .3s ease-out;
  border-bottom: 1px solid #e6e8ea;
  color: #000;
  background: #fff;
}

.hgt-nav-dropdown li:hover a {
  background: #000;
  color: #fff
}

span.chevron {
  left: 128px;
  position: absolute;
  top: -25px;
}

.chevron::before {
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  top: 0.15em;
  transform: rotate(-45deg);
  vertical-align: top;
  width: 0.45em;
}

.chevron.bottom:before {
  top: 4px;
  transform: rotate(135deg);
  /* left: 30px; */
  transition: transform .1s ease;
}

.hgt-nav-wrapper-dropdown.active span.chevron.bottom:before {
  transform: rotate(-45deg);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hgt-breakpoints {
    left: 245px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hgt-breakpoints {
    left: 132px;
  }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
  .hgt-breakpoints {
    display: none;
  }
}

