/* myFilterHtml($input) 함수에서.. 
   허용할 HTML 태그에
   '<b><i><small><br><red><blue><green><yellow><pink><sp>' 를 넣었다. */

red {
  color: #f83e33;
}

blue {
  color: #0084fb;
}

green {
  color: #6fdd00;
}

yellow {
  color: #f8e329;
}

pink {
  color: #f127d8;
}

sp {
  display: inline-block;
  width: 10px;
}

/* ========  전체  ======== */

/* html {
  margin: 0;
  padding: 0;
} */

/* General Styles */
body {
  font-family: "Lato", "Open Sans", Arial, sans-serif;
  /* font-family: Arial, sans-serif; */
  margin: 0;
  padding: 0;
  /* background-color: #ffffff; */
}

a {
  text-decoration: none;
}

.flex {
  display: flex;
  /* align-items: center; */
  /* 두줄의 높이가 같아진다. */
  flex-wrap: wrap;
}

/* 이거 어디서 사용하는건지 모르겠다. 찾아봐야되.. */
.notice {
  width: 80%;
  font-size: 14px;
  border: 1px solid #777;
  border-radius: 7px;
  padding: 10px 20px;
  margin: 0 auto;
  background-color: #eaf0f0;
}

/* 
부모 요소에 flexbox를 적용하여 자식 요소를 정렬할 수 있도록 함.
flex-direction: column;
자식 요소를 세로 방향(열 방향)으로 배치.
align-items: center;

자식 요소들을 수평 방향으로 가운데 정렬.
justify-content: center;

자식 요소들을 수직 방향으로 가운데 정렬.
text-align: center;

텍스트 내용을 가운데 정렬. 
*/

main {
  display: flex;
  flex-direction: column; /* 요소들을 세로로 배치 */
  align-items: center;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* background-color: #6ff; */
}

.message-container {
  width: 80%;
  max-width: 800px;
  color: #05a;
  text-align: center;
  margin: 0 auto;
}

.warning {
  color: red;
}
/* 
  
  
  
  
  */

/* ========  헤더 시작 ======== */

.header {
  /* 헤더의 총 테두리. 그냥 바탕화면 폭 다 밑줄가게.. */
  width: 100%;

  border-bottom: 1px solid #ddd;
  box-shadow: 0 10px 7px rgba(188, 188, 188, 0.1);

  margin: 0 auto 10px auto;
  /* background-color: #eee; */
}

/* DMZTOURS */
.logo {
  padding: 5px 10px 5px 0px;
}

.logo_img {
  width: 110px;
  height: auto;
  display: block;
}

.logo_txt1 {
  font-size: 30px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 800;
  color: #355;
  letter-spacing: 3px;
  transform: scaleX(0.9);
  transform-origin: left;

  transition: color 0.3s ease;
  /* 0.3초 동안 색상 변경이 서서히 이루어짐 */

  /* background-color: #777d53; */
}

.logo_txt2 {
  font-size: 15px;
  /* font-weight: bold; */
  color: #555;
  transform: scaleX(0.9);
  transform-origin: left;
  /* 가로 폭 & 기준점을 설정 */

  /* background-color: #73e600; */
}
/* 
  
  
  
  
  */
/* =======  ( 통화 선택, 폰트 크기 버튼 ) 시작 ===== */

.currency_fontsize {
  display: flex;
  justify-content: flex-end;
  /* 오른쪽 정렬 */

  align-items: center;

  /* align-items: flex-end; */
  /* 이 클라스의 모든 div 들을 아래쪽에 정렬 */

  /* 만약 개별 div 들을 아래쪽에 정렬하려면, 
      각각 div 의 클라스에 align-self: flex-end; 사용 */

  padding: 2px;
  /* background-color: #66bdfd; */
}
/* 
  
  
  */
