html,
body {
    margin: 0;
    padding: 0;
    background-color: #FFF;
}

body {
    font-family: 'Lato', sans-serif;
}

.ae-model-container {
    width: 100%;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    position: relative;
}

#ae-model-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  z-index: 10;
  transition: opacity .4s ease, z-index .1s linear .6s;
  background-image: url(../images/preview.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: auto calc(100% - 90px);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #FFF;
}

@media (max-width: 576px) {
  #ae-model-preview {
    background-image: url(../images/preview-mobile.jpg);
    background-size: 100vw auto;
    background-position: center center;
  }
}

#ae-model-preview.ae-hide {
  opacity: 0;
  z-index: -10;
}

#ae-model-preview #ae-360-icon {
    width: 100%;
    height: 100%;
    background-image: url(../images/icons/360.svg);
  background-position: center 43%;
  background-repeat: no-repeat;
  background-size: 200px 200px;
  background-color: rgba(255, 255, 255, .3);
}

@media (max-width: 576px) { 
  #ae-model-preview #ae-360-icon { 
    background-size: 100px 100px;
    background-position: center center;
  }
}

#close {
  background-image: url(../images/icons/close.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0px;
  right: 70px;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 576px) { 
  #close {
    top: 0;
    right: 10px;
  }
}

#close::before {
  display: none !important;
}

.ae-container-fullscreen {
    height: 100vh; /* 96vh */;
}

.ae-model-container iframe {
    height: calc(100% - 90px);
}

.ae-controls {
    /* position: absolute;
    bottom:20px;
    left:20px; 
    z-index: 10; */
    text-align: center;
}

button {
    display: inline-block;
    font-weight: 400;
    color: #0a1a32;
    background-color: transparent !important;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1px;
    border-radius: 0;
    cursor: pointer;
    margin: 0 8px;
    padding: 0 8px;
    height: 74px;
    position: relative;
    font-family: 'Lato', sans-serif;
}

button[disabled],
button:hover {
    font-weight: 700;
   
    
}

button[disabled]:before,
button:hover:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0a1a32;
    height: 3px;
    bottom: 0;
} 

button[disabled] {
    cursor: pointer !important;
}

button.hidden {
    display: none !important;
}

.ae-btn-fullscreen {
    background-color: transparent !important;
    background-image: url(../images/icons/open-fullscreen.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    width: 18px; 
    height: 18px;
    padding: 0; 
    border: none !important;
    transition: background-image linear .3s;
}

.ae-btn-close-fullscreen { 
    background-image: url(../images/icons/close-fullscreen.svg);
}

.ae-btn-fullscreen:hover:before {
    display: none !important;
}

/*** popper ***/

#tooltip {
    background: #333;
    color: white;
    font-weight: normal;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
    display: none;
    font-family: 'Lato', sans-serif;
  }

  #tooltip[data-show] {
    display: block;
  }

  #arrow,
  #arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
  }

  #arrow {
    visibility: hidden;
  }

  #arrow::before {
    visibility: visible;
    content: '';
    transform: rotate(45deg);
  }

  #tooltip[data-popper-placement^='top'] > #arrow {
    bottom: -4px;
  }

  #tooltip[data-popper-placement^='bottom'] > #arrow {
    top: -4px;
  }

  #tooltip[data-popper-placement^='left'] > #arrow {
    right: -4px;
  }

  #tooltip[data-popper-placement^='right'] > #arrow {
    left: -4px;
  }

  @media (max-width: 991.98px) {
    .ae-btn-fullscreen {
      display: none;
    }
  }

