.disabled_button,
.disabled_login {
  background: #ddd;
  z-index: 140;
  position: absolute;
}

#content_debug,
#copyright,
#f_blue_bar {
  margin-top: 30px;
}

#identificacion,
.modules_grid {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  -ms-grid-gap: 10px;
}

.list-slo-sps li,
a {
  text-decoration: none;
}

#content h1,
#content h5,
#holder,
#locallogin,
#otherlogin,
#qr_dialog span:first-child,
#qr_login,
#wayf_button,
#wayfholder,
#wayfholder ul,
#wayfotherlogin,
#x509_dialog,
.button-layout,
.centered-div,
.footer,
.notes_texts,
.status_input_close,
.text-field-2fa-single,
.text-field-centered,
body,
h2 {
  text-align: center;
}

a,
abbr,
acronym,
address,
b,
bdo,
big,
blockquote,
body,
br,
button,
cite,
code,
dd,
dfn,
div,
dl,
dt,
em,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
i,
img,
kbd,
legend,
li,
map,
ol,
p,
pre,
q,
samp,
small,
span,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
tr,
tt,
ul,
var {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  font: 14px arial, helvetica, verdana, sans-serif;
}

img {
  border: 0;
}

#background_wayf,
#blue_bar,
#cream_bar,
#f_blue_bar,
#identificacion,
body {
  width: 100%;
}

#main,
#org_logo {
  width: 893px;
}

#main {
  margin-left: auto;
  margin-right: auto;
  margin-top: -23px;
  text-align: left;
}

#org_logo {
  margin: 20px auto -30px;
  padding-left: 52px;
  position: relative;
  z-index: 182;
}

#logo_img {
  height: 61px;
  margin-top: 6px;
}

#header {
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 5px;
}

#content {
  background-position: 25px 0, center 0;
  background-repeat: no-repeat, repeat-y;
  padding: 2px;
  min-height: 400px;
}

#content_bottom {
  height: 53px;
  margin-top: 0;
}

#content_middle {
  height: 10px;
  margin-top: 0;
  padding-top: 0;
}

#qr_login,
#status_close_session,
#submit_ok,
#wayfotherlogin,
.button-layout,
.button_class,
.disabled_button,
.disabled_login,
.disabled_submit,
.form-col1,
.text-field,
.text-field-centered {
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  -ms-border-radius: 7px;
  -khtml-border-radius: 7px;
}

#submit_ok:not(:disabled) {
    cursor:pointer;
}
.disabled {
    opacity: 60%;
}


#blue_bar {
  height: 30px;
}

#content .bloque,
#content h1,
#content h5 {
  margin-left: 70px;
  margin-right: 70px;
}

#content h1 {
  margin-top: 50px;
  margin-bottom: 2px;
  padding-bottom: 5px;
  font-weight: 700;
}

#content h5 {
  margin-bottom: .4em;
  padding-top: 5px;
  color: #888;
  font-size: 16px;
  font-weight: 700;
}

#content .bloque {
  margin-top: 20px;
  margin-bottom: 7%;
}

#f_blue_bar {
  height: 10px;
}

.mods_row {
  margin-left: 8%;
  margin-right: 8%;
}

#multiple_id,
#qrholder,
.notes_texts {
  margin-left: auto;
  margin-right: auto;
}

.notes_texts {
  margin-top: 10px;
  width: 740px;
}

.disabled_button {
  height: 64px;
  margin-top: -64px;
  width: 87px;
}

.disabled_login {
  height: 27px;
  margin-top: -47px;
  width: 326px;
}

.disabled_button,
.disabled_login,
.disabled_submit {
  opacity: .6;
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
  cursor: default;
}

#par {
  padding-right: 20px;
}

#identificacion {
  display: -ms-grid;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  -ms-grid-columns: 1fr 1fr;
  -ms-grid-rows: 1fr;
}

