/* Document */

body {
  font-family: 'Comfortaa', sans-serif;
}
img, svg, video, audio {
  max-width: 100%;
}
p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
}
b, strong {
  font-weight: 400;
}
a:not([href]):not([role="button"]) {
  color: #007bff; /* Bootstrap Primary */
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
}
a:not([href]):not([role="button"]):hover {
  color: #0056b3; /* Bootstrap Primary link hover color */
  text-decoration: underline;
  cursor: pointer;
}
.btn-wrapper .btn {
  margin: .5rem 0;
}
.input-group {
  align-items: center;
}

/* Base */

/* Header */
.badge-notification {
  position: absolute;
  top: -5px;
  left: -10px;
}
.badge-notification-desktop {
  top: -3px;
  left: -3px;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Merkury Regular', 'Comfortaa', cursive;
}

#mobile-login-message {
    text-align: center;
}

#desktop-other-device-message {
    text-align: center;
}

/* Links */
.btn-just-link,
a.btn-just-link,
.btn-just-link:hover,
a.btn-just-link:hover {
  color: initial;
  text-decoration: none;
}

/* Tabular Data */
.clickable-row {
  cursor: pointer;
  background-color: rgba(0, 123, 255, .05); /* Bootstrap Primary tinted */
}
.clickable-row:hover {
  background-color: rgba(0, 123, 255, .1); /* Bootstrap Primary tinted */
}
.table-collapse > td {
  line-height: 0;
  margin:0;
  padding:0;
  border:0;
}
.table-collapse table {
  line-height: initial;
  margin-top: 1rem;
}
.table-collapse table thead th {
  border:0;
}

/* Dialog */

/* Modal */
.modal .modal-header {
  border-bottom: none;
  padding: 2rem 2rem 1rem;
}
.modal .modal-title-help {
  color: #e67e22;
}
.modal .modal-body {
  padding: 1rem 2rem;
}
.modal .modal-footer {
  border-top: none;
  padding: 1rem 2rem 2rem;
}

/* Popover */
.popover {
  border-color: #e67e22;
}
.popover.bs-popover-top .arrow::before {
  border-top-color: #e67e22; /* Carrot */
}
.popover.bs-popover-right .arrow::before {
  border-right-color: #e67e22; /* Carrot */
}
.popover.bs-popover-bottom .arrow::before {
  border-bottom-color: #e67e22; /* Carrot */
}
.popover.bs-popover-left .arrow::before {
  border-left-color: #e67e22; /* Carrot */
}
.popover .popover-header {
  background-color: transparent;
  border-bottom: none;
  padding: .75rem .75rem 0;
}

.tooltip.bs-tooltip-top .arrow::before {
  border-top-color: #e67e22; /* Carrot */
}
.tooltip.bs-tooltip-right .arrow::before {
  border-right-color: #e67e22; /* Carrot */
}
.tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #e67e22; /* Carrot */
}
.tooltip.bs-tooltip-left .arrow::before {
  border-left-color: #e67e22; /* Carrot */
}
.tooltip-inner {
  background-color: #e67e22; /* Carrot */
}


/* Forms */

form .btn-just-link,
form a.btn-just-link {
  display: flex;
  align-items: center;
}

