@charset "UTF-8";
/*!
Theme Name: Winphar
Author: Winphar
Author URI: 
Description: 
Version: 1.0.0
Requires at least: WordPress 5.3
Tested up to: WordPress 6.7
Requires PHP: 7.0
Text Domain: winphar
Tags: 

*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,600;1,600&display=swap');

:root {
	--white: #ffffff;
	--accent: #79C318;
  --accent-light: #BAE18E;
  --gray: #565A5C;
  --gray-light: #D8DBDB;
	--black: #2C2E2E;
	--widthpadding: calc((100% - 1280px) / 2 + 2rem);
	--widthpaddingsmaller: calc((100% - 960px) / 2 + 2rem);
  --small-padding: 0.5rem;
  --padding: 1rem;
  --border-radius: 0.5rem;
	--dropshadow: drop-shadow(0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  --font: "Montserrat", sans-serif;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0.5rem;
    background: var(--accent);
}
::-webkit-scrollbar-track {
    background: var(--accent);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
}
* {
  scrollbar-color: var(--accent) var(black);
  scrollbar-width: thin;
}


html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 18px;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
	scroll-behavior: smooth;

	color: var(--black);
	background-color: var(--white);

	background-image: url(img/bg-pattern.png);
	background-attachment: scroll;
	background-repeat: repeat;
	background-position: 0px 0px;
	background-size: auto;

}
h1,
h2,
h3,
h4,
h5 {
	font-weight: bold;
  font-weight: 600;
	color: var(--accent);
  text-align: center;
}
a,
a:visited {
  color: var(--accent);
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}
strong {
  font-weight: 600;
}
#header {
  width: 100%;
  top: 0;
  left: 0;
  position: relative;
}
#header-top {
  background: var(--white);
  padding: var(--padding) var(--widthpadding);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.header-logo img {
  width: 20rem;
  height: auto;
}
#header h1 {
  margin: 0;
  width: max-content;
}
#header h1 a,
#header h1 a:visited,
#header h1 a:hover,
#header h1 a:focus,
#header h1 a:active {
  text-decoration: none;
  color: var(--black)
}

#header-menu {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  padding: var(--small-padding) var(--widthpadding);
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
#header-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}
#header-menu ul a,
#header-menu ul a:visited {
  padding: var(--small-padding) var(--padding);
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
}

#header-menu ul a:hover,
#header-menu ul a:focus,
#header-menu ul a:active {
  text-decoration: underline;
}
#header-menu ul .social-icon a:hover,
#header-menu ul .social-icon a:focus,
#header-menu ul .social-icon a:active {
  text-decoration: none;
}

.menu-opener,
.menu-image {
  display: none;
}

.contacts {
  background: var(--accent-light);
  color: var(--white);
  width: 100%;
  padding: var(--padding) var(--widthpadding);
}

.contacts a,
.contacts a:visited {
  color: var(--white);
  text-decoration: underline;
}
.contacts a:hover,
.contacts a:active,
.contacts a:focus {
  color: var(--white);
  text-decoration: none;
}
.contact-form,
.block-contact,
.wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}
main .wpcf7 {
  color: var(--white);
  background-color: var(--accent-light);
  padding: var(--padding);
  border-radius: var(--border-radius);
}

main .wpcf7 a,
main .wpcf7 a:visited {
  color: var(--white);
  text-decoration: underline;
}
main .wpcf7 a:active,
main .wpcf7 a:hover,
main .wpcf7 a:focus {
  color: var(--white);
  text-decoration: none;
}
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: var(--small-padding);
  border-radius: var(--border-radius);
  border: none;
  background: var(--white);
  margin: var(--small-padding) 0;
  
  font-family: var(--font);
  font-size: 1rem;
}
.wpcf7 input[type="checkbox"] {
  width: min-content;
}
.wpcf7 input[type="submit"] {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
}
.wpcf7 input[type="submit"]:hover {
  
  filter: brightness(110%);
}
.wpcf7-response-output {
  border: none !important;
  text-align: center;
  font-size: 1.5rem;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: bold;

}
#cookie-bar {
  background: var(--accent);
  position: fixed;
  padding: var(--padding);
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  color: var(--white);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}
#cookie-bar p {
  font-size: 0.9rem;
  color: var(--white);
  margin: 0;
}
#cookie-bar a,
#cookie-bar a:visited {
  color: var(--white);
  text-decoration: underline;
}
#cookie-bar a:active,
#cookie-bar a:hover,
#cookie-bar a:focus {
  color: var(--white);
  text-decoration: none;
}
#cookie-bar h2 {
  font-size: 1rem;
  text-align: left;
  color: var(--white);
  margin: 0;
  margin-bottom: var(--small-padding);
}
.cookie-button {
  border-radius: var(--border-radius) !important;
  padding: var(--small-padding) var(--padding);
  background: var(--white);
  border: var(--white);
  color: var(--accent);
  cursor: pointer;
  margin-top: auto;
  font-size: 1rem;
  width: 8rem;
  min-width: 6rem;
}
#cookie-refuse {
  background: var(--accent-light);
  border: var(--accent-light);
}
a.cc-link,
a.cc-link:visited {
  color: var(--white);
  text-decoration: underline;
}
a.cc-link:hover,
a.cc-link:focus,
a.cc-link:active {
  color: var(--white);
  text-decoration: none;
}
#footer {
  background: var(--gray);
  width: 100%;
  padding: var(--padding) var(--widthpadding);
  color: var(--white);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.copyright {
  width: 100%;
  padding: var(--padding);
  font-size: 0.75rem;
  text-align: center;
}

main {
  padding: var(--padding) var(--widthpadding);
}
#main-content {
  padding: var(--padding) var(--widthpaddingsmaller);
  margin: 4rem 0;
}

hr {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
#menu-menu-rodape {
  list-style-type: none;
  padding: 0;
}


#menu-menu-rodape a,
#menu-menu-rodape a:visited {
  color: var(--white);
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
}
#menu-menu-rodape a:hover,
#menu-menu-rodape a:active,
#menu-menu-rodape a:focus {
  color: var(--white);
  text-decoration: underline;
}
.n2-ss-widget.nextend-arrow {
  filter: drop-shadow(0 0 0.1rem rgba(0,0,0,0.25)) !important;
}
.n2-bullet {
  background: var(--gray) !important;
}
.n2-active {
  background: var(--accent) !important;
}
.block-slider-quotes {
  background: var(--white);
  border-radius: var(--border-radius);
  margin: 4rem auto;
}

hr.wp-block-separator {
  border: none;
}

.wp-block-latest-posts__list li {
  padding: var(--padding);
  border: 1px var(--accent) solid;
  border-radius: var(--border-radius);
  background-color: var(--white);
  color: var(--gray);
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem !important;
  position: relative;
}
.wp-block-latest-posts__list li:after {
  content: "";
  z-index: 1000;
  position: absolute;
  top: -2rem;
  left: 50%;
  translate: -50%;
  width: 4rem;
  height: 4rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: url(img/icon-news.png);
  background-size: 2.5rem;
  background-position: center center;
  background-repeat: no-repeat;
}
.wp-block-latest-posts__featured-image {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  margin-bottom: 1rem;
}
.block-hero-image {
  width: 100%;
  /*aspect-ratio: 5/2;
  overflow: hidden;
  position: relative;*/
}
.block-hero-image img {
  /*position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
	
  translate: -50% -50%;
	*/
  width: 100%;
}
.block-portrait {
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: 0 0.25rem 0.5rem 0 rgba(0,0,0,0.1);
}
.block-portrait img {
  width: 100%;
}
.block-portrait figure {
  margin-top: 0;
  
  margin-bottom: 0;
}
.block-portrait p {
  padding: 0 0.5rem;
  text-align: center;
}
.post .entry-title {
  font-size: 2rem;
}
.post .entry-header time {
  text-align: center;
  width: 100%;
  display: block;
}
.entry-media {
  width: 100vw;
  left: 50%;
  position: relative;
  translate: -50vw;
  margin-top: -2rem;
}
body.page-template-default #main-content,
body.archive #main-content {
  padding: 1rem;
}
body.archive .entry-title {
  margin: 0;
  font-size: 1.25rem;
}
body.archive .entry-media {
  width: 100%;
  left: 0;
  translate: 0 0;
  margin: 1rem 0 !important;
}
body.archive .post-card-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
}
body.archive .post-card-list .post-card {
  max-width: calc(100% / 3 - 1rem);
  border: 1px solid var(--accent);
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--border-radius);  
}
.entry-media img {
  width: 100%;
  height: auto;
}
.entry-meta,
.navigation.post-navigation {
  display: none;
}
.entry-time {
  display: block;
  width: 100%;
  text-align: center;
}
.wp-block-latest-posts__list li .wp-block-latest-posts__post-title {
  font-size: 1.25rem;
  font-weight: bold;
}
.block-accent {
  padding: var(--padding);
  background-color: var(--accent-light);
  border-radius: var(--border-radius);
  color: var(--white);
  font-weight: bold;
}
.block-accent h2,
.block-accent h3,
.block-accent h4,
.block-accent h5,
.block-accent h1 {
  text-align: center;
  color: var(--white);
}
.block-accent p {
  text-align: center;
}
.block-accent img {
  width: 6rem;
  margin: 1rem auto;
}

