.form-area
{
    background-color: #FAFAFA;
    padding: 10px 40px 60px;
    margin: 10px 0px 60px;
    border: 1px solid GREY;
}

/*
*activo o inactivo swith
*/

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.chosen-container
{
    width: 100% !important;
}

div#proveedor_chzn.chzn-container.chzn-container-single
{
    width: 100% !important;
}

.chzn-drop
{
    width: 100% !important;
}

input[type="text"]
{
    width: 100% !important;
}


.badge {
    background-color: #f94444;
}

.badgeHolder {
    width: 100px;
    padding: 20px;
    margin: auto;
}
.badge-btn {
    background: #ffffff;
    padding: 7px 14px;
    border-radius: 17px;
    position: relative;
}
.badge-xs {
    position: absolute;
    top: 7px;
    right: -7px;
    font-size: 9px;
    background: #f94444;
    padding: 5px;
    color: white;
    font-weight: 700;
}


.notifications {
    color: white;
    margin: 0px;
    padding: 0px;
    position: absolute;
    min-width: 20px;
    min-height: 7px;
    top: 3px;
    border-radius: 50%;
    text-align: center;
    left: 24px;
}


.notifications-chat {
    color: white;
    margin: 0px;
    padding: 0px;
    position: absolute;
    min-width: 20px;
    min-height: 7px;
    top: 3px;
    border-radius: 50%;
    text-align: center;
    left: 24px;
}

li.noti-item {
    width: 370px;
    height:90px;
}

li.noti-item a {
    height: 100%;
}

.comment{
    padding: 10px;
}

td.wrapok {
    white-space:nowrap;
}

/*CHAT*/
.no-gutters {
    margin-left: 0px;
    margin-right: 0px;
}
.no-gutters-col {
    padding-left: 0px;
    padding-right: 0px;
}
.chatRoom .left {
    background-color: #596377;
}
.chatRoom .left .top {
    background-color: #34495E;
    position: relative;
    min-height: 60px;
    color: #fff;
    width: 100%;
    padding: 15px;
}


