/*
 * example:@include background-2x( 'path/to/image', 'jpg', repeat-x);
 */
#root > main {
  padding: 0;
  background-color: #efefef;
}

#root {
  margin-top: 0;
}

#account_home {
  width: 520px;
  height: 301px;
  border: none;
  background-color: #fff;
  font-family: verdana,tahoma,arial,helvetica,sans-serif;
}
#account_home > div {
  height: 100%;
}
#account_home h1 {
  display: none;
  text-align: center;
  font-size: 13px;
  margin-bottom: 0;
  line-height: 2em;
  border-top: 3px solid #2A588C;
  color: #2A588C;
  background-image: linear-gradient(#ebf0f5, #ffffff);
}
#account_home .syno-form {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-content: center;
  height: 100%;
  /*margin-top: -1em;*/
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #account_home .syno-form {
    display: table;
  }
}
#account_home .syno-form > form {
  align-self: center;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #account_home .syno-form > form {
    display: table-cell;
    vertical-align: middle;
  }
}
#account_home .syno-form > form .row {
  text-align: center;
}
#account_home .syno-form > form .china-captcha {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
#account_home .syno-form input[type="text"],
#account_home .syno-form input[type="email"],
#account_home .syno-form input[type="password"] {
  border: 1px solid #c8d2dc;
  -moz-box-shadow: inset 0 1px 1px #E1E6EA;
  -webkit-box-shadow: inset 0 1px 1px #E1E6EA;
  box-shadow: inset 0 1px 1px #E1E6EA;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 236px;
  height: 28px;
  line-height: 28px;
  padding: 0 8px;
  color: #505A64;
  margin-bottom: 13px;
  font-size: 12px;
}
#account_home .syno-form .btns .btn:last-child {
  margin-right: 10px;
}
#account_home .footnote {
  font-size: 12px;
}
#account_home a:not(.btn-cancel) {
  color: #2A588C;
  font-weight: bold;
  font-size: 12px;
}
#account_home a:not(.btn-cancel):hover, #account_home a:not(.btn-cancel):active {
  text-decoration: underline;
  color: #2A588C;
}
#account_home .presubmit .footnote {
  margin-top: -10px;
}
#account_home .error-msg {
  font-size: 12px;
  margin-top: -15px;
  line-height: 1.5em;
  margin-bottom: 5px;
  min-height: 0;
}
#account_home.default h1 {
  border-top: 3px solid #0086E5;
  color: #0086E5;
}
#account_home.default .footnote {
  font-size: 12px;
}
#account_home.default a:not(.btn-cancel) {
  color: #0086E5;
}
#account_home.default a:not(.btn-cancel):hover, #account_home.default a:not(.btn-cancel):active {
  color: #0086E5;
}

#footer {
  display: none;
}

.mfp-bg {
  background: #fff;
  opacity: 1;
}

.account_dialog {
  font-family: verdana,tahoma,arial,helvetica,sans-serif;
}
.account_dialog.login-two-factor h3 {
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  margin-bottom: 0;
  /*padding-top: 20px;*/
  line-height: 2em;
  /*border-top: 3px solid #2A588C;*/
  color: #2A588C;
  /*background-image: linear-gradient(#ebf0f5, #ffffff);*/
}
.account_dialog.login-two-factor a.text-link {
  padding-bottom: 0;
  padding-top: 15px;
  color: #2A588C;
  font-weight: bold;
  font-size: 12px;
}
.account_dialog.login-two-factor a.text-link:hover, .account_dialog.login-two-factor a.text-link:active {
  color: #2A588C;
  text-decoration: underline;
}
.account_dialog.login-two-factor .step_auth_app {
  text-align: center;
}
.account_dialog.login-two-factor .step_auth_app > div > p {
  padding: 10px 20px 0;
  font-size: 12px;
}
.account_dialog.login-two-factor .step_auth_app .section {
  padding: 0 20px;
}
.account_dialog.login-two-factor > .btns.flex-row {
  padding: 0;
  font-size: 12px;
  padding: 0 20px 20px;
  box-sizing: border-box;
  flex-direction: row;
  margin-top: 20px;
  justify-content: center;
}
.account_dialog.login-two-factor > .btns.flex-row .trust {
  display: none;
  margin-top: 5px;
  margin-left: 0;
  flex-grow: 1;
  text-align: left;
}
.account_dialog.login-two-factor > .btns.flex-row .trust label {
  border-radius: 0;
  border: 0 solid #c8d2dc;
  background: url(/img/common/checkbox.png) no-repeat;
  background-position: 0 -66px;
  -webkit-transition-property: none;
  -moz-transition-property: none;
  -o-transition-property: none;
  transition-property: none;
  width: 22px;
  height: 22px;
  margin: 0;
}
.account_dialog.login-two-factor > .btns.flex-row .trust label.btn-chk-unchecked {
  background-position: 0 0;
}
.account_dialog.login-two-factor > .btns.flex-row .trust label i.fa-check:before {
  color: transparent;
  background: none;
}
.account_dialog.login-two-factor .btn-cancel {
  margin-right: 10px;
}

