html{
    font-size: 16px;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #333;
    padding: 0 !important;
}

a{
    text-decoration: none;
    color: inherit;
}

#loadingwhite{
    height: calc(100% - 80px);
}
#loadingwhite.loading{
    background-color: rgba(255,255,255,0.4);
}
#loadingwhite.loading #ulmensajes, #mensajes-central.loading{
    opacity: 0.3;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

a{
    color: inherit;
}

#header{
    height: 32px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
}
#header a{
    color: #eee;
    line-height: 1;
    text-decoration: none !important;
}


.user-nav{
    position: fixed;
    z-index: 2000;
    right: 15px;
}
.user-nav > li > a{
    color: #fff;
}
.user-nav a.loggedIn{
    padding: 2px 0;
    text-decoration: none;
}
.user-nav a.loggedIn:before{
    content: '\f078';
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    font-size: 0.6rem;
    margin-right: 5px;
}
.user-nav a.loggedIn:after{
    display: none;
}
.user-nav a.loggedIn span{
    background: #0288d1;
    width: 22px;
    line-height: 22px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    font-size: 0.8rem;
}
#header #open-menu {
    font-size: 1.4rem;
    display: inline-block;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    line-height: 1;
    margin-top: 2px;
}
#header #open-menu:focus {
    box-shadow: none;
    outline: 0;
}

header .top-menu{
    position: relative;
    z-index: 1010;
    background: #2b2a33;
    padding-top: 2px;
    height: 30px;
}

.user-nav li{
    margin-left: 14px;
}
.user-nav a{
    padding: 5px 0;
    display: block;
}
.user-nav a span{
    font-size: 0.8rem;
}
#header .nav-sup{
    background: #fafbfc;
    border-bottom: #e6ebf2 1px solid;
    position: relative;
    top: -85px;
    list-style: none;
    padding: 0;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    -webkit-transition: top 0.6s;
    transition: top 0.6s;
}
#header .nav-sup > li{
    display: inline-block;
}
/*#header .nav-sup.open{*/
#header.open .nav-sup{
    top: 0;
    left: 0;
    z-index: 1000;
}
#header .nav-sup li a{
    color: #333;
    font-size: 0.9rem;
}
#header .nav-sup > li > a{
    line-height: 20px;
    display: block;
    padding: 10px 15px;
}
#header .nav-sup > li > a i{
    color: #666;
}
#header .nav-sup > li:hover,
#header .nav-sup li.dropdown:hover,
#header .nav-sup li.dropdown.show {
    background: #f5f7fa;
}

#header .nav-sup > li.noLeido > a i{
    color: #ff0000;
}
#header .nav-sup > li.cms-42 a.dropdown-item::before,
#header .nav-sup > li.cms-43 a.dropdown-item::before {
    content: '\f14a';
    font-family: "Font Awesome 5 Free", sans-serif;
    margin-right: 5px;
}
#header .nav-sup > li.cms-42 a.dropdown-item.noLeido::before,
#header .nav-sup > li.cms-43 a.dropdown-item.noLeido::before {
    content: '\f06e';
    color: #ff0000;
}

#header li.dropdown.show {
    font-weight: bold;
}
.user-nav .dropdown-menu.show,
#header .dropdown-menu.show {
    margin-top: 0;
    border-top-color: #e6ebf2;
    border-radius: 0 0 5px 5px;
    padding: 0;
    overflow: hidden;
}
.user-nav .dropdown-menu.show li a,
#header .dropdown-menu.show li a{
    padding-top: 10px;
    padding-bottom: 10px;
}
.user-nav .dropdown-menu.show li a.dropdown-item.active,
#header .dropdown-menu.show li a.dropdown-item.active,
.user-nav .dropdown-menu.show li a.dropdown-item:active,
#header .dropdown-menu.show li a.dropdown-item:active{
    background: none;
}

.user-nav .dropdown-menu.show{
    margin-top: 2px;
}
.user-nav .dropdown-menu li{
    margin: 0;
}
.user-nav .dropdown-menu li a{
    padding: 10px 15px;
    font-size: 0.75rem;
    color: #333;
    font-weight: normal;
    border-bottom: #eee 1px solid;
    text-decoration: none;
}
.user-nav .dropdown-menu li a i{
    width: 18px;
}

#header #bt-home,
#header #bt-conf {
    display: none;
    margin-right: 10px;
    font-size: 1.3rem;
}



.hidden{
    display: none;
}

.ajaxLoad{
    position: relative;
}
.ajaxLoad .spinner-border{
    position: absolute;
    top: 10px;
    color: #000;
    display: none;
    left: 10px;
}
.ajaxLoad.loading,
#listado.loading{
    opacity: 0.3;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}
