/***
Formulario
***/
.dw-form{
}

.dw-form .select,
.dw-form .input{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #ccc;
    position: relative;
    box-sizing: border-box;
    margin: 0 0 20px 0;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.dw-form .select label,
.dw-form .input label{
    height: 14px;
    font-size: 14px;
    font-weight: 300;
    color: #999;
    position: absolute;
    top: 50%;
    left: 10px;
    margin: -11px 0 0 0;
    z-index: 0;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.dw-form .input input{
    width: 100%;
    height: 100%;
    border: none;
    font-size: 14px;
    color: #2d2d2d!important;
    z-index: 1;
    background: transparent;
    position: relative;
    box-sizing: border-box;
    padding: 15px 10px 5px 10px;
}

.dw-form .select.active label,
.dw-form .input.active label{
    font-size: 10px;
    top: 11px;
}

.dw-form .input.error,
.dw-form .select.error {
    border-color: #c33;
}

.dw-form .select.error label,
.dw-form .input.error label {
    color: #c33;
}

.dw-form .input span.error,
.dw-form .select span.error {
    position: absolute;
    bottom: -23px;
    left: 10px;
    font-size: 11px;
    color: #c33;
    opacity: 0;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.dw-form .input.error span.error,
.dw-form .select.error span.error {
    opacity: 1;
}

div[data-template="chat-tc"] {
    display: none;
}

.chat-tc .overlay {
    position: fixed;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999999;
    display: block;
}

.chat-tc .overlay .cont {
    background: #fff;
    width: 440px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 30px;
    border-radius: 6px;
    box-sizing: border-box;
}

.chat-tc .overlay .cont i.close {
    color: #333;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 26px;
    cursor: pointer;
}

.chat-tc .overlay p.tit {
    color: #333;
    line-height: 1.3;
    font-weight: 300;
    font-size: 20px;
    margin: 0 0 25px 0;
}

.chat-tc .overlay .tarjetas {
    text-align: center;
    margin: 0 0 20px 0;
}

.chat-tc .overlay .tarjetas li {
    display: inline-block;
    cursor: pointer;
    margin: 0 20px;
}

.chat-tc .overlay .tarjetas li:first-child {
    margin-left: 0; 
}

.chat-tc .overlay .tarjetas li:last-child {
    margin-right: 0; 
}

.chat-tc .overlay .tarjetas img {
    height: 40px;
}

.chat-tc .sprite-tc.visa {
    width: 87px;
    background-position: 0px -47px;
}

.chat-tc .sprite-tc.master {
    background-position: -127px -45px;
    width: 53px;
}

.chat-tc .sprite-tc.american {
    background-position: -230px -45px;
    width: 41px;
}

.chat-tc .sprite-tc.naranja {
    background-position: -325px -45px;
    width: 30px;
}

.chat-tc .sprite-tc.visa.active {
    background-position: 0px -5px;
}

.chat-tc .sprite-tc.master.active {
    background-position: -127px -3px;
}

.chat-tc .sprite-tc.american.active {
    background-position: -230px -3px;
}

.chat-tc .sprite-tc.naranja.active {
    background-position: -325px -3px;
}

.chat-tc .overlay .info-tc {
    margin: 0 0 40px 0;
}

.chat-tc .overlay form {
    max-width: 380px;
    margin: 0 auto;
}

.chat-tc .vencimiento {
    position: relative;
    float: left;
}

.chat-tc .vencimiento::after {
    content: '';
    display: block;
    clear: both;
}

.chat-tc .vencimiento span.error {
    position: absolute;
    bottom: -23px;
    left: 10px;
    font-size: 11px;
    color: #c33;
    opacity: 0;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.chat-tc .vencimiento.error span.error {
    opacity: 1;
}

.chat-tc .vencimiento.error div.select {
    border-color: #c33;
}

.chat-tc .overlay .info-tc::after {
    content: '';
    display: block;
    clear: both;
}
.chat-tc .overlay .info-tc .input {
    width: 160px;
    display: inline-block;
    margin: 0;
    float: right;
}

.chat-tc .overlay .info-tc .select {
    display: inline-block;
    width: 100px;
    margin: 0 10px 0 0;
    float: left;
}

.chat-tc .overlay .info-tc .select,
.chat-tc .overlay .info-tc .select label,
.chat-tc .overlay .info-tc .select span {
    cursor: pointer;
}

.chat-tc .overlay .info-tc .select span.valor {
    display: inline-block;
    padding: 15px 10px 5px 10px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;   
}

.chat-tc .overlay .info-tc .select i {
    color: #ccc;
    position: absolute;
    top: 50%;
    right: 5px;
    margin: -10px 0 0 0;
    -webkit-transition: .2s all;
    -moz-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.chat-tc .overlay .info-tc .select ul {
    display: none;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    height: 200px;
    overflow: auto;
    background-color: #fff;
    position: absolute;
    top: 38px;
    left: -1px;
    right: -1px;
}

.chat-tc .overlay .info-tc .select ul li {
    padding: 10px;
    background-color: white;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #ddd;
}

.chat-tc .overlay .info-tc .select.open {
    border-radius: 5px 5px 0 0;
}

.chat-tc .overlay .info-tc .select.open i {
    -webkit-transform: rotate( 180deg );
    -moz-transform: rotate( 180deg );
    -ms-transform: rotate( 180deg );
    -o-transform: rotate( 180deg );
    transform: rotate( 180deg );
}

.chat-tc .footer::after {
    content: '';
    display: block;
    clear: both;
}

.chat-tc .footer p {
    float: left;
    margin: 0;
    line-height: 35px;
    color: #999;
    font-weight: 300;
    font-style: italic;
    font-size: 15px;
    position: relative;
    padding: 0 0 0 30px;  
}

.chat-tc .footer p img {
    background-position: -8px -90px;
    width: 27px;
    height: 36px;
    position: absolute;
    top: -1px;
    left: 0;
}

.chat-tc .footer a {
    float: right;
    line-height: 35px;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 15px;
    width: 100px;
    height: 35px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    border-radius: 3px;
    padding: 0;
}

.chat-tc .envio {
    text-align: center;
}

.chat-tc .envio a {
    color: #0099FF;
    cursor: pointer;
    text-decoration: underline;
}

@media( max-width: 460px ), ( max-height: 430px ) {
    .chat-tc .overlay .cont {
        max-width: 100%;
        width: 100%;
        top: 0! important;
        margin: 0 !important;
        text-align: center;
        overflow: auto;
        height: 100vh;
    }

    .chat-tc .overlay .cont i.close {
        color: #333;
        position: static;
        display: block;
        text-align: right;
        margin: 0 0 30px 0;
    }

    .chat-tc .vencimiento {
        position: relative;
        width: 100%;
        margin: 0 0 20px 0;
    }

    .chat-tc .overlay .info-tc .select {
        width: 48%;
    }

    .chat-tc .vencimiento .select:nth-child(2) {
        margin: 0;
        float: right;
    }

    .chat-tc .overlay .info-tc .input {
        width: 100%;
    }

    .chat-tc .overlay .tarjetas li {
        margin: 0 0 10px -4px;
        width: 50%;
    }
}

/* Nuevo Chat*/
#livechat-compact-container {
    right: 30px !important;
    bottom: 20px !important;
} 