.block-accent-outline {
  padding: var(--padding);
  border: 1px var(--accent) solid;
  border-radius: var(--border-radius);
  background-color: var(--white);
  color: var(--gray);
  font-weight: bold;
  margin-top: 2rem !important;
}
.block-accent-outline p {
  text-align: center;
}

.block-accent-outline .wp-block-image {
  background-color: var(--accent);
  padding: 1rem;
  border-radius: 50%;
  aspect-ratio: 1/1;
  margin: 1rem auto;
  width: 6rem;
  margin-top: -3rem;
  margin-bottom: 2rem;
}
.block-accent-outline img {
  width: 4rem;
}

.block-quote blockquote {
  background: var(--white);
  box-shadow: 0rem 0.125rem 0rem 0.25rem var(--accent);
  border-radius: var(--border-radius);
  padding: 2rem var(--padding) var(--padding) var(--padding);
  margin: 0;
  position: relative;
}
.block-quote blockquote::before {
  content: "❝";
  font-size: 6rem;
  color: var(--accent);
  position: absolute;
  top: -3rem;
}
.block-quote blockquote::after {
  content: "";
  border: 0.5rem solid transparent;
  border-left: 0.5rem solid var(--accent);
  width: 0;
  height: 0;
  padding: 0;
  border-top: 0.5rem solid var(--accent);
  font-size: 0;
  position: absolute;
  bottom: -1.25rem;
  left: 4rem;
}
.block-quote img {
  border-radius: 50%;
  background: var(--accent);
  border: 0.25rem solid var(--accent);
  width: 4rem;
  float: left;
  margin-top: 1rem;
}
.block-quote p {
  font-weight: bold;
  margin: 2.25rem 0 0 4.5rem;
}
.block-quote blockquote p {
  margin: 0;
  font-weight: normal;
}
.widget-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
}
.widget-whatsapp ul {
  margin: 0;
}

