*,
::after,
::before {
    box-sizing: border-box;
}
/* body.home.logged-in header{margin-top:32px;} */
a:hover{
    color: #417490;
}

a p:hover{
    color: #417490 !important;
}

html {
    scroll-behavior: smooth;
}



body {
    font-family: "Montserrat", "Noto Sans JP", "Noto Sans Thai", sans-serif !important;
    font-weight: 400;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
    background-color: #ffffff;
    padding-left: 56px;
    padding-right: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 2px 8px -8px;
}

.content_header {
    grid-template-columns: 50px 1fr;
}
header nav {
    display: flex;
}
header nav ul {
    display: flex;
    list-style: none;
    /* padding-left: 56px; */
    padding-left: 0;
    margin: 0;
}

header nav ul li,header nav .blog_page_link {
    padding: 20px;
}

header nav ul li a,header nav .blog_page_link a {
    position:relative;
    color: #1E1E1E;
    text-decoration: none;
}
header nav ul li a:hover,header nav .blog_page_link a:hover {
  color: #417490;
  text-decoration: underline;
}
header nav ul li a.active {
    color: #366179;
}
header nav ul li a:before {
    content:"";
    position:absolute;
    width: 7px;
    height:7px;
    background-color: #366179;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    opacity: 0;
    transition: 0.25s;
}
header nav ul li a.active:before {
    opacity: 1;
}
main {
    margin-top: 85px;
}

section {
    position: relative;
    margin-top: 120px;
    margin-bottom: 120px;
}

h1,
h2,
h3,
p {
    letter-spacing: 2px;
}

h2 {
    font-size: 40px;
    margin-top: 0;
    /* margin-bottom: 30px; */
}

h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

p {
    line-height: 1.75;
}

.container_main {
max-width: 1400px;
margin: 0 auto;
padding-left: 25px;
padding-right: 25px;
padding-top: 30px;
}

.container_detail {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

section .sec_title {
    margin-bottom: 50px;
}

section .sec_title h2,
section .sec_title .description {
    position: relative;
    margin: 0;
}

section .sec_title h2 {
    padding-left: 50px;
}

section .sec_title h2:before {
    position: absolute;
    content: "";
    width: 40px;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    background: #000;
}

section .sec_title .description {
    margin-top: 30px;
    margin-left: 80px;
    font-size: 20px;
    color: #777777;
}

#who_we_are .about_item {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    align-self: center;
}

@media (max-width:992px) {
  header nav {
    flex-direction: column;
  }
  header nav .blog_page_link {
    padding: 20px 20px 20px 62px;
  }
}
@media screen and (min-width: 768px) and (max-width: 992px) {

    .container_main {
        width: 100%;
        padding-left: 36px;
padding-right: 36px;
    }

    section .sec_title .description {
        margin-left: 50px;
    }

    section {
        padding-left: 30px;
        padding-right: 30px;
    }

    
    header nav ul li {
    padding: 20px;
}

}

@media (max-width: 512px) {
  

    header nav ul li {
    padding: 20px;
}

    .container_main {
        width: 100%;
        padding-left: 24px;
padding-right: 24px;
    }

    h2 {
        font-size: 30px;
    }

    section {
        padding-left: 0;
        padding-right: 0;
    }

    section .sec_title .description {
        font-size: 16px;
        margin-left: 0;
    }
}

