/*
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900
*/


body {
font-family: "Noto Sans KR", sans-serif, auto;
  font-size: 19px;
  font-weight: 300;
  color: white;
  position: relative;
    height: 100%;
}

h1 {
  font-size: 50px;
}

h2 {
    font-size: 30px;
    
}

#tm-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
/*  background-image: url(../img/pop-bg_4.jpg);*/
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  transition: all 0.3s ease;
}

/*.tm-bg {*/
  /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; */
/*  background-image: url(../img/pop-bg_4.jpg);*/
  /* background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  transition: all 0.3s ease;
} */

#tm-bg:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#tm-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 100vh;
}

p {
  line-height: 1.9;
  letter-spacing: 1px;
}

.tm-main-content {
  display: flex;
  align-items: center;
  padding: 50px 15px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: auto;
}

.tm-site-header-col {
  display: flex;
  align-items: center;
}

.tm-site-header {
  margin: 10px;
  text-align: right;
  width: 100%;
}

.tm-nav ul {
  padding-left: 0;
  display: block;
}

.tm-nav li {
  list-style: none;
  display: inline-block;
  border: 1px solid white;
  float: left;
  margin: 10px;
}

.tm-nav-link {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100px;
  height: 100px;
  text-align: center;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  position: relative;
  -ms-flex-direction: column;
}
.product-nav-link {
  color: #1A3252;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 150px;
  height: 120px;
  text-align: center;  
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 그림자 효과 추가 */   
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', 'Noto Sans CJK KR', sans-serif; /* 기본 한글 폰트 추가 */
}




.tm-nav-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  font-size: 12px;
}

.product-nav-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  font-size: 13px;
  font-weight: bold;
}
.product {
  background: transparent;
  transition: all 0.3s ease;
}

.product:hover {
  background: #2c2a35;
  color: #a9a9a9;
}


/* Expanding Grid Items from Codrops */
.tm-page-title {
  font-weight: 600;
    font-size: 24px;
    padding: 20px 0px 0px 0px;
    /* color: rgba(250, 250, 0, 1); */
    color: white;
}
.content {
  max-width: auto;
}
.grid {
  display: flex;
  flex-wrap: wrap;
}
.grid2 {
  display: flex;
  flex-wrap: wrap;
}
.grid3 {
  display: flex;
  flex-wrap: wrap;
}
.grid4 {
  display: flex;
  flex-wrap: wrap;
}
.grid5 {
  display: flex;
  flex-wrap: wrap;
}
.grid6 {
  display: flex;
  flex-wrap: wrap;
}
.grid__item {
  margin: 10px;
}
.not_grid__item {
  margin: 10px;
}
.small_grid__item {
  width: 100px;
  height: 100px;
}
.product {
  position: relative;
  cursor: pointer;
}

.product__bg {
  width: 100%;
  height: 100%;
  top: 0px;
}

.product__bg,
.product__description {
  opacity: 0;
  position: absolute;
}

.product__description {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}

.tm-fa-close {
  font-size: 30px;
}

.details {
  font-size: 1rem;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  padding: 15px;
  display: none;
}

.details > * {
  position: relative;
  opacity: 0;
}

.details--open {
  pointer-events: auto;
}

