/*
  Theme Name: Onlinemedia
  Theme URI: https://joolo.se
  Description: Child theme till Divi
  Version: 1.0
  Template: Divi
  Author: Henrik Rossini
  Author URI: https://joolo.se

*/

/* ----------- Anpassad CSS --------------------------- */ 

/* Start globala fontinställningar */

body {
    font-size: 18px!important;
    line-height: 1.4!important;
    margin: 0;
    padding: 0;
}

/* Stycken */
p {
    margin-bottom: 1.2em!important;
}

/* Länkar lite mer fetade */
a {font-weight: 600;}

/* Rubriker */
h1, h2, h3, h4 {
    font-weight: 700!important; /* fetstil */
    line-height: 1.4!important;
    margin: 0 0 0.6em!important;
    }

@media all and (min-width: 981px) {

/* Rubrikstorlekar */
h1 {
    font-size: 3em;
	text-transform: uppercase;
	line-height: 1.2!important;
}
	
.blog h1 {
    font-size: 3em!important;
	line-height: 1.2!important;
}	
	
	
	
h2 {
    font-size: 2em!important;
	line-height: 1.2!important;
}
h3 {
    font-size: 1.7em!important;
	line-height: 1.2!important;
}
h4 {
    font-size: 1.2em!important;
	line-height: 1.2!important;
}
	


}

/* Rubrikstorlekar för läsplattor och mobila skärmar */	

@media only screen and (max-width: 980px)
{

body { 
font-size: 16px!important;
line-height: 1.6;}

/* Rubrikstorlekar */
h1 {
    font-size: 1.7em;
	line-height: 1.2!important;
}
	
.blog h1 {
    font-size: 1.5em!important;
	line-height: 1.2!important;
}	
	
h2 {
    font-size: 1.5em!important;

}
h3 {
    font-size: 1.4em!important;

}
h4 {
    font-size: 1.2em!important;

}

}

/* Slut globala fontinställningar */

/* Listor */
ul,ol{
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
}
li{ margin: 0 0 0.5rem; }
ul{ list-style: disc; }
ol{ list-style: decimal; }

/* Back to top knapp */

/*replace the back to top button icon*/
/*This section adds the image*/
.et_pb_scroll_top:before { 
    content: url(/wp-content/uploads/2025/08/backtop.png) !important;  
}

.et_pb_scroll_top.et-pb-icon {
	padding: 6px;
	background-color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
	right: 10px;
	filter: drop-shadow(0.5px 0.5px 0.5px #cccccc);
}

/* Gäller dina numrerade blurbs */
.num-blurb .et_pb_blurb_description p {
  margin: 0;          /* ta bort extra mellanrum */
}

/* (valfritt) enhetligt radavstånd */
.num-blurb .et_pb_blurb_description {
  line-height: 1.5!important;
}

.num-blurb { margin-bottom: 14px; }
.num-blurb:last-child { margin-bottom: 0; }
