/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
.primarycolor {
    color: #1572B7;
}
.hpimages {
    border: 1px solid #fff;
}
.responsive {
    width: 100%;
    height: auto;
}
.responsive-max {
    max-width: 300px;
    height: auto;
}
#footer.bgcolor {
    /*background-color: #F8F1F0;*/
    background-color: #F9F9FA;
}
#topbar.bgcolor {
    background-color: #1572B7;
}
#header-wrap.bgcolor {
    background-color: #F9F9FA !important;
}
#footer .footer-content {
    padding: 30px 0 20px 0;
}
.lightbox-border {
    border: solid;
    border-width: thin;
    border-color: #fff !important;
}
.text13 {
    font-size: 13px !important;
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif !important;
}
.iframe-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}
.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.youtube-small-vert {
    max-width: 240px !important;
    max-height: 426px !important;
    margin: 0 auto;
    display: block;
}
.pagination-center {
    display: flex;
    justify-content: center;
}

/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
    padding-top: 75%;
}
.img-border {
    border-style: solid;
    border-width: thin;
}
.blockquote {
    border-left: 3px solid #1572B7;
    font-size: 20px;
    padding: 10px 20px;
    margin: 0 0 20px;
}
.blockquote-small {
    border-left: 3px solid #157287;
    font-size: small;
    font-style: normal;
    padding: 10px 20px;
    margin: 0 0 20px;
}
/*.test {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}*/
.owl-nav {
    margin-top: -6em;
}
.owl-caption-pos-hp {
    padding-bottom: 45px !important;
}
.caption-padding {
    padding: 10px !important;
}
.caption-font {
    font-size: small !important;
}
.shop-box {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    border-style: double;
    border-color: #DA9400;
    text-align: center;
    display: block;
    font-size: small !important;
}
/* homepage tiles */
.journey-wrapper {
  max-width: 1170px;   /* adjust to match your site */
  margin: 0 auto;
  padding: 20px 20px;     /* gives breathing room on smaller screens */
}
.journey-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
}

.tile-large {
  grid-row: span 2;
  border: 1px solid #C0C0C0;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
}
.overlay h2 {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.badge {
  background: #e74c3c;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 400 !important;
}
.tile img {
  transition: transform 0.4s ease;
}

.tile:hover img {
  transform: scale(1.05);
}
/* Tablet */
@media (max-width: 900px) {
  .journey-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tile-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}
/* Mobile */
@media (max-width: 600px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .tile-large {
    grid-column: span 1;
  }
}
@media (max-width: 600px) {
  .overlay h2 {
    font-size: 14px;
  }
}

/* end homepage tiles */
.thailand-post-entry {
    width: 33.333% !important;
}
.coming-soon {
    font-weight: 600;
    color: white;
}
.image200 {
    max-width: 200px;
}
.zoom-btn-align {
    top: 100px !important;
}
.tl-more {
    font-weight: normal;
    text-transform: none;
}
.tl-photos {
    font-weight: normal;
    text-transform: lowercase;
}
.video-640 {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.video-640h {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}
.tabs .nav-tabs .nav-link.active {
    color: #1572B7;
}

/*#logo a > img {
    max-width: 100%;
    height: auto !important;
    vertical-align: middle !important;
}*/
#logo {
    margin-top: -1px;
}
.hp-img-labels {
    padding: 0 30px 5px !important;
}
.hp-th-list {
    width: 100%;
}

@media (max-width: 991px) {
    .img-responsive {
        min-width: 50%;
        height: 80%;
    }

    #logo {
        max-width: 220px;
    }
}

