/*
 Theme Name:     Divi Child Theme
 Description:    Divi Child Theme
 Author:           Medianord
 Author URI:     http://www.medianord.no
 Template:      Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/* reset row paddings and margins */
.et_pb_row {
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 3em !important;
}

.et_pb_row,
.container {
  max-width: 1280px;
}

.et_pb_row:last-child {
   margin-bottom: 0 !important;
}

body {
  font-size: 18px;  
  line-height: 1.7;
  font-family: 'Bitter', serif;
  font-weight: 400;
  color: #444;
}

@media (max-width: 980px) {
  body {
    font-size: 14px;
  }
}

h1, h2, h3, h4, h5 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  color: #254986;
  line-height: 1.5;
}

h1 {
  font-weight: 700;
  font-size: 2.8em;
  letter-spacing: 2px;
}
  
h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

.et_pb_section:not(.hero-header):not(.text-header):nth-child(odd) {
  background: #e8ebe5;
}

@media only screen and (min-width: 1350px) {
  .et_pb_section:not(.hero-header):not(.map-wrap):not(.fullwidth-gallery):not(.no-forced-padding) {
    padding: 100px 0 !important;
  }
}

.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
  padding-top: 25px;
}

.logo_container a {
    color: #333;
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5em;
}

.map-wrap iframe {
  margin-bottom: -8px;
}

/* hero header / text header*/
.et_pb_section.hero-header {
	padding: 12% 0 18% 0;
	text-align: center;
}

.hero-header:before {
  display: none;
  position: absolute;
  content: " ";
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:0;
  background-color: rgba(0,0,0,0.3); 
}

.hero-header p {
	color: #444;  
}

.hero-header h1{
	letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 3.4vw;
  color: #254986;
  margin-bottom: 0;
}

.text-header {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#254986+0,3d67a3+48,6090c5+73,6090c5+73,d1d4ce+100 */
  background: rgb(37,73,134); /* Old browsers */
  background: -moz-linear-gradient(-45deg,  rgba(37,73,134,1) 0%, rgba(61,103,163,1) 48%, rgba(96,144,197,1) 73%, rgba(96,144,197,1) 73%, rgba(209,212,206,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg,  rgba(37,73,134,1) 0%,rgba(61,103,163,1) 48%,rgba(96,144,197,1) 73%,rgba(96,144,197,1) 73%,rgba(209,212,206,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg,  rgba(37,73,134,1) 0%,rgba(61,103,163,1) 48%,rgba(96,144,197,1) 73%,rgba(96,144,197,1) 73%,rgba(209,212,206,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#254986', endColorstr='#d1d4ce',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.text-header h1 {
  text-align: center;
  color: #e8ebe5;
}

/* cf7 styling */
.wpcf7-form-control-wrap input.text,
.wpcf7-form-control-wrap input.title,
.wpcf7-form-control-wrap input[type=email],
.wpcf7-form-control-wrap input[type=password],
.wpcf7-form-control-wrap input[type=tel],
.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap .wpcf7-captchar {
  background-color: #e8ebe5;  
  border: none;
  width: 100%;
  border-radius: 3px;
  font-size: 16px;
  color: #555;
  padding: 16px;
  box-sizing: border-box;
}

.dark .wpcf7-form-control-wrap input.text,
.dark .wpcf7-form-control-wrap input.title,
.dark .wpcf7-form-control-wrap input[type=email],
.dark .wpcf7-form-control-wrap input[type=password],
.dark .wpcf7-form-control-wrap input[type=tel],
.dark .wpcf7-form-control-wrap input[type=text],
.dark .wpcf7-form-control-wrap select,
.dark .wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap .wpcf7-captchar {
  background-color: #fff;
}

.wpcf7-submit {
  color: #e8ebe5;
  margin: 8px auto 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  border-radius: 3px;
  padding: 6px 20px;
  line-height: 1.7em;
  background: transparent;
  border: 2px solid;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.wpcf7-submit:hover { 
  background-color: #fff; 
  border-color: #fff; 
  color: #0f1a76;
  padding: 6px 20px !important; 
}

input,
input.text,
input.title,
input[type=text],
select,
textarea {
  margin-bottom: 5px;
}

/* footer */
#footer-bottom,
#main-footer {
  display: none;	
}

#product-title-field,
#product-img-src-field {
  display: none;
}

.et_pb_image {
  margin-top: 10px;
}

@media (min-width: 981px) {

  .cta-wrap {
    margin-top: -160px;
  }
  
}

.wpcf7 {
  width: 100%;
}

.cta-wrap p {
  padding: 0 20px;
  margin-bottom: .5em;
  font-weight: 400;
  max-width: 500px;
}

.label-required {
  color: #2696cc;
}

.wpcf7-submit {
  color: #2696cc;
  border-color: #2696cc;
}

.wpcf7-submit:hover {
  background-color: #2696cc;
  border-color: #2696cc;
  color: #fff;
}

#top-menu li {
  font-family: 'Work sans', sans-serif;
  font-size: .9em;
}

#logo {
  max-width: none;
  max-height: none;
}

@media (max-width: 900px) {
  .et_header_style_left #logo {
    max-width: 97%;
  }
	
  .hero-header h1 {
    font-size: 2.6em;
    margin-bottom: 0;
  }
}

