/***
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: -7px 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;
    outline: none;
}

.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: -15px;
    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;
}

@media(max-width: 420px){
    .dw-form .grupo-telefono .input:nth-child(1),
    .dw-form .grupo-telefono .input:nth-child(2){
        width: calc(50% - 7px);
    }

    .dw-form .grupo-telefono .input:nth-child(2){
        margin: 0;
    }

    .dw-form .grupo-telefono .input:nth-child(3){
        width: 100%;
        margin: 10px 0 0 0;
    }
}
/* Chat Flotante */
.chat-container {
    pointer-events: none;
    position: fixed;
    bottom: 45px;
    right: 40px;
    z-index: 1000;
    -webkit-transition: .1s all linear;
       -moz-transition: .1s all linear;
         -o-transition: .1s all linear;
            transition: .1s all linear;
}
.contacto_item_trigger, .contacto_items div {
    display: inline;
}
.contacto_item_trigger {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all .25s cubic-bezier(.55,0,.55,.2);
    -moz-transition: all .25s cubic-bezier(.55,0,.55,.2);
    -ms-transition: all .25s cubic-bezier(.55,0,.55,.2);
    transition: all .25s cubic-bezier(.55,0,.55,.2);
    position: relative;
}
.chat-container.active .contacto_item_trigger {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.btn_item_trigger {
    display: inline-block;
    pointer-events: auto;
    background-color: #FF6600;
    border-radius: 50%;
    min-width: 0;
    width: 56px;
    height: 56px;
    line-height: 56px;
    vertical-align: middle;
    background-clip: padding-box;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    -webkit-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -moz-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -ms-transition: all .15s cubic-bezier(.55,0,.55,.2);
    transition: all .15s cubic-bezier(.55,0,.55,.2);
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0 0 0 20px;
    white-space: nowrap;
}
.btn_item_trigger:hover, .chat-container.open .btn_item_trigger {
    opacity: 0.9;
}
.btn_item_trigger i {
    line-height: 56px;
    color: #fff;
}
.contacto_items {
    display: inline-block;
    pointer-events: none;
    padding: 5px 0px;
    margin-right: -10px;
    box-sizing: border-box;
}
.chat-container.open, .chat-container.open .contacto_items {
    pointer-events: auto;
}
.contacto_items > div {
    margin: 0 5px;
    position: relative;
}
.contacto_items > div span.item_tooltip {
    display: block;
    position: absolute;
    top: -43px;
    right: -18px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    padding: 5px 10px;
    white-space: nowrap;
    text-align: center;
    border-radius: 4px;
    line-height: 1.2;
    opacity: 0;
    -webkit-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -moz-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -ms-transition: all .15s cubic-bezier(.55,0,.55,.2);
    transition: all .15s cubic-bezier(.55,0,.55,.2);
    box-sizing: border-box;
}
.contacto_items > div.contacto_item_contacto span.item_tooltip {
    right: -14px;
}
.contacto_items > div.contacto_item_telefono span.item_tooltip {
    right: -10px;
}
.contacto_items > div span.item_tooltip:after {
    content:"";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: -2px;
    bottom: -4px;
    left: 50%;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(0,0,0,0.7);
}
.contacto_items > div:hover span.item_tooltip {
    opacity: 1;
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
}
.contacto_item_chat a, .contacto_item_formulario a, .contacto_item_telefono a {
    display: inline-block;
    background-color: #FFF;
    border-radius: 50%;
    min-width: 0;
    width: 42px;
    height: 42px;
    line-height: 42px;
    vertical-align: middle;
    background-clip: padding-box;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    -webkit-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -moz-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -ms-transition: all .15s cubic-bezier(.55,0,.55,.2);
    transition: all .15s cubic-bezier(.55,0,.55,.2);
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}
.chat-container.open .contacto_items div a {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.contacto_item_chat a {
    -webkit-transition-delay: 120ms;
    -moz-transition-delay: 120ms;
    -ms-transition-delay: 120ms;
    transition-delay: 120ms;
}
.contacto_item_formulario a {
    -webkit-transition-delay: 60ms;
    -moz-transition-delay: 60ms;
    -ms-transition-delay: 60ms;
    transition-delay: 60ms;
}
.contacto_item_telefono a {
    -webkit-transition-delay: 0ms;
    -moz-transition-delay: 0ms;
    -ms-transition-delay: 0ms;
    transition-delay: 0ms;
}
.chat-container.open .contacto_item_chat a {
    -webkit-transition-delay: 0ms;
    -moz-transition-delay: 0ms;
    -ms-transition-delay: 0ms;
    transition-delay: 0ms;
}
.chat-container.open .contacto_item_formulario a {
    -webkit-transition-delay: 60ms;
    -moz-transition-delay: 60ms;
    -ms-transition-delay: 60ms;
    transition-delay: 60ms;
}
.chat-container.open .contacto_item_telefono a {
    -webkit-transition-delay: 120ms;
    -moz-transition-delay: 120ms;
    -ms-transition-delay: 120ms;
    transition-delay: 120ms;
}
.contacto_items div a i {
    line-height: 42px;
    color: #333;
}
.contacto_items div a:hover i {
    color: #FF6600;
}

/*** animaciones chat ***/
.chat-container .contacto_item_trigger .anima-chat {
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: -1;
    position: absolute;
    top: -14px;
    left: 23px;
}

.chat-container .contacto_item_trigger .anima-chat .anim {
    background-color: #FF6600;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: .2;
    position: absolute;
    top: 0px;
    right: 0px;
}

@-webkit-keyframes circ {
    0% {
    }

    50% {
    -webkit-transform: scale(2);
    }

    100% {
    -webkit-transform: scale(1);
    }
}

@-moz-keyframes circ {
    0% {
    }

    50% {
    -moz-transform: scale(2);
    }

    100% {
    -moz-transform: scale(1);
    }
}

@keyframes circ {
    0% {
    }

    50% {
    transform: scale(2);
    }

    100% {
    transform: scale(1);
    }
}

.chat-container .contacto_item_trigger .anima-chat .anim-1 {
    animation: circ 1s forwards .2s;
    -webkit-animation: circ 1s forwards .2s;
    -moz-animation: circ 1s forwards .2s;
    -o-animation: circ 1s forwards .2s;
    animation: circ 1s forwards .2s;
}

.chat-container .contacto_item_trigger .anima-chat .anim-2 {
    animation: circ 1.5s forwards .3s;
    -webkit-animation: circ 1.5s forwards .3s;
    -moz-animation: circ 1.5s forwards .3s;
    -o-animation: circ 1.5s forwards .3s;
    animation: circ 1.5s forwards .3s;
}

.chat-container .contacto_item_trigger .anima-chat .anim-3 {
    animation: circ 1.9s forwards .5s;
    -webkit-animation: circ 1.9s forwards .5s;
    -moz-animation: circ 1.9s forwards .5s;
    -o-animation: circ 1.9s forwards .5s;
    animation: circ 1.9s forwards .5s;
}

/*tooltip nuevo*/

.tooltip-chatea {
    display: block;
    position: absolute;
    top: -52px;
    left: -30px;
    right: -30px;
    text-transform: uppercase;
    z-index: 5;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    padding: 7px 7px 3px;
    text-align: center;
    border-radius: 4px;
    line-height: 1.3;
    opacity: 0;
    -webkit-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -moz-transition: all .15s cubic-bezier(.55,0,.55,.2);
    -ms-transition: all .15s cubic-bezier(.55,0,.55,.2);
    transition: all .15s cubic-bezier(.55,0,.55,.2);
    box-sizing: border-box;
    padding-bottom: 8px;
}

.mostrar-tooltip-al-inicio {
    -webkit-animation: anima-tooltip 5s forwards;
    -moz-animation: anima-tooltip 5s forwards;
    -ms-animation: anima-tooltip 5s forwards;
    -o-animation: anima-tooltip 5s forwards;
    animation: anima-tooltip 5s forwards;
}

@-webkit-keyframes anima-tooltip {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
        -webkit-transform: translateY(-5px);
    }

    85% {
        opacity: 1;
        -webkit-transform: translateY(-5px);
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes anima-tooltip {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
        -moz-transform: translateY(-5px);
    }

    85% {
        opacity: 1;
        -moz-transform: translateY(-5px);
    }

    100% {
        opacity: 0;
    }
}

@keyframes anima-tooltip {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
        transform: translateY(-5px);
    }

    85% {
        opacity: 1;
        transform: translateY(-5px);
    }

    100% {
        opacity: 0;
    }
}

.tooltip-chatea:after {
    content:"";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: -2px;
    bottom: -4px;
    left: 50%;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(0,0,0,0.7);
}

@media (min-width: 800px) {
.chat-container .contacto_item_trigger:hover .tooltip-chatea {
        opacity: 1;
        -webkit-transform: translateY(-5px);
        -moz-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        -o-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

@media (max-width: 980px){
    .chat-container {
        bottom: 20px;
        right: 20px;
    }
}

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;
}

.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;
    padding: 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: -15px;
    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: calc( 100% - 220px );
    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! important;
    background-color: #fff;
    position: absolute;
    top: 38px;
    left: -1px;
    right: -1px;
    padding: 0;
    list-style: none;
}

.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 {
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.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: 1;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 15px;
    width: 100px;
    padding: 10px;
    box-sizing: border-box;
    background: none;
    background-color: #56a846;
    box-shadow: none;
    color: #fff;
}

.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: calc( 50% - 5px );
    }

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

    .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;
}