/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/*
* { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); }
* * * * * * * { background-color: rgba(255,0,0,.2); }
* * * * * * * * { background-color: rgba(0,255,0,.2); }
* * * * * * * * * { background-color: rgba(0,0,255,.2); }
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
/*
ol, ul {
	list-style: none;
}
*/
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

.first {
  margin-left: 0px !important;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.btn-wrapper {
  text-align: center;
}
.btn-wrapper.xsm {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.clear {
  clear: both;
}
.hidden {
  display: none;
}
.fw {
  width: 100%;
  display: block;
}
.no-word-break {
  white-space: nowrap;
}
b {
  font-weight: 700;
}
.stop-scrolling {
  height: 100%;
  overflow: hidden;
}
.top-margin {
  margin-top: 2rem;
}
.bot-margin-mid {
  margin-bottom: 1rem;
}
.no-bot-margin {
  margin-bottom: 0px !important;
}
.no-break {
  word-break: keep-all;
  display: inline-block;
}

ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  list-style: disc;
  list-style-position: inside;
}

body {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
}

@media only screen and (min-width: 1400px) {
  html {
    font-size: 17px;
  }
}

@media only screen and (max-width: 1400px) {
  html {
    font-size: 16px;
  }
}

@media only screen and (max-width: 640px) {
  html {
    font-size: 15px;
  }

  body.authenticated {
    background: #ffffff;
  }
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

/*** STANDARDS ***/

div#site-wrapper {
  /*margin-top: 4rem;*/
  padding-top: 4rem;
  padding-bottom: 80px;
}

div.pagesection {
  width: 95%;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 2.5%;
  padding-right: 2.5%;
  position: relative;
  z-index: 1000;
}

div.pagesection.no-top-pad {
  padding-top: 0px;
}
div.pagesection.no-bottom-pad {
  padding-bottom: 0px;
}

div.pagesection.big-bottom-pad {
  padding-bottom: 120px;
}
div.pagesection.med-top-pad {
  padding-top: 60px;
}

.main-content {
  display: none;
}
.light {
  color: #ffffff;
}

div.text-container a {
  color: #002d3c;
}

.clear-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}


@media only screen and (max-width: 1024px) {
  div.pagesection {
    width: 92%;
    padding: 6% 4%;
    background-attachment: scroll;
  }

  div.pagesection.big-bottom-pad {
    padding-bottom: 60px;
  }
}

@media only screen and (max-width: 720px) {
  div#site-wrapper {
    padding-bottom: 0px;
  }
}

@media only screen and (max-width: 640px) {
  .authenticated div.pagesection {
    width: 96%;
    padding: 5% 2%;
    background-attachment: scroll;
  }

  div.pagesection.big-bottom-pad {
    padding-bottom: 80px;
  }
}

div.pagesection > div.content {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
  overflow: hidden;
}

div.pagesection > div.content.md {
  max-width: 960px;
}
div.pagesection > div.content.sm {
  max-width: 740px;
}

div.text-container {
  width: 80%;
  max-width: 600px;
  font-size: 1.375rem;
  margin-top: 10px;
  line-height: 125%;
}

div.text-container.xl {
  color: #002d3c;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 150%;
  width: 100%;
  max-width: 920px;
}

div.text-container.center {
  margin-left: auto;
  margin-right: auto;
}

div.text-container.maintenance {
  font-size: 1.25rem;
  padding: 0.5rem 6%;
  box-sizing: border-box;
}

@media only screen and (max-width: 1024px) {
  div.text-container {
    width: 100%;
  }
}

/*** Column-wrappers ***/

div.col-wrapper {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: wrap;
}

div.col-wrapper.justify-space-between {
  justify-content: space-between;
}
div.col-wrapper.align-items-center {
  align-items: center;
}
div.col-wrapper.just-center {
  justify-content: center;
}
div.col-wrapper.hidden {
  display: none;
}

div.col {
  flex-grow: 0;
  flex-shrink: 0;
  margin: 15px;
  box-sizing: border-box;
  position: relative;
}

