/*
Theme Name: LeDuyNhat
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.mb0-last p:last-child {
  margin-bottom: 0;
}
.pd16 > .col-inner {
  padding: 16px;
}
.wpcf7 {
  text-align: left;
  input {
    margin: 0;
  }
  .wpcf7-form-control-wrap {
    margin-bottom: 10px;
  }
  .wpcf7-submit {
    display: table;
    margin: auto;
  }
  .wpcf7-spinner {
    position: absolute;
  }
}

/* Row Slider */
body:not(.ux-builder-iframe) {
  .row-slider {
    .flickity-viewport {
      /* height: 100% !important; */
    }
  }
}
.row-slider.no-price {
  .col-inner .text:nth-child(2) {
  }
}
.row-slider {
  a.button.btn-register,
  a.button.btn-call {
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    width: calc(100% - 30px) !important;
    display: table;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 4px 0;
  }
}
.view-package {
  color: #000;
  b {
    color: #4564ed;
  }
}
a.button.btn-register {
  background: #4564ed;
  margin-bottom: 7px !important;
  &:hover {
    background-color: rgb(1, 47, 255) !important;
    border-color: rgb(1, 47, 255) !important;
  }
}
a.button.btn-call {
  background: #f3f3f3 !important;
  border-color: #f3f3f3 !important;
  color: rgb(1, 47, 255) !important;
  margin-bottom: 0 !important;
  &:hover {
    background-color: #e7e7e7 !important;
    border-color: #e7e7e7 !important;
  }
}
.row-slider {
  .slider {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
  .section-title {
    margin-top: 15px;
    margin-bottom: 7px;
    padding: 0 15px;
    border: none;
    span {
      border: none;
    }
  }
  .section-title-container {
    margin-bottom: 0;
  }
  .slider,
  .flickity-slider {
    overflow-y: visible;
    /* height: 100%; */
    .col {
      --radius: 10px;
      padding-left: 12px;
      padding-right: 12px;
      padding-bottom: 0;
      /* padding: 0;
      padding-right: 20px; */
      .img {
        margin-bottom: 0;
      }
      .img-inner {
        border-top-left-radius: var(--radius);
        border-top-right-radius: var(--radius);
      }
      .col-inner {
        border-radius: var(--radius);
        background: #ffffff;
        box-shadow:
          0px 1px 6px rgba(0, 0, 0, 0.03),
          0px 2px 12px rgba(16, 24, 40, 0.02);
        transition: all 0.3s ease;
        padding-bottom: 20px;
        margin-bottom: 15px;
        &:hover {
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }
        &:after {
          content: "Nổi bật";
          position: absolute;
          top: 0;
          left: 0;
          padding: 5px 15px 5px 10px;
          border-radius: var(--radius) 0 32px 0;
          font-size: 13px;
          line-height: normal;
          color: #fff;
          background-color: rgb(1, 47, 255);
          display: flex;
          justify-content: center;
        }
        /* border: 2px var(--color-dark) dashed; */
        ul {
          height: 90px;
          overflow-y: auto;
          padding-right: 10px;
          margin-bottom: 12px !important;
        }
        .text-price {
          color: #4564ed;
          font-weight: 600;
          font-size: 24px;
          padding-bottom: 15px !important;
          text-align: left;
          strong {
            font-size: 12px;
            font-weight: 400;
            line-height: 12px;
            color: #3d3d3d;
          }
        }
        .text:first-child {
          /* color: var(--color-dark); */
          /* background-color: var(--color-bland); */
          padding: 15px 10px;
          /* margin: -4px; */
          border-top-left-radius: var(--radius);
          border-top-right-radius: var(--radius);

          p {
            margin: 0;
            font-weight: 600;
            font-size: 18px;
            line-height: 1.5;
            text-align: center;
          }
        }
        .text {
          padding: 0 15px;
          img {
            border-radius: 10px;
          }
          p img {
            margin-bottom: 0;
          }
        }
        .text:nth-child(3) {
          p {
            margin: 0;
          }
        }
        li {
          margin-left: 0;
          line-height: normal;
          list-style-type: none;
        }
        .text-content {
          margin-bottom: 15px;
        }
        .text-content li {
          position: relative;
          margin-left: 25px;
          margin-bottom: 10px;
          font-size: 14px;
          &::before {
            content: "";
            background-image: var(--check-li);
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
            left: -25px;
            width: 20px;
            height: 20px;
            display: inline-block;
            margin-right: 10px;
          }
        }
      }
    }
  }
}

@media (min-width: 550px) and (max-width: 849px) {
  .row-slider {
    --w: 50%;
    .flickity-viewport {
      width: calc(100% + 15px) !important;
    }
  }
}
@media (max-width: 549px) {
  .row-slider {
    --w: 50%;
  }
  .slider-wrapper .flickity-prev-next-button {
    display: block !important;
    width: 30px;
    height: 30px;
  }
  .banner-home {
    .img-inner img {
      height: 220px;
      object-fit: cover;
    }
  }
}

.list-icon .icon-box-text {
  display: none;
}

.list-icon .icon-box-img {
  margin: auto;
}
footer {
  .footer-primary.pull-left {
    float: inherit;
  }
  ul {
    margin-bottom: 0;
    li {
      list-style-type: none;
      margin-left: 0 !important;
    }
  }
}
.list-icon {
  .icon-inner {
    display: flex;
  }
}

.list-icon {
  justify-content: flex-end !important;
}

.bg-custome .text p {
  margin-bottom: 0 !important;
}
.bg-custome .col:first-child .col-inner {
  background: linear-gradient(90deg, #213142 0.62%, #0a9c4b 99.38%);
}
.bg-custome .col:nth-child(2) .col-inner {
  background: linear-gradient(90deg, #f6921e 0, #eb2e0f 100%);
}
.bg-custome .col:nth-child(3) .col-inner {
  background: linear-gradient(0deg, rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.12)), linear-gradient(90deg, #657587, #5097ff);
}
.items-center {
  .icon-box-left,
  .icon-box-right {
    align-items: center;
  }
}
/* Slider Flatsome */
html .flickity-button {
  /* opacity: 1 !important; */
  .flickity-button-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
}
.img-radius-15 .img-inner {
  border-radius: 15px;
}
.pd-col-15 {
  margin: 0 -7.5px;
  .col {
    padding: 0 7.5px;
  }
}
.slider-box .slider:not(.flickity-enabled) > .row {
  display: flex !important;
  flex-flow: row wrap;
}

.row-slider .slider:not(.flickity-enabled) > .row {
  display: flex !important;
  width: 100% !important;
  .col {
    position: relative !important;
    left: unset !important;
  }
}

body:not(.ux-builder-iframe) {
  .col-hide-dsk-3 .row .col:nth-child(n + 4) {
    display: none;
  }

  .col-hide-dsk-4 .row .col:nth-child(n + 5) {
    display: none;
  }

  .col-hide-dsk-6 .row .col:nth-child(n + 7) {
    display: none;
  }
}

.is-divider:not(.divider) {
  margin: 0;
  display: none;
}

/* custome blog */
#post-list .from_the_blog_excerpt {
  margin-top: 7px;
}
#post-list .row .post-item:first-child {
  max-width: 100%;
  flex-basis: 100%;

  .box-image {
    width: 100%;
  }
  .post-title {
    font-size: 22px;
  }
  .box-text {
    padding-left: 15px;
    padding-top: 0;
  }
  .box {
    display: flex;
    /* flex-direction: column;
    align-items: center; */
  }
}
nav.rank-math-breadcrumb p {
  margin-bottom: 10px !important;
}
.archive-page-header .large-12.text-center.col {
  padding-bottom: 0;
}
.archive-page-header h1 {
  font-size: 28px;
}
.wp-caption p {
  margin-bottom: 0;
}
#post-list .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ul-none li {
  list-style-type: none;
  margin-left: 0 !important;
  line-height: normal;
}
@media (min-width: 550px) {
  .my-register-package > .col-inner:first-child {
    position: sticky;
    top: 80px;
  }
}
@media (min-width: 550px) and (max-width: 849px) {
  body:not(.ux-builder-iframe) {
    .col-hide-tl-2 .row .col:nth-child(n + 3) {
      display: none;
    }

    .col-hide-tl-3 .row .col:nth-child(n + 4) {
      display: none;
    }

    .col-hide-tl-4 .row .col:nth-child(n + 5) {
      display: none;
    }
  }
}

