/*
 *  adAS-SSO
 * ================================================
 *
 * Copyright (C) 2010 - 2024 by Auditoria y ConsultorÃ­a de Privacidad y
 * Seguridad (PRiSE http://www.prise.es)
 *
 * *****************************************************************************
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 *
 * ************************************************************************** */

html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul, dd, dt, li, tbody, td, tfoot, th, thead, tr, button,   map, a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span, strong, sub, sup, tt, var, legend, fieldset {
    margin: 0;
    padding: 0;
}
body {
    background-color: #FFFFFF;
    font: 14px arial,helvetica,verdana,sans-serif;
    text-align: center;
}
img { border: 0;}
body, #blue_bar, #f_blue_bar, #identificacion, #background_wayf, #cream_bar { width: 100%;}
#main, #org_logo{ max-width: 542px;}
#main {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
#org_logo{
    display: contents;
    position: relative;
    z-index: 182;
}
#logo_img{
    height: 61px;
    margin-top: 1.5em;
}
#header {
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 5px;
}
#content {
    padding: 2px;
    min-height: 400px;
    background-image: none !important;
    padding: 0px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px 0 rgba(7, 18, 37, 0.2);
    background-color: white;
    color: #f2f5f7;
}
#content_bottom{
    height:53px;
    margin-top:0px;
    background-image: none !important;
}
#content_middle{
    height: 10px;
    margin-top:0px;
    padding-top: 0px;
    background-image: none !important;
}
#submit_ok, #status_close_session, .button_class,.form-col1, .text-field-centered, .text-field, .button-layout, #wayfotherlogin, #qr_login,.disabled_button,.disabled_login,.disabled_submit{
    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: 0px;
    border-top: 3px solid #0B8068;
}
#content h1,  #content h5, #content .bloque  {
    margin-left: 30px;
        margin-right: 30px;
}
#content h1{
    color: #212529 !important;
    font-weight: bold;
    letter-spacing: -1px;
    font-size: 1.7em;
    border: none;
    background-color: #f7f7f7;
    margin: 0px;
    padding: 1em;
}
#content h5 {
    margin-bottom: 0.4em;
    padding-top:1em;
    color:#888;
    font-size:16px;
    font-weight: bold;
    border-top: none;
}
#content .bloque{
    margin-top:40px;
    margin-bottom:7%;
}
#content_debug{ margin-top:30px; }
#f_blue_bar{
    height: 0px;
    margin-top:30px;
}
a {
    text-decoration: none;
}
.mods_row{
    margin-left:8%;
    margin-right:8%;
}
.notes_texts {
    margin-left: auto;
    margin-right: auto;
    margin-top: 5em;
    text-align: center;
    max-width: 90%;
    padding-bottom: .5em;
}
.disabled_button{
    background: none repeat scroll 0 0 #DDDDDD;
    height: 64px;
    margin-top: -64px;
    position: absolute;
    width: 87px;
    z-index: 140;
}
.disabled_login{
    background: none repeat scroll 0 0 #DDDDDD;
    height: 27px;
    margin-top: -47px;
    position: absolute;
    width: 326px;
    z-index: 140;
}
.disabled_submit, .disabled_login, .disabled_button {
    opacity: 0.6;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity = 60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    cursor: default;
}
/*#par{ width:350px;}*/
#par { 
    padding-right: 20px;
    border: none;
}

#identificacion {
    display: -ms-grid;
    display: initial;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;

    -ms-grid-gap: 10px;
    -ms-grid-columns: 1fr 1fr;
    -ms-grid-rows: 1fr;
}

