@tailwind base;
@tailwind components;
@tailwind utilities;
* {
box-sizing: border-box;
}
body {
background-color: white;
font-family: "Poppins", sans-serif;
}
:root {
--color-primary: rgba(140, 113, 84, 1);
--color-blue: #2563eb;
--color-green: #53aaa2;
--inside-width: 1280px;
}
section {
max-width: 1280px;
margin: 0 auto;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.8rem;
}
.backurl {
border: 1px solid #e1e1e1;
font-size: 0.8rem;
padding: 4px 8px;
margin-top: 8px;
line-height: 1;
display: inline-block;
border-radius: 4px;
}
.backurl .material-icons-outlined {
font-size: 1rem;
height: 16px;
margin-right: 4px;
line-height: 16px;
}
.input-wrapper {
border: 1px solid black;
border-radius: 8px;
position: relative;
overflow: hidden;
}
.input-wrapper .ico {
width: 58px;
height: 58px;
position: absolute;
pointer-events: none;
}
.input-wrapper .ico .material-icons-outlined {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.input-wrapper .inp {
flex: 1;
}
.input-wrapper input[type=text],
.input-wrapper input[type=password] {
width: 100%;
max-width: 100%;
padding: 0 15px;
line-height: 56px;
height: 56px;
padding-left: 65px;
outline: none;
}
.wp-block-group__inner-container p {
padding: 12px 0;
}
.feature-list li {
line-height: 1.8;
font-size: 1.25rem;
padding-left: 40px;
position: relative;
margin: 6px 0;
}
.feature-list li:before {
position: absolute;
font-family: "Material Icons";
content: "done";
-webkit-font-feature-settings: "liga";
font-size: 26px;
height: 26px;
line-height: 26px;
width: 26px;
color: var(--color-blue);
left: 0;
top: 6px;
}
.service-item a img {
transition: filter 0.4s;
}
.service-item a:hover img {
filter: grayscale(1) brightness(0.1);
}
.terapia-bg {
background-image: url(//pszichologiaitanacsado.hu/wp-content/themes/gelencsermelania/dist/a09cd67ff8a0511d1b6c.webp);
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
}
.idopont-button a {
border: 1px solid white;
padding: 8px 12px;
display: block;
text-transform: uppercase;
text-align: center;
border-radius: 5px;
color: white;
}
.leader {
background-image: url(//pszichologiaitanacsado.hu/wp-content/themes/gelencsermelania/dist/aa96a4359ded9beeb934.webp);
background-size: cover;
background-position: center bottom;
background-repeat: no-repeat;
}
.contact-form {
border: 1px solid #dddddd !important;
padding: 15px 2rem 2rem 2rem !important;
border-radius: 15px !important;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=number] {
width: 100% !important;
max-width: 100% !important;
}
.contact-form .wpforms-submit {
background-color: rgb(140, 113, 84) !important;
}
header nav .sub-menu {
display: none;
position: absolute;
background-color: white;
border-radius: 4px;
left: 50%;
transform: translateX(-50%);
top: 100%;
padding: 6px 0;
}
header nav .sub-menu li {
white-space: nowrap;
padding: 4px 8px;
}
header nav .sub-menu li a {
padding: 5px 10px;
display: block;
border-radius: 4px;
color: black;
}
header nav .sub-menu li a:hover {
background-color: #f1f1f1;
}
header nav ul > li {
padding: 15px;
position: relative;
}
header nav ul > li.menu-item-has-children {
padding-right: 20px;
}
header nav ul > li.menu-item-has-children:after {
position: absolute;
font-family: "Material Icons";
content: "keyboard_arrow_down";
-webkit-font-feature-settings: "liga";
font-size: 14px;
height: 14px;
line-height: 14px;
width: 14px;
color: #acacac;
right: 0;
top: 50%;
transform: translateY(-50%);
}
header nav ul > li.current-menu-item > a {
color: var(--color-primary);
}
header nav ul > li:hover > a {
color: var(--color-primary);
}
header nav ul > li:hover .sub-menu {
display: block;
}
header .logo img {
height: 50px;
width: auto;
max-width: auto;
}
main {
padding-top: 4rem;
padding-bottom: 4rem;
}
input[type=checkbox].cb {
display: none;
}
input[type=checkbox].cb + label {
display: block;
position: relative;
padding-left: 32px;
--check-size: 24px;
}
input[type=checkbox].cb + label a, input[type=checkbox].cb + label a:visited {
color: var(--color-blue);
font-weight: 500;
}
input[type=checkbox].cb + label:before {
position: absolute;
font-family: "Material Icons";
content: "check_box_outline_blank";
-webkit-font-feature-settings: "liga";
font-size: var(--check-size);
height: var(--check-size);
line-height: var(--check-size);
width: var(--check-size);
color: #b2b2c5;
left: 0;
top: 0;
cursor: pointer;
}
.alert {
margin: 15px 0 10px 0;
border-radius: 10px;
background-color: white;
padding: 10px 15px;
line-height: 1.4;
font-size: 0.9rem;
}
.alert.alert-success {
border: 2px solid #279513;
color: #279513;
}
.alert.alert-danger {
border: 2px solid #e96f6f;
color: #e96f6f;
}
input[type=checkbox].cb:checked + label:before {
content: "check_box";
color: var(--color-blue);
}
body.belepes #content {
background-image: url(//pszichologiaitanacsado.hu/wp-content/themes/gelencsermelania/dist/aa96a4359ded9beeb934.webp);
background-size: cover;
background-position: center bottom;
background-repeat: no-repeat;
}
body.belepes footer {
margin-top: 0;
}
section.blog-list {
padding: 4rem 0;
}
body.single h1 {
margin: 3rem 0;
}
body.single h2 {
margin: 2rem 0;
}
body.single h3 {
margin: 1.8rem 0;
}
.pagination {
text-align: center;
}
.pagination .nav-links {
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 5px;
font-size: 0.85rem;
}
.pagination .nav-links > a, .pagination .nav-links span {
display: block;
padding: 6px 12px;
line-height: 1;
border-radius: 4px;
}
.pagination .nav-links > a:hover, .pagination .nav-links span:hover {
background-color: #e5e5e5;
}
.pagination .nav-links > .next:hover, .pagination .nav-links > .prev:hover {
background-color: transparent !important;
}
.pagination .nav-links > .current {
background-color: #e5e5e5;
}
@media screen and (max-width: 1280px) {
section {
max-width: 100%;
padding: 2rem;
}
}
@media screen and (max-width: 1024px) {
footer ul li {
flex: 1 1 100%;
}
header .foglalo {
left: 50%;
transform: translateX(-50%);
top: 62px;
}
.leader {
background-position: 69% 0px !important;
}
.contacts-lead {
flex-wrap: wrap !important;
margin: 0 !important;
gap: 25px !important;
width: 100% !important;
}
.contacts-lead > div {
flex: 1 1 100% !important;
}
.contact-form {
margin: 0 !important;
}
.contact-form .wpforms-field-container {
display: flex;
flex-wrap: wrap;
}
.contact-form .wpforms-field-container > div {
flex-basis: 100%;
float: none;
margin: 0 !important;
}
.main-menu {
background-color: white;
left: 0;
top: 82px;
right: 0;
bottom: 0;
padding-top: 35px;
height: calc(100vh - 82px);
z-index: 999;
overflow-y: auto;
}
.main-menu ul > li {
padding: 10px 25px !important;
}
.main-menu ul > li,
.main-menu ul > li a {
font-size: 8vw !important;
}
.main-menu.showed {
display: block !important;
}
}
body.page .woocommerce {
width: var(--inside-width);
margin: 2rem auto !important;
display: flex;
}
body.page .woocommerce h3 {
font-size: 1.3rem !important;
font-weight: 500 !important;
margin: 0 0 18px 0 !important;
}
body.page .woocommerce .edit-account label,
body.page .woocommerce .woocommerce-address-fields label {
font-size: 0.8rem;
margin: 0 0 4px 0;
color: grey;
}
body.page .woocommerce .edit-account input,
body.page .woocommerce .woocommerce-address-fields input {
border: 1px solid lightgrey;
line-height: 42px !important;
height: 42px;
border-radius: 3px;
padding: 0 12px;
margin-bottom: 5px !important;
}
body.page .woocommerce .edit-account em,
body.page .woocommerce .woocommerce-address-fields em {
font-size: 0.78rem;
}
body.page .woocommerce .edit-account fieldset,
body.page .woocommerce .woocommerce-address-fields fieldset {
border: 1px solid #e3e3e3;
padding: 15px;
border-radius: 10px;
margin-top: 12px;
}
body.page .woocommerce .edit-account fieldset legend,
body.page .woocommerce .woocommerce-address-fields fieldset legend {
text-transform: uppercase;
padding: 0 10px;
}
body.page .woocommerce .woocommerce-MyAccount-navigation {
flex-basis: 240px;
width: auto;
}
body.page .woocommerce .woocommerce-MyAccount-navigation a {
font-size: 1.1rem;
padding: 5px 0;
display: block;
}
body.page .woocommerce .woocommerce-MyAccount-navigation-link--dashboard {
border-top: 1px solid #d5d5d5;
}
body.page .woocommerce .woocommerce-MyAccount-content {
width: auto;
flex: 1;
padding: 0 0 0 35px;
line-height: 1.5;
font-size: 1rem;
}
body.page .woocommerce .woocommerce-MyAccount-content a {
text-decoration: underline;
}
body.page .woocommerce .woocommerce-MyAccount-content p {
margin: 8px 0;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
background-color: var(--color-blue) !important;
color: white !important;
}
.sub-price-selector .selected {
background-color: rgb(96 165 250/var(--tw-bg-opacity));
color: white !important;
}