﻿img {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  vertical-align: middle;
  /* 3 */
  border: 0;
  /* 4 */
}
[class*="am-avg-"] {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}
[class*="am-avg-"]:before,
[class*="am-avg-"]:after {
  content: " ";
  display: table;
}
[class*="am-avg-"]:after {
  clear: both;
}
[class*="am-avg-"] > li {
  display: block;
  height: auto;
  float: left;
}
@media only screen {
  .am-avg-sm-2 > li {
    width: 50%;
  }
  .am-avg-sm-2 > li:nth-of-type(n) {
    clear: none;
  }
  .am-avg-sm-2 > li:nth-of-type(2n + 1) {
    clear: both;
  }
}
@media only screen and (min-width:641px) {
  .am-avg-md-3 > li {
    width: 33.33333333%;
  }
  .am-avg-md-3 > li:nth-of-type(n) {
    clear: none;
  }
  .am-avg-md-3 > li:nth-of-type(3n + 1) {
    clear: both;
  }
}
@media only screen and (min-width:1025px) {
  .am-avg-lg-4 > li {
    width: 25%;
  }
  .am-avg-lg-4 > li:nth-of-type(n) {
    clear: none;
  }
  .am-avg-lg-4 > li:nth-of-type(4n + 1) {
    clear: both;
  }

}
.am-gallery {
  padding: 5px 5px 0 5px;
  margin: 0;
  list-style: none;
}
.am-gallery h3 {
  margin: 0;
}
[data-am-gallery*='pureview'] img {
  cursor: pointer;
}
.am-gallery-default > li {
  padding: 5px;
}
.am-gallery-default .am-gallery-item img {
  width: 100%;
  height: auto;
}
.am-gallery-default .am-gallery-title {
  margin-top: 10px;
  font-weight: normal;
  font-size: 1.4rem;
  display: block;
  word-wrap: normal;
  /* for IE */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #555555;
}
.am-gallery-default .am-gallery-desc {
  color: #999999;
  font-size: 1.2rem;
}
.am-gallery-overlay > li {
  padding: 5px;
}
.am-gallery-overlay .am-gallery-item {
  position: relative;
}
.am-gallery-overlay .am-gallery-item img {
  width: 100%;
  height: auto;
}
.am-gallery-overlay .am-gallery-title {
  font-weight: normal;
  font-size: 1.4rem;
  color: #FFF;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  text-indent: 5px;
  height: 30px;
  line-height: 30px;
  display: block;
  word-wrap: normal;
  /* for IE */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.am-gallery-overlay .am-gallery-desc {
  display: none;
}
.am-gallery-bordered > li {
  padding: 5px;
}
.am-gallery-bordered .am-gallery-item {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
  padding: 5px;
}
.am-gallery-bordered .am-gallery-item img {
  width: 100%;
  height: auto;
}
.am-gallery-bordered .am-gallery-title {
  margin-top: 10px;
  font-weight: normal;
  font-size: 1.4rem;
  color: #555555;
  display: block;
  word-wrap: normal;
  /* for IE */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.am-gallery-bordered .am-gallery-desc {
  color: #999999;
  font-size: 1.2rem;
}
.am-gallery-imgbordered > li {
  padding: 5px;
}
.am-gallery-imgbordered .am-gallery-item img {
  width: 100%;
  height: auto;
  border: 3px solid #FFF;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
}
.am-gallery-imgbordered .am-gallery-title {
  margin-top: 10px;
  font-weight: normal;
  font-size: 1.4rem;
  color: #555555;
  display: block;
  word-wrap: normal;
  /* for IE */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.am-gallery-imgbordered .am-gallery-desc {
  color: #999999;
  font-size: 1.2rem;
}
/*  PureView Plugin  */
.am-pureview {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 920;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  overflow: hidden;
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
  -webkit-transform: translate(0, 100%);
      -ms-transform: translate(0, 100%);
          transform: translate(0, 100%);
}
.am-pureview.am-active {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
}
.am-pureview ul,
.am-pureview ol {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.am-pureview-slider {
  overflow: hidden;
  height: 100%;
}
.am-pureview-slider li {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  vertical-align: middle;
  -webkit-transition: all .3s linear;
  transition: all .3s linear;
  z-index: 100;
  visibility: hidden;
}
.am-pureview-slider li.am-pureview-slide-prev {
  -webkit-transform: translate(-100%, 0);
      -ms-transform: translate(-100%, 0);
          transform: translate(-100%, 0);
  z-index: 109;
}
.am-pureview-slider li.am-pureview-slide-next {
  -webkit-transform: translate(100%, 0);
      -ms-transform: translate(100%, 0);
          transform: translate(100%, 0);
  z-index: 109;
}
.am-pureview-slider li.am-active {
  position: relative;
  z-index: 110;
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
  visibility: visible;
}
.am-pureview-slider .pinch-zoom-container {
  width: 100%;
  z-index: 921;
}
.am-pureview-slider .am-pinch-zoom {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.am-pureview-slider .am-pinch-zoom:after {
  display: inline-block;
  font: normal normal normal 1.6rem/1 "FontAwesome", sans-serif;
  /*font-weight: normal; // 2
  font-style: normal; // 2
  vertical-align: baseline; // 3
  line-height: 1; // 4*/
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
  content: "\f110";
  -webkit-animation: icon-spin 2s infinite linear;
          animation: icon-spin 2s infinite linear;
  font-size: 24px;
  line-height: 24px;
  color: #eee;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -12px;
  z-index: 1;
}
.am-pureview-slider .am-pinch-zoom.am-pureview-loaded:after {
  display: none;
}
.am-pureview-slider img {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  z-index: 200;
  -webkit-user-drag: none;
  -webkit-transition: opacity 0.2s ease-in;
  transition: opacity 0.2s ease-in;
}
.am-pureview-slider img.am-img-loaded {
  opacity: 1;
}
.am-pureview-direction {
  position: absolute;
  top: 50%;
  width: 100%;
  margin-top: -18px !important;
  z-index: 922;
}
.am-touch .am-pureview-direction,
.am-pureview-only .am-pureview-direction {
  display: none;
}
.am-pureview-direction li {
  position: absolute;
  width: 36px;
  height: 36px;
}
.am-pureview-direction a {
  display: block;
  width:36px;
  height: 36px;
  color: #ccc;
  background-color:#ccc;
  border-radius:50%;
  opacity: 0.5;
  cursor: pointer;
  text-align: center;
  z-index: 925;
}
.am-pureview-direction a:before {
  content: "\f137";
  line-height: 36px;
  font-size: 24px;
}
.am-pureview-direction a:hover {
  opacity: 1;
}
.am-pureview-direction .am-pureview-prev {
  left: 15px;
}
.am-pureview-direction .am-pureview-next {
  right: 15px;
}
.am-pureview-direction .am-pureview-next a:before {
  content: "\f138";
}
.am-pureview-bar {
  position: absolute;
  bottom: 0;
  height: 45px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  color: #eeeeee;
  line-height: 45px;
  padding: 0 10px;
  font-size: 14px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.am-pureview-bar .am-pureview-title {
  display: block;
  word-wrap: normal;
  /* for IE */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 6px;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.am-pureview-bar .am-pureview-total {
  font-size: 10px;
  line-height: 48px;
}
.am-pureview-actions {
  position: absolute;
  z-index: 930;
  left: 0;
  right: 0;
  top: 0;
  height: 45px;
  background-color: rgba(0, 0, 0, 0.35);
}
.am-pureview-actions a {
  position: absolute;
  left: 10px;
  color: #ccc;
  display: block;
  width: 45px;
  line-height: 45px;
  text-align: left;
  font-size: 16px;
}
.am-pureview-actions a:hover {
  color: #fff;
}
.am-pureview-actions [data-am-toggle="share"] {
  left: auto;
  right: 10px;
}
.am-pureview-bar,
.am-pureview-actions {
  opacity: 0;
  -webkit-transition: all .15s;
  transition: all .15s;
  z-index: 930;
}
.am-pureview-bar-active .am-pureview-bar,
.am-pureview-bar-active .am-pureview-actions {
  opacity: 1;
}
.am-pureview-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 931;
}
.am-pureview-bar-active .am-pureview-nav {
  display: none;
}
.am-pureview-nav li {
  display: inline-block;
  background: #ccc;
  background: rgba(255, 255, 255, 0.5);
  width: 8px;
  height: 8px;
  margin: 0 3px;
  border-radius: 50%;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}
.am-pureview-nav .am-active {
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
}
[data-am-pureview] img {
  cursor: pointer;
}
.am-pureview-active {
  overflow: hidden;
}
.am-icon-chevron-left:before {
    content:" ";display:inline-block;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);border-width:2px 2px 0 0;border-color:#fff;border-style:solid;width:12px;height:12px;position:relative;top:-1px;margin-left:.3em;
}
.am-pureview-direction .am-pureview-prev a:before {
    content:" ";display:inline-block;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);border-width:2px 2px 0 0;border-color:#fff;border-style:solid;width:12px;height:12px;position:relative;top:7px;margin-left:2px;
}
.am-pureview-direction .am-pureview-next a:before {
    content:" ";display:inline-block;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px 2px 0 0;border-color:#fff;border-style:solid;width:12px;height:12px;position:relative;top:7px;margin-left:-2px;
}

