
* {
  box-sizing: border-box;
}

body, html {
  font-family: sans-serif;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body.ixapi {
    background: none;
}

.embedded {

}

.logo-container {
  text-align: center;
}

.logo-container img {
    height: 600px;
}

.logo-partner {
  width: 130px;
}

.logo-amsix {
  width: 160px;
}

.logo-linx {
  padding-top: 15px;
  width: 210px;
}

.partners-container {
  display: flex;

  align-items: center;
  justify-content: center;
}

.partners-container img {
  display: flex;
}

main {
  padding: 15px;
}


main.app {
  display: flex;
  flex: 1 0;
  padding: 0px;
  margin: 0px;
  height: 100vh;
  overflow: auto;
  flex-direction: column;
  background: #ccc;
}

.app .container-center {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.app .app-container {
  display: flex;
  flex: 1;
}


.dialog {
  display: flex;
  flex-direction: column;
  background: #fff;
  background-repeat: no-repeat;
  background-image: url("../img/ix-api_lg_25.png");
  background-size: 150px;
  background-position: bottom -33px right -16px;
  border-radius: 4px;
  min-height: 400px;
  width: 800px
}


.dialog main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  color: #444;
  padding: 20px;
}

#content .page-header h1 {
  margin: 0px;
  margin-top: 5px;
  margin-bottom: 0rem;
  padding: 0px;
  color: #1fa7c7;
  font-size: 2.8rem;
  font-family: monospace;
  font-weight: bold;
}

#content .auth-info {
  overflow: hidden;
  padding: 0;
  margin: 0;
  margin-top: 1rem;
  margin-bottom: 3rem;
  font-family: monospace;
  font-size: 1rem;
  background: none;
  border: none;
}

.app-content h1,
.dialog main h1 {
  padding: 0px;
  margin: 0px;
  margin-top: 1em;
  margin-bottom: 1em;
  color: #1fa7c7;
  font-size: 2.8rem;
  font-family: monospace;
  font-weight: bold;
}

.dialog main h1 em {
  font-style: normal;
  color: #8aad38;
}

.dialog p {
  width: 60%;
}

.dialog label {
  font-family: monospace;
  font-weight: bold;
}

.dialog .hint {
  color: #555;
}

.dialog .error {
  color: #b74f4f;
  font-size: 0.9rem;
}

.dialog .actions {
  padding: 20px;
}

.dialog .flexblock p.actions-block {
  display: flex;
  justify-content: space-around;

  width: 100%;
}

.dialog-login {
  width: 400px;
  min-height: 350px;
}

.dialog-login tr {
}

.dialog-login td {
  padding: 8px 0px;
}

.dialog-login th {
  padding-right: 10px;
}

.dialog-login .flexblock {
    display: flex;
    flex-direction: column;
    flex-basis: 350px;
}

.dialog-login .flexblock p {
  display: flex;
  justify-content: center;
}

.dialog-login .actions {
    display: flex;
}

.app input[type="text"],
.app input[type="password"] {
  border: 1px solid #ddd;
  padding: 4px 1px;
  background: #f0f0f0;
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  outline: none;
}

.app input[type="text"]:focus-visible,
.app input[type="password"]:focus-visible {
  border: 1px solid #54cbb5;
}

.btn {
  font-family: monospace;
  font-size: 1rem;
  color: #fff;
  border: none;
  display: inline-block;
  text-decoration: none;
  padding: 12px;
  background: #888;
  border-radius: 3px;
  box-shadow: 0px 1px 2px #222;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
    text-shadow: none;
    color: #fff;
}

.btn:active {
  box-shadow: 0px 1px 3px #999 inset;
}

