html {
  height: 100%;
}

body {
  display: flex;
  height: 100%;
  background: #131722;
  background-image    : url('../img/login/fondologin.png');
  background-repeat   : no-repeat;
  background-position : center;
  background-size     : cover;
  backdrop-filter: blur(6px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

body > form {
  display: flex;
  justify-content: center;
  width: 35%;
  max-height: 466px;
  align-items: stretch;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

body > form > section.tr-login-view {
  display: flex;
  position: relative;
  min-width: 300px;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

body > form > section.tr-login-view > * {
  width: 240px;
}

body > form > section > header {
  display: flex;
  min-height: 100px;
  align-items: center;
}

body > form > section > header > img {
  width: 215px;
  fill: #4f535c;
}

body > form > section > section {
  display: flex;
  align-items: stretch;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

body > form > section > footer {
  min-height: 100px;
}

body > form > section > section > section.tr-login-field {
  display: flex;
  flex-direction: column;
}

body > form > section > section > section.tr-login-field > div {
  display: flex;
  padding-top: 5px;
  padding-bottom: 15px;
  color: #ee2727;
}

body > form > section > section > section.tr-login-field > div > span {
  font-size: 12px;
}

body > form > section > section > section.tr-login-field > div.tr-signup-check {
  color: #000;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  label
  > i {
  font-style: normal;
  color: #1474b7;
  font-weight: bold;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  input[type="checkbox"] {
  display: none;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  input[type="checkbox"]
  + label {
  display: block;
  position: relative;
  padding-left: 29px;
  margin-bottom: 20px;
  font: 14px/20px "Open Sans", Arial, sans-serif;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  input[type="checkbox"]
  + label:last-child {
  margin-bottom: 0;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  input[type="checkbox"]
  + label:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border: 1px solid #94969a;
  position: absolute;
  left: 0;
  top: 2px;
  opacity: 0.6;
  -webkit-transition: all 0.12s, border-color 0.08s;
  transition: all 0.12s, border-color 0.08s;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  input[type="checkbox"].tr-inp-error
  + label:before {
  border-color: #ee2727;
}

body
  > form
  > section
  > section
  > section.tr-login-field
  > div.tr-signup-check
  input[type="checkbox"]:checked
  + label:before {
  width: 8px;
  border-color: #3ed72a;
  top: -2px;
  left: 2px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

body > form > section > section > section.tr-login-field > footer {
  display: flex;
  padding: 10px 0px;
  padding-top: 0px;
  align-items: center;
  justify-content: space-between;
}

body > form > section > section > section.tr-login-field > footer > a {
  color: #979ea3;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

body > form > section > section > section.tr-login-field > footer > a:hover {
  color: #82898f;
}

body > form > section > section > section.tr-login-separator {
  display: flex;
  padding: 10px 0px;
  align-items: center;
}

body > form > section > section > section.tr-login-separator > div {
  height: 1px;
  border-bottom: 1px dashed #e0e2e5;
  flex: 1;
}

body > form > section > section > section.tr-login-separator > span {
  margin: 0px 11px;
  color: #78828a;
  font-size: 14px;
}

body > form > section > section > section.tr-login-oauth {
  display: flex;
  min-height: 40px;
  padding: 10px 0px;
  flex-direction: column;
}

body > form > section > section > section.tr-login-oauth > a {
  margin-bottom: 14px;
  padding: 0px;
}

body > form > section > section > section.tr-login-oauth > div > a {
  padding: 0;
  flex: 1;
  margin-left: 5px;
  margin-right: 5px;
}

body > form > section > section > section.tr-login-oauth > div > a:first-child {
  margin-left: 0px;
}

body > form > section > section > section.tr-login-oauth > div > a:last-child {
  margin-right: 0px;
}

body > form > section > section > section.tr-login-oauth > a:last-child,
body > form > section > section > section.tr-login-oauth > div > a:last-child {
  margin-bottom: 0px;
}

body
  > form
  > section
  > section
  > section.tr-login-oauth
  > a
  > div.tr-login-oauth-icn,
body
  > form
  > section
  > section
  > section.tr-login-oauth
  > div
  > a
  > div.tr-login-oauth-icn {
  display: flex;
  width: 39px;
  min-width: 39px;
  max-width: 39px;
  height: 39px;
  border-radius: 2px 0px 0px 2px;
  background: rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
}

body
  > form
  > section
  > section
  > section.tr-login-oauth
  > a
  > div.tr-login-oauth-icn
  > svg,
body
  > form
  > section
  > section
  > section.tr-login-oauth
  > div
  > a
  > div.tr-login-oauth-icn
  > svg {
  width: 19px;
  height: 19px;
  fill: #fff;
}

body
  > form
  > section
  > section
  > section.tr-login-oauth
  > a
  > div.tr-login-oauth-name,
body
  > form
  > section
  > section
  > section.tr-login-oauth
  > div
  > a
  > div.tr-login-oauth-name {
  text-align: center;
  text-transform: uppercase;
  flex: 1;
}

body > form > section > section > section.tr-login-oauth > div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

body > form > section.tr-app-overview {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: 0px 5px 5px 0px;
  flex: 1;
}

body > form > section.tr-app-overview > section {
  width: 500px;
  min-width: 500px;
  height: 466px;
  border-radius: 0px 5px 5px 0px;
  background-color: #181f2c;
  background-position: center center;
  background-size: cover;
  transition: transform 0.3s linear;
}

body > form > section.tr-app-overview > div.tr-app-ovrview-infos {
  z-index: 999;
  box-sizing: border-box;
  position: absolute;
  right: 0;
  bottom: 0px;
  left: 0px;
  padding: 30px;
  border-radius: 0px 0px 5px 0px;
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000', GradientType=0);
}

body > form > section.tr-app-overview > div.tr-app-ovrview-infos > div {
  height: 37px;
  min-height: 37px;
  margin-bottom: 23px;
}

body > form > section.tr-app-overview > div.tr-app-ovrview-infos > div > h2 {
  color: #fff;
  font-size: 30px;
}

body > form > section.tr-app-overview > div.tr-app-ovrview-infos > ul {
  display: flex;
  align-items: center;
}

body > form > section.tr-app-overview > div.tr-app-ovrview-infos > ul > li {
  width: 23px;
  height: 7px;
  margin-right: 9px;
  border-radius: 4px;
  background: #fff;
  transition: width 0.15s linear;
}

body
  > form
  > section.tr-app-overview
  > div.tr-app-ovrview-infos
  > ul
  > li.tr-app-ovrview-selected {
  width: 44px;
  background: #1474b7;
}

/* Input field */

input[type="password"],
input[type="text"] {
  -moz-appearance: none;
  -o-appearance: none;
  -webkit-appearance: none;
  padding: 13px 15px;
  border: 1px solid #e1e3e6;
  border-radius: 2px;
  font-size: 15px;
}

input[type="password"].tr-inp-error,
input[type="text"].tr-inp-error {
  color: #ee2727 !important;
  border-color: #ee2727 !important;
  outline: none;
}

/* Loading */

div.tr-loading-fnc {
  z-index: 1;
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto !important;
  border-radius: 5px 0px 0px 5px;
  background: #fff;
  align-items: center;
  justify-content: center;
}

/* Full screen loading */

section.tr-login-loading-full {
  z-index: 99999999;
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #f5f7fa;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

section.tr-login-loading-full > img {
  max-width: 264px;
  margin-bottom: 15px;
}

/* Two factor view */

section.tr-login-tfs {
  z-index: 9999999999999;
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.43);
  align-items: center;
  justify-content: center;
}

section.tr-login-tfs > section {
  display: flex;
  width: 400px;
  height: 400px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0px 2px 5px #0000006e;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

section.tr-login-tfs > section > img {
  width: 130px;
  height: 130px;
}

section.tr-login-tfs > section > form {
  display: flex;
  margin-top: 35px;
  align-items: center;
  flex-direction: column;
}

section.tr-login-tfs > section > form > span {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

section.tr-login-tfs > section > form > input[type="text"] {
  margin-bottom: 15px;
  text-align: center;
  font-size: 20px;
  letter-spacing: 15px;
}

section.tr-login-tfs > section > form > input[type="submit"] {
  text-transform: uppercase;
  font-weight: bold;
}

/* Footer */

body > footer {
  width: 40%;
  max-width: 100%;
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
}

body > footer > ul {
  display: flex;
  align-items: center;
}

body > footer > ul > li {
  margin-left: 7px;
  margin-right: 7px;
}

body > footer > ul > li > a {
  text-transform: uppercase;
  font-size: 13px;
  color: #1474b7;
  text-decoration: none;
  cursor: pointer;
}

body > footer > ul > li > a:hover {
  text-decoration: underline;
}

div.kr_lang_select {
  position: relative;
}

div.kr_lang_select > div {
  display: flex;
  align-items: center;
  width: auto;
  padding: 5px 9px 5px 5px;
  cursor: pointer;
}

div.kr_lang_select > div:hover {
  background: #e5e5e5;
}

div.kr_lang_select > div > div {
  width: 22px;
  height: 22px;
  margin-right: 7px;
}

div.kr_lang_select > div > span {
  font-weight: 500;
  color: #252525;
  font-size: 15px;
}

div.kr_lang_select > ul {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: #fff;
  padding: 3px 0px;
  min-width: 170px;
  box-shadow: 0px 2px 3px #0000004a;
  display: none;
  height: 340px;
  max-height: 100vh;
  overflow-y: auto;
}

div.kr_lang_select > ul > li > a {
  display: flex;
  align-items: center;
  padding: 6px;
  cursor: pointer;
  text-decoration: none;
}

div.kr_lang_select > ul > li > a:hover {
  background: #f5f5f5;
}

div.kr_lang_select > ul > li > a > div {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-right: 7px;
}

div.kr_lang_select > ul > li > a > span {
  font-weight: 500;
  color: #252525;
  font-size: 15px;
}

/* Ads */

div.tr-ads {
  margin-top: 20px;
}

div.tr-ads > ins {
  background: url("../img/login/google_ad.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Page view */

section.tr-page-view {
  position: absolute;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  display: none;
}

section.tr-page-view > section {
  background: #fff;
  width: 750px;
  height: 90%;
  border-radius: 2px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

section.tr-page-view > section > section {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  text-align: justify;
  font-size: 14px;
  color: #26282a;
}

section.tr-page-view > section > section h1,
section.tr-page-view > section > section h2,
section.tr-page-view > section > section h3,
section.tr-page-view > section > section h4,
section.tr-page-view > section > section h5 {
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
  margin-top: 15px;
  padding-bottom: 5px;
  width: 100%;
  border-bottom: 1px solid rgba(50, 50, 50, 0.1);
}

section.tr-page-view > section > footer {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
}

/* Country blacklisted */

body > form > section > section.tr-login-act-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body > form > section > section.tr-login-act-msg > span {
  font-weight: bold;
  color: #ea2626;
  font-size: 21px;
  text-align: center;
}

body > form > section > section.tr-login-act-msg > p {
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.8;
  padding-top: 15px;
}

body > form > section > section.tr-login-act-msg > ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

body > form > section > section.tr-login-act-msg > ul > li {
  text-align: center;
  background: #e5e9ef;
  padding: 13px;
  border-radius: 4px;
  margin-bottom: 10px;
  box-shadow: 0px 3px 20px 0px #0000000d;
  font-size: 14px;
}