div.col {
  margin: 15px 0px;
}

/*
div.col.col-1 { margin-left: 0px; margin-right: 0px; }

div.col-2:nth-of-type(odd),
div.col-3:first-of-type, div.col-4:first-of-type { margin-left: 0px; }

div.col-2:nth-of-type(even),
div.col-3:last-of-type, div.col-4:last-of-type { margin-right: 0px; }
*/

div.no-margin div.col {
  margin: 0px !important;
}

div.col-1 {
  flex-basis: 100%;
}
div.col-2 {
  flex-basis: calc((100% - 30px) / 2);
}
div.col-3 {
  flex-basis: calc((100% - 60px) / 3);
}
div.col-4 {
  flex-basis: calc((100% - 90px) / 4);
}

div.col > .text-container {
  max-width: none;
  margin: 10px 0px 0px;
}

@media only screen and (max-width: 1024px) {
  div.col-2,
  div.col-4 {
    flex-basis: calc((100% - 30px) / 2);
  }

  /*
  div.col-4:nth-child(odd) { margin-left: 0px; }
  div.col-4:nth-child(even) { margin-right: 0px; }
  */
}

@media only screen and (max-width: 920px) {
  div.col-3 {
    flex-basis: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }
  div.no-space div.col-2 {
    flex-basis: 100%;
    margin: 0px;
  }
}

@media only screen and (max-width: 720px) {
  div.col-1,
  div.col-2,
  div.col.margin-lg,
  div.col-4 {
    flex-basis: 100%;
    margin: 10px;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  div.col.input {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

/*** DESKTOP TOPBAR ***/
div#topbar {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 1500;
  background-color: #ffffff;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.06);
  /*box-shadow: 0 3px 5px 0 rgba(0,0,0,0.02);*/
}

div#topbar > div.header {
  position: relative;
  width: 100%;
  max-width: 1034px;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 2%;
  padding: 16px 0px;
  /*
  background-color: #ffffff;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.06);
  */
  /*box-sizing: border-box;*/
  justify-content: space-between;
  align-items: center;
}

div#topbar > div.header a .tag {
  line-height: 1;
  text-align: right;
  margin-top: 2px;
}

div.header .menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.header div.logo-container,
div.header ul#menu {
  flex-grow: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
}

div#topbar a.logo-main {
  display: block;
  text-decoration: none;
}

div#topbar ul#menu {
  display: flex;
  list-style: none;
  margin: 0px;
  padding: 0px;
}

div#topbar ul#menu li {
  display: block;
  list-style-type: none;
  margin-right: 0.5rem;
}

/*
div#topbar ul#menu li:last-of-type {
  margin-right: 0px;
}
*/

div#topbar ul#menu li a {
  display: block;
  text-decoration: none;
}

div#topbar ul#menu li a:hover {
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

@media only screen and (max-width: 1024px) {
  div#topbar div.header {
    width: 92%;
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media only screen and (max-width: 640px) {
  /* div#logo-container { left: 20px; } */

  div#topbar div.header {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
  }

  div#topbar ul#menu li:first-child {
    margin-left: 12px;
  }
}

/*** Mobile menu ***/
.button_container {
  position: relative;
  box-sizing: border-box;
  height: 9px;
  width: 15px;
  cursor: pointer;
}

.button_container.open-menu-btn {
  height: 14px;
  width: 20px;
  height: 21px;
  width: 30px;
  padding: 5px;
  box-sizing: content-box;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}

.button_container.active {
  -webkit-transform: scale(2.5);
  -ms-transform: scale(2.5);
  transform: scale(2.5);
}

.button_container.active .top {
  -webkit-transform: translateY(4px) translateX(0) rotate(45deg);
  -ms-transform: translateY(4px) translateX(0) rotate(45deg);
  transform: translateY(4px) translateX(0) rotate(45deg);
}
.button_container.active .middle {
  opacity: 0;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-4px) translateX(0) rotate(-45deg);
  -ms-transform: translateY(-4px) translateX(0) rotate(-45deg);
  transform: translateY(-4px) translateX(0) rotate(-45deg);
}

