/* Info hotspot */

.vid-hotspot {
  line-height: 1.2em;
  opacity: 0.9;
  transition: opacity 0.2s 0.2s;
}

.no-touch .vid-hotspot:hover {
  opacity: 1;
  transition: opacity 0.2s;
}

.vid-hotspot.visible {
  opacity: 1;
}

.vid-hotspot .vid-hotspot-header {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background-color: rgb(103,165,32);
  cursor: pointer;
  transition: width 0.3s ease-in-out 0.5s,
              border-radius 0.3s ease-in-out 0.5s;
}

.mobile .vid-hotspot .vid-hotspot-header {
  width: 60px;
  height: 60px;
  border-radius: 30px;
}

.desktop.no-touch .vid-hotspot .vid-hotspot-header:hover {
  width: 520px;
  border-radius: 5px;
  transition: width 0.3s ease-in-out,
              border-radius 0.3s ease-in-out;
}

.desktop .vid-hotspot.visible .vid-hotspot-header,
.desktop.no-touch .vid-hotspot.visible .vid-hotspot-header:hover {
  width: 520px;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  transition: width 0.3s ease-in-out,
              border-radius 0.3s ease-in-out;
}

.vid-hotspot .vid-hotspot-icon-wrapper {
  width: 44px;
  height: 44px;
}

.mobile .vid-hotspot .vid-hotspot-icon-wrapper {
  width: 44px;
  height: 44px;
}

.vid-hotspot .vid-hotspot-icon {
  width: 90%;
  height: 90%;
  margin: 23%;
}

.vid-hotspot .vid-hotspot-title-wrapper {
  position: absolute;
  left: 54px;
  top: 12px;
  width: 0;
  height: 40px;
  padding: 0;
  overflow: hidden;
  transition: width 0s 0.4s,
              padding 0s 0.4s;
}

.desktop .vid-hotspot.visible .vid-hotspot-title-wrapper,
.desktop.no-touch .vid-hotspot .vid-hotspot-header:hover .vid-hotspot-title-wrapper {
  width: 520px;
  padding: 0 5px;
  transition: width 0s 0.4s,
              padding 0s 0.4s;
}

