/*Paginación de Bootstrap 2 (utiliza un helper) para que pise la de Bootstrap 3*/

.pagination {
    margin: 20px 0;
}
.pagination-centered {
    width: 100%;
}
.pagination ul {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */

    *zoom: 1;
    margin-left: 0;
    margin-bottom: 0;
    /*-webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);*/
}
.pagination ul > li {
    display: inline;
}
.pagination ul > li > a,
.pagination ul > li > span {
    float: left;
    padding: 4px 12px;
    line-height: 20px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left-width: 0;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #f5f5f5;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
    color: #999999;
    cursor: default;
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus {
    color: #999999;
    background-color: transparent;
    cursor: default;
}
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
    border-left-width: 1px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}
.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
}
.pagination-centered {
    text-align: center;
}
.pagination-right {
    text-align: right;
}
.pagination-large ul > li > a,
.pagination-large ul > li > span {
    padding: 11px 19px;
    font-size: 17.5px;
}
.pagination-large ul > li:first-child > a,
.pagination-large ul > li:first-child > span {
    -webkit-border-top-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    border-top-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-left-radius: 6px;
}
.pagination-large ul > li:last-child > a,
.pagination-large ul > li:last-child > span {
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
}
.pagination-mini ul > li:first-child > a,
.pagination-small ul > li:first-child > a,
.pagination-mini ul > li:first-child > span,
.pagination-small ul > li:first-child > span {
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
}
.pagination-mini ul > li:last-child > a,
.pagination-small ul > li:last-child > a,
.pagination-mini ul > li:last-child > span,
.pagination-small ul > li:last-child > span {
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-right-radius: 3px;
}
.pagination-small ul > li > a,
.pagination-small ul > li > span {
    padding: 2px 10px;
    font-size: 11.9px;
}
.pagination-mini ul > li > a,
.pagination-mini ul > li > span {
    padding: 0 6px;
    font-size: 10.5px;
}

/*Termina Paginación de Bootstrap 2 (utiliza un helper) para que pise la de Bootstrap 3*/

/*Interfaz */
body {
    background-image: url("../../img/pattern-motor.png");
}
#wrap {
    min-height: 100%;
    position: absolute;
    width: 100%;
    padding: 48px 0 160px 0;
}
body div.container {
    padding-top: 20px;
}

nav.navbar {
    min-height: 80px;
}

.navbar .navbar-text {
    color: white !important;
}

.company-logos img {
    padding: 1em 0;
}
@media (max-width: 1366px) {
    .navbar {
        margin-bottom: 0 !important;
    }

    .company-logos .navbar-text {
        font-size: 17px;
        padding: 0;
        margin: 22px 0 0 0;
    }

    .company-links * {
        font-size: small;
    }

    .navbar-brand img {
        height: 100%;
        margin-top: .5em;
    }
}

@media (min-width: 1367px) {
    .company-logos .navbar-text {
        font-size: 22px;
    }
}

a.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 100%;
    padding: 0;
    margin-top: .5em;
}

nav.navbar ul.navbar-nav li:hover {
    background: #4a7aac;
}

nav.navbar ul.navbar-nav li a:hover {
    color: white;
}

nav.navbar ul.navbar-right {
    margin-right: 10px;
}

nav .nav.navbar-nav a {
    padding: 1rem 1rem;
}

.box {
    padding: 20px;
}
.box2 {
    background-image: url("../../img/bg.png");
}
.box address {
    margin-bottom: 0px;
    font-size: 14px;
    margin-top: 8px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.footer .column ul li {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}
.footer .column ul li a {
    color: #1d3a52;
}
/*Carousel */
.carousel-inner > .item > img {
    margin: 0 auto;
}
#carousel-inicio .carousel-inner > .item {
    max-height: 360px;
}
#carousel-productos .carousel-inner .item {
    margin-bottom: 20px;
    height: 50px;
}
#carousel-productos .carousel-inner img {
    margin: auto;
}
#carousel-productos .carousel-inner p {
    text-align: center;
}
.carousel-indicators li {
    background: #0c1721 !important;
}

.carousel-indicators li.active {
    background: #fff !important;
}

ol.carousel-indicators {
    top: 0;
    width: 100%;
    left: 0;
    margin-left: 0;
}

.carousel-controls {
    position: relative;
    margin: 0 auto;
}

#ArticuloProductosForm select {
    font-size: 12px;
}
#map_canvas {
    width: 400px;
    height: 400px;
    margin: 10px auto;
}

