/*----------------------- GENERAL */
html, body{
    margin: 0;
    padding: 0;   
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

body{
    overflow-y: auto !important;
}

/*----------------------- PAGES */
.page-content{
    display: block;
    position: relative;
    width: 95%;
    max-width: 1000px;
    margin: 15px auto 10px auto;
}

.page-content-abs{
    display: block;
    position: absolute;
    top: 45px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    /*margin: 15px auto 10px auto;*/
}

.shadow{
    -webkit-box-shadow: 0px 6px 10px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 6px 10px -5px rgba(0,0,0,0.75);
    box-shadow: 0px 6px 10px -5px rgba(0,0,0,0.75);
}

.shadow2{
    -webkit-box-shadow: 0px 6px 10px -5px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 6px 10px -5px rgba(0,0,0,0.35);
    box-shadow: 0px 6px 10px -5px rgba(0,0,0,0.35);
}

/*----------------------- IMAGENES */
.img-fluid-width{
    display: block;
    width: 100%;
    height: auto;

}
.img-fluid-height{
    display: block;
    width: auto;
    height: 100%;
    margin: 0 auto;
}

.img-fluid-scaled{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

/*----------------------- DIVS TABLAS */
.table{
    display: table;
}

.table-row{
    display: table-row;
}

.table-cell{
    display: table-cell;
}

.va-middle{
    vertical-align: middle;
}

.va-top{
    vertical-align: top;
}

.t-100{
    width: 100%;
}

/*----------------------- TABLE */
.cell-header{
    position: relative;
    background-color: #698286;
    color: white;
    padding: 6px;
    vertical-align: middle;
    text-transform: uppercase;
}

.cell-title-header{
    font-size: 12px;
    font-weight: bold;
}

.cell-sort-header{
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top:50%;
    margin-top: -10px;
    right: 0;
    color: white;
}

.cell-sort-header > a{
    color: white !important;
}

.cell-icon{
    width: 40px;
}

.cell-table{
    padding: 6px;
    font-size: 14px;
}

.cell-center{
    text-align: center;
}

.row-shadow{
    background-color: #E1E1E1;
}

.row-table:hover{
    cursor: pointer;
    background-color: #BBD8EA;
}

.action-icon{
    cursor: pointer;
    color: #4E7076;
    font-size: 18px;
    text-align: center;
}

.top-alignment{
    vertical-align: top;
}

/*----------------------- FORMS */
.form-container{
    display: block;
    width: auto;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px auto 20px auto;
    background-color: white;
}

.form-container-abs{
    display: block;
    position: absolute;
    top: 0;
    bottom: 5px;
    right: 0;
    left: 0;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: white;
}

fieldset{
    display: block;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 5px auto;
    border: none;
    padding: 5px;
}

.form-title{
    display: block;
    font-size: 14px !important;
    padding: 5px 10px !important;
    font-weight: bold;
    color: white;
    background: #698286;
}

.form-label{
    display: inline-block;
    width: 30%;
    vertical-align: top;
    font-size: 14px;
    color: gray;
}

.input-container, .form-label-data{
    display: inline-block;
    width: 69%;
    vertical-align: top;
}

.form-label2{
    display: inline-block;
    width: 69%;
    vertical-align: top;
    font-size: 14px;
    color: gray;
}

.input-container2, .form-label-data2{
    display: inline-block;
    width: 30%;
    vertical-align: top;
}

.form-input{
    border: 1px solid #A6A6A6;
    border-radius: 4px;
    padding: 2px;
    box-sizing: border-box;
}

.form-input > .text-input--material{
    font-size: 14px;
}

.custom-search-input > .text-input{
    font-size: 14px;
}

.input-100{
    width: 100%;
}

.action-btn{
    cursor: pointer;
}

/*----------------------- SEARCHBOX */

.input-search-box{
    padding: 4px 2px;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
}

.input-search-box-border{
    margin-top: 5px;
    border: solid 1px gray
}

.search-box-icon{
    width: 16px;
    padding: 0 2px 0 5px;
    vertical-align: middle;
    color: gray;
}
.search-box-text{
    padding: 0 2px 0 5px;
}
.search-box-text > input{
    width: 100%;
    border: none;
    box-sizing: border-box;
    font-size: 14px;
}


/*----------------------- OTHER */

.text-input--material:focus {
    background-image: linear-gradient(#657B8B,#657B8B),linear-gradient(to top,transparent 1px,#afafaf 1px);
    background-image: linear-gradient(#657B8B,#657B8B),linear-gradient(to top,transparent 1px,#afafaf 1px);
    -webkit-animation: material-text-input-animate .3s forwards;
    animation: material-text-input-animate .3s forwards;
}

.text-input--material__label--active{
    color: #657B8B;
}

.text-input--underbar:invalid{
    border-bottom: 1px solid #C70039;
}

.field_error{
    color: #C70039;
}

.label_error{
    display: none;
    color: #C70039;
    font-size: 12px;
    text-align: left;
    padding: 2px 0px;
}

.form-btn{
    display: inline-block;
    /*max-width: 200px;*/
    margin-left: auto;
    margin-right: auto;
    background-color: #640E27;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px !important;
    line-height: 28px !important;
}


.form-btn2{
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
    background-color: #343434;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px !important;
    line-height: 28px !important;
}

.form-btn3{
    font-size: 14px;
    padding: 2px 4px !important;
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
    background-color: #640E27;
    cursor: pointer;
    line-height: 28px !important;
}

.buttons-container{
    display: block;
    text-align: center;
    margin: 10px auto;
}

.secondary-btn{
    cursor: pointer;
    background-color: #343434 !important;
}

.button-icon{
    display: inline-block;
    margin-right: 10px;
}

/*----------------------- TOOLBAR */
.fixed-toolbar{
    display: block;
    position: fixed;
    top: 44px;
    right: 0;
    left: 0;
    z-index: 50;
    background-color: gray;
}

.fixed-toolbar-content{
    display: block;
    position: relative;
    width: 95%;
    max-width: 1000px;
    margin: 0px auto;
}

.toolbarbtn{
    font-size: 14px;
    cursor: pointer;
}

/*----------------------- MODAL */

.popover-mask{
    background-color: rgba(0,0,0,.5) !important;
}

.modal-title-form{
    color: #4E7076 !important;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid #4E7076;
}

.modal-close-btn{
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.card-form{
    max-width: 550px;
    margin: auto;
}

.card-form-footer{
    margin-top: 15px;
    text-align: right;
}

.card-form-center-footer{
    margin-top: 15px;
    text-align: center;
}

.card-form-action-button{
    width: 150px;
    text-align: center;
}

.mobile{
    display: none;
}

.status-1{
    color: black
}   

.status-2{
    color: #0A9A4B;
}

.status-3{
    color: #C70039;
}

.status-4{
    color: #0A9A4B;
}

.status-5{
    color: #C8A631;
}

.status-6{
    color: #4E7076;
}

.section_title{
    font-size: 16px !important;
    font-weight: 500;
    color: #4E7076;
}

.list-item__left{
    width: 44px !important;
}

.toast{
    background-color: rgba(0,0,0,0.85);
    /*background-color: rgba(78,112,118,0.85);*/
    padding: 8px 12px;
}

.toast__message{
    margin: 0 auto;
}

.toast-title{
    display: block;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid white;
}

.toast-message{
    display: block;
    font-size: 14px;
    padding: 5px 0;
}

.toast-icon{
    width: 30px;
    font-size: 26px;
    text-align: center;
    padding-right: 15px;
}

.mobile-list-span-data{
    display: block;
    position: relative;
    margin: 2px auto;
}

.card-content{
    max-height: 450px;
    overflow: auto;
}

.custom-chevron{
    color: #c4c4c4;
    font-size: 20px;
}

.segment__button{
    border: 1px solid black;
    color: black;
    /*
    border: 1px solid #640E27;
    color: #640E27;
    */
}
:checked+.segment__button{
    background-color: black;
    /*background-color: #640E27;*/
    color:white;
}

.combo-btn{
    display: block;
    position: relative;
    padding: 4px 6px;
    border-radius: 5px;
    border: 1px solid #D3CFD0;
    background-color: white;
    cursor: pointer;
    overflow: hidden;
}

.combo-btn-lbl{
    display: block;
    width: auto;
    margin-right: 10px;
    box-sizing: border-box;
}

.combo-btn-arrow{
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    text-align: center;
    font-size: 14px;
    top: 50%;
    right: 3px;
    margin-top: -7px;
}

@media only screen and (max-width: 500px) {
    .form-btn{
        max-width: 500px;
        margin: 5px auto;
    }

    .form-label, .input-container, .form-label-data{
        display: block;
        width: auto;
    }

    .input-container, .form-label-data{
        margin-top: 5px;
    }

    .card-content{
        max-height: 400px;
        overflow: auto;
    }

    .desktop{
        display: none !important;
    }

    .mobile{
        display: block;
    }

    .fixed-toolbar-compose{
        top: 10px;
    }
}

