/* Estilos solo del acceso. No aplican a la página de cursos. */

.login-block {
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0;
  justify-content: center;
  background: #fff;
  color: #222;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
}

.login-block a { cursor: pointer; text-decoration: none; color: #4bc1e1; }
.login-block a:hover { text-decoration: underline; }

.login-block .btn { font-size: 16px; line-height: 40px; display: inline-block; transition: background-color 0.2s ease; text-decoration: none; color: #fff; border-radius: 19px; outline: none; background-color: #248dc1; }
.login-block .btn:hover { text-decoration: none; color: #fff; background: #3cb0fd; }
.login-block button.btn { border: 0; cursor: pointer; }
.login-block button.btn:disabled { cursor: default; opacity: 0.7; }

.login-block input[type='text']:focus,
.login-block input[type='password']:focus { outline: none; }

.login-block .form-error-msg { font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 400; line-height: 16px; padding: 5px 10px; color: #e72820; border-radius: 2px; background-color: #ffc0c3; }
.login-block label.label-type-1.form-error { border-bottom: 1px solid #cd0900; }
.login-block label.label-type-1.form-error input { color: #cd0900; }

.login-block .help-blockmayus,
.login-block .help-clear { position: absolute; top: 0; right: 0; }
.login-block .help-clear { font-size: 12px; font-style: normal; cursor: pointer; }
.login-block .help-clear + .help-blockmayus { right: 20px; }

.login-block [class^='ico-']:before,
.login-block [class*=' ico-']:before { display: inline-block; content: ''; background-repeat: no-repeat; }
.login-block .ico-blockmayus:before { width: 14px; height: 18px; background-image: url('../img/icons/ico-blockmayus.svg'); }

.login-block .login-izq { padding-top: 40px; background-image: url('../img/login-photo-old.jpg'); background-repeat: no-repeat; background-size: cover; flex-grow: 1; }
.login-block .login-izq > div:first-child { margin-bottom: 90px; }
.login-block .login-izq > div:first-child img { margin-right: 40px; max-height: 100px; width: auto; }
.login-block .login-izq h1 { font-family: 'Fira Sans Condensed', sans-serif; font-weight: 300; line-height: 1.2; margin: 0 0 20px 0; color: #333; }
.login-block .login-izq h1 strong { font-weight: 600; }

.login-block .login-der { padding-top: 54px; background: #fff; }

.login-block .login-form { display: block; max-width: 365px; margin-left: 60px; }
.login-block .login-form h2 { font-family: 'Fira Sans Condensed', sans-serif; font-size: 36px; font-weight: 400; line-height: 1; margin: 0 0 70px 0; text-align: center; color: #333; }
.login-block .login-form .label-type-1 { position: relative; display: block; max-width: 356px; margin: 40px 0 10px 0; padding-bottom: 6px; border-bottom: 1px solid #ccc; }
.login-block .login-form .label-type-1:before { position: absolute; top: 0; left: 0; content: ' '; }
.login-block .ico-user:before { width: 18px; height: 18px; background-image: url('../img/icons/ico-user.svg'); }
.login-block .ico-password:before { width: 14px; height: 19px; background-image: url('../img/icons/ico-password.svg'); }
.login-block .login-form .label-type-1 span { position: absolute; top: 0; left: 0; margin-left: 24px; cursor: text; transition: top 0.3s ease; color: #333; }
.login-block .login-form input:focus + span { top: -20px; }
.login-block .login-form input:valid + span { top: -20px; }
.login-block .login-form input[type='text'],
.login-block .login-form input[type='password'] { font-size: 14px; font-style: italic; width: calc(100% - 24px); margin-left: 24px; border: 0; background: transparent; color: #333; }

.login-block .login-form-foot { padding: 90px 0 20px 0; text-align: center; }
.login-block .login-form-foot .btn { width: 200px; }

.login-block .login-top { max-width: 365px; height: 105px; margin-left: 68px; padding-right: 20px; }
.login-block .language-menu { float: right; width: 132px; height: 86px; margin-top: -14px; margin-right: -14px; padding: 14px 30px 0 24px; text-align: left; }
.login-block .language-menu a { font-family: 'Fira Sans Condensed', sans-serif; font-size: 18px; font-weight: 300; position: relative; display: none; cursor: pointer; text-decoration: none; color: #333; }
.login-block .language-menu a:first-child:after { position: absolute; top: 0; right: -20px; width: 20px; height: 20px; content: ''; background-image: url('../img/icons/ico-arrow-circle-bottom.svg'); }
.login-block .language-menu a:first-child { display: block; }
.login-block .language-menu.active { background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.login-block .language-menu.active a { display: block; margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #dadada; }
.login-block .language-menu.active a:first-child { margin-top: 0; }
.login-block .language-menu.active a:first-child:after { background-image: url('../img/icons/ico-arrow-circle-top.svg'); }
.login-block .language-menu.active a:last-child { border-bottom: 0; }

@media only screen and (max-width: 599px) {
  .login-block .login-top { height: auto; margin-top: 65px; margin-left: 0; padding-right: 0; padding-bottom: 45px; }
  .login-block .language-menu { position: absolute; z-index: 1; right: 6.5%; float: none; height: auto; margin-right: auto; margin-left: auto; }
  .login-block .login-izq { overflow: hidden; width: 0; max-width: 0; padding-left: 0; }
  .login-block .login-izq > div:first-child { position: absolute; top: 20px; left: 0; width: 100%; text-align: center; }
  .login-block .login-izq > div:first-child img { margin-right: 20px; }
  .login-block .login-der { min-width: 80%; padding-top: 27px; }
  .login-block .login-form { max-width: 100%; margin-left: 0; }
  .login-block .login-form .label-type-1 { max-width: 100%; }
  .login-block .login-form h2 { margin: 0; }
  .login-block .login-form-foot { padding-top: 30px; }
}

@media only screen and (min-width: 600px) {
  .login-block .login-izq { padding-left: 40px; flex-grow: 0; }
  .login-block .login-izq h1 { font-size: 30px; }
  .login-block .login-der { padding-right: 20px; flex-grow: 1; }
}

@media only screen and (min-width: 900px) {
  .login-block { width: 100%; font-size: 14px; }
  .login-block .login-izq { padding-left: 110px; flex-grow: 1; }
  .login-block .login-izq h1 { font-size: 50px; }
  .login-block .login-der { width: 30%; min-width: 485px; padding-right: 0; flex-grow: 0; }
}
