:root { --color-primary: #262626;
--color-secondary: #f8c630;
--color-text: #464646;
--color-border-gray: #f1f1f1;
--color-white: #fff;
--color-accent: #f9f4f0; --h1-font-size: 3rem;
--h2-font-size: 2.6rem;
--h3-font-size: 2.4rem;
--h4-font-size: 2rem;
--h5-font-size: 1.8rem;
--normal-font-size: 1.6rem;
--small-font-size: 1.4rem;
--smaller-font-size: 1.2rem; --light-font-weight: 300;
--normal-font-weight: 400;
--medium-font-weight: 500;
--semi-bold-font-weight: 600;
--bold-font-weight: 700; --line-height-big: 2em;
--line-height-normal: 1.75em;
--line-height-small: 1.5em;
--line-height-smaller: 1.33em;
--transition-time: 0.4s;
} *:not(ul, li, ol) {
padding: 0;
margin: 0;
}
html {
scroll-behavior: smooth;
}
::selection {
background-color: var(--color-secondary);
}
::-moz-selection {
background-color: var(--color-secondary);
}
::-webkit-input-placeholder {
font-size: var(--small-font-size);
font-weight: var(--normal-font-weight);
}
:-moz-placeholder {
font-size: var(--small-font-size);
font-weight: var(--normal-font-weight);
}
::-moz-placeholder {
font-size: var(--small-font-size);
font-weight: var(--normal-font-weight);
}
:-ms-input-placeholder {
font-size: var(--small-font-size);
font-weight: var(--normal-font-weight);
} table {
margin-bottom: 25px;
border-collapse: collapse;
}
tr {
border-bottom: 1px solid var(--color-primary);
}
tr:nth-child(even) {
background-color: var(--color-gray);
}
input:hover,
textarea:hover {
border: 1px solid var(--color-primary);
}
input:focus,
textarea:focus {
border: 1px solid var(--color-secondary);
}
.elementor-text-editor p:last-of-type,
.elementor-widget-container p:last-of-type,
.elementor-text-editor p:last-child,
.elementor-widget-container p:last-child,
span {
margin: 0;
}
.elementor-widget-container p img {
margin-bottom: 15px;
} .elementor-widget-container p a {
transition: all var(--transition-time);
text-decoration: underline;
text-decoration-color: transparent;
}
.elementor-widget-container p a:hover {
text-decoration: underline;
}    @media only screen and (min-width: 1450px) {
.aws-wrapper {
width: 550px !important;
}
}
@media only screen and (max-width: 1450px) {
.aws-container .aws-search-form {
width: 350px !important;
}
}
@media only screen and (max-width: 1190px) {
.aws-container .aws-search-form {
width: 200px !important;
}
}
.aws-container .aws-search-form {
top: 1px;
height: 36px;
}
.aws-container .aws-search-form .aws-form-btn {
border: 1px solid var(--color-text);
border-radius: 0 2px 2px 0 !important;
background: var(--color-secondary);
}
.aws-container .aws-search-field {
border: 1px solid var(--color-text);
border-radius: 2px 0 0 2px !important;
}
.aws-container .aws-search-field,
.aws-container .aws-search-field::-webkit-input-placeholder {
margin-bottom: 4px;
color: var(--color-primary);
font-size: var(--small-font-size);
}
.aws-container .aws-show-clear .aws-search-field {
padding-left: 20px;
background: var(--color-white);
}
@media only screen and (max-width: 767px) {
.aws-container .aws-show-clear .aws-search-field {
background: transparent !important;
}
}
.aws-container .aws-search-form .aws-search-btn {
width: 42px;
}
.aws-container .aws-search-form .aws-search-btn_icon {
width: 42px;
color: var(--color-primary);
}
.aws-search-result .aws_result_title {
color: var(--color-primary) !important;
font-size: var(--small-font-size);
font-weight: var(--semi-bold-font-weight);
}
.aws-search-result .aws_result_excerpt {
color: var(--color-text) !important;
padding-bottom: 5px;
}
.aws_result_price ins {
color: var(--color-text);
font-size: var(--normal-font-size);
font-weight: var(--medium-font-weight);
text-decoration: none;
}
.aws_result_price bdi {
color: var(--color-text);
font-size: var(--normal-font-size);
font-weight: var(--medium-font-weight);
}  .megal--header--menu-cart.elementor-element .elementor-menu-cart__container .elementor-menu-cart__main .elementor-menu-cart__close-button {
right: -15px;
width: 44px;
height: 44px;
margin: 0;
background-color: var(--color-primary);
}
.megal--header--menu-cart.elementor-element .elementor-menu-cart__container .elementor-menu-cart__main .elementor-menu-cart__close-button::before,
.megal--header--menu-cart.elementor-element .elementor-menu-cart__container .elementor-menu-cart__main .elementor-menu-cart__close-button::after {
top: 20px;
left: 11px;
width: 50%;
height: 1px;
background-color: var(--color-white);
}
.megal-menu--mini-cart--home-menu--element.elementor-element .elementor-menu-cart__product-remove.product-remove {
overflow: visible;
}
div.elementor-menu-cart__product-remove.product-remove {
border: none;
overflow: visible;
}
.megal--header--menu-cart.elementor-element .elementor-menu-cart__products .elementor-menu-cart__product .elementor-menu-cart__product-remove.product-remove:before {
display: block;
content: "";
width: 30px;
height: 30px;
background: url(//megal.si/wp-content/themes/megal-wp-theme/assets/images/icon-trash.svg) no-repeat center / contain;
transform: translate(-50%, -50%);
}
.megal--header--menu-cart.elementor-element .elementor-menu-cart__products .elementor-menu-cart__product .elementor-menu-cart__product-remove.product-remove::after {
display: none;
}
html[lang="sl-SI"] .megal--header--menu-cart.elementor-element .widget_shopping_cart_content::before {
content: "Košarica";
}
.megal--header--menu-cart.elementor-element .widget_shopping_cart_content::before {
display: block;
padding-bottom: 16px;
margin-bottom: 32px;
border-bottom: 4px solid var(--color-primary);
font-size: var(--h1-font-size);
font-weight: var(--bold-font-weight);
line-height: var(--line-height-smaller);
}
.megal--header--menu-cart.elementor-element .elementor-menu-cart__subtotal {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.elementor-menu-cart__subtotal .tax_label {
display: block;
}
.widget_shopping_cart_content .elementor-menu-cart__footer-buttons {
display: flex;
flex-direction: column;
z-index: 999;
}
.widget_shopping_cart_content .elementor-menu-cart__products {
max-height: calc(100vh - 350px);
}
@media only screen and (max-width: 767px) {
.megal--header--nav-menu--mobile .megal--nav-menu-shop::before {
display: none;
height: 0;
}
} .megal--mega-menu--icon-box a:hover {
text-decoration: underline !important;
} .megal--main-header--sticky-container.megal-sticky-header--active {
box-shadow: 0px 10px 13px -7px #c6c6c6, 2px 9px 15px 16px rgb(198 198 198 / 5%);
} .breadcrumbs-element .rank-math-breadcrumb {
font-size: 12px;
font-weight: 300;
line-height: var(--line-height-small);
text-transform: uppercase;
color: #676767;
}
@media only screen and (max-width: 767px) {
.breadcrumbs-element .rank-math-breadcrumb {
font-size: var(--smaller-font-size);
line-height: var(--line-height-smaller);
}
}
.breadcrumbs-element .rank-math-breadcrumb .separator {
padding: 0 0.3em;
}
.breadcrumbs-element .rank-math-breadcrumb a {
color: var(--color-primary);
transition: var(--transition-time) ease-in-out;
}
.breadcrumbs-element .rank-math-breadcrumb a:hover {
color: var(--color-secondary);
text-decoration: underline;
} .swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
content: " " !important;
} .megal-badge-container {
display: flex;
align-items: center;
gap: 8px;
}
.megal-badge-container .megal-badge {
background-color: var(--color-secondary);
color: #fff;
padding: 0.5em 0.8em;
font-size: 1.6rem;
font-weight: 500;
line-height: 1;
border-radius: 10px;
text-transform: uppercase;
width: 100%;
text-align: center;
}
.megal-read-more--btn {
margin-top: auto;
}    .megal--single-post--text h2,
.megal--single-post--text h3 {
margin-top: 2em;
margin-bottom: 1em;
}
.megal--single-post--text p {
margin-bottom: 1em;
}
.megal--single-post--text p a {
color: var(--color-secondary);
font-weight: var(--semi-bold-font-weight);
text-decoration: underline;
} .single-page--post-content h4,
.single-page--post-content h3,
.single-page--post-content h2 {
margin-bottom: 4px;
}
.single-page--post-content.elementor-element h2 {
font-size: 2.4rem;
}
.single-page--post-content h4,
.single-page--post-content h3,
.single-page--post-content h2 {
margin-top: 3em;
}
@media only screen and (max-width: 767px) {
.single-page--post-content h4,
.single-page--post-content h3,
.single-page--post-content h2 {
margin-top: 2em;
}
}
.single-page--post-content p {
margin-bottom: 2em;
}
.single-page--post-content p a,
.single-page--post-content div a {
color: var(--color-primary);
text-decoration: underline;
} .elementor-field-type-radio.elementor-field-group.elementor-field-group-mi_fi_form__radio_button {
margin-left: 20px !important;
padding-bottom: 10px;
font-size: var(--small-font-size);
font-weight: var(--bold-font-weight);
}
.elementor-field-option input[type="radio"] {
margin-right: 7px;
}
.elementor-field-type-text.elementor-field-group-mi_fi_form_company {
padding-top: 30px;
border-top: 1px solid var(--color-secondary);
}
#form-field-mi_fi_form_text_form {
padding: 20px;
}
.elementor-field-type-textarea.elementor-field-group-mi_fi_form_text_form {
padding-bottom: 20px;
}
.elementor-form--acceptence-text {
margin-bottom: -10px;
}
.elementor-field-type-acceptance.elementor-field-group-mi_fi_form_acceptence1 {
margin-bottom: 0 !important;
}
.elementor-field-type-acceptance.elementor-field-group-mi_fi_form_acceptence2 {
margin-bottom: 30px !important;
text-decoration: underline;
}
.elementor-field-type-acceptance.elementor-field-group-mi_fi_form_acceptence1,
.elementor-field-type-acceptance.elementor-field-group-mi_fi_form_acceptence2 {
margin-left: 20px;
font-size: var(--smaller-font-size);
line-height: var(--line-height-big);
}
.elementor-field-type-acceptance input[type="checkbox"] {
margin-right: 5px;
} .megal-archive-posts .elementor-post__thumbnail {
padding-bottom: 0 !important;
}
.megal-archive-posts .elementor-post__excerpt::after {
content: "...";
}
.megal-filter-taxonomy button {
cursor: pointer !important;
}
.megal-filter-taxonomy button:is(:focus, :hover) {
color: #ffce34 !important;
}
.megal-filter-taxonomy button[data-filter="__all"] {
order: unset !important;
border: 1px solid var(--color-primary);
border-radius: 5px !important;
padding-inline: 0.8em;
transition: all ease-in 250ms;
}
.megal-filter-taxonomy button[data-filter="__all"]:is(:focus, :hover) {
border-color: var(--color-secondary) !important;
background-color: var(--color-secondary);
border-radius: 5px !important;
color: #fff !important;
}
.megal-filter-taxonomy button[data-filter="__all"][aria-pressed="true"] {
display: none;
} .megal--footer-links.elementor-element a {
color: var(--color-text);
transition: all var(--transition-time);
text-decoration: underline;
text-decoration-color: transparent;
}
.megal--footer-links a:hover {
text-decoration-color: var(--color-secondary);
}
@media only screen and (max-width: 767px) {
.megal--footer--nav-menu .elementor-item {
justify-content: flex-start !important;
}
.megal--footer--icon-list-privacy .elementor-icon-list-items li:last-of-type {
display: none;
}
.megal--footer--icon-list-privacy ul.elementor-icon-list-items.elementor-inline-items {
flex-direction: column;
}
} .megal-cookies.cookie-notice-container {
padding: 10px 30px;
}
.megal-cookies.cn-button.bootstrap {
background: var(--color-primary);
}
.megal-cookies.cn-button.wp-default,
.megal-cookies.cn-button.bootstrap {
font-size: var(--small-font-size);
}
.cn-button.cn-button-custom.megal-cookies {
color: var(--color-white);
transition: all var(--transition-time);
}
.cn-button.cn-button-custom.megal-cookies:hover {
color: var(--color-secondary);
} @media only screen and (min-width: 1025px) {
.megal--post-loop--post-content .elementor-toggle-icon.elementor-toggle-icon-left {
position: absolute;
left: -100px;
top: -60px;
font-size: 28px;
}
}
@media only screen and (max-width: 1024px) {
.megal--post-loop--post-content .elementor-toggle-icon.elementor-toggle-icon-left {
position: absolute;
left: -50px;
top: -50px;
font-size: 28px;
}
}
@media only screen and (max-width: 768px) {
.megal--post-loop--post-content .elementor-toggle-icon.elementor-toggle-icon-left {
position: relative;
left: 0;
top: 0;
}
} .megal--brands--image-carousel img {
filter: grayscale(1);
transition: all var(--transition-time);
width: 140px;
height: 140px;
}
.megal--brands--image-carousel img:hover {
filter: grayscale(0);
} .single-page--post-content.post-content--courses h3 {
margin-bottom: 0.75em;
margin-top: 2.5em;
font-size: 2.6rem;
font-weight: 600;
}
.single-page--post-content.post-content--courses strong {
font-weight: 500;
} .megal--cpt--courses--repeater--course_program > div {
display: block;
margin-bottom: 3em;
}
.megal--cpt--courses--repeater--course_program--li {
margin-bottom: 1em;
display: flex;
align-items: center;
}
.megal--cpt--courses--repeater--course_program--date {
margin-left: 19%;
font-size: 2rem;
font-weight: 500;
margin-bottom: 0.5em;
}
.megal--cpt--courses--repeater--course_program--ul {
list-style: none;
padding-inline-start: 0;
}
.megal__cpt__courses__repeater__course_program__time {
width: 16.6%;
font-size: 2rem;
font-weight: 500;
}
.megal__cpt__courses__repeater__course_program__opis {
width: 81%;
}
@media only screen and (min-width: 1360px) {
.megal__cpt__courses__repeater__course_program__opis::after {
content: " ";
height: 1px;
width: 750px;
display: block;
margin-top: 10px;
overflow: hidden;
background-color: #979797;
}
}
@media only screen and (max-width: 1025px) {
.megal__cpt__courses__repeater__course_program__time {
width: 30%;
}
.megal--cpt--courses--repeater--course_program--date {
margin-left: 0;
}
}
@media only screen and (max-width: 768px) {
.megal--cpt--courses--repeater--course_program--li,
.megal__cpt__courses__repeater__course_program__time,
.megal__cpt__courses__repeater__course_program__opis {
display: block;
width: 100%;
}
} .megal--artocle-box-post-tittle .elementor-heading-title,
.megal--artocle-box-post-tittle {
transition: all var(--transition-time);
}
.megal--artocle-box-post-tittle .elementor-heading-title:hover {
color: var(--color-secondary);
text-decoration: underline;
}
.elementor-post-navigation__prev .post-navigation__prev--title {
padding-right: 3em;
}
.elementor-post-navigation__next .post-navigation__prev--title {
padding-left: 3em;
}
.single-page--post-content.single-page--post-content-recept ul {
margin-top: -1em;
margin-bottom: 2em;
}
.single-page--post-content.single-page--post-content-rrecept h3:first-of-type {
margin-top: 0;
}
.elementor-icon .cls-321 {
fill: #fff;
}
.megal--loop-carousel .swiper-container-horizontal > .swiper-pagination-bullets {
bottom: -30px;
}
@media only screen and (min-width: 1280px) {
.elementor-arrows-position-outside .elementor-swiper-button-next {
right: -36px !important;
}
.elementor-arrows-position-outside .elementor-swiper-button-prev {
left: -36px !important;
}
}
.is-ajax-woocommerce-actions .quantity {
display: none;
}
.is-ajax-woocommerce-actions .button.wp-element-button.product_type_simple {
padding: 6px 16px;
background: var(--color-secondary);
font-weight: 500;
}
#megal--footer-links-while a {
color: #fff !important;
}
.megal-e-novice input[type="email"]::placeholder {
text-align: center;
}
.link--color-text a {
color: var(--e-global-color-text) !important;
}