/* Add here all your css styles (customizations) */

@font-face {
    font-family: AvenirBlack;
    src: url(/static/fonts/Avenir-Black-03.ttf);
}

html {
    font-size: 62.5% /* 62.5% of 16px = 10px */;
    color: #333;
}

body, p ,span{
    font-size: 1.4rem;
    line-height: 2.1rem;
}

h1,
h1 a {
    color: #163d5c;
    font-weight: bold;
    line-height: 3.6rem;
}

h2, h2 a{
    color: #163d5c;
    font-weight: bold;
    line-height: 3rem;
}

h3, h3 a{
    color: #163d5c;
    font-weight: bold;
    line-height: 2.4rem;
}

h4, h4 a {
    color: #333;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 2rem;
    margin: 0;
}

h4 span{
    color: #333;
}

aside.main-sidebar span{
    font-size: 1.2rem;
}

.graph select{
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(/static/img/site/select-arrow.gif);
    background-repeat: no-repeat;
    background-position: right center;
    letter-spacing: 0;
    padding-left: 5px;
    padding-right: 20px;
    border: 0.2rem solid #ccc;
    -khtml-border-radius: 0.4rem;
    -moz-border-radius: 0.4rem;
    -webkit-border-radius: 0.4rem;
    border-radius: 0.4rem;
    letter-spacing: 0;
    background-color: #fff;
    font-size: 14px;
    line-height: 1;
    color: #555;
}

.nombre_producto {
	color: #4C80AB;
	font-weight: bold;
}
input#unitario {
	max-width: 80% !important;
}
.table_products h2.inline{
    display:inline;
}
.table_products a#show_hide_products{
    cursor:pointer; 
    cursor: hand;
}
i.hide_product{
    cursor:pointer; 
    cursor: hand;
}
header nav.navbar-static-top div.navbar-custom-menu li.dropdown ul.dropdown-menu li.footer a.dropdown-menu-a{
    font-size: 14px;
    color: #4c80ab !important;
}
input#unitario{
    max-width:40px;
    text-align: right;
}

div.title-0{
    padding:0px;
}

#comentariopedido a#show_hide_comments{
    cursor:pointer; 
    cursor: hand;
}

#comentariopedido textarea#table_comments{
    width:100%;
    margin-top: 10px;
}

#comentariopedido{
    margin-top: 10px;
    margin-bottom: 10px;
}

div#sindireccion{
    text-align: center;
    float:right; 
    margin-top: 15px; 
    margin-bottom: 15px;
    font-size: 1.25rem;
}

div#sindireccion a img{
    margin-left: 10px;
    margin-top: -2px;
}

div#sindireccion .glyphicon{
    font-size: x-small;
}

.input-alert,
.input-alert:hover{
    background-color: #ffd9d9 !important;
}

.in-stock-msg strong{
    color: #008a00;
}

.shipping-time{
    font-size: 12px;
}

.sidebar-collapse ul.sidebar-menu li span,
.sidebar-collapse ul.sidebar-menu li ul.treeview-menu li a
{
    width:180px;
    text-overflow:ellipsis;
    white-space:nowrap; 
    overflow:hidden; 
}

#send_order{
    margin-bottom: 15px;
}

img.img-cart{
    width:100%; 
    height:auto;
}

div.zoom-div{
    z-index: 50;
}

div.zoom-div:hover{
    z-index: 100;
}

img.zoom{
    z-index: 50;
    transform-origin:left top;
    -ms-transform-origin:left top; /* IE 9 */
    -webkit-transform-origin:left top; /* Safari and Chrome */    
    border: 0 solid #3c8dbc; 

}

img.zoom:hover{
    z-index: 100;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
    opacity: 1;
    transform: scale(2);
    -ms-transform: scale(2); /* IE 9 */
    -webkit-transform: scale(2); /* Safari and Chrome */ 
    border: 1px solid #3c8dbc; 
}

#mensajeprecio{
    font-size: 1.1rem;
    margin-top: 24px; 
    margin-bottom: 15px;
}

