/*NEW SLIDESHOW*/
.owl-carousel .owl-wrapper, .owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

* {
  -webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
  -moz-box-sizing: border-box; /* Firefox 1 - 28 */
  box-sizing: border-box;
}

body, html {
  height: 100%;
}

.node-type-media-gallery .col-md-3 {
  position: static;
}

/*.node-type-media-gallery .desktopHeader, .node-type-media-gallery .desktopHeader.sticky {
	color: #000;
	display: block;
	position: fixed;
	width: 100%;
	z-index: 999999;
}*/
/*.node-type-media-gallery .desktopHeader {
  height: 50px;
}*/

.node-type-media-gallery .author {
  margin-left: 2px;
}

.node-type-media-gallery h1.mobile {
  display: block;
  margin: 55px auto 0;
  text-align: center;
}

.slideshowAuthor.mobile,
.sponsorLogoGallery.mobile {
  text-align: center;
}

.sponsorLogoGallery.mobile {
  margin-bottom: 20px;
}

.node-type-media-gallery .mainLogo {
  vertical-align: bottom;
}

.node-type-media-gallery .topLogoHeader {
  margin-left: 75px;
}

.node-type-media-gallery .slideshowWrap {
  padding-top: 65px;
  padding-bottom: 60px;
}

.node-type-media-gallery .galleryWrap {
  position: relative;
}

.node-type-media-gallery .gridicon {
  position: absolute;
  bottom: 8px;
  right: 0;
  z-index: 1;
}

.node-type-media-gallery .slideshowAuthor {
  line-height: 30px;
}

.node-type-media-gallery .caption {
  position: absolute;
  bottom: 0;
  background-color: rgba(206, 206, 206, 0.76);
  color: #000;
  width: 90%;
  z-index: 1;
  padding: 0 15px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.node-type-media-gallery .owl-carousel .owl-item img {
  margin-bottom: 38px;
}

.node-type-media-gallery .caption.activeCaption {
  background-color: #FFFFFF;
  /*height:112px;*/
  max-height: 60vh;
  overflow-y: auto;
  border: 1px solid #AAAAAA;
}

.node-type-media-gallery .caption iframe {
  display: block;
  margin: 0 auto;
  padding-bottom: 30px;
}

.node-type-media-gallery .owl-thumb-item {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  /*  opacity: .4;*/
  cursor: pointer;
}

.node-type-media-gallery .owl-prev.disabled {
  opacity: 0.2;
}

.node-type-media-gallery .owl-carousel img {
  max-height: 60vh;
  display: block;
  max-width: 100%;
  width: inherit !important;
  margin: 0 auto;
  border: 1px solid #cccccc;
}

/*.node-type-media-gallery .owl-nav {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 100%;
}*/
.node-type-media-gallery .owl-prev {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
}

.node-type-media-gallery .owl-next {
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
}

.owl-prev, .owl-prev:hover {
  background-image: url(../images/leftarrow.svg);
  background-repeat: no-repeat;
  width: 38px;
  height: 38px;
  background-color: transparent;
  color: transparent;
}

.owl-next, .owl-next:hover {
  background-image: url(../images/rightarrow.svg);
  background-repeat: no-repeat;
  width: 38px;
  height: 38px;
  background-color: transparent;
  color: transparent;
}

.node-type-media-gallery .owl-thumbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #191919;
  padding: 10px 0 0 10px;
  /*min-height: 60vh;*/
  z-index: 9;
  height: 60vh;
  overflow-y: scroll;
  margin: 0 15px;
  border: 1px solid #555252;
}

.node-type-media-gallery .owl-thumb-item img {
  height: 120px;
  width: auto;
  max-width: 100%;
  margin: 0 10px 10px 0;
}

.node-type-media-gallery .inner {
  position: relative;
  height: auto;
}

.node-type-media-gallery .full-height {
  height: 100%;
}

