/*
Theme Name: Karise fondens bestillingsside
Theme URI: https://wpastra.com/
Template: astra
Author: Kristoffer Lohse
Author URI: www.klohse.dk
Description: Vores bestillingsside giver dig mulighed for at støtte vores socialøkonomiske initiativer, hvor de unge udvikler deres færdigheder gennem praktisk arbejde. Her finder du håndlavede varer, der er skabt med omhu i et meningsfuldt og læringsfremmende miljø. Ved at handle hos os bidrager du direkte til at skabe muligheder for personlig vækst og udvikling.
Version: 4.6.14.1716180913
Updated: 2024-05-20 04:55:13

*/

:root {
    --primary-blue: #00a4c1; /* Blå farve valgt som root variable */
    --primary-purple: #7e398e;
    --primary-green: #80ba26;
}

.tshirt-sizes input:first-child {
    display: none;
}

.side-by-side-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.side-by-side-content > div {
  min-width: 300px;
}
.side-by-side-content > *:first-child {
    flex: 3;
}
.side-by-side-content > *:last-child {
    flex: 3;
}

.product-price h4 {
    font-size: 1.8rem;
    font-weight: bolder;
    color: #000000;
    padding: 2rem 0rem;
}
.product-price-single h4 {
    font-size: 1.8rem;
    font-weight: lighter;
    width: fit-content;
    border-radius: 0.5rem;
}

.product_description {
    overflow: hidden;
}

.ast-article-single img {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
    box-shadow: none;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
    color: var(--primary-purple);
}
.main-header-menu .menu-link, .main-header-menu>a {
    padding: 0;
    padding-left: 2rem;
}

form#tshirt-options-form h3 {
    font-size: 1.3rem;
    color: #000000;
    font-weight: normal;
}

.product-thumbnail {
    height: 190px;
    overflow: hidden;
}

.product_description h2 {
    font-size: 3rem;
    font-weight: normal;
    margin: 0;
    margin-bottom: 2rem;
}

label, legend {
    color: #000000;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.ordre-oversigt {
    display: flex;
    gap: 1rem;
    background: var(--primary-blue);
    padding: 1rem;
    width: fit-content;
    color: #ffffff;
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.ordre-oversigt h4 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
}

.ordre-oversigt span {
    font-weight: bolder;
    color: #ffffff;
    background: #0e91a8;
    padding: 0.5rem 1rem;
    border-radius: 0.2rem;
}
.size-button-container button, input.submit-order-btn {
    background: var(--primary-blue);

}

.kontaktoplysninger-top {
    display: flex;
    gap: 10px;
}
.kontaktoplysninger-top div {
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-gap: 10px;
}

.kontaktoplysninger-label-container.diverse {
    grid-template-columns: 1fr;
}

.tshirt-sizes {
    display: grid;
    gap: 1rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.3rem;
    flex-wrap: wrap;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    column-gap: 50px;
    row-gap: 10px;
}
.size-container {
    display: flex;
    gap: 0.3rem;
    width: 100%;
    justify-content: space-between;
}

.size-label-container {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    height: 100%;
    flex: 1;
}

.size-label-container label {
    width: 100%;
    min-width: 3rem;
    text-align: left;
}
.print-options {
    display: flex;
    gap: 2rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.3rem;
}

.kontaktoplysninger-inner input {
    box-shadow: none !important;
    border: none;
}

.print-options > div {
    flex: 1;
    background-color: #bedbe5;
    padding: 1rem;
    border-radius: 0.3rem;
}

.print-options h4{
   margin-top: 0;
}

.size-label-container input {
    border: none;
    background: #f2f2f2;
    height: inherit;
    max-width: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    padding: 0;
    text-align: center;
    justify-content: center;
}   

.size-button-container button {
    padding: 0px;
    width: 24px;
    height: 24px;
    margin: 0;
}

.size-button-container {
    gap: 0.3rem;
    display: flex;
    flex-direction: column;
}

.tillaeg-container label {
    display: flex;
    gap: 1rem;
}

.tillaeg-container input {
    border: none;
    background: #f2f2f2;
    height: inherit;
    max-width: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Custom style for the checkbox */
input[type="checkbox"] {
    width: 26px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-blue); /* Changes the color of the checkbox when checked */
    appearance: none; /* Removes default styling */
    background-color: #fff; /* Default background */
    border: 2px solid var(--primary-blue); /* Border color and thickness */
    border-radius: 4px; /* Rounded corners */
    position: relative;
    overflow: hidden;
}

input[type="checkbox"] {
    width: 1.6rem; /* Adjust width as desired */
    height: 1.6rem; /* Adjust height as desired */
    border: none;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    -webkit-appearance: none; /* Removes default styling */
    -moz-appearance: none; /* Removes default styling */
    appearance: none; /* Removes default styling */
    position: relative;
}

/* Checkmark style */
input[type="checkbox"]:checked::before {
    content: '✔'; /* Custom checkmark character */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem; /* Size of the checkmark */
    color: var(--primary-green); /* Color of the checkmark */
    background-color: #f2f2f2;
    width: 100%;
}