.vid-hotspot .vid-hotspot-title-wrapper:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.vid-hotspot .vid-hotspot-title {
  display: inline-block;
  vertical-align: middle;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.vid-hotspot .vid-hotspot-close-wrapper {
  position: absolute;
  left: 460px;
  top: 0;
  height: 60px;
  width: 60px;
  border-top-right-radius: 5px;
  /* background-color: rgb(78,88,104); */
  background-color: rgb(103,165,32);
  visibility: hidden;
  -ms-transform: perspective(200px) rotateY(90deg);
  -webkit-transform: perspective(200px) rotateY(90deg);
  transform: perspective(200px) rotateY(90deg);
  -ms-transform-origin: 0 50% 0;
  -webkit-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0.6s;
  -webkit-transition: -webkit-transform 0.3s 0.3s,
                      visibility 0s 0.6s;
}

.desktop .vid-hotspot.visible .vid-hotspot-close-wrapper {
  visibility: visible;
  -ms-transform: perspective(200px) rotateY(0deg);
  -webkit-transform: perspective(200px) rotateY(0deg);
  transform: perspective(200px) rotateY(0deg);
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0s;
  -webkit-transition: -webkit-transform 0.3s,
                      visibility 0s 0s;
}

.vid-hotspot .vid-hotspot-close-icon {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.vid-hotspot-reveal-content vidcapinfo{
  background-color: rgba(58,68,84,0.6);
}

.vid-hotspot .vid-hotspot-vdo {
  width: 520px;
  height: 320px;
  max-height: 320px;
  padding: 20px;
  background-color: rgb(13,33,19);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
.vid-hotspot .vid-hotspot-vdo {
  position: absolute;
  width: 520px;
  height: 320px;
  max-height: 320px;
  top: -320px;
  left: 0;
  padding: 20px;
  background-color: rgb(13,33,19);
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
	border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  overflow-y: auto;
  visibility: hidden;
  -ms-transform: perspective(200px) rotateX(90deg);
  -webkit-transform: perspective(200px) rotateX(90deg);
  transform: perspective(200px) rotateX(90deg);
  -ms-transform-origin: bottom center;
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0.3s;
  -webkit-transition: -webkit-transform 0.3s,
                      visibility 0s 0.3s;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.desktop .vid-hotspot.visible .vid-hotspot-vdo {
  visibility: visible;
  -ms-transform: perspective(200px) rotateX(0deg);
  -webkit-transform: perspective(200px) rotateX(0deg);
  transform: perspective(200px) rotateX(0deg);
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0s;
  -webkit-transition: -webkit-transform 0.3s 0.3s,
                      visibility 0s 0s;
}
/*
.vid-hotspot .vid-hotspot-vdo {
  position: absolute;
  width: 520px;
  height: 320px;
  max-height: 320px;
  top: 60px;
  left: 0;
  padding: 20px;
  background-color: rgb(13,33,19);
  border-radius: 5px;
  overflow-y: auto;
  visibility: hidden;

  -ms-transform: rotateX(-90deg);
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -ms-transform-origin: 50% 0 0;
  -webkit-transform-origin: 50% 0 0;
  transform-origin: 50% 0 0;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0.3s;
  -webkit-transition: -webkit-transform 0.3s,
                      visibility 0s 0.3s;

}

.desktop .vid-hotspot.visible .vid-hotspot-vdo {
  visibility: visible;

  -ms-transform: rotateX(0deg);
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0s;
  -webkit-transition: -webkit-transform 0.3s 0.3s,
                      visibility 0s 0s;
}*/
.vid-hotspot .vid-hotspot-text {
  width: 520px;
  height: auto;
  max-height: 320px;
  padding: 20px;
  background-color: rgb(13,33,19);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
.vid-hotspot .vid-hotspot-text {
  position: absolute;
  width: 520px;
  height: auto;
  max-height: 320px;
  top: 60px;
  left: 0;
  padding: 20px;
  background-color: rgb(13,33,19);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  overflow-y: auto;
  visibility: hidden;
  -ms-transform: perspective(200px) rotateX(-90deg);
  -webkit-transform: perspective(200px) rotateX(-90deg);
  transform: perspective(200px) rotateX(-90deg);
  -ms-transform-origin: 50% 0 0;
  -webkit-transform-origin: 50% 0 0;
  transform-origin: 50% 0 0;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0.3s;
  -webkit-transition: -webkit-transform 0.3s,
                      visibility 0s 0.3s;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.desktop .vid-hotspot.visible .vid-hotspot-text {
  visibility: visible;
  -ms-transform: perspective(200px) rotateX(0deg);
  -webkit-transform: perspective(200px) rotateX(0deg);
  transform: perspective(200px) rotateX(0deg);
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0s;
  -webkit-transition: -webkit-transform 0.3s 0.3s,
                      visibility 0s 0s;
}

/*.vid-hotspot .vid-hotspot-text {
  position: absolute;
  width: 520px;
  height: 320px;
  max-height: 320px;
  top: -300px;
  left: 0;
  padding: 20px;
  background-color: rgb(13,33,19);
  border-radius: 5px;
  overflow-y: auto;
  visibility: hidden;

  -ms-transform: rotateX(-90deg);
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -ms-transform-origin: 50% 0 0;
  -webkit-transform-origin: 50% 0 0;
  transform-origin: 50% 0 0;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0.3s;
  -webkit-transition: -webkit-transform 0.3s,
                      visibility 0s 0.3s;

}

.desktop .vid-hotspot.visible .vid-hotspot-text {
  visibility: visible;

  -ms-transform: rotateX(0deg);
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0s;
  -webkit-transition: -webkit-transform 0.3s 0.3s,
                      visibility 0s 0s;
}*/

.controls {
  width: 100%;
}

/* Info hotspot modal */

.desktop .vid-hotspot-modal {
  display: none;
}

.vid-hotspot-modal {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 11000 !important;
  background-color: rgba(0,0,0,.5);
  line-height: 1.2em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out 0.5s,
              visibility 0s 0.7s;
}

.vid-hotspot-modal.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-in-out,
              visibility 0s 0s;
}

.vid-hotspot-modal .vid-hotspot-header {
  position: absolute;
  top: 60px;
  left: 10px;
  right: 10px;
  width: auto;
  height: 50px;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
  opacity: 0;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.vid-hotspot-modal.visible .vid-hotspot-header {
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.vid-hotspot-modal .vid-hotspot-icon-wrapper {
  width: 50px;
  height: 50px;
}

.vid-hotspot-modal .vid-hotspot-icon {
  width: 90%;
  height: 90%;
  margin: 5%;
}

.vid-hotspot-modal .vid-hotspot-title-wrapper {
  position: absolute;
  top: 0;
  left: 50px;
  right: 50px;
  width: auto;
  height: 50px;
  padding: 0 10px;
}

.vid-hotspot-modal .vid-hotspot-title-wrapper:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.vid-hotspot-modal .vid-hotspot-title {
  display: inline-block;
  vertical-align: middle;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.vid-hotspot-modal .vid-hotspot-close-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: rgb(78,88,104);
  background-color: rgba(78,88,104,0.8);
  cursor: pointer;
}

.vid-hotspot-modal .vid-hotspot-close-icon {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.vid-hotspot-modal .vid-hotspot-vdo {
  position: absolute;
  width: 95%;
  height: auto;
  top: 110px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.vid-hotspot-modal.visible .vid-hotspot-vdo {
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.4s;
}
/*
.vid-hotspot-modal .vid-hotspot-vdo {
  position: absolute;
  top: 110px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.vid-hotspot-modal.visible .vid-hotspot-vdo {
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.4s;
}
*/
/*.vid-hotspot-modal .vid-hotspot-text {
  position: absolute;
  top: 110px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.vid-hotspot-modal.visible .vid-hotspot-text {
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.4s;
}*/

.vid-hotspot-modal .vid-hotspot-text {
	/*display: none;*/
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
	
}

.vid-hotspot-modal.visible .vid-hotspot-text {
	/*display: none;*/
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.4s;

	}