/*
	Template name: Tantien
	Author: Snik Comunicacion
	Description: Tema exclusivo para Tantien
	Version: 1.0
*/
/*
Index
--------------------------------------------
	1.General
	1.2.Header
	2.Slider
	4.Interior
	5.Home
	6.Footer
	7.Blog
*/
/* 1.General */
.grecaptcha-badge {
  display: none !important;
}

:root {
  --main-color: #44a447;
  --secundary-color: #b6ac77;
  --third-color: #cecf69;
  --fourth-color: #a0aa6b;
  --red-color: #b46f66;
}

* {
  font-family: 'Open Sans Condensed', sans-serif;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--red-color);
}

strong {
  font-weight: bold;
}

a:hover {
  font-weight: bold;
}

img {
  max-width: 100%;
}

h1 {
  font-size: 45px;
  font-weight: 200;
  line-height: 46px;
  margin-bottom: 10px;
  margin-top: 0;
  color: var(--secundary-color);
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

p,
#interior li {
  font-size: 21px;
  font-weight: 300;
  margin-top: 0;
}

.button {
  padding: 15px 50px;
  display: flex;
  width: fit-content;
  background: #a8dbd2;
  color: white;
}

.button:hover {
  box-shadow: 2px 2px 7px #fc4894;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  display: flex;
  position: relative;
  flex-flow: row wrap;
}

.section .container {
  margin-top: 80px;
  margin-bottom: 40px;
}

.section .container h2 {
  width: 100%;
}

.section .container .item div {
  margin: 0 7.5px 15px;
}

.section.section-4 .container .item {
  width: 33.33% !important;
}

@media(max-width: 992px) {
  .section.section-4 .container .item {
    width: 50%;
  }
}

@media(max-width: 768px) {
  .section .container {
    margin-top: 40px;
    margin-bottom: 0;
  }

  .section .container .item>div {
    margin: 0 0 15px;
  }

  .section.section-4 .container .item {
    width: 100%;
  }
}

/* 1.2.Header */
header {
  margin-bottom: 15px !important;
  display: flex !important;
}

header>#main-logo {
  margin-top: 55px;
}

header>#main-menu {
  display: flex;
  align-items: flex-end;
  margin-left: 120px;
  flex-flow: row wrap;
}

header>#main-menu>div>ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

header>#main-menu>div>ul>li {
  display: inline-block;
  margin-right: 25px;
}

header>#main-menu>div>ul>li>a {
  color: var(--main-color);
  font-size: 20px;
}

@media(max-width: 768px) {
  header>#main-menu>div>ul>li>a {
    font-size: 22px;
  }
}

header>#main-menu>div>ul>li>a:hover,
header>#main-menu>div>ul>li.current-menu-item>a {
  font-weight: 600;
}

header>#main-xxss {
  position: absolute;
  top: 0;
  right: 15px;
}

@media(max-width: 900px) {
  header {
    justify-content: center;
  }

  header>#main-xxss {
    right: unset;
    left: 50%;
    transform: translateX(-50%);
  }

  header>#main-logo {
    width: 100%;
    text-align: center;
    margin-top: 95px;
  }

  header>#main-menu {
    margin-left: 0;
  }

  header>#main-menu>div>ul>li {
    display: block;
    margin-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }
}

header #menu-icon {
  display: none;
  margin-top: 50px;
  margin-bottom: 20px;
  width: 100%;
}

header #menu-icon>div {
  width: 15px;
  height: 13px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 1s ease-in-out;
  -moz-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  cursor: pointer;
  margin: 0 auto;
}

header #menu-icon>div span {
  display: block;
  position: absolute;
  height: 2px;
  width: 50%;
  background: var(--main-color);
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

header #menu-icon>div span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

header #menu-icon>div span:nth-child(odd) {
  left: 0px;
  border-radius: 9px 0 0 9px;
}

header #menu-icon>div span:nth-child(1),
header #menu-icon>div span:nth-child(2) {
  top: 0px;
}

header #menu-icon>div span:nth-child(3),
header #menu-icon>div span:nth-child(4) {
  top: 5px;
}