/* Big Form Box */
.big-form-box,
a.big-form-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
  margin-bottom: 1rem;
}
.big-form-box .big-form-box-icon {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 1.5rem 1rem;
  cursor: default;
  justify-content: left;
}
.big-form-box .big-form-box-icon div {
  display: inline-block;
  font-weight: bold;
  line-height: 5rem;
  width: 5rem;
  text-align: center;
  color: #fff;
  background-color: #000;
  border-radius: 50%;
  font-size: 2.25rem;
}
.big-form-box .big-form-box-content {
  padding: 0 2rem 2rem;
}
.big-form-box.primary .big-form-box-icon div {
  background-color: #007bff; /* Bootstrap Primary */
}
.big-form-box.success .big-form-box-icon div {
  background-color: #28a745; /* Bootstrap Success */
}
.big-form-box.danger .big-form-box-icon div {
  background-color: #dc3545; /* Bootstrap Danger */
}
.big-form-box.warning .big-form-box-icon div {
  background-color: #ffc107; /* Bootstrap Warning */
}
.big-form-box.dark-white .big-form-box-icon div {
  background-color: #dadada; /* Graphic charter Dark white */
}
@media (min-width: 768px) {
  .big-form-box,
  a.big-form-box {
    flex-direction: row;

  }
  .big-form-box .big-form-box-icon {
      flex-grow: 1;
  }
    .big-form-box .big-form-box-content {
        padding: 2rem;
        flex-grow: 15;
    }
}

/* Buttons */
.btn-form {
  border-radius: 10rem;
  padding: .375rem 1rem;
}

/* Checkbox Field */
.custom-checkbox {
  padding-left: 2.75rem;
  min-height: 2.5rem;
}
.custom-checkbox input {
  width: 3rem;
  height: 2.25rem;
  cursor: pointer;
  z-index: auto;
}
.custom-checkbox .custom-control-label {
  line-height: 2.5rem;
  cursor: pointer;
}
.custom-checkbox .custom-control-label::before {
  left: -2.75rem;
  width: 2rem;
  height: 2rem;
}
.custom-checkbox .custom-control-label::after {
  top: 0;
  left: -2.25rem;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  color: #fff;
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  font-weight: 900;
  background: none;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Checkbox Single Field */
.custom-switch {
  padding-left: 4.25rem;
  min-height: 2.5rem;
}
.custom-switch input {
  width: 4.5rem;
  height: 2.25rem;
  cursor: pointer;
  z-index: auto;
}
.custom-switch .custom-control-label {
  line-height: 2.25rem;
  cursor: pointer;
}
.custom-switch .custom-control-label::before {
  left: -4.25rem;
  width: 3.75rem;
  pointer-events: all;
  border-radius: 10rem;
  height: 2rem;
}
.custom-switch .custom-control-label::after {
  top: calc(.25rem + 2px);
  left: calc(-4.25rem + 2px);
  width: calc(2rem - 4px);
  height: calc(2rem - 4px);
  border-radius: 10rem;
}
.custom-switch .custom-control-input:checked~.custom-control-label::after {
  background-color: #fff;
  -webkit-transform: translateX(1.75rem);
  transform: translateX(1.75rem);
}

/* Text field */
.btn-disabled,
a.btn-disabled {
  color: #dadada; /* Graphic charter Dark white */
}


/* Patterns */

/* Alerts */
.alert {
  display: flex;
  align-items: center;
}
.alert-content {
  width: 100%;
}
.alert .btn {
  margin:0;
  padding:0;
}

/* Big Help Box */
.big-help-box,
a.big-help-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e67e22; /* Carrot */
    border-radius: .3rem;
    outline: 0;
    margin-bottom: 1rem;
    background-color: rgba(230, 126, 34, .05); /* Carrot */
    cursor: pointer;
    width: 100%; /* Set the width to 100% */
    max-width: 1000px; /* Set a maximum width */
    margin: 0 auto; /* Center the box horizontally */
}
.big-help-box:hover {
  text-decoration: none !important;
  background-color: rgba(230, 126, 34, .075); /* Carrot */
}
.big-help-box .big-help-box-icon {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 1.5rem 1rem;
  cursor: pointer;
}
.big-help-box .big-help-box-icon div {
  display: inline-block;
  font-weight: bold;
  line-height: 5rem;
  width: 5rem;
  text-align: center;
  color: #fff;
  background-color: #e67e22; /* Carrot */
  border-radius: 50%;
  font-size: 2.25rem;
}
.big-help-box .big-help-box-content {
  color: #e67e22; /* Carrot */
  padding: 0 2rem 2rem;
  text-align: center;
}
.big-help-box .big-help-box-content h5 {
  font-weight: 700;
  margin:0;
}
@media (min-width: 768px) {
  .big-help-box,
  a.big-help-box {
    flex-direction: row;
  }
  .big-help-box .big-help-box-content {
    text-align: left;
    padding: 2rem;
  }
}

