
html {
  margin: 0 auto;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
  background-color: #f5f5f5;
}

.footer {
  flex-shrink: 0;
}

hr {
  border: none;
}

body {
  font-family: Verdana, Arial, sans-serif;
  color: white;
  background-color: #f5f5f5;
}

.header__nav {
  grid-template-columns: 266px auto 41px !important;
  grid-template-rows: 34px;
}

.header__log-in-button {
  display: none !important;
}

.header__toggle-nav-button {
  grid-column: 3 !important;
}

.main {
  width: 96%;
  margin: 50px auto 50px auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 67% 2% 31%;
  grid-template-columns: 67% 31%;
  grid-column-gap: 2%;
}

.main__p {
  padding: 0px 30px 0 30px;
}

.main__p--bold {
  padding: 0;
  font-weight: bold;
}

.main__h3 {
  padding: 0 30px 20px 30px;
  font-size: 1.15em;
}

.main__h2 {
  padding: 0 30px;
  font-size: 1.3em;
}

.main__plans {
  background-color: #007ab0;
  margin-top: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border: 0;

}

.main__h1 {
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-column: 1 / -1;
  background-color: #0098d4;
  box-sizing: border-box;
  width: 100%;
  font-size: 20px;
  margin: 0 0 10px 0;
  padding: 10px 0 10px 30px;
}

/*.tabs {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: 50% 50%;
  width: 60%;
  margin: 27px auto 0.6em auto;
  text-align: center;
}
.tabs__item {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  background-color: #0098d4;
  display: grid;
  grid-template-columns: 100%;
  border: 1px solid white;
}
.tabs__link {
  justify-self: center;
  align-self: center;
  font-size: 20px;
  color: inherit;
  text-decoration: none;
}
.tabs__link:hover {
  text-decoration: underline;
}
.ui-tabs-active {
  background-color: #f5f5f5;
  color: #0098d4;
}
.main__tab-content {
  grid-column: 1 / span 2;
  grid-row: 2;
  width: 100%;
  padding: 30px 0 40px 0;
  display: none;
  display: grid;
  grid-template-columns: 50% 50%;
} */

.main__plan-description {
  width: 100%;
}

.tab {
  background-color: #0098d4;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  width: 70%;
  margin: auto;
  position: relative; /* In order to work in FireFox */
  min-height: 44px;

}

/* Style the buttons inside the tab */
.tab button,
.tab .button {
  border: none;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  width: 50% ;
  min-height: 44px;
  font-size: 18px;
  box-sizing: border-box;
  padding: 13px;
  text-align: center;
  height: auto;
}

/* Change background color of buttons on hover */
.tab button:hover,
.tab .button:hover {
  text-decoration: underline;
}

/* Create an active/current tablink class */
.tab button.active,
.tab .button.active {
  background-color: white;
  color: #0098d4;
}

/* Style the tab content */
.tabcontent {
  display: none;
  grid-column: 1/ span 2;
  grid-row: 1/ span 2;
}

.tabcontent__in {
  display: grid;
  grid-template-columns: 55% 45%;
}

.show {
  display: block;
}

.tabs {
  display: grid;
  grid-template-columns: 55% 45%;
  padding: 35px 20px 50px 0;
}

.main__form {
  width: 100%;
  align-self: start;
  margin-top: 3.8em;
  display: grid;
  grid-template-columns: 100%;
  grid-row-gap: 0.6em;
}

.input {
  font-size: 14px;
  height: 30px;
  padding: 8px;
  border: none;
  border-radius: 1px;
  color: #585756;
}

.input::placeholder {
  color: rgb(162, 162, 162);
  font-weight: lighter;
}

