.if-service-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  border-radius:12px;
  height: 100%;
  min-height: 220px;
}

.if-service-box h1 {
  font-size: 27px;
  margin-bottom: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
}

.if-service-box h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

.if-rules-box{
    border: 3px solid var(--color-secondary);
}

.if-rules-box ul{
    font-size: 14px;
}

.if-service-box p {
  color: #333333;
  margin-bottom: 10px;
}

.if-service-box .available-qty {
  text-align: right;
}

.if-service-box .available-qty, .if-service-box span {
  color: #65717f;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.if-service-box span {
  font-size: 16px;
}

.if-service-box .small {
  font-size: 13px;
}

.if-service-box-content a {
  width: 100%;
  height: 100%;
}

.if-service-box-content .w-1{
  width:100%;
  max-width: 300px;
}

.if-service-box-1, .if-service-box-3 {
  border: 3px solid rgba(var(--secondary-color-RGB), .8);
}

.if-service-box-3 {
  background-color: var(--bg-soft);
}

.if-service-box-2 {
  background-color: var(--bg-soft);
  border: 3px solid rgba(var(--secondary-color-RGB), .8);
  z-index: 4;
}

.if-service-box-3 {
  background-color: var(--bg-soft);
  border: 3px solid rgba(var(--secondary-color-RGB), .8);
  z-index: 4;
  justify-content: space-between;
}

.if-service-box span.info {
  font-size: 12px;
  display: block;
  text-transform: initial;
  font-weight: 400;
  color: #2c343e;
}

.if-service-box input {
  border: 1px solid #aec1de;
  padding: 11px 25px;
  border-radius: 30px;
}

#fotovoltaico #map{
  border: 3px solid var(--color-secondary);
  border-radius: 12px;
  height: 450px;
  width: 100%;
}

#fotovoltaico #center-marker{
  background-image : url('https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 1;
}

#autocomplete-results {
  position: absolute;
  top: 100%;
  z-index: 3;
  border-radius: 12px;
  background: #fff;
  list-style: none;
  padding: 0;
}

#autocomplete-results .list-group-item {
  cursor: pointer;
  padding: 8px 12px;
  border: none;
}

#autocomplete-results .list-group-item:hover {
  background-color: #f0f6ff;
}

.if-modal-box{
  justify-content: center;
  box-shadow: none;
}

.if-building-type{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 150px;
  transition: all 0.3s linear;
}

.if-building-type div{
  display: flex;
  align-items: center;
  gap: .5rem;
}

.if-building-type div i{
  font-size: 20px;
  font-weight: bolder;
}

.if-service-box-quotations{
  background-color: #fff;
}

.if-service-box-size{
  min-height: 0px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s linear;
}

.if-building-type:hover,
.if-service-box-size:hover{
  background-color: #e6e6e6a1;
}

.ftv-active{
  border: 3px solid var(--color-primary);
  background-color: #e6e6e6a1;
  transition: none;
}

#fotovoltaico-size-container{
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .if-rules-box{
    margin-top: 1rem;
  } 
}

@media (max-width: 767px) {
  .if-building-type{
    flex-direction: row-reverse;
    justify-content: center;
  } 

  .if-building-type{
    min-height: 0px;
  }

  .if-building-type svg{
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .if-service-box.if-service-box-2.if-service-box-quotations.p-4 .row{
    gap: 1rem;
  }
}