/*LOOK FOR TD TR TABLE*/
.footer {
    margin-top: 1em;
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;    
}
#copyright{
    font-size: 9pt;
    margin-top: 10px;
        float: right;
}
h1 { font-size: 24px;}
h2 {
    font-size: 15px;
    color: #212529 !important;
}
h3 {
    color: #666;
    font-size: 13px;
}
.text-question, p {
    font-size: 0.95em;
    margin-bottom: .3em;
    color: #212529;
}
.text-field {
    line-height: 20px;
    height: 23px;
    float: right;
    margin-right: 23px;
    margin-top: -47px;
    width: 200px;
}
.centered-div {
    text-align: center;
}
.text-field-centered {
    text-align:center;
    line-height: 20px;
    height: 20px;
    width: 400px;
}
.form-col1{
    -moz-box-shadow:    3px 3px 0px 0px #ddd;
    -webkit-box-shadow: 3px 3px 0px 0px #ddd;
    box-shadow:         3px 3px 0px 0px #ddd;
    color:#fff;
    line-height: 22px;
    padding: 2px 2px 2px 10px;
    text-transform: uppercase;
    -webkit-text-size-adjust: 100%;
}
.form-col1 label{
    margin-left:5px;
    margin-top:5px;
}
#auten_delegadas {
    padding-top: .2em;
    padding-bottom: 2em;
}
#submit_ok, #status_close_session, .button_class{
    color:#fff;
    line-height: 22px;
    text-transform: uppercase;
    padding:.4em;
    text-align: center;
    font-size: 1em;
    margin-top:20px;
}
.button-cont{
    line-height: 22px;
    z-index: 101;
    text-transform: uppercase;
}
.button-icon,.button-text,.button-layout{ width: 85px;}
.button-icon {
    position: absolute;
    top: 2;
}
.button-text {
    text-transform: none;
    position: absolute;
    bottom: 0px;
    line-height: 14px;
    font-size: 12px;
}
.button-layout{
    text-align: center;
    font-size: 12px;
    color:#fff;
    vertical-align:bottom;
    position: relative;
    height: 62px;
}
#multiple_id .form-item{ width:430px;}
#multipleid_button{ margin-top: 10px;}
#multiple_id .form-col2 select{
    height: 26px;
    margin-top: -46px;
}
.login-box{
    display:block;
    padding-top:0px;
    height: auto;
    display: none;
}
.wayf_button_cl{ position:relative; }
.remember_button_cl{
    margin-top: -10px;
    position:relative;
}
#remember_button,.more_info_button_cl a{ 
    font-size: 11px; 
}
.more_info_button_cl a{ 
    font-size: 11pt;
    font-weight: bold;
    position: absolute;
    top: 37em;
    padding-left: 5em;
    color: #0B8068;
}    
#userpass {
    margin-top:20px;
    position:relative;
    display: none;    
}
#externalauth{
    margin-top: 1em;
}
#status_subtitle, .form-item, #userpass div{ margin-bottom:20px;}
#titulo_3col {
    /*   margin-left: 12%;
       margin-right: 5%;*/
    margin-bottom: 1em;
    font-weight: bold;
    display: none;
}
#holder {
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
    width: 281px;
    text-align: center;
}
/* REVIEW*/
#otherlogin {
    /*   margin-left: 12%;
       margin-right: 5%;        */
    text-align: center;
}
#otherlogin .module_cell .button-layout{
    width: 350px !important;
    height: 55px !important;
    display: grid;
    grid-template-columns: 1fr 2fr;    
}
#otherlogin .module_cell .button-text{
    bottom: 10px;
    font-size: 1.3em;
    width: 100%;
    position: initial !important;
    text-align: left;
    color: #212529;
    padding-top: 1.3em;
    padding-left: .3em;
}
#otherlogin .module_cell .button-icon{
    width: 90%;
    position: initial !important;
    background-color: white !important;
    background-position-y: center !important;
}
#otherlogin .module_cell .own-button,
#otherlogin .module_cell .button-layout{
    background: #f7f7f7 !important;
    border-color: #f2f5f7 !important;
    color: #212529 !important;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
