/* ============start popup styles============= */

.modal-fullscreen-xl {
  padding: 0 !important;
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

.resources-tab-view .tab-modal .modal-body .widthModal {
  width: 940px;
  margin: auto;
}
.resources-tab-view
  .tab-modal
  .modal-dialog
  .modal-content
  .modal-body
  .item-view
  .h1 {
  font-weight: 500;
  font-size: 22px;
  color: #d13428;
}

/* ===============end Pop Styles============= */

.resources-tab-view h1 {
  font-size: 2rem;
}
.resources-tab-view h2 {
  font-weight: 600;
  font-size: 1.5rem;
  color: #000000;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 10px;
}
.resources-tab-view p {
  font-size: 1.25rem;
  color: #000000;
}

.resources-tab-view .text-box {
  font-size: 18px;
  margin: 20px 0px 20px;
}
.resources-tab-view .text-box p {
  color: #404040;
  font-size: 1.15rem;
}
.resources-tab-view .view-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin-top: 7px;
  grid-column-gap: 25px;
}
.resources-tab-view .view-details p {
  font-size: 1.25rem;
  font-weight: 500;
  color: #000000;
  margin: 0px 0 10px;
}

.resources-tab-view .view-details .item {
  text-align: center;
  background: #cbcbff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px #cfcfcf;
}
.resources-tab-view .view-details .item:last-child {
  background: #dff0c5;
}

.resources-tab-view .view-details .item-image {
  width: 110px;
  height: 110px;
  margin: auto;
  position: relative;
}

.resources-tab-view .view-details img {
  width: 100%;
}

.resources-tab-view .view-details .btn {
  background: transparent;
  color: #000000;
  padding: 4px 15px;
  font-size: 17px;
  font-weight: 500;
  margin-top: 0;
  outline: 0px;
  box-shadow: none;
  line-height: 1.2;
  border: 2px solid #000000;
}
.resources-tab-view .view-details .btn:hover {
  background: #000000;
  color: #ffffff;
}

/*========================================= 20/Nov/2020 ====================================*/

.resources-tab-view .botton-tab-view {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 25px;
  margin-top: 25px;
}
.resources-tab-view .botton-tab-view .item {
  text-align: center;
  background: #efe8ff;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
}
.resources-tab-view .botton-tab-view .item:nth-child(2) {
  background: #d9f8ff;
}
.resources-tab-view .botton-tab-view .item:nth-child(3) {
  background: #d8ffd8;
}
.resources-tab-view .botton-tab-view .item:nth-child(4) {
  background: #fffacd;
}
.resources-tab-view .botton-tab-view .item:nth-child(5) {
  background: #ffeed4;
}
.resources-tab-view .botton-tab-view .item:nth-child(6) {
  background: #ffe9e7;
}
.resources-tab-view .botton-tab-view .item:nth-child(7) {
  background: #d7e4fb;
}
.resources-tab-view .botton-tab-view .item:nth-child(8) {
  background: #e0e0e0;
}
.resources-tab-view .botton-tab-view .item span {
  width: 110px;
  height: 110px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
}
.resources-tab-view .botton-tab-view .item img {
  object-fit: contain;
}
.resources-tab-view .botton-tab-view.petImages .item img {
  max-width: 135px;
}
.resources-tab-view .botton-tab-view .item:nth-child(5) img {
  width: auto;
}
.resources-tab-view .botton-tab-view .item h3 {
  font-size: 1.25rem;
  min-height: 55px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 10px;
}
.resources-tab-view .botton-tab-view .btn {
  color: #0066cc;
  box-shadow: none;
  outline: 0px;
  font-size: 20px;
  font-weight: 500;
}
.resources-tab-view .botton-tab-view .item.active {
  background: #ffffff;
}
.resources-tab-view .botton-tab-view .item.active .btn {
  color: #0066cc;
  font-weight: 500;
  width: 100%;
  height: 100%;
}
.resources-tab-view .tab-modal .modal-header,
.resources-tab-view .tab-modal .modal-footer {
  border: 0px;
}
.resources-tab-view .tab-modal .modal-content {
  background: #f7f7f7;
}

.resources-tab-view .tab-modal .modal-body {
  margin: auto;
  padding-top: 10px;
  width: 100%;
}
.resources-tab-view .tab-modal .widthModal {
  width: 940px;
  margin: auto;
}
.resources-tab-view .tab-modal .modal-body .widthModal .item-view {
  background: #ffffff;
  box-shadow: 0px 2px 6px #b7b7b7;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 25px;
}
.resources-tab-view .tab-modal h1 {
  font-weight: 500;
  font-size: 22px;
  color: #d13428;
}
.resources-tab-view .tab-modal h1 span {
  font-weight: 500;
  font-size: 22px;
  color: #d13428;
  display: block;
}
.resources-tab-view .tab-modal h2 {
  font-weight: 500;
  font-size: 20px;
  color: #000000;
}

.resources-tab-view .tab-modal h3 {
  font-weight: 500;
  font-size: 17px;
  color: #000000;
}
.resources-tab-view .tab-modal h4 {
  margin-bottom: 10px;
  color: #424242;
  font-weight: 400;
  font-size: 16px;
  text-decoration: underline;
}
.resources-tab-view .tab-modal h3 a {
  font-weight: 500;
  font-size: 17px;
  color: #0066cc;
}

