/*--css koder til alle formular container--*/

/* Fjern menu på praktiskinfo siden */

.page-id-128 #wpfm-floating-menu-nav {
  display: none;
}

/* TIL TOPPEN AF SIDEN */

/*
input[type=radio]:checked:before, input[type=checkbox]:checked:before {
  width:auto !important;
  float:none;
   margin: 4px;
}*/

#wpfront-scroll-top-container {
  display: none !important;
}

#nf-field-49,
#nf-field-80,
#nf-field-116,
#nf-field-139,
#nf-field-140,
#nf-field-141,
#nf-field-142,
#nf-field-81,
#nf-field-144,
#nf-field-145,
#nf-field-146,
#nf-field-153 {
  background-color: white;
}

.nf-form-cont .five-sixths,
.nf-form-cont .four-sixths,
.nf-form-cont .one-fourth,
.nf-form-cont .one-half,
.nf-form-cont .one-sixth,
.nf-form-cont .one-third,
.nf-form-cont .three-fourths,
.nf-form-cont .three-sixths,
.nf-form-cont .two-fourths,
.nf-form-cont .two-sixths,
.nf-form-cont .two-thirds {
  clear: none;
  float: left;
  margin-left: 2.564102564102564%;
  height: 70px;
}

.valggruppe_01 {
  font-family: Roboto;
  font-weight: 500;
  color: white;
  border: 1px solid #05646d;
  padding: 20px;
  background-color: #67a9c4;
}

.samtykke {
  font-family: Roboto;
  font-weight: 500;
  color: white;
  max-width: 400px;
  border-top: 1px dotted #05646d;
  border-bottom: 1px dotted #05646d;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 0px;
  border-radius: 2px;
}

.samtykke a:link {
  color: #13aff0;
}

.samtykke a:visited {
  color: #13aff0;
}

.samtykke a:hover {
  color: #60eed2;
}

.samtykke a:active {
  color: #13aff0;
}

.valggruppe_02 {
  font-family: Roboto;
  font-weight: 500;
  color: white;
  border: 1px solid #05646d;
  padding: 20px;
  background-color: #b15852;
  margin: auto;
}

.valggruppe_03 {
  font-family: Roboto;
  font-weight: 500;
  color: white;
  border: 1px solid #05646d;
  padding: 20px;
  background-color: #a3ba68;
  margin: auto;
}

.valggruppe_04 {
  font-family: Roboto;
  font-weight: 500;
  color: white;
  border: 1px solid #05646d;
  padding: 20px;
  background-color: #7c66a0;
  margin: auto;
}

/*--css koder til selv formular designet--*/

.skolehjem .list-radio-wrap .nf-field-element li label {
  margin-left: 2.7em;
}

/*
.skolehjem .list-radio-wrap .nf-field-element li label {
  display: block;
  float: none;
  width: auto;
  margin-left: 2.7em;
  margin-top: 1em;
  color: white;
}
*/

/*
.skolehjem .elementor-95 .elementor-element.elementor-element-417bef2 .eael-custom-radio-checkbox input[type="checkbox"],
.elementor-95 .elementor-element.elementor-element-417bef2 .eael-custom-radio-checkbox input[type="radio"] {
  
  width: 24px !important;
  height: 24px;

  border-width: 2px;
  border-color: #ffffff;
  margin: 2px;
}
*/

.list-checkbox-wrap .nf-field-element li input,
.list-radio-wrap .nf-field-element li input {
  width: auto !important;
  float: left;
  margin-top: 0 !important;
}

.field-wrap > div input[type=checkbox] {
  height: 17px;
  width: 17px !important;
}

input[type=checkbox]:checked:before {
  /*margin-bottom: -1px; */
  color: #05646d;
  background: #ddd;
}

/*--CSS koder for desktop--*/

