@import url(https://fonts.googleapis.com/css?family=Roboto:bold,thin);
.ImpreseeGeneralModalOverlay {
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  padding: 1.2rem;
}
.ImpreseeGeneralModal {
  max-width: 800px;
  position: relative;
  padding: 1.2rem;
  background: #ffffff;
  /* background: #f7f7f7; */
  background-clip: padding-box;
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.25);
  margin: 0 auto;
}
.ImpreseeGeneralModalCenter {
  margin: auto;
}
.ImpreseeGeneralModalCloseButton {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  padding: 0;
  background-color: transparent;
  display: flex;
}
/* .ImpreseeGeneralModalCloseIcon {} */
.ImpreseeGeneralModalTransitionEnter {
  opacity: 0.01;
}
.ImpreseeGeneralModalTransitionEnterActive {
  opacity: 1;
  transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
.ImpreseeGeneralModalTransitionExit {
  opacity: 1;
}
.ImpreseeGeneralModalTransitionExitActive {
  opacity: 0.01;
  transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.ImpreseeClearCanvasButton {
  position: absolute;
  margin: 1rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  cursor: pointer;
  top: 0;
  left: 0;
}
.ImpreseeTrashCanButton {
  width: 100%;
  height: auto;
}
.ImpreseeSearchBySketchButton {
  height: auto;
  font-size: 1.2em !important;
  font-weight: bold;
  width: auto;
  color: white;
  text-align: center;
  line-height: 35px;
  border-radius: 18px;
  min-width: 10em;
  cursor: pointer;
}
.ImpreseeSearchBySketchBar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}
.ImpreseePoweredBy {
  max-height: 100%;
  width: auto;
  cursor: pointer;
  opacity: 0.5;
}
@media only screen and (min-width: 768px) {
  .ImpreseeClearCanvasButton {
    position: relative;
    margin: 0;
    z-index: 999;
    width: auto;
    height: 100%;
    cursor: pointer;
    order: 3;
  }
  .ImpreseeTrashCanButton {
    width: auto;
    height: 100%;
  }
  .ImpreseeSearchBySketchButton {
    height: 3em;
    line-height: 3em;
    border-radius: 2em;
    min-width: 11em;
  }
}
/*Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .ImpreseeSearchBySketchBar {
    padding: 10px;
  }
}

/*

.cropper-point {
  background-color: white;
  width: 30px;
  height: 30px;
  opacity: 1;
}
.cropper-line {
  background-color: white;
}
.cropper-view-box {
  outline: 2px solid white;
  outline-color: white;
}
.cropper-point.point-e {
  right: -15px;
  margin-top: -15px;
}
.cropper-point.point-n {
  top: -15px;
  margin-left: -15px;
}
.cropper-point.point-w {
  left: -15px;
  margin-top: -15px;
}
.cropper-point.point-s {
  bottom: -15px;
  margin-left: -15px;
}
.cropper-point.point-ne {
  top: -15px;
  right: -15px;
}
.cropper-point.point-nw {
  top: -15px;
  left: -15px;
}
.cropper-point.point-sw {
  bottom: -15px;
  left: -15px;
}
.cropper-point.point-se {
  right: -15px;
  bottom: -15px;
  width: 30px !important;
  height: 30px !important;
  opacity: 1;
}
*/
.cropper-container.cropper-bg,
.cropper-wrap-box {
  /* background-color: white; */
  background-color: lightgray;
}


.ImpreseeCropperButtonContainer {
  display: flex;
  height: 30px;
  margin: 20px;
  justify-content: space-between;
  align-items: flex-end;
}

.ImpreseeSearchByPhotoButton {
  height: auto;
  width: auto;
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: 15px;
  min-width: 100px;
  font-weight: bold;
  cursor: pointer;
}
.ImpreseeChangeImageContainer {
  background-color: rgb(229, 229, 229);
  border-radius: 15px;
  min-width: 50px;
  height: 30px;
  align-items: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
  display: none;
}
.ImpreseeChangeImage {
  height: 25px;
  width: auto;
  cursor: pointer;
}
.ImpreseePoweredBy {
  /* height: 20px; */
  height: 30px;
  width: auto;
  cursor: pointer;
  opacity: 0.5;
}
.ImpreseeLoadImageContainer {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ImpreseeClickOrDragAndDrop {
  height: 80%;
  width: 80%;
  position: relative;
  border-radius: 10px;
  border-style: dashed;
  border-color: #cccccc;
  border-width: 2px;
  background-color: #f2f2f2;
}

.camerabox {
  height: 65vh;
  width: 40vw;
  position: relative;
  border-radius: 10px;
  border-style: dashed;
  border-color: #cccccc;
  border-width: 2px;
  background-color: #f2f2f2;
}

.ImpreseeDragAndDropMessage {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #808080;
  cursor: pointer;
  font-family: 'Cabin-SemiBold';
  color: #17567b;
}
.ImpreseeDragAndDropMessageContainer {
  width: 70%;
  text-align: center;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ImpreseeDragAndDropSubtitle {
  /* font-size: 1em; */
  position: absolute;
  top: 23vh;
  color: #ffffffc4;
  font-size: 0.85em;
  -webkit-text-stroke: 0.3px lightslategray;
}
.ImpreseeDragAndDropImage {
  max-width: 100%;
  position: absolute;
  padding-top: 8vh;
}

.ImpreseeDragAndDropImage2 {
    bottom: 0;
    position: absolute;
    padding-bottom: 8vh;
    width: 85%;
}

@media only screen and (min-width: 360px) {
  .ImpreseeChangeImageContainer {
    min-width: 100px;
  }

  .camerabox {
    height: 100vh;
    width: 100vw;
    position: relative;
    border-radius: 10px;
    border-style: dashed;
    /* border-color: #cccccc; */
    border-color: #15567b;
    border-width: 2px;
    background-color: #f2f2f2;
    margin-top: 3.3vh;
  }
.ImpreseeDragAndDropMessageContainer h2{
    padding-top: 10vh;
    font-size: 16px!important;
    font-family: 'Cabin-SemiBold';
    color: #17567b;
    background: url(https://scan.cantabrialabs.com/wp-content/plugins/visual-search/impresee-creativesearch/includes/assets/img/fotocaptura3.png) right center no-repeat;
    background-size: contain;
    padding-right: 27vw;
    z-index: 99999;
    position: absolute;
    bottom: 14vh;
  }

}

@media only screen and (min-width: 768px) {
  .ImpreseeDragAndDropImage {
    /*width: 40%;*/
    width: 30%;
    max-width: 100%;
  }
  .ImpreseeCropperButtonContainer {
    height: 70px;
    justify-content: space-between;
    align-items: center;
  }
  .ImpreseeSearchByPhotoButton {
    height: 50px;
    border-radius: 25px;
    line-height: 50px;
    min-width: 200px;
    font-size: 1.3em;
  }
  .ImpreseeChangeImageContainer {
    min-width: 200px;
    height: 50px;
    border-radius: 25px;
  }

  .camerabox {
    height: 68vh;
    width: 40vw;
    position: relative;
    border-radius: 10px;
    border-style: dashed;
    border-color: #cccccc;
    border-width: 2px;
    background-color: #f2f2f2;
  }
}
/*Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .ImpreseeCropperButtonContainer {
    padding: 10px;
  }
}



.ImpreseeModal.hidden {
  display: none;
}
.ImpreseeModal .ImpreseeModalCloseButton.ImpreseeHiddenCloseIcon {
  opacity: 0;
  pointer-events: none;
}
.ImpreseeModal {
  height: 100%;
  width: 100%;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  overflow-y: scroll;
}
.ImpreseeModalOverlay {
  z-index: 999999;
  padding: 0;
  background: rgba(0, 0, 0, 0.4);
}
.ImpreseeModal .ImpreseeModalCloseButton {
  cursor: pointer;
  opacity: 1;
  z-index: 100;
  display: flex !important;
  position: absolute !important;
  min-width: 35px !important;
}
.ImpreseeGeneralModalCloseIcon {
  /* fill: black !important;  */
  fill: #17567b!important; 
   
}
.ImpreseeModal .ImpreseeLoadingScreen {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#ImpreseeModalID > div {
  height: 100%;
}
#ImpreseeModalID div {
  /* font-family: "Roboto"; */
  /* font-family: "Cabin"; */
  font-size: 15px;
}
@media only screen and (min-width: 768px){
  .ImpreseeModal {
    height: calc(100vh - 108px);
    margin: 30px auto;
    max-width: 80%;
    min-height: 500px;
    overflow: hidden;
  }
}
.ImpreseeLoadingItem {
  width: 99%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
}
.ImpreseeLoadingGrid {
  height: 100%;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(2, 50%);
}
.ImpreseeLoadingImageContainer {
  width: auto;
  margin: 5px;
  height: 190px;
}
.ImpreseeLoadingItemImage {
  max-width: 100%;
  max-height: 100%;
}
@media only screen and (min-width: 768px) {
  .ImpreseeLoadingGrid {
    grid-template-columns: repeat(4, 25%);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ImpreseeLoadingGrid {
    grid-template-columns: repeat(2, 50%);
  }
}

.ImpreseeBackToDetections {
  bottom: 5px;
  right: 5px;
  position: absolute;
  cursor: pointer;
  height: 40px;
}
.ImpreseeBackToDetections > img {
  height: 100%;
}
.ImpreseeQueryCropperContainer {
  max-width: 100%;
  position: relative;
  flex: initial;
  max-height: 60vh;
  overflow: hidden;
}
.ImpreseeCustomSearchRow {
  height: 25px;
  width: 100%;
  display: flex;
  padding-top: 5px;
  margin-left: 20px;
  margin-right: 20px;
}
.ImpreseeSearchCustomArea {
  margin: 5% 0; 
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ImpreseeSearchAreaButton {
  height: 80px;
  width: 80px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ImpreseeSearchAreaButton > img {
  max-height: 60%;
  width: auto;
}
.ImpreseeLine {
  -webkit-box-shadow: 0px 4px 5px 0px rgba(153, 153, 153, 1);
  -moz-box-shadow: 0px 4px 5px 0px rgba(153, 153, 153, 1);
  box-shadow: 0px 4px 5px 0px rgba(153, 153, 153, 1);
  height: 5px;
  background-color: white;
  width: calc(100% + 40px);
}
.ImpreseeEmbeddedResults .ImpreseeSearchCustomArea {
  flex-direction: row;
  margin-top: 35px;
}
.ImpreseeQueryCropperContainer .cropper-modal {
  opacity: 0.8;
}
@media only screen and (max-width: 320px) {
  .ImpreseeSearchAreaButton {
    height: 50px;
    width: 50px;
  }
  .ImpreseeEmbeddedResults .ImpreseeSearchCustomArea {
    margin-top: 15px;
  }
}

.ImpreseeItem {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 5%;
  min-height: 16em;
}
.ImpreseeGrid {
  height: auto;
  display: grid;
  grid-auto-flow: row;
  padding: 0 1%;
  grid-template-columns: repeat(2, 50%);
}
.ImpreseeImageContainer {
  width: auto;
  margin: auto;
  flex: 2 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border: 0.5px solid #80808045; */
}
.ImpreseeItemImage {
  max-width: 100%;
  max-height: 100%;
  border: 0.5px solid #808080d9;
}
.ImpreseeNormalPrice {
  text-decoration: line-through;
  color: #cccccc;
  font-weight: bold;
  font-size: 0.8em;
  min-height: 1em;
  text-align: initial;
}
.ImpreseePrice {
  display: block;
  text-decoration: none;
  color: #333333;
  font-weight: bold;
  text-align: initial;
}
.ImpreseeTitle {
  /*
  text-overflow: ellipsis;
  overflow: hidden;
  text-decoration: none;
  max-height: 2em;
  min-height: 1em;
  white-space: nowrap;
  color: #6a6056;
  font-weight: bold;
  text-align: initial;
  */
  font-size: 14px;
  line-height: 1.42857;
  /* font-family: "Raleway", sans-serif; */
  font-family: "Cabin-semibold", sans-serif;
  font-weight: normal;
  margin: 0 0;
  text-align: center;
  text-decoration: none !important;
}
.ImpreseeTexts {
  padding: 20% 3%;
  padding-bottom: 0;
  overflow: hidden;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}


a:hover, a:focus {
    color: #01567b;
    text-decoration: none!important;
}

.ImpreseeProductLink {
  text-decoration: none;
  display: flex;
}
.ImpreseeProductPrices {
  /* display: flex; */
  display: none;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}

.ImpreseeProductMarca {
  display: flex; 
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
    position: absolute;
    width: 75%;
    padding-bottom: 85%;
}

.ImpreseeGetProductContainer {
  display: flex;
  margin: 10% 0;
  min-height: 2.5em;
  align-items: flex-end;
  display:none;
}
.ImpreseeGoToProduct {
  flex: 1;
  border-radius: 2em;
  font-weight: bold;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9em !important;
  text-overflow: ellipsis;
  height: 3em;
}
.ImpreseeBottomBorder {
  height: 1px;
  width: 100%;
  background-color: #cccccc;
  opacity: 0.0;
}
.ImpreseeRightBorder {
  width: 0px;
  padding-top: 5%;
  padding-bottom: 5%;
  opacity: 0.5;
  margin: 0 1px;
}
.ImpreseeRightBorder > div {
  height: 100%;
  background-color: #cccccc;
}
@media only screen and (min-width: 768px) {
  .ImpreseeItem {
    min-height: 20em;
  }
  .ImpreseeGrid {
    height: 100%;
    grid-template-columns: repeat(4, 25%);
  }
}
@media  screen  and (min-width: 768px) and (max-width: 1680px) {
  .ImpreseeItem {
    min-height: 17.5em;
  }
}
@media  screen and (min-width: 768px) and (max-width: 1440px) {
  .ImpreseeItem {
    min-height: 16em;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ImpreseeGrid {
    grid-template-columns: repeat(2, 50%);
    height: 100%;
  }
  .ImpreseeItem {
    min-height: 16em;
  }
}
@media  screen  and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .ImpreseeItem {
    min-height: 20em;
  }
}
.ImpreseeLoadingImage {
  visibility: hidden;
}
.ImpreseeSearchQuery {
  max-height: 100%;
  width: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.ImpreseeSearchQuery > img {
  /* max-width: 100%; */
  width: 360px;
  height: 16px;
}
.ImpreseeSearchQuery.ImpreseeHorizontalQuery {
  width: 100%;
  height: auto;
  /* transform: translate(-0%, -50%); */
}
.ImpreseeSearchQuery.ImpreseeVerticalQuery {
  min-height: 60%;
  max-width: 100%;
  height: auto;
  max-height: 100%
}
.ImpreseeResults.ImpreseeEmbeddedResults .ImpreseeSearchQuery.ImpreseeVerticalQuery{
  min-height: 0;
}
.ImpreseeLoadingImage {
  visibility: hidden;
}
.ImpreseeDetectionQuery .ImpreseeSelectedArea {
  -webkit-box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.8);
  position: absolute;
  border-radius: 5px;
  border-width: 2px;
  border-style: solid;
  -webkit-transition: width, height, top, left;
  transition: width, height, top, left;
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}
.ImpreseeDetectionDotContainer {
  cursor: pointer;
  position: absolute;
  padding: 12px;
}
.ImpreseeDetectionQuery .ImpreseeDetectionDot {
  border-radius: 30px;
  border-style: solid;
  border-color: white;
  border-width: 2px;
  width: 12px;
  height: 12px;
}
.ImpreseeDetectionQuery .ImpreseeCropQuery {
  position: absolute;
  bottom: 5px;
  right: 5px;
  cursor: pointer;
  height: 40px;
}
.ImpreseeCropQuery > img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 100%;
}
.ImpreseeDetectionQuery.ImpreseeHorizontalQuery {
  width: 100%;
  height: auto;
}
.ImpreseeDetectionQuery.ImpreseeVerticalQuery {
  width: auto;
  height: 100%;
}
.ImpreseeDetectionQuery {
  position: relative;
  display: inline-block;
  overflow: hidden;
  outline: 0;
  max-width: 100%;
  vertical-align: top;
  text-align: center;
  width: 100%;
  margin: auto;
}
.ImpreseeDetectionQuery > canvas {
  max-height: 100%;
  margin: 0 auto;
  display: block;
  max-width: 100%;
  border: 0;
  width: auto;
}
.ImpreseeDetectionQuery > img {
  max-width: 100%;
  border: 0;
  width: auto;
  left: 0;
  opacity: 0;
  max-height: 100%;
  display: none;
}

.ImpreseeSketchQuery {
  position: relative;
  max-height: 100%;
  width: 80%;
  border-radius: 10px;
  border-style: dashed;
  border-color: #cccccc;
  border-width: 2px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ImpreseeSketch {
  object-fit: contain;
  object-position: center;
  height: 100%;
  overflow-x: hidden;
}
@media only screen and (min-width: 768px) {
  .ImpreseeSketchQuery {
    height: 300px;
  }
}

.ImpreseeSearchAgain {
  position: absolute;
  padding: 0.5rem;
  cursor: pointer;
  width: 4rem;
  left: 10px;
  top: 20px;
  min-width: 60px;
}
.ImpreseeSearchAgain .ImpreseeSearchAgainIcon {
  width: 100%;
  height: 100%;
}
.ImpreseeDownloadSketch {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  .ImpreseeSearchAgain {
    top: 3%;
    left: 3%;
  }
  .ImpreseeEmbeddedResults .ImpreseeSearchAgain {
    top: 10px;
  }
}

.ImpreseeWhiteOverlay {
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 10;
}
/* Mobile first!*/
.ImpreseeResults {
  height: 100%;
}
.ImpreseeResults .ImpreseeQuery {
  display: flex;
  flex-direction: column;
  max-height: 70%;
  align-items: center;
  margin-top: 60px;
  margin-bottom: 20px;
  position: relative;
  margin-right: 20px;
  margin-left: 20px;
}
.ImpreseeResults .ImpreseeQuery.ImpreseeVerticalQuery {
  max-height: 60vh;
  margin: 60px auto 20px;
}
.ImpreseeResults .ImpreseeQuery.ImpreseeHorizontalQuery {
  max-height: 60vh;
  margin: 60px auto 20px;
}
.ImpreseeResults .ImpreseeResultsGrid {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0 2%;
}
.ImpreseeSearchResultsTitleBar {
  height: 20px;
  /* margin-bottom: 10px; */
  padding-left: 10px;
  display: flex;
  align-items: center;
}
.ImpreseeBar {
  width: 4px;
  height: 70%;
  margin-right: 5px;
}
@media only screen and (min-width: 768px) {
  .ImpreseeResults .ImpreseeQuery.ImpreseeVerticalQuery {
    max-height: 40vh;
    margin-top: 50px;
  }
  .ImpreseeResults .ImpreseeQuery.ImpreseeHorizontalQuery {
    margin-top: 50px;
  }
  .ImpreseeSearchResultsTitleBar {
    display: none;
  }
  .ImpreseeResults {
    display: flex;
    flex-direction: row;
    padding-right: 2%;
  }
  .ImpreseeResults.ImpreseeEmbeddedResults {
    height: auto;
  }
  .ImpreseeResults .ImpreseeQuery {
    flex: 1;
    top: 0px;
    padding: 0px 10px;
    margin: 50px auto;
    position: relative;
    text-align: left;
    max-width: 33%;
    margin-right: 0;
    margin-left: 0;
  }
  .ImpreseeResults .ImpreseeResultsGrid {
    flex: 2;
    margin-top: 50px;
    overflow-y: scroll;
    margin-bottom: 50px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .ImpreseeResults.ImpreseeEmbeddedResults .ImpreseeResultsGrid {
    overflow-y: hidden;
  }
}


.ImpreseeModal.hidden {
  display: none;
}
.ImpreseeModal .ImpreseeModalCloseButton.ImpreseeHiddenCloseIcon {
  opacity: 0;
}
.ImpreseeHide {
  display: none;
}
.ImpreseeModal {
  -webkit-overflow-scrolling: touch;
  height: 100%;
  width: 100%;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  overflow-y: scroll;
}
.ImpreseeModalOverlay {
  padding: 0;
  background: rgba(0, 0, 0, 0.4);
}
.ImpreseeModal .ImpreseeModalCloseButton {
  cursor: pointer;
  opacity: 1;
  z-index: 100;
  padding-left: 10px;
  outline-color: transparent;
}
#ImpreseeModalIDResults div {
  /* font-family: "Cabin"; */
  color: #17567b;
  font-size: 16px;
  font-family: 'Cabin-SemiBold'!important;
  font-size: 1em;
}
#ImpreseeModalIDResults > div {
  height: 100%;
}
.ImpreseeModalOverlay.ImpreseeEmbeddedResults{
  background: white;
  min-height: auto;
  position: absolute;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}
.ImpreseeErrorScreen {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  padding: 0 30px;
  text-align: center;
  color: #17567b;
  font-size: 16px;
  font-family: 'Cabin-SemiBold'!important;
}
.ImpreseeModal.ImpreseeEmbeddedResults{
  width: 100%;
  margin: 0 auto;
  overflow-y: hidden;
}
.ImpreseeModalOverlay.ImpreseeEmbeddedResults .ImpreseeErrorScreen{ 
  margin-top: 50px;
}


@media only screen and (min-width: 360px){
  .ImpreseeModal {
    height: 100%;
    margin-top: 0px;
    max-width: 100%;
    min-height: 500px;
   /* overflow: hidden; */
   /* background-color: aquamarine;  */
   /* background-color: #e3e3e3!important; */
  }
  .ImpreseeModal.ImpreseeEmbeddedResults{
    position: relative;
    box-shadow: 0 0 0 0;
    height: auto;
    max-width: 100%;
  }

  /* Añado */
  .ImpreseeGrid {
    grid-template-columns: repeat(1, 100%);
    height: 50%;
  }
  .ImpreseeItem {
    min-height: 14em;
    padding: 2% 10%;
    /* padding: 10% 10%; */
    /* background-color: #e3e3e3!important; */
  }
  .ImpreseeTexts{
    margin-top: -80px;
  }
  .ImpreseeSearchQuery.ImpreseeHorizontalQuery {
    width: 100%;
    height: auto;
    transform: translate(-0%, -70%);
  }

}

@media only screen and (min-width: 768px){
  .ImpreseeModal {
    height: calc(100vh - 108px);
    margin: 30px auto;
    max-width: 80%;
    min-height: 500px;
    overflow: hidden;
  }
  .ImpreseeModal.ImpreseeEmbeddedResults{
    position: relative;
    box-shadow: 0 0 0 0;
    height: auto;
    max-width: 80%;
  }

  .ImpreseeItem {
    min-height: 20em;
  }
  .ImpreseeGrid {
    height: 100%;
    grid-template-columns: repeat(4, 25%);
  }

  .ImpreseeSearchQuery.ImpreseeHorizontalQuery {
    width: 100%;
    height: auto;
    transform: translate(-0%, -50%);
  }

}


