﻿@font-face {
    font-family: "BentonSans";
    src: url("../fonts/BentonSansBBVA-Light.eot?");
    src: url("../fonts/BentonSansBBVA-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Light.woff") format("woff"), url("../fonts/BentonSansBBVA-Light.ttf") format("opentype"), url("../fonts/BentonSansBBVA-Light.svg") format("svg");
    font-style: normal;
    font-weight: 200;
    font-stretch: normal;
}

@font-face {
    font-family: "BentonSans";
    src: url("../fonts/BentonSansBBVA-Book.eot?");
    src: url("../fonts/BentonSansBBVA-Book.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Book.woff") format("woff"), url("../fonts/BentonSansBBVA-Book.ttf") format("opentype"), url("../fonts/BentonSansBBVA-Book.svg") format("svg");
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "BentonSans";
    src: url("../fonts/BentonSansBBVA-Medium.eot?");
    src: url("../fonts/BentonSansBBVA-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Medium.woff") format("woff"), url("../fonts/BentonSansBBVA-Medium.ttf") format("opentype"), url("../fonts/BentonSansBBVA-Medium.svg") format("svg");
    font-style: normal;
    font-weight: 500;
    font-stretch: normal;
}

@font-face {
    font-family: "BentonSans";
    src: url("../fonts/BentonSansBBVA-Bold.eot?");
    src: url("../fonts/BentonSansBBVA-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Bold.woff") format("woff"), url("../fonts/BentonSansBBVA-Bold.ttf") format("opentype"), url("../fonts/BentonSansBBVA-Bold.svg") format("svg");
    font-style: normal;
    font-weight: 700;
    font-stretch: normal;
}

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

::-ms-clear {
    display: none;
}

/* GENERAL
----------------------------------------------- */
body {
    margin: 5px 0;
    padding: 0;
    width: 100%;
    color: #121212;
    font-family: BentonSans;
    font-size: 13px;
    line-height: 1.5em;
}

.spacer {
    clear: both;
    height: 0px;
}

img {
    border: 0;
    vertical-align: middle;
}

.contenedor {
    box-sizing: border-box;
    padding: 0 5px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.result .contenedor {
    padding: 0 10px;
}

h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1em;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 40px 0 16px;
    text-align: center;
}

a {
    color: #2a86ca;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

sup {
    line-height: 50%;
    font-size: 0.7em;
}


.coolinput {
    background-color: #F4F4F4;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    display: block;
}

    .coolinput *,
    .coolinput *:before,
    .coolinput *:after {
        box-sizing: border-box;
    }

.field_birthdayInput {
    width: 100%;
}

.coolinput input {
    display: block;
    width: 100%;
    height: 60px;
    background: none;
    border: none;
    border-radius: 1px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    line-height: 1em;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    text-align: left;
    padding: 20px 20px 0;
    color: #5BBEFF;
    text-shadow: 0px 0px 0px #444444;
    -webkit-text-fill-color: transparent;
}

.coolinput label {
    position: absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
    top: 20px;
    left: 20px;
    box-sizing: border-box;
    font-size: 16px;
    color: #909090;
    transform: translateY(0);
    transform-origin: bottom left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),-webkit-transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: text;
}

.coolinput input.notempty, .coolinput input:focus {
}

.coolinput input:focus {
    outline: 0;
}

    .coolinput input.notempty + label, .coolinput input:focus + label {
        color: #666666;
        transform: translateY(-12px) scale(0.75);
    }




/*SLIDER*/

.ui-widget-content {
    background: #CDCBCC;
}

.ui-slider {
    position: relative;
    width: 100%;
}

    .ui-slider .ui-slider-handle {
        position: absolute;
        z-index: 2;
        cursor: pointer;
    }

.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}