.ajaxLoad.loading .spinner-border{
    display: block;
}
.ajaxLoad.loading #loadFileUsers{
    padding-left: 30px;
    -webkit-transition: padding-left 0.3s;
    transition: padding-left 0.3s;
}

.btn.input-group-text{
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

.form-group {
    margin-bottom: 15px;
}

.nav-link:focus{
    color: inherit;
}

img.lang{
    max-width: 22px;
}
.dropdown-menu.lang img.lang{
    vertical-align: top;
    margin-right: 5px;
}

span.rojo{
    color: #ee3400;
}

@media only screen and (min-width: 1366px) {
}

@media only screen and (min-width: 768px){
}

@media only screen and (max-width: 1199px) {
    #header .nav-sup li a {
        font-size: 0.8rem;
        padding: 10px 8px;
    }
}

@media only screen and (max-width: 991px){
    .user-nav > li > a {
        font-size: 0.7rem;
    }
}

@media only screen and (max-width: 767px){
    #header .nav-sup > li > a {
        padding: 10px;
    }
    #header .nav-sup{
        padding-left: 0;
        padding-right: 0;
    }
    #header{
        z-index: 12000;
    }
}

@media only screen and (max-width: 575px){
    .user-nav a span {
        font-size: 0.75rem;
    }
}

/*Chat*/
.open-chat, .close-chat{
    cursor: pointer;
}
.chatWindow{
    height: 500px !important;
    width: 290px !important;
    position: fixed;
    bottom: -500px;
    right: 15px;
    background: rgba(0,0,0,0.85);
    border-radius: 10px 10px 0 0;
    padding: 10px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 11000;
}
.conversationWindow.activo{
    bottom: 0;
}
.chatWindow.activo .openBtn{
    display: none;
}
#conversations .openBtn{
    position: fixed;
    display: flex;
    bottom: 0;
    right: 15px;
    left: 15px;
    flex-wrap: wrap-reverse;
    flex-direction: row-reverse;
}
#conversations > .openBtn > .btn{
    display: inline-block;
    align-self: flex-end;
    background: #ff5d65;
    color: #fff;
    border-radius: 5px 5px 0 0;
    margin-left: 1px;
    box-shadow: none;
}
#conversations .openBtn .btn i{
    font-size: 1.4rem;
    vertical-align: middle;
}
#conversations .openBtn .btn:hover{
    color: #fff;
    background: #eb565d;
}
#conversations .openBtn .btn.mensajes-nuevos {
    background: #1db955;
}
#historialConversaciones li.chats-nuevos:before {
    /*#conversations .openBtn .btn.mensajes-nuevos:before,*/
    content: '\f0f3';
    font-family: "Font Awesome 5 Free", sans-serif;
    position: fixed;
    top: 3px;
    right: 44px;
    color: #f00;
    font-weight: 900;
    animation-name: parpadeo;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name:parpadeo;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}
#alertas-menu #alerta-bell{
    font-size: 16px;
    padding: 2px;
}
#alertas-menu #alerta-bell:after{
    content: '\f0f3';
    font-family: "Font Awesome 5 Free", sans-serif;
    top: 3px;
    right: 44px;
    color: #f00;
    font-weight: 900;
    animation-name: parpadeo;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name:parpadeo;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    border: none;
}
#alertas-menu #alerta-bell.hidden:after{
    display: none;
}
#menu-lang{
    line-height: 24px;
}
#historialConversaciones li.chats-nuevos{
    position: relative;
}
#historialConversaciones li.chats-nuevos:before {
    position: absolute;
    top: 5px;
    right: 10px;
}
#conversations .openBtn .btn.mensajes-nuevos:hover{
    color: #fff;
    background: #5deb56;
}

.chatWindow .close-chat .btn{
    padding: 0;
    color: #fff;
    margin-right: 3px;
}
.chatWindow .header{
    margin-bottom: 10px;
    margin-top: 5px;
    overflow: hidden;
    height: 25px;
    color: #fff;
}
.chatWindow ul.mensajes{
    clear: both;
    margin: 0 0 15px;
    list-style: none;
    height: calc(100% - 195px);
    overflow: auto;
    background: #4c4c4c;
    padding: 15px;
    border-radius: 5px;
}
.chatWindow ul.mensajes li{
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 5px;
}
.chatWindow ul.mensajes li p{
    margin-bottom: 0;
}
.chatWindow ul.mensajes li a{
    color: #0277bd;
}
.chatWindow ul.mensajes li.text-left{
    margin-right: 45px;
}
.chatWindow ul.mensajes li.text-right{
    margin-left: 45px;
}
.chatWindow ul.mensajes li span.fecha{
    font-size: 0.6rem;
    display: block;
}
.chatWindow ul.mensajes li.nuevo{
    background-color: #9fcdff;
}
.chatWindow ul.mensajes li span.texto{
    font-size: 0.9rem;
}
.chatWindow div.w-mensajes{
    height: calc(100% - 115px);
}
.chatWindow div.w-mensajes ul.mensajes {
    height: 100%;
}
.chatWindow.loading #chatSubmit span {
    display: inline-block;
}
.chatWindow.loading #ulmensajes {
    opacity: 0.3;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}
