.page-detail {
  margin: 30px 0;

  .p0 {
    padding: 0;
  }

  .box-pacote {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 4px;
    display: block;
    text-decoration: none;

    .conteudo {
      padding: 20px;
      margin: 0;
      cursor: pointer;

      a.abre-detalhes-pacote {
        color: #003e57;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        padding: 0;
        position: relative;

        &:after {
          content: "\f078";
          background-color: var(--azul-1);
          border-radius: 100%;
          color: #fff;
          padding: 4px 4px 2px;
          display: flex;
          font-weight: 900;
          align-items: center;
          justify-content: center;
          font-family: "Font Awesome 5 Free" !important;
          position: absolute;
          right: 0;
          top: calc(50% - 10px);
          transition: all 0.3 ease;
          transition: -webkit-transform 0.3s ease-in;
        }
      }

      img {
        height: 48px;
        margin-right: 10px;
      }

      ul {
        border-bottom: 3px solid #ccc;
        margin-top: 10px;

        li {
          &.current a {
            border-bottom: 3px solid var(--azul-1) !important;
          }

          a {
            position: relative;
            display: block;
            padding: 10px 15px;
            color: #555555;
            background-color: #fff;
            cursor: default;
            margin-bottom: -3px;
          }
        }
      }

      .tab {
        padding: 15px 15px 0 15px;

        p {
          font-size: 13px;
          line-height: 24px;
          padding-bottom: 10px;
          font-weight: 500;
          color: #878c9f;
        }
      }
    }
  }

  .box-hotel {
    margin-bottom: 30px;

    .col-galeria {
      width: 50%;
      float: left;
      padding: 0 20px 0 0;
    }

    .titulo {
      color: #444;
      font-size: 22px;
      margin-top: 19px;
    }

    .endereco {
      margin-top: 12px;
      color: #888;
      font-size: 12px;
    }

    .descricao {
      padding-right: 30px;
    }
  }

  .box {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);

    &:not(.box-sidebar) {
      transition: all 0.4s ease;
      transition-property: all;
      transition-duration: 0.4s;
      transition-timing-function: ease;
      transition-delay: 0s;
    }

    .hotel-header {
      padding: 20px;
      border-bottom: 8px solid #ebecf0;

      h1 {
        font-size: 22px;
        color: #444;

        .stars {
          i {
            color: #ffc400;
            font-size: 12px;
          }
        }
      }
    }

    .galeria {
      height: 250px;
      max-height: 250px;
      overflow: hidden;

      a {
        display: flex;
        box-sizing: border-box;
        text-align: left;
        cursor: pointer;
        align-items: center;
        flex-direction: column;
        display: none;
        max-height: 400px;
        transition: background-image 2s;

        &:hover {
          &:before {
            background-size: 100%;
            background-image: linear-gradient(to top, #000, rgba(255, 255, 255, 0));
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 100px;
            pointer-events: none;
          }
        }

        &:nth-child(1) {
          display: flex;
          position: relative;
          right: 0;
          bottom: 0;
          left: 0;
          box-sizing: border-box;
          text-align: left;
          cursor: pointer;
          align-items: center;
          flex-direction: column;
          width: 100%;
          object-fit: fill;
          height: 100%;

          img {
            width: 100%;
            height: 100%;
          }

          span {
            position: relative;
            bottom: 25px;
            left: 0;
            color: #fff;
            display: flex;
            align-items: center;
            height: 0;

            i {
              margin-right: 10px;
            }
          }

          &:before {
            background-size: 100%;
            background-image: linear-gradient(to top, #000, rgba(255, 255, 255, 0));
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 100px;
            pointer-events: none;
          }
        }

        &:nth-child(2) {
          display: block;
          position: absolute;
          right: 0;
          top: 0;
          width: 39.6%;
          height: 243px;

          img {
            height: 243px;
            width: 100%;
            object-fit: fill;
          }
        }

        &:nth-child(3) {
          display: block;
          position: absolute;
          right: 20.2%;
          top: 250px;
          max-width: 19.43334%;

          img {
            height: 150px;
            object-fit: fill;
            width: 100%;
          }
        }

        &:nth-child(4) {
          display: block;
          position: absolute;
          right: 0;
          top: 250px;
          max-width: 19.43334%;

          img {
            height: 150px;
            object-fit: fill;
            width: 100%;
          }
        }
      }
    }

    .stars i {
      color: #ffc400;
    }

    p span {
      color: var(--azul-1);
      font-weight: bold;
      margin-left: 8px;
      cursor: pointer;
    }

    .descricao {
      h2 {
        font-size: 15px;
        font-weight: 500;
        letter-spacing: -0.1px;
        color: #444;
        padding-top: 10px;
        margin-top: 10px;
        border-top: 1px solid #eee;
      }

      .descricao-conteudo {
        font-size: 13px;
        line-height: 1.38;
        color: #888;
        white-space: pre-wrap;
        text-align: justify;
        height: 82px;
        margin-bottom: 30px;
        padding-left: 30px;
        transition: height .5s;
      }

      .ler-menos {
        display: none;
      }

      .bg-white-opacity {
        background-size: 100%;
        background-image: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
        content: "";
        position: absolute;
        right: 0;
        bottom: 24px;
        left: 0;
        height: 33px;
        pointer-events: none;
      }

      &.open {
        .bg-white-opacity {
          display: none;
        }

        .ler-mais {
          display: none;
        }

        .ler-menos {
          display: block;
        }
      }

      .btn-ver-mais {
        display: flex;
        align-items: center;
        position: absolute;
        right: 18px;
        bottom: 0;
        left: 0;
        box-sizing: border-box;
        height: 25px;
        text-align: left;
        line-height: 43px;
        cursor: pointer;
        justify-content: flex-end;
        background: #fff;
        color: var(--azul-1);
        font-weight: bold;
        padding-bottom: 10px;

        i {
          margin-left: 10px;
        }

        &:before {
          //background-size: 100%;
          //background-image: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
          //content: "";
          //position: absolute;
          //right: 0;
          //bottom: 100%;
          //left: 0;
          //height: 33px;
          //pointer-events: none;
        }
      }
    }
  }

  .box-quarto {
    .quarto-header {
      padding: 0;
      z-index: 2;
      box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.11);
      display: flex;
      position: relative;
      color: #444;
      font-weight: 500;
      background: #ebecf0;
      margin: 0;

      .categoria {
        border-right: 2px solid #eee;
        height: 54px;
        display: flex;
        align-items: center;
        background: #fff;
      }

      .regime {
        height: 54px;
        display: flex;
        align-items: center;
        background: #fff;
        flex-direction: column;
        justify-content: center;
      }

      .preco-noite {
        height: 54px;
        display: flex;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
      }

      .preco-total {
        height: 54px;
        display: flex;
        background: #fff;
        flex-direction: column;
        align-items: self-end;
        justify-content: center;
        padding: 0;
      }
    }

    .quarto-list {
      margin: 0;

      .quarto-item {
        margin-bottom: 15px;
        -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        transition-property: all;
        transition-duration: 0.4s;
        transition-timing-function: ease;
        transition-delay: 0s;
        background: transparent;

        .conteudo {
          padding: 0;
          margin: 0;
          background: #fff;

          .categoria {
            border-right: 2px solid #eee;
            background: #fff;
            padding-bottom: 10px;

            .titulo {
              color: #444;
              letter-spacing: -0.1px;
              font-weight: 500;
              padding: 12px 0;
            }

            .promos {
              padding: 0 0 12px;

              i {
                color: var(--azul-1);
                border: 1px solid var(--azul-1);
                padding: 4px;
                border-radius: 24px;
              }
            }

            .descricao-parent {
              position: relative;

              .bg-white-opacity {
                background-size: 100%;
                background-image: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
                content: "";
                position: absolute;
                right: 0;
                bottom: 15px;
                left: 0;
                height: 33px;
                pointer-events: none;
              }

              .descricao {
                color: #888;
                line-height: 18px;
                font-size: 12px;
                height: 64px;
                overflow: hidden;
                transition: height 0.5s;
              }

              .ler-menos {
                display: none;
              }

              &.open {
                .descricao {
                  //height: auto;
                }

                .bg-white-opacity {
                  display: none;
                }

                .ler-mais {
                  display: none;
                }

                .ler-menos {
                  display: block;
                }
              }
            }
          }

          .col-tarifas {
            padding: 0;
            .politica-cancelamento {
              bottom: 13px;
              position: absolute;
              color: #06b77d;
              font-weight: bold;
              font-size: 12px;
              margin-top: 10px;
              width: max-content;
            }

            .tarifa {
              // height: 100%;
              min-height: 100px;
              cursor: pointer;
              margin: 0;

              &:first-child:nth-last-child(1) {
                height: 100%;
              }

              .regime {
                color: #333;
                font-weight: 400;
                font-size: 13px;
                // padding-top: 17px;
                display: flex;
                flex-direction: column;
                justify-content: center;

                .promos {
                  position: absolute;
                  top: 8px;
                  left: 13px;

                  i {
                    padding: 5px;
                    color: var(--azul-1);
                    font-size: 11px;

                    &.circle {
                      border: 1px solid var(--azul-1);
                      border-radius: 50%;
                    }
                  }
                }
              }

              .diaria,
              .total {
                display: flex;
                align-items: center;
                flex-direction: column;
                justify-content: center;

                .titulo {
                  margin-bottom: 10px;
                  display: none;
                }

                .depor {
                  text-decoration: line-through;
                  font-size: 13px;
                }

                .price {
                  font-size: 18px;
                  font-weight: bold;
                  color: #444;

                  span {
                    font-size: 14px;
                  }
                }
              }

              .select {
                padding: 0;
                display: flex;
                align-items: flex-end;
                justify-content: center;
                flex-direction: column;

                .check {
                  border: 1px solid var(--azul-1);
                  height: 20px;
                  width: 20px;
                  border-radius: 24px;
                  margin-right: 19px;
                  background: #fff;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  span {
                    display: none;
                  }

                  span {
                    background: var(--azul-1);
                    width: 10px;
                    height: 10px;
                    border-radius: 24px;
                  }
                }
              }

              &.active {
                border: 2px solid var(--azul-1);
                background: #ffffff;

                .check {
                  span {
                    display: block;
                  }
                }
              }

              &:not(.active) {
                background: #f5f5f5;
                border: 2px solid #f5f5f5;

                &:not(:first-child) {
                  border-top: 2px solid #eee;
                }
              }

              &:hover {
                background: #ffffff;
              }

              &.off {
                position: relative;
                cursor: auto;

                &.active {
                  border-color: red;
                }

                .check {
                  display: none;
                }

                .sem-disp {
                  display: block !important;
                  color: red;
                  margin: 0;
                  padding: 0;
                  line-height: 0;
                  height: max-content;
                  position: absolute;
                  bottom: 13px;
                  text-align: center;
                }
              }
            }
          }
        }
      }
    }
  }
}

