.container {
    width:95%;
}
a:link {   
    text-decoration:none;
}
.navbar {
    border-radius:0;
    margin-bottom: 0px;
}
/*CSS form login */
.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
    height:400px;
    background-image: url(../img/windows-footer-right.png);
    background-repeat: no-repeat;
    background-position:bottom right;
}
.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}
.botones_doc .btn {
    font-weight: 700;
    height: 95%;
    /* margin:1px 1px 1px; */
    padding:1px 8px 1px 8px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    margin-top:-1px;
}
.card {
    background-color: #EDF2F6;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.profile-img-card {
    width: 196px;
    height: 70px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 0%;
}
.profile-name-card {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}
.form-signin #inputEmail,
.form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}
.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}
.btn.btn-signin {
    background-color: #3B5360;
    color:#fff;
    padding: 0px;
    font-weight: 700;
    font-size: 18px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}
.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
    background-color: #83abbf;
    cursor: pointer;
}

/*CSS navbar login */
.navbarlogin-logo {
    margin-top:0px;
}
.navbarlogin-leyenda {
    margin-top:10px;
    padding-top:0px;
    padding-bottom:0px;
    padding-right:10px;
    margin-bottom:-10px;
    line-height:1.1;
    text-align: right;
    font-size: 12px;
    /* font-style: italic; */
    color:#fff;
}
.navbarlogin-leyenda i, .navbarlogin-leyenda span {
    margin-left:5px;
    margin-right:5px;
    color:#fff;
    opacity:0.8;
    font-weight: 300;
}
.navbarlogin-leyenda a {
    font-weight: 500;
    color:#fff;
    opacity:0.8;
}
.navbarlogin-leyenda i {
    font-weight: 300;
    color:#fff;
    opacity:0.8;
}
.navbarlogin-leyenda a:hover{
    color:#fff;
    opacity:1.0;
}
/*CSS form login */
.formlogin {
    margin-top: 35%;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 30px;
    background:#ebf3f4;
    border: 1px solid #6C7F8F;
    height: 290px;
}
.formlogin .form-group {
    margin-left: 70px;
}
.formlogin .formlogin-titulo {
    background-image: url(../img/logo_corto.png);
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    height: 75px;
    margin: 0 0 30px 0;
    padding-top: 4px;
    padding-left: 50px;
    padding-right: 50px;
    background: #3B5360;
    border-bottom:1px #273c47 solid;
    color: #fff;
}
.formlogin .form-group .boton {
    margin-top: 20px;
    margin-right: 0;
    float: right;
}
/*CSS imagenes login */
.logo-bn {
    width:60px;
    height:35px;
}
.logo-login {
    text-align: center;
    margin-top:7px;
    width:115px;
    height:35px;
}
.logo-login-xs {
    text-align: center;
    margin-top:10px;
    width:30px;
    height:30px;
}
.logo-login-central {
    margin-top:7px;
    text-align: center;
    width:150px;
    height:55px;
}
.logo-menu {
    text-align: center;
    margin-top:-5px;
    width:86px;
    height:30px;
}
.logo-menu-small {
    text-align: center;
    margin-top:-5px;
    width:35px;
    height:35px;
}

/*CSS resalte */
#mensaje-factura {
    text-align: center;
    height:195px;
    margin-top:8%;
}
#mensaje-factura.alert.alert-danger .msg {
    margin-top:10px;
    margin-bottom:10px;
    padding-top:20px;
    width:544px;
    height:85px;
    color:#9b171d;
    overflow-wrap: break-word;
    word-break: break-all;
}
#mensaje-factura.alert.alert-danger {
    text-align: center;
    height:200px;
    margin-top:6%;
    /* font-size:15px; */
}
#mensaje-factura.alert.alert-success {
    text-align: center;
    height:200px;
    margin-top:6%;
    /* font-size:15px; */
}
#mensaje-factura-mail {
    text-align: center;
    height:75%;
    margin-top:4%;
}
#mensaje-doc-default {
    background: #3B5360;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}
#mensaje-doc-default-rojo {
    background: #AE3138;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}
#mensaje-doc-default-azul {
    background: #00ADEE;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}
#mensaje-doc-default-naranja {
    background: #DB8228;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}
#mensaje-doc-ok {
    background: #1e541e;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}
.alert.alert-success .url {
    display:inline-block;
    /* font-style:italic; */
    font-weight: 700;
    color:#3c763d;
    line-height:1.4;
}
.alert.alert-success .url:hover {
    display:inline-block;
    font-style: normal;
    font-weight: 700;
    color:#3c763d;
    line-height:1.4;
}
#mensaje-doc-error {
    background: #AE3138;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}
