:root {
  --plyr-color-main: #4082ff;
  --post-accent-color: #404040;
  --default-post-img-width: 300px;
}

/* vietnamese */
@font-face {
  font-family: "Allura";
  font-style: normal;
  font-weight: 400;
  src: url(fonts/9oRPNYsQpS4zjuA_hAgWHNn7GfHC.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Allura";
  font-style: normal;
  font-weight: 400;
  src: url(fonts/9oRPNYsQpS4zjuA_hQgWHNn7GfHC.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Allura";
  font-style: normal;
  font-weight: 400;
  src: url(fonts/9oRPNYsQpS4zjuA_iwgWHNn7GQ.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  font-family: "Arial";
  font-size: 18px;
  font-weight: 400;
  background-color: #eee;
}

h1 {
  font-size: 200%;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
}

header {
  background-image: url("../img/diving1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 150px 0;
}
header p a {
  font-family: "Allura";
  color: #fff;
  margin-bottom: 0;
  font-size: 60px;
  margin-top: 0;
  text-transform: none;
  border-radius: 0;
}

.container_menu {
  width: 500px;
  margin: 0 auto;
}

.container_menu .menu_item {
  width: 50%;
  float: left;
  font-size: 18px;
}

.container_menu .menu_item a,
.container_menu .menu_item a:hover {
  color: #000;
  background-color: transparent;
}

.palm_tree {
  text-align: center;
}
.palm_tree img {
  width: 26px;
  padding-left: 3px;
}

.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  background: #c5cae9;
  width: 5px;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}

.timeline-item .item_time {
  color: #9d9d9d;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 40px 15px 10px 15px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #3f51b5;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

a {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 10px;
  display: inline-block;
  border-radius: 2px;
}
a:hover,
a:active,
a:focus {
  background: #32408f;
  color: #ffffff;
  text-decoration: none;
}

.timeline-card {
  padding: 0 !important;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

.timeline-img-header {
  position: relative;
}

.timeline-img-header img {
  width: 100%;
  max-height: 335px;
}

.timeline-img-header .full_gallery img {
  width: 100%;
  max-height: 600px;
}

.timeline-img-header video {
  max-height: 335px;
}

.timeline-img-header .mejs__container-fullscreen video {
  max-height: 100%;
}

.container_title {
  text-align: center;
  padding: 30px 0;
  color: #333;
}
.timeline-img-header h2 {
  color: #ffffff;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

blockquote {
  margin-top: 30px;
  color: #757575;
  border-left-color: #3f51b5;
  padding: 0 20px;
}

.date {
  background: var(--post-accent-color);
  display: inline-block;
  color: #ffffff;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

.timeline-content .post_id {
  right: auto;
  left: 15px;
  position: absolute;
  top: 15px;
}
.timeline-item:nth-child(2n) .timeline-content .post_id {
  left: auto;
  right: 15px;
  position: absolute;
  top: 15px;
}

.post_description {
  margin-top: 15px;
}

.img_map_marker {
  text-align: center;
}
.img_map_marker a {
  background: none;
  box-shadow: none;
}
.timeline-img a {
  background: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.timeline-img-header .afterglow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.comment_form_wrap .comment_row {
  width: 100%;
  margin-bottom: 2px;
}

.video-container {
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.video-container > video {
  width: 100%;
}

.comment_submit {
  background: var(--post-accent-color);
  color: #fff;
  border: 1px solid #ccc;
  padding: 5px 10px;
}

#loading {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.post_comments_wrap {
  padding: 5px;
  margin-bottom: 10px;
}

.comment_item .comment_author {
  font-size: 13px;
  width: 100%;
  display: block;
}

.comment_item .comment_text {
  font-size: 15px;
  width: 100%;
  display: block;
}

.error_text {
  color: red;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

#lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

#lightbox-caption {
  color: #fff;
  font-size: 18px;
  text-align: center;
  margin-top: 10px;
}

.hidden {
  display: none;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

a.full_gallery {
  text-align: center;
}

.video-js {
  width: 100%;
  max-height: 300px;
}

.mejs__container {
  height: 335px !important;
  width: auto !important;
  text-align: center;
}

.current_location a,
.current_location a:hover {
  color: #15141A;
  background: none;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
    padding: 40px 15px 10px 15px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }

  .timeline-item:nth-child(2n) .timeline-content {
    padding: 40px 15px 10px 15px;
  }
}

@media screen and (max-width: 480px) {
  .timeline .timeline-content {
    margin-left: 0;
  }
  #timeline_posts {
    padding: 0;
  }
  .timeline-img-header img {
    width: 100%;
    max-height: unset;
    max-width: unset;
  }
  .timeline-img-header img.lazy {
    max-width: 40px;
  }
  a.full_gallery {
    width: 100%;
  }
  .comment_form_wrap .comment_row {
    max-width: unset;
  }
}

.pick_year a {
  color: #000;
}