/*
 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
------------------------------------------------------- */
#et_mobile_nav_menu,
#et_top_search {
  display: none;
}

.et_menu_container {
  min-height: 60px;
}

/* 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:last-child {
   margin-bottom: 0 !important;
}

body {
  font-size: 18px;  
  line-height: 1.6;
  font-family: "Open Sans", -system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: Montserrat;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}

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

h3 {
  font-size: 1.5em;
  color: #333;  
}

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

@media only screen and (min-width: 1350px) {
  .et_pb_section:not(.hero-header) {
    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: 'Montserrat',sans-serif;
    font-size: 1.5em;
}

/* hero header*/
.et_pb_section.hero-header {
	padding: 8% 0 16% 0;
	font-size: 1.35em;
	text-align: center;
}

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

.hero-header,
.hero-header h1{
	color: #f5f5f5;
}

.hero-header h1{
	letter-spacing: 1px;
	margin-bottom: 30px;
	line-height: 1.4;
}

@media (max-width: 1400px) {
  .hero-header h1 {
    font-size: 5vw;
  }
}

/* cf7 styling */
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
  background-color: #fff;
  border: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  font-size: 14px;
  color: #555 !important;
  padding: 16px !important;
  box-sizing: border-box;
}
.wpcf7-submit {
  color: #fff;
  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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -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 !important;
  }
  
  .mfp-content .cta-wrap {
    margin-top: 0 !important;
  }
  
}

.wpcf7 {
  background: #eee;
  width: 100%;
}

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

.wpcf7 p:first-of-type {
  margin-top: 10px;
}

.wpcf7 p:last-of-type {
  padding-bottom: 15px; 
  margin-top: 0;
}

.wpcf7 h2 {
  padding: 12px 0;
  text-align: center;
  color: #fff;
  background: #2696cc;
}

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

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

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

.et_header_style_left #et-top-navigation {
  padding: 0 !important;
}

.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li:last-child>a {
  padding: 15px !important;
  border-radius: 3px;
  background: #2696cc;
  color: #fff;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 20px 0;
  line-height: 1;
}

#et-top-navigation {
  margin-top: 20px;
}

.et_menu_container {
  height: 107px;
}

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

@media (max-width: 900px) {
  .et_header_style_left #logo {
    max-width: 97%;
  }
	
  .hero-header h1 {
    font-size: 1.5em;
    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: 400px;
  margin-left: auto;
  margin-right: auto;
}

button.mfp-close {
  display: none;
}

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

#main-header {
  background-image: url(headerbg.png);
  background-color: transparent;
  background-repeat: repeat-x;
  background-position: bottom;
  
  height: 97px; 
}


.img-heading {
  height: 0;
  margin: 0 !important;
}

.img-heading h2 {
  font-size: 2.9em;
  padding: 0;
  transform: translateY(-50%)
}

.prices-table {
  width: 100%;
  border: 1px solid #ddd !important;
  border-top: none !important;
  background: #fff;
}
.prices-table thead {
  background: #2696CC;
}
.prices-table thead th {
  color: #fff;
}
.prices-table tbody tr:nth-child(even) {
  background: #f3f3f3;
}
.prices-table th,
.prices-table td {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 5px !important;  
  padding-right: 5px !important;
}

.prices-table td:nth-child(2),
.prices-table td:nth-child(3){
  white-space: nowrap
}

.cookie-privacy-link {
  text-decoration: underline;
}

.cookie-button {
  padding: .75rem 1.5rem;
  border-radius: 100vw;
}

.cookie-privacy-link:hover,
.cookie-privacy-link:focus,
.cookie-button:hover,
.cookie-button:focus {
  opacity: .65;
}

.cookie-button#cn-accept-cookie {
  background: green;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #fff;
}

.cookie-button#cn-refuse-cookie {
  color: #fff;
  border: 1px solid;
}

.mn-footer-revoke-consent {
  font-size: .85rem;
  color: #bbb;
}