.button_container span {
  border: none;
  height: 1px;
  width: 15px;
  position: absolute;
  top: 0px;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  cursor: pointer;
}
.button_container.open-menu-btn span {
  height: 2px;
  width: 20px;
  top: unset;
  position: relative;
}

.button_container span:nth-of-type(2) {
  top: 4px;
}

.button_container.open-menu-btn span:nth-of-type(2) {
  top: unset;
}

.button_container span:nth-of-type(3) {
  top: 8px;
}

.button_container.open-menu-btn span:nth-of-type(3) {
  top: unset;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  display: none;
  -webkit-transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  overflow: hidden;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
  z-index: 2000;
  display: block;
}

.overlay .button_container {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 200;
}

.overlay.open li {
  -webkit-animation: fadeInLeft 0.5s ease forwards;
  animation: fadeInLeft 0.5s ease forwards;
  -webkit-animation-delay: 0.35s;
  animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: 0.45s;
  animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: 0.55s;
  animation-delay: 0.55s;
}
.overlay.open li:nth-of-type(6) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.overlay.open li:nth-of-type(7) {
  -webkit-animation-delay: 0.65s;
  animation-delay: 0.65s;
}
.overlay.open li:nth-of-type(8) {
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.overlay.open li:nth-of-type(9) {
  -webkit-animation-delay: 0.75s;
  animation-delay: 0.75s;
}
.overlay.open li:nth-of-type(10) {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.overlay nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 90%;
  margin-top: 5%;
  font-size: 24px;
  text-align: center;
  z-index: 100;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  margin: 4% 0;
  margin: 1.25rem 0;
  /*margin: 3% 0;*/
  position: relative;
  opacity: 0;
}

.overlay ul li.hidden {
  display: none;
}

.overlay ul li.logout-btn {
  display: none;
  margin-top: 10%;
  margin-top: 2rem;
}

.overlay ul li a {
  display: block;
  position: relative;
  text-decoration: none;
}

.overlay ul li.small {
  margin: 8% 0 2%;
  margin: 3rem 0 0.75rem;
  /*margin: 6% 0 1.5%;*/
}

.overlay ul li.small a {
  display: block;
  margin: 2% 4%;
  margin: 1.25rem 0;
  /*margin: 1.5% 2%;*/
}

.overlay ul li.small a:first-of-type {
  margin-top: 0;
}

@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    left: -20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    left: -20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@media only screen and (max-width: 640px) {
  .overlay ul li.logout-btn {
    display: block;
  }
  div#topbar ul#menu li a.logout-btn {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .overlay ul li {
    margin: 3% 0;
    margin: 1rem 0;
  }

  .overlay ul li.small {
    margin: 6% 0 0;
    margin: 1rem 0;
  }

  .overlay ul li.small a {
    margin: 1.5% 0;
    margin: 1rem 0;
  }

  .overlay ul li.logout-btn {
    margin-top: 1rem;
  }
}

/*** Hello bar ***/
div.hello-bar {
  padding: 0.75rem 2%;
  text-align: center;
  line-height: 1.2;
}

div.hello-bar a {
  color: inherit;
}

/*div.hello-bar.fixed {
  background-color: #002d3c;
  color: #ffffff;
}*/

@media only screen and (max-width: 1024px) {
  div.hello-bar {
    padding-left: 4%;
    padding-right: 4%;
  }
}

@media only screen and (max-width: 640px) {
  div.hello-bar {
    padding-left: 5%;
    padding-right: 5%;
  }
}

a.btn {
  display: inline-block;
  margin-top: 2.5rem;
  line-height: 100%;
  text-align: center;
  text-decoration: none;
  /*text-transform: uppercase;*/
}

.btn-wrapper a.btn + a.btn {
  margin-top: 1.25rem;
}

