/* Dette er custom.css for YOOtheme Pro-malen */
.uk-width{
  width: 50%;
}

.relatert .uk-width-medium-1-2 {
  width:100%;
}

#module-148 > .uk-width-1-2@m li {
  width: 100% !important;
}


.uk-list ul {
	width:100%;
    overflow-wrap: break-word !important;
}

.relatertliste {
  clear: both;
  padding:8px;
  display: inline-block;
  text-align: left;
  overflow-wrap: break-word !important;

}

.listelinje {
 	padding-bottom: 3px;
}

/* Blå bakgrunn for sidebar */
.tm-sidebar .uk-first-column {
	background-color: #e0e8f4 !important;
	-moz-box-shadow: 0 4px 20px rgba(0,0,0,.08);
	-webkit-box-shadow: 0 4px 20px rgba(0,0,0,.08);
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
	padding: 25px 30px 35px 25px;
 	color:#3d4e69;
}

.sideknapp {
	background: #6b92cb;
	color: #fff;
}

.sideknapp:hover {
	background: #cba46b;
  	color: #fff;
}

.uk-link,
a {
text-decoration: none !important;
font-weight: 600;
}

.rullemeny {
display: inline-block;
position: relative;
}

.rullemeny-innhold {
	display: none;
	background-color: lightgray;
    width: inherit;
	z-index: 1;
	position: absolute;
}

.rullemeny-innhold a {
	text-decoration: none;
	display: block;
  	line-height: 1.2;
	color: black;
	padding: 8px;
}

.rullemeny-innhold a:hover {
	background-color: #f7f7f7;
}

.rullemeny:hover .rullemeny-innhold {
	display: block;
}

div#module-97.uk-panel.soekeboks {
	width: 90%;
    padding: 0 0px;
}

h3,
.uk-h3 {
  line-height: 26px;
  font-weight: 700;
  word-break: break-word;
}

.tekst {
  margin-top: 10px;
  font-weight: 500;
}

/* (Fant den til slutt i customizer)*/
em {
  color: #505f78;
}

div.bilde.zx a.zx {
  margin: 0 0 8px 8px;
  background-color: #fff;
  border: 0px;
  overflow: hidden;
  padding: 0px !important;
  box-shadow: 0 0 10px rgba(0,0,0,.25);
  border-radius: 0px !important;
}

/* Formatering av kilde/dato-element i nyheter, ATB@fafo.no 17.01.20 FORESLÅR å fjerna/bytta ut fra "font-style: italic;" til color: #aaa (dus grå; ingen kursiv)*/
.kilde {
	color: #aaa;
	float: right;
}

.feedkilde {
	color: #aaa;
}

/* Utført via style editor 
.uk-align-left\@m {
   margin-right: 20px;
   margin-bottom: 10px;
}*/

.sliderknapp {
  color: #fff;
  background-color: #FFB33E;
}

.logobokser {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
  grid-gap: 0.6rem;
}
.logobokser > div {
  background: white;
  padding: 0.6rem;
  position: relative;
}
.logobokser > div::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.logobokser > div img {
  position: absolute;
  max-width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2px;
}

.lyseblaabg {
  background-color: #e0e8f4;
}

/* ØB 26.05.21. Formatering av søkeresultatene for nyheter */
.teaser-item .tittel {
  font-size: 18px;
}
.width50 .teaser-item {
  padding: 0 20px 10px 0;
}
/* Får ikke sorteringsrutinen til å fungere som ønsket, skjuler den */
.ordering {
  display: none;
}
/* Avstand mellom Header og søkeresultatene */
.items .first-row {
  margin: 30px 0 0 -30px;
}

/* ØB 27.05.21. Formatering av innholdet i dialogen for Nyhetssøk-modulen. ATb endra fra #fff */
input[type=text]:not([class*=uk-]) {
  Background: #fef6eb;
  border-radius:3px; 
}

/*.tm-header.uk-visible@m {
  background-image: url( https://beta.fafo.no/oestforum/images/logoer/Oestforum-grafikk/Bakgrunn-header-europa.png );
 	object-fit: cover;
}

.tm-headerbar-top {
    background: black url(/images/logoer/Oestforum-grafikk/Bakgrunn-header-europa5.png) center no-repeat;
}
*/

/* atb jan22. Penere tabell */

table.tabell {
  border: 1px solid #EEEEEE;
  background-color: #DCDCDC;
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}

table.tabell td, table.tabell th {
  border: 1px solid #FFFFFF;
  padding: 4px 3px;
}

table.tabell tbody td {
  font-size: 13px;
}

table.tabell tr:nth-child(even) {
  background: #F5F5F5;
}

table.tabell thead {
  background: #FF9900;
  border-bottom: 2px solid #444444;
}

table.tabell thead th {
  font-size: 15px;
  font-weight: bold;
  color: #000000;
  text-align: center;
  border-left: 2px solid #FFFFFF;
}

table.tabell thead th:first-child {
  border-left: none;
}