.ui-slider-horizontal .ui-slider-range {
    -webkit-border-top-left-radius: 4px !important;
    -webkit-border-bottom-left-radius: 4px !important;
    -moz-border-radius-topleft: 4px !important;
    -moz-border-radius-bottomleft: 4px !important;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.ui-slider-label {
    display: none;
}

.ui-slider-handle {
    cursor: pointer !important;
    outline: none;
}

    .ui-slider-handle.ui-state-default {
        background: #FFFFFF;
        width: 8px !important;
        height: 8px;
        border: 4px solid #009ee5;
        margin-left: -3px;
        z-index: 10;
        border-radius: 35px;
    }

.ui-slider-horizontal .ui-slider-range {
    border-radius: 5px;
    background: #009ee5;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -5px;
}

.ui-slider-horizontal {
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
    height: 6px;
}

.sliderlegend {
    font-size: 10px;
    margin-top: 4px;
    margin-bottom: 10px;
    color: #2B2A29;
}

    .sliderlegend::after {
        content: '';
        display: block;
        clear: both;
    }

/*END SLIDER*/


.content_calcular {
    text-align: center;
    margin-top: 30px;
}

a.boton {
    background-color: #02A5A5;
    display: inline-block;
    min-width: 170px;
    height: 60px;
    padding: 22px 38px;
    box-sizing: border-box;
    font-size: 15px;
    color: #FFFFFF;
    font-weight: bold;
    border-radius: 1px;
}

    a.boton:hover {
        text-decoration: none;
    }


.intro {
    font-size: 15px;
    line-height: 1.4em;
}

.intro2 {
    display: table;
    margin-top: 30px;
}

    .intro2 .col {
        display: table-cell;
        width: 33.33%;
    }

    .intro2 h2 {
        font-size: 17px;
        font-weight: normal;
        margin: 0 0 6px 0;
        text-align: left;
    }

    .intro2 p {
        font-size: 13px;
        line-height: 1.5em;
        color: #666666;
    }

    .intro2 .col {
        padding: 32px 0 0 0;
        box-sizing: border-box;
    }

        .intro2 .col.c1 {
            padding-right: 10px;
            background: url('../img/bbva_conoce.png') no-repeat 0 0;
            background-size: auto 25px;
        }

        .intro2 .col.c2 {
            padding-left: 5px;
            padding-right: 5px;
            background: url('../img/bbva_descubre.png') no-repeat 3px 0;
            background-size: auto 25px;
        }

        .intro2 .col.c3 {
            padding-left: 10px;
            background: url('../img/bbva_compara.png') no-repeat 10px 0;
            background-size: auto 25px;
        }

.introBig.introBigSSPlan {
    margin-top: 0;
    margin-bottom: 30px;
}

.introBig {
    font-size: 18px;
    margin-top: 20px;
    text-align: center;
    line-height: 25px;
}

    .introBig.introBigSSPlan h2 {
        font-size: 26px;
        font-weight: normal;
        text-align: center;
        margin: 20px auto 8px auto;
        line-height: 1.2;
    }

    .introBig.introBigSSPlan label {
        margin-bottom: 0.5rem;
    }

#collapseInfo {
    overflow: hidden;
    transition: max-height 800ms ease-in-out;
    max-height: 0; /* <---hide by default */
}

    #collapseInfo.isOpened {
        max-height: 600px; /* <---when open, allow content to expand to take up as much height as it needs, up to e.g. 100px */
    }

#collapseButton {
    position: absolute;
    right: 10px;
    top: 0;
}

.btn {
    border-radius: 10px;
    display: block;
    height: 30px;
    width: 30px;
    position: relative;
}

    .btn.btn-collapse:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 2;
        background: url(../img/collapseArrow.png) 0 0 no-repeat;
        background-size: 50% 50%;
        left: 25%;
        top: -25%;
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    .btn.btn-collapse.isOpened:before {
        left: -25%;
        top: 25%;
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .btn.btn-collapse {
        background: #F4F4F4;
    }

.inputform {
    display: table;
    width: 100%;
    max-width: 700px;
    margin: 30px auto 0;
}

    .inputform .col {
        display: table-cell;
        padding: 0 10px;
        width: 33.33%;
        vertical-align: top;
    }

.mobile #birthdayInput {
    padding-top: 32px;
}

