/* Layout
-----------------------------------------------------------------*/
@media (min-width: 1600px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1520px;
  }
}
p+p:last-child,
p:last-child {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .header-size-md #header-wrap #logo img {
    height: 60px;
  }
  .content-wrap {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
  }
}
.bg-size-cover {
  background-size: cover !important;
}
/* Block Padding
-----------------------------------------------------------------*/
section.section-block {
  padding-top: 144px;
  padding-bottom: 144px;
}
.block-padding {
  padding: 144px
}
@media (max-width:1699px) {
  section.section-block {
    padding-top: 150px;
    padding-bottom:0;
  }
  .block-padding {
    padding: 108px
  }
}
@media (max-width:1499px) {
  section.section-block {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .block-padding {
    padding: 72px
  }
}
@media (max-width:959px) {
  section.section-block {
    padding: 54px 36px 54px 36px;
  }
  .block-padding {
    padding: 54px 36px 54px 36px
  }
}
@media (max-width:545px) {
  section.section-block {
    padding: 60px 24px
  }
  section.block-padding {
    padding: 50px 16px
  }
}
/* Gutter Add
-----------------------------------------------------------------*/
@media (min-width: 992px) {
  .col-mb-lg-0 {
    --col-mb: 0px;
  }
}


/* Modal Size
-----------------------------------------------------------------*/
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl,
  .modal-xxl {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl,
  .modal-xxl {
    max-width: 1140px;
  }
}
@media (min-width: 1600px) {
  .modal-xxl {
    max-width: 1540px;
  }
}
/* Font icon
-----------------------------------------------------------------*/
.iconlist {
  padding-left: 0;
  margin-left: 0;
  list-style-type: none;
}
.iconlist li {
  position: relative;
  display: flex;
  align-items: center;
}
.iconlist ul {
  list-style-type: none;
  margin: 0.5rem 0 0.5rem 1.5rem;
}
.iconlist>li [class^="ri-"]:first-child,
.iconlist>li [class*="ri-"]:first-child {
  position: relative;
  text-align: center;
  top: 1px;
  width: 1rem;
  margin-right: 0.75rem;
  flex: 0 0 auto;
}
/* Overlays
-----------------------------------------------------------------*/
.overlay-trigger-icon.size-xl {
  width: 64px;
  height: 64px;
  line-height: 64px;
  margin: 0 0.5rem;
  font-size: 3.4rem;
}
/* Owl Carousel - Controls
-----------------------------------------------------------------*/
.owl-carousel.dots-left .owl-dots {
  text-align: left;
}
.owl-carousel.dots-right .owl-dots {
  text-align: right;
}
.background-wrapper {
  backface-visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background-clip: padding-box;
}
.block-bg-overlay {
  border-radius: inherit;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  transition: opacity 0.2s;
}
/* Light Box
-----------------------------------------------------------------*/
.masonry-gap-xxl {
  margin-left: -25px;
  margin-right: -25px;
  margin-bottom: -50px;
}
.masonry-gap-xxl .grid-item {
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 50px;
}
/* Overlay play Icon
-----------------------------------------------------------------*/
.play-icon {
  position: relative;
  display: block;
  font-size: 20px;
  margin: 20px 0 0 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #000 !important;
  border: 2px solid #EEE;
  background-color: #eee;
  -webkit-transition: transform .3s ease;
  -o-transition: transform .3s ease;
  transition: transform .3s ease;
}
.play-icon i {
  position: relative;
  left: 2px;
}
.play-icon:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
/* Icon Box
-----------------------------------------------------------------*/
.fbox-border.fbox-border-light .fbox-icon a {
  border-color: #E5E5E5;
}
/* Grid Border
-----------------------------------------------------------------*/
.grid-border {
  overflow: hidden;
}
.grid-border .col {
  position: relative;
}
.grid-border .col:before,
.grid-border .col:after {
  content: '';
  position: absolute;
}
.grid-border .col:before {
  height: 100%;
  top: 0;
  left: -1px;
  border-left: 1px solid #dedede;
}
.grid-border .col:after {
  width: 100%;
  height: 0;
  top: auto;
  left: 0;
  bottom: -1px;
  border-bottom: 1px solid #dedede;
}
.clients-grid.no-border .grid-item::before,
.testimonials-grid.no-border .grid-item::before {
  left: 0;
  border-left: none;
}
.clients-grid.no-border .grid-item::after,
.testimonials-grid.no-border .grid-item::after {
  bottom: 0;
  border-bottom: none;
}
/* Light box : video size
-----------------------------------------------------------------*/
.mfp-iframe-holder .mfp-content {
  max-width: 1200px;
}
/* ABOUT :: clean
-----------------------------------------------------------------*/
.box-clean+.box-clean {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #ddd;
  box-sizing: border-box
}
.box-ci {
  position: relative;
  width: 100%;
  font-size: 0.75rem;
}
.box-ci:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.box-ci>* {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  height: 100%;
}
/* ABOUT :: history
-----------------------------------------------------------------*/
.about_history_list li {
  list-style: none;
}
.about_history_list>li {
  float: left;
  width: 100%;
  padding: 53px 0;
}
.about_history_list>li:not(:first-child) {
  border-top: 1px solid #ddd;
}
.history_list_year {
  float: left;
  width: 25.6%;
  margin-top: -4px;
  padding-right: 15px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.history_list_content {
  float: left;
  width: 74.4%;
}
.history_list_content>li {
  margin-bottom: 12px;
  position: relative;
}
.history_list_content>li:last-child {
  margin-bottom: 0;
}
.about_history_list time {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 600;
}
.about_history_list p {
  padding-left: 50px;
}
@media (max-width: 767px) {
  .about_history_list>li {
    padding: 30px 0;
  }
  .history_list_year {
    margin-top: 0;
    /* font-size: 25px; */
    /* margin-bottom: 24px; */
  }
  .history_list_year>h3 {
    display: inline-block;
    vertical-align: top;
  }
  .history_list_year,
  .history_list_content {
    width: 100%
  }
  .history_list_content>li {
    margin-bottom: 6px;
  }
  .about_history_list p {
    padding-left: 45px;
  }
}
/* ABOUT :: simple
-----------------------------------------------------------------*/
.block-card-9 .grid-inner .btn-hover {
/*  opacity: 0;
  display: block;
  transition: opacity .3s ease, transform .3s .1s ease;*/
 /* margin-top: 15px; */
  position: absolute;
  transform: translateY(0);
}
.block-card-9 .grid-inner:hover .btn-hover {
  opacity: 1;
  transform: translateY(-5px);
}
.block-card-9 .grid-inner .grid-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}
.block-card-9 .grid-inner:hover .grid-image {
  -webkit-animation: kenburns 20s ease-out both;
  animation: kenburns 20s ease-out both;
}
.block-card-9 .grid-inner .grid-icon,
.block-card-9 .grid-inner .grid-content {
  transition: transform .3s ease;
}
.block-card-9 .grid-inner:hover .grid-content {
  transform: translateY(-45px);
}
.block-card-9 .grid-inner:hover .grid-icon {
  transform: translateY(-5px);
}
@-webkit-keyframes kenburns {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
    transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 84% 84%;
    transform-origin: 84% 84%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(20px, 15px);
    transform: scale(1.25) translate(20px, 15px);
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
  }
}
@keyframes kenburns {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
    transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 84% 84%;
    transform-origin: 84% 84%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(20px, 15px);
    transform: scale(1.25) translate(20px, 15px);
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
  }
}
/* SERVICE :: wide
-----------------------------------------------------------------*/
.d-grid {
  display: grid;
  grid-template-columns: repeat(var(--column), 1fr);
  grid-gap: 30px;
}
@media (min-width: 576px) {
  .d-grid {
    --column: 1;
    grid-gap: 15px;
  }
}
@media (min-width: 768px) {
  .d-grid {
    --column: 2;
  }
}
@media (min-width: 1200px) {
  .d-grid {
    --column: 3;
  }
}
/* Portfolio :: popup
-----------------------------------------------------------------*/
.block-gallery-9 .entry-title h3 {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}
.block-gallery-9 .entry-title:hover h3 a {
  color: #DDD
}
.block-gallery-9 .btn-more {
  opacity: 0;
  font-size: 1.5rem;
  color: #FFF;
  margin-top: 15px;
  transition: opacity .3s ease;
}
.block-gallery-9 .grid-item .bg-overlay-content {
  top: auto;
  bottom: -40px;
  transition: bottom .3s ease;
}
.block-gallery-9 .grid-item:hover .bg-overlay-content {
  bottom: 0;
}
.block-gallery-9 .grid-item:hover .btn-more {
  opacity: 1;
}
.block-gallery-9 .entry-meta li {
  font-style: italic;
  font-size: 90%;
}
.block-gallery-9 .dark .entry-meta li,
.block-gallery-9 .dark .entry-meta li a {
  color: rgba(255, 255, 255, 0.8);
}
/* Counter
-----------------------------------------------------------------*/
@media (max-width: 1024px) {
  .counter.counter-small,
  .counter.counter-large,
  .counter.counter-xlarge {
    font-size: 48px;
  }
}
@media (max-width: 575px) {
  .counter.counter-small,
  .counter.counter-large,
  .counter.counter-xlarge {
    font-size: 40px;
  }
}
/* ELEMENT :: accordion
-----------------------------------------------------------------*/
.accordion.accordion-flush {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.accordion-button:not(.collapsed) {
  background-color: #fff;
  color: var(--themecolor);
}
.accordion-button:focus {
  outline: none;
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}
.button-border.button-gray {
  color: #333;
  border-color: #ddd;
}
/* ELEMENT :: Button
-----------------------------------------------------------------*/
.btn-underline::before,
.btn-strikethrough::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: #111;
  transition: width .3s ease;
}
.btn-strikethrough:hover {
  color: #AAA;
}
.btn-strikethrough::before {
  bottom: 50%;
}
.btn-underline:hover::before,
.btn-strikethrough:hover::before {
  width: 100%;
}
/* .button-change */
.button-change {
  --height: 2.375rem;
  height: var(--height);
  line-height: calc(var(--height) - 2px) !important;
  border-bottom: 1px solid #222 !important;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column-reverse;
}
.button-change.btn-sm {
  --height: 2rem;
}
.button-change.btn-lg {
  --height: 3rem;
}
.button-change span {
  position: relative;
  display: block;
  transition: transform .35s ease;
  transform: translate3d(0px, 0%, 0px);
  transform-style: preserve-3d;
}
.button-change:hover span {
  transform: translate3d(0px, 100%, 0px);
}
/* Element :: progress bar
-----------------------------------------------------------------*/
.skills li {
  height: 12px;
  border-radius: 10px;
}
.skills li .progress {
  border-radius: 10px;
}
/* Element :: Footer
-----------------------------------------------------------------*/
#footer.footer-style-1 {
  border-top: 1px solid #EEE;
}
#footer.footer-style-1 .widget>h4 {
  font-size: 16px;
  font-weight: 500;
}
#footer.footer-style-1 address,
.copyrights-menu a,
#footer.footer-style-1 .widget ul li a {
  font-size: 14px;
  color: #777;
}
/* Map Grayscale
=================================*/
.map-grayscale>div>div>div:not(:last-child) {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
}
.map-pin {
  position: relative;
  background-color: var(--themecolor);
  color: #fff;
  border: none;
  padding: 8px 16px;
  text-align: center;
  margin-bottom: 70px;
}
.map-pin:after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  bottom: -6px;
  left: 50%;
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-top: 6px solid;
  border-left: 8px solid transparent !important;
  border-right: 8px solid transparent !important;
  border-bottom: 0;
  border-top-color: var(--themecolor) !important;
}
/* Portfolio video icon
=================================*/
.icon-play-wrap .icon-play-video i {
  position: absolute;
  padding-left: 0px;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  line-height: 71px;
  border-radius: 50%;
  z-index: 1;
  background-color: rgba(255, 255, 255, .5);
  text-align: center;
  font-size: 40px;
  color: #222;
  margin-top: -40px;
  margin-left: -40px;
  transition: transform .3s ease-out;
  -webkit-backface-visibility: hidden
}
.icon-play-wrap:hover .icon-play-video i {
  background-color: rgba(255, 255, 255, 1);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}


