@font-face {
    font-family: 'CarlsbergLight';
    src: url('fonts/CarlsbergSans-Light.otf') format('opentype');
}

@font-face {
    font-family: 'CarlsbergBold';
    src: url('fonts/CarlsbergSans-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'CarlsbergItalic';
    src: url('fonts/CarlsbergSans-LightItalic.otf') format('opentype');
}

@font-face {
    font-family: 'Baskerville';
    src: url('fonts/LibreBaskerville.ttf') format('truetype');
}

a:link {
  color: #2a9d8f;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: #2a9d8f;
}

/* mouse over link */
a:hover {
  color: #2a9d8f;
}

/* selected link */
a:active {
  color: #2a9d8f;
}

::selection {
    color: white;
    background-color: #17B169;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2a9d8f;
    box-shadow: 0 0 5px rgba(42, 157, 143, 0.5);
}

body {
    height: 100%;
    font-family: "CarlsbergLight", sans-serif;
    margin: 0 0 20px 0;
    padding: 0;
    background-color: #e9edea;
}

h1, h2, h3, h4 {
    font-family: "CarlsbergBold", sans-serif;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    margin: 0;
    padding: 0;
}

.menu h3.ringnes-font {
    font-family: "Baskerville", sans-serif;
    font-weight: 700;
}

.header {
    font-size: 5rem;
    color: #2a9d8f;
}

.container {
    margin: 20px auto 0 auto;
    max-width: 1200px;
}

.login-container {
    margin: auto;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container h1 {
    margin: 10px;
}

.login-button {
    margin-top: 20px;
}

.centered {
    text-align: center;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.step {
    flex-grow: 1;
    text-align: center;
    font-size: 1rem;
    margin: 10px 10px;
    padding: 15px 10px 15px 45px;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.step::before {
    content: attr(data-step);
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: bold;
    color: #2a9d8f;
    background: white;
    border: 2px solid #2a9d8f;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step.active::before {
    background-color: #2a9d8f;
    color: white;
}

.step.active {
    background-color: #2a9d8f;
    color: white;
    transform: scale(1.1);
}

.dots {
    flex-grow: 0.5;
    border-bottom: 2px dotted #2a9d8f;
    height: 0;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.flag {
    flex-grow: 0;
    font-size: 2rem;
    color: #2a9d8f;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .step {
        font-size: 0.8rem;
    }
    
    .dots {
        display: none;
    }
}

@media (max-width: 600px) {
    .step {
        font-size: 0;
        padding-left: 0;
    }

    .step::before {
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.2rem;
    }
    
    .dots {
        display: none;
    }

}


.h1-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h1-icon i {
    font-size: 36px;
    color: #2a9d8f;
}

.h1-icon h1 {
    
    font-size: 24px;
    color: #333;
}

#map {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
}

.folder-section {
    margin-bottom: 40px;
}

.folder-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2a9d8f;
}

 details {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

summary {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    color: #fff;
    background: hsla(165, 89%, 31%, 1);

    background: linear-gradient(90deg, hsla(165, 89%, 31%, 1) 0%, hsla(161, 46%, 49%, 1) 100%);

    border-bottom: 1px solid #ccc;
}

.grid-container, .equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 15px;
}

.grid-item, .equipment-item {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #666;
}

.equipment-item {
    margin-bottom: 10px;
}

.amount-selector {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.amount-selector button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #e9e9e9;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

.amount-selector input {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.amount-selector button:focus,
.amount-selector input:focus {
    outline: none;
    border-color: #2a9d8f;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.grid-item h2, .equipment-item h2 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.grid-item h3 {
    margin: 0 0 10px;
    color: #333;
}

.grid-item p, .equipment-item p {
    margin: 5px 0;
    font-size: 16px;
    color: #666;
}

.grid-item .price, .equipment-item .price {
    font-size: 16px;
    font-weight: bold;
    color: #2a9d8f;
    margin-top: 10px;
}

.search-container {
    margin-bottom: 20px;
}

.results-container {
    margin-top: 10px;
}

.result-item {
    position: relative;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.result-item:hover {
    background-color: #f9f9f9;
    border-color: #2a9d8f;
}

.result-item::after {
    font-family: "Font Awesome 6 Pro";
    content: '\f0a9';
    font-weight: 400;
    font-size: 3em;
    color: #ccc;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s, content 0.3s;
}

.result-item:hover::after {
    content: "\f0a9";
    font-weight: 900;
    color: #2a9d8f;
}

input[type="text"] {
    padding: 8px;
    width: 300px;
}

.input-search-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-search-icon i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 16px;
    pointer-events: none;
}

.input-search-icon input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.step-container, .overview {
    margin-top: 10px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
}

#orderResults {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.results-container, .selected-container {
    margin-top: 10px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
}

.result-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.result-item:hover {
    background-color: #f1f1f1;
}

.cart-empty-icon {
    font-size: 3.5rem;
    color: #888;
    text-align: center;
    margin: 10px auto;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.nav-button, .confirm-address, .go-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #2a9d8f;
    border-radius: 25px;
    background-color: #f0f0f0;
    color: #2a9d8f;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-button:hover, .confirm-address:hover:enabled, go-back:hover {
    background-color: #2a9d8f;
    color: #ffffff;
    transform: scale(1.05);
}

.add-email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.4rem 0.5rem;
    border: 2px solid #2a9d8f;
    border-radius: 1rem;
    background-color: #f0f0f0;
    color: #2a9d8f;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.add-email-button:hover {
    background-color: #2a9d8f;
    color: #ffffff;
}

.remove-email-button:hover {
    background-color: red;
    color: #ffffff;
}

.cancel-button:hover {
    background-color: #9d2a2a;
}

.nav-button:active {
    transform: scale(0.95);
}

.cancel-button {
    border: 2px solid #9d2a2a;
    color: #9d2a2a;
}

.print-button {
    margin-top: 10px;
}

.cancel-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 10px;
    border: 2px solid #ffa500;
    border-radius: 25px;
    background-color: #f0f0f0;
    color: #ffa500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cancel-order-button:hover {
    background-color: #ffa500;
    color: #ffffff;
    transform: scale(1.05);
}

.cancel-button-wrapper {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
}

.confirm-address {
    display: block;
    margin: 0 auto;
}

.nav-button i {
    margin: 0 8px;
}

.prev-button::before {
    content: '\f0a8';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    margin-right: 8px;
}

.next-button::after {
    content: '\f0a9';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    margin-left: 8px;
}

.send-button::after {
    content: '\f1d8';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    margin-left: 8px;
}

.confirm-address::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    margin-right: 8px;
}

