html {
  height : 100%;
}

body {
  display             : flex;
  height              : 100%;
  background          : #f5f7fa;
  background-image    : url('../img/login/circle.svg');
  background-repeat   : no-repeat;
  background-position : calc(50% - 350px) center;
  background-size     : 700px auto;
  align-items         : center;
  flex-direction      : column;
  justify-content     : center;
}

body > form {
  display       : flex;
  width         : 800px;
  height        : 680px;
  border-radius : 5px;
  background    : #fff;
  box-shadow    : 0px 10px 50px 0px #00000014;
  align-items   : stretch;
}

body > form > section.kr-login-view {
  display         : flex;
  position        : relative;
  width           : 300px;
  min-width       : 300px;
  align-items     : center;
  flex-direction  : column;
  justify-content : space-around;
}

body > form > section.kr-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.kr-login-field {
  display        : flex;
  flex-direction : column;
}

body > form > section > section > section.kr-login-field > div {
  display        : flex;
  padding-top    : 5px;
  padding-bottom : 15px;
  color          : #ee2727;
}

body > form > section > section > section.kr-login-field > div > span {
  font-size : 12px;
}

body > form > section > section > section.kr-login-field > div.kr-signup-check {
  color:#000;
}

body > form > section > section > section.kr-login-field > div.kr-signup-check label > i {
  font-style: normal;
  color:#ff7700;
  font-weight: bold;
}

body > form > section > section > section.kr-login-field > div.kr-signup-check input[type="checkbox"] { display: none; }

body > form > section > section > section.kr-login-field > div.kr-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.kr-login-field > div.kr-signup-check input[type="checkbox"] + label:last-child { margin-bottom: 0; }

body > form > section > section > section.kr-login-field > div.kr-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: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

body > form > section > section > section.kr-login-field > div.kr-signup-check input[type="checkbox"].kr-inp-error + label:before {
  border-color: #ee2727;
}

body > form > section > section > section.kr-login-field > div.kr-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.kr-login-field > footer {
  display         : flex;
  padding         : 10px 0px;
  padding-top     : 0px;
  align-items     : center;
  justify-content : space-between;
}

body > form > section > section > section.kr-login-field > footer > a {
  color           : #979ea3;
  text-decoration : none;
  font-size       : 14px;
  cursor          : pointer;
}

body > form > section > section > section.kr-login-field > footer > a:hover {
  color : #82898f;
}

body > form > section > section > section.kr-login-separator {
  display     : flex;
  padding     : 10px 0px;
  align-items : center;
}

body > form > section > section > section.kr-login-separator > div {
  height        : 1px;
  border-bottom : 1px dashed #e0e2e5;
  flex          : 1;
}

body > form > section > section > section.kr-login-separator > span {
  margin    : 0px 11px;
  color     : #78828a;
  font-size : 14px;
}

body > form > section > section > section.kr-login-oauth {
  display        : flex;
  min-height     : 40px;
  padding        : 10px 0px;
  flex-direction : column;
}

body > form > section > section > section.kr-login-oauth > a {
  margin-bottom : 14px;
  padding       : 0px;
}

body > form > section > section > section.kr-login-oauth > div > a {
  padding: 0;
  flex:1;
  margin-left: 5px; margin-right: 5px;
}

body > form > section > section > section.kr-login-oauth > div > a:first-child {
  margin-left: 0px;
}

body > form > section > section > section.kr-login-oauth > div > a:last-child {
  margin-right: 0px;
}

body > form > section > section > section.kr-login-oauth > a:last-child,
body > form > section > section > section.kr-login-oauth > div > a:last-child {
  margin-bottom : 0px;
}

body > form > section > section > section.kr-login-oauth > a > div.kr-login-oauth-icn,
body > form > section > section > section.kr-login-oauth > div > a > div.kr-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.kr-login-oauth > a > div.kr-login-oauth-icn > svg,
body > form > section > section > section.kr-login-oauth > div > a > div.kr-login-oauth-icn > svg {
  width  : 19px;
  height : 19px;
  fill   : #fff;
}

