/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

@font-face {
    font-family: Libby;
    src: url(../fonts/libby/libbyregular.ttf);
}

body {
    /*background: url(../images/hexellence.png);*/
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Merriweather';
}

p,
div>span {
    font-family: 'Open sans';
}

.parallax-container {
    min-height: 450px;
    line-height: 0;
    height: auto;
    color: rgba(255, 255, 255, .9);
    position: relative;
    overflow: hidden;
}

.parallax-container .section {
    width: 100%;
    position: relative;
    z-index: 2;
}

.parallax {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.parallax img {
    opacity: 1;
    position: absolute;
    left: 50%;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
}

@media only screen and (max-width : 992px) {
    .parallax-container .section {
        position: relative;
        top: 40%;
    }

    #index-banner .section {
        top: 10%;
    }
}

@media only screen and (max-width : 600px) {
    #index-banner .section {
        top: 0;
    }
}

#map {
    width: 100%;
    height: 600px;
    background-color: grey;
}

.maps-info-box {
    width: 280px;
}

.maps-info-box-card-action a {
    padding-right: 15px;
    padding-left: 15px;
}

@media only screen and (max-width : 600px) {
    .maps-info-box {
        width: 230px;
    }

    .maps-info-box-card-action a {
        padding-right: 8px;
        padding-left: 8px;
    }
}



.infowindowtable td,
.infowindowtable th {
    padding: 0;
    font-weight: 400;
}

.icon-block {
    padding: 0 15px;
}

.icon-block .material-icons {
    font-size: inherit;
    color: #2e4052;
}

.icon-block a:hover {
    color: red;
    transition: color 0.1s
}

.icon-block img {
    max-width: 200px;
}

.process-card {
    background: rgba(46, 64, 82, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    position: relative;
    height: 100%;
}

.row:has(.process-card) {
    display: flex;
    flex-wrap: wrap;
}

.col:has(.process-card) {
    margin-bottom: 20px;
}

.process-card-icon {
    margin: 0 auto 1.5rem;
    background: #2e4052 !important;
    width: 56px !important;
    height: 56px !important;
}

.process-card-icon span {
    color: #fdcfab;
    font-size: 1.5rem;
    font-weight: 600;
}

.process-card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    min-height: 48px;
}

.process-card-content {
    margin: 0;
    line-height: 1.6;
}

.process-card-chevron {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fdcfab;
}

.information-card {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: rgba(46, 64, 82, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
}

.nav-color {
    /* background-color: #2E4052; */
    background-color: #fff;
}

nav .nav-wrapper form,
nav .nav-wrapper form .input-field {
    height: 100%;
    width: 50%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    max-height: 40px !important;
}

#nav-ul li a {
    /* color:#fdcfab !important; */
    color: #475569;
    font-family: "Open Sans";
    font-size: 14px;
    letter-spacing: 4px;
}

#nav-ul li a i {
    height: inherit;
}

nav.nav-center ul {
    text-align: center;
}

nav.nav-center ul li {
    display: inline;
    float: none;
}

nav.nav-center ul li a {
    display: inline-block;
}

nav a {
    font-family: "Open Sans";
    color: #475569;
}

.nav-cta {
    background-color: #fdcfab;
    color: #2e4052 !important;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 2px 2rem;
    height: 40px;
    border-radius: 27px;
    transition: all 0.3s ease;
    margin-right: 0 !important;
}

.nav-cta i {
    height: 0 !important;
}

#nav-mobile li:has(.nav-cta) {
    display: flex;
    justify-content: center;
}

#nav-mobile .nav-cta {
    width: 80%;
    margin-left: 0 !important;
}

.nav-cta:hover{
    background-color: #e6ae80;
}

input[type="search"] {
    height: 64px !important;
    /* or height of nav */
    width: 200px !important;
}

.tabs .indicator {
    background-color: red;
}

.tabs li a {
    color: black !important;
}

.marker {
    position: absolute;
}