.form__extra {
  width: 70%;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.remember-container {
  font-size: 13px;
  display: flex;
  align-items: center;
}

.checkbox {
  margin: 0 6px 0 0;
}

.form__button {
  margin: 0.5em auto 0.5em auto;
  width: 100% !important;
}

.forgot-password {
  color: white;
  font-size: 13px;
  cursor: pointer;
}
.forgot-password-text {
  font-size: 12px;
  margin-top: 10px;
}
.kontakt-support-button {
  margin: 15px 0;
  padding: 7px 10px;
}
.forgot-password-arrow {
  width: 12px;
  display: inline-block;
  margin-right: 3px;
}
.arrow-hidden {
  display: none;
}
.app {
  align-self: start;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app__p {
  color: #585756;
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.app__img {
  margin: 0 auto;
  width: 198px;
}
.app__buttons {
  margin: 15px auto 0 auto;
}
.app__button-container {
  background-color: #0098d4;
  width: 150px;
  height: 38px;
  border-radius: 3px;
  padding: 7px 6px 8px 6px;
  border: 1px solid white;
}
.app__button-container:hover {
  background-color: #1eacea;
}
.app__button-container--left {
  margin-right: 5px;
  float: left;
}
.app__button-container--right{
  margin-left: 5px;
  float: right;
}
.app__button:hover {
  text-decoration: none;
}

.app__button-img {
  float: left;
  margin-right: 10px;
  margin-left: 5px;
  margin-top: 2px;
}
.app__button-img--apple {
  width: 30px;
}
.app__button-img--google {
  width: 30px;
}
.app__button-p {
  font-size: 10px;
  line-height: 1.4;
}
.app__button-p--big {
  font-size: 16px;
}
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
input[type="text"], input[type="password"] {
  width: 70%;
  margin: auto;
  height: 38px;
  padding: 8px;
  font-size: 14px;
  box-sizing: border-box;
  min-width: 247px;
}
.footer__link:hover {
  text-decoration: none;
}
.ui-tabs .ui-tabs-nav li {
  position: relative; /* in order to work in FireFox for some reason */
}

@media screen and (max-width: 1510px) {
  html {
    *margin: 0 !important;
  }
  .header {
    *width: 100% !important;
  }
}

@media (max-width: 1190px) {
  .main {
    grid-template-columns: 100%;
  }
}

@media (max-width: 768px) {
  .tabs {
    grid-template-columns: 100%;
    padding-right: 0;
  }

  .tab {
    grid-column: 1;
    width: 52.5%;
  }

  .tabcontent__in {
    grid-template-columns: 100%;
  }

  .main__tab-content {
    grid-template-columns: 100% !important;
    grid-template-rows: auto;
    grid-row-gap: 50px;
  }

  .main__form {
    grid-row: 1;
    width: 75%;
    margin: 3.8em auto 0 auto;
  }

  .main__plan-description {
    grid-row: 2;
    grid-column: 1;
    margin-top: 50px;
  }
}

@media (max-width: 530px) {
  input[type="text"], input[type="password"] {
    width: 85%;
    min-width: 220px;
  }

  .form__extra {
    width: 85%;
  }

  .tab {
    width: 63.75%;
  }

  .header__nav {
    grid-template-columns: 44% auto !important;
  }

}

@media (max-width: 400px) {
  main.main {
    padding-top: 0px;
  }

  .main__form {
    width: 100%;
    margin-top: 4.2em;
  }

  .tab {
    width: 85%;
  }

  .tabs__link {
    font-size: 16px;
  }

  label {
    font-size: 14px;
  }

  .forgot-password {
    font-size: 14px;
  }

  .app {
    -ms-grid-row: 1;
    grid-row: 1;
    margin-top: 25px;
  }

  .app__p {
    display: none;
  }

  .app__img {
    display: none;
  }
}

@media (max-width: 395px) {
  .app__buttons {
    width: 100%;
  }
  .app__button-container--left, .app__button-container--right {
    float: none;
    margin: 10px auto;
  }
}

@media (max-width: 345px) {

}
.logined-persistent {
  display: none;
  margin: 54px auto 0;
  padding: 20px 0;
  width: 250px;
}

.logined-persistent p {
  margin-top: 5px;
  margin-bottom: 10px;
}

.logined-persistent .logined-fullname {
  text-align: center;
  word-break: break-word;
}

.logined-persistent .logined-button {
  text-align: center;
}