#confirmAddressButton:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.ct-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox] + label:before {
    font-family: "Font Awesome 6 Pro";
    font-size: 1.5rem;
    color: #2a9d8f;
}

input[type=checkbox] + label:before {
    content: "\f111";
    vertical-align: middle;
}

input[type=checkbox] + label:before {
    letter-spacing: 10px;
}

input[type=checkbox]:checked + label:before {
    content: "\f058";
    font-weight: 900;
}

input[type=checkbox]:checked + label:before {
    letter-spacing: 10px;
}

.prev-button {
    visibility: hidden;
}

#altDeliveryAddress {
    display: none;
}

.selected-container h3 {
    margin-bottom: 5px;
}

.selected-container label {
    display: block;
    margin: 5px 5px;
}

.selected-container input {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 5px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.generic-map {
    width: 100%;
    height: 150px;
    background-image: url("../images/genericmap.webp");
    background-size: cover;
    background-position: center;
    position: relative;
}

.generic-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.generic-map-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

input.error {
    border: 1px solid red;
    background-color: #ffe6e6;
}

.note {
    font-family: "CarlsbergItalic";
    color: #666;
    font-size: 16px;
}

.note span {
    margin-bottom: 50px;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    border-color: #666;
    cursor: not-allowed;
}

input[data-required="true"].missing {
    border: 2px solid orange;
    transition: background-color 0.3s, border-color 0.3s;
}

.icon-medium {
    font-size: 2.5rem;
}

.icon-large {
    font-size: 5rem;
}

.icon-massive {
    font-size: 10rem;
}

.warning-icon {
    color: orange;
}

.error-icon {
    color: red;
}

.party-icon {
    color: #2a9d8f;
}

.missing {
    border: 2px solid orange;
    border-radius: 8px;
}

.orders-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
}

.orders-container h1 {
    margin: 0;
}

.order, .orders {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f1f1f1;
}

.orders {
    flex: 1 1 550px;
    box-sizing: border-box;
    line-height: 1.6rem;
    margin-bottom: 0;
}

.order-header {
    display: flex;
    justify-content: space-between;
}

