﻿/*retocar bootstrap y mdb*/
a {
    text-decoration: underline;
}

.btn,
.nav-link,
.dropdown-item,
.list-group-item-action,
.breadcrumb-item > a,
.pagination .page-item.active .page-link,
.card.hoverable,
.it-link_decoration_none,
.it-table__row-collapse-icon,
.it-tag,
.it-page-firma__link,
.close {
    text-decoration: none !important;
}

a,
.skin-light .table a {
    color: #1266f1;
}

.carousel-caption {
    bottom: 0;
}

.custom-checkbox .custom-control-label,
.custom-radio .custom-control-label {
    cursor: pointer;
}

.custom-checkbox .custom-control-input:disabled ~ .custom-control-label,
.custom-radio .custom-control-input:disabled ~ .custom-control-label {
    cursor: default;
}

.pagination .page-item.active .page-link:hover {
    color: #000000;
    background-color: #eee;
}

.pagination .page-item.active .page-link:focus {
    color: #000000;
    background-color: #e1f5fe;
}

.skin-light .text-danger {
    color: #CC0000 !important;
}

.skin-light .text-success {
    color: #007E33 !important;
}

.skin-light .text-warning {
    color: #B35F00 !important;
}

.skin-light .text-info {
    color: #007AA3 !important;
}

.skin-light .border-danger {
    border-color: #CC0000 !important;
}

.skin-light .border-success {
    border-color: #007E33 !important;
}

.skin-light .border-warning {
    border-color: #B35F00 !important;
}

.skin-light .border-info {
    border-color: #007AA3 !important;
}

.skin-light .badge-danger,
.skin-light .bg-danger {
    background-color: #DC3545 !important;
}

.skin-light .badge-success,
.skin-light .bg-success {
    background-color: #198754 !important;
}

.skin-light .badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.skin-light .badge-info {
    background-color: #0dcaf0 !important;
    color: #212529 !important;
}

.skin-light .badge-light {
    color: #212529 !important;
}

.skin-light .note-info {
    background-color: #ECF6F8;
}

.red {
    background-color: #E91B0C !important;
}

/* cambios por color fondo */
/*.skin-light .btn-outline-primary,
.skin-light .btn-outline-secondary,
.skin-light .btn-outline-default
.skin-light .btn-outline-danger,
.skin-light .btn-outline-warning,
.skin-light .btn-outline-success,
.skin-light .btn-outline-info,
.skin-light .btn-outline-dark,
.skin-light .btn-outline-light,
.skin-light .btn-outline-grey,
.skin-light .btn-outline-grey-dark,
.skin-light .btn-outline-grey-medium,
.skin-light .btn-outline-grey-light {
    background-color: #FFF !important;
}
*/

.skin-light .classic-tabs .nav.tabs-primary {
    background-color: transparent !important
}

.skin-light .btn-white:hover, .skin-light .btn-white:active,
.skin-light .btn[class*=btn-outline-]:hover, .skin-light .btn[class*=btn-outline-]:active {
    background-color: #eee !important
}

.skin-light .btn-outline-white:hover, .skin-light .btn-outline-white:active {
    color: #000 !important
}

.skin-light .btn-white:focus,
.skin-light .btn[class*=btn-outline-]:focus {
    background-color: #e1f5fe !important
}

@media (max-width: 500px) {
    .skin-light .tabs-primary .nav-item, .skin-light .md-pills .nav-item {
        width: 100%;
    }
}

/********************/

