.cont-producto-cart {
    background: #fff;
    border-radius: 5px;
    display: inline-block;
    margin: 3%;
    padding: 1%;
    width: 94%;
    position: relative;
    transition: all .25s ease-in-out;
}

.cont-producto-cart:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.producto-cart-img {
    width: 25%;
    display: inline-block;
    vertical-align: 55px;
    margin-right: 4%;
    background: #fff;
    height: 150px;
    line-height: 147px;
}

.producto-cart-text {
    color: #545454;
    display: inline-block;
    width: 69%;
}

.producto-cart-img img {
    max-width: 100%;
    max-height: 150px;
}

.producto-cart-text input {
    width: 50px;
}

#contenedor-footer-carrito {
    background: #fff;
    border-top: 1px solid #ccc;
    padding: 8px 0;
    width: 100%;
    height: 56px;
}

.cart-footer-left {
    display: inline-block;
    padding-left: 10px;
    width: 48%;
    float:left;
}

.cart-footer-right {
    display: inline-block;
    /* width: 50%; */
    margin-right:8px;
    float:right;
}

#MensajeVacio {
    width:50%;
    margin:130px auto;
    text-align: center;
}

#GenerarCotizacion {
    display: none;
    border:2px solid #ff5722;
    color: #fff;
    background: #ff5722;
    padding: 5px 8px;
    font-size: 16px;
    cursor:pointer;
    margin:0 5px;
    border-radius: 3px;
}

#GenerarCompra {
    display: none;
    background: #2196f3;
    color: #fff;
    padding: 5px 8px;
    font-size: 16px;
    cursor:pointer;
    border: 2px solid #2196f3;
    margin:0 5px 0 0;
}

#GenerarCompra:hover {
    background:#1976d2;
     border: 2px solid #1976d2
}

#GenerarCotizacion:hover {
    background:#e64a19;
     border: 2px solid #e64a19
}


#VerDetalleOrden {
    /*display:none;*/
    background: #fff;
    color: #00BCD4;
    padding: 5px 8px;
    font-size: 16px;
    cursor:pointer;
    border: 2px solid #00BCD4;
     border-radius: 3px;
}

#CerrarDetalleOrden {
    display: none;
    background: transparent;
    color: #fff;
    padding: 5px 8px;
    font-size: 16px;
    border: 2px solid #fff;
    position: absolute;
    right: 5px;
    top: 2px;
}


.contenedor-carrito-abierto {
    background: rgba(0,0,0,0.5);
    height:100% !important;
    width:100% !important;
    position: fixed;
    top: 0;
}

.div-contenedor-carrito-abierto {
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 50%;
    position: absolute;
    background:#eaeaea;
}

.div-contenedor-carrito-abierto button {
    border-radius: 3px
}

.div-contenedor-carrito-abierto #MensajeVacio {
    width:50%;
    margin:30px auto;
}

.div-contenedor-carrito-abierto button:focus, .div-contenedor-carrito-abierto button:active {
    outline: none;
}

.div-contenedor-carrito-abierto .ProductosCarritoDiv {
    margin:10px 0 10px 10px;
    background:#fff;
    width:39%;
    display: inline-block;
    height: calc(100% - 95px);
}

.div-contenedor-carrito-abierto .ProductosCarrito {
    height: calc(100% - 185px);
    overflow-y: auto;
    width:96%;
    margin:auto;
    background:#f1f1f1;
}

.div-contenedor-carrito-abierto #GenerarCompra {
    display: inline-block;
}

.div-contenedor-carrito-abierto #GenerarCotizacion {
    display: inline-block;
}

.div-contenedor-carrito-abierto .resumen-carrito {
    display: block;
}

.div-contenedor-carrito-abierto #TotalTodoCompra {
    display: none;
}

.div-contenedor-carrito-abierto .PanelesCarrito {
    margin: 10px 0 10px 10px;
    width:58%;
    display: inline-block;
    height: calc(100% - 90px)
}

.div-contenedor-carrito-abierto #CerrarDetalleOrden {
    display: inline-block;
}

.div-contenedor-carrito-abierto .cont-producto-cart {
    margin: 10px;
    padding:10px;
    border: 1px solid #d2d2d2;
    width:96%;
    margin:10px auto;
    display:block;
}

.PanelesCarrito {
    vertical-align: top;
    display: none;
    overflow-y: auto;
}

#GenerarCompra span {
    font-size: 14px;
}

.panel-carrito {
    display: none;
    display: block;
    width:98%;
    background:#fff;
    margin:10px;
    padding:10px;
}

.panel-carrito:first-child {
    height: 160px;
}

.panel-carrito:nth-child(2) {
    height: 125px;
}

.panel-carrito:nth-child(3) {
    height: 195px;
}

.panel-carrito h4 {
    border-bottom:1px solid #f1f1f1;
    padding:10px 5px;
    margin:0;
}