.order-left,
.order-right {
    width: 48%;
}

.order-left h3,
.order-right h3 {
    margin-bottom: 10px;
    color: #006633;
}

.order-left p,
.order-right p {
    margin: 5px 0;
}

.order-equipment {
    margin-top: 15px;
}

.order h3 {
    margin: 0 0 5px 0;
}

.landing-page {
    width: 100%;
    height: 100%;
    background: url(/images/hops.svg);
    background-color: #0c5a36;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#pagination-controls {
    margin: 20px 0;
    text-align: center;
}

#pagination-controls button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#pagination-controls button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.banner {
    width: 100%;
    background: linear-gradient(90deg, hsla(165, 89%, 31%, 1) 0%, hsla(161, 46%, 49%, 1) 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    color: #f9f9f9;
}

.banner h3 {
    font-family: "CarlsbergBold";
    font-size: 2rem;
    display: inline-block;
    margin: 0;
}

.banner p {
    color: #dddddd;
    margin: 5px 0;
}

.notice {
    font-family: "CarlsbergBold";
    color: #f9f9f9;
}

.banner nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
}

.icon-container {
    display: flex;
    font-size: 6rem;
    color: #00321e;
    align-items: center;
    justify-content: center;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    padding: 0;
}

.banner-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.banner-block {
    display: block;
}

.banner-right {
    display: flex;
}

.order.canceled, .orders.canceled {
    background-color: #f9ecd5;
    border-left: 5px solid #ffa500;
    opacity: 0.8;
    color: #444444;
}

.order.canceled h3, .orders.canceled h3 {
    color: #d9864f;
}

.canceled-notice {
    font-weight: bold;
    color: #d9864f;
}

.printed {
    background-color: #acefd0;
    border-left: 5px solid #17b169;
    opacity: 0.8;
}

button {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #2a9d8f;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    margin: 0.2rem 0.5rem;
}

button:hover {
    background-color: #2a9d8f;
    color: #fff;
    border: 1px solid #fff;
}

button i {
    margin-right: 10px;
}

.rel-pos {
    position: relative;
}

.tidbit {
    position: absolute;
    top: -0.9rem;
    right: 0.3rem;
    display: flex;
    gap: 0.2rem;
    z-index: 1;
}

.tidbit span {
    background-color: #fff;
    margin: 0 0.2rem;
    padding: 0.2rem 0.6rem;
    
    color: #000;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    border: 1px solid #2a9d8f;
    border-radius: 6px;
}

textarea {
    font-family: 'CarlsbergLight', sans-serif;
    font-size: 16px;
    padding: 0.5rem;
    border: 1px solid gray;
    border-radius: 8px;
}

select {
    margin: 0.3rem;
    padding: 0.3rem;
    font-family: 'CarlsbergLight', sans-serif;
    
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.radio-option label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.radio-option label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #555;
    border-radius: 50%;
    background-color: white;
}

.radio-option label::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    font-size: 16px;
    position: absolute;
    left: 0.25rem;
    top: 0.3rem;
    color: green;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.radio-option input[type="radio"]:checked + label::after {
    opacity: 1;
}

.radio-option input[type="radio"]:checked + label::before {
    border-color: green;
}

.info-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.info-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 400px;
    max-width: 1600px;
    max-height: 800px;
    text-align: center;
    position: relative;
    overflow: auto;
}

.eq-info-modal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.modal-left {
    flex: 1;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modal-left span {
    display: block;
    margin-bottom: 5px;
}

.modal-right {
    flex: 1;
    max-width: 70%;
    display: flex;
    justify-content: flex-end;
}

.modal-right img {
    max-width: 100%;
    max-height: 700px;
    height: auto;
    border-radius: 8px;
}

.info-modal-close {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 38px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
    background-color: #dedede;
    padding: 0.5rem;
    border-radius: 8px;
    z-index: 1001;
}

.info-modal-close:hover {
    color: #e60000;
}

.overall-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e6f4ea; /* soft green background */
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #2e7d32;
}

.overall-total i {
    font-size: 2.5rem;
    color: #2e7d32;
    margin-right: 15px;
}

.overall-total h3 {
    margin: 0;
    font-size: 1.3rem;
}

.overall-total p {
    margin: 0;
    font-size: 1.4rem;
    text-align: right;
    flex-grow: 1;
}

.dynamics-clr {
    color: #ec932d;
}

#orderResults .order {
    line-height: 200%;
}