.node-type-media-gallery .moreIcon {
  float: right;
  width: 100px;
  height: 20px;
  display: block;
  /*background-image: url(../images/plus.png);*/
  background-repeat: no-repeat;
  cursor: pointer;
  margin-top: 7px;
}

.node-type-media-gallery .introBar {
  font-size: 24px;
}

.node-type-media-gallery .caption.activeCaption .moreIcon {
  /*background-image: url(../images/minus.png);*/
}

.node-type-media-gallery .sponsorLogoGallery img {
  max-height: 42px;
  overflow: hidden;
}

.node-type-media-gallery .bottomStacked {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sponsorLogoGallery {
  position: absolute;
  top: 5px;
  right: 0;
}

_:-ms-lang(x), .topLogoHeader img {
  display: inherit;
}

/*shadow*/
.node-type-media-gallery .box-shadow {
  -webkit-box-shadow: 0 0 6px 2px #999999;
  -moz-box-shadow: 0 0 6px 2px #999999;
  box-shadow: 0 0 6px 2px #999999;
}

/*RELATED PAGE*/
.relatedWrap .replay {
  width: 100%;
  height: 60px;
  display: block;
  border: 1px solid #a2a2a2;
  text-align: center;
  line-height: 50px;
  text-transform: uppercase;
}

.relatedWrap .replay img {
  margin-right: 10px;
  margin-top: 0
}

.owl-carousel iframe {
  display: block;
  border: 0;
  max-width: 100%;
  margin: 0 auto;
}

.node-type-media-gallery #adBottom {
  text-align: center;
  margin: 0 auto;
}

/*IE10+ BUG FIX
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .topLogoHeader {
    display: inline-flex;
  }
}*/

/*DESKTOP*/
@media screen and (min-width: 992px) and (max-width: 9999px) {
  .node-type-media-gallery .desktopHeader.sticky .navbar-toggle .icon-bar {
    height: 8px;
    width: 50px;
  }

  .node-type-media-gallery .navbar-toggle, .node-type-media-gallery .desktopHeader.sticky .navbar-toggle {
    margin-top: 0;
    padding: 5px 10px;
  }

  .node-type-media-gallery .desktopHeader, .node-type-media-gallery .desktopHeader.sticky {
    height: 50px !important;
  }

  .node-type-media-gallery .topLogoHeader img, .node-type-media-gallery .desktopHeader.sticky .topLogoHeader img {
    margin: 0;
    display: inline-table;
    width: auto;
    height: 40px;
  }

  .readmore iframe {
    max-width: 480px !important;
    max-height: 360px !important;
  }

  .relatedWrap .panel-body {
    height: 150px;
    overflow: hidden;
  }

  .node-type-media-gallery .articleTitle {
    font-size: 29px;
  }

  .node-type-media-gallery .topLogoHeader {
    display: inline-flex;
  }

  .node-type-media-gallery .titleAuthor {
    margin-left: 20px;
    vertical-align: top;
  }

  .node-type-media-gallery h1.articleTitle {
    padding: 0;
    line-height: normal;
  }
}

/*TABLETS POTRAIT*/
@media screen and (min-width: 768px) and (max-width: 991px) {
  .node-type-media-gallery .topLogoHeader {
    text-align: center;
  }

  .titleAuthor.desktop {
    display: none;
  }

  .node-type-media-gallery .desktopHeader .topLogoHeader img {
    width: 85px;
  }

  .node-type-media-gallery .topLogoHeader {
    margin: 0;
  }

  .node-type-media-gallery .slideshowAuthor {
    font-size: 16px;
    line-height: normal;
  }

  .node-type-media-gallery h1.articleTitle {
    padding: 0;
    line-height: normal;
    margin: 53px 0 0 20px;
    font-size: 24px;
  }
}