.hasError {
    background-color: #F8D7DC !important;
    color: #c4126c !important;
    background-image: url(../img/BBVA_error_icon.png) !important;
    background-repeat: no-repeat !important;
    background-size: 20px 20px !important;
    background-position: 95% 50% !important;
    -webkit-transition: background-image 0.2s ease-in-out !important;
    transition: background-image 0.2s ease-in-out !important;
}

.errorMsg {
    font-size: 12px;
    color: #121212;
    padding: 7px 10px 0px 10px;
}

.fancybox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    z-index: 8040;
    background-image: url(../img/BBVA_modal_close.png);
    background-repeat: no-repeat;
    background-size: 15px 15px;
}


.result {
    margin-top: 45px;
}

.destacado {
    background-color: #004481;
    color: #FFFFFF;
    padding-bottom: 40px;
}

.result h2 {
    font-size: 32px;
    font-weight: normal;
    padding: 40px 0 30px;
    text-align: center;
}

}

.capitalCnt {
    display: table;
    width: 100%;
}

    .capitalCnt .col {
        display: table-cell;
        vertical-align: top;
        position: relative;
    }

    .capitalCnt .label {
        font-weight: bold;
        font-size: 26px;
        text-align: center;
        line-height: 1.3em;
        padding-right: 35px;
    }

.modalGraph .capitalCnt .label {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    line-height: 1.3em;
    padding-right: 35px;
    padding-top: 10px;
}

.capitalCnt .quantityResultBig {
    font-size: 44px;
    font-weight: bold;
    text-align: center;
    margin-top: 37px;
    padding-right: 35px;
    white-space: nowrap;
}

.modalGraph .capitalCnt .quantityResultBig {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    padding-right: 35px;
    white-space: nowrap;
}

.capitalCnt .quantityResultSmall {
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    margin-top: 15px;
    padding-right: 35px;
}

.capitalCnt .footLnk {
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    margin-top: 10px;
    padding-right: 35px;
}

    .capitalCnt .footLnk a {
        color: white;
    }

.capitalCnt .c1, .capitalCnt .c3 {
    width: 37%;
}

.capitalCnt .c2 {
    box-sizing: border-box;
    padding: 0 10px;
}

.capitalCnt .c1 .quantityResultBig, .capitalCnt .c1 .quantityResultSmall {
    color: #2DCCCD;
}

.modalGraph .capitalCnt .c1 .quantityResultBig, .capitalCnt .c1 .quantityResultSmall {
    color: #2E6FB3;
}

.capitalCnt .c3 .quantityResultBig, .capitalCnt .c3 .quantityResultSmall {
    color: #F7893B;
}

.modalGraph .capitalCnt .c3 .quantityResultBig, .capitalCnt .c3 .quantityResultSmall {
    color: #2E6FB3;
}

.aclaration {
    vertical-align: top;
    line-height: 1.2em;
    min-width: 60px;
    padding-top: 20px;
    font-size: 11px;
    color: #121212;
}

a.video {
    position: absolute;
    top: 20px;
    right: 0;
    width: 30px;
    height: 30px;
    display: block;
    background: url('../img/bbva_video.png') no-repeat;
    background-size: cover;
    outline: none;
}

    a.video:hover {
        -khtml-opacity: .70;
        -moz-opacity: .70;
        -ms-filter: "alpha(opacity=70)";
        filter: alpha(opacity=70);
        filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.7);
        opacity: .70;
    }

	.banner-container {
		width: 741px;
		margin: 0 auto;
	}

.banner-retirement {
	background: url(../img/aportaciones_1350.gif) no-repeat;
	background-size: contain;
	height: 220px;
	display: block;
	margin-top: 25px;
}