.footer {
  float: right;
  margin-top: -10px;
  width: 420px;
}

#copyright {
  font-size: 9pt;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 15px;
  text-transform: uppercase;
}

h3 {
  color: #666;
  font-size: 13px;
}

.text-question,
p {
  font-size: 10pt;
  margin-bottom: .3em;
  color: #555;
}

.text-field {
  line-height: 20px;
  height: 23px;
  float: right;
  margin-right: 23px;
  margin-top: -47px;
  width: 200px;
}

.text-field-centered {
  line-height: 20px;
  height: 20px;
  width: 400px;
}

.button-cont,
.form-col1 {
  line-height: 22px;
  text-transform: uppercase;
}

.form-col1 {
  -moz-box-shadow: 3px 3px 0 0 #ddd;
  -webkit-box-shadow: 3px 3px 0 0 #ddd;
  box-shadow: 3px 3px 0 0 #ddd;
  color: #fff;
  padding: 2px 2px 2px 10px;
  -webkit-text-size-adjust: 100%;
}

.form-col1 label {
  margin-left: 5px;
  margin-top: 5px;
}

#auten_delegadas,
#auten_local {
  padding-top: 10px;
}

#status_close_session,
#submit_ok,
.button_class {
  color: #fff;
  line-height: 22px;
  text-transform: uppercase;
  padding: 2px;
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}

#langs,
#multipleid_button {
  margin-top: 10px;
}

.button-cont {
  z-index: 101;
}

.button-icon,
.button-layout,
.button-text {
  width: 85px;
}

.button-icon {
  height: 56px;
  position: absolute;
  top: 2;
}

.button-text {
  text-transform: none;
  position: absolute;
  bottom: 0;
  line-height: 14px;
  font-size: 12px;
}

#userpass,
.button-layout,
.notify_qr_main,
.wayf_button_cl {
  position: relative;
}

.button-layout {
  font-size: 12px;
  color: #fff;
  vertical-align: bottom;
  height: 62px;
}

#multiple_id .form-item {
  width: 430px;
}

#multiple_id .form-col2 select {
  height: 26px;
  margin-top: -46px;
}

.login-box {
  display: block;
  height: auto;
}

#extra_actions_container {
  margin-top: 0;
  position: relative;
}

#extra_actions_container ul {
  margin-left: 1em;
}

#extra_actions_container ul li {
  line-height: 1.6em;
}

.more_info_button_cl,
.remember_button_cl {
  margin: 0 !important;
}

#more_info_button,
#remember_button {
  font-size: 14px;
  color: #3e3d40;
}

.more_info_button_cl a {
  font-size: 11px;
}

#userpass {
  margin-top: 20px;
}

#externalauth {
  margin-top: 1em;
}

#status_subtitle,
#userpass div,
.form-item {
  margin-bottom: 20px;
}

#wayfholder ul,
.button_div {
  margin-bottom: 10px;
}

#titulo_2col,
#titulo_3col {
  margin-bottom: 1em;
  font-weight: 700;
}

#holder {
  margin-top: 5%;
  margin-left: 5%;
  margin-right: 5%;
  width: 281px;
}

.modules_grid {
  display: -ms-grid;
  display: inline-grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  -ms-grid-columns: 1fr 1fr 1fr;
  -ms-grid-rows: 1fr 1fr;
}

.module_cell {
  justify-self: center;
  align-self: center;
}

#multiple_id {
  width: 80%;
}

button {
  width: 160px;
  margin-bottom: 7px;
}

.error_msg {
  padding: 4px;
  margin-bottom: 0;
}

.list-slo-sps,
.list-slo-sps li,
.notification .error_msg p {
  margin-bottom: .3em;
}

.error_subtitle {
  margin-right: 40px;
  margin-left: 40px;
}

.list-slo-sps {
  color: #000;
  font-size: 10pt;
  line-height: 150%;
  padding-left: 1em;
}