.overflow-hidden {
  overflow: hidden !important;
}

.btn-resumo {
  float: right;
  padding: 5px 10px;
  margin-bottom: 0;
  margin-top: 30px;
  border: 1px solid var(--azul-1);
  border-radius: 24px;
  background: transparent;
  color: var(--azul-1);
  text-decoration: none;
  display: none;

  &:hover {
    background: var(--azul-1);
    color: #fff;
    text-decoration: none;
  }
}

.box-sidebar {
  padding: 20px 20px 20px 20px;

  .titulo h2 i {
    display: none;
  }

  .titulo {
    border-bottom: 1px solid rgba(76, 76, 76, 0.3);
    border-bottom: 1px solid rgba(76, 76, 76, 0.3);
    padding-bottom: 10px;

    h2 {
      color: #444;
      font-size: 1.5rem;
      text-align: left;
      font-weight: 500;

      i {
        float: right;
        position: absolute;
        right: 30px;
        top: 28px;
        display: none;
        color: #444;
      }
    }
  }

  .subtitulo {
    padding: 16px 0 0;

    .alterar {
      display: flex;
      align-items: center;

      h3 {
        color: #003e57;
        font-size: 0.975rem;
        text-align: left;
        font-weight: bold;
        flex: 1;
        margin: 0;
      }

      span {
        flex: 0.3;

        a {
          background: var(--azul-1);
          background-position: 0% 50%;
          background-size: 300%;
          border: none;
          border-radius: 24px;
          color: #fff;
          cursor: pointer;
          text-align: center;
          transition: all 0.4s ease;
          transition-property: all;
          transition-duration: 0.4s;
          transition-timing-function: ease;
          transition-delay: 0s;
          display: block;
          font-size: 0.6875rem;
          font-weight: bold;
          padding: 7px 0;
          width: 79.69px;
          height: 29px;
        }
      }
    }
  }

  .hotel-detalhe {
    padding: 10px 0;

    .row {
      text-align: left;
      display: flex;
      align-items: center;
      width: 100%;
      padding: 0;
      margin: 0;

      .img-hotel {
        border-radius: 100%;
        background-position: center center;
        background-size: cover;
        display: block;
        height: 66px;
        width: 66px;
        min-width: 66px;
        margin: 0 15px 0 0;
      }

      .descricao {
        padding: 0;
        display: flex;
        flex-direction: column;

        h3 {
          color: #060606;
          font-size: 0.975rem;
          margin: 0 0 0;
          font-weight: bold;
          line-height: 28px;
        }

        p {
          color: #003e57;
          font-size: 0.75rem;
          margin: 0;
          padding: 0;

          span {
            padding: 0 5px;
            font-size: 11px;
          }
        }
      }

      .quartos {
        h3 {
          color: #003e57;
          font-size: 15px;
          text-align: left;
          font-weight: bold;
          flex: 1;
          margin: 10px 0;
        }

        p {
          float: left;
          font-size: 12px;
          text-align: left;
          color: #888;
          margin-bottom: 20px;
          width: 100%;
        }
      }
    }
  }

  .aereo-detalhe {
    margin-top: 16px;

    .horario {
      font-size: 13px;
      line-height: 24px;
      padding-bottom: 10px;
      font-weight: 400;
      color: #878c9f;
      text-align: center;
    }
  }

  .preco-total {
    form {
      float: left;
      width: 100%;
      position: relative;
      margin-top: 12px;

      .total-coast {
        padding: 15px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
        position: relative;
        float: left;
        width: 100%;

        strong {
          color: #444;
          font-size: 17px;
          font-weight: 600;
          position: absolute;
          left: 0;
          top: 21px;
        }

        span {
          float: right;
          text-align: right;
          font-size: 19px;
          font-weight: bold;
          position: relative;
          top: 3px;
        }
      }

      .button {
        margin-top: 0;
      }
    }
  }
}
