/* Iconos */
.sprite {
    background-image: url(../Images/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
    width: 45px;
}

.sprite-buscarClientes {
    width: 60px;
    height: 60px;
    background-position: -64px -60px;
    background-size: 250px;
}

.sprite-cargos {
    width: 60px;
    height: 60px;
    background-position: -189px 2px;
    background-size: 250px
}

.sprite-cliente {
    width: 19px;
    height: 30px;
    background-position: -82px -5px;
}

.sprite-clientes {
    width: 32px;
    height: 27px;
    background-position: -111px -5px;
}

.sprite-diariosVenta {
    width: 60px;
    height: 60px;
    background-position: -188px -62px;
    background-size: 250px;
}

.sprite-estadisticas {
    width: 60px;
    height: 60px;
    background-position: -2px -118px;
    background-size: 250px;
}

.sprite-existencias {
    width: 60px;
    height: 60px;
    background-position: 0px 4px;
    background-size: 250px;
}

.sprite-factura {
    width: 30px;
    height: 30px;
    background-position: -85px -72px;
}

.sprite-inicio {
    width: 35px;
    height: 38px;
    background-position: -4px -130px;
    background-size: 170px;
}

.sprite-inventarios {
    width: 38px;
    height: 38px;
    background-position: -44px -135px;
    background-size: 170px;
}

.sprite-listaPrecios {
    width: 60px;
    height: 60px;
    background-position: -128px 0px;
    background-size: 250px;
}

.sprite-materiales {
    width: 30px;
    height: 30px;
    background-position: -124px -42px;
}

.sprite-nuevoCliente {
    width: 60px;
    height: 60px;
    background-position: -4px -60px;
    background-size: 250px;
}

.sprite-nuevoPedido {
    width: 60px;
    height: 60px;
    background-position: -65px 0px;
    background-size: 250px;
}

.sprite-pedidos {
    width: 30px;
    height: 30px;
    background-position: -160px -43px;
}

.sprite-sterenCard {
    width: 60px;
    height: 60px;
    background-position: -65px -120px;
    background-size: 250px
}

.sprite-sustitutos {
    width: 30px;
    height: 30px;
    background-position: -126px -141px;
}

.sprite-FacturaE {
    background-position: -126px -64px;
    width: 60px;
    height: 60px;
    background-size: 250px;
}

/*iconos dinamicos*/
i.sprite.sprite-configuracion {
    background-position: -55px -205px;
    width: 40px;
    height: 38px;
    background-size: 200px;
}

i.sprite.sprite-reportes {
    background-position: 0 -178px;
    width: 40px;
    height: 38px;
    background-size: 170px;
}

i.sprite.sprite-finanzas {
    background-position: -85px -174px;
    width: 40px;
    height: 38px;
    background-size: 170px;
}

i.sprite.sprite-inventario {
    background-position: -128px -175px;
    width: 40px;
    height: 38px;
    background-size: 170px;
}

i.sprite.sprite-materiales {
    background-position: -4px -254px;
    width: 40px;
    height: 38px;
    background-size: 200px;
}

i.sprite.sprite-aplicacion {
    background-position: -54px -254px;
    width: 40px;
    height: 38px;
    background-size: 200px;
}

i.sprite.sprite-interfazSAP {
    background-position: -86px -218px;
    width: 40px;
    height: 38px;
    background-size: 170px;
}

i.sprite.sprite-ventaDistribucion {
    background-position: -155px -255px;
    width: 40px;
    height: 38px;
    background-size: 200px;
}

/* Barra Lateral */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
    margin-top: -20px;
}

    .nav-sidebar > li > a {
        padding-right: 10px;
        padding-left: 10px;
        color: #ffffff;
        text-align: center;
    }

    .nav-sidebar > .active > a,
    .nav-sidebar > .active > a:hover,
    .nav-sidebar > .active > a:focus {
        color: #ffffff;
        background-color: #666666;
    }

.dropdown-submenu li {
    padding-left: 10px;
}

.con-logo {
    float: left;
}

.menu-fix {
    width: 85px;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.1);
}

/* Hide for mobile, show later */
h1.logotipo img {
    width: 250px;
    height: auto;
}

#sidebar-toggle {
	background: #ffffff;
	display: block;
	padding: 12px 6px;
	width: 40px;
	height: 40px;
	margin: 15px 0px 15px 0;
}

    #sidebar-toggle .bar {
        display: block;
        width: 24px;
        margin-bottom: 4px;
        height: 2px;
        background-color: #0192d3;
        border-radius: 1px;
    }