/*TABLET LANDSCAPE*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .node-type-media-gallery .owl-thumbs,
  .node-type-media-gallery .gridicon {
    display: none;
  }

  .node-type-media-gallery #adBottom {
    left: 0;
    position: fixed;
    text-align: center;
    bottom: 0;
    width: 100%;
    z-index: 999;
    height: 110px;
    line-height: 110px;
    color: #fff;
    text-transform: uppercase;
    content: '';
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    padding: 10px 0 0 0;
  }

  .readmore iframe {
    max-width: 480px !important;
    max-height: 360px !important;
  }
}

/*TABLETS POTRAIT*/
@media screen and (min-width: 768px) and (max-width: 991px) {
  .node-type-media-gallery #adBottom {
    left: 0;
    position: fixed;
    text-align: center;
    bottom: 0;
    width: 100%;
    z-index: 999;
    height: 110px;
    line-height: 110px;
    color: #fff;
    text-transform: uppercase;
    content: '';
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    padding: 10px 0 0 0;
  }

  .readmore iframe {
    max-width: 480px !important;
    max-height: 360px !important;
  }
}

/*MOBILE AND TABLETS*/
@media screen and (max-width: 768px) {
  .node-type-media-gallery .owl-thumbs,
  .node-type-media-gallery .gridicon,
  .titleAuthor.desktop {
    display: none;
  }

  .node-type-media-gallery .sponsorLogoGallery {
    position: inherit;
    text-align: center;
  }
}

/*MOBILE LANDSCAPE*/
@media screen and (min-width: 481px) and (max-width: 767px) {
  .owl-carousel iframe {
    width: 95%;
    height: 100%;
    margin: 0 auto;
    border-bottom: 4px solid #000000;
  }
}

/*MOBILE*/
@media screen and (min-width: 1px) and (max-width: 480px) {
  .owl-carousel iframe {
    width: 95%;
    height: 100%;
    margin: 0 auto;
    border-bottom: 4px solid #000000;
  }

  .node-type-media-gallery .navbar-toggle {
    margin-top: 9px;
    padding: 5px 10px;
  }

  .desktopHeader .topLogoHeader img.mobileLogo {
    height: auto;
    margin: 7px auto 0;
    width: 81px;
  }

  /*.node-type-media-gallery .owl-nav {
    top: 12px;
  }*/
  .node-type-media-gallery .owl-prev,
  .node-type-media-gallery .owl-next {
    top: 12px;
  }

  .node-type-media-gallery .owl-item img {
    margin-top: 35px;
  }

  .node-type-media-gallery .owl-carousel .owl-item img {
    margin-bottom: 0;
    min-height: 210px;
  }

  .gridicon {
    display: none;
  }

  .node-type-media-gallery .share {
    text-align: right;
  }

  .node-type-media-gallery .slideshowWrap {
    padding-top: 30px;
  }

  .node-type-media-gallery .desktopHeader {
    height: 40px;
  }

  .node-type-media-gallery .topLogoHeader {
    margin-left: 0;
  }

  .node-type-media-gallery .share img {
    width: 250px;
    height: auto;
  }

  .node-type-media-gallery .onlymobile, .node-type-media-gallery .adBottom {
    display: block !important;
  }

  .node-type-media-gallery .owl-next.disabled, .node-type-media-gallery .owl-prev.disabled {
    opacity: 0.1;
  }

  /*RELATED PAGE*/
  .relatedWrap .replay {
    margin-top: 55px;
  }
}

/*MOBILE STICKY 320×50 pixels ads*/
@media only screen and (min-width: 310px) and (max-width: 500px) {
  .node-type-media-gallery #adBottom {
    left: 0;
    position: fixed;
    text-align: center;
    bottom: 0;
    width: 100%;
    z-index: 999;
    height: 60px;
    line-height: 60px;
    color: #fff;
    text-transform: uppercase;
    content: '';
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter: progid:DXImageTransform.Microsoft.gradient (startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    padding: 5px 0 0 0;
    margin: 0;
  }
}

/*PLACE TEMPORARY CSS HERE*/