.widget-extra-script {
  display: none;
}
@media only screen and (max-width: 1280px) {
  :root {
    
	  --widthpadding: calc((100% - 960px) / 2 + 2rem);
	  --widthpaddingsmaller: calc((100% - 640px) / 2 + 2rem);
  }
}
@media only screen and (max-width: 960px) {
  :root {
    
	  --widthpadding: 1rem;
	  --widthpaddingsmaller: 2rem;
  }
}
@media only screen and (max-width: 960px) { /*Mobile Menu*/
  #header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.5s ease;
    padding: 0;
    gap: 2rem;
  }
  #header-menu:has(.menu-opener:checked) {
    height: 100%;
  }
  #header-menu #menu-menu-topo {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }  
  #header-menu #menu-menu-topo a{
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
  }
  #header-menu .widget-header-social ul {

    align-items: center;
    justify-content: center;
    max-height: 5rem;
    gap: 1rem;
  }
  
  #header-menu #menu-menu-topo,
  #header-menu .widget-header-social {
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  #header-menu:has(.menu-opener:checked) #menu-menu-topo,
  #header-menu:has(.menu-opener:checked) .widget-header-social {
    opacity: 1;
    pointer-events: all;
    transition: all 0.25s ease 0.5;
  }
  #header-menu .menu-opener,
  #header-menu .menu-image {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 4rem;
    height: 3rem;
  }
  
  
  #header-menu .menu-opener {
    opacity: 0;
    cursor: pointer;
  }
  #header-menu .menu-image {
    background-image: url(img/icon-menu.webp);
    pointer-events: none;
    background-size: 2rem;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 0.1rem rgba(0,0,0,0.25)) !important;
  }
  #header-menu:has(.menu-opener:checked) .menu-image {
    background-image: url(img/icon-menu-close-white.webp);
  }
}
@media (orientation: portrait) {
  :root {
    
	  --widthpadding: 1rem;
	  --widthpaddingsmaller: 1rem;
  }
  #header-top {
    flex-direction: column;
  }
  #footer {
    flex-direction: column;
  }
  .widget-header-horario {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .header-logo img {
    width: 15rem;
    max-width: 100%;
    height: auto;
  }
  
  body.archive .post-card-list { 
    flex-direction: column;
  }
  body.archive .post-card-list .post-card {
    max-width: 100%;
  }
  
  #cookie-bar { 
    flex-direction: column;
  }
  #cookie-bar h2 {
    text-align: center;
  }
  .cookie-button {
    min-width: 100%;
  }
  #cookie-refuse {
    order: 30;
  }
}

[hidden] { display: none !important; }