* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Proxima Nova Regular";
  font-family: "Open Sans", sans-serif !important;
  min-width: 370px;
}

ul,
li,
a {
  list-style: none;
  text-decoration: none;
}

ul,
li,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

header,
main,
footer {
  max-width: 1440px;
  margin: 0 auto;
}

/* header */
header {
  width: 100%;
  font-size: 1em;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 60px;
  background-color: #b0e2ee;
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.nav ul li {
  display: inline;
  padding: 0 41px;
}

.nav a {
  color: #363636;
  font-weight: 400;
}

.nav a:hover {
  border-bottom: 2px solid #4d4d4d;
}

.menu {
  display: none;
  flex-direction: column;
  width: 34px;
  height: 18px;
  position: relative;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
}

.circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.circle:hover {
  background: #0764763b;
  z-index: 2;
  transition: all 0.1s ease-in-out;
}

.stick {
  width: 23px;
  height: 2.4px;
  background-color: #076476;
  border-radius: 5px;
  transition: all 0.2s cubic-bezier(0.57, 0.25, 0.86, 0.67);
  z-index: 1;
}

.x1,
.x2 {
  position: absolute;
  top: 7px;
}
.x1 {
  transform: rotate(45deg);
}

.x2 {
  transform: rotate(-45deg);
}

.right {
  display: flex !important;
  column-gap: 2em;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.contact_short {
  position: relative;
}

.contact_short span {
  padding: 6px 10px;
  background-color: #a4d6e2;
  outline: 1px solid #a4d6e2;
  outline-offset: 1px;
  cursor: pointer;
  color: #1d1d1f;
}

.contact_short span:hover {
  background-color: #ffffff;
}

.contact_items {
  position: absolute;
  width: 0;
  height: 0;
  background-color: #fdfdfd;
  top: 32px;
  left: 0;
  border-radius: 2px;
  transition: all 0.2s ease-out;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: -1;
  border: 1px solid #c6c6c6;
}

.show_contacts {
  padding: 12px 5px 8px;
  display: flex !important;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.hide_contacts {
  display: none;
}

.contact_items svg {
  width: 21px;
}

.hide_contact svg:hover {
  fill: #076476;
  stroke: #076476;
}

.contact_items img {
  width: 0;
}

.hide_contact {
  left: -60px;
  height: 40px;
  width: 200px;
  z-index: 2;
}

.hide_contact img {
  width: 21px;
}

.langs {
  position: relative;
}

.dropdown {
  width: 72px;
  height: 31px;
  background-color: #d0eff7;
  border: 1px solid #95a6aa;
  padding: 6px 8px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #696969;
  cursor: pointer;
  position: relative;
}

.up {
  width: 9px;
  height: 9px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  position: absolute;
  right: 9px;
  top: 8px;
  transition: all 0.2s ease-out;
}

.down {
  transform: rotate(225deg);
  top: 10px;
}

.langlist {
  display: none;
}

.langlist p:hover{
  background-color: #b8c3c5;
  /* border: 1px solid #95a6aa; */
  border-radius: 3px;
}

.langlist p a {
  color: #464646;
  width: 100%;
  display: block;
}

.langitem {
  display: block;
  width: 100%;
  position: absolute;
  background-color: #fdfdfd;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #c6c6c6;
  z-index: 1;
}

.langitem p {
  padding: 1px;
}

main {
  width: 100%;
  height: auto;
  min-height: 600px;
}

/* head */
.head {
  width: 100%;
  height: 600px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.slide_container {
  height: 100%;
  display: flex;
}

.slide_item {
  width: 100%;
  flex: 1 1 20px;
  transition: all 0.45s ease-out;
  position: relative;
  overflow: hidden;
}

.slide_item img {
  position: absolute;
  left: -220px;
  z-index: -10;
  transition: none;
}

.slide_img {
  transition: 1s ease-in-out !important;
  left: 0 !important;
}

.vertical_line {
  width: 3px;
  height: 100%;
  background-color: #95cfdd;
}

.vertical {
  width: 4px;
  background-color: #ffffff;
}

.slide_item .front {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: hsla(202, 59%, 17%, 0.26);
  transition: 0.5s ease-in;
}

.slide_item .front_shadow {
  background-color: rgba(255, 255, 255, 0);
}

.head_shadow {
  background-color: hsla(202, 59%, 17%, 0.26);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.head_title {
  color: #e2ebee;
}

.head_title h1 {
  font-size: 4.8rem;
  font-weight: 600;
}

.head_title p {
  font-size: 1.7em;
  max-width: 34em;
  line-height: 1em;
}

/* service */
.service {
  width: 100%;
  margin: 0 auto;
  padding: 70px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 360px));
  grid-template-rows: auto;
  grid-gap: 56px;
  align-items: start;
  justify-content: space-around;
}

.service .item {
  width: 100%;
  min-height: 294px;
  height: auto;
  background-color: #fdfdfd;
  outline: 1px solid #e4e4e4;
  outline-offset: -1px;
}

.service_img {
  background-color: #f0f4fc;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service_content {
  padding: 16px 32px 32px;
}

.service_content p {
  line-height: 25px;
  font-size: 1.1em;
  color: #3b3b3b;
  padding-top: 16px;
}

/* programs */
.allin {
  width: 100%;
  max-width: 1220px;
  position: relative;
  overflow: hidden;
}

.all {
  display: flex;
  position: relative;
  right: 0;
  transition: all 0.2s cubic-bezier(0.57, 0.25, 0.86, 0.67);
}

.programs {
  padding: 60px;
  color: #4d4d4d;
  position: relative;
}

.programs_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fcfcfc;
}

.programs h1 {
  text-align: center;
  font-weight: bold;
  line-height: 49px;
  font-size: 3.8em;
  padding: 42px;
}

#trip_title {
  background-color: #ddf2f2;
  position: relative;
}

.programs_titles {
  width: 100%;
  height: 49.5px;
  position: relative;
  overflow: hidden;
}

.scrolling_title {
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
}
.scrolling_title img {
  width: 9px;
  padding-bottom: 8px;
}

.next_title,
.prev_title {
  width: 38px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  position: absolute;
  cursor: pointer;
}
.next_title {
  right: 0;
  background-image: linear-gradient(90deg, rgb(221 242 242 / 9%), #ddf2f2 45%);
  justify-content: flex-end;
  padding-right: 8px;
}
.prev_title {
  background-image: linear-gradient(270deg, rgb(221 242 242 / 9%), #ddf2f2 45%);
  left: 0;
  justify-content: flex-start;
  padding-left: 8px;
}

.programs_title {
  display: flex;
  width: 100%;
  min-width: 720px;
  max-width: 990px;
  align-items: stretch;
  justify-content: space-around;
  margin: 0 auto;
  transition: all 0.3s ease-out;
}

.bottom_line {
  width: 100%;
  height: 3.3px;
  background-color: #95cfdd;
  position: absolute;
  left: 0;
  bottom: 0;
}

.programs_title li {
  max-width: 207px;
  width: auto;
  padding: 0 4px 6px;
  text-align: center;
  font-size: 1em;
  cursor: pointer;
  color: #939393;
  position: relative;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.pointer {
  width: 100%;
  height: 3.3px;
  background-color: #076476;
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 5px;
}

.programs_content {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 360px));
  grid-template-rows: repeat(auto-fill, 500px);
  grid-gap: 70px;
  justify-content: space-around;
  margin-right: 115px;
  align-items: start;
}

.program_item {
  background-color: #d3eefd;
  position: relative;
}

.trip_img img {
  width: 100%;
}

.details {
  padding: 17px;
}

.more {
  display: flex;
  justify-content: flex-end;
}

.more button {
  border: none;
  font-size: 0.9em;
  height: 35px;
  background-color: transparent;
  color: #2f3f47;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.more button:hover {
  background-color: #95cfdd;
}

.city_name {
  font-size: 1.25em;
  padding-bottom: 4px;
}

.trip_content {
  width: 100%;
  height: 90px;
  overflow: hidden;
}

.trip_content p {
  font-size: 1.02em;
  line-height: 23px;
}

.trip_detail {
  padding: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trip_icons span {
  padding: 0 1.5px;
}

.trip_during {
  font-weight: 600;
}

/* modal */
.modal {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: hsla(200, 20%, 23%, 0.689);
  column-gap: 20px;
  padding: 10px;
}

.next span,
.prev span {
  width: 45px;
  height: 45px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal span {
  font-size: 2em;
}

.full_detail {
  width: 630px;
  height: auto;
}

.full_detail .program_item {
  background-color: #f0f8ff;
}

.full_detail .trip_img {
  height: 320px;
  overflow: hidden;
}

.full_detail .trip_content {
  height: 230px;
  overflow: auto;
}

.full_detail .trip_content p {
  line-height: 25px;
}

.full_detail .more {
  display: none;
}

.full_detail .details {
  padding: 24px;
}

/* about */
.about {
  color: #4d4d4d;
  width: 100%;
  padding: 70px 60px;
}

.about_content {
  display: flex;
}

.about_title {
  padding: 0 1em;
  width: 17%;
  border-left: 7px solid #4d4d4d;
}

.about_title h1 {
  font-size: 2.5em;
  color: #4d4d4d;
}

.about_item {
  display: flex;
  justify-content: space-between;
}

.about_short {
  font-size: 1.1em;
  padding: 0 1.1em;
  width: 52%;
}

.about_short p {
  line-height: 26px;
  padding: 2px 0;
}

.about_img {
  overflow: hidden;
  width: 48%;
  position: relative;
}

.about_img img {
  display: block;
  position: absolute;
  height: 100%;
}

/* contact */
.contact {
  background-color: #ecf3ff;
  width: 100%;
  max-width: 1220px;
  margin: 10px auto;
  padding-top: 15px;
  color: #4d4d4d;
}

.contact_container {
  display: flex;
  justify-content: center;
  padding: 30px;
  column-gap: 20px;
}

.fields {
  background-color: #b4cdff;
  padding: 30px;
  /* border-radius: 5px; */
  outline: 1px solid #bdbdbd;
  outline-offset: -1px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.contact h2 {
  font-size: 1.7em;
  padding: 2px 0 10px;
  text-align: center;
}

.field_group {
  display: flex;
  align-items: flex-end;
}

.field {
  padding: 11px 6px 0 6px;
}

.field input,
select {
  width: 330px;
  height: 37px;
  border-radius: 3px;
  border: 1px solid;
  font-size: 0.9em;
  padding-left: 7px !important;
}

input[name="app[country]"],
select[name="app[program]"],
select[name="app[child]"],
select[name="app[hotel]"] {
  width: 240px;
}

input[name="app[total]"],
input[name="app[arr_date]"],
select[name="app[hotel]"] {
  width: 123px;
}

.submit input {
  width: 170px;
}

.require p {
  line-height: 28px;
  font-size: 1.2em;
}

label {
  font-size: 1em;
}

/* .includes */
.includes {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
  color: #4d4d4d;
  padding: 70px 60px;
  column-gap: 40px;
}

.includes ul li {
  list-style: circle;
  padding: 1.5px 0;
  font-size: 1.1em;
}

.include ul,
.notinclude ul {
  padding-left: 24px;
}

.include ul li {
  list-style: disc;
}

.include h2,
.notinclude h2 {
  padding-bottom: 12px;
  font-size: 1.9em;
}

/* footer */
footer {
  width: 100%;
  height: auto;
  background-color: #eeeeee;
  color: #4d4d4d;
}

.footer_container {
  display: flex;
  padding: 34px;
  column-gap: 34px;
}

.address_all,
.social_icons {
  padding: 12px;
}

.address h2,
.social h2 {
  font-size: 1.1em;
  font-weight: 600;
}

.address p {
  padding-top: 3px;
  font-size: 0.9em;
}

.social img {
  width: 35px;
  margin-right: 8px;
}

.errors {
  color: #ff0000;
}

#message {
  position: relative;
  padding: 12px 42px;
  text-align: center;
  background-color: #358aff;
  width: max-content;
  margin: 5px auto;
  color: white;
  border-radius: 4px;
}

.narrow {
  z-index: 1;
}

.vldt {
  height: 22px;
}

@media screen and (max-width: 1320px) {
  .about {
    padding: 60px 34px;
  }
  .about_content {
    flex-direction: column;
  }
  .about_title {
    border-left: none;
    border-bottom: 7px solid;
    width: 100%;
    padding-left: 0;
  }
  .about_item {
    padding-top: 16px;
  }
  .about_short {
    width: 55%;
    padding-left: 0;
  }
  .about_img {
    width: 45%;
  }
  .about_img img {
    width: auto;
    height: 100%;
  }
}

@media screen and (max-width: 1220px) {
  .nav ul li {
    padding: 0 36px;
  }
}

@media screen and (max-width: 1150px) {
  .header {
    padding: 0 34px;
  }
  .nav ul li {
    padding: 0 25px;
  }
  .service,
  .programs {
    padding: 70px 34px;
  }

  .includes {
    padding: 40px 34px;
  }
}

@media screen and (max-width: 1024px) {
  .header {
    column-gap: 22px;
  }
  .head {
    height: 560px;
  }

  .head_title h1 {
    font-size: 3.8rem;
  }
  .head_title p {
    font-size: 1.4em;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
  }

  .right {
    display: none !important;
  }

  .nav {
    justify-content: flex-start;
  }

  .narrow {
    display: flex !important;
    background-color: #ffffff;
    padding: 28px;
    top: 68px;
    right: 32px;
    width: 60%;
    align-items: baseline;
    position: absolute;
    transition: all 0.1s ease-out;
  }

  .narrow li {
    padding: 5px 0 !important;
  }

  .narrow li a {
    font-size: 20px;
  }

  .menu {
    display: flex;
  }

  .programs {
    padding: 40px 34px;
  }

  #trip_title h1 {
    font-size: 3.2em;
  }

  .about_item {
    flex-direction: column;
  }

  .about_short,
  .about_img {
    width: 100%;
    display: block;
  }

  .about_img {
    height: 340px;
  }

  .about_img img {
    width: 100%;
    height: auto;
  }
  .require p {
    line-height: 24px;
    font-size: 1.1em;
  }
  .fields {
    padding: 20px;
  }
}

@media screen and (max-width: 880px) {
  .require p {
    line-height: 23px;
    font-size: 16px;
  }
  .narrow {
    right: 0;
    width: 100%;
  }
  .service {
    grid-template-columns: repeat(auto-fill, minmax(400px, 300px));
  }
}

@media screen and (max-width: 840px) {
  .contact_container {
    flex-direction: column;
    row-gap: 24px;
  }
  .fields_container {
    max-width: 400px;
  }
  .programs h1 {
    font-size: 3.2em;
  }
  .includes {
    flex-direction: column;
    row-gap: 20px;
  }
  .includes ul li {
    font-size: 16px;
  }
  .includes h2 {
    font-size: 1.4em;
  }
  .service {
    grid-template-columns: repeat(auto-fill, minmax(400px, 330px));
  }
}
@media screen and (max-width: 800px) {
  .scrolling_title {
    display: block;
  }
  .programs_title {
    position: absolute;
  }
}

@media screen and (max-width: 720px) {
  #trip_title h1 {
    font-size: 2.8em;
  }
  .programs_title li {
    font-size: 16px;
  }
  .service_content p {
    line-height: 23px;
    font-size: 16px;
  }
  .service .item {
    min-height: auto;
  }
}

@media screen and (max-width: 650px) {
  .full_detail .trip_img {
    height: 270px;
  }
  .full_detail .trip_content p {
    line-height: 23px;
    font-size: 15px;
  }
  .modal {
    column-gap: 10px;
  }
  .next span,
  .prev span {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 560px) {
  #trip_title h1 {
    font-size: 2.4em;
  }
  .head_title h1 {
    font-size: 2.4rem;
  }
  .head_title p {
    font-size: 1.2em;
  }
  .programs h1 {
    font-size: 2.8em;
  }
  .full_detail .trip_img {
    height: 230px;
  }
}

@media screen and (max-width: 500px) {
  .service {
    grid-template-columns: repeat(auto-fill, minmax(320px, 420px));
  }
  input[name="app[country]"],
  select[name="app[program]"],
  select[name="app[child]"] {
    width: 195px;
  }
  #trip_title h1 {
    font-size: 1.4em;
    line-height: 1.2em;
  }

  .full_detail .trip_img {
    height: 200px;
  }
}

@media screen and (max-width: 430px) {
  .field input,
  select {
    width: 280px !important;
  }
  .field_group {
    align-items: flex-start;
    flex-direction: column;
  }
  .programs_content {
    grid-template-columns: repeat(auto-fill, minmax(307px, 360px));
  }
}
