:root {
    --color_fondo: #ffffff;
    --color_texto: #727277;
    --color_normal: #c53f33;
    --color_beta: #000000;
}
    
html {
    background: var(--color_fondo);
}    
body {
    background: var(--color_fondo);
    color: var(--color_texto);
    /*height: unset;*/
}    

h1, h2, h3, h4 {
    font-style: italic;    
}

h2 {
    font-size: 19px;
    margin: 10px 0;
}    
    
h3 {
    font-size: 14px;
    margin: 10px 0;
}    

select {
    display: block;
    margin: 0;
    padding: 5px;
    width: 100%;
    border: 1px solid #A1ACB2;
    border-radius: 4px;
}

.panel-default {
    border: none;
    margin: auto 0;
}
.panel-body {
    padding: 0;
}
.group { 
    position: relative; 
    margin-bottom: 20px; 
    clear: both;
}

input:focus { 
    outline:none;
}

/* active state */
input:focus ~ label, 
input:valid ~ label {
  top:-20px;
  font-size:14px;
  color:#5264AE;
}

/* BOTTOM BARS ================================= */
.bar { 
    position:relative; 
    display:block; 
    /*width:300px; */
}
.bar:before, 
.bar:after {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#5264AE; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%;
  width:100%;
  /*width:100px; 
  top:25%; */
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
/*@-webkit-keyframes inputHighlighter {
    from { background:#5264AE; }
    to { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
    from { background:#5264AE; }
    to { width:0; background:transparent; }
}
@keyframes inputHighlighter {
    from { background:#5264AE; }
    to { width:0; background:transparent; }
}*/
    
input {
    color: #58585a;
}    
    
.glyphicon {
    margin-right: 5px;
}
    
.ojo {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    position: absolute; 
    right:0;
    top: 50%;
    transform: translateY(-10%);
    margin-right: 4px;
    background-color: inherit !important;
}

/*.alert {
    color: #990000;
}*/
    
    .cabecera {
        height: 56px;
        box-shadow: none;
        background-color: var(--color_normal);
        color: white;
    }
    .cabecera.beta {
        background-color: var(--color_beta);
    }
    .cabtitulo {
        float: left;
        padding: 15px;
        font-size: 18px;        
        height: -webkit-fill-available;
                                                                                height: -moz-available;
    }
    .cabtitulo.logout {
        float: right;
    }
    .cabtitulo.logout .glyphicon-log-out {
        cursor: pointer;
    }
    
    
    .divLogin {
        padding: 1%;
        background: inherit;
        color: inherit;
        max-width: 900px;
        margin: auto;
    }
    
    .container-fluid {
        padding: 0;
        margin: 20px 0;
        display: flex;
        justify-content: center;
    }
    
    .subcont {
        padding: 0;
    }
    
    .subcont.datos {
        padding-right:20px;
    }
    .subcont.logo {
        padding-left:20px;
    }
    
    fieldset {
        border: none;
        padding: 0;
    }
    
    .alert-danger {
        /*padding: 10px;
        margin: 0;
        color: white;
        background: #990000;
        border: none;
        width: 100%;
        border-radius: 8px;*/
        background-color: #f9efef;
        border-color: #990000;
        color: #990000;
    }
    .alert-success {
        background-color: #dff0d8;
        border-color: #3c763d;
        color: #3c763d;
    }
    
    .alert-danger img,
    .alert-success img {
        display: none;/*block;*/
    }
    
    .dato {
        font-size:18px;
        padding: 5px;
        width :100%;
        max-width :100%;
        border:none;
        border-bottom:1px solid var(--color_normal);
        background-color: white !important;
        border-radius: 4px;
    }
    
    /*.dato:required {
        background: lightcyan;
    }*/
    
    .labeldato {
        color: #999; 
        font-weight: normal;
        display: block;
        margin: 0;
    }
    /*labeldato + highlight {
        color: green;
    }*/

    .botonLogin {
        cursor: pointer;
        text-align: center;
        white-space: nowrap;
        color: white;
        text-transform: uppercase;
        height: auto;
        background-color: var(--color_normal);
        border: none;
        border-radius: 4px;
        padding: 8px 26px;
        margin: 0 10px 0 0;
    }
    
    .botonLogin.beta {
        background-color: var(--color_beta);
    }
    
    .botonlogin.volver {
        background-color: #aaa;
    }
    
    .alerta {
        color: #990000;
    }
    
    .noticia {
        background: #e0e8f7;
        /*border-radius: 8px;
        margin-top: 20px; /*30px;*/
        /*padding: 20px;*/
        color: #2d4779;
        border: 1px solid #9caac3;
    }
    
    .noticia .fusion-flexslider {
        margin-right: 10px;
    }
    
    .noticia ul {
        margin: 0;
    }
    
    .noticia .fusion-post-content post-content {
        font-style: italic;
        padding: 0 10px;
    }
    
    .noticia .fusion-post-content-container p {
        text-align: justify;
        font-style: italic;
        font-size: 12px;
        line-height: initial;
    }
    
    .noticia h2 {
        margin: 10px 0 5px;
        font-size: 22px;
        font-weight: bold;
    }
    
    .noticia .fusion-rollover {
        display: none;
    }
    
    .noticia .fusion-read-more {
        font-size: small;
    }   
    
    .noticia .fusion-alignleft {
        display: none;
    }
    
    a {
        color: #c53f33 !important;
    }
    
    a:hover {
        font-weight: bold;
    }
    
    .aviso {
        margin-top: 20px; /*30px;*/
        padding: 20px;
        border-radius: 8px;
                                                                                /*min-height: 90px;*/
                                                                                display: flex;
                                                                                align-items: center;
    }
    
    .aviso.mant {
        background: #fff6e8;
        border: 1px solid #cfbaba;
        color: #990000;
    }
    
    .aviso.admon {
        background: #fcf8e3;
        border: 1px solid #db8e01;
        color: #db8e01;
    }

    .aviso.soporte {
        background: #d9edf7;
        border: 1px solid #9dbbc9;
        color: #31708f;
    }
    
    .aviso.vig {
        /*justify-content: space-between;
        text-align: center;*/
        background: #ffffff;
        color: #58585a;
        border: 1px solid #cccccc;
    }
    
    .aviso p {
        display: table;
        text-align: justify;
        width: -webkit-fill-available;
                                                                                width: -moz-available;
        margin: 0;
    }
    
    .iconoaviso {
        float: left;
        display: flex;
        font-size: 50px !important;
        margin-right: 20px;
    }
    
    .imagen_logo {
        max-height: 380px;
        cursor: pointer;
        margin: 0;
    }
    
    .control {
        margin: 0 auto;
        text-align: center;
        padding: 0 15px 15px 0;
    }
    .control a {
        outline: none;
    }
    
    .imgcontrol {
        outline: none;
        width: 100%;
        max-width: 180px;
    }    
    
    .logomov {
        display: none;
    }
    
    div.alert {
        padding: 5px 10px;
        margin: 10px 0 20px;
        padding: 15px;
        border: 1px solid transparent;
        border-radius: 4px;
        display: flex;
        align-items: center;
    }

    div.alert-success {
        background-color: #dff0d8;
        border-color: #3c763d;
        color: #3c763d;
    }

    div.alert-info {
        background: #d9edf7;
        border: 1px solid #9dbbc9;
        color: #31708f;
    }   

    div.alert-error {
        background-color: #f2dede;
        border-color: #a94442;
        color: #a94442;
    }   
    div.alert-warning {
        background: #fff6e8;
        border: 1px solid #c98215;
        color: #990000;        
    }

    @media screen and (max-width: 990px) {
        .noticia {
            display: none;
        }
    }
    
    @media screen and (max-width: 900px) {
        .divLogin {
            padding: 5%;
        }
        
        .container-fluid {
            display: block;
            margin: 0;
        }
        
        .subcont.logo {
            display: none;
        }
        
        .alert img {
            display: none;
        }
        
        /*.container-fluid div > div {
            padding: 0;
        }*/
        
        .imagen_logo {
            max-height: 280px;
            margin: 0 auto;
            padding: 0;
        }
        
        .subcont {
            padding: 0 !important;
        }
        
        .dato {
            line-height: 1.1;
        }
        
        .aviso,
        .marcavig {
            font-size: smaller;
        }
        
        .iconoaviso {
            display: none;
        }

        .group {
            padding: 0 20px;
        }
        
        .logomov {
            display: block;
            padding: 0 10px;
        }
        
        
        /*.aviso {
            margin-top: 30px;
        }*/
        
        .noticia {
            display: none;
        }

        .ojo {
            padding-right: 20px;
        }
    }
    
    
/* ------------ botones controles ------------------*/
.container-controles {
    display: flex;
    justify-content: space-between;
    padding: 0;
    flex-wrap: wrap;
}

.container-controles .control {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--color_normal);
    border-radius: 15px;
    width: 17%;
    /* ------------- */
    padding: 10px;
    margin: 0;
}
.container-controles .control.beta {
    background-color: var(--color_beta);
}
    
@media (max-width: 893px){
    .container-controles {
        gap: 15px;
    }
    .container-controles .control {
        flex: 1 0 190px; /* Ajusta el ancho base de los elementos */
        box-sizing: border-box;
    }
    .ojo{
        padding-right: 20px;
    }
}


.container-controles .control img {
    width: 90%;
    margin-top: 30px;
}

.container-controles .control a {
    display: flex; 
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container-controles .control p {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    width: 100%;
    margin-top: 20px;
}

.desactivado {
    background-color: #cccccc !important;
}

a,
a:focus,
a:active,
a:visited {
    outline :none;
    box-shadow :none;
}