.list-slo-sps li {
  list-style: none;
}

.sp-nologout {
  color: #af1111;
}

#sp-logout-request {
  font-weight: 700;
  border-bottom: 1px solid #e0e0e0;
}

#notlogout,
.start_hidden {
  display: none;
}

.highlight_lang {
  color: #fff;
  font-weight: 700;
}

#langs {
  float: right;
  margin-bottom: 2px;
  color: #fff;
  cursor: pointer;
  margin-right: 20px;
}

#wayf_button {
  font-size: 14px;
}

#qr_button_close2,
#wayf_button_close,
#wayf_button_close2 {
  font-size: 14px;
  cursor: pointer;
}

#qr_button_close_div,
#wayf_button_close_div,
.form-col1 {
  width: 90%;
}

#qr_button_close_div,
#wayf_button_close_div {
  position: absolute;
  text-align: right;
}

#qrholder {
  display: block;
  margin-top: 5%;
  width: 50%;
}

#wayf_button_close:hover,
.qr-cell:hover {
  cursor: pointer;
}

#wayfholder {
  margin-top: 30px;
  margin-bottom: 20px;
  padding-left: 10%;
  padding-right: 10%;
}

#wayfholder li {
  float: left;
  list-style: none;
  margin-bottom: 5%;
  margin-left: 8%;
}

#wayfholder li .own-button {
  width: 390px;
}

#qr_login,
#wayfotherlogin {
  background-color: #f7f4f0;
  padding: 20px;
  position: absolute;
  margin: auto auto auto -200px;
  left: 45%;
  top: 20%;
  width: 500px;
  min-height: 300px;
  border: 1px solid #e0e0e0;
  z-index: 999;
}

#background_wayf {
  background: center center no-repeat fixed #000;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  z-index: 990;
  -moz-opacity: .60;
  opacity: .6;
}

#tech_error_info {
  padding-bottom: 10px;
}

.exception_trace {
  font-size: 12px;
  padding: 10px;
  margin: 0;
  background: #f0f0f0;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  line-height: 14px;
  width: 700px;
  overflow: auto;
  overflow-Y: hidden;
}

.exception_subtitle {
  font-weight: 700;
  margin-top: 20px;
}

.exception_title {
  margin-top: 20px;
}

#footer_error,
.notify_qr_img {
  position: absolute;
}

#cream_bar {
  height: 100px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  z-index: 2;
  position: relative;
  text-align: left;
  background: #f7f4f0;
  background: -moz-linear-gradient(left, #f7f4f0 0, #fff 50%, #fff 50%, #f7f4f0 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0, #f7f4f0), color-stop(50%, #fff), color-stop(50%, #fff), color-stop(100%, #f7f4f0));
  background: -webkit-linear-gradient(left, #f7f4f0 0, #fff 50%, #fff 50%, #f7f4f0 100%);
  background: -o-linear-gradient(left, #f7f4f0 0, #fff 50%, #fff 50%, #f7f4f0 100%);
  background: -ms-linear-gradient(left, #f7f4f0 0, #fff 50%, #fff 50%, #f7f4f0 100%);
  background: linear-gradient(left, #f7f4f0 0, #fff 50%, #fff 50%, #f7f4f0 100%);
}

.text_ok {
  word-wrap: break-word;
}

.notification {
  margin: 20px;
  padding: 20px;
}

.notification .order {
  font-size: 10pt;
  margin: 5px;
  font-weight: 700;
}

.notification h2 {
  margin-bottom: 20px;
  padding-top: 5px;
}

.notification p {
  margin-bottom: 15px;
}

.notification .button_class {
  padding: 5px;
  margin: 20px 5px 5px;
}

.notification ul {
  margin-left: 30px;
  margin-bottom: 10px;
}

#content .notification h1 {
  margin-left: 0;
  margin-right: 0;
}

.notification li {
  color: #555;
}

.notification .text-field-centered {
  margin: 0 auto;
}

.notify_qr_text {
  margin-left: 180px;
}

#resync_hotp .text-field-2fa {
  margin-top: -28px;
}

.qr_button_div,
.vk_button_div {
  position: absolute;
  right: 0;
  margin-top: 4px;
  cursor: pointer;
}

.qr_button_style {
  height: 15px;
  width: 15px;
}

#edit-name-wrapper {
  margin-bottom: 1em;
}

.warning-icon-st {
  float: left;
  margin-right: .3em;
  margin-top: .05em;
}

.status_input_close {
  margin-top: 2em;
}

#info_reload_qr {
  padding: 10px;
}

