/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 26-abr-2021, 11:04:11
    Author     : RobertoLeon
*/

.rib-clear{
    display: none;
    clear: both;
}

b, strong {
    font-weight: bold;
}

/* Header */
.rib-header{
    display: block;
    position: relative;
    height: 50px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;

    padding: 0px 20px;

    background-color: #fff;
    
    border-radius: 5px;
}

.rib-header > *{
    float: left;
    margin-right: 10px;
}

/* Listas */
.qode-specification-list {
    border-radius: 5px;
}

/* Input de búsqueda */
.rib_input_search{
    width: 100%;
    height: 50px;
    margin: 10px 0px;
    box-sizing: border-box;
    border-radius: 5px;
    border: none;
    color: #333;
    background-color: #fff;
    padding: 20px;
    margin-top: 0px;
}

/* Botones de búsqueda */
.qode-btn.qode-btn-icon .qode-btn-text {
    padding-right: 20px;
    padding-left: 20px;
    display: inline-block;
    vertical-align: top;
}

/* Lista de productos */
.qode-specification-list-items{
    max-height: 300px;
    min-height: 300px;
    overflow-y: scroll;
}

/* Seleccionable de la cabecera */
.rib-header-select{
    height: 40px;
    width: 300px;
    margin-top: 5px;
    display: block;
    background-color: #fff !important;
    border: 1px solid #ddd;
    background: none;
    appearance: initial;
    -webkit-appearance: initial;
    -moz-appearance: initial;
    padding: 5px 20px;
    color: #333;
    border-radius: 5px;
}

/* Etiqueta de cabecera */
.rib-header-label{
    margin-top: 13px;
}

/* Input de cabecera */
.rib-header-input{
    width: 200px;
    height: 40px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ddd;
    color: #333;
    padding: 20px;
    margin-top: 5px;
    background-color: #fff;
}

.rib-header-textarea{
    width: 100%;
    height: 80px;
    margin: 10px 0px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.rib-header-button{
    color: #ffffff !important;
    background-color: #679439 !important;
    width: 20% !important;
    height: 40px !important;
    margin-top: 5px !important;
    padding: 8px 8px !important;
    text-align: center !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
}

/* Login */
.rib-login{
    position: fixed;

    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;

    background-color: #fff;
    background: url('http://ceconet.es/wp-content/uploads/2021/05/cecoga-parallax-white.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    z-index: 99999;
}

.rib-login-form{
    width: 30%;
    background-color: rgba(255,255,255,0.8);
    margin-left: 35%;
    position: relative;
    margin-top: 10%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.4);
    padding: 20px 50px;
    box-sizing: border-box;
}

.rib-login-form > header{
    position: relative;
    display: block;
    width: 100%;
    height: auto;

    text-align: center;

    margin-bottom: 20px;
}

.rib-login-form > header > .rib-login-form-logo{
    display: block;
    position: relative;
    left: 50%;
    width: 260px;
    height: auto;
    margin-left: -130px;
}

.rib-login-form > .rib-login-form-body{
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.rib-login-form > .rib-login-form-body > *{
    margin-bottom: 20px;
}

.rib-login-form > .rib-login-form-body input[type="text"],
.rib-login-form > .rib-login-form-body input[type="password"]{
    position: relative;
    display: block;

    width: 100%;

    height: 50px;
    border-radius: 10px;
    border: 1px solid #bbb;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #555;
}

.rib-login-form > .rib-login-form-body input[type="text"]:focus,
.rib-login-form > .rib-login-form-body input[type="password"]:focus{
    border: 1px solid #679439;
    outline-color: transparent;
    outline-style: auto;
    outline-width: inherit;
}

.rib-login-form > .rib-login-form-body input[type="button"]{
    position: relative;
    display: block;

    width: 100%;
    height: 50px;

    background-color: #679439;
    color: #fff;

    border-radius: 10px;
    border: none;
    font-size: 20px;
    font-weight: 600;
}

.rib-login-form > .rib-login-form-body a{
    text-align: center;

    position: relative;
    display: block;
    width: 100%;
}

/* Ventana modal */
.rib-modal{
    position: fixed;

    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.7);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    z-index: 99999;
    
    display: none;
}

.rib-modal-form{
    width: 30%;
    background-color: rgba(255,255,255,0.8);
    margin-left: 35%;
    position: relative;
    margin-top: 10%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.4);
    padding: 20px 50px;
    box-sizing: border-box;
}

.rib-modal-form > header{
    position: relative;
    display: block;
    width: 100%;
    height: auto;

    text-align: center;

    margin-bottom: 20px;
}

.rib-modal-form > header > .rib-modal-form-logo{
    display: block;
    position: relative;
    left: 50%;
    width: 260px;
    height: auto;
    margin-left: -130px;
}