.banner-benefit {
	background: url(../img/prestaciones_1350.gif) no-repeat;
	background-size: contain;
	height: 220px;
	display: block;
	margin-top: 25px;
}

.modalGraph a.video {
    position: absolute;
    top: 20px;
    right: 0;
    width: 30px;
    height: 30px;
    display: block;
    background: url('../img/bbva_video2.png') no-repeat;
    background-size: cover;
    outline: none;
}

.resultCnt2 h2 {
    font-size: 24px;
    margin-top: 14px;
    margin-bottom: 5px;
}

.resultCnt2 .label {
    font-size: 15px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 22px;
    color: #000000;
    padding-right: 0;
    min-height: 40px;
}

.resultCnt2 .quantityResultMedium {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
}

.resultCnt2 .c1 {
    width: 30%;
    color: #2E6FB3;
}

    .resultCnt2 .c1 .label {
        padding: 0 5%;
    }

.resultCnt2 .c3 {
    width: 30%;
    color: #299EE3;
}

.resultCnt2 .table {
    margin-top: 44px;
    color: #2B2A29;
    font-size: 12px;
    margin-bottom: 25px;
}

    .resultCnt2 .table td {
        vertical-align: top;
        line-height: 1.2em;
        min-width: 60px;
        padding-bottom: 15px;
    }

    .resultCnt2 .table .numberTd {
        font-weight: bold;
        padding: 0 0 0 20px;
        white-space: nowrap;
    }

.msg {
    background: url('../img/bbva_info.png') no-repeat 18px 20px;
    background-size: auto 18px;
    width: 95%;
    background-color: #F4F4F4;
    padding: 20px 20px 20px 50px;
    box-sizing: border-box;
    margin: 15px auto 0;
    font-size: 15px;
    line-height: 1.4em;
}

    .msg .bold {
        font-weight: bold;
    }

    .msg a {
        font-size: 10px;
        font-weight: 500;
    }

.footLnk a {
    font-size: 12px;
}

.cntCalculationHyphotesis {
    border: 1px solid #F0F0F0;
    margin: 20px 20px 0;
    padding: 20px 20px;
}

    .cntCalculationHyphotesis h2 {
        margin: 0 0 10px 0;
        padding: 0;
        font-size: 20px;
        text-align: left;
    }