#submit_reload_qr {
  margin-top: 2em;
}

.form-col1-2fa {
  line-height: 22px;
  padding: 2px 2px 2px 10px;
  text-transform: uppercase;
  width: 40%;
}

.text-field-2fa {
  float: left;
  margin-left: 34%;
  font-size: 110%;
}

.text-field-2fa-single {
  float: none;
  font-size: 110%;
}

.icono-alerta {
  float: left;
  margin-right: .3em;
}

@media all and (max-width: 835px) {
  body,
  div {
    height: auto;
  }

  body {
    -webkit-text-size-adjust: 100%;
    min-width: 230px;
  }

  #content {
    width: 100%;
    background-size: 98%;
    background-position: -30% 0, center 0;
  }

  .text-field {
    width: 50%;
    margin-right: 0;
  }

  #no_scroll,
  body {
    overflow-x: hidden;
  }

  #main {
    width: 850px;
  }

  #identificacion {
    margin-left: 0;
  }

  #qr_login,
  #wayfotherlogin {
    min-height: 100px;
  }

  .notes_texts {
    width: 70%;
  }

  .notes_texts p {
    font-size: 80%;
  }

  .form-col1 {
    width: 96%;
  }

  .disabled_login {
    width: 100%;
  }

  .exception_trace {
    width: 600px;
  }

  .qr_button_div,
  .vk_button_div {
    right: -5.5%;
  }
}

@media all and (max-width: 792px) {
  #content {
    background-position: -18% 0, center 0;
  }

  #identificacion td {
    width: 50%;
  }
}

@media all and (max-width: 773px) {
  #main {
    width: 110%;
  }

  #content {
    margin-left: -2em;
  }

  .exception_trace {
    width: 94%;
  }

  .text-field {
    width: 160px;
  }

  #wayfotherlogin {
    margin-left: 12%;
    margin-right: 12%;
    left: 0;
  }
}

@media all and (max-width: 708px) {
  #wayfotherlogin_small #wayf_title {
    font-size: 15pt;
  }

  #f_blue_bar {
    margin-top: 0;
  }
}

@media all and (max-width: 694px) {
  #logo_img {
    height: 50px;
  }

  #content {
    margin-left: -3em;
  }

  #langs {
    font-size: 90%;
  }

  #par {
    border-right: none;
  }

  .qr_button_div,
  .vk_button_div {
    right: -7.5%;
  }

  .form-col1 {
    width: 99%;
  }

  .disabled_login {
    width: 103%;
  }

  .notes_texts {
    width: 70%;
    font-size: .9em;
  }

  .text-field {
    margin-right: -.95em;
    width: 62%;
  }

  #tech_error_info,
  .error_msg {
    margin-left: 10%;
    margin-right: 10%;
  }

  #identificacion {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    grid-row-gap: 20px;
    margin-bottom: 10%;
    -ms-grid-columns: 1fr;
    -ms-grid-rows: 2fr;
  }

  #status_text3 {
    display: block;
  }

  #form_message_subtitle {
    margin-bottom: 2em;
  }

  #form_message_text,
  #notlogout,
  #status_text3,
  #status_text4,
  #status_text5,
  #status_text6,
  #status_text7,
  .error_text_p,
  .list-slo-sps,
  .notify_msg1,
  .notify_msg2,
  .notify_qr_img,
  .notify_qr_text,
  .paragraph_status_text,
  .status_logout_checkbox_opt {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 2%;
  }

  .notify_qr_img {
    position: relative;
    width: 80%;
    text-align: center;
  }

  .notify_msg1,
  .notify_msg2,
  .notify_qr_text {
    text-align: center;
    margin-top: 3%;
  }

  .error_msg {
    width: 80%;
  }
}