/* HOME PAGE */
#home {
    margin-top: 0;
  }
  #home .tomo_home {
    position: relative;
    height: calc(100vh - 85px);
    overflow: hidden;
  }
  #home .tomo_home .video {
    /* position: absolute; */
    height: 100%;
    width: 100%;
    /* left: 50%;
    transform: translate(-50%, 0); */
  }
  #home .tomo_home .video video {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  #home .tomo_home .txt {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: #417490;
    text-shadow: 1px 1px 3px #9aaf9c;
    font-size: 18px;
    font-weight: 700;
    padding-left: 50px;
  }
  #home .tomo_home .txt:before {
    position: absolute;
    content: "";
    width: 40px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    background: #417490;
    text-shadow: 1px 1px 3px #9aaf9c;
  }
  @media (max-width: 992px) {
    #home {
      padding-left: 0;
      padding-right: 0;
    }
    #home .tomo_home {
      height: calc(100vh - 81px);
    }
    #home .container_main {
      padding: 0;
    }
  }
  @media (max-width: 768px) {
    #home .tomo_home {
      height: 500px;
    }
  }
  .staff_item {
}
.staff_item .staff_img {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}
.staff_item .staff_img img {
  transition: 0.5s;
}
.staff_item .staff_img .staff_detail {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: -100%;
  padding: 20px;
  transition: 0.4s;
  transition-delay: 0.2s;
  letter-spacing: 2px;
  line-height: 1.5;
  font-weight: 700;
  color: #515769;
  background: rgba(255, 255, 255, 0.9);
}
.staff_item .staff_img:hover img {
  transform: scale(1.1);
}
.staff_item .staff_img:hover .staff_detail {
  left: 0;
}



/* PAGE */
.page-template header {
    /* position:relative; */
    /* box-shadow: none; */
}
.page-template .cat_blog ul {
    display:flex;
    flex-direction:row;
    padding:0;
  flex-wrap: unset;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  width: auto;
}

.page-template .cat_blog ul::-webkit-scrollbar { 
  width: 0 !important;
  display: none; 
}

.page-template .cat_blog ul li {
  border-right: 1px #000 solid;
  list-style: none;
  padding-right: 24px;
}

.page-template .cat_blog ul li + li {
    border-right: 1px #000 solid;
    list-style: none;
    padding-right: 24px;
    padding-left: 24px;
    /* margin-bottom:10px; */
}
.page-template .cat_blog ul li:last-child {
    border-right: none;
}
.page-template .cat_blog ul li a {
    text-transform: uppercase;
    color: #1e1e1e;
    text-decoration: none;
}
.page-template .cat_blog ul li.active a {
    color: #366179;
    text-decoration: underline;
}
.page-template .line-box {
    border: 1px solid #000;
    margin-bottom: 2rem;
}
.page-template .blog-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    max-width: 100%;
    object-position: center;
    border-bottom-right-radius: 80px;
    position: absolute;
}
.page-template .title h2{
    margin-bottom:1rem; 
    font-size: 36px;
    font-weight: 600;
}
.page-template .title a {
    text-decoration: none;
    color: #000;
}
.page-template .article-p {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.page-template .read {
    display: flex;
    justify-content: right;
    color: #000;
}

.page-template .article {
    white-space: normal;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
}

.page-template .article h2 {
    margin: 0;
    font-size: 24px;
}
.page-template .article iframe,.page-template .article video, body.archive .article video{
    display: none;
}
.page-template .article img{
    display: none;
}
.blog-pages h1 {
    font-size: 36px;
    font-weight: 600;
    color: #1E1E1E;
}

.blog-pages h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1E1E1E;
}

.blog-pages p {
    letter-spacing: 1.25px;
    color: #1E1E1E;
    word-wrap: break-word;
}
.post-content img{
    width: 100%;
    height: auto;
}

iframe {
    display: block;
    margin: 0 auto;
}

#breadcrumbs {
    letter-spacing: 1.25px;
    padding-bottom: 1rem;
}

#breadcrumbs a {
    color: #1E1E1E;
    text-decoration: none;
}

#breadcrumbs span>span::after {
    font-family: "Font Awesome 5 Free";
    /* content: "\f054"; */
    font-weight: 400;
    content: ">";
    font-size: 13px;
    padding: 0 24px;
}

#breadcrumbs span+span::after {
    display: none;
}

.breadcrumb_last strong{
    font-weight: 400;
}

.wp-pagenavi {
    text-align: center;
}
.wp-pagenavi span.current {
    color: #366179;
    text-decoration: underline;
}
.wp-pagenavi a,
.wp-pagenavi span {
    text-decoration: none;
    border: none;
    margin: 5px;
    padding: 5px 15px;
    color: #000;
    font-weight: 400;
}

