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

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

h4 {
  color: #333;
  font-weight: bold;
  line-height: 1.5;
}

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

/* hero header*/
.et_pb_section.hero-header {
	padding: 5% 0 15% 0;
	font-size: 1.4em;
	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;
  }
}

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

}

.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: #333;
  background: #f1d032;
}

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

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

.label-required {
  color: #f1d032;
}

.wpcf7-submit {
  color: #333;
  background: #f1d032;
  border-color: #f1d032;
}

.wpcf7-submit:hover {
  opacity: .7;
  background: #f1d032;
  border-color: #f1d032;
  color: #333;
}

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


.mfp-content {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

button.mfp-close {
  display: none;
}

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


input[type=checkbox] {
  transform: scale(1.4);
}

#logo {
  max-height: 80px;
}

/* kursdato-seksjon */
.entry-content .course-dates {
  padding-left: 0;
}
.entry-content .course-dates li {
  list-style: none;
  margin: 1em 0;
  display: flex;
  justify-content: space-between;
  max-width: 400px;
}

.entry-content .course-dates ul {
  padding-left: 0;
}

.entry-content .course-dates li li {
  margin: 5px 0;
}

.entry-content .course-dates li li:first-child {
  margin-top: 0px;
}

@media (max-width: 440px) {
  .entry-content .course-dates li {
    flex-direction: column;    
    align-items: flex-start;
  }
}

.entry-content .course-dates .course-btn {
  padding: 3px 6px;
  display: inline-block;
  margin-left: 5px;
  background: #2696cc;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8em;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}
.entry-content .course-dates .course-btn:hover {
  opacity: 0.7;
}

/* pakker */
.entry-content .course-package {
  background: #f5f5f5;
  border: none;
  box-shadow: 0 2px 4px rgba(100, 100, 100, 0.3);
}
.entry-content .course-package .et_pb_text {
  margin: 0;
}
.entry-content .course-package .course-package-title {
  color: #fff;
  padding: 20% 0;
  text-align: center;
}
.entry-content .course-package .course-package-content {
  padding: 20px 10px;
  background: #fff;
}
.entry-content .course-package .course-package-content ul {
  padding: 0;
  text-align: center;
}
.entry-content .course-package .course-package-content ul li {
  list-style-type: none;
  margin-bottom: 0.5em;
}
.entry-content .course-package .course-package-price {
  text-align: center;
  padding: 20px;
  font-weight: bold;
}
.entry-content .course-package .course-package-price .prev-price-amount {
  text-decoration: line-through;
}
.entry-content .course-package .course-package-price .price {
  text-transform: uppercase;
  color: #2696cc;
  font-size: 1.2em;
}

.entry-content .course-package .course-package-price .prev-price-amount,
.entry-content .course-package .course-package-price .price-amount {
  white-space: nowrap;
}

.entry-content .course-package .course-package-price .package-btn {
  display: inline-block;
  margin: 20px 10px 10px;
  background: #2696cc;
  padding: 10px;
  border-radius: 3px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 500;
  cursor: pointer;
}
.entry-content .course-package .course-package-price .package-btn:hover {
  opacity: .8;
}

.course-package li ul {
  margin-top: .5em;
}
.course-package li li:before {
  content: "•";
  font-size: 1.4em;
  vertical-align: middle;
  line-height: 1;
  margin-right: .2em;
}

.course-package td[colspan="2"] {
  font-weight: bold;
  padding-top: 1.2em;
}

/* bestillingsskjema, påmeldingsskjema */
.cta-wrap.order-form,
.cta-wrap.course-form {
  display: none !important;
}

.mfp-content .cta-wrap.order-form,
.mfp-content .cta-wrap.course-form {
  display: block !important;
}

/* prisliste */
.entry-content .course-package .course-package-content table {
  border: none;
}
.entry-content .course-package .course-package-content table tr:first-child td {
  padding-top: 0;
  margin-top: 0;
}
.entry-content .course-package .course-package-content table td {
  border: none;
  vertical-align: top;
}
.entry-content .course-package .course-package-content table td:last-child {
  white-space: nowrap;
}

.course-package .note {
  display: inline-block;
  padding: 5px 0 5px 32px;
  font-size: .8em;
}

/* hva trenger jeg-liste*/
.requirement {
  list-style: none;
  display: block;
  margin: 2em 0;
}

.requirement:before {
  content: "N";
  margin-right: 6px;
  font-family: ETmodules;
  color: #2696CC;
  font-weight: bold;
  font-size: 1.5em;
  left: -0.5em;
  position: absolute;
}

/* mobiloptimalisering */
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .et_pb_section.hero-header {
      font-size: 1em;
  }  
}

@media (max-width: 410px) {
  .et_pb_section.hero-header h1 {
      font-size: 1.1em;
  }
 
  .entry-content .course-dates .course-btn {
    margin: 10px 0;
  }
}

@media (max-width: 350px) {  
  .course-package-content td {
    display: block;
    width: 100%;
  }
  
  .course-package-content td:first-child {
    padding-bottom: 0;
  }
  
  .course-package-content td:last-child {
    padding-top: 0;
  }
}

@media (max-width: 500px) {
  h2 {
    font-size: 1.6em;
  }
}

#main-header {
  display: none !important;
} 

#page-container {
  padding-top: 0 !important;
}

.wpcf7-list-item {
  display: block !important;
  margin: .5rem 0 !important;
}

.usp-list li {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 1em 0;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.6;
}
.usp-list li .et-pb-icon {
  margin-right: 1rem;
  color: #f1d032;
}