a.btn:hover {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

a.btn.mid-top-margin {
  margin-top: 1.5rem;
}
a.btn.no-bot-margin {
  margin-bottom: 0px;
}
a.btn.loading {
  pointer-events: none;
}
a.btn.done {
  pointer-events: none;
}
a.btn.loading .btn-title {
  display: none;
}

div.col a.btn {
  display: flex;
  width: 100%;
  height: 100%;
  margin-top: 0px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

div.col a.btn.sm {
  display: inline-block;
  min-width: unset;
  width: auto;
  height: auto;
  margin-top: 1rem;
}

a.btn.disabled {
  opacity: 1;
}

/*
a.btn .title
{
	font-size: 1rem;
	color: #043C4E;
}
*/

@media only screen and (max-width: 1024px) {
  a.btn {
    line-height: 130%;
  }
}

@media only screen and (max-width: 720px) {
  /*
  a.btn { margin: 18px auto 40px; }
  a.btn.top-margin { margin: 40px auto; }
  */

  div.col a.btn {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  a.btn {
    padding: 5% 8% !important;
  }
}

@media only screen and (max-width: 340px) {
  a.btn {
    padding: 6% !important;
    font-size: 0.875rem;
  }
}

/**** Cards *****/

.card-wrapper {
  padding: 0px 2rem;
  margin-top: -1px;
  padding-top: 1px;
  background: #ffffff;
  border-radius: 10px;
  box-sizing: border-box;
}

.card-wrapper + .card-wrapper {
  margin-top: 2rem !important;
}

.card-wrapper .section {
  margin: 2.5rem 0px 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(4, 60, 79, 0.1);
}

.card-wrapper .section:first-of-type {
  margin-top: 2rem;
}

.card-wrapper .section:last-of-type {
  border-bottom: 0px;
  padding-bottom: 3rem;
}

.card-wrapper .section.sm {
  margin: 1.25rem 0 0;
  padding-bottom: 2rem;
}

.card-wrapper .header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.card-wrapper .header.center {
  justify-content: center;
}

.card-wrapper .info:first-of-type {
  margin-top: 0.5rem;
}

.card-wrapper .header .icon {
  width: 48px;
}

.card-wrapper .header .title {
  line-height: 1;
  /*text-transform: uppercase;*/
}

.card-wrapper .header .title.big {
  font-size: 150%;
  line-height: 1.2;
  display: block;
}

.card-wrapper .header .icon + .title {
  margin-left: 0.5rem;
}

.card-wrapper .section-instruction {
  margin-bottom: 1rem;
}

.card-wrapper .section .content {
  margin-top: 0.75rem;
}

.card-wrapper .info {
  margin-top: 0.5rem;
  font-size: 1.125rem;
}

.card-wrapper .info.big {
  margin-top: 0.5rem;
  /*margin-bottom: 1.125rem;*/
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card-wrapper .info.title {
  margin-bottom: 0.75rem;
  font-family: "header";
  font-size: 0.875rem;
  /*text-transform: uppercase;*/
}

.card-wrapper .info.small {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.3;
}

.card-wrapper .loan-info {
  text-align: right;
}

.card-wrapper .info.md {
  font-size: 1.25rem;
}
.card-wrapper .info.lg {
  font-size: 1.75rem !important;
}

.card-wrapper .info.md.title {
  font-size: 0.875rem;
}
.card-wrapper .info.md.title.sm {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0px;
}

.card-wrapper .payment-title.col {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.card-wrapper .payment-title .title {
  position: relative;
  font-family: "header";
  font-size: 1rem;
  line-height: 1;
  /*
  text-transform: uppercase;
  background-color: #e6ebed;
  padding: 0.75rem 0.75rem 0.5rem;
  */
}

.card-wrapper .payment-title .title span {
  /*background-color: #e6ebed;*/
  background-color: #ffffff;
  border: 1px solid #e7ecee;
  border-radius: 5px;
  padding: 0.625rem 0.75rem 0.5rem;
  box-sizing: border-box;
}

.card-wrapper .payment-title .title:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e7ecee;
  position: absolute;
  right: 0;
  top: 45%;
  z-index: -2;
}

.card-wrapper .loan-debt .current-status {
  line-height: 1.3;
  padding: 1rem;
  /*
  padding-left: 1.25rem;
  border-left: 2px solid #A3DBEE;
  */
  font-size: 1.125rem;
  margin-top: 1.25rem;
  border-radius: 5px;
}

.card-wrapper .loan-debt .current-status a {
  color: inherit;
}

.card-wrapper .loan-debt .current-status.status-warning {
  background-color: #ffed20;
  background: #ffea93;
  color: #000000;
}

.card-wrapper .loan-debt .current-status.status-danger {
  background-color: #f53737;
  background-color: #f35d5d;
  background-color: #e65252;
  color: #ffffff;
}

.card-wrapper .loan-debt .current-status .title {
  font-size: 1.25rem;
}

.card-wrapper .loan-debt .current-status .body {
  margin-top: 0.125rem;
}

.card-wrapper .section-instruction,
.card-wrapper .payment-instructions {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
}
.card-wrapper .payment-instructions {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 2px solid #e7ecee;
}
.card-wrapper .no-payments-title {
  margin-top: 1rem;
  font-family: "header";
  font-size: 1.125rem;
}

@media only screen and (max-width: 1024px) {
  .card-wrapper .section:last-of-type {
    padding-bottom: 2rem;
  }
}

@media only screen and (max-width: 720px) {
  .card-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .card-wrapper .section .content {
    margin-top: 0rem;
  }

  .card-wrapper .loan-info {
    text-align: left;
  }

  .card-wrapper .section:last-of-type {
    padding-bottom: 1rem;
  }
}

@media only screen and (max-width: 640px) {
  .authenticated .card-wrapper {
    box-shadow: none !important;
  }

  .card-wrapper .header .icon {
    width: 40px;
  }
}

@media only screen and (max-width: 480px) {
  .card-wrapper {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .card-wrapper .section:first-of-type {
    margin-top: 1.5rem;
  }
}

/*** Swish ***/

/*div.col .swish-payment-wrapper a.btn { margin-top: 1rem; padding: 0.5rem 10px; }*/

div.col .swish-step-1 a.btn {
  max-height: 53px;
  /*
  font-size: 1rem;
  padding-left: 12px;
  padding-right: 12px;
  */
  font-size: 0.875rem;
  padding: 16px 12px;
  margin-top: 1rem;
}

.swish-step {
  display: none;
}
.swish-step-1 {
  display: block;
}

div.col .swish-step-2 a.btn {
  margin-top: 0.5rem;
  padding: 12px 8px;
  /*font-size: 1rem;*/
  font-size: 0.875rem;
}

div.col .swish-step-2 a.btn.loading {
  opacity: 0.7;
  cursor: default;
}

div.col .swish-step-2 a.btn.loading span {
  display: none;
}

div.col .swish-step-2 a.btn.loading:after {
  content: "Laddar";
}

.card-wrapper .swish-step-2 label.input-label {
  margin-top: 0rem;
  font-size: 0.75rem;
  font-family: "body";
  font-weight: 700;
  text-align: center;
}

.card-wrapper .swish-step-2 input {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 1.125rem;
  line-height: 200%;
  border: 1px solid #98b0b9;
  box-sizing: border-box;
}

.card-wrapper .swish-step-2 label.invalid {
  text-align: center;
}

.card-wrapper .swish-title {
  margin-top: 0rem;
  font-family: "body";
  text-align: center;
}

.card-wrapper .swish-title.swish-loading {
  font-size: 0.875rem;
  font-weight: 700;
}

.card-wrapper .swish-title.swish-message {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 120%;
}

div#check_swish_payment .btn-wrapper a:nth-of-type(2) {
  margin-top: 1.5rem;
}

@media only screen and (max-width: 720px) {
  div.col .swish-step-1 a.btn,
  div.col .swish-step-2 a.btn {
    font-size: 1.125rem;
  }
}

/*** Error ****/
div#error-screen,
div.message-screen {
  display: none;
}

div#error-screen .section,
div.message-screen .section {
  overflow: hidden;
}

div#check_swish_payment div.message-screen {
  margin-top: 1rem;
}

img.error-icon,
img.message-icon {
  max-width: 100px;
  margin: 2rem auto 1rem;
}

h2#error-title,
h2.message-title {
  font-family: "header";
  font-size: 1.5rem;
}

div#error-text,
div.message-text {
  width: 80%;
  font-size: 1.25rem;
  max-width: 480px;
}

/*** Account selection ***/
div#account-selection {
}

div#account-selection #account-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0.75rem;
}

div#account-selection #account-list a {
  margin: 0;
  padding: 0.5rem 0.75rem;

  font-family: "header";
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  background-color: rgba(34, 34, 34, 0.05);
  text-decoration: none;
}