.chatRoom .left .mensajes {
    list-style-type: none;
    padding-left: 0px;
    color: #fff;
    margin-bottom: 0px !important;
    height: 500px;
    overflow-y: scroll;
}
.chatRoom .left .mensajes .usuario {
    position: relative;
    width: 100%;
    padding: 20px 15px;
    cursor: pointer;
    background-color: #596377;
}
.chatRoom .left .mensajes .usuario:hover {
    background-color: #EC185E;
}
.chatRoom .left .mensajes .usuario:hover:after {
    display: none;
}
.chatRoom .left .mensajes .usuario:hover ul small {
    color: #fff;
}
.chatRoom .left .mensajes .usuario ul {
    list-style-type: none;
    padding-left: 0px;
}
.chatRoom .left .top input {
    background-color: transparent;
    border: 0px;
    padding: 5px;
    width: 80%
}
.chatRoom .left .mensajes .usuario ul small {
    color: #939db3;
}
.chatRoom .left .mensajes .usuario ul img {
    border-radius: 50%;
    width: 35px;
    height: auto;
}
.chatRoom .left .mensajes .usuario.active {
    background-color: #EC185E;
}
.chatRoom .left .mensajes .usuario.active ul small {
    color: #fff;
}
.chatRoom .left .mensajes .usuario.active span {
    color: #fff;
    background: transparent;
}
.chatRoom .left .mensajes .usuario.active:after {
    display: none;
}
.chatRoom .right {
    height: 100%
}
.chatRoom .right .top {
    min-height: 60px;
    background-color: #596377;
    color: #fff;
    padding-top: 18px;
}
.chatRoom .right .top .usuario small {
    color: #C4C7CF;
    margin-left: 10px;
}
.chatRoom .right .top .usuario small i.online {
    font-size: 10px;
    margin-right: 3px;
    color: #00E100;
}
.chatRoom .right .top a {
    color: #fff;
    cursor: pointer;
}
.chatRoom .right .chat {
    position: relative;
    display: none;
    overflow: hidden;
    padding: 25px 25px 50px 25px;
    border-width: 1px 1px 1px 0;
    border-style: solid;
    border-color: #e6e6e6;
    height: calc(100% - 48px);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.chatRoom .right .chat.active-chat {
    display: block;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 500px;
    overflow: scroll;
}
.chatRoom .right .chat.active-chat .burbuja {
    -webkit-transition-timing-function: cubic-bezier(0.4,  -0.04,  1,  1);
    transition-timing-function: cubic-bezier(0.4,  -0.04,  1,  1);
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(1) {
    -webkit-animation-duration: 0.15s;
    animation-duration: 0.15s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(2) {
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(3) {
    -webkit-animation-duration: 0.45s;
    animation-duration: 0.45s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(4) {
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(5) {
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(6) {
    -webkit-animation-duration: 0.9s;
    animation-duration: 0.9s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(7) {
    -webkit-animation-duration: 1.05s;
    animation-duration: 1.05s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(8) {
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(9) {
    -webkit-animation-duration: 1.35s;
    animation-duration: 1.35s;
}
.chatRoom .right .chat.active-chat .burbuja:nth-of-type(10) {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}
.chatRoom .right .write {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #F5F8FA;
    width: 100%}
.chatRoom .right .write input {
    float: left;
    width: 100%;
    margin-left: 10px;
    height: 48px;
    padding: 0 10px;
    border: 0;
    outline: none;
    background-color: #F5F8FA;
}
.chatRoom .right .write .acciones {
    margin-bottom: 0px;
}
.chatRoom .right .write .acciones li {
    margin-left: 10px;
}
.chatRoom .right .write .acciones li a {
    display: block;
    padding: 15px 5px;
}
.chatRoom .right .write .acciones li.enviarComentario {
    padding-left: 0px;
    padding-right: 0px;
}
.chatRoom .right .write .acciones li.enviarComentario a {
    background-color: #ec185e;
    color: #fff;
    padding: 15px 20px;
}
.chatRoom .right .write .acciones li.enviarComentario a:hover {
    text-decoration: none;
    background-color: #d91253;
}
.chatRoom .right .write .acciones li.enviarComentario a i {
    margin-right: 5px;
}
.chatRoom .burbuja {
    font-size: 16px;
    position: relative;
    display: inline-block;
    clear: both;
    margin-bottom: 8px;
    padding: 13px 14px;
    vertical-align: top;
    border-radius: 3px;
}
.chatRoom .burbuja:before {
    position: absolute;
    top: 5px;
    display: block;
    width: 8px;
    height: 6px;
    content: '\00a0';
    -webkit-transform: rotate(29deg) skew(-35deg);
    transform: rotate(29deg) skew(-35deg);
}
.chatRoom .burbuja.comprador {
    float: left;
    color: #fff;
    background-color: #00b0ff;
    -ms-flex-item-align: start;
    align-self: flex-start;
    -webkit-animation-name: slideFromLeft;
    animation-name: slideFromLeft;
}
.chatRoom .burbuja.comprador:before {
    left: -3px;
    background-color: #00b0ff;
}
.chatRoom .burbuja.vendedor {
    float: right;
    color: #1a1a1a;
    background-color: #eceff1;
    -ms-flex-item-align: end;
    align-self: flex-end;
    -webkit-animation-name: slideFromRight;
    animation-name: slideFromRight;
}
.chatRoom .burbuja.vendedor:before {
    right: -3px;
    background-color: #eceff1;
}
.chatRoom .conversacion {
    position: relative;
    width: 100%;
    margin-bottom: 27px;
    text-align: center;
}
.chatRoom .conversacion span {
    font-size: 14px;
    display: inline-block;
    color: #999;
}
.chatRoom .conversacion span:before {
    position: absolute;
    top: 10px;
    left: 0;
    display: inline-block;
    width: 30%;
    height: 1px;
    content: '';
    background-color: #e6e6e6;
}
.chatRoom .conversacion span:after {
    position: absolute;
    top: 10px;
    display: inline-block;
    width: 30%;
    height: 1px;
    content: '';
    background-color: #e6e6e6;
    right: 0;
}
.chatRoom .left .mensajes {
    height: 500px;
    overflow-y: scroll;
}
.chatRoom .right .top {
    background-color: #34495E;
}

.chat-list{
    min-height: 500px;
    overflow-y: scroll;
    max-height: 500px;
    padding-bottom: 45px;
}

#loader{
    display: none;
}
.loader_principal {
    opacity:0.5;
    z-index:9999
}
.loader_cargando {
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    position: absolute;
}

.procesando{
    position: absolute;
    top: 50%;
    left: 50%;
    color: #ffffff;
    border: 1px solid;
    background-color: #ec4a4a;
    padding: 1rem;
}

.sk-folding-cube {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
    animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
    transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
    transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
    transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
.sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    } 25%, 75% {
          -webkit-transform: perspective(140px) rotateX(0deg);
          transform: perspective(140px) rotateX(0deg);
          opacity: 1;
      } 90%, 100% {
            -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
            opacity: 0;
        }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    } 25%, 75% {
          -webkit-transform: perspective(140px) rotateX(0deg);
          transform: perspective(140px) rotateX(0deg);
          opacity: 1;
      } 90%, 100% {
            -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
            opacity: 0;
        }
}

.bubble-me {
    margin: 10px 10px 10px 30px;
    padding: 10px;
    position: relative;
    border-radius: 8px 8px 8px 8px;
    width: 80%;
    color: #fff;
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}

.bubble-other {
    margin: 10px 10px 10px 14%;
    padding: 10px;
    position: relative;
    border-radius: 8px 8px 8px 8px;
    width: 80%;
    color: #fff;
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.badge-message {
    background-color: #fff;
    color: red;
    padding: 3px 8px;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 34%;
    display: none;
}

.title{
    display: block;
    color: red;
    font: 12px tahoma;
}

.small-checkbox {
    width: 15px;
    height: 15px;
}

.chzn-container-single {
    width: 100% !important;
}

.modal-xl {
    width: 90% !important;
    max-width: 1200px !important;
}

.col-small { width: 50px; }
.col-medium { width: 150px; }
.col-large { width: 300px; }