/**
 * Theme Name: Metier
 * Template:   twentytwentyfive
 * ...other header fields
 */


@import url("megamenu.css");

@media (max-width: 640px) {
    .liftedimagebanner-image {
        display: none;
    }
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce-page div.product .images {
    pointer-events: none;
}

.woocommerce .cart .button {
    border-radius: 999px !important;
}

.hbspt-form {
    margin: 0 auto !important;
    color: #00205b !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.8em !important;
}

.hbspt-form .input {
    width: 100% !important;
}

.hbspt-form ul {
    list-style-type: none !important;
    padding-left: 0 !important;
}

.hs-input {
    box-sizing: border-box;
    font-size: 1rem !important;
    width: 100% !important;
    background: #fff !important;
    color: #00205b !important;
    padding: 1em!important;
    border: 0 !important;
}

.hs-input[type=checkbox] {
    width: unset!important;
}

.hs-button {
    background-color: #00205b!important;
    border-width: 0;
    color: #ffffff !important;
    font-family: var(--wp--preset--font-family--work-sans);
    font-size: var(--wp--preset--font-size--medium);
    line-height: inherit;
    padding-top: 1rem;
    padding-right: 2.25rem;
    padding-bottom: 1rem;
    padding-left: 2.25rem;
    text-decoration: none;
    cursor: pointer;
    border-radius: 9999px;
    box-shadow: none;
}

.hs-error-msgs li {
    list-style-type: none !important;
}

.hbspt-form a {
    color: #00205b;
    text-decoration: underline;
}

.hbspt-form .hs-error-msg {
    color: #804039;
}

.variations .value {
    display: flex;
}

/* felles for alle klammene */
.klamme::before {
    position: absolute;
    z-index: 5;
    display: block;
    height: 40%;
    aspect-ratio: 1 / 1;
    content: "";
    background-size: contain !important;
}
@media all and (max-width: 700px) {
    .klamme::before {
        display: none !important;
    }
}
/* velger riktig bakgrunnsbilde */
.klamme.lysgronn::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/klammelysgronn.png") 0 0 no-repeat;
}
.klamme.morkgronn::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/klammemorkgronn-e1676021012694.png") 0 0 no-repeat;
}
.klamme.lysbla::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/klammelysbla-e1676021023749.png") 0 0 no-repeat;
}
.klamme.morkbla::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/klammemorkbla-e1676021001833.png") 0 0 no-repeat;
}
.klamme.beige::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/Metier-Primary-Beige-e1677660300470.png") 0 0 no-repeat;
}
.klamme.hvit::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/Metier-Primary-White-e1677660328667.png") 0 0 no-repeat;
}
.klamme.metierbla::before {
    background: url("https://prince2no.kinsta.cloud/wp-content/uploads/2025/04/Metier-Primary-Blue-e1677660320254.png") 0 0 no-repeat;
}
/* plasserer bildene i riktig hjørne */
.klamme.bunn::before {
    bottom: 0;
}
.klamme.topp::before {
    top: 0;
}
.klamme.venstre::before {
    left: 0;
}
.klamme.hoyre::before {
    right: 0;
}
/* roterer bildene så de passer i hjørnet */
.klamme.bunn.hoyre::before {
    transform: rotate(90deg);
}
.klamme.bunn.venstre::before {
    transform: rotate(180deg);
}
.klamme.topp.venstre::before {
    transform: rotate(270deg);
}

@media (min-width: 768px) {
    .oracletabs {
        display: grid;
        grid-template-columns: 25% 75%;
        border: 0;
    }
}

.reference-section {
    font-family: 'Work Sans', sans-serif;
    color: #00205B;
    max-width: 100%;
    padding: 60px 20px;
    overflow-x: hidden;
    position: relative;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #00205B;
    background-color: transparent;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #00205B;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #00205B;
    color: #FFEAE4;
}

.slider-container {
    position: relative;
}

.scroll-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    max-width: 100%;
}

.references {
    display: flex;
    gap: 40px;
    padding-bottom: 10px;
    /*width: max-content;*/
    min-width: 100%;
}