@media all and (max-width: 691px) {
  #logo_img {
    height: 3em;
  }

  #cream_bar {
    height: 6em;
  }

  #input2factor {
    width: 96%;
  }

  #org_logo {
    padding-left: 3em;
  }

  #content_bottom {
    background: 0 0;
  }

  .notification p {
    margin-bottom: 15px;
  }

  .notification {
    padding: 20px;
    width: 80%;
    margin-left: 9%;
    margin-right: 5%;
  }

  .notify_msg1,
  .notify_msg2 {
    margin-left: 0;
    margin-right: 0;
  }

  #wayfotherlogin {
    width: 90%;
    height: 100%;
    top: 18%;
    margin: 2%;
  }

  .exception_trace {
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: justify;
    overflow: visible;
    overflow-Y: visible;
  }

  .qr_button_div,
  .vk_button_div {
    right: -9.3%;
  }
}

@media all and (max-width: 545px) {
  #content .bloque {
    margin-left: 0;
    margin-right: 0;
  }

  #logo_img {
    margin-left: -2%;
  }

  .notes_texts {
    width: 60%;
  }

  #content {
    margin-left: -2em;
  }

  #wayfotherlogin {
    width: 87%;
  }
}

@media all and (max-width: 477px) {
  .text-field {
    float: none;
    width: 103%;
  }

  #holder {
    padding-left: 10%;
    padding-right: 10%;
  }

  #content h1,
  #content h5 {
    font-size: 1.2em;
    margin-left: 15%;
    margin-right: 15%;
  }

  .exception_trace {
    width: 88%;
  }

  .qr_button_div,
  .vk_button_div {
    right: -11%;
  }

  #par {
    padding-right: 0;
  }

  #content h5 {
    font-size: .8em;
  }

  #wayf_button {
    font-size: 1em;
  }

  #logo_img {
    height: 2.5em;
  }

  #multiple_id .form-item,
  #resync_hotp .form-col1-2fa {
    width: 100%;
  }

  #otp_buttons a {
    padding: 3px;
  }

  #resync_hotp .text-field-2fa {
    float: none;
    margin-left: 0;
    margin-top: 0;
  }

  .modules_grid {
    display: -ms-grid;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    -ms-grid-gap: 10px;
    -ms-grid-columns: 1fr 1fr;
    -ms-grid-rows: 1fr 1fr 1fr;
  }

  .disabled_login {
    width: 104%;
  }

  #wayfotherlogin {
    width: 85%;
  }
}

@media all and (max-width: 335px) {
  .footer {
    float: none;
    width: 91%;
  }

  #notification_consent_button_ko {
    float: left;
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 32%;
    margin-right: auto;
  }

  #content h1,
  #content h5 {
    font-size: 1.1em;
    margin-left: 12%;
    margin-right: 12%;
  }

  .text-field {
    float: none;
    width: 103%;
  }

  #content {
    margin-left: -1em;
  }

  #content h5 {
    font-size: .7em;
  }

  #cream_bar {
    height: 5em;
  }

  #userpass {
    width: 90%;
  }

  .notification {
    margin-left: 4%;
  }

  .qr_button_div,
  .vk_button_div {
    right: -17%;
  }

  #wayfotherlogin {
    width: 80%;
  }
}

#qr_dialog,
#x509_dialog {
  z-index: 1000 !important;
}

#qr_dialog span:first-child,
#x509_dialog {
  width: 100%;
}
