/* IQES idp CSS V 3.0, SME, DAASI International (BS) */

/* FONTS */
@font-face {
  font-family: 'Neue Haas Grotesk';
  src: local('Neue Haas Grotesk Medium'), local('Neue-Haas-Grotesk--Medium'),
      url('fonts/NeueHaasDisplay-Mediu/NeueHaasDisplay-Mediu.woff2') format('woff2'),
      url('fonts/NeueHaasDisplay-Mediu/NeueHaasDisplay-Mediu.woff') format('woff'),
      url('fonts/NeueHaasDisplay-Mediu/NeueHaasDisplay-Mediu.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk';
  src: local('Neue Haas Grotesk Medium Italic'), local('Neue-Haas-Grotesk--Medium-Italic'),
      url('fonts/NeueHaasDisplay-MediumItalic/NeueHaasDisplay-MediumItalic.woff2') format('woff2'),
      url('fonts/NeueHaasDisplay-MediumItalic/NeueHaasDisplay-MediumItalic.woff') format('woff'),
      url('fonts/NeueHaasDisplay-MediumItalic/NeueHaasDisplay-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Neue Haas Grotesk';
  src: local('Neue Haas Grotesk Roman'), local('Neue-Haas-Grotesk--Roman'),
      url('fonts/NeueHaasDisplay-Roman/NeueHaasDisplay-Roman.woff2') format('woff2'),
      url('fonts/NeueHaasDisplay-Roman/NeueHaasDisplay-Roman.woff') format('woff'),
      url('fonts/NeueHaasDisplay-Roman/NeueHaasDisplay-Roman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk';
  src: local('Neue Haas Grotesk Roman Italic'), local('Neue-Haas-Grotesk--Roman-Italic'),
      url('fonts/NeueHaasDisplay-RomanItalic/NeueHaasDisplay-RomanItalic.woff2') format('woff2'),
      url('fonts/NeueHaasDisplay-RomanItalic/NeueHaasDisplay-RomanItalic.woff') format('woff'),
      url('fonts/NeueHaasDisplay-RomanItalic/NeueHaasDisplay-RomanItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
    font-family: 'iqes-icons';
    src: url('fonts/iqes-icons/iqes-icon.woff2') format('woff2'),
         url('fonts/iqes-icons/iqes-icon.woff') format('woff'),
         url('fonts/iqes-icons/iqes-icon.ttf')  format('truetype');
}
[class^="ico"], [class*=" ico"], .icon.cross, .icon.search {
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ------------------- */
* {
  box-sizing: border-box;
}


body {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00e5ac+0,00b572+50,00d200+100 */
  background: #33cc00;
  background: -moz-linear-gradient(135deg, #02d7ff 0%, #00b572 50%, #00d200 100%);
  background: -webkit-linear-gradient(135deg, #02d7ff 0%, #00b572 50%, #00d200 100%);
  background: linear-gradient(135deg, #02d7ff 0%, #00b572 50%, #00d200 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#02d7ff', endColorstr='#00d200', GradientType=1);
  height: 100%;
  overflow:hidden;
  background-repeat: no-repeat;
}

body,
input,
form label {
  font-family: 'Neue Haas Grotesk', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #000;
  letter-spacing: 0.04em;
  line-height: 1.5em;
}

a:link,
a:visited {
  color: #178748;
}

a:hover {
  color: #000000 !important;
}

form label {
  margin: 4px 0 4px 0;
  display: block;
}

.content {
  font-size: 18px;
  padding-bottom: 0;
}

.container {
  left: 50%;
  position: relative;
  width: 500px;
  background-color: #fff;
  padding: 2em;
  border-radius:6px;
  top:5vh;
  margin-left:-250px;
}

body>div>div>form>div>div:nth-child(2)>button {
  cursor: pointer !important;
  /*V2 SME geändert*/
}

form {
  width: auto;
  /*V2 SME geändert*/
}

.form-button:hover {
  background: #095128;
  color: #fff;
}

.form-element {
  width: auto;
}

.form-field {
  border: 1px solid #999999;
  font-size: 20px;
}

textarea,
input {
  color: #000 !important;
  background-color: #fff;
  opacity: 0.9;
}

textarea:focus,
input:focus {
  outline: none;
  opacity: 1;
  color: #000;
}

.search .form-control {
  padding-top: 10px;
}


.form-button {
  background: #178748;
  /* Old browsers */
  border-radius: 25px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 12px 20px 12px 20px;
  text-shadow: none;
  color: #fff !important;
  margin-top: 30px;
}

.button--secondary{
  background: transparent;
  color: #178748 !important;
  border: 1px solid #178748;
}
.button--secondary:hover{
  background:#1787480a;
}

button:focus {
  outline: none;
}

.wrapper {
  background: none;
  position:fixed;
  overflow-y: scroll;
  top: 0;
  left:0;
  right: 0;
  bottom:0;
  padding-top:0;
  padding-bottom:80px;
}

#password,
#username,
#tokencode,
input#j_tokenNumber,
#fudis_otp_input {
  width: 100%;
  border-radius: 0;
}

h1,
h2,
h3 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
}

h2 {
  margin-top: 1.5em;
}

a:link,
a:visited {
  color: #178748;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background: #fff none;
  color: rgb(0, 0, 0);
}

a {
  margin-top: 20px;
}

subheader {
  display: block;
}

subheader img {
  width: 200px;
}

.pwreset {
  margin-bottom: 20px;
}

/* Checkbox und Radio Buttons (by Benedikt Schnabel, DAASI International) */
.rad {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.rad>input {
  /* visibility: hidden; */
  opacity: 0;
  font-size: 30px;
  position: relative;
  margin-left: -22px;
}

.rad>i {
  font-family: iqes-icons, sans-serif;
  font-style: normal;
  font-size: 30px;
}

label.rad {
  display: flex;
  margin-bottom:10px;
}

.rad>i:before {
  content: "\e6cb";
  visibility: visible;
  position: static;
}

.rad:hover>i:before {
  content: "\e6ca";
}

.rad>input:checked+i:before {
  content: "\e6ca";
}


/*Start List Bullets (not used anymore since v3) */
.item-marker:before {
  font-family: iqes-icons, sans-serif;
  color: #000;
  content: "\e684";
  visibility: visible;
  font-size: 20px;
  vertical-align: -3px;
  margin-right: -8px;

}

.item-marker {
  visibility: hidden;
  display: none;
}

/*Form Error Messages*/
.form-error {
  color: #d32f2f;
  border: 1px solid #d32f2f !important;
  border-radius: 0;
  padding: 15px !important;
  font-size: 18px !important;
  line-height: 1.4em !important;
  margin-bottom: 30px !important;

}

.column.one {
  width: 100%;
  margin-right: 0;
}

/*End Form Error Messages*/


@media only screen and (min-width: 340px) and (max-width: 650px) and (orientation : portrait) {
  .container {
      top:2vh;
      left: 50%;
      margin-left: -150px;
      width: 300px;
      padding: 1em;
  }
  .wrapper {
      padding-bottom: 80px;
  }
  h1,
  h2,
  h3 {
      font-size: 28px !important;
  }
}
