div.video-toggle-container,
.product-video-toggle {
  display: inline-block;
}
div.video-toggle-container.desktop {
  width: 21.25%;
  margin: 8px 6px 6px;
  background-color: #CCCCCC;
  height: 96px;
  vertical-align: bottom;
  padding-bottom: 4px;
}
body.catalog-product-view .product.media > .video-toggle-container.desktop {
  position: absolute;
  left: 26.5px;
  bottom: 39.5px;
  border-top: 5px solid #ffffff;
}
body.catalog-product-view div.MagicToolboxSelectorsContainer div.video-toggle-container.desktop {
  background-size: cover;
  background-repeat: no-repeat;
}
body.catalog-product-view div.MagicToolboxSelectorsContainer div.video-toggle-container a.img-wrapper {
  height: 100% !important;
  width: 100% !important;
}
div.video-toggle-container.thumbnail {
  width: 77px !important;
  height: 121px !important;
  border: 0;
  border-radius: 0;
  margin: 0 auto !important;
}
div.video-toggle-container.thumbnail.mobile .product-video-toggle {
  width: unset;
  top: 19%;
  margin: 0 auto;
}
div.video-toggle-container.thumbnail.mobile.has-thumbnail {
  border-top: 5px solid #ffffff;
}
div.video-toggle-container.thumbnail.desktop img.product-video-toggle {
  margin-top: unset;
  top: 19%;
}
.product-video-toggle {
  position: relative;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}
.product-video-toggle.desktop {
  margin-top: 25%;
}
.product-video-toggle.mobile {
  background-color: unset;
  background-image: url('../../images/product/pdp_video_play_icon__black.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50%;
  width: 40px;
  margin: 10px 0 0 10px;
}
.product-video-toggle span {
  font-size: .1em;
  visibility: hidden;
}
/* toggles redesign 1/6/2022*/
.video-toggle-text-button-container {
  display: inline-block;
  /* REDESIGN MAR 2025 */
  text-align: left;
  text-transform: uppercase;
}
.video-toggle-text-button-container.desktop {
  /* UPDATE 3/10/23: moved video template to parent product.view container ('.product-view'), which means changing the CSS */
  /* commenting out the 5 initial rules below and adding a few more which rely on media queries */
  /*position: absolute;
        right: 0;
        bottom: 0;
        width: 41.1%;
        left: -46%;*/
}
.video-toggle-text-button-container.desktop.align-left {
  margin-left: 10px;
  display: none;
}
@media screen and (min-width: 1212px) {
  .video-toggle-text-button-container.desktop.align-left {
    margin-top: -25px;
  }
}
@media screen and (max-width: 1211px) {
  .video-toggle-text-button-container.desktop.align-left {
    margin-top: -38px;
  }
}
@media screen and (max-width: 1031px) {
  .video-toggle-text-button-container.desktop.align-left {
    margin-top: -23px;
  }
}
.video-toggle-text-button-container.desktop.align-center {
  /* REDESIGN FEB 2025 */
  position: relative !important;
  left: 100px !important;
  text-align: left;
}
@media screen and (max-width: 1031px) {
  .video-toggle-text-button-container.desktop {
    font-size: 0.85em;
  }
}
@media screen and (max-width: 920px) {
  .video-toggle-text-button-container.desktop {
    font-size: 0.75em;
  }
}
@media screen and (max-width: 990px) {
  .video-toggle-text-button-container.desktop {
    position: unset;
    width: unset;
    text-align: center;
    margin-top: 5px;
  }
}
.video-toggle-text-button-container.mobile {
  /* REDESIGN MAR 2025 */
  padding: 0.5em 0 0;
}
.video-toggle-text-button-container.mobile p {
  width: 100%;
  border-bottom: none;
}
.video-toggle-text-button-container.mobile p span {
  border-bottom: 1px solid;
  visibility: visible;
  font-size: 0.8em;
}
.video-toggle-text-button-container .video-toggle-text-button {
  font-weight: bold;
  margin: 0;
  width: auto;
  border-bottom: 1px solid;
  line-height: normal;
  cursor: pointer;
}
.video-container {
  display: none;
  /* DESIGN UPDATE (3/24/22): full screen video container by default */
  position: fixed !important;
  left: 0;
  bottom: 0;
  width: 100% !important;
  background: rgba(0, 0, 0, 0.95) !important;
  padding: 5%;
  z-index: 1000 !important;
}
.video-container.portrait {
  top: 0;
  /*background: rgba(0,0,0,0.9);*/
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 100%;
  position: absolute;
  /*z-index: 10000;*/
  z-index: 900;
  /*display: none;*/
}
.video-container.portrait .video-container-btn-close {
  position: absolute;
}
.video-container.landscape {
  top: 0;
  padding-top: 5em;
  /*background: rgba(0,0,0,0.9);*/
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10000;
  /*display: none;*/
}
.video-container-btn-close {
  position: absolute;
  top: 50%;
  color: white;
  /*color: black;*/
  display: block;
  /*width: 100%;*/
  width: 90%;
  /*height: 20px;*/
  height: fit-content;
  padding: 0;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  margin: 10px 0;
  /*text-align: right;*/
  text-align: center;
  padding-right: 10px;
  z-index: 2000;
  /*display: none;*/
  opacity: 0;
  transition: opacity .3s;
}
.video-container-btn-close:before {
  /*
        content: "\e680";
        display: inline-block;
        font-family: "Pe-icon-7-stroke";
        font-size: 35px;
        font-weight: bold;
        line-height: 0.5em;
        */
  content: 'click to close';
  text-transform: uppercase;
  display: inline-block;
  font-family: unset;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
}
video.product-video.portrait {
  position: relative;
  height: 100%;
  left: 0;
  z-index: 1000;
}
video.product-video.landscape {
  position: relative;
  top: 20%;
  left: 0;
  z-index: 1000;
}
@media screen and (max-width: 1389px) {
  .video-container.landscape {
    padding-top: 8em;
  }
  div.video-toggle-container.desktop {
    height: 84px;
  }
}
@media screen and (max-width: 1211px) {
  div.video-toggle-container.desktop {
    height: 72px;
  }
  .video-container.portrait .video-container-btn-close {
    padding-right: 5px;
  }
}
@media screen and (max-width: 1032px) {
  div.video-toggle-container.desktop {
    height: 78px;
    width: 15%;
    margin: 8px 6px 10px 0;
  }
  .video-container.portrait {
    height: auto;
    width: 92%;
  }
  .video-container.portrait .video-container-btn-close {
    margin-top: 5px;
  }
}
@media screen and (max-width: 767px) {
  .product-video-toggle {
    /*background: none !important;*/
    /*height: unset;*/
    /*top: unset;*/
    float: left;
  }
  .video-container {
    top: 0;
    height: 100% !important;
  }
  .video-container.portrait {
    width: 100%;
  }
}
@media screen and (max-width: 476px) {
  .video-container.portrait .video-container-btn-close {
    position: relative;
  }
  video.product-video.portrait {
    height: 93%;
  }
}
