/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
ul {
    margin-bottom: 24px;
}
/* Meny-innstillinger på desktop */
@media screen and (min-width: 1024px) {
/* Ikon: kjøre- og hviletid */
.menu-item-110 > a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("/wp-content/uploads/2025/09/truck-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
}

/* Ikon: kart og posisjon */
.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-109 > a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("/wp-content/uploads/2025/09/location-dot-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
  }

/* Ikon: flåteanalyse */
.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-193 > a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("/wp-content/uploads/2025/09/magnifying-glass-chart-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
  }
/* meny: flåtestyring */
.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-107 > a {
	font-weight: 400;
	font-size: 16px;
	}
/* meny: se alle */
.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-192 > a {
	color: #4C00FF;
}
/* border */
.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-112 > a {
	margin-top: 8px;
	display: block;
	border-top: 1px solid #75AAB3;
	padding-top: 16px;
}
}
/*Gradient tekst*/
.gradient-text {
  background: radial-gradient(circle, #F7993A, #4C00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For nyere nettlesere */
  color: transparent;
}

/*Gradient hover effekt beholdere*/
.gradient-container {
  position: relative;
  z-index: 1;
}

.gradient-container::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 4px; /* tykkelse på "rammen" */
  border-radius: 8px; /* match containerens radius */
  background: linear-gradient(90deg, #F3A947, #4C00FF);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0; /* skjult til hover */
}

.gradient-container:hover::before {
  opacity: 1;
}
/*Mobilmeny*/
@media (max-width: 767px) {
	a.elementor-sub-item {
    font-weight: 400 !important;
    font-size: 18px !important;
}
}
/*Multi-step-skjema*/
/* --- Fjern standard checkbox/radio i dette feltet --- */
#gform_fields_1 fieldset.gfield--type-image_choice input[type="checkbox"],
#gform_fields_1 fieldset.gfield--type-image_choice input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* --- Selve kortet (gchoice) skal være full bredde og ligge horisontalt --- */
.gform-theme--framework .gfield--type-image_choice .gchoice {
  flex: 1 1 100%;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  align-self: start;
  display: flex !important;
  align-items: center;
  gap: 12px;
  border: 2px solid#fff !important;
  box-shadow: none !important;
  border-radius: 8px !important; 
  padding: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* Hover: lillaramme */
.gform-theme--framework .gfield--type-image_choice .gchoice:hover {
  border: 2px solid #4C00FF !important;
}

/* Valgt – moderne nettlesere() */
.gform-theme--framework .gfield--type-image_choice .gchoice:has(input:checked) {
  border: 2px solid #4C00FF !important;
  background-color: #fff !important;
}

/* Valgt – fallback uten :has() */
.gform-theme--framework .gfield--type-image_choice input:checked + .gchoice {
  border: 2px solid #4C00FF !important;
  background-color: #fff !important;
}

/* Fjern standard “check”-badge */
.gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:where(:has(input:checked))::after {
  display: none !important;
}

/* --- Innhold i kortet: ikon + tekst side om side --- */
span.gfield-image-choice-wrapper-outer {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

/* Ikonet */
img#gchoice_image_1_4_1, img#gchoice_image_1_15_1, img#gchoice_image_1_17_1,
span.gfield-image-choice-wrapper-outer img {
  max-width: 45px !important;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Teksten (label) */
label#label_1_4_1, label#label_1_15_1, label#label_1_17_1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.gform-theme--api, .gform-theme--foundation {
    --gf-form-gap-y: 16px!important;
}

/* Inputfelt under kortet */
div#field_1_13, div#field_1_16, div#field_1_18 {
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
}
label.gfield_label.gform-field-label {
    font-size: 16px;
}
div#gfield_description_1_13, div#gfield_description_1_16, div#gfield_description_1_18 {
    font-size: 14px;
    color: #182a3e;
}

/*Knapper i skjema*/
input[id^="gform_next_button"] {
    background-color: #4C00FF !important;
    border-radius: 1px !important;
	font-size: 16px !important;
    font-weight: 600 !important;
}

/*Side for kontaktinformasjon i skjema*/
.gform_heading {
    display: none!important;
}
input#input_1_6, input#input_1_7, input#input_1_8, input#input_1_9, input#input_1_19 {
    height: 50px;
}
label#label_1_10_1 a {
    font-size: 14px !important;
}
label#label_1_10_1 {
    font-size: 14px;
}
span.gfield_required.gfield_required_asterisk {
    color: #FB8033;
}
input[id^="gform_previous_button"] {
    border: none !important;
    background-color: #126A78 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
	border-radius:0 !important;
}
.gform_wrapper .gform_button.button[type="submit"],
.gform_wrapper input[id^="gform_submit_button"] {
    background-color: #4C00FF !important;
    font-size: 16px !important;
    font-weight: 600 !important;
	border-radius:0 !important;
}
/*Hubspot knapp*/
.hsfc-Button {
    background-color: #4c00ff!important;
}
.hsfc-Button:hover {
    background-color: #4518D9!important;
}


/*Generell skjema*/
.gform_wrapper .ginput_container input:not([type="submit"]):not([type="button"]):not([type="image"]):not([type="checkbox"]),
.gform_wrapper .ginput_container select,
.gform_wrapper .ginput_container textarea {
  border-radius:0;
  height: 50px;
}

.gform_wrapper .gfield_checkbox input[type="checkbox"] {
	  border-radius:0;
}



/*sjekk liste skjema*/

/* ===== Base field styling ===== */

.sjekkliste-skjema .gfield.gquiz-field,
.sjekkliste-skjema .gfield.gfield--type-choice {
  /*background: white;
  border-radius: 8px;*/
  padding: 15px 0;
}


/* Question text */
.sjekkliste-skjema .gfield legend,
.sjekkliste-skjema .gfield .gfield_label {
	font-size: 18px;
}

/* Make all choices inline */
.sjekkliste-skjema .gfield_radio,
.sjekkliste-skjema .ginput_container_radio {
  display: inline !important;
}


/* Hide default radio circle */
.sjekkliste-skjema .gchoice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Style labels as buttons */
.sjekkliste-skjema .gchoice label {
  display: inline-block;
  padding: 8px 18px;
  width: 70px;
  text-align: center;
  border: 1px solid #062A30;
  background: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
	margin:0;
	font-size: 18px;
}

/* Hover */
.sjekkliste-skjema .gchoice label:hover {
  background: #062A30;
	color: #fff;
}

/* Active state */
.sjekkliste-skjema .gchoice input[type="radio"]:checked + label {
  background: #062A30;
  border-color: #062A30;
  color: #fff;
}

/* Keyboard focus */
.sjekkliste-skjema .gchoice input[type="radio"]:focus-visible + label {
  outline: 2px solid #062A30;
  outline-offset: 2px;
}

.sjekkliste-infobox {
  padding: 15px 12px;
  border: 0.5px solid #062A30;
  border-radius: 8px;
  color: #062A30 !important;
  font-size: 16px;
  margin-bottom: 23px;
}

.sjekkliste-infobox * {
    color: #062A30 !important;
}


/* Disable GF's flex layout on labels inside sjekkliste forms */
.sjekkliste-skjema .gform-field-label,
.sjekkliste-skjema legend.gform-field-label,
.sjekkliste-skjema .gfield_label {
  display: block !important;          /* undo flex */
  align-items: unset !important;
  flex-wrap: unset !important;
  gap: 0 !important;
}

.sjekkliste-skjema .gform-theme--foundation .gf_page_steps{
	gap: 0 !important;
}

