/*
Theme Name: vethadarim
Text Domain: vethadarim
Version: 1.0
*/

/** Reboot

// Bootstrap Reboot v5.3.0-alpha1 (https://getbootstrap.com/)
// Copyright 2011-2022 The Bootstrap Authors
// Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
//
// Normalization of HTML elements, manually forked from Normalize.css to remove
// styles targeting irrelevant browsers while applying new styles.
//
// Normalize is licensed MIT. https://github.com/necolas/normalize.css
*/

@font-face {
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('https://www.vethadarim.co.il/wp-content/themes/vethadarim/assets/fonts/rubik-hebrew-regular.woff2') format('woff2');
}
	
@font-face {
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('https://www.vethadarim.co.il/wp-content/themes/vethadarim/assets/fonts/rubik-hebrew-medium.woff2') format('woff2');
}
	
@font-face {
	font-family: 'Rubik';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('https://www.vethadarim.co.il/wp-content/themes/vethadarim/assets/fonts/rubik-hebrew-bold.woff2') format('woff2');
}

@font-face {
	font-family: 'RubikVariable';
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url('https://www.vethadarim.co.il/wp-content/themes/vethadarim/assets/fonts/rubik-hebrew-variable.woff2') format('woff2');
}

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

html {
    scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    color: #141414;
    background-color: #F5F8FD;
}

@supports (font-variation-settings: normal) {
	body {
		font-family: 'RubikVariable', Arial, sans-serif;
	}
}

hr {
    box-sizing: content-box;
    height: 0;
    margin: 1rem 0;
    border: 0;
    overflow: visible;
    color: inherit;
    opacity: 0.25;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1rem !important;
    max-width: 60ch !important;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    border-bottom: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul {
    padding-right: 2rem;
    padding-inline-start: 2rem;
    margin-bottom: 1rem;
    margin-block-end: 1rem;
}

ol li,
ul li {
    margin-bottom: 0.5rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 0.875em;
}

a {
    text-decoration: none;
    color: #003870;
    background-color: transparent;
}

a:hover,
a:focus {
    color: #004CB8;
}

figure {
    margin: 0 0 1rem;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

img {
    border-style: none;
    vertical-align: middle;
}

svg {
    vertical-align: middle;
    overflow: hidden;
}

label {
    display: inline-block;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

button,
input {
    overflow: visible;
}

button {
    border-radius: 0;
    border: none;
    background-color: transparent;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
    -moz-appearance: button;
         appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
    cursor: pointer;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
    overflow: auto;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: block;
    float: right;
    width: 100%;
    padding: 0;
    line-height: inherit;
    white-space: normal;
}

legend+* {
    clear: right;
}

[type="tel"],
[type="url"],
[type="email"],
[type="number"] {
    direction: ltr;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

details {
    display: block;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

template {
    display: none;
}

[hidden],
.hidden {
    display: none !important;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute !important;
    white-space: nowrap;
    word-wrap: normal !important;
}

@media (prefers-reduced-motion) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    :after,
    :before {
        -webkit-animation-duration: .01ms !important;
        animation-duration: .01ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

/* End reboot */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:not([tabindex="-1"]):focus {
	outline: 2px solid #21588C;
    outline-offset: 4px;
}

.pojo-a11y-toolbar-item,
.pojo-a11y-toolbar-title {
    margin: 0 !important;
}

#main:focus {
    outline: 0;
}

.c-box {
    max-width: 1400px;
    width: 100%;
    padding-right: 6rem !important;
    padding-left: 6rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.width-fit {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
}

.error-404 div {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    padding: 4em 4em;
    gap: 0.5em;
}

.req-asterisk {
	color: #B94A48;
}

.h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.h4,
.h5,
.h6 {
    margin-bottom: 1rem;
}

.heading-h1 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    gap: 1.2em;
    background-color: rgba(249.9, 249.9, 249.9, 0.9);
    border-radius: 12px;
    padding: 0.15em 1em;
    box-shadow: 0px 0px 0.5px 0.5px rgba(69.56, 95.15, 154.84, 0.6);
}

.heading-h1::before,
.heading-h1::after {
    content: " ";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #465F9B;
}

.heading-h1 .h1 {
    text-align: center;
    color: #465F9B;
    margin: 0;
}

.article-h1 {
    position: relative;
}

.article-h1::after {
    content: " ";
    display: block;
    height: 4px;
    width: 50px;
    margin-top: 0.25rem;
    background-color: rgba(69.56, 95.15, 154.84, 0.8);
}

.articles-links ul li a:hover,
.articles-links ul li a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.homepage-h1 {
	font-size: 2.25rem;
	font-weight: 700;
	color: #3E5489;
}

.homepage-h1 span {
	display: block;
	text-align: center;
}

.staff-heading {
    margin: 0 !important;
    padding: 0.4em 0;
}

#breadcrumb {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0.5em 1em;
    box-shadow: -2px 2px 1.5px -2px rgba(69.56, 95.15, 154.84, 0.6);
    border-radius: 0 0 0 12px;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.2);
}

#breadcrumb ul {
    list-style: none;
    margin: 0;
}

#breadcrumb ul li {
    display: inline-block;
    margin: 0;
}

#breadcrumb ul li::after {
    content: " / ";
    white-space: pre-wrap !important;
}

