/*
 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: 4% 0 20% 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;
  }
  
  .mfp-content .cta-wrap {
    margin-top: 0;
  }
  
}

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

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

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

.label-required {
  color: #f44047;
}

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

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

#main-header {
  height: 125px; 
}

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

.et_menu_container {
  height: 125px;
}

#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: 540px;
  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: #f44047;
}
.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;
}

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

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

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

@media (max-width: 410px) {
  .entry-content .course-dates .course-btn {
    margin: 10px 0;
  }
}

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