header #menu-icon>div span:nth-child(5),
header #menu-icon>div span:nth-child(6) {
  top: 10px;
}

header #menu-icon.open>div span:nth-child(1),
header #menu-icon.open>div span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

header #menu-icon.open>div span:nth-child(2),
header #menu-icon.open>div span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

header #menu-icon.open>div span:nth-child(1) {
  left: 5px;
  top: 4px;
}

header #menu-icon.open>div span:nth-child(2) {
  left: calc(50% - 5px);
  top: 4px;
}

header #menu-icon.open>div span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

header #menu-icon.open>div span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

header #menu-icon.open>div span:nth-child(5) {
  left: 5px;
  top: 2px;
}

header #menu-icon.open>div span:nth-child(6) {
  left: calc(50% - 5px);
  top: 2px;
}

@media(max-width: 900px) {
  header #menu-icon {
    display: block;
  }

  header #main-menu .menu-main-container {
    display: none;
    width: 100%;
  }
}

/* 2. Slider */
#slider {
  width: 100vw;
  min-height: 550px;
  overflow: hidden;
  position: relative;
}

#slider-panel>div>img {
  display: flex;
  height: auto;
  width: 100%;
  max-width: unset;
  opacity: 0;
  transition: 1s opacity;
}

@media(min-width: 769px) {
  #slider-panel>div>img {
    animation-name: moveSlider;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    height: auto;
  }
}

@media(max-width: 768px) {
  #slider-panel>div>img {
    animation-name: moveSlider2;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    height: auto;
  }
}

@keyframes moveSlider {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes moveSlider2 {
  0% {
    transform: scale(1) translateX(-50%);
  }

  25% {
    transform: scale(1.1) translateX(-50%);
  }

  50% {
    transform: scale(1) translateX(-50%);
  }

  75% {
    transform: scale(1.1) translateX(-50%);
  }

  100% {
    transform: scale(1) translateX(-50%);
  }
}

#slider-panel>div.active>img {
  opacity: 1;
}

#slider-panel>div>div.container {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

#slider-panel>div div.slider-text {
  width: 370px;
  background-color: white;

  overflow: hidden;
}

@media(max-width: 1230px) {
  #slider-panel>div div.slider-text {
    right: unset;
  }
}

@media(max-width: 768px) {
  #slider-panel>div div.slider-text {
    background-color: rgba(255, 255, 255, .5);
    top: 0;
    width: 100%;
  }
}

#slider-panel>div div.slider-text>div.slider-text-panel {
  padding: 65px 55px 80px 55px;
  display: flex;
  flex-direction: column;
}

#slider-panel>div div.slider-text>div.slider-text-panel>h1 {
  text-transform: uppercase;
  font-size: 32px;
  line-height: 34px;
}

@media(max-width: 768px) {
  #slider-panel>div>img {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100vh;
    width: auto;
  }
}

/* 4.Interior */
#interior {
  margin-top: 60px;
  margin-bottom: 80px;
}

#interior li {
  margin-bottom: 15px;
}

#interior h1,
#interior h2,
#interior h3,
#interior h4 {
  margin-top: 0;
  margin-bottom: 25px;
}

#interior img {
  max-width: 100%;
  height: auto;
}

#interior h1 {
  line-height: 42px;
}

#interior h2 {
  font-weight: 200;
  color: var(--main-color);
  line-height: 42px;
}

#interior h3 {
  font-weight: 200;
  line-height: 30px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 700px;
}

#interior .special,
#interior .special2,
#interior .special3 {
  margin-top: 25px;
}

#interior .special img,
#interior .special2 img,
#interior .special3 img {
  width: 100%;
  display: flex;
  align-self: flex-end;
}

#interior .special .wp-block-column,
#interior .special2 .wp-block-column,
#interior .special3 .wp-block-column {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

#interior .special .wp-block-column .wp-block-image,
#interior .special2 .wp-block-column .wp-block-image,
#interior .special3 .wp-block-column .wp-block-image {
  display: flex;
  flex: 1;
}

#interior .special .wp-block-column *,
#interior .special2 .wp-block-column *,
#interior .special3 .wp-block-column * {
  color: white;
}