/* -----  통화 선택. 드롭다운 ----- */
.currency_fontsize select {
  height: 20px;
  width: 39px;
  font-size: 13px;
  padding: 0 0 1px 5px;
  margin: 0 10px 0 0;

  border: 1px solid #ccc;
  border-radius: 3px;
  /* box-sizing: border-box; */
  /* background-color: #fff; */

  /* -------------------------------------------------- */
  /* 여기부터 마지막까지는  select 테두리와 화살표 없애는거 */
  line-height: 1.5;

  appearance: none;
  /* 기본 화살표 제거 */
  -webkit-appearance: none;
  /* 크롬/사파리 화살표 제거 */
  -moz-appearance: none;
  /* 파이어폭스 화살표 제거 */
  /* background-image: none; */
  /* 기본 배경 이미지 제거 */
  /* background-position: right 20px center; */
  /* 화살표 위치 조정 */
  /* background-repeat: no-repeat; */
  /* 배경 반복 제거 */

  /* --------------------- */
  /* 클릭 시 테두리 제거   */
  outline: none;
}

/* ----------------------------- */
/* 




*/
/* ----폰트 크기 버튼 ----- */
.font_size_control button {
  height: 20px; /* 버튼 높이 맞춤 */
  width: 40px;
  font-size: 14px; /* 폰트 크기 조정 */
  /* font-weight: bold; */
  padding: 0 0 3px 0;
  margin: 0;

  color: #312f31;
  cursor: pointer;

  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #fff;
}

/* =======  ( 통화 선택, 폰트 크기 버튼 ) 끝 ======= */
/* 




*/

.h_box {
  /* 실제 헤더 내용있는 박스 */
  display: flex;
  justify-content: space-between;
  /* align-items: flex-end;  아래 정렬 */
  align-items: center; /* 가운데 정렬 */
  flex-wrap: wrap;

  max-width: 1200px;
  width: 95%;
  padding: 0;
  margin: 0 auto;
  /* background-color: #e88; */
}

.h_menu_box {
  /* 실제 메뉴 내용있는 박스 */
  display: flex;
  justify-content: space-evenly;

  max-width: 1200px;
  width: 95%;

  margin: 10px auto 10px auto;
  /* background-color: #ebb; */
}

.h_menu_box a {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #555;
}

/* 화면 작아지면 나오는 윗쪽의 메뉴. 이건 작아질떄만 보이면된다. */
.fixed_header {
  display: none;
}

/* =======  헤더 끝  ====== */
/* 
  
  
  
  */
/* ========  푸터  ======== */

.footer {
  width: 100%;
  /* max-width: 1200px; */
  color: #fff;
  padding: 0 0px;
  margin: 0 auto;
  background-color: #000;
}

/* 로고 박스 시작 ------------*/
.footer_logo {
  width: 380px;
  padding: 50px 5px 20px 5px;
  margin: 15px auto;
  /* background-color: #333; */
}

/* DMZTOURS */
.footer_logo_txt1 {
  font-size: 60px;
  font-weight: bolder;
  color: #e6a000;
  margin: 0 auto;
  transition: color 1.1s ease;
  /* background-color: #888; */
}

.footer_logo_txt1:hover {
  color: #ffe3a5;
}

/* Explore the excitement of silence */
.footer_logo_txt2 {
  font-size: 37px;
  font-weight: lighter;
  color: #aaa;
  margin: 0 auto;
  transition: color 1s ease;
}

.footer_logo_txt2:hover {
  color: #eee;
}
/* 로고 박스  끝 ------------*/

.footer_main {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  align-items: flex-start;
  /* 윗쪽으로 정렬 */

  width: 90%;
  max-width: 900px;
  margin: 10px auto;
  /* background-color: #aaa; */
}

.footer_main_div1 {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  align-items: flex-start;
  /* 윗쪽으로 정렬 */

  width: 450px;
  padding: 0px 0px 0px 0px;
  margin: 5px;
  /* background-color: #d35252; */
}