@media screen and (min-width: 768px) and (max-width: 992px) {

    .page-template .title h2 {
        font-size: 32px;
    }

    #breadcrumbs {
        padding: 48px 0 1rem;
    }


    .page-template header {
        position: fixed;
    }

    .page-template .article {
    -webkit-line-clamp: 4;
}

.page-template .cat_blog ul {
  grid-gap: 10px;
}

}

@media screen and (max-width: 767px) {

  .wp-pagenavi a,
.wp-pagenavi span {
    margin: 0;
    padding: 5px 8px;
}

    .page-template header {
        position: fixed;
    }

    #menu-category li{
        padding: 0 24px;
    }

    #menu-category {
padding-top: 24px;
justify-content: center;
margin-bottom: 16px;
}

.page-template .blog-img {
height: 400px;
position: relative;
}

.page-template .article {
    -webkit-line-clamp: 5;
}


.page-template .article-p{
padding: 1rem;
}

.page-template .title h2{
font-size: 24px;
}

.page-template .line-box {
margin-bottom: 24px;
}

.blog-pages h1 {
    font-size: 24px;
}

.blog-pages h2 {
    font-size: 20px;
}

.page-template .cat_blog ul {
  grid-gap: 10px;
}

}

/* POST */
.single-post header {
    /* position:relative; */
    
}
.single-post hr {
    margin: 2rem 0;
}

.single-post .line-box {
    border: 1px solid #366179;
    margin-bottom: 30px;
}

.single-post .side-posts {
    padding-left:48px;
}

.single-post .posts .date p {
    letter-spacing: 1.25px;
    color: #414141;
}

.single-post .cats {
    color: #414141;
}

.single-post .cats ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
.single-post .post-categories li {
    border-right: 1px #000 solid;
    list-style: none;
    margin-bottom: 10px;
}
.single-post .post-categories li:last-child {
    border-right:none;
}
.single-post .cats li a {
    text-decoration: none;
    color: #1E1E1E;
    padding-left: 24px;
    padding-right: 24px;
    
}

.single-post .social {
    border-top: 1px solid #000;
    padding: 30px 0;
}

.single-post .social a {
    padding-right: 16px;
}