#breadcrumb ul li:last-child::after {
    content: " ";
    display: none;
}

#breadcrumb ul li[aria-current=page] {
    font-weight: 700;
}

#breadcrumb ul li a:hover,
#breadcrumb ul li a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.toc {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    box-shadow: 0px 0px 1.5px 1px rgba(69.56, 95.15, 154.84, 0.6);
    border-radius: 6px;
}

.toc ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    padding: 1em 2em 0 2em;
    margin: 0;
    list-style-type: none;
}

.toc ul li a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#toc-header {
    font-weight: 500;
    background-color: rgba(184.11, 205.33, 223.89, 0.8);
    padding: 0.25em 1em;
}

.cta-jump a:hover,
.cta-jump a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header-top {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    padding: 1em 0;
    gap: 4em;
    background-color: rgba(206.04, 222.36, 222.36, 0.88);
}

.header-bottom {
    display: none;
}

.clinic-name {
    position: relative;
}

.link-home:hover .clinic-name::after,
.link-home:focus .clinic-name::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 100%;
    background: #27666D;
    scale: 0.85 1;
}

.link-home:focus {
    border-radius: 6px;
}

.site-branding {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    padding: 0.5em 0.5em;
}

.site-logo {
    width: 100px;
}

.site-title {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    text-align: center;
}

.site-title> :first-child {
    font-size: 1.8rem;
    font-weight: 500;
    color: #016365;
    line-height: 1.2;
}

.site-title> :last-child {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    color: #20417E;
}

.contact-numbers {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    gap: 1.5em;
}

.clinic-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    gap: 0.5em;
    padding: 0.5em 1em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 20px;
    background-color: #3C5A72;
    color: #FFFFFF;
}

.clinic-num:focus {
    border-radius: 18px;
}

.clinic-num:hover .clinic-wrapper,
.clinic-num:focus .clinic-wrapper {
    outline: 4px solid #FFFFFF;
    outline-offset: -3px;
    box-shadow: inset 0px 0px 13px -1px #88A8C3;
    background-color: #27666D;
}

.whatsapp-wrapper {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.whatsapp-num:focus {
    border-radius: 50%;
}

.whatsapp-num:hover .whatsapp-wrapper,
.whatsapp-num:focus .whatsapp-wrapper {
    -webkit-transform: scale(1.20);
        -ms-transform: scale(1.20);
            transform: scale(1.20);
}

.primary-navigation {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    width: 100%;
    background-color: rgba(244.09, 244.09, 245.51, 0.4);
    border-bottom: 2px solid rgba(211.65, 211.65, 211.65, 0.2);
}

.nav-menu {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    gap: 1em;
    margin: 0;
    list-style: none;
}

.nav-menu li {
    position: relative;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 44px;
    padding: 0 1em;
    color: #141414;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    -webkit-text-decoration: underline;
            text-decoration: underline;
    text-underline-offset: 5px;
    background-color: #465F9B;
    color: #FFFFFF;
}

.nav-menu li a:focus {
    outline: 2px solid #465F9B;
    outline-offset: 2px;
}

.nav-menu li.current_page_item a::after {
    content: " ";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(69.56, 95.15, 154.84, 0.8);
}

.nav-menu li.current_page_item a {
    font-weight: 500;
}

.footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    padding: 1.5em 0;
    gap: 3em;
    background-color: rgba(244.09, 244.09, 245.51, 0.4);
    border-top: 2px solid rgba(211.65, 211.65, 211.65, 0.2);
}

