/**
ALERTS
 */
.alert{
    position: relative;
    padding: 1.364rem 2.182rem;
    margin-top:0;
    margin-bottom: 1.364rem;
    border-radius: 0.2727rem;
    font-size: 1.091rem;
    font-weight: 300;
    text-align: left;
    cursor: pointer;
    line-height: 10px;
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.21);

}
.alert .close{
    position: absolute;
    top: 4px;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit;
    text-decoration: none;
    background: transparent;
}
.alert .close:hover{
    color: #000;
    text-decoration: none;
    opacity: .75;
}
.alert i{
    margin-right: 10px;
}
.alert-success{
    background-color: #f1f8e9;
    /*border-color: #5a9216;*/
    color: #00600f;

}
.alert-warning{
    background-color: #fff8e1;
    /*border-color: #c79100;*/
    color: #c66900;

}
.alert-danger{
    color: #9a0007;
    /*border-color: #f5c6cb;*/
    background-color: #ffebee;

}
.alert-facturacion{
    color: #E65100;
    background-color: #FFF3E0;
    border: none;
}

/**
MODALS
 */

.modal-overlay{
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 33, 33, .13);
    display: table;
    transition: opacity .3s ease;
}
@media (max-height: 650px) {
    .modal-wrapper {
        vertical-align: top;
        position: relative;
        width: 100%;
        height: 630px;
        max-width: 100%;
        max-height: 100%;
        overflow: auto;
    }
}
@media (min-height: 660px) {
    .modal-wrapper {
        vertical-align: top;
        position: relative;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        overflow: auto;
    }
}

.modal-container{
    background: #ffffff;
    margin: 38px auto;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(33, 33, 33, 0.4), 0 2px 8px rgba(33, 33, 33, 0.4);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.modal-header{
    margin: 0;
    padding: 15px 24px;
    background: #f5f5f5;
    float: left;
    width: 100%;
}
.modal-header img{
    width: 15px;
    height: 15px;
    margin:0 0 -9px 0;
}
.modal-header i{
    vertical-align: middle;
    font-size: 13px;
}
.modal-title{
    position: relative;
    font-size: 18px;
    font-weight: 600;
}
.modal-title > .close{
    right: 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.modal-body{
    padding: 0px 24px 15px 24px;
}
.modal-body .form{

}
.modal-body .form .group{
    display: inline-block;
}
/*
.modal-container .modal-body .table-detail tr td{
    padding: 67px 24px 15px 24px;

}
.modal-container .modal-body .table-detail tr > td:first-child{
    background: #f0f0f0;
    width: 150px;
    font-weight: 700;
}*/
.modal-footer{
    padding: 15px 24px;
    min-height: 60px;
    text-align: right;
}
.modal-footer button{
    margin-left: 8px;
}
.block{
    display: block;
}
.inline{
    display: inline-block;
}
.wrapper{
    height: 100%;
}

.sidebar-overlay{
    position: fixed;
    background-color: rgba(0, 0, 0, .5);
    z-index: 9998;
    top: 49px;
    left: 0;
    width: 310px;
    height: 100%;
    transition: opacity .3s ease;
}
.oculto{
    display: none;
}

/*Nuevos estilos de modal*/
.modal-no-divider > .modal-body {
    padding-bottom: 0;
    margin-bottom: 25px;
}

.modal-no-divider > .modal-footer {
    padding-top: 0px;
    min-height: 30px;
}
.modal-divider > .modal-body{
    position: relative;
}
.modal-divider > .modal-body:after {
    content: '';
    position: absolute;
    width: calc(100% - 48px);
    height: 1px;
    left: 24px;
    bottom: 0;
    z-index: 0;
    background: #c9c9c9;
}

.modal-without-footer > .modal-footer{
    min-height: 0;
    padding: 5px;
}

.modal-container.modal-aviso > .modal-footer {
    text-align: center;
}
.modal-container.modal-aviso > .modal-header{
    background: #fff;
}
.modal-container.modal-aviso > .modal-header h5 {
    text-align: center;
    font-weight: 500;
}

.modal-container.modal-aviso > .modal-header i {
    display: none;
}


.modal-container .modal-body .table-detail tr > td:first-child {
    background: #f5f5f5;
    width: 150px;
}
.modal-container .modal-body .table-detail tr td {
    padding: 7px 10px;
}

.modal-container.modal-aviso-dos > .modal-footer {
    text-align: center;
}
.modal-container.modal-aviso-dos > .modal-header{
    background: #fff;
}
.modal-container.modal-aviso-dos > .modal-header h5 {
    text-align: center;
    font-weight: 500;
}