.open-sidebar {
    width: 85px !important;
    display: block !important;
}

    .open-sidebar #sidebar-toggle .bar:nth-child(2) {
        display: none;
    }

    .open-sidebar #sidebar-toggle .bar:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 50%;
    }

    .open-sidebar #sidebar-toggle .bar:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 50%;
    }

@media (max-width: 900px) {
    #menu-wrapper {
    }

    #sidebar-toggle {
        background-position: -36px -780px !important;
    }

    #sidebar-toggle {
        top: -33px !important;
    }

    .sidebar {
        margin: 50px 0 0 !important;
    }
}

@media (min-width: 769px) {
	#sidebar-toggle {
		background: url(../Images/spritesheet.png) -36px -805px;
		display: block;
		padding: 13px 8px;
		float: left;
		width: 30px;
		height: 85px;
		margin: 8px 0 0 -5px;
		position: absolute;
		left: -10px;
		top: -3px;
		display: none;
	}

        #sidebar-toggle .bar {
            display: none;
        }

    .row.dash-top {
        margin: 20px 0 0;
    }
}

@media (max-width: 768px) {
    #sidebar-toggle {
        float: right;
        border: 2px solid #0192d3;
    }

    .sidebar {
        margin: 0px 0 0 !important;
    }
}

@media (min-width: 768px) {
	.sidebar {
		position: fixed;
		padding: 0;
		color: #ffffff;
		z-index: 1000;
		float: left;
		width: 0;
		min-height: 535px;
		margin: 25px 0 0;
		left: -85px;
	}
	.open-sidebar.sidebar {
		left:0;
	}
}
.open-sidebar #sidebar-toggle2 {
	background: url(../Images/spritesheet.png) -20px -635px;
	display: block;
	padding: 0;
	float: left;
	width: 40px;
	height: 40px;
	margin: 0;
	position: fixed;
	left: 25px;
	bottom: 5px;
	background-size: 300px;
	border: none;
}

#sidebar-toggle2 {
	background: url(../Images/spritesheet.png) -22px -491px #d8d8d8;
	display: block;
	padding: 0;
	float: left;
	width: 22px;
	height: 38px;
	margin: 0;
	position: fixed;
	left: 1px;
	bottom: 9px;
	background-size: 250px;
}
.open-sidebar .content-toggle {
	width: 85px;
	height: 60px;
	margin: 0;
	position: fixed;
	left: 0;
	bottom: 0;
	border-top: 1px solid #bdbdbd;
	border-radius:0;
	display:block;
}
.content-toggle {
	width: 25px;
	height: 60px;
	margin: 0;
	position: fixed;
	left: 0;
	bottom: 0;
	background: #d8d8d8;
	border-radius: 0 10px 10px 0;
}

@media (max-width: 767px) {
    .sidebar {
        z-index: 1000;
        height: 100%;
        left: 0;
        float: left;
        padding: 0;
        display: none;
        -webkit-transition: left 0.4s ease-in-out;
        -moz-transition: left 0.4s ease-in-out;
        -ms-transition: left 0.4s ease-in-out;
        -o-transition: left 0.4s ease-in-out;
        transition: left 0.4s ease-in-out;
        position: fixed;
    }

    #menu-wrapper {
        position: relative !important;
    }

    #sidebar-toggle {
        position: fixed;
        right: 15px;
        top: 0px !important;
        border: 2px solid #0192d3;
    }

    h1.logotipo img {
        margin: 0 auto;
        width: 225px;
    }

    /*.row.dash-top {
        margin: 150px 0 0;
    }*/
	.open-sidebar .content-toggle {
		display: none;
	}
}

@media (max-width: 520px) {
    h1.logotipo img {
        width: 200px;
    }

    #sidebar-toggle {
        /*float: right;
        margin: 27px 0 0 10px;*/
    }

    .sidebar {
        position: absolute;
        display: block;
        left: -100px;
    }

    .open-sidebar {
        left: 0;
    }

    .container-fluid.open-sidebar2 {
        width: calc(100%);
    }

    #menu-wrapper {
        /*box-shadow: 5px 5px 26px rgba(0,0,0,1);*/
    }

    .col-md-2.col-xs-1.campo-busca {
        /*top: 25px;*/
    }
}

#menu-wrapper {
    display: block;
    z-index: 100;
}

@media (max-width: 320px) {
    h1.logotipo img {
        margin: 0 auto;
        width: 85%;
    }
}

