/*
 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
------------------------------------------------------- */
html {
  font-size: 15px;
}

@media (min-width: 800px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 18px;
  }
}

#et_mobile_nav_menu,
#et_top_search {
  display: none;
}

.et_menu_container {
  min-height: 60px;
  max-width: 1300px;
}

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

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

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background: #fff;
  font-weight: 300;
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

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

h1 {	
  font-size: 2em;
}
  
h2 {
  font-size: 2em;
  margin-bottom: .5em;
}

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

@media only screen and (min-width: 1350px) {
  .et_pb_section:not(.hero-header) {
    padding: 7.5rem 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: 10% 0;
}

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

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

.hero-header h1 {
	letter-spacing: 1px;
	margin-bottom: .5rem;
	line-height: 1.4;
  font-size: clamp(1.5rem, 2.5vw, 4rem);
}

/* cf7 styling */
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-captchar {
  background-color: #eee !important;
  border: none !important;
  width: 100% !important;
  border-radius: 4px !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;
}

.wpcf7 {
  width: 100%;
  background: #fff;  
  border-radius: 4px !important;
  padding: 1em !important;
  box-shadow: 0 0 10px rgba(255,144,45,0.25);
}

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

.wpcf7 h2 {
  padding: 12px 0;
  font-size: 1.1em;
  text-align: left;
  line-height: 1.5;
  letter-spacing: .5px;
  text-transform: uppercase;
}

label {
  display: block;
  font-weight: 300;
  white-space: nowrap;
}

.label-required {
  color: #ff8f2c;
}

.wpcf7-submit {
  color: #ff8f2c;
  border-color: #ff8f2c;
  width: 100%;
}

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

.wpcf7 .ajax-loader:not(.is-active) {
  display: none;
}

.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: #ff8f2c;
  color: #fff;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 20px 0;
  line-height: 1;
}

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

@media (max-width: 900px) {
  .et_header_style_left #logo {
    max-width: 97%;
  }
}

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

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

button.mfp-close {
  display: none;
}

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

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

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

.padded-textbox {
  padding: 20px;
}

.prices-table {
  width: 100%;
  border: 1px solid #ddd !important;
  border-top: none !important;
  background: #fff;
}
.prices-table thead {
  background: #ff8f2c;
}
.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;
}

#main-header {
  box-shadow: none;
}

h1 {
  font-size: 2.1em;
  margin-bottom: .5em;
  color: #111;
}

.entry-content ul.usp-list {
  padding: 0 2.5em;
}

.usp-list li {
  list-style: none;
  margin: 4em 0;
  display: block;
}

@media (min-width: 980px) {
  .usp-list li {
    display: flex;  
  }  
}

.usp-list li:before {
  content: ""; 
  background: url(img/checkmark.png);
  background-repeat: no-repeat;
  width: 77px;
  height: 77px;
  min-width: 77px;
  min-height: 77px;
  margin-right: 1.75em;  
}

@media (max-width: 979px) {
  .usp-list li:before {
    display: block;
    margin-bottom: 1em;
  }
}

.list-title {
  display: block;
  font-size: 1.75em;
  margin-bottom: .5em;
}

.et_pb_section.dark-bg {
  background: #035E8F;
  color: #fff;
}

.et_pb_section.dark-bg h2,
.et_pb_section.dark-bg h3 {
  color: #fff;
  text-align: center;
}

.industries-wrap .et_pb_text {
  margin-bottom: 0 !important;
}

.industries-wrap h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.industries-wrap h3 {
  font-size: 1.5em;
  margin-bottom: .5em;
}

@media (max-width: 1019px) {
  #top-menu .cta-phone a {
    font-size: 0 !important;
    border-radius: 40px !important;
  }
  
  #top-menu .cta-phone a:before {
    content: "";
    font-size: 36px;
    font-family: ETmodules;
    color: #fff;    
    margin-left: -2px;
  }
}

@media (min-width: 1020px) {
  #top-menu .cta-phone:before {
    content: "Ring oss for en hyggelig og uforpliktende samtale:";
    margin-right: 1em;
    font-weight: 300;
    font-size: 1.5em;
  }
}

#top-menu .cta-phone a {
  display: inline-block;
}

a {
  color: #ff8f2c;
}

@media (max-width: 980px) {
  #top-menu {
    display: block;
  }
}

.mfp-phone {
  background: #f3f3f3;
  text-align: center;
  padding: 40px;
  font-size: 1.25em;  
}

@media (max-width: 980px) {
  div.et_pb_section.et_pb_section_0.cta-header {
    background-image: none !important;
    background-color: #f5f5f5 !important;
  }
}

blockquote {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  background: #eee;
  padding: 1rem;
  font-style: italic;
  font-size: 1.15rem;
  border-left-color: #014b84;
  border-left-width: .5rem;
}

blockquote strong {
  display: block;
  margin-top: .75rem;
  font-style: initial;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #666;
}

.entry-content li {
  margin: 1rem 0;
}