.tillaeg-container-inner {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: revert;
    justify-content: center;
}

input.submit-order-btn {
    width: fit-content;
    padding: 0.5rem 0;
}

form#tshirt-options-form {
    background: #bedbe5;
    padding: 2rem;
}

.kontaktoplysninger-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    background: #d3e5eb;
    padding: 1rem;
}

.kontaktoplysninger-inner > div {
    flex-wrap: wrap;
    width: 100%;
}

.diverse-input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    background: #d3e5eb;
    padding: 2rem;
}


input {
    border: 0 !important;
    box-shadow: none !important;
}

.kontaktoplysninger-label-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kontaktoplysninger {
    margin-top: 1rem;
}

#tshirt-options-form h2 {
    margin: 0;
    font-size: 2.3rem;
    font-weight: 700;
    margin-top: 1rem;
}


.uagb-post__image {
    height: 300px;
    overflow: hidden;
}

.print-options label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

#order-success-popup {
    max-width: 400px;
    border-radius: 8px;
}

#order-success-popup p {
    font-size: 16px;
    margin-bottom: 20px;
}

#order-success-popup button {
    background-color: var(--primary-blue);;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#order-success-popup button:hover {
    background-color: #2980b9;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.uagb-forms-input {
    border: none !important;
}


.product-item {
    background-color: #ffffff;
    padding: 15px;
    text-align: center;
    transition: all 0.1s ease;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 0.6rem;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transition: all 0.1s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.product-thumbnail img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.product-title {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: bold;
}

.product-button .button {
    background-color: var(--primary-green);
}

.product-button {
    margin-top: 1rem;
    margin-block-start: auto;
}

.product-item h4 {
    margin: 0;
    margin-top: 1rem;
}

.size-button-container button, input.submit-order-btn, .wp-block-button__link {
    background-color: var(--primary-green) !important;
    transition: 0.1s ease-in-out all;
}

.produkt-bestilling h4 {
    font-weight: bolder;
}
.product-price {
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    color: #000000;
}

.single .product-price {
    font-size: 1.5rem;
    color: var(--primary-purple);
    display: block;
    justify-content: center;
    gap: 0.3rem;
    font-weight: bolder;
    
}

button a {
    text-decoration: none !important;
}

.product-link span {
    color: white;
    text-decoration: none;
}

.product-link * {
    color: white;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.3rem 1rem;
    background: var(--primary-green);
    width: fit-content;
    border-radius: 0.3rem;
    text-decoration: none !important;
}
.product-link:hover {
    
    background: var(--primary-green);
}
.product-item * {
    text-decoration: none !important;
}

.product-price div:nth-child(1) {
    font-weight: lighter !important;
}

.product-price.product-price-single {
    background: none;
    border: none;
    box-shadow: none;
}

.site-content {
    flex-grow: 1;
    background: #ebf3ff;
}

a.custom-logo-link img {
    width: 180px;
}

.product-grid a {
    text-decoration: none;
}

.product-grid a:hover {
    text-decoration: underline; /* Hvis du ønsker underline ved hover */
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    background-color: transparent;
    height: 60px;
}

footer#colophon {
    background: #ffffff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    border-width: 0px;
  
}

footer#colophon * {
    color: var(--primary-purple);
}

div#content {
    padding-bottom: 2rem !important;
}

#ast-scroll-top {
    background-color: var(--primary-green);
    font-size: 15px;
}

.uagb-forms__outer-wrap .uagb-forms-success-message {
    padding: 0;
}


.post-password-required .entry-content {
    margin-top: 3rem;
}
.post-password-required .entry-content input {
    margin-top: 1rem;
}
.post-password-required .entry-content input[type="submit"] {
    background-color: var(--primary-green) !important;
}

.login #backtoblog {
    display: none !important;
}

/* Hide the default radio buttons */
.kontaktoplysninger-label-container input[type="radio"] {
    display: none;
}

/* Style the label to have the same appearance as the checkbox */
.kontaktoplysninger-label-container input[type="radio"] + label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
}


/* Style for the custom checkmark */
.checkmark {
    width: 1.6rem;
    height: 1.6rem;
    border: none;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue); /* Use the appropriate color variable */
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    margin-right: 8px;
    border-radius: 4px;
}

/* Add checkmark when the radio button is checked */
.kontaktoplysninger-label-container input[type="radio"]:checked + label .checkmark::before {
    content: '✔';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: var(--primary-green);
    background-color: #f2f2f2;
    width: 100%;
}

/* Style the label when the radio button is checked */
.kontaktoplysninger-label-container input[type="radio"]:checked + label {
    color: #333; /* Maintain the same text color */
}
.til-hvem-container {
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin-top: 1rem;
}

.til-hvem-inner {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    min-width: 180px;
    background: #bedbe5;
    padding: 1rem;
}

.til-hvem-inner > div {
    margin-bottom: -6px;
}

.user-input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    background: #d3e5eb;
    padding: 1rem;
    margin-top: 1rem;
}

.form-margin-bottom {
    margin-bottom: 1rem;
}