.inputhypothesis {
    display: table;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

    .inputhypothesis .col {
        display: table-cell;
        width: 33.33%;
        box-sizing: border-box;
        position: relative;
    }

.content_slider {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    margin: 15px 0;
}

.inputhypothesis .c1 {
    padding-left: 0;
    padding-right: 40px;
}

.inputhypothesis .c2 {
    padding-left: 5px;
    padding-right: 30px;
}

.inputhypothesis .c3 {
    padding-left: 15px;
    padding-right: 30px;
}




.inputhypothesis a.video {
    position: absolute;
    top: 13px;
    right: 8px;
    width: 17px;
    height: 17px;
    display: inline-block;
    background: url(../img/bbva_video2.png) no-repeat;
    background-size: cover;
}

.inputhypothesis .c1 a.video {
    right: 18px;
}

.inputhypothesis .c2 a.video {
    right: 8px;
}

.inputhypothesis .content_ayuda {
    font-size: 10px;
    line-height: 1.4em;
    padding: 0 0 0 26px;
    background: url('../img/bbva_info.png') no-repeat 0 0;
    background-size: auto 16px;
}



.inputhypothesis .coolinput {
    height: 45px;
}

    .inputhypothesis .coolinput input {
        font-size: 13px;
        height: 45px;
        padding: 15px 20px 0 10px;
    }


    .inputhypothesis .coolinput label {
        top: 15px;
        left: 10px;
        font-size: 13px;
    }

    .inputhypothesis .coolinput input.notempty + label, .inputhypothesis .coolinput input:focus + label {
        color: #666666;
        transform: translateY(-12px) scale(0.80);
    }

.iframecnt {
    width: 500px;
}

iframe.ivideo {
    display: block;
    width: 100% !important;
    max-width: 560px;
    height: 315px;
    margin: 0 auto !important;
}

.fancyboxcnt {
    padding: 60px 15% 40px;
    box-sizing: border-box;
    max-width: 850px;
}

    .fancyboxcnt .titulo_iframe {
        font-size: 20px;
        margin: 25px 0 15px;
    }

    .fancyboxcnt .texto_iframe {
        margin: 10px auto 0;
    }

/*Gráficos d3*/
.axis path, .axis line {
    fill: none;
    stroke: #b2b2b2;
    shape-rendering: crispEdges;
}

.axis text {
    font-family: 'Arial';
    font-size: 13px;
}

.x .tick line {
    visibility: hidden;
}

.chart1 {
    width: 100%;
    height: 175px;
    padding: 0;
}

.chart2 {
    width: 100%;
    height: 128px;
    padding: 0px 10px 0px 5px;
}

.chartModal {
    width: 200px;
    height: 175px;
    padding: 0;
}

/*Fin gráficos d3*/


/*DATEPICKER*/

/* DatePicker Container */
.ui-datepicker {
    width: 216px;
    height: auto;
    margin: 5px auto 0;
    font: 9pt Arial, sans-serif;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5);
}

    .ui-datepicker a {
        text-decoration: none;
    }
    /* DatePicker Table */
    .ui-datepicker table {
        width: 100%;
    }

.ui-datepicker-header {
    background: url('../img/dark_leather.png') repeat 0 0 #000;
    color: #e0e0e0;
    font-weight: bold;
    -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2);
    -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
    box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2);
    text-shadow: 1px -1px 0px #000;
    filter: dropshadow(color=#000, offx=1, offy=-1);
    line-height: 30px;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #111;
}

.ui-datepicker-title {
    text-align: center;
}

.ui-datepicker-prev, .ui-datepicker-next {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-image: url('../img/arrow.png');
    background-repeat: no-repeat;
    line-height: 600%;
    overflow: hidden;
}

.ui-datepicker-prev {
    float: left;
    background-position: center -30px;
}

.ui-datepicker-next {
    float: right;
    background-position: center 0px;
}

