/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here */

/*

Färginställningar

Mörk-mörkblå: #03122B;
Mörkblå: #2a4f93;
Ljusblå: #65b3e3;
Brun: #bcbaaf;
Grön: #4daca0;
Grå-blå: #f5f9fb;

*/


/* VIKTIGT */
/* VIKTIGT */
/* VIKTIGT */
/* VIKTIGT */
/* Nedan tar  bort den svenska meny-knappen (WPML!!) */
#menu-item-wpml-ls-2-sv { display: none!important; }


/* ----- ----- Rubriker/headlines ----- ----- */

h1, h2, h3, h4 { font-family: Futura, sans-serif; }
h1 { font-size: 48px; font-weight: 700; letter-spacing: 1px; }
h2 { font-size: 36px; font-weight: 600; letter-spacing: 1px; }

.clarification { font-size: 18px; font-weight: 500; font-family: Futura, sans-serif; }

/* ----- ----- Allmänt/general ----- ----- */
.et_parallax_bg { background-position: center; }
.et_post_meta_wrapper h1.entry-title { line-height: 36px; }
.intro-text { font-weight: 600; font-size: 18px; }
.aktuell-lank { display: block; }
#mobile-blog { display: none; }
#tablet-blog { display: none; }
#desktop-blog { display: block; }

.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post { transition: none!important; }

#page-container { max-width: 1920px; margin-left: auto; margin-right: auto; box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 18px 0px; -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 18px 0px; -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 18px 0px; }
#main-header { max-width: 1920px; }