#cabeceraChat{
    font-weight: bold;
}

#mensaje-chat {
    border-top: #808080 1px dotted;
    padding-top: 15px;
}
#mensaje-chat input[type='text']{
    border-radius: 5px;
    border: none;
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
    background: #4c4c4c;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px;
}
#mensaje-chat input[type='text']:invalid{
    border: none !important;
}
#mensaje-chat p{
    margin: 0;
}

#usuarios-networking{
    width: 360px;
    position: absolute;
    top: 60px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 0 0 10px;
    border-radius: 5px;
    overflow: auto;
    height: calc(47.5vw - 175px);
    scrollbar-width: thin;
}
#usuarios-networking a:hover{
    color: inherit;
}
#usuarios-networking #busca-usuario{
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: #eee;
    z-index: 100;
    padding: 10px 15px 1px;
}
#usuarios-networking #busca-usuario a i{
    margin-left: 10px;
}
#usuarios-networking #busca-usuario form{
    height: 0;
    overflow: hidden;
    padding-top: 10px;
}
#usuarios-networking #busca-usuario form.activo{
    height: auto;
    display: block;
}
#usuarios-networking label{
    font-size: 0.9rem;
    vertical-align: text-top;
}
#usuarios-networking input[type='radio']{
    margin-left: 10px;
    vertical-align: middle;
}

#usuarios-networking ul{
    margin: 0;
    padding: 5px 0 0;
    list-style: none;
}
#usuarios-networking li.chat-opened{
    background-color: lightgray;
}
#usuarios-networking li:last-child a{
    border: none;
}
#usuarios-networking li a strong{
    display: block;
    font-weight: 500;
}
#usuarios-networking li a span{
    display: block;
    font-size: 0.8rem;
}

#usuarios-networking li a{
    padding: 12px 0 12px 65px;
    display: block;
    position: relative;
    line-height: 1.2;
    min-height: 40px;
    border-bottom: #ccc 1px dotted;
}
#usuarios-networking li a span.avatar{
    position: absolute;
    top: 8px;
    left: 15px;
    width: 40px;
    border-radius: 100%;
    overflow: hidden;
    background: #ccc;
    height: 40px;
    text-align: center;
}
#usuarios-networking li a span.avatar i{
    font-size: 2rem;
    margin-top: 10px;
}

#chat.chatWindow{
    position: static;
    bottom: auto;
    right: auto;
    display: none;
    border-radius: 10px;
}
.chatWindow.activo{
    height: calc(100vh - 140px);
    width: calc(100vw - 30px);
}
.chatWindow .openBtn .btn {
    padding: 0 12px 0;
    height: 40px;
    border-radius: 0;
}
footer .chatWindow{
    color: #333;
}
footer .chatWindow strong{
    font-weight: 700;
    margin-bottom: 0;
}
footer.site-footer #helpdesk strong{
    font-weight: bold;
}
#helpdesk{
    background: #000 url("../img/resources/loading.gif") center no-repeat;
}

@-moz-keyframes parpadeo{
    0% { color: #f00; }
    50% { color: #fff; }
    100% { color: #f00; }
}
@-webkit-keyframes parpadeo {
    0% { color: #f00; }
    50% { color: #fff; }
    100% { color: #f00; }
}
@keyframes parpadeo {
    0% { color: #f00; }
    50% { color: #fff; }
    100% { color: #f00; }
}
/*End Chat*/

.avisoCookies,
.avisoCookies *{
    font-size: 0.8rem;
}
.avisoCookies a:not(.btn){
    text-decoration: underline;
}

#modalAvisos button{
    padding-top: 10px;
    padding-bottom: 6px;
}

.lista-stand{
    padding: 0 0 0 15px;
    margin: 5px 0 0;
    font-size: 0.8rem;
}

a.link-primary{
    font-weight: bold;
    color: #0277bd;
}
a.link-primary:hover{
    color: #0069d9;
}