/*Colores */
div.box,
div.well,
dl.well {
    background-color: #0c1721;
}
div.footer div.box {
    background-color: #060c11;
}

/*Formularios*/
.form-control input {
    height: 30px;
}

/*Login Mod*/
#login h2 {
    background-color: #00bc8c;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    color: #fff;
    font-size: 26px;
    padding: 10px 26px;
    margin: 0;
}

#login fieldset {
    background-color: #fff;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    padding: 10px 16px;
}

#login fieldset label,
#login fieldset p {
    color: #375a7f;
}

#login fieldset input {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #eee;
    color: #777;
    padding: 4px 10px;
    width: 100%;
    margin: 5px 0;
}

#login fieldset button,
#formulario fieldset button,
div.form-regular fieldset button {
    border: none;
    color: #fff;
    display: block;
    margin: 10px auto 0 auto;
    padding: 4px 0;
    width: 100px;
}

#login h2 span {
    margin-right: 5px;
}

.well p {
    color: #e7eef5;
}

/*Panel novedad*/
.titulares {
    background-color: #070e14;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    color: #fff;
    font-size: 26px;
    padding: 10px 15px;
    margin: 0;
}

#panel-novedad .titulares .glyphicon-bullhorn {
    color: #00bc8c;
    margin-right: 10px;
}

#panel-novedad div.time {
    text-align: right;
    color: #dbe0e6;
    padding-right: 10px;
    margin-bottom: 10px;
}

#panel-novedad p.bajo-titulo {
    font-size: 13px;
    text-align: right;
}

#panel-novedad .imagen {
    text-align: center;
}
#panel-novedad .img-responsive {
    display: inline;
}

#empresa h2 {
    background-color: #070e14;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    color: #fff;
    font-size: 26px;
    padding: 10px 15px;
    margin: 0 0 10px 0;
}
.carousel-inner-empresa {
    height: 426px;
}

#productos.container-fluid {
    padding-top: 2px;
    padding-left: 8px;
    padding-right: 8px;
}

#productos #navegacion {
    background-color: #232e38;
}

#productos .nav-tabs {
    border-bottom: 1px solid #536c86;
}

#productos .nav-tabs > li.active > a,
#myModal .nav-tabs > li.active > a {
    background-color: #232e38;
    border-right: 1px solid #536c86;
    border-left: 1px solid #536c86;
    border-top: 1px solid #536c86;
}

#productos .nav-tabs > li a:hover,
#myModal .nav-tabs > li a:hover {
    background-color: #375a7f;
    border-right: 1px solid #536c86;
    border-left: 1px solid #536c86;
    border-top: 1px solid #536c86;
}

#productos .tab-content {
    margin-top: 10px;
}

#productos #navegacion input {
    padding: 5px 7px;
}

#ofertas-carousel img {
    height: 190px;
    width: 100%;
}

#productos select {
    font-size: 14px;
}

#productos .col-md-7 {
    padding-left: 0;
    padding-right: 0;
}

ul.botonera li,
form#ArticuloProductosForm a.btn-default {
    background-color: #3f5872;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0 2px;
    border: none;
}

form#ArticuloProductosForm a.btn-default {
    padding: 4px 15px;
}

form#ArticuloProductosForm a.btn-default:hover {
    background-color: #28415b;
}

ul.botonera li a {
    padding: 6px 8px;
}

ul.botonera li a:hover {
    background-color: #375a7f;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#selectores .form-group {
    padding: 0 7px 0 0;
    margin-bottom: 0;
}
#selectores .form-control {
    padding: 0 5px;
}
/*Tablas */
table.table-bordered {
    border: none;
    border-bottom: 1px solid #060c11;
}
table.table-bordered > thead > tr > th {
    border: 1px solid #010304;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}
table.table-bordered > thead > tr > th:first-child {
    border-left: none;
}
table.table-bordered > thead > tr > th:last-child {
    border-right: none;
}
table.table-bordered > tbody > tr > td {
    border: none;
    border-left: 1px solid #010304;
    vertical-align: middle;
    white-space: nowrap;
}
table.table-bordered > tbody > tr > td:first-child {
    border: none;
}
table.table-bordered > thead > tr > th {
    background-color: #0a1118;
}
table.table-bordered td.cantidad {
    text-align: center;
    padding: 1px;
}
table.table-bordered td .btn {
    padding: 5px 5px;
    font-size: 13px;
    border: none;
    background-color: #0b674f;
}

td.cantidad .glyphicon {
    font-size: smaller;
}

table.table-bordered td .disable {
    pointer-events: none;
}
table.table-bordered td .disable .glyphicon {
    color: #4a4a4a !important;
}
div.modal-content .btn {
    padding: 5px 8px;
    font-size: 13px;
}
table.table-bordered td .btn:hover,
div.modal-content .btn:hover {
    background-color: #00bc8c;
}
table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #162b41;
}
table.table-striped > tbody > tr:hover {
    background-color: #344a5f;
}
table.table-bordered td.centrado {
    text-align: center;
}
table.table-bordered td.centrado a {
    margin-right: 5%;
}
table.table-bordered td.centrado .glyphicon {
    text-align: center;
    font-size: 2em;
    color: #0b674f;
}
table.table-bordered td.td_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}
table.table-bordered td.codAlternativo {
    font-size: 12px;
}