.footer-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    min-height: 48px;
}

.footer-menu {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    gap: 1em;
    margin: 0;
    list-style: none;
}

.footer-menu li {
    margin: 0;
}

.footer-menu li a {
    color: #141414;
}

.footer-menu li a:hover,
.footer-menu li a:focus {
    -webkit-text-decoration: underline;
            text-decoration: underline;
    text-underline-offset: 5px;
}

.social-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    gap: 1em;
    margin: 0;
    list-style: none;
}

.social-list li {
    margin: 0;
}

.social-links {
    display: inline-block;
}

.social-links:hover,
.social-links:focus {
    -webkit-transform: scale(1.18);
        -ms-transform: scale(1.18);
            transform: scale(1.18);
    box-shadow: 0px 1px 5px -2px #808080;
    border-radius: 50%;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.social-links:hover svg,
.social-links:focus svg {
    fill: #465f9b;
}

@media (max-width: 1400px) {
    .c-box {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .c-box {
        max-width: 960px;
    }
}

@media (max-width: 992px) {

    .h1 {
        font-size: 2.5rem;
    }

    .h2 {
        font-size: 1.5rem;
    }

    .c-box {
        max-width: 720px;
        padding-right: 1em !important;
        padding-left: 1em !important;
    }

    .footer {
        padding: 1em 0;
    }

}

@media (max-width: 768px) {

    .header-top {
        -ms-flex-direction: column;
            flex-direction: column;
        gap: 1em;
    }

    .c-box {
        max-width: 540px;
    }

    .site-logo {
        width: 90px;
    }

    .site-title> :first-child {
        font-size: 1.6rem;
    }

    .site-title> :last-child {
        font-size: 1.2rem;
    }
	
	.homepage-h1 {
		font-size: 2rem;
	}

    .staff-heading {
        text-align: center;
    }
}

@media (max-width: 576px) {

    .h1 {
        font-size: 2rem;
    }

    .c-box {
        max-width: none;
    }
		
	.homepage-h1 {
		font-size: 1.5rem;
	}

    .primary-navigation {
        display: none;
    }

    .primary-navigation.nav-open {
        display: block;
    }

    .primary-navigation.nav-open .nav-menu {
        -ms-flex-direction: column;
            flex-direction: column;
        padding: 1em 0.5em;
        gap: 0.5em;
        border-bottom: 2px solid rgba(211.65, 211.65, 211.65, 0.2);
    }

    .primary-navigation.nav-open .nav-menu>li {
        width: 100%;
        border-radius: 16px;
    }

    .primary-navigation.nav-open .nav-menu>li>a {
        padding: 0.5em 0;
    }

    .primary-navigation.nav-open .nav-menu li.current_page_item a::before,
    .primary-navigation.nav-open .nav-menu li.current_page_item a::after {
        content: " ";
        display: block;
        position: relative;
        height: 32px;
        width: 4px;
        background-color: rgba(69.56, 95.15, 154.84, 0.8);
    }

    .primary-navigation.nav-open .nav-menu li.current_page_item a::before {
        margin-left: 0.8em;
    }

    .primary-navigation.nav-open .nav-menu li.current_page_item a::after {
        margin-right: 0.8em;
    }

    .header-bottom {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
            justify-content: center;
        -ms-flex-align: center;
            align-items: center;
        width: 100%;
        min-height: 44px;
        background-color: rgba(244.09, 244.09, 245.51, 0.4);
        border-bottom: 2px solid rgba(211.65, 211.65, 211.65, 0.2);
    }

    .mobile-nav-toggle {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
            justify-content: center;
        -ms-flex-align: center;
            align-items: center;
        padding: 0;
    }

}