/**
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License version 3.0
* that is bundled with this package in the file LICENSE.md
* It is also available through the world-wide-web at this URL:
* https://opensource.org/license/osl-3-0-php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to support@qloapps.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to https://store.webkul.com/customisation-guidelines for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/license/osl-3-0-php Open Software License version 3.0
*/

#hotelAmenitiesBlock.home_block_desc_wrapper {
  text-align: unset;
}

.amenity-img-container {
  padding-left: 40px;
  padding-right: 40px;
}

.amenity-img-layer {
  display: block;
    position: relative;
    height: 100%;
    padding: 0px;
    margin-left: -15px;
    margin-right: -15px;
}

.amenity-img-primary {
  padding: 10px 18px 0px 18px
}

.amenity-img-primary .img{
  display: block;
  object-fit: cover;
  width: 100%;
  height: 450px;
  border-radius: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.amenity-img-primary span.aminity-room-title {
  font-weight: 400;
  font-size: 48px;
  padding-right: 50px;
  line-height: 48px;
  text-align: center;
  position: absolute;
  width: 100%;
  color: #FFF;
  bottom: 62px;
  margin: auto;
  align-items: center;
  text-transform: capitalize;
}

.amenity-img-primary:hover > span.aminity-room-title {
  display: none;
}

.amenity-img-primary:hover > span.aminity-room-desc-title, .amenity-img-primary:hover > .aminity-room-description {
  display: block;
}

.amenity-img-primary span.aminity-room-desc-title {
  display: none;
  font-weight: 400;
  font-size: 48px;
  line-height: 48px;
  text-align: center;
  padding-right: 50px;
  width: 100%;
  position: absolute;
  color: #FFF;
  bottom: 50%;
  margin: auto;
  align-items: center;
  text-transform: capitalize;
}

.amenity-img-primary  .aminity-room-description {
  display: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding: 22px;
  text-align: center;
  position: absolute;
  padding-right: 50px;
  color: #FFF;
  bottom: 25%;
  margin: auto;
  align-items: center;
}

@media (min-width: 768px) and (max-width: 991px) {
  .amenity-img-primary span.aminity-room-desc-title {
    bottom: 60%;
    font-size: 35px;
  }

  .amenity-img-primary span.aminity-room-title {
    font-size: 35px;
  }

  .amenity-img-primary .aminity-room-description {
    bottom: 22%;
  }

}

@media (max-width: 519px) {
  .amenity-img-primary span.aminity-room-desc-title {
    bottom: 52%;
    font-size: 38px;
  }

  .amenity-img-primary span.aminity-room-title {
    font-size: 38px;
  }

  .amenity-img-primary .aminity-room-description {
    bottom: 10%;
  }

}


@media (max-width: 387px) {
  .amenity-img-primary span.aminity-room-desc-title {
    bottom: 62%;
    font-size: 32px;
  }
  .amenity-img-primary span.aminity-room-title {
    font-size: 32px;
  }
  .amenity-img-primary .aminity-room-description {
    bottom: 10%;
  }

}