/* Para hacer dinámico el corte de texto de descripcion
table.table-bordered>thead>tr>th.descripcion{width: 50px;}
td.descripcion{font-size: 12px;}
td.descripcion div{width: 60%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
table.table-centered tbody tr td{text-align: center;} */

#pedido table.table-bordered td input {
    width: 60px;
}

#myModal table td {
    font-size: 14px;
}
#calculo div.column:first-child {
    padding-right: 3px;
}
#calculo div.column:last-child {
    padding-left: 3px;
}
/*Buscador Productos */
#productos #ArticuloProductosForm .form-control {
    height: 21px;
}
#productos #ArticuloProductosForm .form-group {
    margin-bottom: 0;
}
#productos #ArticuloProductosForm label {
    font-size: 13px;
}
div.grilla div.column {
    padding: 0;
}
div.grilla table {
    font-size: 13px;
    background-color: #070e15;
}
#productos .nav > li > a,
#myModal .nav > li > a {
    padding: 6px 8px;
}

input#cantidad {
    width: 36px;
    background-color: #010304;
    color: #fff;
    text-align: center;
    padding: 5px 0;
}
input#cantidad[readonly] {
    background: none;
}

input#substract_btn,
input#sum_btn {
    width: 36px;
    background-color: #0b674f;
    color: #fff;
    text-align: center;
    padding: 5px 0;
}
input#substract_btn:hover,
input#sum_btn:hover {
    background-color: #00bc8c;
}

#panel-ubicacion label {
    margin: 0 5px 0 7px;
}

/*Modal */
div.modal-content {
    background-color: #0c1721;
}
div.modal-header {
    border-bottom: 1px solid #28415b;
}
div.modal-footer {
    border-top: 1px solid #28415b;
}
div.panel {
    background-color: #060c11;
}

div.modal-content #info dl dt,
div#contacto dl dt {
    margin-bottom: 10px;
    max-width: 140px;
}
div.modal-content #info dl dd,
div#contacto dl dd {
    margin-left: 150px;
}
div.modal-content #categorias {
    font-size: 12px;
}
div.modal-content #categorias h4.panel-title {
    font-size: 14px;
}
div.modal-content #categorias .panel-body {
    padding: 7px;
}
div.modal-content #categorias div.panel {
    background-color: #0a1118;
}
div.modal-footer label,
div.modal-footer img {
    margin: 0 5px 5px 5px;
}
div.modal-footer input {
    margin: 0 5px 5px 0;
}
/*Modal  Envio Pedido*/
div#envioPedido .form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}

/*Contacto */
div#formulario div.form-group {
    margin: 0;
}
div#formulario h2 {
    margin-bottom: 25px;
}
div#formulario div.form-group input {
    margin: 0 auto 20px auto;
    width: 90%;
}
div#formulario div.form-group textarea {
    margin: 20px auto 20px auto;
    width: 90%;
}

/*Formularios */
div.form-regular h2.titulares {
    margin-bottom: 25px;
}
div.form-regular label.control-label span {
    font-size: 11px;
}
div.form-regular fieldset {
    width: 80%;
    margin: auto;
}

/*Pedido */
div#navegacion h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 26px;
}
div#navegacion ul.botonera {
    float: right;
}

/*Paginacion */
.pagination ul > li > a,
.pagination ul > li > span {
    background-color: #060c11;
    border: 1px solid #0b141e;
}
.pagination ul > li > a:hover {
    background-color: #375a7f;
}