#mensaje-doc-warning {
    color: #3B5360;
    padding:2px;
    padding-left: 80px;
    border-radius: 2px;
    width:100%;
    margin-bottom: 20px;
    text-align: left;
}
#resalte-ko {
    background: #B00C0C;
    color: white;
    padding:2px;
    border-radius: 2px;
    width:100%;
}

/*CSS alertas */
.alert {
    border-radius:0px;
    height:195px;
    text-align: center;
    margin-top:6%;
}
.login {
    height:55px;
}
.alert div {
    float:left;
}
.alert div span {
    margin-right:10px;
    margin-left:10px;
}
.alert div button {
    padding-left:10px;
}
.alert-danger { 
    border-color: #B63E5A;
    color: #B63E5A;
    text-align: center;
}
.alert-danger strong { 
    color: #7a0922;
}
.alert-danger span { 
    color: #7a0922;opacity:1;
    font-size:1.6em;
}
.alert-danger button { 
    color: #7a0922;
    opacity:1;
}
.btn .btn-primary {
    background: green;
}
.btn.azulOscuro span {
    font-weight: 500;
    font-size: 12px;
    color:#fff;
}

/*CSS otros */
.form-control {
    border-radius: 4px;
}
#div_linea_IVA .input-group input {
    border-radius:4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#btnLeft_linea_IVA {
    border-radius:4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#btnRight_linea_Concepto {
    border-radius:4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.form_linea {
    height: 60px;
}
.date-range1 {
    padding-left:0px;
    padding-right:5px;
    margin-right:0px;
}
.date-range2 {
    padding-left:5px;
    padding-right:0px;
    margin-left:0px;
}
.fecha {
    background-image:url(../img/calendar.png);
    background-repeat: no-repeat;
    background-position:right;
    background-size:27px 27px;
    text-align: center;
}
.fecha[readonly] {
    background-image:url(../img/calendar.png);
    background-repeat: no-repeat;
    background-position:right;
    background-size:27px 27px;
    background-color:#fff;
    text-align: center;
}
input[type=text][readonly] {
    background-color:#F7F7F7;
}

/*CSS footer */
#footer {
    position:fixed;
    z-index:99;
    bottom: 0;
    height: 46px;
    width: 100%;
    padding-top:0px;
    margin-bottom:-5px;

    width: 100%;
    height: 46px;

    bottom: 0;
}
#footer .footer-leyenda {
    float:left;
    margin-left:00px;
}
#footer .social {
    float:right;
    margin-right:40px;
}
/*CSS social */
.social {
    font-size: 13px;
    list-style-type: none;
    margin: 0 auto;
    padding-top:5px;
    padding-left: 0;
}
.social li {
    background: none repeat scroll 0 0 #3B5360;
    border: 2px solid #3B5360;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    float: left;
    height: 32px;
    line-height: 32px;
    margin: 0px 8px 0 0;
    padding: 2px 0 0 0;
    text-align: center;
    width: 32px;
    transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
}
.social li[disabled] {
    cursor:default;
    opacity:0.3;
}
.social li:hover {
    transform: scale(1) rotate(360deg);
    -webkit-transform: scale(1) rotate(360deg);
    -moz-transform: scale(1) rotate(360deg);
    -ms-transform: scale(1) rotate(360deg);
    -o-transform: scale(1) rotate(360deg);

    border: 2px solid #AE3138;
    background: #AE3138;
}
.social li:hover[disabled] {
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
    -moz-transform: scale(1) rotate(0deg);
    -ms-transform: scale(1) rotate(0deg);
    -o-transform: scale(1) rotate(0deg);

    background: none repeat scroll 0 0 #A6C4C7;
    border: 2px solid #A6C4C7;
    cursor:default;
}
.social li a:hover[disabled],.social li a i:hover[disabled]{
    cursor:default;
}
.social li a {
    color: #EDEFF1;
    text-decoration: none;
}
.social li a[disabled] {
    color: #EDEFF1;
    text-decoration: none;
    cursor:default;
    opacity:0.5;
}
.social li a i {
    font-size: 18px;
    margin: 0 0 0 0px;
    color: #EDEFF1 !important;
}
.social li a i[disabled] {
    font-size: 18px;
    margin: 0 0 0 0px;
    color: #EDEFF1 !important;
}
.alert-fondo {
	background-color: #EBF3F4;
	border: 1px solid #6C7F8F;
}
.alert-fondo-rojo {
	background-color: #fcefed;
	border: 1px solid #AE3138;
}