.fila-pedido{
    min-height: 35px;
}

.mi-producto p{
    margin: 0;
}

.mi-producto h4{
    margin-bottom: 0px;
}

.mi-producto .referencia,
.mi-producto .precio{
    display: inline-block;
}

.mi-producto .referencia span{
    font-weight: 700;
}

.mi-producto .proveedor span{
    color: #163d5c;
}

.mi-producto .precio span{
    color: #900;
}

.inventario{
    border-top: 1px solid #eee;
}

.inventario h3{
    line-height:1.4rem;
    font-size: 1.4rem;
    margin: 4px 0 0;
}

.precios .precio_pvp{
    text-decoration: line-through;
    font-size: 14px;
}

.precios .precio_dtx {
    color: #990000;
    font-size: 16px;
}

.skin-blue .main-header .logo{
    background-color: #00335f;
}

.skin-blue .main-header .logo:hover{
    background-color: #00335f;
}

.skin-blue .main-header .navbar {
    background-color: #163d5c;
}

.content-header > .breadcrumb{
    top: 0;
}

.logo-mini{
    margin-top: 10px;
}

.sidebar-mini.sidebar-collapse .main-header .logo {
    width: 49px;
}

.main-header .logo{
    width: 229px;
}

.sidebar-mini.sidebar-collapse .main-header .navbar {
    margin-left: 49px;
}

.main-header > .navbar{
    margin-left: 229px;
}

.sidebar-mini.sidebar-collapse .main-sidebar .sidebar .user-panel {
    display: none !important;
    -webkit-transform: translateZ(0);
}

.promocion {
    background-color: transparent;
    border-right: 11px solid transparent;
    color: white;
    display: inline-block;
    font-size: 1.4rem;
    line-height: 0px;
    padding-left: 5px;
    padding-right: 5px;
    border-top: 11px solid #2c485f;
    border-bottom: 11px solid #2c485f;
}

.mi-producto .promocion{
    margin-top: 5px;
}

#nombre_producto p{
    margin-bottom: 0;
}


/**
 * Dashboard
 */

.carousel-indicators {
    bottom: 0px;
}

#carouselDashboard .carousel-inner > .item > a > img, 
#carouselDashboard .carousel-inner > .item > img, 
#carouselDashboard .img-responsive, 
#carouselDashboard .thumbnail a > img, 
#carouselDashboard .thumbnail > img {
    width: 100%;
}

.dashboard{
    margin: 0;
    padding: 0;
}