.panel-carrito-body {
    height: calc(100% - 50px);
    overflow-y:auto;
    width: 100%;
    margin: 15px 5px;
}

.resumen-carrito {
    background-color: #fff;
    display:none;
    width:98%;
    margin:10px auto;
    padding:10px;
}

.resumen-carrito p {
    border-bottom:1px solid #f1f1f1;
}

.resumen-carrito b {
    float: right;
}

.user-info p:first-child{
    color:#009688;
}

.user-info p {
    margin:0;
}

.mensaje-vacio {
    margin: auto;
    width: 300px;
    padding: 10px;
    background: #eaeaea;
    text-align: center;
    border-radius: 3px;
    color: #565656;
}

.mensaje-vacio-sm {
    padding: 0 10px;
    color: #565656;
}

.panel-carrito-body table {
    vertical-align: top;
    display: inline-block;
}

.tabla-info-orden {
    width:100%;
}

.span-info {
    color:#009688;
    font-weight: bold;
}

.tabla-metodo-envio {
    width:70%;
}

#direccionEnvio .user-info {
    border:1px solid #009688;
    border-radius: 3px;
    padding:10px;
    display:block;
}

#btn-abrir-direcciones {
    background: #009688;
    float: right;
    color:#fff;
    border-radius: 3px;
}

#btn-abrir-direcciones:hover {
    background: #006f65; 
}

 .contenedor-fondo-negro {
    position: absolute;
    background: rgba(0,0,0,0.3);
    height: 100%;
    width:100%;
    display: none;
    z-index:1;
 }

#contenedor-direcciones-carrito {
    width: 630px;
    position: fixed;
    overflow: hidden;
    left: 50%;
    z-index: 9999;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 2px 4px 0 hsla(0, 0%, 0%, 0.7);
}

#contenedor-direcciones-carrito .modal-body {
    background:#f1f1f1;
    height: 320px
}

#div-contenedor-carrito input {
    margin-top:0px !important;
}



.direcciones-registradas {
    margin: 10px 1%;
    background: #fff;
    width: 46%;
    display: inline-block;
    border: 1px solid #c6c6e6;
    padding: 20px;
    font-size: 15px;
    vertical-align: top;
    border-left: 4px solid #c6c6e6;
    position: relative;
}

.mensaje-confirmar-eliminar-dir{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    top: 0;
    left:0;
    display: none;
}

.mensaje-confirmar-eliminar-dir div {
    width:300px;
    height: 150px;
    background:#fff;
    padding:15px;
    text-align: center;
    margin:70px auto;
    border-radius: 3px;
}

#contenedor-loading-direccion {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    height: 100%;
    width: 100%;
    z-index: 9;
}

#mensaje-editar-ok {
    margin: 0;
    padding: 1px 2px;
    text-align: center;
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 13px;
}

.icono-direccion-seleccionada {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #428bca;
}


#btn-confirmar-no {
    background:#fff;
    color:#5f5f5f;
    border:1px solid #5f5f5f;
}

#btn-confirmar-no:hover {
    background: #eaeaea;
}

#btn-confirmar-eliminar {
    background:#F44336;
    color:#fff;
    border:1px solid #F44336;
}

#btn-confirmar-eliminar:hover {
    background: #d8382d;
    color:#fff;
}

.direcciones-registradas:hover {
    border: 1px solid #c6c6e6;
    border-left: 4px solid #c6c6e6;
}

.direccion-activa {
    border:1px solid #428bca;
    border-left:4px solid #428bca !important;
}

.direccion-activa:hover {
    border:1px solid #428bca;
}


.btns-direccion-carrito {
    width:100%;
    margin-top:20px;
}

.btns-direccion-carrito button {
    display: inline-block;
    border-radius: 3px
}


.btn-direccion-elegir {
    background:#009688;
    color:#fff;
    border:1px solid #009688;
}
.btn-direccion-editar {
    background:#3F51B5;
    color:#fff;
    border:1px solid #3F51B5;
}
.btn-direccion-eliminar {
    background:#F44336;
    color:#fff;
    border:1px solid #F44336;
}

.btn-direccion-elegir:hover {
    background: #006f65;
    color:#fff;
}
.btn-direccion-editar:hover {
    background: #303f9f;
    color:#fff;
}
.btn-direccion-eliminar:hover {
    background: #d8382d;
    color:#fff;
}

#contenedor-agregar-direcciones {
    width: 570px;
    position: fixed;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px 0 hsla(0, 0%, 0%, 0.7);
    z-index:9;
}

#contenedor-agregar-direcciones .modal-header {
    padding:5px 15px;
}

#contenedor-agregar-direcciones .modal-footer {
    padding:10px 15px;
}

#btn-agregar-direcciones {
    float:right;
    margin:0 20px;
}


#contenedor-editar-direcciones {
    width: 570px;
    position: fixed;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px 0 hsla(0, 0%, 0%, 0.7);
    z-index:9;
}

