.margin-15px{
    margin: 15px;
}

.margin-20px{
    margin: 20px;
}
.margin-bottom-10px{
    margin-bottom: 10px !important;
}

.margin-bottom-20px{
    margin-bottom: 20px !important;
}

.margin-top-100px{
    margin-top: 10%;
}

.margin-top-200px{
    margin-top: 20%;
}
.align-right{
    text-align: right;
}
.align-left{
    text-align: left;
}
.align-center{
    text-align: center;
}

.no-bottom-border{
    border-bottom:0px !important;
}

.no-margin{
    margin:0px !important;
}

.no-padding{
    margin:0px !important;
}

.error {
    color: red!important;
    font-weight: bold;
    font-size: .725rem!important;
}

.btn-pedido {
    color: #333!important;
    background-color: #fff!important;
    border-color: #ccc!important;
}

.btn-pedido:hover {
    color: white!important;
    background-color: #c10013!important;
    border-color: #c10013!important;
}

.btn-selected {
    color: white;
    background-color: #c10013;
    border-color: #c10013;
}

.owl-carousel .owl-nav {
    top: 50%!important;
    position: absolute!important;
    margin-top: -10px!important;
    width: 95%!important;
}

.owl-carousel .owl-nav .owl-prev:before {
    content: unset!important;
}

.owl-carousel .owl-nav .owl-next:before {
    content: unset!important;
}

.owl-selected {
    border : 2px solid #c10013!important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* PRODUCTOS RELACIONADOS */

.line {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0) 100%);
    display: block;
    color: #313131;
    height: 1px;
    margin-top: 11px;
}
/*
#div_productos_relacionados div div {
    padding: 30px;
}*/

/* FIN - PRODUCTOS RELACIONADOS */

/* PRODUCTOS MAS VENDIDOS */

.ranking_mas_vendido {
    height: 40px;
    width: 40px;
    float: left;
    background: #656565 !important;
    color: #fff !important;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
}

.ranking_mas_vendido_texto {
    background-color: #fff !important;
    height: 40px;
    float: left;
    font-size: 13px;
    text-align: left;
    text-transform: uppercase;
    /*line-height: 40px;*/
    box-sizing: border-box;
}
/* FIN - PRODUCTOS MAS VENDIDOS */

.table {
    font-size: 0.85em!important;
}

.table thead tr th {
    font-size: 1em!important;
}
/*
.table thead tr th {
    font-size: 0.8rem!important;
}
*/

.table thead tr th i {
    margin-left: 5px!important;
}

/* EDITOR IN PLACE TABLA */
.btn_editar_col {
    color: darkgreen;
    margin-top: 9px;
    font-size: 15px!important;
    cursor: pointer;
}

.btn_read_col {
    color: darkgreen;
    position: relative;
    top: 1px;
    font-size: 15px!important;
    cursor: pointer;
    margin-left: 5px;
}

.bootstrap-select {
    position: relative!important;
    bottom: 10px!important;
}

.correccion_icono {
    position: relative!important;
    right: 10px!important;
}

.lbl_codigo_postal {
    height: 36px;
    color: darkred;
    font-weight: bold;
}

.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

input[type=datetime-local] {
    width: 90%;
}

.select2-selection__choice {
    /*background: linear-gradient(60deg,#ec407a,#d81b60)!important;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4)!important;*/
    background-color: #4caf50!important;
    border-color: #4caf50!important;
    box-shadow: 0 2px 2px 0 rgba(76,175,80,.14), 0 3px 1px -2px rgba(76,175,80,.2), 0 1px 5px 0 rgba(76,175,80,.12)!important;
    color: white!important;
    padding: 8px!important;
    border: 0!important;
    text-transform: uppercase!important;
    border-radius: 3px!important;
}

.select2-selection__choice__remove {
    color: white!important;
    margin-right: 6px!important;
}

.select2-container {
    width: 100%!important;
}

.select2-selection--multiple {
    border: 0px!important;
}

.select2-container .select2-selection--multiple {
    min-height: 48px!important;
}