/*Datos */
input.normal {
    height: 35px;
    padding: 10px 10px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #464545;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

/* When is read only the descuento1 2 3 */
input.normal[readonly] {
    background-color: #020506;
    color: #fff;
    cursor: not-allowed;
    text-align: center;
}

form#ClienteDatosForm span {
    margin-top: 5px;
}
form#ClienteDatosForm div.dato-margen {
    padding-right: 0px;
    margin-bottom: 20px;
}
form#ClienteDatosForm div.dato-margen div {
    padding-left: 20px;
}

/*Guía de tranporte */
div#archivoModal div.modal-body .img-responsive {
    margin: 0 auto;
}

/*Varios */
p.suave {
    color: #2d567b;
}
p.centrado {
    text-align: center;
}
input.form-control[readonly] {
    background-color: #020506;
    color: #fff;
    cursor: not-allowed;
    text-align: center;
}
div.alert {
    margin: 10px 20px;
}
h2 span.glyphicon {
    margin-right: 10px;
}
div.sinpadding {
    padding: 0;
}
div.fino {
    padding: 12px;
}

div.fixed {
    position: fixed !important;
    overflow: hidden;
    z-index: 10 !important;
    width: 100%;
}
a.leoporoli {
    background: url("../../img/leo_poroli.png") no-repeat;
    margin-top: 5px;
    width: 63px;
    height: 33px;
    display: block;
    text-indent: -9999px;
}

/* Toggle slider */
.switch-container {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-around;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    margin-top: 2px;
    width: 22px;
    height: 12px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 6px;
    width: 6px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #00bc8c;
}

input:focus + .slider {
    box-shadow: 0 0 1px #00bc8c;
}

input:checked + .slider:before {
    -webkit-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.compra-venta-header {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

/* Titulos tabla productos */
#productos thead > tr > th {
    border: 3px solid #162b41;
}

#productos thead > tr:nth-child(1) > th > a {
    text-decoration: none;
    color: #fff;
}

.big-title {
    font-size: 1.3em;
}

/* Layout tabla productos */
#productos > table {
    table-layout: fixed;
    width: 100%;
}

#productos .codigos {
    width: 6%;
    word-wrap: break-word;
    white-space: normal;
}

#productos .codigos > * {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#productos tr:nth-child(2) > th {
    width: 5%;
}

th > span.titCol {
    padding-right: 4px;
}

th > .glyphicon-eye-open,
th > .glyphicon-eye-close {
    padding-left: 4px;
}

@media all and (max-width: 1366px) {
    .big-title {
        font-size: 1.2em;
    }
}

/** Blinking text start */
blink,
.blink {
    -webkit-animation: blink 1s step-end infinite;
    -moz-animation: blink 1s step-end infinite;
    -o-animation: blink 1s step-end infinite;
    animation: blink 1s step-end infinite;
}

@-webkit-keyframes blink {
    67% {
        opacity: 0;
    }
}

@-moz-keyframes blink {
    67% {
        opacity: 0;
    }
}

@-o-keyframes blink {
    67% {
        opacity: 0;
    }
}

@keyframes blink {
    67% {
        opacity: 0;
    }
}
/** Blinking text end */

.text-larger {
    font-size: 1.3em !important;
}

.text-smaller {
    font-size: 0.75em !important
}

.tooltip > .tooltip-inner {
    background-color: #e7eef5 !important;
    color: black;
    white-space: pre-line;
}

.tooltip .tooltip-arrow {
    border-top-color: #e7eef5 !important;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #e7eef5 !important;
}

 table .tooltip {
    font-size: larger !important;
}

.text-bold {
    font-weight: bold;
}

.content {
    margin-top: 3rem;
}

#productos-table td {
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-btn:hover {
    color: #ffffff;
    background-color: #4a7aac;
}

.active-dropdown {
    background-color: #4a7aac;
    color: #ffffff;
}

.fa-caret-down {
    float: left;
    padding-right: 8px;
}

.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
}

.dropdown-internal-user-menu:hover {
    background-color: #4a7aac;
    color: #ffffff;
}

.v-align-text-bottom {
    vertical-align: text-bottom !important;
}

/**
	Loading Spinner starts
*/
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #666; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/**
	Loading spinner ends
*/

.square-25 {
    width: 25px;
    height: 25px;
    border-width: 5px;
}

.my-1 {
    margin: 0 1rem;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-end {
    justify-content: flex-end;
}

.align-items-center {
    align-items: center;
}

.my-well {
  position: fixed;
  width: 100%;
  z-index: 1020;
  padding-top: 0.2% !important;
}
.grilla {
    margin-top: 15em;
}
#info-stock {
    font-size: 0.6em;
}