@media (max-width: 980px) {
  .text-with-img .et_pb_column:nth-child(2) {
    background-image: none !important;
  }
}

.mfp-content {
  text-align: center;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

button.mfp-close {
  display: none;
}

.cta-wrap.mfp-hide {
    display: block !important;
}

.questions-text {
  text-align: center;
  padding-top: 40px;
  line-height: 2;
}

.questions-text h2 {
  margin-bottom: .5em;
}

.questions-phone {
  font-size: 2em;
}

.et_pb_section.fullwidth-gallery {
  padding: 0;
}

.et_pb_section.fullwidth-gallery .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
}

.et_pb_button {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.11em;
}

.logo_container a {
  text-transform: uppercase;
  font-weight: 800;
  color: #254986;
}

.logo_container a:before {
  content: url(/wp-content/uploads/2019/12/logo.png); 
  vertical-align: middle;
}


/* fullbredde-seksjoner med bilde */
.et_pb_section.full-width-content {
  padding: 50px 0 !important;
}

.full-width-content .et_pb_row {
  width: 90% !important;
  max-width: none !important;
}

@media (max-width: 980px) {
  .full-width-content .et_pb_row {
    display: flex;
    flex-direction: column;
  }

  .content-column {
    order: 1;
  }

  .full-width-content .et_pb_column:not(.content-column) {
    margin-bottom: 1em !important;
    background: transparent !important;
  }
}

@media (min-width: 980px) {
  .et_pb_section.full-width-content {
    padding: 0 !important;
  }
  
  .full-width-content .et_pb_row {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  
  .full-width-content .et_pb_equal_columns > .et_pb_column.content-column {
    margin-top: auto;
    margin-bottom: auto;    
    padding: 15% 10%;
  }

  .full-width-content .et_pb_equal_columns > .et_pb_column .et_pb_image {
    margin: 0;
  }
}


/* kontaktskjema med kolonner */
.form-columns {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .form-columns {
    display: block;
  }
}

.form-column {
    flex-basis: 48%;
}

span.wpcf7-list-item {
  display: block;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 12px;
}

#top-header {
  background: #254986;
}

#top-header .container {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

#top-header #et-info:after {
  display: inline-block;
  content: "Vi er tilgjengelig 24/7!";
  margin-left: 1em;
  font-style: italic;
}

#et-info-phone:hover {
  opacity: .7;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}


/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1279px ) {
	#top-menu-nav,
  #top-menu,
	#et_top_search {
    display: none;
  }
  
	#et_mobile_nav_menu {
    display: block;
  }

  .et_fixed_nav #main-header, .et_fixed_nav #top-header{
    position: absolute;
  }  
}

/* header mobile optimization */
@media (max-width: 980px) {
  #top-header #et-info-email:after  {
    display: block;
  }
  
  #top-header #et-info {
    line-height: 1.7;
  }
  
  .hero-header {
    background: #d1d4ce !important;
    padding: 50px 0 !important;
  }
  
  .text-header {
    display: none;
  }
    
  #main-header .container {
    width: 95%;
  }
}

.mobile_menu_bar:before {
  color: #254986;
}

.et_mobile_menu {
  border-color: #254986
}