.single-post video {
  width: 276px ;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* .single-post video {
    width: 100% !important;
    height: auto !important;
} */

.single-post pre {
    max-width: 100%;
    width: 100%;
}

.single-post .other-post {
    font-size: 26px;
    font-weight: 600;
    color: #1E1E1E;
}

.single-post .facebook {
    content: url('https://birds-international.com/wp-content/themes/Tomotomo/assets/images/Facebook.svg');
    width: 50%;
    height: auto;
    padding-left: 24px;
}

.single-post .facebook:hover {
    content: url('https://birds-international.com/wp-content/themes/Tomotomo/assets/images/Facebook_Hover.svg');
}

.single-post .instragram {
    content: url('https://birds-international.com/wp-content/themes/Tomotomo/assets/images/Instagram.svg');
    width: 50%;
    height: auto;
    padding-left: 24px;
}

.single-post .instragram:hover {
    content: url('https://birds-international.com/wp-content/themes/Tomotomo/assets/images/Instagram_Hover.svg');
}

.single-post .line {
    content: url('https://birds-international.com/wp-content/themes/Tomotomo/assets/images/Line1.svg');
    width: 50%;
    height: auto;
    padding-left: 24px;
}

.single-post .line:hover {
    content: url('https://birds-international.com/wp-content/themes/Tomotomo/assets/images/Line_Hover.svg');
}

.single-post .side-title a {
    text-decoration: none;
    color: #000;
    /* padding-right: 16px; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.single-post .side-cat-list{
    display: flex;
    flex-wrap: wrap;
}

.single-post .side-cat-list a{
    padding-right: 16px;
}
.single-post .side-cat-list p {
  margin-bottom:0;
}

.single-post .side-posts img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    max-width: 100%;
    padding-bottom: 0;
}


@media screen and (max-width: 992px) {
    .single-post .facebook {
        width: 60px;
        padding-left: 24px;
    }

    .single-post .instragram {
        width: 35%;
        padding-left: 16px;
    }

    .single-post .line {
        width: 60px;
        padding-left: 24px;
    }

    .single-post .side-posts {
    padding-left:unset;
}
.single-post .side-posts img {
    width: 100%;
    height: 100%;
    margin-bottom:10px;
}

.single-post .all-post {
    display: flex;
    overflow: scroll;
}

.single-post .all-post article {
    padding-right: 24px;
}

.single-post .side-title a {
    -webkit-line-clamp: 2;
}

}


@media screen and (max-width: 512px) {

    .single-post .facebook {
        width: 50px;
        padding-left: 16px;
    }

    .single-post .instragram {
        width: 50px;
        padding-left: 16px;
    }

    .single-post .line {
        width: 50px;
        padding-left: 16px;
    }

    .single-post .posts .date p {
        font-size: 14px;
    }

    .single-post .other-post {
        font-size: 20px;
    }

    .single-post .cats {
        padding-bottom: 8px;
    }

    .single-post .side-posts {
    padding-left:unset;
}

}

/* CATEGORY */
.category header {
    /* position:relative;
    box-shadow: none; */
    position: fixed;
}

/* Footer */
.copyright {
    color: #414141;
    font-size: 14px;
    padding-top: 72px;
    padding-bottom: 48px;
    text-align: center;
  }

  .go_to_top {
    position: fixed;
    right: 20px;
    bottom: 50px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .go_to_top.active {
    opacity: 1;
    visibility: visible;
  }

  .go_to_top:before {
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 50px;
    background-color: #366179;
    left: 50%;
    top: -60px;
  }

  .go_to_top:after {
    content: "back to top";
    display: inline-block;
    width: 105px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #366179;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    position: absolute;
    font-size: 10px;
    top: -90px;
    left: 60%;
  }

  .go_to_top a {
    align-items: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
    height: 50px;
    width: 50px;
    line-height: 40px;
    background: #366179;
    color: white;
    text-align: center;
    text-transform: uppercase;
    border-radius: 50%;
    transition: 0.3s;
  }

  .go_to_top a:hover {
    background: #417490;
    color: #fff;
  }

  @media (max-width: 992px) {
    .copyright {
      padding-top: 20px;
      padding-bottom:20px;
    }
  }

  @media (max-width: 767px) {

    .go_to_top a {
      height: 60px;
    width: 60px;
    }

    
  }
  @media (max-width: 512px) {
    .copyright {
      margin-bottom: 60px;
    }
  }
  .map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
  }

  .map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
  }

  #contact .contact_information {
    width: 650px;
    margin: 20px auto;
  }

  #contact .contact_information .contact_item {}

  #contact .contact_information .contact_item .topic,
  #contact .contact_information .contact_item .detail {
    letter-spacing: 2px;
    line-height: 2;
  }

  #contact .contact_information .contact_item .topic {
    color: #366179;
    font-weight: 700;
  }

  #contact .contact_information .contact_item .detail .social_icon {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
  }

  #contact .contact_information .contact_item .detail .social_icon a {
    color: #333;
    text-decoration: none;
  }

  .btn_main.btn_center {
    text-align: center;
  }

  .btn_main a {
    display: inline-block;
    background-color: #366179;
    color: #fff;
    padding: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.5s;
    min-width: 250px;
  }

  .btn_main a:hover {
    color: #fff;
    opacity: 0.8;
  }

  .booking {
    position: fixed;
    bottom: 50px;
    right: 80px;
  }

  .booking a {
    background-color: #366179;
    color: #fff;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    transition: 0.5s;
  }
  .booking a span {
    position:relative;
    display: flex;
    flex-direction: column;
  }
  .booking a span:before {
    content: "";
    display: block;
    background-image: url(https://birds-international.com//wp-content/themes/Tomotomo/assets/images/Line_icon.svg);
    width: 40px;
    height: 40px;
    background-size: 40px;
    background-repeat: no-repeat;
    align-self: center;
    margin-bottom: 5px;
  }
  .booking a:hover {
    /* opacity: 0.8; */
    background-color: #417490;
    color: #fff !important;
  }

  section.bg-style {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .grid_template {
    display: grid;
    grid-gap: 20px;
  }

  .grid_template.col-who_we_are {
    grid-template-columns: 1fr 1fr;
  }

  .grid_template.col-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .logo .img-responsive {
      /* max-width: 250px; */
      max-width: 50px;
    }

  .img-responsive {
    /* max-width: 250px; */
    max-width: 100%;
    height: auto;
  }

  #price .price_list {
    margin-bottom: 60px;
  }

  #price .price_list .price_item,
  #price .heade_price {
    height: 50px;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    color: #333;
  }

  #price .heade_price {
    display: flex;
    font-size: 18px;
    color: #777777;
  }

  #price .price_list .price_item>div:last-child {
    text-align: right;
  }

  .toggle-menu {
    display: none;
  }

  .toggle-menu {
    position: relative;
    width: 70px;
    height: 100%;
    background: #366179;
    border: none;
  }

  .toggle-menu span,
  .toggle-menu span:before,
  .toggle-menu span:after {
    position: absolute;
    transition: all 0.4s;
    height: 1px;
    width: 30px;
    border-radius: 3px;
    background: #ffffff;
    display: block;
    content: "";
    cursor: pointer;
    z-index: 50;
  }

  .toggle-menu span {
    top: 30px;
    left: 20px;
  }

  .toggle-menu span:before {
    top: 10px;
  }

  .toggle-menu span:after {
    bottom: -20px;
  }

  @media (max-width: 992px) {
    header {
      padding: 0;
    }

    main {
      margin-top: 81px;
    }

    .content_header {
      grid-template-columns: 1fr;
      grid-gap: 0;
    }

    .content_header .logo {
      display: grid;
      grid-template-columns: 1fr 70px;
      align-items: center;
      background: #fff;
    }

    .logo .img-responsive {
      width: 80px;
      max-width: 100%;
      height: auto;
      padding-left: 36px;
      padding-top: 20px;
      padding-bottom: 20px;
    }

    .navigation {
      background-color: #c7d6c8;
      visibility: hidden;
      height: 0;
      transition: 0.3s;
      opacity: 0;
    }

    .navigation.active {
      visibility: visible;
      height: 400px;
      opacity: 1;
    }

    header nav ul {
      flex-direction: column;
    }

    .grid_template.col-3 {
      grid-template-columns: 1fr 1fr;
    }

    .toggle-menu {
      display: block;
    }

    #contact .contact_information .contact_item .detail .social_icon {
      /*flex-direction: column;*/
    }

    .booking a {
      width: 150px;
      height: 150px;
      font-size: 16px;
    }

    #reservetion .btn_main {
      text-align: center;
    }
  }

  @media (max-width: 768px) {
    .grid_template.col-who_we_are {
      grid-template-columns: 1fr;
    }

    .grid_template.col-who_we_are img {
      order: 0;
    }

    .grid_template.col-who_we_are .about_item {
      order: 1;
    }

    #contact .contact_information {
      width: 100%;
    }
  }

  @media (max-width: 512px) {

    /* main {
      margin-top: 64px;
    } */

    .logo .img-responsive {
      width: 70px;
      height: auto;
      max-width: 100%;
      padding: 20px 0;

        padding-left: 24px;
    }

    .booking {
      position: fixed;
      bottom: 0;
      width: 100%;
      height: 60px;
      right: 0;
    }

    .booking a {
      width: 100%;
      height: 100%;
      font-size: 16px;
      border-radius: unset;
    }

    .booking a span {
      flex-direction: row;
      align-items: center;
    }

    .booking a span:before {
      background-image: url(https://birds-international.com//wp-content/themes/Tomotomo/assets/images/Line_icon.svg);
      width: 40px;
      height: 30px;
      background-size: 30px;
        margin:0;
    }

    .go_to_top {
      right: 30px;
      bottom: 80px;
    }

    .go_to_top:before,
    .go_to_top:after {
      content: unset;
    }

    .grid_template.col-3 {
      grid-template-columns: 1fr;
    }
  }