.reference-card {
    flex: 0 0 650px;
    display: flex;
    flex-direction: row;
    height: 350px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.reference-card img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reference-text {
    width: 50%;
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reference-text h3 {
    font-size: 22px;
    color: #00205B;
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: 300;
}

.reference-text p {
    font-size: 18px;
    color: #00205B;
    line-height: 1.5;
    /*flex-grow: 1;*/
    margin-bottom: 40px;
}

.reference-text a {
    font-size: 18px;
    color: #00205B;
    text-decoration: underline;
    font-weight: 300;
    /*
    position: absolute;
    bottom: 20px;
    right: 20px;
    */
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00205B;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: opacity 0.3s ease;
}

.nav-arrow svg {
    stroke: #FFEAE4;
}

.nav-arrow.disabled {
    opacity: 0;
    pointer-events: none;
}

.nav-left {
    left: -10px;
}

.nav-right {
    right: -10px;
}

.nav-arrow:hover {
    background-color: #001743;
}

.all-link {
    text-align: right;
    margin-top: 30px;
}

.all-link a {
    color: #00205B;
    font-size: 16px;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.all-link a:hover {
    border-color: #00205B;
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .reference-section {
        padding: 0;
    }

    .references {
        display: block;
    }

    .reference-card {
        flex-direction: column;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        background-color: unset;
    }

    .reference-card img {
        width: 100%;
        height: 200px;
    }

    .reference-text {
        width: 100%;
        height: auto;
        padding-left: 0px;
        padding-right: 0px;
    }

    .reference-text a {
        bottom: 20px;
        right: 20px;
    }

    .nav-arrow {
        display: none;
    }

    .all-link {
        text-align: left;
    }
}

.no-block-margin-top {
    margin-block-start: 0 !important;
}

.prince2-container {
    width: 100%;
    height: 100%;
    background: white;
    overflow: hidden;
    display: flex;
}

.prince2-tabs-container {
    display: flex;
    flex-direction: column;
    width: 30%;
    background-color: #fff;
    border-right: 1px solid #ccc;
}

.prince2-tab {
    align-items: center;
    padding: 30px 20px;
    cursor: pointer;
    font-weight: normal;
    text-align: left;
    transition: background-color 0.3s, border-bottom 0.3s;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
}

.prince2-tab:hover {
    background-color: #e0e0e0;
}

.prince2-tab:last-child {
    border-bottom: none;
}

.prince2-tab.active {
    /*background-color: #F0F1F5;*/
    color: #00205b;
    border-bottom: 5px solid #00205b;
}

.prince2-content {
    width: 70%;
    background-color: #F0F1F5;
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px 20px;
}

.prince2-content p, .prince2-content h2, .prince2-content h3, .prince2-content h4 {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0;
    font-weight: 300;
}

.prince2-content li {
    font-weight: 300 !important;
}

.prince2-section {
    display: none;
    flex-direction: column;
}

.prince2-section.active {
    display: flex;
}

.prince2-header-container {
    position: relative;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #ccc;
    min-height: 200px;
}

.prince2-header-container h3 {
    margin: 0;
    font-size: 40px;
    color: #ffeae4;
    padding-top: 200px;
}

.prince2-header-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.prince2-header-container * {
    position: relative;
    z-index: 2;
}

.prince2-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
}

.prince2-button {
    display: inline-block; /* prevent full width, shrink to fit content */
    width: auto;           /* ensure width adapts to content */
    white-space: nowrap;   /* prevent text wrapping inside the button */
    padding: 10px 20px;    /* keep your existing padding */
    text-align: center;    /* center text inside button */
}

@media (max-width: 768px) {
    .prince2-container {
        flex-direction: columns;
        height: auto; /* let it grow naturally on small screens */
    }

    .prince2-tabs-container {
        display: none !important;

        flex-direction: row;
        width: 100%;
        height: auto; /* auto height when horizontal */
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    .prince2-section {
        display: flex !important;
    }

    .prince2-tab {
        text-align: center;
        border-bottom: none;
        border-right: 1px solid #ccc;
        flex-grow: 0;
        padding: 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .prince2-tab:last-child {
        border-right: none;
    }

    .prince2-content {
        width: 100%;
    }

    .prince2-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.kursholder {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 30px;
}
.kursholder-info h4 {
    margin-top: 30px;
}
.kursholder-info p {
    margin-top: 0;
}
.kursholder-image {
    flex: 0 0 120px;
    padding-top: 30px;
}
.kursholder-image img {
    border-radius: 100px;
}
.circles {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px;
}
.circle {
    text-align: center;
    font-weight: 500;
}
.circle img:not(.pr2) {
    height: 50px;
    width: 50px;
    background: #C5F9DA;
    border-radius: 100px;
    padding: 20px;
}

.commentlist {
    padding-left: 0;
}

.comment-text {
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    .circles {
        display: block;
        padding: 0;
    }

    .kursholder {
        flex-direction: column-reverse;
        gap: 0;
    }
    .kursholder-image {
        flex: 0;
    }
    .kursholder-image img {
        float: left !important;
    }
}