
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body{
    font-family: "Inter", sans-serif;
    font-weight: 300;
    color: #454545;
    background-color: #FAFAF8;
}

.content-area{
    min-height: 500px;
}

.content-area-sticky{
    margin-top: 110px;
}

.page-template-template-home-php .content-area{
    padding: 0;
}

/* Home Page Template */

/* Header - Main Menu */
body #page > header{
    background-color: #FAFAF8;   
}

header .secondary-menu{
    padding: 0.7rem 0;
    background-color: #1e71b8;
    color: #fff;
}

header .top-bar{
    padding: 1rem 0 1rem 0;
}

header p.site-title{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #000;
    font-weight: 600;
    margin: 0;
}

header p.site-title~span {
    color: #000;
}

header .top-bar .brand img {
    max-width: 230px;
    height: auto;
}

header .top-bar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fafaf8 !important;
    z-index: 500;
    
    /* Initial hidden state */
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none; /* Prevents clicking invisible menu */
    
    /* Smooth transition for slide and fade */
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.35s ease-in-out;
                
    box-shadow: -2px 6px 15px rgba(0, 0, 0, 0.06); /* Fixed vertical shadow direction */
}

/* Active state triggered when scrolling up */
header .top-bar-sticky.is-visible {
    opacity: 0.97;
    transform: translateY(0);
    pointer-events: auto;
}

header .top-bar-sticky .brand {
    padding: 0px 15px 0px 30px;
}

header .top-bar-sticky .brand img {
    max-width: 120px;
    height: auto;
}


.main-menu-wrapper {
    display: block;
    top:  40px;
    left: 40px;
    background-color: red;
    width: 80wv;
}

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.hero-content > section.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile and tablet */
@media (max-width: 991.98px) {
    .hero-content > section.container {
        justify-content: flex-end;
    }

    .hero-content .row {
        min-height: 700px !important;
    }

    .hero h1.display {
        font-size: 2.4rem;
        margin-bottom: 1rem ;
    }

    .hero-content .hero-text {
        padding-top: 20px;
        background-color: rgba(255, 255, 255, 0.7);
    }

}

.dropdown-item {
    font-weight: 300;
}

.burgermeny {
    background: transparent;
    border: none;
}
.burgermeny:focus {
    outline: none;
}

.image-zoom-container {
    overflow: hidden;
    position: relative;
    border-radius: 0.375rem 0.375rem 0 0;
}

.image-zoom-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.ansatt-wrapper:hover .image-zoom-container img {
    transform: scale(1.05);
}


/* General */

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.py-150 {
    padding-top: 150px;
    padding-bottom: 150px;
}

embed, iframe, object {
    max-width: 100%;
}

button, input, optgroup, select, textarea {
    background-color: #F6F6F6;
    padding: 5px 15px;
    border: 1px solid #e2e2e2;  
    max-width: 100%;  
}

a{
    color: #237E8C;
}

a:hover {
    color: #2A4C79;
}

p, ul li a, .nav-links a, .nav-links span{
    font-size: 1.03rem;
}

p {
    margin-bottom: 1.3rem;
}