.mfp-content .dialog {
  padding: 0;
  margin: 0 !important;
}

.btn-cancel, .btn-login {
  display: inline-block;
  font-size: 12px;
  padding: 1px 19px;
  border-radius: 3px;
  font-weight: bold;
  min-width: 78px !important;
  box-sizing: border-box;
}
.btn-cancel:hover, .btn-cancel:active, .btn-login:hover, .btn-login:active {
  text-decoration: none;
  box-shadow: none;
}

button.mfp-close {
  display: none;
}

.btn-cancel, .mfp-content .dialog .mfp-close {
  margin-right: 6px;
  border-color: #C8D2DC;
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ebf0f5), color-stop(100%, #f5faff));
  background: -moz-linear-gradient(bottom, #ebf0f5, #f5faff);
  background: -webkit-linear-gradient(bottom, #ebf0f5, #f5faff);
  background: linear-gradient(to top, #ebf0f5, #f5faff);
  color: #2A588C;
}
.btn-cancel:hover, .btn-cancel:active, .mfp-content .dialog .mfp-close:hover, .mfp-content .dialog .mfp-close:active {
  border-color: #B4BEC8 !important;
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #ebf0f5), color-stop(100%, #f5faff));
  background: -moz-linear-gradient(bottom, #ebf0f5, #f5faff);
  background: -webkit-linear-gradient(bottom, #ebf0f5, #f5faff);
  background: linear-gradient(to top, #ebf0f5, #f5faff);
  color: #5f7fa2;
}

.btn-login {
  color: #fff;
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #2466b2), color-stop(100%, #3d80cc));
  background: -moz-linear-gradient(bottom, #2466b2, #3d80cc);
  background: -webkit-linear-gradient(bottom, #2466b2, #3d80cc);
  background: linear-gradient(to top, #2466b2, #3d80cc);
  border-color: #215fa6;
}
.btn-login:hover, .btn-login:active {
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #125db2), color-stop(100%, #337acc));
  background: -moz-linear-gradient(bottom, #125db2, #337acc);
  background: -webkit-linear-gradient(bottom, #125db2, #337acc);
  background: linear-gradient(to top, #125db2, #337acc);
  border-color: #0e498c;
}

.btns .mfp-close {
  line-height: 24px;
  height: 28px;
  opacity: 1;
  position: inherit;
  top: 0;
  right: 0;
}

.default.account_dialog.login-two-factor h3 {
  color: #0086E5;
}
.default.account_dialog.login-two-factor a.text-link {
  color: #0086E5;
}
.default.account_dialog.login-two-factor a.text-link:hover, .default.account_dialog.login-two-factor a.text-link:active {
  color: #0086E5;
}
.default.account_dialog.login-two-factor .step_auth_app .section #verify_code {
  color: #505A64;
}
.default .btn-cancel, .default .mfp-content .dialog .mfp-close {
  color: #0086E5 !important;
}
.default .btn-cancel:hover, .default .btn-cancel:active, .default .mfp-content .dialog .mfp-close:hover, .default .mfp-content .dialog .mfp-close:active {
  color: #0086E5 !important;
}
.default .btn-login {
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #32AAFF), color-stop(100%, #1994EB));
  background: -moz-linear-gradient(bottom, #32AAFF, #1994EB);
  background: -webkit-linear-gradient(bottom, #32AAFF, #1994EB);
  background: linear-gradient(to top, #32aaff, #1994eb);
  border-color: #1687D9;
}
.default .btn-login:hover, .default .btn-login:active {
  background: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(0%, #25A4FF), color-stop(100%, #028AEB));
  background: -moz-linear-gradient(bottom, #25A4FF, #028AEB);
  background: -webkit-linear-gradient(bottom, #25A4FF, #028AEB);
  background: linear-gradient(to top, #25a4ff, #028aeb);
  border-color: #1687D9;
}