.footer_m1,
.footer_m2 {
  width: 180px;
  padding: 0px 0px 0px 0px;
  margin: 5px;
}

/* .footer_main_div_kor {
    display: none;
    width: 260px;
    padding: 0px 0px 0px 0px;
    margin: 5px;
    background-color: #777;
  } */

/* 통화 & 국가 선택 */
.footer_main_div2 {
  width: 250px;
  padding: 0px 0px 0px 0px;
  margin: 5px;
}

.footer_main_div1 {
  order: 1;
}

/* .footer_main_div_kor {
    order: 2;
  } */

.footer_main_div2 {
  order: 2;
}

.footer_txt1 {
  font-size: 18px;
  color: #377bec;
  padding: 5px 0 5px 0px;
}

.footer_txt2 {
  font-size: 15px;
  color: #ddd;
  padding: 5px 0 5px 0px;
}

.company_info_kor a,
.footer_txt2 a {
  text-decoration: none;
  color: #ddd;
}

/* .footer_txt_ko {
    font-size: 12px;
    color: #555;
    padding: 0px 0 0px 0px;
  } */

/* 한국어 회사정보 1 (아래 가로형) */
.company_info_kor {
  /* display: none; */
  width: 90%;
  max-width: 900px;
  font-size: 10px;
  color: #ccc;
  margin: 0 auto;
}

.copyright {
  width: 90%;
  max-width: 900px;
  font-size: 15px;
  text-align: left;
  color: #ccc;
  margin: 0 auto;
}

.copyright a {
  text-decoration: none;
  color: #ddd;
}

/* /////    푸터 끝   ///// */
/* 
  
  
  
  */
/* =============== 언어 (화면 최상단 메뉴) =============== */

.currency_select {
  font-size: 50px;
  padding: 0px 0px 0px 0px;
  margin: 5px;
  background-color: #aff;
}

.currency_select select {
  width: 95%;
}

/* =============== 언어 & 통화  =============== */

.currency_form {
  /* width: 100px; */
  padding: 10px 0px 10px 10px;
  margin: 0px;
}

.language_currency_select {
  background-color: #000;
}

.select_form {
  width: 95%;
  padding: 10px 0px 10px 10px;
  margin: 5px;
}

/* =========================================== */
/* 
  
  
  
  */

/* ============================================ */

.line_150 {
  width: 150px;
  border-top: 1px solid #bbbbbb;
  margin: 0 auto;
  /* 가운데 정렬 */
}

/* ============================================ */

.head_1 {
  font-size: 25px;
  font-weight: bold;
  color: #555;
  text-align: center;
  padding: 20px 0px 20px 0px;
}

.head_2 {
  font-size: 20px;
  color: #777;
  text-align: center;
  padding: 0px 0px 20px 0px;
}

.head_3 {
  font-size: 20px;
  font-weight: bold;
  color: #777;
  text-align: center;
  padding: 20px 5px 5px 5px;
}

.head_4 {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 0px;
}

/* ============================================ */
/* 
  
  
  
  */
/* ===========  FORM 안에 있는 것들  =========== */

label {
  font-weight: bold;
  color: #333333;
  margin-bottom: 10px;
}

input[type="time"] {
  border: 1px solid #999999;
  border-radius: 5px;
  padding: 5px;
  margin: 5px 35px 10px 0;
  box-sizing: border-box;
  /* background-color: #d1d1d1; */
}

input[type="text"],
input[type="number"],
select,
textarea {
  width: 50%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 7px;
  margin-bottom: 10px;
  /* box-sizing: border-box; */
  /* background-color: #d1d1d1; */
}

textarea {
  resize: vertical;
}

/* 상품 사진업데이트 할떄 사용하는 버튼  */
input[type="file"] {
  margin: 10px 0px 10px 0px;
}

/* ========================== */

input[type="submit"],
button[type="button"],
button[type="submit"] {
  /* display: block; */
  width: 100%;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
  background-color: #007bff;
}