ul, ol {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

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

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, .h1, .h2, .h3, .btn {
    font-family: "Lora", serif;
    font-weight: 200;
}

h1.display, .has-large-font-size {
    font-size: 3.052rem;
    line-height: 3.2rem;
}

h1 {
    font-size: 2.441rem;
    line-height: 3.3rem;
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.953rem;
    line-height: 1.8rem;
    margin-bottom: 1.3rem;
}

h3 {
    font-size: 1.563rem;
}

h4 {
    font-size: 1.2rem;
}

.single .content-area h2 {
    padding-top: 40px;
}

/* ==========================================================================
   Gutenberg Spacing & Typography Overrides (Block Theme Compatible)
   ========================================================================== */

/* Headings: Add more breathing room on top */
body:not(.home) :is(h1, h2, h3, h4, h5, h6).wp-block-heading {
  margin-top: 2.5em !important;
  margin-bottom: 0.55em !important;
  line-height: 1.3;
}

/* Paragraphs: Increase line height and spacing */
p.wp-block-paragraph {
  line-height: 1.4rem;
  margin-bottom: 1.5em !important;
}

/* Lists */
.wp-block-list {
  margin-top: 1em !important;
  margin-bottom: 1.5em !important;
}

.wp-block-list li {
  margin-bottom: 0.3em;
  line-height: 1.6;
}

/* General fallback for consecutive block spacing if needed */
.wp-block-heading + p.wp-block-paragraph {
  margin-top: 0.75em !important;
}

/* front page elements */

.top-image {
    height: 89vh;
    min-height: 500px;
    background-size: cover, cover;
    background-position: left, center;
    background-attachment: initial;
    background-repeat: no-repeat, no-repeat;
}

.accent-color {
    color: #5d8c8f;
}

.telefon a:link, 
.telefon a:visited {
	color: #4f9aa4;
}

.butikkmelding {
    border-radius: 20px;
}

.butikkmelding h2 {
    font-size: 1.25rem;
}

.ansatt h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.ansatt p {
    font-size: 0.8rem;
}

.home .behandlinger h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.home .behandlinger p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.intro-wrapper img{
    border-radius: 7px;
}

.fblink {
	line-height: 3.5rem;
}

.archive p {
	margin-bottom: 2px;
}

.leaf {
    display: block;
}

.leaf:before {
    content: "";
    display: inline-block;
    background-image: url('img/leaf.png');
    background-size: cover;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

/* kontakt side */

.kontakt-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.kontakt-info-item:last-child {
    margin-bottom: 0;
}

.kontakt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
}

.kontakt-info-item p,
.kontakt-info-item a {
    color: var(--kontakt-muted);
    line-height: 1.7;
}

.kontakt-map-wrapper {
    overflow: hidden;
    background: #fff;
}

.kontakt-map-wrapper iframe {
    display: block;
    width: 100%;
}

/* buttons */

.btn-primary, .wp-block-button__link{
    font-size: 1rem;
    font-weight: 300!important;
    background-color: #2A4C79!important;
    border: 0px;
    color: #fff;
    padding: 10px 40px;
    border-radius: 25px!important;
    transition: 0.5s;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:visited, .wp-block-button__link:hover {
    background-color: #74b9bf !important;
	color: #fff;
}

.btn-secondary, .gform_button {
    font-family: "Lora", serif!important;
    font-size: 1rem!important;
    background-color: #4F9AA4!important;
    font-weight: 300!important;
    border: 0px;
    color: #fff;
    padding: 10px 40px !important;
    border-radius: 25px !important;
    transition: 0.5s;
}

.btn-secondary:hover, .gform_button:hover {
    background-color: #74b9bf !important;
}

.btn-outline-secondary {
    border-color: #aaa;
    transition: 0.4s;
}

.btn-outline-secondary:hover {
    background-color: #4f9aa4;
    border-color: #4f9aa4;
}


.wp-block-button__link {
    margin-bottom: 20px;
}


/* behandlinger Slider */

.behandlinger-slider {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.behandlinger-slider img, .behandlinger-card-img {
    max-width: 100px;
    height: auto;
}

.behandlinger-slider .card, .behandlinger-slider .card a {
    color: #454545;
    text-decoration: none;
    transition: 0.4s;
}

.behandlinger-slider .card a:hover {
    color: #4f9aa4;

}

.behandlinger-slider .card:hover {
    transform: scale(1.04);
}

/* Skjul scrollbar for et renere design (valgfritt) */
.behandlinger-slider::-webkit-scrollbar {
    height: 4px;
}
.behandlinger-slider::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.behandlinger-slider .more-link-container, .behandlinger .more-link-container{
    display: none !important;
}

/* Responsiv bredde på kortene */
.behandlinger-card-col {
    scroll-snap-align: start;
    flex: 0 0 70%; /* Viser ~1.4 kort på veldig små skjermer */
}

@media (min-width: 480px) {
    .behandlinger-card-col {
        flex: 0 0 45%; /* Viser ~2.2 kort på mobil/små skjermer */
    }
}

@media (min-width: 768px) {
    .behandlinger-card-col {
        flex: 0 0 31%; /* Viser ~3.2 kort på nettbrett */
    }
}

@media (min-width: 992px) {
    .behandlinger-card-col {
        flex: 0 0 23%; /* Viser 4 kort på desktop */
    }
}

/* Styling av pil-knapper */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: #519ca5;
    color: #fff;
}

.arrow-left { left: -15px; }
.arrow-right { right: -15px; }

/* Frontend Product Lists */
.home main .section-title{
    position: relative;
    margin-bottom: 20px;
}

.home main .section-title::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1px;
    width: 100%;
    background: #ddd;
}

.home main .section-title h2{
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;    
    position: relative;
    display: inline-block;
    background: #fff;
    vertical-align: top;
    padding: 0 20px 0 0;
    margin: 40px 0px;
}

.home section.lab-blog{
    padding: 40px 0;
}

/* Prisliste – tannlege */

.produktpris {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px !important;
    padding: 18px 24px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #343a40;
    line-height: 1.5;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.produktpris:hover {
    border-color: #d5e2e7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

/* ansatte */

.ansatte a {
    text-decoration: none;
}

.ansatte a:hover {
    text-decoration: none;
}

.employee-card{
    padding: 0px;
}

.employee-single{
    background-color: #fff;
    border-radius: 10px;
}

.employee-card img {
    max-width: 150px;
    height: auto;
}


/* Kundeomtaler slider */
.kundeomtale-slider {
    max-width: 760px;
    width: 100%;
}

.kundeomtale-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    margin: 10px 35px 25px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kundeomtale-quote {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.8;
    color: #adb5bd;
}

.kundeomtale-card blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

h3.kundeomtale-navn{
    font-size: 1rem;
    font-weight: 300;
    color: #222;
}

/* Slider arrows */
.kundeomtale-slider .carousel-control-prev,
.kundeomtale-slider .carousel-control-next {
    width: 40px;
    opacity: 0.75;
}

.kundeomtale-slider .carousel-control-prev-icon,
.kundeomtale-slider .carousel-control-next-icon {
    background-color: #343a40;
    border-radius: 50%;
    background-size: 55%;
    width: 34px;
    height: 34px;
}

/* Mobile kundeomtaler*/
@media (max-width: 575.98px) {
    .kundeomtale-card {
        margin: 10px 25px 20px;
        padding: 25px 20px !important;
        min-height: 260px;
    }

    .kundeomtale-card blockquote {
        font-size: 1rem;
    }

    .kundeomtale-quote {
        font-size: 4rem;
    }
}


/* =========================
   BLOG PAGE
========================= */

.blog-page {
    --blog-accent: #496b57;
    --blog-text: #252925;
    --blog-muted: #6b726d;
    --blog-border: #e5e9e5;
    --blog-soft: #f6f8f6;
}

.blog-intro {
    max-width: 650px;
    margin: 0 auto;
    color: var(--blog-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Cards */
.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 12px;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
}

.blog-card .more-link-container {
    display: none;
}

.blog-card:hover {
    border-color: #cbd6cd;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

/* Categories */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.blog-category {
    display: inline-block;
    padding: 5px 10px 5px 0px;
    background: var(--blog-soft);
    border-radius: 4px;
    color: var(--blog-accent);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Titles */
.blog-card-title {
    margin-bottom: 14px;
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-card-title a {
    color: var(--blog-text);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--blog-accent);
}

/* Excerpt */
.blog-card-excerpt {
    margin-bottom: 20px;
    color: var(--blog-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.blog-card-excerpt p:last-child {
    margin-bottom: 0;
}

/* Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.blog-tag {
    color: var(--blog-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.blog-tag:hover {
    color: var(--blog-accent);
    text-decoration: underline;
}

/* Read more */
.blog-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--blog-border);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.blog-read-more span {
    transition: transform 0.2s ease;
}

.blog-read-more:hover span {
    transform: translateX(4px);
}

/* Pagination */
.blog-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--blog-border);
    border-radius: 6px;
    color: var(--blog-text);
    text-decoration: none;
}

.blog-pagination .current {
    background: var(--blog-accent);
    border-color: var(--blog-accent);
    color: #fff;
}

.blog-pagination a:hover {
    border-color: var(--blog-accent);
    color: var(--blog-accent);
}

/* Mobile */
@media (max-width: 575.98px) {
    .blog-card-content {
        padding: 22px;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .blog-intro {
        font-size: 1rem;
    }
}


/* Prisen */
.produktpris .float-right {
    float: none !important;
    flex-shrink: 0;
    font-weight: 600;
    color: #245c68;
    white-space: nowrap;
}

/* Mobil */
@media (max-width: 576px) {
    .produktpris {
        padding: 15px 18px !important;
        gap: 12px;
        font-size: 0.95rem;
    }
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #182b38;
    color: #d3dce1;
    line-height: 1.8;
}

.footer-main {
    padding: 70px 0 60px;
}

.footer-column {
    min-width: 0;
}

.footer-site-title:hover {
    color: #fff;
    opacity: 0.85;
}

.footer-heading {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #9fb6c2;
    content: "";
}

.footer-widget {
    margin-bottom: 18px;
}

.footer-widget p:last-child {
    margin-bottom: 0;
}

.footer-widget ul {
    padding-left: 18px;
}

.footer-widget a,
.footer-contact-item a,
.footer-contact-list a,
.footer-map-link {
    color: #d3dce1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-widget a:hover,
.footer-contact-item a:hover,
.footer-contact-list a:hover,
.footer-map-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-contact-item > i,
.footer-contact-list > li > i {
    width: 18px;
    margin-top: 6px;
    color: #a9c0cc;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}

/* Bottom bar */

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
    background: rgb(0 0 0 / 10%);
}

.footer-copyright {
    color: #aebdc5;
    font-size: 13px;
}

.footer-menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu-list a {
    color: #d3dce1;
    font-size: 13px;
    text-decoration: none;
}

.footer-menu-list a:hover {
    color: #fff;
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 45px 0 35px;
    }

    .footer-heading {
        margin-bottom: 18px;
    }

    .footer-menu-list {
        justify-content: flex-start;
    }
}


/* Blog and Archive Pages */
.blog article, 
.archive article{
    margin-bottom: 3rem;        
}

.blog article .title, 
.archive article .title{
    font-weight: 600;        
}

.blog article .meta, 
.archive article .meta{
    font-weight: 700;
    margin: 1rem 0;    
}

.archive-title{
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 1px solid #efefef;
    padding: 0 0 0.7rem 0;
    margin-bottom: 1rem;
}

.archive-title span{
    color: #b58e8e;
    font-weight: normal;
}

.blog .post-thumbnail,
.archive .post-thumbnail{
    margin: 1rem 0;
}

.nav-links{
    font-weight: 700;
}

.nav-links span,
.nav-links a{
    padding: 0.4rem;
}

/* Single */
.single header h1{
    font-weight: 200;
    font-size: 2.5rem;
	margin-left: -2.4px;
}

.single .post-thumbnail{
    margin: 1rem 0;
}

.comments-area{
    border-top: 1px solid #eee;
    padding: 1rem 0 2rem;
    margin-top: 2rem;    
}

.comment-form label{
    display: block;
}

.comment-form input[type="submit"]{
    background-color: #1e71b8;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 0.8em;
    display: inline-block;   
}


/*author pages */

.author-profile-card {
    background: #EBE9E8;
    border: 2px solid #ccc;
    padding: 25px;
    margin-bottom: 25px;
}
.author-photo {
    float: left;
    text-align: left;
    padding: 6px;
}

/* ── Rank Math FAQ Styling ── */

.rank-math-list {
    background: #f8fafa;
    border: 1px solid #e2e8e9;
    border-radius: 12px;
    padding: 8px 0;
    margin: 2rem 0;
}

.rank-math-list-item {
    padding: 20px 28px;
    border-bottom: 1px solid #e2e8e9;
}

.rank-math-list-item:last-child {
    border-bottom: none;
}

h3.rank-math-question {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    padding-left: 28px;
    position: relative;
}

h3.rank-math-question::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232F5D62'%3E%3Cpath fill-rule='evenodd' d='M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.rank-math-answer {
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.65;
}

.rank-math-answer p {
    margin: 0;
}

/* image manipulations */

.multiply {
    mix-blend-mode: multiply;
}

.behandling-image {
    max-width: 200px;
    height: auto;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.gallery-caption {
  display: block;
  font-size: 0.71111em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0.5rem;
}

/* Media Queries */

@media all and (max-width: 768px){
}

@media all and (max-width: 767px) {

    .footer-widgets .col-12{
        margin-bottom: 25px;
    } 

    .footer-widgets .col-12:last-child{
        margin-bottom: 0;
    } 

    .copyright-text{
        margin-bottom: 10px;
    }        

    .brand img{
        margin-bottom: 0px;
    }

    .main-menu{
        padding: 10px; 
        margin-top: 0px;
        padding-right: 20px;       
    }

    .main-menu ul li{   
        margin: 0;
    } 

    .main-menu .dropdown-menu{
        display: block;
        margin-left: 1rem;
    }

    .main-menu ul li .dropdown-menu .dropdown > a::before{
        display: inline-block;
        margin-right: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
        transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
    }

    .main-menu ul li .dropdown-menu .dropdown > a::after{
        display: none;
    }

    .main-menu .dropdown-menu .dropdown-menu{
        margin-left: 0;
    }

    .main-menu .dropdown-menu .dropdown-menu a{
        padding-left: 1rem;
    }

    .main-menu ul li a,
    .navbar-light .navbar-nav .nav-link{ 
        padding: 10px 0;
    } 

    .search input[type="search"]{
        width: 75px;
    }

    .slider-details-container{
        margin: 0 25px; 
        max-width: 400px;       
    }

    .slider-title h3 {
        font-size: 2em;
    }

    .slider-details-container .subtitle {
        font-size: 1em;
    }

    .slider-details-container a {
        padding: 0.5em;
    }

    .navbar-light {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0px;
    top:  0px;
    left: 0px;
    border-bottom: 1px solid #eee;
    z-index: 500;
    }

    .navbar-light img {
        display: block;
    }

    .navbar-collapse {
    margin-top: 50px;
    }

}

@media all and (max-width: 575px)  {

    header .top-bar .brand img {
        max-width: 180px;
        height: auto;
    }

    .wp-block-button__link, .btn {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .slider-details-container{
        max-width: 300px;        
    }

    .slider-details-container a {
        padding: 0.7em;
        font-size: 1em;
    }

    .flexslider img{
        height: 500px !important;
        object-fit: cover;
        object-position: center;
    }
	.content-area{
    padding: 3rem 0;    
	}
}