.rib-modal-form > .rib-modal-form-body{
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.rib-modal-form > .rib-modal-form-body > *{
    margin-bottom: 20px;
}

.rib-modal-form > .rib-modal-form-body input[type="text"],
.rib-modal-form > .rib-modal-form-body input[type="password"],
.rib-modal-form > .rib-modal-form-body input[type="number"]{
    position: relative;
    display: block;

    width: 100%;

    height: 50px;
    border-radius: 10px;
    border: 1px solid #bbb;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #555;
}

.rib-modal-form > .rib-modal-form-body input[type="text"]:focus,
.rib-modal-form > .rib-modal-form-body input[type="password"]:focus,
.rib-modal-form > .rib-modal-form-body input[type="number"]:focus{
    border: 1px solid #679439;
    outline-color: transparent;
    outline-style: auto;
    outline-width: inherit;
}

.rib-modal-form > .rib-modal-form-body input[type="button"]{
    position: relative;
    display: inline-block;

    width: 49%;
    height: 50px;

    background-color: #679439;
    color: #fff;

    border-radius: 10px;
    border: none;
    font-size: 20px;
    font-weight: 600;
    
    
}

.rib-modal-form > .rib-modal-form-body select{
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #bbb;
    padding: 0px 20px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    color: #555;
    background-color: #fff;
    -webkit-appearance: none;
}

.rib-modal-form > .rib-modal-form-body a{
    text-align: center;

    position: relative;
    display: block;
    width: 100%;
}

/* Traslados detalle */

.rib-traspasos-product-detail,
.rib-product-detail{

}

.rib-traspasos-product-detail .rib-article-descripction,
.rib-product-detail .rib-article-descripction{
    text-align: center;

    margin-bottom: 20px;
}

.rib-traspasos-product-detail .rib-article-descripction > *,
.rib-product-detail .rib-article-descripction > *{
    position: relative;
    display: block;
    width: 100%;
}

.rib-traspasos-product-detail a.rib-article-button-add-traslado,
.rib-product-detail a.rib-article-button-add-traslado{
    cursor: pointer;

    color: #ffffff;
    background-color: #679439;
    width: 150px;
    text-align: center;
    margin-left: calc(50% - 75px);
    border-radius: 10px;
}

/* END Traslados detalle */

/* Advanced List */

.qode-specification-list-item-header{
    font-weight: bold;
}

.qode-specification-list-item-content{

}

.qode-specification-list-item-content > *{
    width: auto !important;
    margin-right: 20px;
}

.qode-specification-list-item-content > i{
    margin-right: 0px;
    margin-top: 5px;
    cursor: pointer;
    color: #f00;
}

/* Pedidos */

.page-id-7 #rib-list-pedidos .qode-specification-list-items{
    max-height: 400px;
    min-height: 400px;
}

.page-id-7 #rib-list-articles .qode-specification-list-items{
    max-height: 256px;
    min-height: 256px;
}

/* Movimientos */
.qode-item-showcase .qode-item-showcase-holder.qode-holder-left {
    width: 100%;
}

.qode-item-showcase .qode-item.qode-item-left {
    width: 100%;
}

.qode-item-showcase .qode-item.qode-item-right {
    width: 100%;
}

.qode-item-showcase .qode-item-showcase-holder {
    /* margin-right: 30%; */
    width: 100% !important;
    max-height: 480px;
    overflow-y: scroll;
}

.qode-specification-list .rib-select-list .qode-specification-list-item {
    cursor: pointer;
}

.qode-holder-right > .qode-item-line{
    /*display: none;*/
}

.qode-item-showcase-holder .qode-item-content > *{
    /*display: inline-block;*/
}

.qode-item-showcase-holder .qode-item{
    /*transition-duration: 0.3s;*/
}

.qode-item-showcase-holder .qode-item:hover{
    /*transform: scale(1.1);*/
}

/* Tabla de Stock */
.table-stock{
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
}

.table-stock h2{
    text-align: center;
    padding: 15px 0px;
}

/* Pie de página */
.footer_bottom_holder{
    position: fixed;
    bottom: 0px;
    width: 100%;
}

/* Tablas */
.rib-table{
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
}

#table-traspasos-entrantes tbody tr{
    cursor: pointer;
}

/* Tablas de pedidos */
.table-success, .table-success>td, .table-success>th {
    background-color: rgba(0,0,0,.05) !important;
}

.table-success tbody+tbody, .table-success td, .table-success th, .table-success thead th {
    border-color: transparent !important;
}

/* Tablas de registro */

.rib-table-info{
    
}

.rib-table-info tbody th{
    text-align: right;
    vertical-align: middle;
}

.rib-table-info tbody td{
    text-align: left;
    vertical-align: middle;
}

.rib-table-info .rib-header-input,
.rib-table-info .rib-header-select{
    padding: 0 20px;
    margin: 0;
    height: inherit;
}

/* Panel lateral */
.rib-lateral-panel{
    position: fixed;
    display: block;
    box-sizing: border-box;
    
    top: 100px;
    width: 500px;
    z-index: 99999;
    
    padding: 20px;
    
    background-color: #fff;
    border: 1px solid #f2f2f2;
    
    transition-duration: 1s;
    
    
}

.rib-lateral-panel-left{
    left: 0px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    
    transform: translateX(-500px);
}

.rib-lateral-panel-right{
    right: 0px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    
    transform: translateX(500px);
}
/* END Panel lateral */

/* Generales */

.rib_inline > *{
    display: inline-block;
}

.table td, .table th {
    padding: 5px;
    vertical-align: middle;
}

/* Generales */


/* Versión móvil */
@media only screen and (max-width: 768px) {

    /* Versión móvil */
    .rib-login-form {
        width: 90%;
        margin-left: 5%;
        padding: 15px;
        margin-top: 30%;
    }

    .container_inner{
        width: 100% !important;
    }

    .qode-specification-list-items {
        max-height: 150px;
        min-height: 150px;
        margin-top: 10px !important;
    }
    
    .qode-specification-list {
        background-color: #fff;
        margin-bottom: 10px;
        border-radius: 5px;
    }
    
    .rib-header-info-pedido{
        height: auto;
        padding: 10px 20px;
    }
    
    .rib-header-info-pedido > *{
        float: none;
        width: 100% !important;
    }
    
    .rib-header-button{
        
    }
    
    .rib-header-button > #rib-button-send-pedido{
        width: 100% !important;
        float: none !important;
        display: block;
    }

}