/* CAROUSEL VIDEOS */

/*
 * 	Core Owl Carousel CSS File
 *	v1.3.3
 */

/*img videos dif ratio*/
#plan-pensiones-para-tu-jubilacion {
    height: 129.383px !important;
    background-color:#0146ae;
}

@media (max-width:767px) {
    #plan-pensiones-para-tu-jubilacion {
    padding: 0 0px; 
    height:auto !important;
    }
}

/* clearfix */
.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

/* display none until init */
.owl-carousel {
    display: none;
    position: relative;
    width: 100%;
    -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
    float: left;
}

.owl-controls .owl-page,
.owl-controls .owl-buttons div {
    cursor: pointer;
}

.owl-controls {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing {
    cursor: url(grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
}

.carousel-wrap {
    padding: 0 5%;
    position: relative;
}

/* fix blank or flashing items on carousel */
.owl-carousel .item {
    position: relative;
    z-index: 100;
    -webkit-backface-visibility: hidden;
}

/* end fix */
.owl-nav > div {
    margin-top: -26px;
    position: absolute;
    top: 50%;
    color: #cdcbcd;
}

.owl-nav i {
    font-size: 52px;
}

.owl-nav .owl-prev {
    left: -30px;
}

.owl-nav .owl-next {
    right: -30px;
}

.owl-carousel .owl-item {
    padding: 10px;
}

.owl-carousel .owl-item .item {
    opacity: 1;
}

.owl-carousel:hover .owl-buttons {
    display: block;
}

.owl-theme .owl-controls .owl-buttons div {
    background: transparent;
    color: #869791;
    font-size: 40px;
    line-height: 150px;
    margin: 0;
    position: absolute;
    top: 0;
}

.owl-theme .owl-controls .owl-buttons .owl-prev {
    left: -80px;
}

.owl-theme .owl-controls .owl-buttons .owl-next {
    right: -80px;
}

/* CAROUSEL VIDEOS */

/* /////////////////////////////////////////////////////////////////////////// */

/* MODAL */
.modal,
.modal2 {
    width: 60%;
}

.modal.fade,
.modal2.fade {
    display: none;
}

.modal-header,
.modal-footer {
    border: none;
}

.modal-header {
    padding-bottom: 0;
}

.modal-footer {
    padding-top: 0;
}

@media screen and (min-width: 1025px) {
    .modal {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-lg {
        width: 80%;
    }
}

@media screen and (max-width: 767px) {
    .modal {
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }
}

@media screen and (min-width: 768px) {
    .modal-dialog {
        width: auto;
        height: 100%;
    }

    .modal-open .modal {
        overflow: visible;
    }
}

@media screen and (min-width: 992px) {
    .modal-lg {
        width: auto;
    }

    .modal.fade .modal-dialog .box {
        border-color: transparent;
    }
}

/* MODAL */

/* /////////////////////////////////////////////////////////////////////////// */

@media screen and (min-width: 768px) {
    /* AÑADIR en Plantilla PROMO como MEJORA  */
    .card-box.card-promo .middle > .text-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/*    BLOQUE GENÉRICO */
/*    TABS */

@media screen and (max-width: 767px) {
    .card-box.card-promo .middle > .text-center {
        text-align: left;
    }
}

.product-header {
    background-image: url(/planes-de-pensiones/public/img/inversiones/cabecera.jpg?v=2);
    background-color: transparent;
    background-size: cover;
    background-position: center;
}

.product-header:before,
.product-header:after {
    display: none;
}

.azul,
a h5 {
    color: #0b7ad0;
}

#video-group h4.des-title {
    color: #0b7ad0;
}

.des-title {
    font-weight: bold;
    color: #0b7ad0;
}

@media screen and (max-width: 767px) {
    .carousel-caption {
        margin-top: 0;
    }

    .text-center {
        text-align: left !important;
    }

    .owl-carousel {
        display: block;
    }

    .carousel-wrap {
        padding: 0;
    }

    .owl-carousel .item {
        margin-bottom: 24px;
    }

    .owl-carousel .item:last-child {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 768px) {
    .owl-theme .owl-controls .owl-buttons .owl-prev {
        left: -60px;
    }

    .owl-theme .owl-controls .owl-buttons .owl-next {
        right: -60px;
    }
}

@media screen and (min-width: 992px) {
    /* fix videos altura títulos */
    .owl-item .des-title {
        min-height: 80px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* fix videos altura títulos */
    .owl-item .des-title {
        min-height: 85px;
    }
}

/* Revisar plantilla blk-main */
.blk-main .container > .row ~ .row {
    margin-bottom: 0;
}

/* TABS PARA PRIMER BLOQUE */

.nav.nav-tabs.nav-justified,
.nav.nav-tabs.nav-justified > li {
    border: none;
}

.nav.nav-tabs.nav-justified > li > a {
    color: #33393e;
    border-right: 1px solid #ddd;
    border-bottom: 2px solid #ddd;
    text-align: left;
    font-weight: 500;
    display: block;
}

.nav.nav-tabs.nav-justified > li:last-of-type a {
    border-right: none;
}

.nav-tabs > li > a:hover {
    border-color: transparent;
}

.nav.nav-tabs.nav-justified > li.active > a,
.nav.nav-tabs.nav-justified > li.active > a:focus,
.nav.nav-tabs.nav-justified > li.active > a:hover {
    border-top-color: transparent;
    border-left-color: transparent;
    color: #0b7ad0;
}

.nav.nav-tabs.nav-justified > li:hover > a {
    color: #0b7ad0;
    border-color: transparent;
    border-bottom-color: #0b7ad0;
}

.nav.nav-tabs.nav-justified > li.active > a,
.nav.nav-tabs.nav-justified > li:hover > a,
.nav.nav-tabs.nav-justified > li:focus > a {
    border-right: 1px solid #ddd;
    border-bottom: 2px solid #0b7ad0 !important;
}

.nav.nav-tabs.nav-justified > li > a:focus,
.nav.nav-tabs.nav-justified > li > a:hover {
    border-right: 1px solid #ddd;
    background-color: transparent;
}

.nav.nav-tabs.nav-justified > li:last-of-type > a:focus,
.nav.nav-tabs.nav-justified > li:last-of-type > a:hover {
    border-right: none;
    background-color: transparent;
}

.tab-content {
    margin-top: 5em;
}

@media screen and (max-width: 767px) {
    .tab-content {
        margin-top: 0;
        display: none;
    }
}

/* TABS CON ICONO */

.nav.nav-tabs.nav-justified > li > a .svg + span {
    display: table-cell;
    vertical-align: middle;
    text-transform: uppercase;
}

.nav.nav-tabs.nav-justified > li > a .svg {
    margin-right: 10px;
    max-width: 50px;
}

.nav.nav-tabs.nav-justified > li > a {
    overflow: hidden;
}

.nav.nav-tabs.nav-justified > li > a span {
    padding-top: 10px;
}

@media screen and (min-width: 1025px) {
    .nav.nav-tabs.nav-justified > li > a .svg,
    .nav.nav-tabs.nav-justified > li > a span {
        float: left;
    }
}

@media screen and (max-width: 1024px) {
    .nav.nav-tabs.nav-justified > li > a .svg {
        float: left;
        max-width: 40px !important;
    }

    .nav.nav-tabs.nav-justified > li > a span {
        font-size: 14px;
    }
}

@media screen and (max-width: 991px) {
    .nav.nav-tabs.nav-justified > li > a span {
        padding-top: 3px;
    }
}

/* TABS CON ICONO */

/* RESPONSIVE TABS */

@media screen and (max-width: 991px) {
    .panel {
        box-shadow: none;
    }

    .panel-group .panel-default + .panel-default {
        margin-top: 40px;
    }

    .panel-group .panel-default,
    .panel-group .panel-heading + .panel-collapse > .list-group,
    .panel-group .panel-heading + .panel-collapse > .panel-body {
        border: none;
    }

    .panel-group .panel-heading {
        display: none !important;
    }

    .panel-group .collapse {
        display: block !important;
    }
}

/* SEMÁFORO */

.blk-main .container-fluid #semaforos-riesgo {
    margin: 0;
}

@media (max-width: 1024px) and (min-width: 992px) {
    .text-4 {
        font-size: 11px;
    }
}

.black {
    color: #33393e !important;
}

.container-fluid .box {
    position: absolute;
    margin-top: 16px;
    z-index: 3;
    right: 16px;
    border: 1px solid #ccc;
}

.container-fluid #semaforos-riesgo .box {
    margin-top: 0;
}

.container-fluid .box #semaforos-fiesgo {
    width: auto !important;
    display: table;
    float: right;
    position: relative;
}

/* .product-header {
    background-position: right center;
} */

#semaforos-riesgo {
    margin-top: 0;
}

@media screen and (max-width: 1024px) {
    /* .product-header {
        background-position: 340px center !important;
    } */

    .semaforo-landing > .coletilla {
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid #ccc;
    }
}

@media screen and (max-width: 991px) {
    .box:not(.relative) {
        position: static;
        float: none;
        margin-bottom: 16px;
    }
}

.nav-tabs > li.active > a {
    background-color: transparent !important;
}

.card-mini .card-content .card-title {
    background-color: transparent;
    padding-left: 0;
    padding-top: 0;
    padding-right: 0;
}

.card-mini .card-content .card-title * {
    color: #33393e !important;
}

.product-header .firma-vamos {
    max-width: 130px;
    margin: 32px;
}
.planes-iconos .svg {
    max-width: 75px !important;
}

.planes-iconos [class*="col-"] div {
    display: table;
}

.planes-iconos svg,
.planes-iconos p {
    display: table-cell;
    vertical-align: middle;
}

.planes-iconos p {
    padding-left: 24px;
}

@media screen and (max-width: 767px) {
    .card-mini .card-content .card-title * {
        font-size: 20px !important;
        line-height: 28px !important;
    }
}

@media screen and (min-width: 768px) {
    .card-mini .card-content .card-title {
        padding-top: 8px;
    }
}

@media screen and (min-width: 992px) {
    .card-mini .card-content .card-title {
        padding-top: 0;
    }
    .card-mini .card-content .card-title * {
        font-size: 35px !important;
        line-height: 39px !important;
    }

    .product-header .firma-vamos {
        display: block;
        margin: 270px auto 0 auto;
    }
}

@media screen and (min-width: 1024px) {
    .card-mini {
        margin-top: 32px;
    }
}

@media screen and (min-width: 1199px) {
    .product-header #semaforos-riesgo {
        position: absolute !important;
    }
}

@media screen and (min-width: 1400px) {
    #semaforos-riesgo {
        max-width: 290px;
        float: right;
        margin-right: 32px;
        position: absolute !important;
    }

    .product-header {
        min-height: 530px;
    }
}