/*retocar plugins*/
.MultiFile-list {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active {
    color: #fff !important; /*por it-form_plugin_selectpicker*/
}

/*retocar ui*/
.ui-datepicker-trigger {
    cursor: pointer;
}

.ui-autocomplete-loading {
    background: white url("../imagenes/roller.gif") right center no-repeat;
}

.ui-autocomplete {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*retocar ckeditor*/
.cke_dialog_ui_checkbox_input {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/*varios*/
.it-file-avatar_sm {
    width: 3rem;
    height: 3rem;
}

.it-badge-notice-count {
    position: absolute;
    top: 10px;
    right: 10px
}

.it-chip-avatar {
    cursor: auto;
    margin-right: 0;
    margin-bottom: 0;
}

    .it-chip-avatar.waves-effect {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }

.it-fw_bold {
    font-weight: 500 !important;
}

.it-image-muted {
    filter: grayscale(1) !important;
}

.list-unstyled_last_mb-0 > li:last-child {
    margin-bottom: 0 !important;
}

.img-icon {
    margin-right: 0.25rem;
}

.rounded-top-0 {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rounded-bottom-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.rounded-right-0 {
    border-top-right-radius : 0 !important;
    border-bottom-right-radius: 0 !important;
}

.rounded-left-0 {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/*progress_rounded*/
.progress_rounded {
    width: 128px;
    height: 128px;
    background: none;
    position: relative;
}

    .progress_rounded::after {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 16px solid #eee;
        position: absolute;
        top: 0;
        left: 0;
    }

    .progress_rounded > span {
        width: 50%;
        height: 100%;
        overflow: hidden;
        position: absolute;
        top: 0;
        z-index: 1;
    }

    .progress_rounded .progress-left {
        left: 0;
    }

    .progress_rounded .progress-bar {
        width: 100%;
        height: 100%;
        background: none;
        border-width: 16px;
        border-style: solid;
        position: absolute;
        top: 0;
    }

    .progress_rounded .progress-left .progress-bar {
        left: 100%;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
        border-left: 0;
        -webkit-transform-origin: center left;
        transform-origin: center left;
    }

    .progress_rounded .progress-right {
        right: 0;
    }

        .progress_rounded .progress-right .progress-bar {
            left: -100%;
            border-top-left-radius: 80px;
            border-bottom-left-radius: 80px;
            border-right: 0;
            -webkit-transform-origin: center right;
            transform-origin: center right;
        }

    .progress_rounded .progress-value {
        position: absolute;
        top: 0;
        left: 0;
    }
    
/* format */
.it-format__bg-transparent {
    background: #f2f2f2 url("../imagenes/bg-transparent.png") left top repeat
}

/* step */
.it-step {
    list-style: none;
    margin: 0;
}

.it-step__element {
    display: flex;
    padding: 1rem 0;
}

.it-step__number-container {
    position: relative;
    width: 7rem;
    flex-shrink: 0;
    text-align: center;
}

    .it-step__number-container .it-step__number {
        color: #bfc5ca;
        background-color: #eaeff4;
        font-size: 1.5rem;
    }

    .it-step__number-container .it-step__number {
        width: 48px;
        height: 48px;
        line-height: 48px;
    }

.it-step__number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    border-radius: 10rem;
}

.it-step__number-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 48px;
    bottom: -2rem;
    margin-left: -1px;
    border-left: 2px dashed #eaeff4;
}

.it-step__element:last-child .it-step__number-container::before {
    bottom: 1rem;
}

/*home-card*/
.it-home-card__footer a {
    color: #FFF;
}

@media (max-width: 767px) {
    .it-home-card__content_left {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    .it-home-card__content_right {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

}

.it-page-home_cover_split .it-page-home-slogan__content {
    padding: 0.5rem;
    background-color: rgba(0,0,0,.4);
    max-width: 75%;
}

@media (max-width: 991px) {
    .it-page-home_cover_slogan {
        height: 450px !important;
        width: 100% !important;
    }
}

@media (max-width: 575px) {
    .it-page-home_cover_split .it-page-home-slogan__content {
        max-width: 100%;
    }
}

/*page-jumbotron*/
.it-page-jumbotron__holder {
    background-repeat: no-repeat;
    background-size: cover;
}

/*main navbar*/
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: #f6f9fc !important;
}

.it-page-navbar__brand-img {
    max-height: 40px;
}

.nav-link > .it-page-navbar__icon {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.nav-link:hover > .it-page-navbar__icon {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

/*page con sidenav*/
.it-page__wrapper {
    width: 100%;
}

.it-page__sidebar {
    min-width: 16rem;
    max-width: 16rem;
    transition: all 0.3s;
    -webkit-box-shadow: 0 0 16px 0 rgba(0,0,0,0.05);
    box-shadow: 0 0 16px 0 rgba(0,0,0,0.05);
    background-color: #fff;
}

    .it-page__sidebar.active {
        margin-left: -16rem;
    }

.it-page__content {
    width: calc(100% - 16rem);
    transition: all 0.3s;
}

    .it-page__content.active {
        width: 100%;
    }

@media (max-width: 991px) {
    .it-page__sidebar {
        margin-left: -16rem;
    }

        .it-page__sidebar.active {
            margin-left: 0;
        }

    .it-page__content {
        width: 100%;
    }

        .it-page__content.active {
            width: calc(100% - 16rem);
        }
}

@media print {
    .it-page__content {
        width: 100%;
    }
}

.it-page-sidebar__nav-link,
.it-page-sidebar__collapse-icon {
    color: #666 !important;
}

    .it-page-sidebar__nav-link:hover,
    .it-page-sidebar__nav-link:focus {
        background-color: #f6f9fc;
    }

.it-page-sidebar__nav-link_active {
    color: #1266f1 !important;
    background-color: #f6f9fc;
}

/*it-page-asidebar*/
.it-page-asidebar__nav-cover {
    object-fit: cover;
    height: 110px;
    overflow: hidden;
}

@media (max-width: 24rem) {
    .it-page-asidebar {
        max-width: 16rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    .it-page-asidebar__nav-cover {
        max-width: 16rem;
        float: left;
        padding-right: 1rem;
    }

}

@media (min-width: 1200px) {
    .it-page-asidebar {
        max-width: 16rem;
    }
}

@media (min-width: 1700px) {
    .it-page-asidebar {
        max-width: 32rem;
    }

    .it-page-asidebar__nav-cover {
        max-width: 16rem;
        float: left;
        padding-right: 1rem;
    }
}

/*form*/
.it-form__section-title {
    font-size: 1.5rem;
    line-height: inherit;
}

.it-form__group-actions {
    bottom: 0;
    z-index: 4;
}

.it-form__form-control_short {
    width: auto;
    max-width: 100%;
}

.input-group > .it-form__form-control_short {
    flex: none;
    width: auto;
}

@media (max-width:575px) {
    .it-form__btn-vertical-angle {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

/*list-group-flush*/
.it-list-group-flush_condensed .list-group-item {
    background-color: transparent;
    padding-right: 0;
    padding-left: 0;
}

    .it-list-group-flush_condensed .list-group-item:first-child {
        padding-top: 0;
    }

    .it-list-group-flush_condensed .list-group-item:last-child {
        padding-bottom: 0;
    }
    
/*list-inline-dotted*/
.it-list-inline-dotted .list-inline-item:not(:last-child) {
    margin-right: .625rem
}

    .it-list-inline-dotted .list-inline-item:not(:last-child):after {
        content: "•";
        text-align: center;
        display: inline-block;
        margin-left: .825rem;
        opacity: .25
    }

.it-list-inline-dotted_condensed .list-inline-item:not(:last-child) {
    margin-right: .41667rem
}

    .it-list-inline-dotted_condensed .list-inline-item:not(:last-child):after {
        margin-left: .54167rem
    }

/*view*/
.it-view__title {
    font-size: 1.5rem;
}

/*table*/
.table {
    background-color: #FFF;
}

.it-table__caption {
    caption-side: top;
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    color: inherit;
}

.table-bordered > .it-table__caption {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    border: 1px solid #dee2e6;
    border-bottom: none;
}

.table .it-table__header-cell {
    border-bottom: 2px solid #dee2e6;
    border-top: none;
    vertical-align: bottom;
    font-weight: 500;
}

.it-table__header-link {
    display: block;
    text-decoration: none;
}

.it-table__link {
    padding: .5rem .6rem !important;
}

.table .it-table__header-cell,
.table .it-table__header-link {
    color: inherit !important;
}

.table-lighted {
    background-color: #f3faff;
}

.table-hover .table-lighted:hover {
    background-color: #e3f2fd;
}

.table > tbody > tr:nth-of-type(odd).it-table__row_checked {
    background-color: #eef7ee !important;
}

.table > tbody > tr:nth-of-type(even).it-table__row_checked {
    background-color: #fcf8df !important;
}

.table .it-table__action-cell {
    white-space: nowrap;
    width: 1%;
    padding: .9rem .1rem .8rem .1rem;
}

.table .it-table__action-cell_empty {
    width: 0;
    padding: 0;
}

.table .it-table__sorting {
    padding-right: 1.75rem;
}

.table .it-table__sorting {
    cursor: pointer;
    position: relative;
}

    .table .it-table__sorting:before,
    .table .it-table__sorting:after {
        position: absolute;
        bottom: 0.9em;
        display: block;
        opacity: 0.3;
        content: "" !important;
        right: .46875rem !important;
        width: 0;
        height: 0;
        color: inherit;
        border-right: .3125rem solid transparent;
        border-left: .3125rem solid transparent;
        top: 50% !important;
        bottom: auto !important;
    }

.table .it-table__sorting_asc:before,
.table .it-table__sorting_desc:after {
    opacity: 1;
}

.table .it-table__sorting::before {
    border-bottom: .3125rem solid currentColor;
    border-top: none;
    margin-top: -.3125rem;
}

.table .it-table__sorting::after {
    border-top: .3125rem solid currentColor;
    border-bottom: none;
    margin-top: .125rem;
}

.it-table__postinfo {
    bottom: 0;
    z-index: 4;
}

.table-responsive + #floating-scrollbar:not(:last-child) {
    margin-bottom: 4.8rem; /*por position-sticky*/
}

/*timeline*/
.it-timeline-item__date {
    width: 110px;
    min-width: 110px;
    text-align: right;
    position: relative;
    padding-top: 30px !important;
}

.it-timeline-item__img {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    background: #f8f9fa;
}

.it-timeline-item__content {
    border-left: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
}

.it-timeline-item:first-child .it-timeline-item__content {
    border-top: none;
}

/* social-feeds */
.it-social-feeds_thread_tree .it-social-feed_nivel_1 > .it-social-feed__box,
.it-social-feeds_thread_tree .it-social-feed_nivel_2 {
    margin-bottom: 1.5rem !important;
}

.it-social-feeds_thread_comments .it-social-feeds_thread_comments {
    margin-left: 3%;
}

@media (max-width:767px) {
    .it-social-feeds_thread_comments .it-social-feeds_thread_comments {
        margin-left: 0.25rem;
    }
}

/*collapse*/
.it-collapse.collapsed > .it-collapse__icon {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.it-collapse > .it-collapse__icon {
    -webkit-transition: all 150ms ease-in 0s;
    transition: all 150ms ease-in 0s;
}

.it-collapse_warning.collapsed > .it-collapse__icon {
    background-color: #ffc94d;
}

/*test*/
.it-test__supervision-holder {
    position: fixed;
    top: 0;
    right: 0;
}

.it-test__countdown-holder {
    position: fixed;
    top: 0;
    right: 50%;
}

.it-test__countdown-display {
    padding: 0.25rem 0.5rem;
    text-align: center;
    width: 150px;
    cursor: move;
    z-index: 1000;
}

.it-test-question__legend {
    font-size: 1rem;
    width: auto;
    padding: 0 0.5rem;
    margin-bottom: 0;
}

.it-test-question__num {
    min-width: 3.1rem;
}

.it-test-question__respuesta-texto {
    white-space: pre-wrap;
    word-break: break-word;
    word-wrap: break-word;
}

.it-test-question__rellenar-huecos {
    line-height: 3
}

.it-test-question__table-sobre-imagen {
    border: 0;
    text-align: center;
    margin: 0 auto;
}

.it-test-question__ordenar {
    cursor: move;
}

.it-test-question__ordenar.ui-sortable-disabled > .it-test-question__ordenar-item {
    cursor: no-drop;
}

.it-test-question__parejas-drag {
    cursor: move;
}

.it-test-question__arrastrar-drop {
    width: 17px;
    height: 17px;
    border: solid 2px #000;
    background-color: #FFF;
    overflow: visible;
}

.it-test-question__arrastrar-drag {
    float: left;
    padding: 1px;
    padding-left: 1.0rem;
    cursor: move;
    white-space: nowrap;
}

.it-test-question__arrastrar-drop-init .it-test-question__arrastrar-drag {
    margin: 0 0.25rem 0.25rem 0;
}

.it-test-question__arrastrar-drag-cursor {
    position: absolute;
    margin-left: -1.0rem;
}

@media print {
    .it-test-question {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

.it-star-rating__stars > .stars {
    display: inline-block;
}

/*temario*/
.it-temario__box_modo_mosaico .it-temario__item_root {
    display: inline-block;
    margin-right: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.it-temario__item_ml {
    margin-left: 20px;
}

.it-temario__item-name_nivel_1 {
    font-weight: 500;
}

.it-temario-card {
    width: 252px;
    min-height: 14rem;
}

.it-temario-card__img-top_icon {
    display: block;
    margin: 28px auto;
}

.it-temario-card__img-top_cover {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

@media (max-width:582px) {
    .it-temario__box_modo_mosaico .it-temario__item_root {
        display: block;
        margin-right: 0.5rem !important;
        margin-left: 0.5rem !important;
    }

    .it-temario-card {
        width: 100%;
        min-height: 0;
    }
}

/*it-scrollspy*/
.it-scrollspy__nav-link {
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.1rem;
    padding: 0 5px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.it-scrollspy__nav-item .active {
    font-weight: 600;
}

/*calendar*/
.it-calendar__day {
    height: 3rem;
}

.it-calendar__event-item_not-end::after {
    float: right;
    content: "»";
}

/*avatar*/
.it-avatar_size_xs {
    max-width: 32px;
}

.it-avatar_size_sm {
    max-width: 64px;
}

.it-avatar_size_lg {
    max-width: 128px;
}

/*scrollauto*/
.it-pre-scrollauto {
    max-height: 150px;
    overflow-y: auto;
}

.it-text-scrollauto {
    max-height: 400px;
    overflow-y: auto;
}

@media print {
    .it-text-scrollauto {
        max-height: none;
        overflow-y: visible;
    }
}

/*product*/
.it-product__img_list {
    object-fit: cover;
}

@media (min-width:768px) {
    .it-product__img_list_view {
        max-height: 220px;
    }
    .it-product__img_list_card {
        max-height: 203px;
    }
}
@media (min-width:992px) {
    .it-product__img_list_view {
        max-height: 193px;
    }
    .it-product__img_list_card {
        max-height: 178px;
    }
}
@media (min-width:1200px) {
    .it-product__img_list_view {
        max-height: 170px;
    }
}

/*category*/
.it-category__item_view {
    object-fit: cover;
}

@media (min-width:768px) {
    .it-category__item_view {
        max-height: 220px;
    }
}

.it-category__item_view .it-category__link:focus .it-category__title {
    border-top: 2px solid #FFF;
}

/*map-container*/
.it-map-container {
    height: 200px;
    position: relative;
}

    .it-map-container iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }


/*banner*/
.it-banner__btn.btn.btn-lg {
    padding: 1.0rem 7rem;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
    border-radius: 0.3rem;
}

    .it-banner__btn.btn-lg.btn-rounded {
        border-radius: 10rem;
    }

.it-banner-mosaico__inner {
    min-height: 280px;
}

/*tag*/
.it-tag {
    transition: box-shadow 0.55s;
    box-shadow: 0;
    padding: 1px 10px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 10px;
    background-color: #eee;
    color: #212121;
    display: inline-block;
    margin: 2px 5px;
}

    a.it-tag:hover {
        color: #212121;
        transition: box-shadow 0.45s;
        box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

/* retoques print */
@media print {
    .it-page__maincontent {
        min-height: initial !important;
    }

    .it-table__cellcheck,
    .it-table__action-col,
    .it-table__action-cell,
    .table .it-table__sorting:before,
    .table .it-table__sorting:after {
        display: none;
    }

    .table .it-table__header-link {
        text-decoration: none !important;
    }

    /*bug boostrap*/
    .custom-control-input:checked + label::after {
        visibility: hidden;
    }

    .custom-control-input:checked + label::before {
        border-width: 4px;
    }

    .collapse:not(.show) {
        display: block;
    }
}