/* Grid Navbar
-----------------------------------------------------------------*/
.grid-navbar-wrap {
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
}
.grid-navbar {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 3.5rem;
  list-style: none;
}
.grid-navbar li {
  position: relative;
  width: 50%;
}
.grid-navbar li a {
  display: block;
  position: relative;
  padding: 10px 20px;
  font-size: 1rem;
  color: #666;
  text-align: center;
  border-radius: 2px;
}
.grid-navbar li a:hover {
  color: var(--themecolor);
}
.grid-navbar li.active a {
  color: #FFF;
  background-color: var(--themecolor);
  margin: 0;
  font-weight: bold;
}
@media (min-width: 576px) {
  .grid-navbar li {
    width: 33.333333%;
  }
}
@media (min-width: 768px) {
  .grid-navbar li {
    width: auto;
  }
  .grid-navbar {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 4px;
  }
  .grid-navbar li a {
    border-left: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0;
  }
  .grid-navbar li:first-child a {
    border-left: none;
    border-radius: 4px 0 0 4px;
  }
  .grid-navbar li:last-child a {
    border-radius: 0 4px 4px 0;
  }
  .grid-navbar li.active a {
    margin: -1px 0;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .bothsidebar .grid-navbar li a {
    padding: 12px 14px;
  }
  .bothsidebar .grid-navbar li.active a {
    padding: 13px 18px;
  }
}
/* Grid Filter: Style 2
-----------------------------------------------------------------*/
.grid-navbar.style-2,
.grid-navbar.style-3,
.grid-navbar.style-4 {
  border: none;
  border-radius: 0;
  margin-bottom: 2.75rem;
}
.grid-navbar.style-2 li,
.grid-navbar.style-3 li,
.grid-navbar.style-4 li {
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .grid-navbar.style-2 li:not(:first-child),
  .grid-navbar.style-3 li:not(:first-child) {
    margin-left: 10px;
  }
}
.grid-navbar.style-2 li a,
.grid-navbar.style-3 li a,
.grid-navbar.style-4 li a {
  padding-top: 9px;
  padding-bottom: 9px;
  border-radius: 22px;
  border: none;
}
.grid-navbar.style-2 li.active a {
  color: #FFF !important;
  margin: 0;
}
/* Grid Filter: Style 3
-----------------------------------------------------------------*/
.grid-navbar.style-3 li {
  width: auto;
}
.grid-navbar.style-3 li a {
  border: 1px solid transparent;
}
.grid-navbar.style-3 li.active a {
  color: var(--themecolor) !important;
  border-color: var(--themecolor);
  background-color: transparent;
  margin: 0;
}
/* Grid Filter: Style 4
-----------------------------------------------------------------*/
@media (min-width: 768px) {
  .grid-navbar.style-4 li:not(:first-child) {
    margin-left: 30px;
  }
}
.grid-navbar.style-4 li a {
  padding: 13px 5px;
  border-radius: 0;
}
.grid-navbar.style-4 li a::after {
  content: '';
  position: absolute;
  top: auto;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.grid-navbar.style-4 li.active a {
  color: #444 !important;
  background-color: transparent;
  margin: 0;
}
.grid-navbar.style-4 li.active a::after {
  width: 100%;
  left: 0%;
  background-color: var(--themecolor);
}



.icon-portfolio-wrap .icon-portfolio i {
  position: absolute;
  padding-left: 0px;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  line-height: 71px;
  border-radius: 50%;
  z-index: 1;
  background-color: rgba(255,255,255,.6);
  text-align: center;
  font-size: 28px;
  color: #222;
  margin-top: -40px;
  margin-left: -40px;
  transition: transform .3s ease-out;
  -webkit-backface-visibility: hidden
}

.icon-portfolio-wrap .icon-portfolio.size-lg i {
    font-size: 40px;
}
.icon-portfolio-wrap:hover .icon-portfolio i {
  background-color: rgba(255,255,255,1);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);

}

.icon-portfolio-wrap .icon-portfolio.dark i {
    background-color: rgba(0,0,0,.6);
      color: #fff;
}
.icon-portfolio-wrap:hover .icon-portfolio.dark i {
    background-color: rgba(0,0,0,1);
}




/* ¸ð¹ÙÀÏ ¹öÆ° È£¹öÈ¿°ú ¾ø¾Ö±â Ãß°¡ */

@media all and (max-width: 768px){
.block-card-9 .grid-inner:hover .grid-content {
  transform: translateY(0px);
}

.block-card-9 .grid-inner .btn-hover {opacity:1 !important}

.block-card-9 .grid-inner:hover .grid-content {
 transform: translateY(0px);
}
}


@media all and (max-width: 320px){
.block-card-9 .grid-inner:hover .grid-content {
  transform: translateY(0px);
}

.block-card-9 .grid-inner .btn-hover {opacity:1 !important}

.block-card-9 .grid-inner:hover .grid-content {
 transform: translateY(0px);
}
}