.details__bg {
  width: 100%;
  max-width: 900px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.details__bg--down {
  background: #2c2a35;
}

.details__bg {
  padding: 50px;
  transform-origin: 0 0;
}

.details__close {
  position: absolute;
  top: 5px;
  right: 0;
  border: 0;
  background: none;
  margin: 1em;
  cursor: pointer;
  font-size: 0.85em;
  color: white;
  z-index: 1001;
}

/* Team */
.tm-reverse-sm {
  flex-direction: row;
}

/* Our Work */
.tm-slider-img-link {
  padding-left: 10px;
  padding-right: 10px;
}

.slick-dots li button:before {
  font-size: 20px;
  color: white;
  opacity: 1;
}

.slick-dots {
  position: absolute;
  bottom: -40px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: deepskyblue;
}

/* Contact */
.form-control {
  font-size: 1.1rem;
  border-radius: 0;
  border: none;
  background-color: #353541;
  color: white;
  padding: 0.75rem;
}

.form-control:focus {
  color: #cecece;
  background-color: #4d4c59;
  border-color: transparent;
}

.tm-col-email {
  padding-left: 0;
}

.tm-btn-submit {
  background-color: #006599;
}

.tm-btn-gray {
  background-color: #494752;
  color: white;
}

.tm-btn-gray:hover {
  background-color: #77757d;
  color: white;
}

.btn {
  padding: 0.5rem 2.4rem;
  font-size: 1.2rem;
  border-radius: 0;
}

.btn-primary {
  border-color: transparent;
}

.btn-primary:hover {
  background-color: #0e7fb9;
  border-color: transparent;
}

/* Footer */
footer {
  position: absolute;
  bottom: 20px;
  text-align: center;
  left: 0;
  right: 0;
  height: 20px;
}

.tm-text-highlight {
  color: white;
}
.tm-text-highlight:hover {
  color: red;
}
.tm-main-content.tm-footer-relative {
  flex-direction: column;
}
.tm-main-content.tm-footer-relative footer {
  position: relative;
  bottom: 0;
  margin-top: 50px;
}

.tm-small-title {
  /* background-color: rgba(0, 0, 0, 0.6); */
  color:  rgba(0, 0, 0, 0.9);
  display: inline-block;
  padding: 0px 30px;
}
.tm-copyright-text {
  /* background-color: rgba(0, 0, 0, 0.6); */
  display: inline-block;
  padding: 2px 30px;
}

a,
button {
  transition: all 0.3s ease;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .container {
    max-width: 900px;
  }
  .tm-nav-icon {
    margin-bottom: 5px; /* 작은 화면을 위한 간격 조정 */
  }
}
/* 
@media (min-width: 767px) and (max-width: 991px), (max-width: 440px) {
  .tm-nav-link {
    justify-content: center;
    width: 70px;
    height: 70px;
  }
} */

@media (max-width: 767px) {
  .container {
    max-width: 450px;
  }
  .content {
    margin-left: auto;
    margin-right: 0;
  }
  .tm-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .grid {
    justify-content: flex-end;
  }
  .tm-col-email {
    padding-left: 15px;
  }
  .tm-reverse-sm {
    flex-direction: column-reverse;
  }

  .tm-nav-icon {
    margin-bottom: 5px; /* 작은 화면을 위한 간격 조정 */
  }

}

@media (max-width: 544px) {
  .tm-main-content {
    flex-direction: column;
  }
  .details__bg {
    padding: 55px 40px;
  }
  .slick-dots li button:before {
    font-size: 15px;
  }

  footer {
    position: relative;
    bottom: 0;
  }
  .tm-nav-icon {
    margin-bottom: 5px; /* 작은 화면을 위한 간격 조정 */
  }
}

/* @media (max-width: 419px) {
  .tm-nav-link {
    justify-content: center;
    width: 60px;
    height: 60px;
  }

  .fa-3x {
    font-size: 2.2em;
  }
} */



.sub-font {
    line-height: 20;}

.sub-font p{
        line-height: 25px;
        font-size: 15px;
        font-weight: 100;}

.sub-font h3{
        font-size: 20px; 
        font-weight: 400;
    padding: 10px 0px 12px 0px;
}

.menu-icon {
  display: block;
  margin-bottom: 25px;
    font-size: 50px;
    
}


/* 이미지의 가로폭 고정 */
.img-fluid_small {
  width: 50px; /* 가로폭을 300px로 고정 */
}
/* 이미지의 가로폭 고정 */
.img-fluid_big {
  width: 180px; /* 가로폭을 300px로 고정 */
  width: 180px; /* 가로폭을 300px로 고정 */
}
.img_set {
  margin: auto;
    margin-bottom: 40px;
    width: 44%;
    height: auto;
}

.img_set_2line {
  margin: auto;
    margin-bottom: 50px;
    width: 42%;
    height: auto;
}

.span {
    display: inline-block; 
    border: 1px solid white;
    color: #fff; 
    width: 100px;   
    text-align: center; 
    vertical-align: middle;
    margin: 0px 15px 10px 0px
}