body > form > section > section > section.kr-login-oauth > a > div.kr-login-oauth-name,
body > form > section > section > section.kr-login-oauth > div > a > div.kr-login-oauth-name {
  text-align     : center;
  text-transform : uppercase;
  flex           : 1;
}

body > form > section > section > section.kr-login-oauth > div {
  display: flex; align-items: center;
  margin-bottom: 10px;
}

body > form > section.kr-app-overview {
  display       : flex;
  position      : relative;
  overflow      : hidden;
  border-radius : 0px 5px 5px 0px;
  flex          : 1;
}

body > form > section.kr-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.kr-app-overview > div.kr-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.kr-app-overview > div.kr-app-ovrview-infos > div {
  height        : 37px;
  min-height    : 37px;
  margin-bottom : 23px;
}

body > form > section.kr-app-overview > div.kr-app-ovrview-infos > div > h2 {
  color     : #fff;
  font-size : 30px;
}

body > form > section.kr-app-overview > div.kr-app-ovrview-infos > ul {
  display     : flex;
  align-items : center;
}

body > form > section.kr-app-overview > div.kr-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.kr-app-overview > div.kr-app-ovrview-infos > ul > li.kr-app-ovrview-selected {
  width      : 44px;
  background : #ff7700;
}

/* Input field */

input[type="password"],
input[type="text"] {
  -moz-appearance    : none;
  -o-appearance      : none;
  -webkit-appearance : none;
  padding            : 13px 15px;
  border             : 1px solid grey; /* #e1e3e6;*/
  border-radius      : 2px;
  font-size          : 15px;
}

input[type="password"].kr-inp-error,
input[type="text"].kr-inp-error {
  color        : #ee2727 !important;
  border-color : #ee2727 !important;
  outline      : none;
}

/* Loading */

div.kr-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.kr-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.kr-login-loading-full > img {
  max-width     : 264px;
  margin-bottom : 15px;
}

/* Two factor view */

section.kr-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.kr-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.kr-login-tfs > section > img {
  width  : 130px;
  height : 130px;
}

section.kr-login-tfs > section > form {
  display        : flex;
  margin-top     : 35px;
  align-items    : center;
  flex-direction : column;
}

section.kr-login-tfs > section > form > span {
  margin-bottom : 15px;
  font-size     : 16px;
  font-weight   : bold;
  text-align: center;
}

section.kr-login-tfs > section > form > input[type="text"] {
  margin-bottom  : 15px;
  text-align     : center;
  font-size      : 20px;
  letter-spacing : 15px;
}

section.kr-login-tfs > section > form > input[type="submit"] {
  text-transform : uppercase;
  font-weight    : bold;
}

/* Footer */
body > footer {
  width     : 800px;
  max-width : 100%;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

body > footer > ul {
  display: flex; align-items: center;
}

body > footer > ul > li {
  margin-left: 15px;
}

body > footer > ul > li > a {
  text-transform: uppercase;
  font-size: 13px;
  color:#ff7700;
  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.kr-ads {
  margin-top: 20px;
}

div.kr-ads > ins {
  background: url('../img/login/google_ad.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Page view */
section.kr-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.kr-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.kr-page-view > section > section {
  flex:1;
  overflow-y: auto;
  padding: 15px;
  text-align: justify;
  font-size: 14px;
  color:#26282a;
}

section.kr-page-view > section > section h1,
section.kr-page-view > section > section h2,
section.kr-page-view > section > section h3,
section.kr-page-view > section > section h4,
section.kr-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.kr-page-view > section > footer {
  display: flex; justify-content: flex-end;
  padding: 15px;
}

/* Country blacklisted */
body > form > section > section.kr-login-act-msg {
  display: flex; flex-direction: column;
  align-items: center;
}

body > form > section > section.kr-login-act-msg > span {
  font-weight: bold;
  color:#ea2626;
  font-size: 21px;
  text-align: center;
}

body > form > section > section.kr-login-act-msg > p {
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.8;
  padding-top: 15px;
}

body > form > section > section.kr-login-act-msg > ul {
  display: flex; flex-direction: column;
  align-items: stretch;
  width: 100%;
}

body > form > section > section.kr-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;
}