@media screen and (min-width: 60em) {
  #menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-95 current_page_item menu-item-131 {
    display: none;
  }

  .fa {
    /*display: inline-block;*/
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  input[type=checkbox]:checked:before {
    display: inline-block;
    vertical-align: middle;
    font-family: 'FontAwesome';
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  table {
    border: 1px solid #ffffff;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  table tr th:first-child,
  table tr td:first-child {
    padding-left: 5px !important;
  }

  table tr th:last-child,
  table tr td:last-child {
    padding-left: 5px !important;
  }

  table td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ffffff;
  }

  thead {
    display: table-header-group;
  }

  table th,
  table td {
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ffffff;
  }

  thead th:not(:last-child) {
    border-right: 1px solid #ffffff;
  }

  tr td {
    border-right: 1px solid #ffffff;
  }

  tr {
    display: table-row;
  }

  td {
    display: table-cell;
    padding: 0.2em;
  }

  td:before {
    display: none;
  }

  tbody td:not(:last-child) {
    border-bottom: none;
  }

  .nf-response-msg {
    font-size: 24px;
    color: #06656e;
  }

  .elementor-element-b1de1fc div.elementor-widget-container div.elementor-text-editor p span {
    display: block;
    text-align: center;
    color: #06656e!important;
  }
}

/*--css koder tabel til mobil--*/

@media (max-width: 767px) {
  #elementor .elementor-element-417bef2 .eael-ninja-form .nf-field .nf-field-description {
    font-size: 0.9em;
  }

  #elementor .elementor-element-417bef2 .eael-ninja-form .nf-error-wrap .nf-error-required-error {
    display: block !important;
    font-size: 0.9em;
  }

  #elementor .elementor-element-417bef2 .eael-ninja-form .nf-field-label label {
    font-size: 0.9em;
  }

  .elementor-95 .elementor-element.elementor-element-417bef2 .eael-ninja-form .nf-field-label label {
    font-size: 0.9em;
  }

  .nf-field-label label {
    font-size: 12px !important;
  }

  .eael-custom-radio-checkbox input[type=checkbox],
  .eael-custom-radio-checkbox input[type=radio] {
    /*-webkit-appearance: none;*/
    -moz-appearance: none;
    border-style: solid;
    border-width: 0;
    outline: none;
    min-width: 1px;
    width: 15px;
    height: 15px;
  }
}

@media only screen and (max-width: 480px) {
  table {
    border-collapse: collapse;
    min-width: 200px;
  }

  input[type=radio]:checked:before,
  input[type=checkbox]:checked:before {
    width: auto !important;
    float: none;
    /*  margin: 1px;*/
  }

  table th,
  table td {
    padding: 5px;
    text-align: left;
    vertical-align: top;
    line-height: 1.2em;
    border-bottom: 1px solid #ffffff;
  }

  thead {
    display: none;
  }

  tr {
    display: block;
    font-size: 2vw;
    line-height: 2vw;
  }

  td {
    display: block;
    padding-left: 40% !important;
  }

  td:nth-child(1) span.hoejrecelle {
    margin-top: -23px!important;
    height: 5em;
    margin-bottom: 10px;
  }

  td:nth-child(1):before {
    padding-bottom: 3px;
  }

  td:before {
    content: attr(data-label);
    display: inline-block;
    width: 108px;
    margin-left: -101px !important;
    font-size: 1em;
    font-weight: bold;
  }

  td:before {
    border-right: solid 1px #ffffff;
    /*padding-left: 5px;
    vertical-align: top;*/
    line-height: 10px;
  }

  td span.hoejrecelle {
    font-size: 1em;
    font-weight: 100;
    margin-left: 5% !important;
    display: block;
    padding: 4px 0px 15px 0px;
    margin: -15px -10px -15px 15px!important;
  }

  .nf-field-element {
    font-size: 12px;
  }

  input[type=checkbox]:checked:before {
    content: '\f00c';
    color: #05646d;
    /*line-height: 5.5px!important;*/
  }

  /*radio_checkbox_ckecked*/

  .elementor-95 .elementor-element.elementor-element-417bef2 .eael-custom-radio-checkbox input[type="checkbox"]:checked:before,
  .elementor-95 .elementor-element.elementor-element-417bef2 .eael-custom-radio-checkbox input[type="radio"]:checked:before {
    background: rgba(0,100,109,0.86);
    width: 16px;
    height: 16px;
    margin: -3px 3px 0 -3px;
  }

  /*final_notice*/

  .elementor-95 .elementor-element.elementor-element-b1de1fc .elementor-text-editor {
    text-align: left;
    font-size: 0.8em;
  }

  }

/*--Mobil--*/