#interior .special .wp-block-column:nth-of-type(1) {
  background: var(--fourth-color);
}

#interior .special .wp-block-column:nth-of-type(2) {
  background: var(--third-color);
}

#interior .special .wp-block-column:nth-of-type(3) {
  background: var(--secundary-color);
}

#interior .special2 .wp-block-column:nth-of-type(1) {
  background: #c2d07c;
}

#interior .special2 .wp-block-column:nth-of-type(2) {
  background: #ddde4c;
}

#interior .special2 .wp-block-column:nth-of-type(3) {
  background: #cabe81;
}

#interior .special3 .wp-block-column:nth-of-type(1) {
  background: #767d52;
}

#interior .special3 .wp-block-column:nth-of-type(2) {
  background: #a4a552;
}

#interior .special3 .wp-block-column:nth-of-type(3) {
  background: #8a8258;
}

.wp-block-image {
  max-width: 100%;
  height: auto;
}

#interior>div.container {
  flex-flow: column wrap;
}

/*#interior.interior-blog {}

#interior.interior-single {}

#interior.interior-page {}*/

@media(max-width:781px) {
  .wp-block-column:not(:only-child) {
    width: 100%;
    flex-basis: unset !important;
    flex-grow: unset !important;
    margin: 0 !important;
  }
}

form input:not([type="checkbox"]),
form textarea {
  padding: 15px;
  border: unset;
  width: calc(100% - 30px);
  background: var(--third-color);
  color: white;
  margin-bottom: 20px;
  font-size: 16px;
  max-width: 100%;
}

form textarea {
  max-width: calc(100% - 30px);
  min-width: calc(100% - 30px);
  max-height: 80px;
  min-height: 80px;
}

form input[type="submit"] {
  width: 600px;
  text-transform: uppercase;
  max-width: 100%;
  cursor: pointer;
  margin-top: 25px;
  background: var(--red-color);
}

form input[type="submit"]:hover {
  box-shadow: 2px 2px 7px black;
  font-weight: bold;
}

@media(max-width: 630px) {
  form {
    position: relative;
    max-width: calc(100vw - 30px);
  }
}

/* 5.Home */
#main-content>div {
  flex-direction: column;
}

#main-content>div>h1 {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
}

#main-content>div>p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0;
  max-width: 700px;
}

#destacados>div {
  background: white;
}

#destacados>div>.item div {
  padding: 55px 35px 60px 35px;
  height: calc(100% - 130px);
}

#destacados>div>.item:nth-of-type(1) div {
  background: var(--fourth-color);
}

#destacados>div>.item:nth-of-type(2) div {
  background: var(--third-color);
}

#destacados>div>.item:nth-of-type(3) div {
  background: var(--secundary-color);
}

#destacados>div>.item:nth-of-type(4) div {
  background: var(--main-color);
}

@media (min-width: 993px) {
  #destacados>div>.item:nth-of-type(1) div {
    margin-left: 0;
  }

  #destacados>div>.item:nth-of-type(4) div {
    margin-right: 0;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  #destacados>div>.item:nth-of-type(odd) div {
    margin-left: 0;
  }

  #destacados>div>.item:nth-of-type(even) div {
    margin-right: 0;
  }
}

#destacados>div>.item div h3 {
  font-weight: 300;
  margin-bottom: 10px;
  margin-top: 0;
  color: white;
  text-align: center;
  line-height: 30px;
}

#destacados>div>.item div p {
  color: white;
  text-align: center;
}

#novedades:not(.novedades-blog)>h1 {
  background: var(--secundary-color);
  color: white;
  text-align: center;
  padding-top: 250px;
  padding-bottom: 50px;
  margin-top: -155px;
  margin-bottom: 15px;
}

#novedades>div {
  margin-top: 0;
}

#novedades>div>.item>div>a>img {
  width: 100%;
  height: auto;
}

#novedades>div>.item>div>small {
  display: block;
  color: var(--secundary-color);
  margin-top: 10px;
  margin-bottom: 10px;
}

#novedades>div>.item>div>a>h4 {
  font-weight: 200;
  color: var(--red-color);
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  line-height: 24px;
}