/* Big Link Box */
.big-link-box,
a.big-link-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
  margin: .5rem;
  background-color: rgba(0, 123, 255, .05);
  padding: 0 0 1rem;
}
.big-link-box:hover {
  text-decoration: none !important;
  background-color: rgba(0, 123, 255, .1);
}
.big-link-box .big-link-box-icon {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 1.5rem 1rem;
  cursor: pointer;
}
.big-link-box .big-link-box-icon div {
  display: inline-block;
  font-weight: bold;
  line-height: 5rem;
  width: 5rem;
  text-align: center;
  color: #fff;
  background-color: #000;
  border-radius: 50%;
  font-size: 2.25rem;
}
.big-link-box .big-link-box-content {
  color: initial;
  padding: 0 2rem;
  text-align: center;
}
.big-link-box .big-link-box-content h5 {
  font-weight: 700;
  margin:0;
}
.big-link-box.primary {
  border-color: #007bff; /* Bootstrap Primary */
}
.big-link-box.success {
  border-color: #28a745; /* Bootstrap Success */
}
.big-link-box.danger {
  border-color: #dc3545; /* Bootstrap Danger */
}
.big-link-box.warning {
  border-color: #ffc107; /* Bootstrap Warning */
}
.big-link-box.dark-white {
  border-color: #dadada; /* Graphic charter Dark white */
}
.big-link-box.primary .big-link-box-icon div {
  background-color: #3498db; /* Bootstrap Primary */
}
.big-link-box.success .big-link-box-icon div {
  background-color: #28a745; /* Bootstrap Success */
}
.big-link-box.danger .big-link-box-icon div {
  background-color: #dc3545; /* Bootstrap Danger */
}
.big-link-box.warning .big-link-box-icon div {
  background-color: #ffc107; /* Bootstrap Warning */
}
.big-link-box.dark-white .big-link-box-icon div {
  border-color: #dadada; /* Graphic charter Dark white */
}
@media (min-width: 768px) {
  .big-link-box,
  a.big-link-box {
    flex-direction: row;
    padding: 0 .75rem;
  }
  .big-link-box .big-link-box-content {
    text-align: left;
    padding: 2rem;
  }
}

/*--------- CUSTOM ---------*/

h1 {font-size: 1.5rem;}

@media(min-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
}

.login-option-container {
    flex-direction: column;
    margin: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #6c757d;
    border-radius: 4px;
}

.login-option-icon {
    display: flex;
    align-content: center;
    justify-content: center;
}

    .login-option-icon div {
        background-color: #28a745;
        line-height: 5rem;
        width: 5rem;
        text-align: center;
        border-radius: 50%;
        font-size: 2.25rem;
        color: white;
    }

.login-option-content {
    padding: .5rem;
    align-items: center;
}

.login-option-header {
    text-align: left;
    padding: 1rem;
}

.login-option-body {
    padding: 1rem 3rem;
}

.login-option-content:hover {
    background-color: #dadada;
    cursor: pointer;
    border-radius: 4px;
}

.login-option-icon.siteir div {
    background-color: #007bff !important;
}

.login-option-icon.siteiv div {
    background-color: #28a745 !important;
}

.login-option-icon.minasidor div {
    background-color: #dc3545 !important;
}

#ir-title {
    color: #007bff;
}

#iv-title {
    color: #28a745;
}

#minasidor-title {
    color: #9d2235;
}

#PnrInputs {
    display: flex;
    flex-direction: column;
}

#Personnummer {
    width: 100%;
}

@media(min-width: 576px) {
    #PnrInputs {
        flex-direction: row;
    }
    #Personnummer {
        width: auto;
    }
}