.ui-datepicker thead {
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top, #f7f7f7 0%, #f1f1f1 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#f1f1f1));
    background-image: -webkit-linear-gradient(top, #f7f7f7 0%,#f1f1f1 100%);
    background-image: -o-linear-gradient(top, #f7f7f7 0%,#f1f1f1 100%);
    background-image: -ms-linear-gradient(top, #f7f7f7 0%,#f1f1f1 100%);
    background-image: linear-gradient(top, #f7f7f7 0%,#f1f1f1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f1f1f1',GradientType=0 );
    border-bottom: 1px solid #bbb;
}

.ui-datepicker th {
    text-transform: uppercase;
    font-size: 6pt;
    padding: 5px 0;
    color: #666666;
    text-shadow: 1px 0px 0px #fff;
    filter: dropshadow(color=#fff, offx=1, offy=0);
}

.ui-datepicker tbody td {
    padding: 0;
    border-right: 1px solid #bbb;
}

    .ui-datepicker tbody td:last-child {
        border-right: 0px;
    }

.ui-datepicker tbody tr {
    border-bottom: 1px solid #bbb;
}

    .ui-datepicker tbody tr:last-child {
        border-bottom: 0px;
    }

.ui-datepicker td span, .ui-datepicker td a {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #666666;
    text-shadow: 1px 1px 0px #fff;
    filter: dropshadow(color=#fff, offx=1, offy=1);
}

.ui-datepicker-calendar .ui-state-default {
    background: #ededed;
    background: -moz-linear-gradient(top, #ededed 0%, #dedede 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#dedede));
    background: -webkit-linear-gradient(top, #ededed 0%,#dedede 100%);
    background: -o-linear-gradient(top, #ededed 0%,#dedede 100%);
    background: -ms-linear-gradient(top, #ededed 0%,#dedede 100%);
    background: linear-gradient(top, #ededed 0%,#dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );
    -webkit-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    -moz-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
}

.ui-datepicker-calendar .ui-state-hover {
    background: #f7f7f7;
}

.ui-datepicker-calendar .ui-state-active {
    background: #6eafbf;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
    color: #e0e0e0;
    text-shadow: 0px 1px 0px #4d7a85;
    filter: dropshadow(color=#4d7a85, offx=0, offy=1);
    border: 1px solid #55838f;
    position: relative;
    margin: -1px;
}

.ui-datepicker-unselectable .ui-state-default {
    background: #f4f4f4;
    color: #b4b3b3;
}

.ui-datepicker-calendar td:first-child .ui-state-active {
    width: 29px;
    margin-left: 0;
}

.ui-datepicker-calendar td:last-child .ui-state-active {
    width: 29px;
    margin-right: 0;
}

.ui-datepicker-calendar tr:last-child .ui-state-active {
    height: 29px;
    margin-bottom: 0;
}

/*END DATEPICKER*/


.balancechart {
    position: relative;
    width: 100%;
    height: 200px;
}

    .balancechart::after {
        content: '';
        background: url("../img/bbva_balanza_poste.png") no-repeat center 15px;
        background-size: auto 190px;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 3;
    }

    .balancechart::before {
        content: '';
        background: url("../img/bbva_balanza_barra.png") no-repeat center 0;
        background-size: 162px auto;
        position: relative;
        width: 162px;
        height: 88px;
        top: 20px;
        margin: 0 auto;
        display: block;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        z-index: 2;
    }

    .balancechart.maxSS::before {
        -ms-transform: rotate(15deg);
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
        -ms-transform-origin: 50% 4px;
        -webkit-transform-origin: 50% 4px;
        transform-origin: 50% 4px;
        z-index: 2;
    }

    .balancechart.maxSalary::before {
        -ms-transform: rotate(-15deg);
        -webkit-transform: rotate(-15deg);
        transform: rotate(-15deg);
        -ms-transform-origin: 50% 4px;
        -webkit-transform-origin: 50% 4px;
        transform-origin: 50% 4px;
        z-index: 2;
    }

    .balancechart .barcnt {
        width: 65px;
        height: 100px;
        position: absolute;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        z-index: 1;
    }

        .balancechart .barcnt::after {
            background: url("../img/bbva_balanza_plato.png") no-repeat center 0;
            background-size: cover;
            width: 100%;
            height: 100%;
            position: absolute;
            content: '';
            left: 0px;
        }

        .balancechart .barcnt.salarybar {
            top: 8px;
            left: 13.5%;
            z-index: 1;
        }

        .balancechart .barcnt.ssbar {
            top: 48px;
            right: 13.5%;
            z-index: 1;
        }

    .balancechart.maxSalary .barcnt.salarybar {
        top: 48px;
        z-index: 1;
    }

    .balancechart.maxSalary .barcnt.ssbar {
        top: 8px;
        z-index: 1;
    }

    .balancechart .bar {
        width: 30%;
        height: 1px;
        position: absolute;
        bottom: 32px;
        left: 35%;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        z-index: 0;
    }

    .balancechart .salarybar .bar {
        background-color: #2E6FB3;
    }

    .balancechart .ssbar .bar {
        background-color: #299EE3;
    }

    .balancechart.maxSalary .salarybar {
        bottom: 20%;
    }

    .balancechart.maxSalary .ssbar {
        bottom: 34.5%;
    }

    .balancechart.maxSalary .salarybar .bar {
        width: 60%;
        left: 20%;
    }

    .balancechart.maxSS .ssbar .bar {
        width: 60%;
        left: 20%;
    }


@media (max-width: 767px) {

	.banner-container {
		width: 91%;
		margin: 0 auto;
		height: 100%;
	}

	.banner-retirement {
		background: url(../img/aportaciones_814.gif) no-repeat;
		width: 100%;
		height: 275px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}


	.banner-benefit {
		background: url(../img/prestaciones_814.gif) no-repeat;
		width: 100%;
		height: 275px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	.general {
		padding: 0px;
	}

    .iframecnt {
        width: auto;
    }

    .fancyboxcnt {
        padding: 20px 5% 20px;
    }

    .intro2 {
        display: block;
        width: 94%;
        padding: 7px 3% 0;
        margin-top: 0;
    }

        .intro2 h2 {
            padding: 3px 0 0 25px;
            margin: 10px 0 5px 0;
        }

        .intro2 .col {
            background-position: 0 0px !important;
            background-size: auto 20px !important;
            display: block;
            width: 100%;
            padding: 0 !important;
        }

    .inputform {
        display: block;
    }

        .inputform .col {
            display: block;
            width: 96%;
            max-width: 450px;
            padding: 5px 0;
            margin: 0 auto;
        }

    .destacado {
        padding: 0 2%;
    }

    .result h2 {
        line-height: 1.1em;
        font-size: 28px;
        margin: 0;
        padding: 30px 0 20px;
    }

    .capitalCnt {
        display: block;
    }

        .capitalCnt .label {
            display: inline;
            font-size: 20px;
            padding-right: 10px;
        }


    #popUpFancybox .capitalCnt .label {
        display: block;
    }

    .capitalCnt a.video {
        display: inline-block;
        position: relative;
        top: 8px;
    }

    #popUpFancybox .capitalCnt a.video {
        display: block;
        position: absolute;
        top: 8px;
    }

    .capitalCnt .quantityResultBig {
        margin: 25px 0 5px;
        padding-right: 0;
    }

    .capitalCnt .col {
        display: block;
        width: 100%;
        text-align: center;
    }

    .capitalCnt .c2 {
        display: none;
    }

    .capitalCnt .c3 {
        margin: 25px 0 0;
        padding-bottom: 25px;
    }



    .resultCnt2 .label {
        font-size: 18px;
        padding: 0;
    }

    .resultCnt2 .quantityResultMedium {
        margin: 10px auto 0;
    }

    .resultCnt2 .table {
        margin: 25px auto 0;
    }

        .resultCnt2 .table td {
            text-align: left;
        }

    .resultCnt2 .c3 {
        margin: 15px 0 0;
    }

    .resultCnt2 .c2 {
        display: block;
    }

    .balancechart {
        height: 200px;
        width: 292px;
        margin: 10px auto 25px;
    }

        .balancechart .barcnt::after {
        }

    .cntCalculationHyphotesis {
        border: none;
        margin: 10px auto 0;
        padding: 0 2% 0;
        width: 95%;
    }

        .cntCalculationHyphotesis h2 {
            font-size: 24px;
            padding: 25px 0 15px;
        }

    .inputhypothesis {
        display: block;
    }

        .inputhypothesis .col {
            display: block;
            width: 90% !important;
            margin: 25px auto 0 !important;
            padding: 0 30px 0 0 !important;
        }

            .inputhypothesis .col .video {
                right: 5px !important;
            }


    .fancyboxcnt {
        margin: 20px;
        box-sizing: border-box;
        max-width: 450px;
    }

        .fancyboxcnt .titulo_iframe {
            font-size: 20px;
            margin: 25px 0 15px;
        }

        .fancyboxcnt .texto_iframe {
            margin: 10px auto 0;
        }

    .aclaration {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media (max-width: 640px) {

    h1 {
        font-size: 25px;
    }
}

@media (max-width: 480px) {

    h1 {
        font-size: 21px;
    }
}
