/* The Modal (background) */
.pva-vmviewer-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100 !important; /* Sit on top */
  padding-top: 0px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.pva-vmviewer-modal-content {
  position: relative;
  background-color: #fefefe;
  /* top: 5%; */
  margin: auto;
  padding: 0;
  border: 0px; /*1px solid #888; */
  width: 100%;
  /* max-width: 640px; */
  height: 100%;
  /* max-height: 640px; */
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: pva-vmviewer-animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: pva-vmviewer-animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes pva-vmviewer-animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes pva-vmviewer-animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.pva-vmviewer-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.pva-vmviewer-close:hover,
.pva-vmviewer-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.pva-vmviewer-modal-header {
  padding: 0px;
  background-color: #5cb85c;
  color: white;
}

/*.pva-vmviewer-modal-body {padding: 2px 16px;}*/
.pva-vmviewer-modal-body {
  padding: 0;
  margin: 0;
}

.pva-vmviewer-modal-footer {
  padding: 0px;
  background-color: #5cb85c;
  color: white;
}

/* vmVIEWER Modal Container */
#pva-vmviewer-myModal {
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* vmVIEWER Modal */
#pva-vmviewer-myModal .pva-vmviewer-myModal {
  opacity: 0;
  transform: translateY(-1rem);
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-delay: 0.2s;
}

/* vmVIEWER Modal Container Styles */
.pva-vmviewer-myModal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  /*align-items: center;*/
}

/* vmVIEWER Modal Body Styles */
.pva-vmviewer-myModal {
  z-index: 100000;
  background-color: white;
  width: 100%;
  /* max-width: 640px; */
  height: 100%;

  /*height: 100%;*/
  /*height: 320px;*/
  /*max-height: calc(100vh - 200px) !important;*/
  /*max-height: 480px;*/
  padding: 0;
  border-radius: 0px;
}

#pva-vmviewer-view_close_button {
  width: 32px;
  height: 32px;
  padding: 0px;
  fill: rgb(255, 255, 255);
  background-color: rgb(34, 34, 34);
  border: 0px solid rgb(255, 255, 255);
  text-shadow: rgb(0, 0, 0) 0px 1px 0px;
  text-align: center;
  vertical-align: middle;
  border-radius: 100%;
  box-sizing: content-box;
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0.85;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease 0s;
}

#pva-vmviewer-close_button {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#pva-vmviewer-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#pva-vmviewer-loading {
  z-index: 10;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 16px;
  color: black;
}

#lensselection,
#frameselection,
#environmentselection {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 15px;
}

#lensselection span,
#lensselection div,
#frameselection span,
#frameselection div,
#environmentselection span,
#environmentselection div {
  z-index: 10;
}

#lensselection div,
#frameselection div,
#environmentselection div {
  text-align: center;
  color: rgb(20, 20, 20);
  font-weight: bold;
  font-size: 12px;
  font-family: sans-serif;
  align-items: center;
  justify-content: center;
}

/*
div.color {
  top: 30px;
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  line-height: 50px;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 50%;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1),
    0px 0px 5px 1px rgba(0, 0, 0, 0.4);
}

.setmargin {
  margin: 2px;
}

div.color:hover {
  cursor: pointer;
}

.clear {
  background-image: linear-gradient(white, white);
}

.silver {
  background-image: linear-gradient(silver, silver);
}

.gold {
  background-image: linear-gradient(gold, gold);
}

.red {
  background-image: linear-gradient(red, red);
}

.blue {
  background-image: linear-gradient(blue, blue);
  color: white !important;
}

.green {
  background-image: linear-gradient(green, green);
  color: white !important;
}

.black {
  background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0));
  color: white !important;
}

span.labeltext {
  margin-right: 35px;
  text-transform: uppercase;
  font-family: sans-serif;301
  position: relative;
  color: black;
}
*/

#pva-vmviewer-header {
  position: relative;
  z-index: 2;
  max-height: 50px;
  height: 50px;
  padding: 0;
  color: white;
  background-color: black;
  font-family: "Raleway", sans-serif !important;
  font-size: 16px;
}
#pva-vmviewer-header div#pva-vmviewer-title {
  font-family: "Raleway", sans-serif !important;
  padding: 10px;
  position: absolute;
}