div#account-selection #account-list a.active {
  background-color: rgba(34, 34, 34, 0.15);
}

/*** External loans ***/
div#external-loans {
  margin-top: 2rem;
}
/*div.external-debt { display: none; }*/
div.external-loan.active {
  display: flex;
}

div.external-loan .logo {
  flex-basis: 120px;
}
div.external-loan .info-wrapper {
  flex: 1;
  margin-left: 1.25rem;
}

div.external-loan .info-wrapper .name {
  font-size: 1.25rem;
  /*color: #000000;*/
}

div.external-loan .info-wrapper .title {
  font-family: "body";
  font-size: 0.875rem;
  margin-top: 0.75rem;
  margin-bottom: 0px;
  /*color: #000000;*/
}

div.external-loan .info-wrapper .value {
  margin-top: 0.375rem;
}

@media only screen and (max-width: 1024px) {
  div.external-loan .logo {
    flex-basis: 100px;
  }
}

@media only screen and (max-width: 720px) {
  div.external-loan {
    margin-top: 1.5rem;
  }
}

@media only screen and (max-width: 480px) {
  div.external-loan .logo {
    flex-basis: 90px;
  }
}

@media only screen and (max-width: 350px) {
  div.external-loan .logo {
    flex-basis: 70px;
  }
}