@media (max-width: 550px) {
  body:not(.ux-builder-iframe) {
    .slider-box .col-hide-mb-1 .col {
      padding-left: 0;
      padding-right: 0;
    }

    .row-slider.col-hide-mb-1 .col {
      flex-basis: 65%;
      max-width: 65%;
    }

    .row-slider.col-hide-mb-1 .slider .row {
      padding: 0 15px;
    }
    .col-hide-mb-1 .row .col:nth-child(n + 2) {
      display: none;
    }

    .col-hide-mb-2 .row .col:nth-child(n + 3) {
      display: none;
    }

    .col-hide-mb-3 .row .col:nth-child(n + 4) {
      display: none;
    }
  }
  #post-list .row .post-item:first-child {
    .box {
      flex-direction: column;
      align-items: center;
    }
    .post-title {
      font-size: 18px;
    }
    .box-text {
      padding-top: 15px;
      padding-left: 0;
      border-bottom: 1px solid #f1f1f1;
    }
    .from_the_blog_excerpt {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
  .order-first-mb {
    order: -1;
  }
}

.form-booking {
  margin: 0px auto;
}
.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: rgb(45, 45, 45);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 20px;
}
.form-group {
}
.form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: rgb(31, 45, 61);
  font-size: 14px;
}
.form-group label .required,
.form-group label i {
  color: red;
  font-style: normal;
}
.form-booking input,
.form-booking select,
.form-booking textarea {
  width: 100%;
  height: 45px;
  border: 1px solid rgb(217, 222, 232);
  border-radius: 7px;
  padding: 0px 18px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none !important;
  box-shadow: none !important;
}
.form-booking textarea {
  height: 110px;
  padding-top: 15px;
  resize: none;
}
.form-booking input:focus,
.form-booking select:focus,
.form-booking textarea:focus {
  border-color: rgb(69, 100, 237);
}
.form-radio {
  margin: 10px 0px 20px;
}
.form-radio .wpcf7-list-item {
  margin-right: 25px;
}
.form-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  line-height: normal;
}
.form-radio .wpcf7-list-item input:checked + span {
  color: rgb(69, 100, 237);
}
.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.form-submit {
  margin-top: 0px;
}
.form-submit input[type="submit"] {
  width: auto;
  min-width: 180px;
  background: rgb(69, 100, 237);
  color: rgb(255, 255, 255);
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  margin-bottom: -10px;
  margin-top: -10px;
  border-radius: 7px !important;
}
.form-submit input[type="submit"]:hover {
  opacity: 0.9;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-booking .select2-container {
  width: 100% !important;
}
.form-booking .select2-selection--single {
  height: 45px !important;
  border: 1px solid rgb(217, 222, 232) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0px 18px !important;
}
.form-booking .select2-selection__rendered {
  line-height: 45px !important;
  padding-left: 0px !important;
  color: rgb(51, 51, 51) !important;
  font-size: 16px !important;
}
.form-booking .select2-selection__arrow {
  height: 45px !important;
  right: 12px !important;
}
.form-booking .select2-dropdown {
  overflow: hidden;
  border: 1px solid rgb(217, 222, 232) !important;
  border-radius: 10px !important;
}
.form-booking .select2-search__field {
  border: 1px solid rgb(217, 222, 232) !important;
  border-radius: 6px !important;
  height: 40px !important;
  padding: 0px 10px !important;
}
.form-booking .select2-results__option {
  padding: 10px 15px;
}
.no-package {
  background: #f6f6f6;
  padding: 20px 16px;
  border-radius: 16px;
  border: 2px #b7b7b7 dashed;
}
.view-package-html {
  ul {
    height: auto !important;
  }
  .btn-register,
  .btn-call {
    display: none !important;
  }
  .col-inner:not(:hover) {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15) !important;
  }
  .text-content {
    height: auto !important;
  }
}
a.btn-home-package {
  margin-top: -40px !important;
  margin: 0 auto;
  display: table;
}
