/*
 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;
}

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

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

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

@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;
}

/* hero header*/
.et_pb_section.hero-header {
	padding: 5% 0 15% 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.2); 
}

.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: 6vw;
  }
}

.hero-header p {
  max-width: 1000px;
  margin: 0 auto;
}

/* text header */
.text-header {
  text-align: center;
  padding: 40px 0;
  background: #002366;
  font-size: 2em;
}

.text-header h1 {
  color: #fff;
}

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

/* cf7 styling */
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
background-color: #fff;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #555 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpcf7-submit {
color: #fff;
margin: 8px auto 0;
cursor: pointer;
font-size: 20px;
font-weight: 500;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
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;
}

/* fancybox styling */
.fancybox-skin {
    background: #dd3d39;
}

.fancybox-skin .wpcf7-response-output {
    color: #fff;
}

/* 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: -170px;
  }
  
}

.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: #b93d3d;
}

.fancybox-inner .cta-wrap {
  margin-top: 0;
  padding: 0;
}

.fancybox-inner .cta-wrap p:last-of-type {
  margin-bottom: 0;
}

.label-required {
  color: #b93d3d;
}

.wpcf7-submit {
  color: #b93d3d;
  border-color: #b93d3d;
}

.wpcf7-submit:hover {
  background-color: #b93d3d;
  border-color: #b93d3d;
  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: #b93d3d;
  color: #fff;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 20px 0;
  line-height: 1;
}

.logo_container {
  font-family: Montserrat, sans-serif;
  font-size: 2em;
  color: #b93d3d;
}

.et_pb_blurb_container h4 {
  font-weight: bold;
}