#otherlogin .module_cell .own-button:hover,
#otherlogin .module_cell .button-layout:hover{
    background-color: #dee3e6 !important;
    border-color: #dee3e6 !important;
}
.modules_grid{
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 8em !important;    
    -ms-grid-gap: 10px;
    -ms-grid-columns: 1fr;
    -ms-grid-rows: 1fr;
    width: 100%;
}
.module_cell {
    justify-self: center;
    align-self:center;
}
#multiple_id{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.button_div {
    margin-bottom: 10px;
}
button {
    width: 160px;
    margin-bottom: 7px;
}
.error_msg {
    padding: 4px;
    margin-bottom: 0em;
}
.error_subtitle{
    margin-right:40px;
    margin-left:40px;
}
.list-slo-sps {
    color: #000;
    font-size: 10pt;
    line-height: 150%;
    margin-bottom: .3em;
    padding-left: 1em;
}
.list-slo-sps li {
    margin-bottom: .3em;
    list-style: none;
    text-decoration: none;
}
.sp-nologout { color: #AF1111;}
#sp-logout-request {
    font-weight: bold;
    border-bottom: 1px solid #E0E0E0;
}
.start_hidden { display: none; }
#notlogout { display: none; }
.highlight_lang{
    color: #fff;
    font-weight: bold;
}
#langs{
    float:right;
    margin-bottom:2px;
    color:#fff;
    cursor:pointer;
    margin-right: 20px;
    margin-top: 10px;
}
#wayf_button{
    text-align:center;
    font-size: 14px;
}
#wayf_button_close, #wayf_button_close2, #qr_button_close2{
    font-size: 14px;
    cursor:pointer;
}
#wayf_button_close_div, #qr_button_close_div, .form-col1{ width: 90%;}
#wayf_button_close_div, #qr_button_close_div{
    position: absolute;
    text-align: right;
}
#qrholder{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    width: 50%;
}
#wayf_button_close:hover { cursor: pointer;}
#wayfholder{
    margin-top: 30px;
    margin-bottom: 20px;
    text-align:center;
    padding-left:10%;
    padding-right:10%;
}
#wayfholder ul{
    margin-bottom: 10px;
    text-align:center;
}
#wayfholder li{
    float: left;
    list-style: none outside none;
    margin-bottom: 5%;
    margin-left: 8%;
}
#wayfholder li .own-button { width: 390px;}
#wayfotherlogin, #qr_login{
    text-align: center;
    background-color: #F7F4F0;
    padding:20px;
    position: absolute;
    margin: auto;
    left: 45%;
    top: 20%;
    margin-left: -200px;
    width: 500px;
    min-height: 300px;
    border: 1px solid #E0E0E0;
    z-index: 999;
}
#background_wayf{
    background: #000000 no-repeat center center fixed;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    height: 100%;
    z-index: 990;
    filter:alpha(opacity=60); /*IE*/
    -moz-opacity:.60;/*Firef*/
    opacity:.60 /*Safari*/
}
/*
 * Error page
*/
#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; /*--Height of each line of code--*/
    width: auto;
    overflow: auto;
    overflow-Y: hidden;  /*--Hides vertical scroll created by IE--*/
}
.exception_subtitle{
    font-weight: bold;
    margin-top:20px;
}
.exception_title{ margin-top:20px;}
#footer_error{ position:absolute;}
#cream_bar{
    padding-top: 3em;
    height: 130px;
    border: 0px;
    z-index:2;
    position:relative;
    text-align: center;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#F7F4F0',GradientType=0 ); /* IE6-9 */
}
.text_ok { word-wrap: break-word;}
.notification{
    margin: 20px;
        padding: 20px;
}
.notification .order{
    font-size: 10pt;
    margin: 5px;
    font-weight: bold;
}
.notification h2{
    margin-bottom: 20px;
    padding-top:5px;
}
.notification p{ margin-bottom: 15px;}
.notification .error_msg p { margin-bottom: .3em;}
.notification .button_class{
    padding: 5px;
    margin:5px;
    margin-top:20px;
}
.notification ul{
    margin-left:30px;
    margin-bottom:10px;
}
#content .notification h1 {
    margin-left:0px;
    margin-right:0px;
}
.notification li{ color:#212529;}
.notification .text-field-centered {
    margin: 0 auto;
}
.notify_qr_main{ position: relative;}
.notify_qr_img{ position: absolute;}
.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 {
    height:15px;
    width:15px;
}
#edit-name-wrapper{ margin-bottom: 1em;}

.warning-icon-st{
    float: left;
    margin-right: 0.3em;
    margin-top: 0.05em;
}
.status_input_close{
    text-align: center;
    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%;
    text-align: center;
}
.icono-alerta {
    float: left;
    margin-right: 0.3em;
}
/*Start of responsive sizes*/
@media all and (max-width: 835px) {
    body{
        -webkit-text-size-adjust: 100%;
        min-width:230px;
        height:auto;
    }
    #content{
        width: 98%;
        background-size:96%;
        background-position: -30% 0px, center 0px; }
    .text-field{
        width: 50%;
        margin-right: 0em;
        /*height: 1.7em;*/
    }
    div{ height:auto; }
    body, #no_scroll { overflow-x:hidden; }
    #main{ width: 850px; }
    #identificacion{ margin-left: 0px; }
    #wayfotherlogin, #qr_login{ min-height: 100px; }
    .notes_texts { width:90%;}
    .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%;}
    .more_info_button_cl a{ top: 34em; padding-left: 1em;}      
}

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