.select2-selection{
    border: none!important;
    border-bottom: 1px solid rgba(0,0,0,.42)!important;
    border-radius: 0px!important;
    display: block!important;
    font-family: "Helvetica","Arial",sans-serif!important;
    font-size: 16px!important;
    line-height: 16px!important;
    padding: 0px 0px!important;
    margin: 0!important;
    margin-top: 8px!important;
    width: 100%!important;
    background: 0 0!important;
    text-align: left!important;
    color: rgba(0,0,0,.87)!important;
    background-image: linear-gradient(0deg,#f44336 2px,rgba(244,67,54,0) 0),linear-gradient(0deg,#d2d2d2 1px,hsla(0,0%,82%,0) 0)!important;
}

.select2-dropdown {
    border: 0!important;
    display: block;
    opacity: 1;
    transform: scale(1);
    padding: .3125rem 0;
    transition: transform .3s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
}

.select2-results__option {

    width: auto;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    font-size: .8125rem;
    border-radius: .125rem;
    margin: 0 .3125rem;
    transition: all .15s linear;
    min-width: 7rem;
    padding: .625rem 1.25rem;
    overflow: hidden;
    line-height: 1.428571;
    text-overflow: ellipsis;
    word-wrap: break-word;
}
.select2-results__option:hover {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(156, 39, 176, .4)!important;
    background-color: #9c27b0!important;
    color: #fff!important;
}

.select2-search {
    padding: 4px 8px!important;
}

.select2-search__field {
    background-image: linear-gradient(0deg, #9c27b0 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, hsla(0, 0%, 82%, 0) 0) !important;
    background-size: 0 100%, 100% 100% !important;
    border: 0 !important;
    height: 36px !important;
    transition: background 0s ease-out !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    padding: .4375rem 0 !important;
    color: #495057 !important;
    box-shadow: none !important;
}


.select2-search__field:focus {
    background-image: linear-gradient(0deg,#9c27b0 2px,rgba(156,39,176,0) 0),linear-gradient(0deg,#d2d2d2 1px,hsla(0,0%,82%,0) 0)!important;
    background-size: 0 100%,100% 100%!important;
    transition-duration: .3s!important;
    transition: background 0s ease-out!important;
}


.select2-selection__rendered {
    line-height: 22px!important;
}

.form-control:invalid {
    background-image: linear-gradient(0deg,#f44336 2px,rgba(244,67,54,0) 0),linear-gradient(0deg,#d2d2d2 1px,hsla(0,0%,82%,0) 0)!important;
    font-size: 16px!important;
    font-weight: normal!important;
}

a.dropdown-item.dropdown-opcion {
    padding-left: 8px!important;
    padding-right: 6px!important;
    color: black!important;
}

a.dropdown-item.dropdown-opcion:hover {
    color: white!important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .dropdown-toggle.active {
    color: #495057;
    background-color: hsla(0,0%,100%,.2)!important;
    border-color: #dee2e6 #dee2e6 #fafafa;
}

script {
    display: none!important;
}

/* CORRECCIONES EN HACERPEDIDO RESPONSIVE */
@media screen and (max-width: 991px){

    .carrito-contenido {
        overflow: scroll!important;
        max-height: 100px!important;
    }

    .text-right-not-xs {
        text-align: left!important;
        margin-top: 30px!important;
    }

    .etiqueta-producto {
        position: absolute!important;
        right: 100px!important;
        top: 5px!important;;
    }

    .etiqueta-producto-list {
        position: absolute!important;
        right: -10px!important;
        top: 5px!important;;
    }

}

@media screen and (max-width: 600px){

    .etiqueta-producto-list {
        position: absolute!important;
        right: 150px!important;
        top: 5px!important;;
    }

    .page-nav {
        margin: 20px 0!important;
    }

    .filas-por-pagina {
        text-align: center!important;
    }

    label[for=mottapgbundle_paginatorformtype_orderBy]
    {
        display: none!important;
    }

    .total-registros {
        text-align: center!important;
    }

}

@media screen and (max-width: 991px){
    .table {
        display:block!important; 
        width: 100%!important;
        overflow-x: auto!important;
    }

}

/* CORRECCION A SOLAPAMIENTO DE LABELS */
.bmd-label-static {
    position: relative!important;
}

/* ESTILOS FRONT HACER_PEDIDO - MAS VENDIDOS */

.item-mas-vendido {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 14px!important;
    font-weight: 800!important;
    color: #222;
    text-decoration: none;
    width: 160px;
    float: left;
    margin-left: 10px;
    vertical-align: middle;
}

.item-mas-vendido:hover {
    color: #222;
    text-decoration: none;
}


/* FIN ESTILOS FRONT HACER_PEDIDO - MAS VENDIDOS */

.nav-item .active {
    color: #c10013!important;
    border-top-color: #c10013!important;
    border-left: 1px solid #eee!important;
    border-right: 1px solid #eee!important;
}

.note-editor {
    box-shadow: 0 2px 2px 0 hsla(0,0%,60%,.14), 0 3px 1px -2px hsla(0,0%,60%,.2), 0 1px 5px 0 hsla(0,0%,60%,.12);
    border: 0px!important;
    border-radius: 0px!important;
}
.note-btn {
    color: black!important;
}

.hide{
    display:none!important;
}

.carrito-contenido {
    overflow: scroll;
    max-height: 500px;
}

/* SWITCH PARA FORMS */
.switch-input {
    display: none;
}
.switch-label {
    position: relative;
    display: inline-block;
    min-width: 112px;
    cursor: pointer;
    font-weight: 500;
    text-align: left;
    margin: 16px;
    padding: 16px 0 16px 44px;
}
.switch-label:before, .switch-label:after {
    content: "";
    position: absolute;
    margin: 0;
    outline: 0;
    top: 50%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.switch-label:before {
    left: 1px;
    width: 34px;
    height: 14px;
    background-color: #9E9E9E;
    border-radius: 8px;
}
.switch-label:after {
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #FAFAFA;
    border-radius: 50%;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
}
.switch-label .toggle--on {
    display: none;
    color:#333; 
}

.switch-label .toggle--off {
    display: inline-block;
}

.switch-input:checked + .switch-label:before {
    background-color: #A5D6A7;
}

.switch-input:checked + .switch-label:after {
    background-color: #4CAF50;
    -ms-transform: translate(80%, -50%);
    -webkit-transform: translate(80%, -50%);
    transform: translate(80%, -50%);
}

.switch-input:checked + .switch-label .toggle--on {
    display: inline-block;
}

.switch-input:checked + .switch-label .toggle--off {
    display: none;
}