input[type="submit"]:hover,
button[type="button"]:hover,
button[type="submit"]:hover {
  background-color: #0056b3;
}

/* ================= */
/* 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  */
/* ================= */

/* Media Queries */

@media screen and (max-width: 1000px) {
  /* ======= 고정 헤더 시작 ======= */
  .fixed_header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0px;
    left: 0;
    /* 스크롤 거리 바꾸러면,  if (window.scrollY > 380) 을 수정하면된 */

    width: 100%;
    height: 45px;

    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none; /* 헤더가 보이지 않을 때 클릭되지 않도록 설정 */

    z-index: 300;
  }

  .fixed_header.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; /* 헤더가 보일 때 클릭 가능하도록 설정 */
  }

  .fixed_logo {
    font-size: 15px;
    font-weight: bold;
  }

  .fixed_logo a {
    color: #000000;
  }

  /* ======= 고정 헤더 끝   ======= */
}
/* ================================== */
/* 
  
  
  
  
  
  */
/* === 여기에는 푸터만 있다 ========== */
@media screen and (max-width: 700px) {
  /* DMZTOURS */
  .logo_txt1 {
    font-size: 25px;
  }

  .logo_txt2 {
    display: none;
    /* font-size: 12px; */
  }

  /* .fixed_header {
    height: 35px;
  } */

  /* 로고 박스 시작 ------------*/
  .footer_logo {
    width: 270px;
    padding: 30px 0 0 0;
    margin: 0px auto;
  }

  /* DMZTOURS */
  .footer_logo_txt1 {
    font-size: 38px;
    text-align: center;
    /* background-color: #888; */
  }

  /* Explore the excitement of silence */
  .footer_logo_txt2 {
    /* display: none; */
    font-size: 18px;
    padding: 0 0 0 0px;
  }

  .footer_main {
    flex-direction: column;
    /* div를 수직으로 나열한다. */
  }

  .footer_main_div1 {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    align-items: flex-start;
    /* 윗쪽으로 정렬 */

    width: 80%;
    padding: 0px 20px;
    margin: 0 auto;
    /* background-color: #777; */
  }

  .footer_m1,
  .footer_m2 {
    width: 180px;
    padding: 0;
    margin: 5px;
    /* background-color: #777; */
  }

  /* .footer_main_div_kor {
    display: none;
    width: 260px;
    padding: 0px 0px 0px 0px;
    margin: 5px;
    background-color: #777;
  } */

  /* 통화 & 국가 선택 */
  .footer_main_div2 {
    width: 250px;
    padding: 0 0 20px 0;
    margin: 0 auto;
  }

  .footer_main_div1 {
    order: 2;
  }

  .footer_main_div2 {
    order: 1;
  }
}
/* =================================== */
/* 
  
  
  */
/* =================================== */
@media screen and (max-width: 500px) {
  /* .logo_img {
    width: 110px;
    height: auto;
    display: block;
  } */

  /* DMZTOURS */
  .logo_txt1 {
    font-size: 20px;
  }

  /* Explore the excitement of silence */
  .logo_txt2 {
    display: none;
    font-size: 10px;
    padding: 0 0 0 3px;
  }

  .h_menu_box a {
    font-size: 13px;
    font-weight: bold;
  }

  .footer_main {
    flex-direction: column;
    /* div를 수직으로 나열한다. */
  }

  .footer_main_div1 {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    align-items: flex-start;
    /* 윗쪽으로 정렬 */

    width: 97%;
    padding: 2px;
    margin: 0 auto;
    /* background-color: #777; */
  }

  .footer_m1,
  .footer_m2 {
    width: 180px;
    padding: 5px;
    /* background-color: #1d54e7; */
  }

  .footer_txt1 {
    font-size: 16px;
  }

  .footer_txt2 {
    font-size: 13px;
  }
}

@media screen and (max-width: 370px) {
  
}