.dashboard .graph > div{
    margin: 15px 0;
    padding-bottom: 10px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.graph .head-amcharts h3{
    display: inline-block;
}

.graph .head-amcharts p.message{
    display: inline-block;
    margin: 0 0 0 20px;
}

.graph select{
    max-width: 200px;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.graph .amcharts{
    min-height: 400px;
}

.amcharts .amcharts-chart-div a{
    color: #FFF !important;
    font-size: 1px !important;
}

.amcharts .amcharts-export-menu-top-right{
    top: -30px;
}

.graph .dashboard-list{
    float: left;
    position: relative;
    padding: 5px;
    width: 100%;
}

.graph .dashboard-list table{
    margin-bottom: 0;
}

.graph .dashboard-list .list-products .product{
    float: left;
    width: 100%;
}

.graph .dashboard-list .list-products .img{
    float: left;
    width: 20%;
}

.graph .dashboard-list .list-products img{
    width: 100%;
    height: auto;
}

.graph .dashboard-list .list-products .name{
    margin-top: 10px;
    float: left;
    width: 80%;
    padding-left: 10px;
}

.graph .dashboard-list .list-products .value{
    float: left;
    width: 80%;
    padding-left: 10px;
    color: #900;
}

.graph .dashboard-list .table{
    margin-bottom: 8px;
}

.graph .dashboard-list .table > tbody > tr > td, 
.graph .dashboard-list .table > tbody > tr > th, 
.graph .dashboard-list .table > tfoot > tr > td, 
.graph .dashboard-list .table > tfoot > tr > th, 
.graph .dashboard-list .table > thead > tr > td, 
.graph .dashboard-list .table > thead > tr > th{
    padding: 8px;
}

#head_historico_consumo_gabinete,
#head_inventario_marca,
#head_inventario_proveedor{
    border-top: 1px solid #dfdfdf;
    margin:auto;
}
/**
 * END Dashboard
 */


@media screen and (max-width: 767px){

    .table_products #stock_min span,
    .table_products #stock_opt span,
    .table_products #stock_act span,
    .table_products #cantidad span,
    .table_products #price span,
    .table_products #total span,
    .contador span,
    .inventario span,
    .desplega-producto span{
        font-weight: 700;
    }

    .generar-informes{
        text-align: center;
    }

    .generar-informes button{
        margin-top: 5px;
    }

    .sidebar-mini.sidebar-collapse .main-header .logo,
    .sidebar-mini .main-header .logo {
        width: 20%;
        float:left;
    }

    .sidebar-mini .main-header .logo-lg{
        display: none;
    }

    .sidebar-mini .main-header .logo-mini{
        display: block;
    }

    .sidebar-mini.sidebar-collapse .main-header .navbar,
    .main-header > .navbar{
        width: 80%;
        float: right;
        margin-left: unset;
        height: 50px;
    }

    .main-header > .navbar a:hover{
        height: 50px;
    }

    /**
     * Dashboard
     */
    .graph .dashboard-list table.ultimos_pedidos th:last-child,
    .graph .dashboard-list table.ultimos_pedidos td:last-child{
        display:none;
    }

    .graph .head-amcharts p.message{
        margin: 0 0 0 5px;
    }
    /**
     * END Dashboard
     */

}

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

    .table_products #stock_min span,
    .table_products #stock_opt span,
    .table_products #stock_act span,
    .table_products #cantidad span,
    .table_products #price span,
    .table_products #total span,
    .contador span,
    .inventario span,
    .desplega-producto span{
        display: none;
    }

    #send_order{
        float:right; 
        margin-top: 15px; 
    }

    i.hide_product{
        margin-left: 10px;
    }

    .generar-informes{
        text-align: right;
    }

    img.zoom:hover{
        transform: scale(3.5);
        -ms-transform: scale(3.5); /* IE 9 */
        -webkit-transform: scale(3.5); /* Safari and Chrome */
    }

}

@media screen and (min-width: 992px) {
    /**
     * Dashboard
     */
    #historico_consumo_gabinete,
    #inventario_marca,
    #inventario_proveedor{
        border-left: 1px solid #dfdfdf; 
    }
    #head_historico_consumo_gabinete,
    #head_inventario_marca,
    #head_inventario_proveedor{
        border-top: none; 
    }
    /**
     * END Dashboard
     */
}

@media screen and (min-width: 1250px) {
    /**
     * Dashboard
     */
    .graph .dashboard-list .list-products .product{
        float: left;
        width: 50%;
    }
    /**
     * END Dashboard
     */
}

@media screen and (min-width: 1650px) {
    img.zoom:hover{
        transform: scale(2);
        -ms-transform: scale(2); /* IE 9 */
        -webkit-transform: scale(2); /* Safari and Chrome */
    }
}


/**
 * Modales
 */

.modal-header .close {
    padding: 1rem;
    margin: -4rem -1rem -1rem auto;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.modal-header .close span{
    font-size: 27px;
}

/**
 * Mensajes
 */

#msg {
    width: 100%;
    min-height: 50px;
    text-align: center;
    line-height: 50px;
}

#msg.msg-info{
    background-color: #C8C9F8;
    color: #163D5C;
}

#msg.msg-success{
    background-color: #C8F8C9;
    color: #008a00;
}

#msg.msg-warning{
    background-color: #F8F8C8;
    color: #998e10;
}

#msg.msg-error{
    background-color: #F8D0C8;
    color: #900;
}