/*** Input fields ***/
.card-wrapper label.input-label {
  display: block;
  margin-top: 1rem;
  width: 100%;
  font-size: 1rem;
  line-height: 125%;
}

.card-wrapper input,
.card-wrapper select {
  display: block;
  margin-top: 0.5rem;
  width: 100%;
  background-color: transparent;
  -webkit-appearance: none;
  border-radius: 0px;
}

.card-wrapper label.invalid {
  display: block;
  margin-top: 0.5rem;
  width: 100%;
  font-size: 0.875rem;
}

.card-wrapper .select-wrapper {
  position: relative;
}

.card-wrapper .select-wrapper:after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 22px;
  top: 14px;
  background-size: 24px 12px;
  width: 24px;
  height: 12px;
  pointer-events: none;
}

@media only screen and (max-width: 640px) {
  .card-wrapper .select-wrapper:after {
    right: 1rem;
    top: 11px;
  }
}

/*** Loader ***/

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.loader {
  margin: 10rem auto;
  font-size: 8px;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.loader.sub {
  margin: 1rem auto;
  font-size: 3px;
}

.loader.fade-out {
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  font-size: 0px;
  width: 0em;
  height: 0em;
  margin: 0 auto;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 640px) {
  .loader {
    margin-top: 8rem;
    margin-bottom: 8rem;
    font-size: 6px;
  }
}

/*** Spinner ***/

.spinner {
  width: auto;
  margin: 0px auto;
  padding: 0 0.5rem;
  text-align: center;
  display: none;
}

.loading .spinner {
  display: inline-block;
  margin: 30px auto;
}

.btn.loading .spinner {
  margin: 0px auto;
}

.spinner > div {
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/***** DEBUG ******/
.debug_0 {
  display: none;
}
.debug_1 {
  display: block;
}
pre {
  white-space: pre-wrap;
  margin-top: 2rem;
  line-height: 1.6;
}