.footer-leyenda {
    margin-top:7px;
    padding-top:0px;
    padding-bottom:0px;
    padding-left:0px;
    margin-bottom:-10px;
    line-height:1.1;
    font-size: 12px;
    font-style: italic;
}
.footer-leyenda span {
    margin-left:5px;
    margin-right:5px;
    color:#2C3E50;
    opacity:0.8;
}
.footer-leyenda a i {
    margin-left:5px;
    margin-right:5px;
    color:#2C3E50;
    opacity:1;
}
.footer-leyenda a, .footer-leyenda i {
    color:#2C3E50;
    opacity:0.8;
}
.footer-leyenda a:hover, .footer-leyenda a:hover i{
    color:#AE3138;
    opacity:1.0;
    font-weight: 700;
    font-size: 12px;
}
.footer-imagen img{
    text-align: center;
    margin-top:2px;
    width:80px;
    height:30px;
    opacity:1;
}
.footer-imagen2 img{
    text-align: center;
    margin-top:1px;
    width:125px;
    height:35px;
    /*width:65px;
    height:35px;*/
    opacity:1;
}
.responsive-imagen {
    text-align: center;
    margin-top:70px;
    width:100px;
    height:40px;
    opacity:0.3;z-index:-99;
}
/*Media Queries*/
@media only screen and (max-width: 767px) {
    .container {
        width:100%;
        padding:0px;
    }
    .container .row{
        margin-left:0px;
        margin-right:0px;
    }
    .container {
        margin:0 auto;
        padding: 0;
    }
    .formlogin {
        margin-left:15px;
        width:100%;
    }
    .form-signin input {
        height:45px;
        font-size:20px;
    }
    .btn.btn-signin {
        font-size: 20px;
        height: 45px;
    }
    #formFactura .form_cabecera .botones label {
        margin-top:14px;
    }
    #formFactura .form_cabecera div label {
        margin-left: 12px;
    }
    #formFactura .botones #btnCampo1 {
        padding-top:2px;
    }
    .form_linea {
        height: 160px;
    }
    .linea2_lupa .input-group input {
        width:100%;
    }
    .linea2_lupa .input-group {
        padding-right:3px;
    }
    #mensaje-doc-warning {
        padding-left: 10px;
    }
    .marco_linechart {
        height:500%;
        width:99%;
        margin-left:2px;
    }
    #div_linechart {
        height:320px;
        width:100%;
        margin:0;
    }
    .marco_tiempo {
        margin-top:10px;
        padding-top:10px;
        padding-bottom:10px;
        height:50%;
        text-align: center;
        z-index:-999;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .form_linea {
        height: 100px;
    }
}
@media only screen and (min-width: 768px) {
    /*CSS footer */
    #footer {
        border-top:1px #A6C4C7 dotted;
        background-color:#fff;
    }
}

/*bootstrap-select*/
.bootstrap-select .dropdown-menu {
    border-radius: 6px;
}
.bootstrap-select .dropdown-menu span{
    color: #000;
}
.bootstrap-select .active {
    top:0px;
    background: #a01010;
    border:none;
    color: #fff;
}
.bootstrap-select .bs-searchbox{
    padding: 8px;
    background: #fff;
}

.bootstrap-select button {
    border: 1px solid #ccc !important;
    width: 100%!important;
    background: #fff!important;
    
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    width: 100%;
    min-width: inherit;
    text-transform: none;
    height: 32px;
    cursor: pointer;
    display: inline-block;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 29px;
    font-weight: normal;
    padding-left: 5px;
}
.bootstrap-select.show-tick .dropdown-menu li a span.text {
    font-weight: 300;
}
.bootstrap-select.show-tick .dropdown-menu li a.selected.active span.text {
    font-weight: 400;
}

/* Forzamos el fondo Y el texto al mismo tiempo */
.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:focus {
    background: #3B5360 !important; /* El fondo que ya te funciona */
    color: #ffffff !important;            /* El texto en blanco */
}
.dropdown-menu > .active > a:hover {
    background: #F5F4B2 !important; /* El fondo que ya te funciona */
    color: #3C4D5A !important;            /* El texto en blanco */
    font-weight: 400;
}

/* A veces el texto está envuelto en un span interno (clase .text) */
.dropdown-menu > .active > a span.text, 
.dropdown-menu > .active > a span.check-mark {
    color: #ffffff !important;
    font-weight: bolder;
}
/* A veces el texto está envuelto en un span interno (clase .text) */
.dropdown-menu > .active > a:hover span.text, 
.dropdown-menu > .active > a:hover span.check-mark {
    color: #3C4D5A !important;
    font-weight: bolder;
}
