/*
=========================================================
Expandable Content
=========================================================
 * Contains styling for the Expandable Content jQuery plugin.
 *
 * Copyright Limepark AB, https://limepark.se/licensvillkor
=========================================================*/
/** Ikoner **/
.lp-icon {
  height: 1em;
  /* Paths and strokes that overflow the viewBox can show in IE.
  If you use normalize.css, it already sets this. */
  overflow: hidden;
  /* Nice visual alignment for icons alongside text */
  vertical-align: -0.05em;
  /* Allows sizing by changing the icon's font-size */
  width: 1em;
  /* Default path fill = value of the color property */

  fill: currentColor;
}

/* Fix fĆ¶r IE11 och mushĆ¤ndelser pĆ� SVG-element. */
.lp-icon,
.lp-toggler-icon {
  pointer-events: none;
}



.lp-expandable-content {
  margin: 0.75 0 0.75rem;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.lp-expandable-content .lp-expandable-content__toggler,
.sv-edit-mode .lp-expandable-content > *:nth-child(even),
.lp-expandable-content__content {
  padding: 0.75rem 1.25rem;
}

/*
---------------------------------------------------------
WRAP
--------------------------------------------------------- */

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.sv-edit-mode .lp-expandable-content > *:nth-child(even),
.lp-expandable-content__wrap {
  border: 1px solid #007ac3;
  border-radius: 5px;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.lp-expandable-content__wrap {
  margin-top: 1rem;
   margin-bottom: 1rem;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd) {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(even) {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/*
---------------------------------------------------------
QUESTION/BUTTON
--------------------------------------------------------- */

.lp-expandable-content__wrap .lp-expandable-content__toggler {
  border: 0;
  cursor: pointer;
}


.sv-edit-mode .lp-expandable-content > *:nth-child(odd),
.lp-expandable-content .lp-expandable-content__toggler {
  -webkit-box-align: center;
  align-items: center;
  background-color: transparent;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  -ms-flex-align: center;
  font-weight: 700;
  text-align: left;
  width: 100%;
}

.lp-expandable-content .lp-expandable-content__toggler {
  color: inherit;
}

.sv-edit-mode .lp-expandable-content > *:nth-child(odd) .subheading,
.sv-edit-mode .lp-expandable-content > *:nth-child(odd) .normal,
.lp-expandable-content__toggler .subheading,
.lp-expandable-content__toggler .normal {
  color: inherit;
  /*font-weight: inherit;*/
  margin-bottom: 0 !important;
  /*font-size: 2.4rem;*/
  margin-top: 0 !important;
}

body .lp-expandable-content__toggler .sv-text-portlet-content .subheading {
  line-height: 1.2;
   font-size: 1.125rem;
   word-break: break-word;
   font-weight: 400;
}
body .lp-expandable-content__toggler .sv-text-portlet-content .subheading-h3 {
   font-weight: 400;
}


.lp-expandable-content__toggler > .sv-text-portlet {
  /* -webkit-box-flex: 1;
  flex-grow: 1;
  -ms-flex-positive: 1; */
   max-width: 80%;
}

.lp-expandable-content__toggler > .lp-toggler-icon {
  -ms-flex-order: 1;
  font-size: 16px;
  margin-left: 1rem;

  -webkit-box-ordinal-group: 2;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  order: 1;
  pointer-events: none;
}


/*
---------------------------------------------------------
ANSWER
--------------------------------------------------------- */

.sv-edit-mode .lp-expandable-content > *:nth-child(even),
.lp-expandable-content__content {
  background: transparent;
}


/*
---------------------------------------------------------
STATES
--------------------------------------------------------- */

.lp-expandable-content .lp-expandable-content__toggler:hover,
.lp-expandable-content .lp-expandable-content__toggler:focus {
  background-color: #eee;
  color: inherit;
  text-decoration: underline;
}

/* Closed/Opened */
.lp-expandable-content__toggler[aria-expanded='false'] .lp-toggler-icon--close {
  display: none;
}

.lp-expandable-content__toggler[aria-expanded='true'] .lp-toggler-icon--open {
  display: none;
}