#contenedor-editar-direcciones .modal-header {
    padding:5px 15px;
}

#contenedor-editar-direcciones .modal-footer {
    padding:10px 15px;
}

#btn-editar-direccion{
    background: #3F51B5;
    color:#fff;
}

#btn-editar-direccion:hover {
    background: #303f9f;
}

#contenedor-editar-direcciones input {
    margin-top: 0px !important;
}

.cart-footer:after {
    content: "";
    display: block;
    clear: both;
}

.remove-product {
    position: absolute;
    background: #fff;
    color: #d9534f;
    top: 0;
    right: 0;
    border-radius: 0;
    outline: none;
    border-top-right-radius: 5px;
    transition: box-shadow .25s ease-in-out;
}

.remove-product:focus {
    outline: none;
}

.remove-product:hover {
    color: #C14C48;
}

.Sumas {
    cursor: pointer;
    opacity: .7;
    margin-top: -3px;
}

.Sumas:hover {
    opacity: 1;
}

.restas {
    cursor: pointer;
    opacity: .7;
    margin-top: -3px;
}

.restas:hover {
    opacity: 1;
}

@media (max-width:991px) {
    .cart-footer-left {
        width: 62%;
    }

    .cart-footer-right {
        width: 36%
    }
}


/*
@media (min-width:1300px){
	.cont-producto-cart{
		margin: 1.3%;
		width:47%;
	}

	.producto-cart-img{
		width:25%;
		margin-right:3%;
	}

	.producto-cart-text{
		width:70%;
	}
}

@media (min-width: 810px) and (max-width:1300px){
	.cont-producto-cart{
		margin:1%;
	}
	.producto-cart-img{
		width:100%;
	}

	.producto-cart-text{
		width:98%;
	}
}

@media (max-width: 810px){
	.cont-producto-cart{
		width: 90%;
    	margin: 5%;
	}

	.producto-cart-img{
		width:100%;
	}

	.producto-cart-text{
		width:100%;
	}
}

@media (max-width: 790px){
	#cont_cart{
		width:75%;
	}

	.cont-producto-cart h3{
		font-size:15px;
		font-weight: bold;
	}
}

@media (max-width: 655px){
	#cont_cart{
		width:85%;
	}

	.producto-cart-img{
		width:100%;
		margin-right:0;
	}
}

@media (min-width: 655px) and (max-width:810px){
		.producto-cart-img{
		width:25%;
	}

	.producto-cart-text{
		width:70%;
	}
}

@media (max-width: 550px){
	#cont_cart{
		width:95%;
	}
}

@media (max-width: 500px){
	#cont_cart{
		width:100%;
	}
}

@media (max-width:400px){

	#cont_cart{
		top:0;
		left:0;
		transform: translate(0%, 0%);
	}

	.cart-footer{
		height:100px;
	}

	.cart-footer-left{
		display:block;
		float:none;
		text-align:center;
	}

	.cart-footer-right{
		display:block;
		float:none;
		width:131px;
		margin:auto;
	}

}

@media all and (orientation:portrait) {
  	.ProductosCarrito{
		height:460px !important;
	}

	#MensajeVacio{
		margin-top:40px !important;
	}
}

@media all and (orientation:landscape) {

}

*/

.black_cont_cart {
    display: none;
    opacity: 0;
    background-color: rgba(39, 37, 37, 0.65);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: all 0.7s ease-in-out;
}

.cont_close-cart {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #909090;
}

#close-cart {
    padding: 5px;
    opacity: 0.8;
}

#close-cart:hover {
    opacity: 1;
}

.ProductosCarrito {
    overflow-y: auto;
    padding-bottom: 5px;
    background: #f1f1f1;
    height: 400px;
    width: 100%;
}

#cont_titulo {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

.producto-cart-text h3 {
    text-overflow: ellipsis;
    width: 95%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 19px;
}


/**/

.black_cont_tutoriales {
    display: none;
    opacity: 0;
    background-color: rgba(39, 37, 37, 0.65);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: all 0.7s ease-in-out;
}


#cont_tutoriales {
    background: #EAEAEA;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: all 0.7s ease-in-out;
    opacity: 0;
    padding: 0;
    display: none;
}

#tuto-titulo {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

.close-tuto {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #909090;
}

.close-tuto span {
    padding: 5px;
    opacity: 0.8;
}

#cont-tuto {
    width: 98%;
    padding: 0 15%;
    height: 490px;
    margin: auto;
}

.tuto-footer {
    background: #fff !important;
    border-top: 1px solid #ccc;
    padding: 15px;
    width: 100%;
    height: 30px;
    box-sizing: border-box;
}

@keyframes agregarProducto {
    0% {
        transform: scaleX(1)
    }

    50% {
        transform: scale3d(1.05, 1.05, 1.05)
    }

    to {
        transform: scaleX(1)
    }
}

.animado {
    animation: agregarProducto 1.5s ease-out 0s alternate none running;
}
