/* styles for the cms */

fieldset {
  border: none;
  padding: 0;
}

/* Forms */

/* .userform-section {
      margin: 50px 0;
  } */

.userform .Actions {
  margin-top: 40px;
  padding: 0 15px;
}

.userform fieldset {
  padding: 0;
  margin: 0;
}

form .text-field--required .text-field__label::after {
  /* pseudo element adds an asterisk to a required fields label */
  color: #144a81;
  content: "*";
  font-size: 17px;
  font-weight: normal;
  padding-left: 3px;
}

/* Uploadfield */

.userform .file[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.userform .file[type="file"] + label {
  background-color: #144a81;
  border: 1px solid #144a81;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "NettoWebPro", -apple-system, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 2;
  padding: 3px 20px;
  text-decoration: none;
  transition: transform 0.6s ease-out 0s, -webkit-transform 0.6s ease-out 0s;
}

.userform .file[type="file"]:focus + label,
.userform .file[type="file"] + label:hover {
  background-color: #0f3861;
}

/* Send-Button */

.userform .Actions input.action,
.step-navigation .step-buttons .step-button-wrapper .step-button-prev,
.step-navigation .step-buttons .step-button-wrapper .step-button-next {
  background-color: #144a81;
  border: 1px solid #144a81;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "NettoWebPro", -apple-system, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 2;
  padding: 3px 20px;
  text-decoration: none;
  transition: transform 0.6s ease-out 0s, -webkit-transform 0.6s ease-out 0s;
}

.userform .Actions input.action {
  background-color: #144a81;
  border: 1px solid #144a81;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "NettoWebPro", -apple-system, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 2;
  padding: 3px 20px;
  text-decoration: none;
  transition: transform 0.6s ease-out 0s, -webkit-transform 0.6s ease-out 0s;
  float: left;
}

.userform .Actions input.action:focus,
.userform .Actions input.action:hover {
  background-color: #0f3861;
}

/* Step Buttons */

.step-navigation .step-buttons {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding: 0 15px;
}

.step-navigation .step-buttons .step-button-wrapper:nth-child(1) {
  float: left;
}

.step-navigation .step-buttons .step-button-wrapper:nth-child(2) {
  float: right;
}

.step-navigation .step-buttons .step-button-wrapper:nth-child(3) {
  float: right;
  margin-top: 0;
}

/* clean button */

.userform .resetformaction {
  border-color: #144a81;
  display: inline-block;
  border: 1px solid #144a81;
  border-top-color: rgb(20, 74, 129);
  border-right-color: rgb(20, 74, 129);
  border-bottom-color: rgb(20, 74, 129);
  border-left-color: rgb(20, 74, 129);
  border-radius: 4px;
  text-decoration: none;
  font-family: "NettoWebPro", -apple-system, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 2;
  padding: 3px 20px;
  cursor: pointer;
  transition: -webkit-transform .6s ease-out;
  transition: transform .6s ease-out;
  transition: transform .6s ease-out, -webkit-transform .6s ease-out;
  color: #144a81;
  background-color: transparent;
  float: right;
}

.userform .resetformaction:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* error */

.userform span.error {
  color: #144a81;
  position: relative;
  display: block;
  top: 5px;
}

input.text-field__input.error {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: transparent;
  border-image: none;
  border-radius: 0 0 0 4px;
  font-family: "NettoWebPro", -apple-system, system-ui, sans-serif;
  font-size: inherit;
  height: 40px;
  line-height: 22px;
  border-bottom: 2px solid #144a81;
  border-left: 2px solid #144a81;
  outline: 0 none;
  padding: 10px 8px 7px 9px;
}

/*
  .mdc-checkbox .error + label:before {
      border: 1px solid #144a81 !important;
      color: #144a81;
  }
  */

.mdc-checkbox .error + label + span.error {
  display: block;
  font-weight: 700;
}

/* End Forms */

/* News */

body.News .media-carousel__image {
  padding-bottom: 40px;
}

/* End News */

/* Table */

.dtable thead td {
  border-top: 1px solid #c4c7c8;
  vertical-align: bottom;
}

.dtable thead td .dtable__thumb {
  margin-bottom: 10px;
  padding: 10px;
}

.dtable thead td .dtable__heading {
  border-top: 1px solid #c4c7c8;
  padding: 10px;
}

/* Login */

#MemberLoginForm_LoginForm #MemberLoginForm_LoginForm_Email_Holder,
#MemberLoginForm_LoginForm #MemberLoginForm_LoginForm_Password_Holder {
  margin-bottom: 15px;
}

#MemberLoginForm_LoginForm #ForgotPassword,
#MemberLoginForm_LoginForm #MemberLoginForm_LoginForm_Remember_Holder {
  margin: 15px 0;
}

#UserForm_Form .Actions {
  padding: 0 15px;
}

#MemberLoginForm_LoginForm .Actions input.action {
  background-color: #144a81;
  border: 1px solid #144a81;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "NettoWebPro", -apple-system, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 2;
  padding: 3px 20px;
  text-decoration: none;
  transition: transform 0.6s ease-out 0s, -webkit-transform 0.6s ease-out 0s;
}

section#login-content p#MemberLoginForm_LoginForm_error {
  padding: 0 15px;
  margin-bottom: 20px;
}

section#login-content .content p {
  padding: 0 15px;
  margin-bottom: 20px;
}

section.login h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: normal;
  margin: 10px 0 20px;
  padding-left: 15px;
}

/* CMS-Tooltip */

a.tooltip-cms {
  position: relative;
}

a.tooltip-cms::after {
  content: attr(alt);
  position: absolute;
  bottom: 130%;
  left: 20%;
  background: #eff0f1;
  padding: 5px 15px;
  color: black;
  white-space: nowrap;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  margin-bottom: 5px;
}

@media (min-width: 767px) {
  a.tooltip-cms::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 20px solid #eff0f1;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    opacity: 0;
    left: 30%;
    bottom: 90%;
    margin-bottom: 5px;
  }
}

@media (max-width: 767px) {
  a.tooltip-cms::after {
    width: 220px;
    white-space: normal;
    left: 0;
  }
}

a.tooltip-cms:hover::after {
  bottom: 100%;
}

a.tooltip-cms:hover::before {
  bottom: 70%;
}

a.tooltip-cms:hover::after,
a:hover::before {
  opacity: 1;
}

/* styles editor */

.text--blue {
  color: #144a81;
}