.resources-tab-view .tab-modal p {
  color: #424242;
  font-weight: 400;
  font-size: 16px;
}
.resources-tab-view .tab-modal ul li {
  margin-bottom: 0px;
  color: #424242;
  font-weight: 400;
  font-size: 16px;
}
.resources-tab-view .tab-modal a {
  margin-bottom: 0px;
  color: #0066cc;
  font-weight: 400;
  font-size: 16px;
}
.resources-tab-view .tab-modal .tails-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}
.resources-tab-view .tab-modal .btn.learnBtn {
  background: #d13428;
  color: #ffffff;
  padding: 7px 70px;
  font-size: 18px;
  font-weight: 400;
  border-radius: 40px;
}
.resources-tab-view {
  width: 1050px;
  margin: auto;
  min-height: 85vh;
}

.modal-fullscreen-xl {
  padding: 0 !important;
}
.modal-fullscreen-xl .modal-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}
.modal-fullscreen-xl .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.modal-fullscreen-xl .modal-body {
  overflow-y: auto;
}
.item-view ol {
  margin-left: 2rem;
}

.r-a-c-view {
  h2 {
    font-size: 25px;
    font-weight: 800;
    text-align: center;
  }
  p {
    font-size: 16px;
    span {
      font-size: 13px;
    }
  }
  textarea {
    &.form-control {
      width: 300px;
      display: block;
      margin: auto;
      padding: 7px 10px;
      color: #000000;
      font-size: 15px;
      font-weight: 600;
      border: 1px solid #bfc4d7;
      border-radius: 5px;
      resize: none;
      outline: 0px !important;
      box-shadow: none;
      min-height: initial;
      height: auto !important;
    }
  }
  .btn {
    background: #d7c7fa;
    color: #000000;
    border: 2px solid #d7c7fa;
    font-size: 15px;
    font-weight: 600;
    padding: 7px 20px;
    &:hover {
      color: #ffffff;
      background: #000000;
      border-color: #000000;
    }
    &.btn-back{
      background: #cacaca;
      width: auto;
      border: 2px solid #cacaca;
      color: #000000;
      padding: 6px 30px;
      &:hover{
        background: #ffffff;
        color: #000000;
        border: 2px solid #cacaca;
      }
    }
  }

  .accordion-button {
    background: #f8f8f8 !important;
    padding: 25px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 15px !important;
    border: 1px solid #f1f1f1 !important;
    position: relative;
    outline: 0 !important;
    box-shadow: none !important;

    &:after {
      content: "\f2ea";
      font-family: bootstrap-icons !important;
      background: none !important;
      font-size: 30px;
      position: absolute;
      top: 25px;
      right: 30px;
      transform: initial !important;
    }
    &.collapsed {
      &:after {
        content: "\f4fe";
      }
    }
  }
  .accordion-body {
    background: #f8f8f8;
    padding: 25px;
    margin-bottom: 80px;
    border-radius: 0px 0px 15px 15px;
    ol {
      li {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
        ul {
          li {
            font-size: 16px;
            font-weight: 400;
            list-style-type: none;
            position: relative;
            &::after {
              content: "";
              position: absolute;
              left: -15px;
              top: 10px;
              background: #484848;
              width: 4px;
              height: 4px;
              border-radius: 50%;
            }
          }
        }
      }
    }
  }
  .modal-contentView {
    background: #f8f5fe !important;
  }

  &.rental-faq {
    .accordion-item {
      background: #f8f8f8;
      padding: 40px;
      .accordion-button {
        border: 0px !important;
        border-bottom: 1px solid #cccccc !important;
        border-radius: 0 !important;
        color: #000000;
        padding-left: 0;
        padding-right: 55px;
      }
      .accordion-body {
        margin-bottom: 0;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
      }
    }
    @media (max-width: 991px) {
      .accordion-item {
        padding: 20px;
      }
      .accordion-body {
        padding: 15px;
      }

      .accordion-button {
        padding: 15px;
        padding-right: 30px !important;
        font-size: 18px;
        font-weight: 600;
        &:after {
          right: 0;
          top: 12px;
          font-size: 25px;
          font-weight: 400;
        }
      }
    }
    @media (max-width:767px) {
        h2{
          font-size: 20px;
        }
    }
  }
}

.resources-tab-view {
  .accordion-button::after {
    display: none;
  }
  h2 {
    .accordion-button {
      padding: 0;
      box-shadow: none;
      outline: 0px;
      cursor: auto;
      background: transparent;
    }
    h2 {
      border: 0;
      margin: 0;
      padding: 0;
    }
  }
  .accordion-body {
    padding: 0;
  }
}

@media (max-width: 767px) {
  div.resources-tab-view {
    margin-bottom: 75px;
    #accordionFlushExample {
      padding-top: 25px;
    }
    .accordion-button::after {
      display: block;
      background-size: 18px;
    }
    h2 {
      font-size: 20px;
      .accordion-button {
        cursor: pointer;
      }
    }
  }
}