#novedades>div>.item>div>p {
  margin-top: 10px;
}

@media(max-width: 992px) {
  #novedades>div>.item>div {
    text-align: center;
    margin-bottom: 50px;
  }
}

#tratamientos {
  background: var(--fourth-color);
  margin-top: 80px;
}

#tratamientos h1 {
  color: white;
  text-align: center;
  padding-top: 60px;
}

#tratamientos>div {
  justify-content: center;
  margin-top: 60px;
}

#tratamientos .item {
  width: calc(100% / 7);
  display: flex;
  justify-content: center;
  text-align: center;
}

#tratamientos .item>div {
  padding: 0 15px;
  margin-bottom: 40px;
}

#tratamientos .item h4 {
  color: white;
  font-weight: 200;
  margin-bottom: 0;
  margin-top: 25px;
  line-height: 25px;
}

#tratamientos .item a {
  height: 42px;
  display: block;
}

#tratamientos .item img {
  animation-name: moveIcons;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  height: auto;
}

@keyframes moveIcons {
  0% {
    width: 42px;
  }

  25% {
    width: 35px;
  }

  50% {
    width: 42px;
  }

  75% {
    width: 35px;
  }

  100% {
    width: 42px;
  }
}

@media(max-width: 900px) {
  #tratamientos .item {
    width: calc(100% / 4);
  }
}

@media(max-width: 600px) {
  #tratamientos .item {
    width: calc(100% / 2);
  }
}

/* 6.Footer */
footer {
  padding-top: 100px;
  padding-bottom: 120px;
  background: var(--main-color);
}

footer a {
  color: white;
}

footer>div>.footer-item {
  width: 33.33%;
  display: flex;
  justify-content: center;
}

footer>div>.footer-item>div {
  padding: 0 15px;
}

footer>div>.footer-item>div>h3 {
  font-weight: 200;
  color: white;
}

footer>div>.footer-item>div>p {
  color: white;
  margin-top: 0;
  margin-bottom: 10px;
}

footer>div>.footer-item .tnp-subscription {
  margin: 0;
}

footer>div>.footer-item form br {
  display: none;
}

footer>div>.footer-item form .tnp-field input[type="submit"] {
  text-transform: uppercase;
  max-width: 100%;
  cursor: pointer;
  margin-top: 25px;
  background: var(--red-color);
  color: white;
}

footer>div>.footer-item form .tnp-field input[type="submit"]:hover {
  box-shadow: 2px 2px 7px black;
  font-weight: bold;
}

footer>div>.footer-item>div label {
  color: white;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 300;
  font-size: 18px;
  display: inline-block;
}

@media(max-width: 900px) {
  footer>div>.footer-item {
    width: 100%;
    text-align: center;
  }
}

/* 7.Blog  */
.novedades-blog {
  margin-top: 100px;
  margin-bottom: 100px;
}

.novedades-blog .item {
  margin-bottom: 60px;
}

.novedades-blog h1 {
  text-align: center;
  margin-bottom: 60px;
}

.novedades-blog .item h4 {
  min-height: 60px;
}

.novedades-blog .item p {
  min-height: 150px;
}

.novedades-blog .item a.link {
  margin-top: 15px;
  display: block;
  border: 1px solid var(--secundary-color);
  padding: 15px;
  text-align: center;
  text-transform: uppercase;
  color: var(--secundary-color);
  font-weight: 600;
}

.novedades-blog .item a.link:hover {
  color: white;
  background: var(--secundary-color);
}

#paginator {
  display: flex;
  width: 100%;
  justify-content: center;
}

#paginator span {
  background: var(--secundary-color);
  padding: 15px;
  font-size: 18px;
  color: #fff;
  border: 1px solid var(--secundary-color);
  font-weight: 700;
  display: inline-block;
  line-height: 10px;
  margin: 0 5px;
  font-weight: 700;
}

#paginator a {
  padding: 15px;
  font-size: 18px;
  color: var(--secundary-color);
  border: 1px solid var(--secundary-color);
  text-decoration: none;
  display: inline-block;
  line-height: 10px;
  margin: 0 5px;
  text-transform: uppercase;
}