.btn-primary {
  background: linear-gradient(180deg, #D15FCB, #8a5fd1);
  text-shadow: 0px -1px 1px #666;
}

.btn-alternative {
/*  background: linear-gradient(180deg, #D15FCB, #8a5fd1); */
  background: linear-gradient(180deg, #BEF002, #00859b);
  text-shadow: 0px -1px 1px #666;
}

.btn-cancel {
  background: linear-gradient(180deg, #778fb9, #8f8f8f);
  text-shadow: 0px -1px 1px #666;
}

.btn-danger {
  background: linear-gradient(180deg, #b74f4f, #7c0000);
  text-shadow: 0px -1px 1px #666;
}


.btn:visited {
  color: #fff;
}

.btn-login {
  width: 50%;
}

.btn-text {
    box-shadow: none; 
    padding: 4px 12px;
}


.app-content section {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-content .nav {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.app-content .nav .btn {
  font-size: 1.2rem;
}

.app-content .nav ul {
  display: flex;
  flex: 1;
  list-style: none;
  padding: 0px;
  margin: 0px; 
}

.app-content .nav ul li {
  margin-right: 20px;
}

.btn-logout {
  width: 25%;
}

main .inline {
  display: inline; 
}

body > .wrapper {
  height: 100vh;
  flex-direction: column;
  display: flex;
  position: relative;
  top: 0; 
  left: 0;
  padding: 0;
  margin: 0;
  min-height: 100%;
}


#content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content-wrap {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
}

.content-wrap > * {
  margin: 15px;
}

.ixapi #content .content-main {
  position: relative;
  flex: 0 1 65%;
}
.ixapi #content .content-aside {
  flex: 1;
}

.ixapi #content .content-aside p {
  width: 75%;
}

.ixapi #content  .breadcrumb {
  margin: 15px;
  margin-top: 40px;
  border: 1px solid #ddd;
}

.ixapi .content-wrap .request-form {
  right: 0;
  top: 0;
  position: absolute;
}

.ixapi .wrapper > .container {
  display: flex;
  flex-direction: row;
  flex: 1 1;
  overflow-y: auto;
  width: 100%;
}

.ixapi .app-container {
  display: flex;
  flex-direction: row;
  flex: 1;
  align-items: center;
  overflow-y: auto;
  width: 100%;
}

.ixapi .header {
  display: flex;
  flex: 0 0 55px;

  justify-content: space-between;
  align-items: center;

  background: #2C2C2C;
  box-shadow: 0px 2px 4px #bbb;

  padding: 10px 20px;
  margin: 0px;

  width: 100%;

  top: 0;
}

.ixapi .header .segment {
  display: flex;
  flex-direction: column;
  flex: 0;
  height: 100%;
  padding: 0;
}

.ixapi .header .actions {
  display: flex;
  padding: 0px;
  margin: 0px;
  flex: 1 0;
}


.ixapi .header .actions .btn-group {
  display: flex;
}
/*
.ixapi .header .actions li {
  display: flex;
  flex: 1;
}

.ixapi .header .actions .btn {
  display: flex;
  align-items: center;
  margin-left: 10px;
  padding: 0px 25px;
}
*/

.header .logo-wrapper {
  display: flex;
  width: 100%;
}


.ixapi .header .logo {
  display: flex;
  align-items: center;
  flex: 1 0;

  width: 135px;
  padding: 0px 15px;

  border-radius: 5px;
  background: #fafafa;
}

.app-content {
  display: flex;
  padding: 30px;
  padding-top: 50px;
  flex: 1;
  flex-direction: row;
  background: #fff;
  background-repeat: no-repeat;
  background-image: url("../img/ix-api_lg_25.png");
  background-size: 550px;
  background-position: bottom -120px right -120px;
  width: 1024px;
  height: 100%;
}

.app-aside {
  display: flex;
  flex-direction: column;
  flex: 0 1 25%;
  height: 100%;
}

.partners {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.partners a {
  width: 220px;
  height: 180px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #fff; 
  border-radius: 5px;
  margin: 20px;
}

.errorlist {
  color: #b74f4f;
  font-size: 0.9rem;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.form-form {   
    background: #ccc;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.form-form .form-fields {
   display: flex;
   flex-direction: column;
   background: #eee;
   box-shadow: 0px 1px 2px #bbb;
   padding: 10px;
}

.form-form .form-label-field {
    display: flex;
    flex-direction: row;
}

.form-form .form-label-field .form-field-input {
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex: 1;
    background: #fff;
    border: 1px solid #ccc;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
}

.form-form .form-field-id_with_subcustomers .form-field-input {
    flex: 0 1 70px;
}

.form-form .form-label-field label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0;
    justify-content: center;
    background: #ccc;
    padding: 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-weight: bold;
    font-family: monospace;
    margin: 0px;
}

.form-form p.help {
    padding: 0px;
    margin: 5px 0px 10px 0px;
    font-size: 1.2rem;
    color: #222;
}

.form-form .form-actions {
    display: flex;
    padding: 10px;
    flex-direction: row;
    justify-content: end; 
}

.form-form .form-actions .btn {
    display: flex;
    padding: 10px;
    font-size: 1.2rem;
    box-shadow: none;
    border-radius: 8px;
}

.embedded .form-form .form-actions .btn-primary,
.embedded .btn.btn-primary,
.embedded .btn.btn-text.btn-primary {
    border-radius: 8px;
    box-shadow: none; 
    background-image: linear-gradient(159deg, #ffe000 0%, #ff2bb1 100%);
    color: #fff;
    padding: 10px;
    font-size: 1.2rem;
    box-shadow: none;
    border-radius: 8px;
}
.embedded .btn.btn-text.btn-primary {
    text-shadow: 0px -1px 1px #999;
}
.embedded .btn:hover {
}

.form-form input[type="checkbox"] {
    flex: 1 0;
    padding: 10px;
    border: none;
    border: 1px solid #ccc;
}

.form-form input[type="text"] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    border: none;
    margin: 0 !important;
    padding: 0 10px !important;
    background: #ffffff;
}

.form-form .errorlist {
    font-size: 0.8rem;
    font-family: monospace;
    padding: 0px;
    margin: 10px 20px;
}

.create-account-form {
    border-radius: 8px;
    width: 40%;
    margin-left: 25px;
}

.dialog.signup .create-account-form {
   width: 100%;
   margin-left: 0px;
}

.dialog.signup .create-account-form form {

}

.embedded .create-account-form {
    margin-left: 0px;
    width: 65%;
    border-radius: 10px;
}

.embedded .create-account-form.form-form {
    background: #eee;
}
.embedded .form-fields {
    box-shadow: none;
}

.embedded .cookie-hint {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
    width: 50%;
}


.remote-form {
    width: 60%;
    border: none;
    margin-left: 20px;
    height: 300px;
}

.frontpage pre,
.embedded pre {
    background: none;
    border: none;
}


