/* banner chat */
#block-fs-abertis-chat-block-chat {
    background-color: #FF0000;
    height: 200px;
    overflow: hidden;
    width: 400px;
}
#popup_chat{
    display: none;
}

/* -------------------------- ------------------- ------------------------------------- */
/* ---------------------------- CHAT ABERTIS ------------------------------------- */
/* -------------------------- ------------------- ------------------------------------- */
#chats-abertis {
    height: 100%;
}
.section-chatabertis {
    display: table;
    width: 100%;
    height: 100%;
}
#modalContent {
    /* top: 50% !important;
    margin-top: -150px !important;*/
    margin-top:0px;
    margin: 0px auto !important;
    vertical-align: middle;
    font-size: 1.3rem;
}
div.ctools-modal-content.chatabertis {
    max-width: 480px;
    max-height: 500px;
    height: auto !important;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
div.ctools-modal-content.chatabertis .form-item {
    margin: 1.5em 0;
}
div.ctools-modal-content.chatabertis .chat-no-disponible .form-item {
    margin: 1.0em 0;
}
div.ctools-modal-content.chatabertis input.form-submit {
    position:relative;
    background: #f58220;;
    border: solid 1px #f58220;;
    text-shadow: 1px 1px 1px rgba(0,0,0,.2);
    color:#fff;
    text-decoration:none;
    font-family: 'Bliss', arial, sans-serif;
    outline: 0 none;
    padding: 5px 10px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;font-size: 1.4rem;
    line-height: 15px;
}
div.ctools-modal-content.chatabertis #modal-content {
    width: 100%;
    height: auto;
    padding: 30px 20px 15px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}
div.ctools-modal-content.chatabertis input.form-submit:hover{
    background-color:#f79b4d;
}
div.ctools-modal-content.chatabertis input[type="text"],
div.ctools-modal-content.chatabertis input[type="email"],
div.ctools-modal-content.chatabertis select{
    width: 100%;
    position: relative;
    margin: 0px;
    padding: 5px;
    /*background: #ebebeb ;*/
    background: #fff;
    border: solid 1px #dbdbdb;
    -webkit-box-shadow: 0px 0px 5px #ebebeb inset;
    -moz-box-shadow: 0px 0px 5px #ebebeb inset;
    box-shadow: 0px 0px 5px #ebebeb inset;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    -ms-border-radius:6px;
    -o-border-radius:6px;
    border-radius:6px;
    behavior: url(/sites/all/themes/fs_abertis/css/pie/PIE.htc); /*IE6-7-8*/
    font-family: 'Bliss', arial, sans-serif;
    font-size: 14px; font-size: 1.4rem;
    position: relative;
    font-weight: 100;
    color:#5b5b5b;
    outline: 0;
    height: 32px;
    line-height: 32px;
}
div.ctools-modal-content.chatabertis #modal-content h1{
    color: #38464f;
    font-size: 18px;
    font-weight: normal;
    line-height: 20px;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: center;
}
div.ctools-modal-content.chatabertis #modal-content .ctools-use-modal-processed{
    background-color: #faf9f9;
    border:1px solid #dfdfdf;
    padding: 20px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    -ms-border-radius:6px;
    -o-border-radius:6px;
    border-radius:6px;
    behavior: url(/sites/all/themes/fs_abertis/css/pie/PIE.htc); /*IE6-7-8*/
}

div.ctools-modal-content.chatabertis textarea {
    width: 100%;
    position: relative;
    margin: 0px;
    padding: 5px;
    /*background: #ebebeb ;*/
    background: #fff;
    border: solid 1px #dbdbdb;
    -webkit-box-shadow: 0px 0px 5px #ebebeb inset;
    -moz-box-shadow: 0px 0px 5px #ebebeb inset;
    box-shadow: 0px 0px 5px #ebebeb inset;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    -ms-border-radius:6px;
    -o-border-radius:6px;
    border-radius:6px;
    behavior: url(/sites/all/themes/fs_abertis/css/pie/PIE.htc); /*IE6-7-8*/
    font-family: 'Bliss', arial, sans-serif;
    font-size: 14px; font-size: 1.4rem;
    font-weight: 100;
    color:#5b5b5b;
    outline: 0;
    resize: none;
}
div.ctools-modal-content.chatabertis .modal-header a.close {
    top:24px;
}
div.ctools-modal-content.chatabertis .sbHolder {
    margin-right: 0px;
    text-align: left;
}
div.ctools-modal-content.chatabertis a.sbSelector {
    width: 100%;
}
div.ctools-modal-content.chatabertis .button-item {
    text-align: right;
}
div.ctools-modal-content.chatabertis .chat-popup-enviar-formulario {
    display: table-row;
}
div.ctools-modal-content.chatabertis .chat-no-disponible .chat-popup-enviar-formulario {
    display: block;
}
div.ctools-modal-content.chatabertis #popup_chat_form #popup_chat_form_div div.chat-conditions, div.ctools-modal-content.chatabertis #popup_chat_desconectado_form #popup_chat_desconectado_form_div div.chat-conditions {
    float: left;
    text-align: left;
    font-size: 10px;
    width: 60%;
}
div.ctools-modal-content.chatabertis #popup_chat_form #popup_chat_form_div > div{
    width: 80%;
    margin:0px auto;
}
div.ctools-modal-content.chatabertis #popup_chat_desconectado_form #popup_chat_desconectado_form_div > div {
    width: 80%;
    margin:0px auto;
}
div.ctools-modal-content.chatabertis .modal-header {
    padding: 15px 20px 0 20px;
}
div.ctools-modal-content.chatabertis .modal-header #modal-title {
    display: block;
    width: 100%;
    height: 36px;
    background: #f58220;
    border-color: #f58220;
    text-shadow: 1px 1px 1px rgba(0,0,0,.2);
    color:#fff;
    padding: 5px 10px 10px 44px;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
div.ctools-modal-content.chatabertis .modal-header #modal-title img {
    display: block;
    height: 35px;
    left: 8px;
    position: absolute;
    top: 0;
    width: auto;

}
#popup_chat_desconectado_form_div {
    text-align: center;
}
div.ctools-modal-content.chatabertis div.messages.error, div.ctools-modal-content.chatabertis div.messages.status, div.ctools-modal-content.chatabertis div.messages.warning {
    padding-bottom: 18px;
    padding-top: 20px;
    margin-top: 0px;
    margin-bottom: 15px;
}
div.ctools-modal-content.chatabertis iframe{
    border: 0 none;
    height: auto;
    min-height: 360px;
    width: 100%;
}

@media only screen and (max-width: 480px) {
    div.ctools-modal-content.chatabertis{
        max-width: 320px;
    }
    div.ctools-modal-content.chatabertis #modal-content {
        max-width: 330px;
    }
}

#politica-privacidad-check {
    vertical-align: bottom;
    margin-top: 10px;
}