/*
 Theme Name:     rapsona
 Description:    Child theme based on Divi
 Author:         First Vision
 Author URI:     https://www.firstvision.se
 Template:       Divi
 Version:        1.1
*/
@media only screen and (max-width: 1646px) {
  .wpml-ls-display {
    display: none;
  }
  #logo {
    max-height: 44px;
  }
}
/*adjust Divi Menu module breakpoint*/
@media (max-width: 981px) {
  #et_mobile_nav_menu {
    display: block;
  }
  #top-menu {
    display: none;
  }
  .mobile_menu_bar:before {
    color: #205249;
  }
  .et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh !important;
  }
  #et_search_icon {
    position: relative;
    top: 5px;
  }
}
@media only screen and (min-width: 981px) {
  .cu-blog .column.size-1of4 {
    width: 23% !important;
    margin-right: 2%;
  }
}
@media only screen and (max-width: 980px) {
  .et_mobile_menu li a {
    font-size: 18px !important;
  }
  body h4 {
    font-size: 1.5em !important;
  }
  .more-link {
    display: inline-block;
    margin: 20px 0;
    font-size: 18px;
  }
  .container {
    width: 95%;
  }
  #et_search_icon {
    position: relative;
    top: 0;
  }
  .et-l--post .et_pb_text_inner {
    padding-left: 30px;
    padding-right: 30px;
  }
  .single .et-l--post .et_pb_text_inner {
    padding-left: 0;
    padding-right: 0;
  }
  .et_pb_blog_grid .post-content-inner {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    height: 70.2px !important;
    margin: 0 auto 15px auto;
    font-size: 16px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .et_pb_slide_description .et_pb_slide_title {
    font-weight: 300;
    margin-top: 0;
    font-size: 29px !important;
  }
  h1 {
    font-size: 2.441em !important;
  }
  h2 {
    font-size: 1.563em !important;
  }
  h3, h2.entry-title {
    font-size: 1.563em !important;
  }
  h4 {
    font-size: 1.25em !important;
  }
  h5 {
    font-size: 1em !important;
  }
  h6 {
    font-size: 0.8em !important;
  }
}
@media (max-width: 767px) {
  .et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description h2.et_pb_slide_title {
    font-size: 39px !important;
  }
}
@media only screen and (max-width: 640px) {
  .et_pb_blurb_description .readmore {
    margin-bottom: 30px;
  }
  .et_pb_row_2_tb_footer .et_pb_text_inner {
    padding-top: 12px;
  }
}
/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */
@media screen and (min-resolution: 120dpi) {
  body {
    zoom: 0.8;
  }
}
#cookie-law-info-again {
  right: 250px !important;
}
body #top-menu li.se.current-menu-item a:before, .et_header_style_left #et-top-navigation nav > ul > li.se > a:before, .et_mobile_menu li.se a:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url(/wp-content/themes/rapsona/images/SE_18_18.png) no-repeat;
  background-size: contain;
  position: relative;
  top: 3px;
  margin: 0 10px 0 0;
}
body #top-menu li.dk.current-menu-item a:before, .et_header_style_left #et-top-navigation nav > ul > li.dk > a:before, .et_mobile_menu li.dk a:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url(/wp-content/themes/rapsona/images/DK_18_18.png) no-repeat;
  background-size: contain;
  position: relative;
  top: 3px;
  margin: 0 10px 0 0;
}

body #top-menu li.en.current-menu-item a:before, .et_header_style_left #et-top-navigation nav > ul > li.en > a:before, .et_mobile_menu li.en a:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url(https://cdn.wpml.org/wp-content/plugins/sitepress-multilingual-cms/res/flags/en.svg) no-repeat;
  background-size: contain;
  position: relative;
  top: 3px;
  margin: 0 10px 0 0
}
body {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.4;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Zilla Slab', serif !important;
  font-weight: 600;
  color: #205249;
}
.et_pb_slide_description .et_pb_slide_title {
  font-weight: 300;
  margin-top: 0;
  font-size: 46px !important;
}
h1 {
  font-size: 2.441em !important;
}
h2 {
  font-size: 1.563em !important;
}
h3 {
  font-size: 1.563em !important;
}
h4, h2.entry-title {
  font-size: 1.25em !important;
}
h5 {
  font-size: 1em !important;
}
h6 {
  font-size: 0.8em !important;
}
p {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.4;
}
body #top-menu li.current-menu-item > a, .et_header_style_left #et-top-navigation nav > ul > li > a {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 1.285em !important;
  color: #205249;
}
.single-post .et_pb_post {
  background-color: #f9f9f9;
  margin-bottom: 0;
  padding-left: 30px !important;
  padding-right: 30px !important;
}
.single-post .et_pb_image_wrap {
  border: 1px solid #eee;
  margin-bottom: 30px;
}
.single-post footer .et_pb_image_wrap {
  border: none;
}
.et_pb_pagebuilder_layout.single-post.et_full_width_page:not(.et-tb-has-body) .et_post_meta_wrapper {
  width: 100%;
  max-width: 1366px;
  margin: auto;
  padding-top: 6%;
}
.single-post .post-meta, .single-post .et_post_meta_wrapper img {
  display: none !important;
}
a {
  color: #205249;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #000;
  text-decoration: underline;
  transition: all 0.3s ease;
}
a.pdf:before {
  content: "";
  background: url(/wp-content/themes/rapsona/images/pdf.png) no-repeat center;
  background-size: contain;
  display: inline-block;
  position: relative;
  top: 7px;
  width: 30px;
  height: 30px;
  margin: 0 10px 0 0;
}
.et_pb_blog_grid .et_pb_image_container {
  border: 1px solid #eee;
}
.et_pb_blog_grid .et_pb_post {
  padding: 19px;
  border: 1px solid #eee;
  background-color: #fff;
  word-wrap: break-word;
}
.more-link, .readmore, .pt-cv-readmore {
  border: 1px solid #205249;
  background: #fff;
  padding: 7px 15px;
  transition: all 0.4s ease;
}
.more-link:hover, .readmore:hover, pt-cv-readmore:hover {
  border: 1px solid #205249;
  background: #205249;
  color: #fff;
  padding: 7px 15px;
  transition: all 0.4s ease;
  letter-spacing: 1.5px;
  text-decoration: none;
}
.et_pb_blog_grid .post-content-inner {
  display: block;
  display: -webkit-box;
  max-width: 100%;
  height: 67.2px;
  margin: 0 auto 15px auto;
  font-size: 16px;
  line-height: 1.4;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.et_mobile_menu {
  display: none;
  visibility: visible;
  position: absolute;
  z-index: 9999;
  left: 0;
  width: 100%;
  padding: 5%;
  border-top: 3px solid #205249;
  opacity: 1;
  background: #fff;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.nav li ul {
  visibility: hidden;
  z-index: 9999;
  width: 240px;
  border-top: 3px solid #205249;
  opacity: 0;
  background: #fff;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.cu-blog .et_pb_salvattore_content[data-columns]::before {
  content: '4 .column.size-1of4' !important;
}
.vertical-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.single h1.entry-title {
  padding-top: 40px;
}
.single #left-area {
  margin-bottom: 40px;
}