.diamond {
    color: #eee;
    font-size: 20px;
    font-weight: bold;
    background: #af011b;
    text-align: center;
    cursor: move;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.damageinfo {
    background-color: #0f172a;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.damageinfo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fdcfab;
    opacity: 0.2;
}

.damageitem {
    background-color: #1e293b;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.damageitem:hover {
    background-color: #334155;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.damageitem:last-child {
    margin-bottom: 0;
}

.damage-title {
    font-weight: bold;
    color: #fdcfab;
    font-size: 1.1em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.damage-title i {
    color: #fdcfab;
}

.damage-divider {
    margin-top: 20px;
    background-color: rgba(253, 207, 171, 0.2);
    height: 1px !important;
    border-bottom: none;
}

.nodamage {
    border: 2px dashed rgba(253, 207, 171, 0.3);
    color: #fdcfab;
    text-align: center;
    position: relative;
    padding: 30px;
    margin: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 30px;
}

.nodamage i {
    margin-bottom: 15px;
    opacity: 0.8;
    display: block;
}

.nodamage p {
    margin: 0;
    font-size: 1.1em;
}

.action-buttons {
    margin: 30px 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

.damageitem>.input-field {
    position: unset !important;
}

.damageitem>.input-field>.select-wrapper {
    position: unset !important;
}

.damageitem .input-field {
    margin-bottom: 15px;
}

.damageitem .input-field:last-child {
    margin-bottom: 0;
}

.damageitem .damage-textarea {
    color: white;
    height: 1rem;
}

.remove {
    position: static;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
}

.remove .circle {
    width: 36px;
    height: 36px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    transition: background 0.2s;
}

.remove:hover .circle {
    background: rgba(175, 1, 27, 0.12);
}

#remove-damage-circle {
    color: #eee;
}

#remove-damage-times {
    color: #2e4058;
}

.number {
    font-family: 'FrutigerLTPro-Black', arial, helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    text-align: center;
    width: 40px;
    float: left;
    height: 90px;
    top: 0;
    left: 0;
    line-height: 90px;
    position: absolute;
}

.files {
    width: 0;
    height: 0;
    overflow: hidden;
}

.file-field {
    display: block;
    margin-bottom: 10px;
}

.file-field .btn {
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 1rem !important;
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 10px !important;
}

.file-field input[type=file] {
    position: absolute !important;
    top: 0 !important;
    left: unset !important;
    width: unset !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

.fileBtn {
    background-color: #3b82f6 !important;
    transition: all 0.3s ease;
}

.fileBtn:hover {
    background-color: #2563eb !important;
}

#sjekkpris-button {
    background-color: #019e19;
    font-weight: bold;
    color: white;
    font-size: 22px;
}

#sjekkpris-button:hover {
    background-color: #00650f;
}

.neste-button,
.send-button {
    box-shadow: 0 2px 2px 0 rgb(15, 17, 18), 0 1px 5px 0 rgb(76, 79, 81), 0 3px 1px -2px rgb(15, 17, 18) !important;
    background-color: #fdcfab;
    color: #2e4058 !important;
}

.neste-button:hover,
.send-button:hover {
    background-color: #ff9e52;
}

.info {
    line-height: 30px;
    height: 30px;
    opacity: 0.5;
    display: inline-block;
    margin-left: 10px;
}

.damagecomment {
    background-color: white;
    border: 2px solid #ddd;
    clear: both;
    display: block;
    height: 85px;
    margin: 15px 0 0;
    padding: 10px;
    resize: none;
    width: 100%;
}

.file-path {
    color: #eee;
    border-bottom: none !important;
}

.divider {
    margin-top: 20;
    background-color: #fdcfab;
    height: 2px !important;
}

.pricecheck-header {
    padding: 50px 0;
    background-image: url(../images/car-b-min.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    transition: all ease 1s;
    -webkit-transition: all ease 1s;
    -moz-transition: all ease 1s;
    -o-transition: all ease 1s;
}

.input-field label,
.input-field i {
    color: #fdcfab;
}

.input-field input {
    color: #eee;
}

.contact-color {
    background: #2E4058;
}

#carplate {
    border: 3px solid #3A3A3B;
    background: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    width: 300px;
    margin: 3rem 0;
    height: 80px;
    display: inline-block;
    position: relative;
    top: 0;
    transition: all ease 1s;
    -webkit-transition: all ease 1s;
    -moz-transition: all ease 1s;
    -o-transition: all ease 1s;
    -moz-box-shadow: 0 8px 10px rgba(0, 0, 0, 0.39);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.39);
}

#carplate .graphic {
    width: 36px;
    background: #13358E url(../images/plate-flag.png) no-repeat center center;
    background-size: 70% auto;
    position: absolute;
    height: 100%;
    margin-right: 15px;
}

#carplate .input {
    float: left;
    padding: 10px 0 10px 36px;
}