a { color: #03122B; font-family: 'Roboto', sans-serif; font-size: 16px; }
a:hover { cursor: pointer; text-decoration: underline; }
p, li { font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 400; }

.margin-10 { margin: 10px 0px 10px 0px; }
.margin-15 { margin: 15px 0px 15px 0px; }
.margin-20 { margin: 20px 0px 20px 0px; }

.divider { width: 140px; height: 4px; margin: 10px 0px 20px 0px; background: #1c3661;  }

.et_pb_row, .et_pb_fullwidth_header .et_pb_fullwidth_header_container { width: 90%; max-width: 1200px; }

/* ----- Knappar/buttons ----- */
.et_pb_button { display: block; width: 250px; font-size: 16px; color: #fff; background: #03122B; padding: 10px 0px; text-align: center; border: none; }
.et_pb_button:hover, .et_pb_button.hover-color:hover, .et_pb_bg_layout_light.et_pb_button:hover { background: #0A2046; border: none!important; padding: 10px 0px!important; cursor: pointer; text-decoration: underline; }

.et_pb_button::after { display: none; }

.et_pb_search_0.et_pb_module { border-color: #03122B; }
.et_pb_search input.et_pb_searchsubmit { padding: 10px 40px; background: #03122B; border-color: #03122B; color: #fff; height: 42px; }
.et_pb_search input.et_pb_searchsubmit:hover { background: #0A2046; }

/* ----- Inlägg/posts ----- */
#category-posts-2-internal .cat-post-current .cat-post-title { font-weight: 300!important; text-transform: none!important; color: #03122B; }
.mobil-publikationer article.et_pb_post { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #ccc; }
.mobil-publikationer div.et_pb_ajax_pagination_container article.et_pb_post h2.entry-title { padding-bottom: 0px; color: #03122B; }
.mobil-publikationer div.et_pb_ajax_pagination_container article.et_pb_post h2.entry-title:hover { text-decoration: underline; }
.mobil-publikationer div.et_pb_ajax_pagination_container article.et_pb_post .post-content { display: none;  }

/* ----- Mailchimp/input ----- */
input[type=email], input[type=text] { width: calc(50% - 5px); float: left; max-width: 400px; font-size: 16px; font-style: italic; margin: 0px 5px 5px 0px; padding: 0px 25px; height: 50px; }
.mc_fieldset.gdprRequired.mc-field-group { color: #fff; padding: 5px 0px 10px 0px; font-size: 14px; }
.mc_fieldset.gdprRequired.mc-field-group a { color: #fff; text-decoration: underline; font-size: 14px; }
.mc_fieldset.gdprRequired.mc-field-group a:hover { text-decoration: none; }

/* ----- Widgets ----- */
.custom-sidebar h4.title, .custom-sidebar .et_pb_widget.widget_custom_html .custom-html-widget div h4 { color: #000; text-decoration: underline; }
.custom-sidebar ul li a.cat-post-title, .custom-sidebar ul li a.aktuell-lank { color: #03122B; }
.custom-sidebar a.aktuell-lank:hover { text-decoration: underline;}
.category-posts-internal .cat-post-item { border-bottom: 1px solid #ccc; margin: 3px 0px; padding: 3px 0px; }
.et_pb_gutters3 .et_pb_column_1_3 .et_pb_widget { margin-bottom: 50px; }
#sidebar .et_pb_widget { overflow: auto; }

/* -----  Sök -----  */
.sok-publikationer-mobil .et_pb_searchform div input.et_pb_s { border: 1px solid #03122B; height: 50px; padding-right: 0px!important; }
.sok-publikationer-mobil .et_pb_searchform div input.et_pb_searchsubmit { width: 100%; position: relative; margin-top: 5px; }
article.et_pb_post.sokresultat-post { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 3px solid #f5f9fb; }
article.et_pb_post.sokresultat-post:last-child { border-bottom: none; }


/* ----- ----- Top header ----- ----- */
#top-header { background: #2a4f93; }
#et-secondary-menu>ul>li a { font-weight: 300; font-size: 14px;}
#et-secondary-menu>ul>li a:hover { text-decoration: underline; color: #fff; }

#et-info-phone { display: none; }
#et-info-email { font-size: 14px; font-weight: 300; }
#et-info-email::before { margin-right: 6px; }


/* ----- ----- Sidhuvud/header ----- ----- */
#top-menu li.current-menu-item>a, #top-menu li.current-menu-ancestor>a, .et_mobile_menu .menu-item-has-children>a { color: #03122B; text-decoration: underline; font-family: Futura, sans-serif; }
.et_header_style_left #et-top-navigation nav>ul>li>a, #top-menu li li a { font-weight: 400; font-size: 16px; font-family: Futura, sans-serif; }
.et_header_style_left #et-top-navigation nav>ul>li>a:hover, #top-menu li li a:hover { text-decoration: underline; color: #03122B; background: none; }
.nav li ul { border-top: 3px solid #03122B; }
#et_search_icon:hover { color: #03122B; }
.et_mobile_menu .menu-item-has-children>a { text-decoration: none; font-weight: normal; background-color: transparent; }
.et_mobile_menu li.current-menu-item>a { text-decoration: underline; background: rgba(0,0,0,.03); color: #03122B; font-weight: 700; }
.mobile_menu_bar:before { color: #03122B; }
#mobile_menu { border-top: 3px solid #03122B; }


/* ----- ----- Startsidan ----- -----*/

/* Slider */
h2.et_pb_slide_title a { font-size: 48px; letter-spacing: 1px; font-weight: 700; }
.et_pb_slide_description h2.et_pb_slide_title { font-size: 48px; letter-spacing: 1px; font-weight: 700; }

/* De fyra puffarna */
.et_pb_text.puff { -webkit-transition: background 0.3s; /* Safari */
  transition: background 0.3s; }
.et_pb_text.puff:hover { background:  rgba(0,0,0,0.65); }
.et_pb_text.puff .et_pb_text_inner h2 { padding-bottom: 0px; font-size: 20px; }




/* ----- ----- Insights ----- ----- */
div.et_post_meta_wrapper h1.entry-title { font-size: 30px; }
div.et_post_meta_wrapper img { display: block; max-width: 450px; width: 100%; margin: 20px 0px 10px 0px; }
div.post-content a { margin-top: 15px; display: block; }
body.tag #page-container div#et-main-area div#main-content div.container div#content-area div#left-area .et_pb_post .entry-featured-image-url { display: none; }
#tag_cloud-2 .title { color: #666; text-decoration: none; }




/* ----- ----- Personal ----- ----- */
.et_pb_team_member_description a { color: #03122B; }
.entry-content .et_pb_member_social_links { margin-top: 10px; }

/* ----- ----- Kontakt ----- ----- */
.et_pb_contact_right { margin-bottom: 15px; }

/* ----- ----- Footer ----- ----- */
#main-footer { background-color: #1c3661; }
#footer-widgets .footer-widget li:before { display: none; }
h4.title { color: #fff; text-decoration: underline; }
#footer-widgets .footer-widget li { padding-left: 0px; }
.footer-logo { display: block; width: 100%; max-width: 300px; margin: 30px auto 60px auto; }
#footer-widgets .footer-widget li a:hover, #footer-widgets .footer-widget a:hover { color: #fff!important; text-decoration: underline; }
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget { text-align: center; }
#custom_html-3 { width: 100%; }

/* ----- ----- Bloggmodulen / Blog module ----- ----- */
/* Hide "no results" message on blog module */
.et_pb_blog_grid .entry.no-results { display: none!important; }
.blogg-publikationer.et_pb_blog_grid_wrapper .et_pb_blog_grid .et_pb_ajax_pagination_container .aktuellt-rubrik { display: none; }
.aktuellt-rubrik { padding-bottom: 27px; }
.aktuellt-rubrik h2 { font-size: 36px; }

.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post { transition: all .2s ease-in-out; }
.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post:hover { transform: scale(1.02); }
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 .et_pb_post { margin-bottom: 30px; }


/* ----- ----- Mobil/mobile ----- ----- */
@media (max-width: 768px) {
	#et-main-area #main-content .container { width: 90%; }
	#sidebar { border-top: 2px solid #03122B; padding-top: 50px; }
	.et_pb_slide_description { padding: 60px 0px; }

  #mobile-blog { display: block; }
  #tablet-blog, #desktop-blog { display: none; }

	h2.et_pb_slide_title { line-height: 32px; }
	h2.et_pb_slide_title a { font-size: 24px;}
	h1.et_pb_module_header, div.et_post_meta_wrapper h1.entry-title { font-size: 28px; }

  h1.et_pb_module_header { font-size: 36px; }
  h2 { padding-bottom: 20px; }

  #main-header .container { width: 90%;  }
  #et_top_search { margin: 0 35px 0 0; }
  .mobile_menu_bar:before { color: #03122B; }
  .et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two { margin-left: 0px;}


  .sok-publikationer-mobil .et_pb_searchform div input.et_pb_searchsubmit { max-width: 400px; }

  input[type=email], input[type=text] { width: 100%; float: none; max-width: 400px; }


  /* Personal */
  .personal-container .personal-col { width: 50%; float: left;}
  .et_pb_team_member .et_pb_team_member_image { width: 100%; margin: 0px auto 15px auto; float: none; }
  .et_pb_team_member .et_pb_team_member_description { display: block; }

  .et_pb_row { width: 100%; padding: 0px 25px; }
  .et_section_specialty>.et_pb_row { width: 100%; padding: 0px 25px!important; }

  .et_pb_team_member_description { text-align: center; }
  .et_pb_team_member_description h4 { font-size: 22px; }
  .et_pb_team_member_description .et_pb_member_position { font-size: 18px; }
  .et_pb_team_member_description a { display: block; margin-top: 10px; font-size: 20px; }
  .et_pb_team_member_description ul.et_pb_member_social_links { margin-top: 0px; }
  .et_pb_team_member_description ul.et_pb_member_social_links li{ margin-right: 0px; }
  .et_pb_team_member_description ul.et_pb_member_social_links li a { font-size: 35px; }

  /* Footer */
  .footer-widget h4.title { font-size: 20px; text-align: left; }
  .widget_text .textwidget.custom-html-widget { text-align: left; }
  #custom_html-5 { float: none; }
  .footer-widget h4.title { text-align: center; }
  #custom_html-5 { width: 100%; }

}
@media (max-width: 980px) and (min-width: 767px) {
  .container.et_menu_container { width: 90%; }
	.et_pb_row, .et_pb_fullwidth_header .et_pb_fullwidth_header_container { width: 90%; padding: 0px; }
	.blogg-publikationer .et_pb_post { min-height: 585px; }
	.nyhetsbrev-rad { width: 90%; }
	.personal-container .personal-col { width: calc(33% - 5px); }
	.personal-container .personal-col:nth-child(2) { margin-left: 11.5px; margin-right: 11.5px; }
	.personal-container .personal-col:last-child { margin-right: 0px; }
	.footer-widget { display: block; float: none; overflow: auto; }
	.footer-widget:nth-child(n), #footer-widgets .footer-widget:nth-child(2n) { margin: 25px auto!important; }
	.footer-widget h4.title, .widget_text .textwidget.custom-html-widget { text-align: center; }
	.et_pb_module.et_pb_sidebar_0 { display: none; }

  #custom_html-5 { width: 100%; }

  #desktop-blog { display: none; }
  #tablet-blog {display: block; }

}
@media (min-width: 980px) {
	.blogg-publikationer .et_pb_post { min-height: 555px; }

}
@media (min-width: 1600px) {
	.blogg-publikationer .et_pb_post { min-height: 560px; }
}