.menu-lateral [class^="icon-"], .menu-lateral [class*=" icon-"] {
    height: 2.5rem;
    width: 2.5rem;
    display: block;
    fill: currentColor;
}

/* Reset */

.menu-lateral div,
.menu-lateral form,
.menu-lateral input {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

.menu-lateral a {
    text-decoration: none;
}

.menu-lateral li {
    list-style: none;
    position: relative;
    width: 85px;
    height: 80px;
}

/* Menu Container */
.menu-lateral {
    display: inline-block;
    position: relative;
    cursor: default;
    z-index: 2;
    padding-left: 0;
    margin: 0;
}

    .menu-lateral > li .mega-menu {
        display: block;
        float: left;
        position: absolute;
        top: 0;
    }

    /* Menu Links */
    .menu-lateral > li > a {
        /*	position: relative; */
        display: block;
        z-index: 510;
        height: 80px;
        padding: 5px 0px;
        /*line-height: 54px; */
        /*font-weight: bold; */
        font-size: 12px;
        color: #fcfcfc;
        text-shadow: 0 0 1px rgba(0,0,0,.35);
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        text-align: center;
        line-height: 1.2;
    }

ul.menu-lateral > li:nth-child(2) .btnInicio, ul.menu-lateral > li:nth-child(5) .btnInicio {
    background: #0192d3;
}

ul.menu-lateral li:nth-child(2) .btnInicio .submenu-venta.btnInicio li, ul.menu-lateral li:nth-child(5) .btnInicio .submenu-venta.btnInicio li {
    background: #0381b9;
    width: 100%;
}

    ul.menu-lateral li:nth-child(2) .btnInicio .submenu-venta.btnInicio li:hover, ul.menu-lateral li:nth-child(5) .btnInicio .submenu-venta.btnInicio li:hover {
        background: #666666;
    }

ul.menu-lateral li:nth-child(3) .btnInicio {
    background: #15bbaf;
}

    ul.menu-lateral li:nth-child(3) .btnInicio .submenu-venta.btnInicio li {
        background: #12a79c;
    }

        ul.menu-lateral li:nth-child(3) .btnInicio .submenu-venta.btnInicio li:hover {
            background: #666;
        }

ul.menu-lateral li:nth-child(4) .btnInicio {
    background: #7bc242;
}

    ul.menu-lateral li:nth-child(4) .btnInicio .submenu-venta.btnInicio li {
        background: #5e9432;
    }

        ul.menu-lateral li:nth-child(4) .btnInicio .submenu-venta.btnInicio li:hover {
            background: #666666;
        }

ul.menu-lateral li:nth-child(5) .btnInicio {
    background: #064b8c;
}

    ul.menu-lateral li:nth-child(5) .btnInicio .submenu-venta.btnInicio li {
        background: #074075;
    }

        ul.menu-lateral li:nth-child(5) .btnInicio .submenu-venta.btnInicio li:hover {
            background: #666;
        }

.menu-lateral .menu-lateral-column ul li ul li:hover {
    background-color: #666666;
}

.menu-lateral li a:hover {
    background: #666 !important;
}

.menu-lateral > ul li:hover > a {
    background-color: #666666;
}

.menu-lateral > li:first-child > a {
    border-radius: 3px 0 0 3px;
    border-left: none;
}

ul.menu-lateral li .btnInicio {
    width: 85px;
}

/* Menu Dropdown */
.mega-menu {
    position: absolute;
    display: block;
    left: 100%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1000;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}

.mega-menu-configuracion {
    position: absolute;
    display: block;
    left: 100%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1050;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}

.mega-inventarios {
    top: 16%;
    width: 262.2%;
}

.mega-clientes {
    top: 32.2%;
    width: 290%;
}

.mega-pedidos {
    top: 48.5%;
    width: 403%;
}

.mega-reportes {
    top: 65%;
    width: 370%;
}

.mega-configuracion {
    top: 81%;
    /*width: 300px;*/
}


.menu-lateral > li:hover > div {
    opacity: 1;
    visibility: visible;
    overflow: visible;
    z-index: 1000;
}

/* Menu Content Styles */
.menu-lateral .menu-lateral-column {
    float: left;
    width: 100%;
}

    .menu-lateral .menu-lateral-column h3 {
        margin: 20px 0 10px 0;
        line-height: 18px;
        font-family: Helvetica, Arial, sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #372f2b;
        text-transform: uppercase;
    }

        .menu-lateral .menu-lateral-column h3.orange {
            color: #ff722b;
        }

.menu-lateral-column ul {
    padding-left: 0;
    padding-right: 0;
}

ul.menu-lateral li .menu-lateral-column > ul {
    width: 270px;
}

.menu-lateral-column li {
    float: left;
    padding: 0;
}

.menu-lateral .menu-lateral-column li a {
    line-height: 1.5em;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #ffffff;
    display: block;
    padding: 5px;
}

.menu-lateral-column .submenu-venta li {
    padding-left: 10px;
}

.nav-column {
    float: left;
    width: 20%;
    padding: 2.5%;
}

    .nav-column h3 {
        margin: 20px 0 10px 0;
        line-height: 18px;
        font-family: Helvetica, Arial, sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #ffffff;
        text-transform: uppercase;
    }


    .nav-column a {
        color: #ffffff;
    }

        .nav-column a:hover {
            background-color: #666666;
        }

    .nav-column li a, .nav-column a {
        display: block;
        line-height: 26px;
        font-family: Helvetica, Arial, sans-serif;
        font-weight: bold;
        font-size: 13px;
        color: #ffffff;
    }

        .nav-column li a:hover {
            background-color: #666666;
        }


.menu-lateral .icono-menu-lateral [class^="glyphicon-"], .menu-lateral .icono-menu-lateral [class*=" glyphicon-"] {
    margin-left: 2%;
    margin-bottom: 15%;
    font-size: 22px;
}

.nav-column [class^="glyphicon-"], .nav-column [class*=" glyphicon-"] {
    margin-left: 20%;
    margin-bottom: 10%;
    font-size: 22px;
    display: block;
}

.nav-column .btn-configuracion [class^="glyphicon-"], .nav-column .btn-configuracion [class*=" glyphicon-"] {
    margin-left: 30%;
}
/*
 .icono-menu-lateral{
    line-height: 26px;
    font-size: 13px;
    color: #ffffff;
    display: block;
    padding: 13px 10px 9px 10px;
width: 2.5rem;
display: block;
fill: currentColor;
margin-left: 2.2rem;
}*/





.submenu-venta li, .submenu-finanzas li, .submenu-materiales li, .submenu-otros li, .submenu-basis li {
    float: none;
    clear: both;
}

.submenu-venta {
    position: absolute;
    display: none;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1010;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}

.menu-lateral .menu-lateral-column li:hover > div {
    opacity: 1;
    visibility: visible;
    overflow: visible;
    z-index: 1100;
}

.menu-lateral .menu-lateral-column li:hover > .submenu-materiales, .menu-lateral .menu-lateral-column li:hover > .submenu-otros, .menu-lateral .menu-lateral-column li:hover > .submenu-venta {
    width: 335px;
    height: auto;
    overflow-y: auto;
    max-height: 152px;
    display: block;
}

.menu-lateral .menu-lateral-column li:hover > .submenu-otros {
    width: 40%;
    height: 25rem;
    overflow-y: scroll;
}


.submenu-basis {
    position: absolute;
    display: block;
    left: 0%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1010;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}


.submenu-finanzas {
    position: absolute;
    display: block;
    left: 25.4%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1010;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}


.submenu-materiales {
    position: absolute;
    display: block;
    left: 37.4%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1010;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}


.submenu-otros {
    position: absolute;
    display: block;
    left: 53%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
    z-index: 1010;
    -webkit-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
    -moz-box-shadow: 6px 10px 9px -8px rgba(0,0,0,0.46);
}

.menu-lateral .glyphicon {
    width: 85px;
    height: 30px;
    position: relative;
    display: block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 5px 5px 5px 0;
    font-size: 30px;
}

.col-md-11 {
    width: 100%;
    margin-left: 0;
}

a.btn-configuracion {
    height: 85px;
}

.menu-lateral .submenu-venta li {
    height: auto;
    width: 100%;
}

.menu-lateral .glyphicon-wrench:before {
    content: "\e136";
    position: absolute;
    top: 40%;
    left: 50%;
    float: left;
    margin: 0;
    display: block;
}

.menu-lateral .menu-lateral-column li a.btn-configuracion {
    text-align: center;
    font-weight: normal;
    padding: 7px 2px;
    width: 85px;
    height: 80px;
    line-height: 1.3;
}

.modal-black {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    top: 0;
    left: 0;
    z-index: 0;
    visibility: hidden;
}

.menu-lateral li > a {
    color: #fff !important;
    cursor: pointer;
}