#carplate input {
    color: black;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: none;
}

.footer-url {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-url:hover {
    text-decoration: dotted;
    color: tomato;
    transition: color 0.2s;
}

.footer-facebook,
.footer-instagram,
.footer-twitter,
.footer-snapchat,
.footer-facebook:hover,
.footer-instagram:hover,
.footer-twitter:hover,
.footer-snapchat:hover {
    transition: color 0.33s;
}

.footer-facebook:hover {
    color: #3b5998 !important;
}

.footer-instagram:hover {
    color: #E1306C !important;
}

.footer-twitter:hover {
    color: #08a0e9 !important;
}

.footer-snapchat:hover {
    color: #FFFC00 !important;
}

.footer-company {
    font-family: "Open Sans";
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: bold;
}

.image-preview-container {
    display: block;
    margin-top: 10px;
    padding: 5px;
    width: 100%;
    text-align: left;
    clear: both;
}

.image-preview-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: visible;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-block;
    vertical-align: top;
}

.image-preview-wrapper:nth-child(3n+1) {
    margin-left: 0;
}

.image-preview-wrapper:nth-child(3n) {
    margin-right: 0;
}

.image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    overflow: hidden;
}

.remove-image {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 28px !important;
    height: 28px !important;
    background-color: #af011b !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: white !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.remove-image:hover {
    background-color: #8b0016 !important;
}

#remove-damage-circle {
    color: #af011b !important;
}

.remove-image:hover #remove-damage-circle {
    color: #8b0016 !important;
}

#remove-damage-times {
    color: white !important;
}

.browser-default {
    background-color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    /*color: white !important;*/
    padding: 8px !important;
}

.browser-default:focus {
    border-color: #4a6572 !important;
    box-shadow: 0 1px 0 0 #4a6572 !important;
}

.file-path-wrapper {
    display: none !important;
}

.file-path {
    color: white !important;
}

.file-path::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.remove-damage-item {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    width: 28px !important;
    height: 28px !important;
    background-color: #af011b !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: white !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.remove-damage-item:hover {
    background-color: #8b0016 !important;
}

.damage-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
    padding-right: 0;
}

.damage-title {
    font-weight: bold;
    color: #eee;
    font-size: 1.1em;
    line-height: 1.2;
}

.remove-damage-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #f87171;
    font-size: 1.5em;
    transition: color 0.2s;
}

.remove-damage-btn:hover,
.remove-damage-btn:focus {
    color: #8b0016;
    background: rgba(175, 1, 27, 0.08);
    border-radius: 50%;
}

/* --- Car Info Section --- */
/* ... remove all styles for .car-info-container, .car-header, .car-icon, .car-icon i, .car-details, .car-details h4, .car-details p, .damage-instructions, .damage-instructions i, .damage-instructions p, and the related media query ... */
.car-icon-fa {
    color: #fdcfab !important;
}

.car-info-container {
    margin-bottom: 2.5rem;
}

.circle {
    background: #2e4052;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    min-width: 36px;
    min-height: 36px;
    max-width: 64px;
    max-height: 64px;
    aspect-ratio: 1/1;
}

@media (max-width: 600px) {
    .circle {
        width: 36px;
        height: 36px;
        min-width: 28px;
        min-height: 28px;
        max-width: 48px;
        max-height: 48px;
    }
}

.damage-instructions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 2.5rem;
    border-left: 4px solid #2e4052;
    margin-left: 0.2rem;
}

.damage-instructions .info-icon {
    color: #2e4052;
    font-size: 1.2rem;
    margin-right: 0.7rem;
    flex-shrink: 0;
}

.damage-instructions .info-text {
    color: #2e4052;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .damage-instructions {
        padding: 1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 600px) {
    .damagecondition {
        margin-right: 0 !important;
        margin-bottom: 3rem !important;
    }
}

@media only screen and (max-width: 600px) {
    #carplate {
        width: 280px;
        margin: 1.5rem auto;
        height: 70px;
    }

    #carplate input {
        font-size: 32px;
        height: 45px;
    }

    #carplate .graphic {
        width: 32px;
    }

    .hero-section {
        padding: 3rem 0 !important;
    }

    .hero-section h3 {
        font-size: 2rem !important;
        margin-bottom: 2.5rem !important;
    }

    .hero-section h5 {
        font-size: 1.2rem !important;
        margin-bottom: 2rem !important;
    }
}