@media all and (max-width: 773px){
    #main { width:98%; margin-right: initial;}
    /*#otherlogin{ margin-left: 7%;} */
    .exception_trace{ width:94%;}
    .text-field{ width: 160px;}
    #wayfotherlogin{
        margin-left: 12%;
        margin-right: 12%;
        left:0px;
    }
}
@media all and (max-width: 708px){
    #wayfotherlogin_small #wayf_title{ font-size: 15pt;}
    #f_blue_bar{margin-top:0px;}
}
@media all and (max-width: 694px){
    #logo_img { height:50px; }
    #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: 90% !important;
        font-size:1.1em !important;
    }
    .text-field {
        margin-right: -0.95em;
        width: 62%;
    }
    #identificacion{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 2fr;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        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,.list-slo-sps,.status_logout_checkbox_opt, .paragraph_status_text,.error_text_p,.notify_qr_img,.notify_qr_img,.notify_qr_text, .notify_msg1, .notify_msg2{
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 2%;
    }
    .notify_qr_img{
        position: relative;
        width: 80%;
        text-align:center;
    }
    .notify_qr_text, .notify_msg1, .notify_msg2{
        text-align:center;
        margin-top: 3%;
    }
    .error_msg{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
    #tech_error_info{
        margin-left: 10%;
        margin-right: 10%;
    }
}
@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:none;}
    .notification p { margin-bottom: 15px;}
    .notification {
        padding: 20px;
        width: 80%;
        margin-left: 9%;
        margin-right: 5%;
    }
    .notify_msg1, .notify_msg2{
        margin-left:0px;
        margin-right:0px;
    }
    #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: 0px;
        margin-right: 0px;
    }
    #logo_img { margin-left: -2%;}
    .notes_texts { width: 60%;}
    #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.5em;
    }
    .exception_trace{ width:88%;}
    .qr_button_div, .vk_button_div{ right:-11%;}
    #par{padding-right:0%;}
    #content h5{font-size:1em;text-align: initial;}
    #wayf_button{font-size:1em}
    #logo_img {height: 3.3em;margin-top: .4em;margin-left: 0px;}
    #multiple_id .form-item{ width:100%;}
    #resync_hotp .form-col1-2fa{ width:100%;}
    #otp_buttons a{
        padding:3px;
    }
    #resync_hotp .text-field-2fa{
        float: none;
        margin-left:0px;
        margin-top:0px;
    }
    .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: 0px;
        padding-bottom: 0px;
        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:0.7em;}
    #cream_bar { height: 5em;}
    #userpass{ width:90%;}
    .notification { margin-left: 4%;}
    .qr_button_div, .vk_button_div{ right:-17%;}
    #wayfotherlogin{ width: 80%;}
}
#x509_dialog {
    z-index: 1000 !important;
}
#x509_dialog span:first-child {
    width: 100%;
    text-align: center;
}
