/*
Theme Name: Éclat Child
Template: flute
Author: Flute WP
Description: Flute Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/*------------ common css ------------*/
.single-content h1.elementor-heading-title,
.single-content h2.elementor-heading-title,
.single-content h3.elementor-heading-title,
.single-content h4.elementor-heading-title,
.single-content h5.elementor-heading-title,
.single-content h6.elementor-heading-title {
  margin: 0;
}

body .wp-block-search .wp-block-search__input,
body .wp-block-search,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
button:focus,
.wp-element-button:focus {
  box-shadow: none;
  border-radius: 0;
}

textarea,
textarea:focus {
  box-shadow: none;
  color: var(--global-palette1);
}

button,
.wp-element-button,
button:hover,
.wp-element-button:hover {
  border-radius: 0;
  box-shadow: none;
}

/* archive page read more icon*/
body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .flute-svg-iconset {
  display: none;
}

/* blog left sidebar */
body .wp-block-search .wp-block-search__input {
  box-shadow: none;
  border-radius: 0;
  color: #000;
}

.wp-block-search .wp-block-search__button:not(.has-background) {
  background: var(--global-palette4);
}

.wp-block-search .wp-block-search__button:not(.has-text-color) {
  color: var(--global-palette9);
}

body .wp-block-latest-posts__list li,
body.search-results.content-style-unboxed .site .post-thumbnail,
body.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child,
.wp-block-latest-posts.wp-block-latest-posts__list {
  margin: 0;
  list-style: none;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
  color: var(--global-palette2);
}

#secondary .woocommerce.widget_product_categories>ul li,
.widget .tagcloud a,
.widget li,
#secondary .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item,
.wp-block-tag-cloud .tag-cloud-link {
  padding-block: 6px;

}

.widget .arc-sidebar {
  border: 1px solid #e5e5e5;
  padding: 20px 30px;
}

/* single blog comment form */
textarea,
textarea:focus,
input[type="email"],
input[type="text"],
input[type="url"],
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
  border: 1px solid var(--global-palette1);
  color: var(--global-palette4);
  border-radius: 0px;
  box-shadow: none;
}

.comments-area .comment-form p.comment-form-float-label label.float-label,
.comment-input-wrap .comment-form-author .float-label,
.comment-input-wrap .comment-form-email .float-label,
.comment-input-wrap .comment-form-url .float-label {
  color: var(--global-palette1);
}

/* footer */
.site-footer-section .widget-area ul {
  list-style: none;
}

.footer-widget-area-inner .wp-block-list {
  padding: 0;
  margin: 0;
}


/*------------ end common css ------------*/

/* blog section */
.blog .loop-entry .entry-header .entry-title,
.blog-section .uc_post_title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 380px;
}

.blog .loop-entry .entry-header .entry-title,
.blog-section .uc_post_list_title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 380px;
}

/* newslatter section */
.newsletter-form {
    position: relative;
    width: 100%;
    display: inline-block;
}

.newsletter-form .sub-email {
    margin-inline-start: 20px;
    margin-inline-end: 20px;
}

.newsletter-form input[type="email"],
input[type="text"],
.newsletter-form input[type="email"],
input[type="text"]:focus {
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #2D2D2D;
    padding: 10px 8px;
    color: #fff;
    box-shadow: none;
    width: 100%;
    display: block;
}

.mc4wp-form .newsletter-form input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 0;
    background-color: transparent;
    background-image: url(./assets/image/send.svg);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 50%;
    width: 50px;
    padding: 0;
    border: none;
}

@media (max-width: 576px) {
    .newsletter-form {
        width: 100%;
    }
}

.site-footer-section:not(:last-child)::after {
	border-left: 1px solid #2D2D2D;
}

/******** metform area ********/

/* Form base */
.neve-form input,
.neve-form textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #E5E5E5 !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    width: 100%;
    font-size: 16px;
    color: var(--global-palette1);
}

/* Placeholder color */
.neve-form input::placeholder,
.neve-form textarea::placeholder {
    color: var(--global-palette1) !important;
}

/* Focus */
.neve-form input:focus,
.neve-form textarea:focus {
    outline: none;
    color: var(--global-palette1);
}


.neve-form textarea {
    min-height: 70px;
    max-height: 150px;
}

/* Row spacing */
.neve-form .form-row {
    margin-bottom: 20px;
}

/* Message height (not full) */
.neve-form textarea {
    min-height: 70px;
    resize: none;
}

/* Submit button */
.neve-form input[type="submit"] {
    width: auto !important;
    padding: 12px 70px !important;
    background: var(--global-palette2) !important;
    color: var(--global-palette9) !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    margin-top: 10px;
}

/* effects */

.spin-effect img {
  animation-name: spin;
  animation-duration: 7000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  /* transform: rotate(3deg); */
  /* transform: rotate(0.3rad);/ */
  /* transform: rotate(3grad); */
  /* transform: rotate(.03turn);  */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.swing-animation .attachment-full {
  animation: mover 1s infinite alternate;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes mover {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }

}


.image-effect {
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.img-drift {
  animation: drift 6s ease-in-out infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }
}

.image-shimmer {
  position: relative;
  overflow: hidden;
}

.image-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}