/* flat-menu with sign-in */
/*
#header nav.mega-menu ul.nav-main .mega-menu-signin .dropdown-menu {
	right: -2px;
	border-radius: 0px 0 6px 6px;
}

body #header.flat-menu nav ul.nav-main li.mega-menu-signin > a:hover .mega-menu-content a,
body #header.flat-menu nav ul.nav-main li.mega-menu-signin.dropdown:hover .mega-menu-content a {
	background: transparent !important;
	color: #333 !important;
}

#header nav.mega-menu ul.nav-main .mega-menu-signin:hover a.dropdown-toggle {
    margin-bottom: -1px;
    padding-bottom: 11px;
}

#header nav.mega-menu ul.nav-main .mega-menu-signin.logged .user-avatar strong,
#header nav.mega-menu ul.nav-main .mega-menu-signin.logged .user-avatar strong {
	white-space: nowrap;
}
*/

/*
body #header.flat-menu nav ul.nav-main li.dropdown.open a,
body #header.flat-menu nav ul.nav-main li.dropdown.open a.dropdown-toggle {
    border-radius: 0 !important;
}

body #header nav.mega-menu ul.nav-main .mega-menu-signin.open a.dropdown-toggle {
	padding-bottom: 24px !important;
}

body #header.flat-menu nav.mega-menu .mega-menu-signin ul.dropdown-menu li a,
body #header.flat-menu nav.mega-menu .mega-menu-signin ul.dropdown-menu:hover li:hover li:hover a {
	background-color: transparent !important;
	color: var(--z-primary);
}

body #header.flat-menu nav ul.nav-main li.dropdown.signin:hover > a.dropdown-toggle.extra {
		margin: 3px 0 -38px 0 !important;
}


#header nav.mega-menu ul.nav-main .mega-menu-signin .dropdown-menu {
	//width: 60%;
}
*/

/* end flat-menu */

/* logo header */
/*
.btn-responsive-nav {
	top: 35px;
}
*/
/* end logo header*/

/* FULL SIZE HEIGHT */

body {
    height: 100%;
    min-height: 100%;
    position: relative;
}


/* footer logo*/

img#logo-footer {
    filter: grayscale(1);
    transition-property: filter;
    transition-duration: 1s;
}

/* end footer logo*/

/* datatable hover bg darker than original #f5f5f5*/
.table-hover > tbody > tr:hover {
    background-color: #e5e5e5;
}

/* datatable hover bg end */

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}


.min-w-110 {
    min-width: 110px;
}


.image-centered {
    margin: auto;
}

.partner-table {
    display: table;
    height: 100%;
}

.partner {
    display: table-cell;
    vertical-align: middle;
    float: none;
}

.full-width {
    width: 100%;
}

.display-none {
    display: none;
}

.f-s-1-5-em {
    font-size: 1.5em;
}

.f-s-2-em {
    font-size: 2em;
}

.no-margin-top {
    margin: 0px !important;
}

p {
    color: inherit;
    /*!important;*/
}

.clear {
    clear: both;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* DATATABLES */
.sorting,
.sorting_asc,
.sorting_desc {
    color: var(--z-primary) !important;
}

/*****************/
.border-right {
    border-right: 1px solid;
    border-color: #ddd;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.dataTables_length > label {

    font-weight: normal !important;
}

.select2-chosen {
    font-size: 14px;
    color: #555 !important;
    line-height: 1.42857;
    font-weight: 400px !important;
}

.text-justify {
    text-align: justify !important;
}

.lh-10 {
    padding-top: 4px !important;
    padding-bottom: 5px !important;
    line-height: 15px !important;
}

.lh-10:focus {
    background-color: inherit !important;
}

.menu-buzon-sugerencias > a {
    color: #fff !important;
    background-color: var(--z-primary) !important;
}

.menu-buzon-sugerencias .fa-paper-plane {
    margin-right: 5px;
}

@media (max-width: 767px) {

    .header-rutinas {
        display: none !important;
    }

    .b-hidden-xs {

        border: 0 !important;
    }

}

@media (max-width: 768px) {
    .pl-hidden-xs {
        padding-left: 0px !important;
    }

    .pr-hidden-xs {
        padding-right: 0px !important;
    }

    .pt-xs-menu-rutinas {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .pr-15-xs {
        padding-right: 15px !important;
    }

    .menu-buzon-sugerencias {
        margin-left: 0px;
    }

    .mt-lg-xs {
        margin-top: 30px !important;
    }

    .col-xs-hidden {
        display: none;
    }

    .col-xs-show {
        display: block;
    }

    .col-xs-obs-small {
        max-height: 200px;
        overflow-y: auto;
    }

    .header-rutinas {
        display: none !important;
    }

    .menu-principal-rutinas-right {
        border-top: 1px solid black;
        background-color: #352049;
        text-align: center;
        margin-top: -15px;
    }

    .menu-principal-rutinas-left {
        background-color: #352049;
        border-right: 0px;
        text-align: center;
        padding-right: 0px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .b-hidden-sm {
        border: 0 !important;
    }

    .pl-hidden-sm {
        padding-left: 0px !important;
    }

    .pr-hidden-xs {
        padding-right: 0px !important;
    }

    .pl-hidden-sm {
        padding-left: 0px !important;
    }

    .pr-15-sm {
        padding-right: 15px !important;
    }

    .mt-lg-sm {
        margin-top: 30px !important;
    }

    .menu-buzon-sugerencias {
        margin-left: 0px;
    }

    .img-rutinas {
        max-height: 170px !important;
    }

    .col-sm-hidden {
        display: none;
    }

    .col-sm-show {
        display: block;
    }

    .col-sm-obs-small {
        max-height: 200px;
        overflow-y: auto;
    }

    .header-rutinas {
        display: none !important;
    }

    .menu-principal-rutinas-right {
        border-top: 1px solid black;
        background-color: #352049;
        text-align: center;
        margin-top: -15px;
    }

    .menu-principal-rutinas-left {
        background-color: #352049;
        border-right: 0px;
        text-align: center;
        padding-right: 0px;
    }

    .pt-xs-menu-rutinas {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

}

@media (min-width:991px) {

    #header {
        display: block !important;
    }

    .menu-buzon-sugerencias {
        margin-left: 30px !important;
    }

    .col-md-hide {
        display: none;
    }

    .img-rutinas {
        max-height: 168px !important;
    }

    .menu-principal-rutinas-right {
        border-top: 0px;
        background-color: #352049;
        min-height: 162px;
    }

    .menu-principal-rutinas-left {
        background-color: #352049;
        border-right: 1px solid #2a193c;
        min-height: 162px;
        text-align: right !important;
    }

    .img-menu-principal-rutinas-right {
        padding-right: 90px;
    }

    .title-menu-principal-rutinas-right {
        padding-right: 83px;
    }

    .img-menu-principal-rutinas-left {
        padding-left: 90px;
    }

    .title-menu-principal-rutinas-left {
        padding-left: 83px;
    }
}

@media (min-width:1200px) {
    .img-rutinas {
        max-height: 200px !important;
    }
}

.main-login-rutinas {
    background-color: #352049;
    background: -moz-repeating-linear-gradient(135deg, #342048, #342048 5px, #352049 0px, #37224b 9px);
    background: -webkit-repeating-linear-gradient(135deg, #342048, #342048 5px, #352049 0px, #37224b 9x);
    min-height: 805px;
    max-height: 100%;
}

#li-predefinidas.active p,
#li-personalizadas.active p {
    color: #ff9800;
    font-weight: bold;
    font-size: 14px;
}

#li-predefinidas.active a,
#li-personalizadas.active a {
    border-color: #7f3fcf;
}

#li-predefinidas.active img:after {
    content: url(../img/rutinas-predefinidas-activo.png);
    width: 74px;
    height: 77px;
}

#li-predefinidas img:after {
    content: url(../img/rutinas-predefinidas-desactivo.png);
    width: 74px;
    height: 77px;
}

#li-personalizadas.active img:after {
    content: url(../img/rutinas-personalizadas-activo.png);
    width: 74px;
    height: 77px;
}

#li-personalizadas img:after {
    content: url(../img/rutinas-personalizadas-desactivo.png);
    width: 74px;
    height: 77px;
}

#li-predefinidas p,
#li-personalizadas p {
    color: #8e9093;
    font-weight: bold;
    font-size: 14px;
}

/* #li-predefinidas a, #li-personalizadas a {
    border-color: #eee;
} */

#li-predefinidas a:hover,
#li-personalizadas a:hover {
    border-color: #7f3fcf;
}

.tab-pane-rutinas p {
    color: #f0a21d;
}

#li-personalizadas,
#li-predefinidas {
    margin-bottom: 0px !important;
    position: relative;
}

.page-header-rutinas {
    background-color: #352049;
    border-bottom: 5px solid #b0a8b8;
    border-top: 5px solid #130a1f;
}

.page-header-rutinas a {
    color: white;
}

.page-header-rutinas h1 {
    color: #f0a21d;
    border-color: #f0a21d !important;
}

.full-width-rutinas {
    margin-top: -35px;
}

.titulo-rutina {
    font-size: 32pt;
    color: #7f3fcf;
    font-weight: 100;
}

#li-observation-pre a {
    color: #ff9800;
    font-weight: bold;
    font-size: 14px;
    background-color: #ede7f5;
}

#li-observation-post a {
    color: #ff9800;
    font-weight: bold;
    font-size: 14px;
    background-color: #ede7f5;
    border-top-color: #ede7f5;
}

#li-observation-pre.active a {
    border-top-color: #7f3fcf;
    background-color: #7f3fcf;
}

#li-observation-pre a:hover {
    border-top-color: #7f3fcf;
}

#li-observation-post.active a {
    border-top-color: #7f3fcf;
    background-color: #7f3fcf;
}

#li-observation-post a:hover {
    border-top-color: #7f3fcf;
}

.owl-carousel-rutinas .active > span {
    background-color: #f0a21d !important;
}

.owl-carousel-rutinas .owl-dot:hover span {
    background-color: #f0a21d !important;
}

#li-descripcion-ficha.active a {
    border-top-color: #7f3fcf;
    background-color: #7f3fcf;
}

#li-descripcion-ficha a:hover {
    border-top-color: #7f3fcf;
}

#li-descripcion-ficha a {
    color: #ff9800;
    font-weight: bold;
    font-size: 14px;
    background-color: #ede7f5;
    border-top-color: #ede7f5;
}

#li-observacion-ficha.active a {
    border-top-color: #7f3fcf;
    background-color: #7f3fcf;
}

#li-observacion-ficha a:hover {
    border-top-color: #7f3fcf;
}

#li-observacion-ficha a {
    color: #ff9800;
    font-weight: bold;
    font-size: 14px;
    background-color: #ede7f5;
    border-top-color: #ede7f5;
}

.menu-familia {
    cursor: pointer;
    border: 1px solid #473459;
    height: 215px;
    border-radius: 10px;
    width: 100%;
}

.menu-subfamilia .contenido {
    cursor: pointer;
    border: 1px solid #473459;
    height: 215px;
    border-radius: 10px;
    width: 100%;
}

.menu-dia li.active a {
    border-top-color: #7f3fcf !important;
    background-color: #7f3fcf !important;
}

.menu-dia li a:hover {
    border-top-color: #7f3fcf !important;
}

.menu-dia li a {
    color: #ff9800;
    font-weight: bold;
    font-size: 14px;
    background-color: #ede7f5;
    border-top-color: #ede7f5;
}

.footer-rutinas {
    padding: 0px !important;
    border-top: 0px !important;
    background: rgba(0, 0, 0, 0) -moz-repeating-linear-gradient(135deg, #342048, #342048 5px, #352049 0px, #37224b 9px) repeat scroll 0 0 !important;
    margin-top: 0px !important;
}

.footer-rutinas .footer-copyright {
    margin-top: 0px !important;
}

#ejercicios-rutina .accordion-toggle {
    color: #ff9800 !important;
}

#ejercicios-rutina .accordion-toggle[aria-expanded="true"] {
    border-top-color: #7f3fcf !important;
    background-color: #7f3fcf !important;
}

/*  STICKY */
.sticky {
    width: auto !important;
}

/*** NEW CUSTOM ***/
* {
    accent-color: var(--z-primary) !important;
}

/*** DEFINES THE LINE COLOR ABOVE THE TOP HEADER ***/
html .border-color-primary-dark {
    border-color: var(--z-primary-darkest) !important;
}

/*** FIX THE LOGO SIZE ***/
.logo {
    max-height: 70px;
    max-width: 190px;
}

/*** FIX MARGIN ON HEADER (USED BY ITEM BELOW) ***/
#header .header-nav.header-nav-links nav > ul > li > a,
#header .header-nav.header-nav-links nav > ul > li:hover > a,
#header .header-nav.header-nav-line nav > ul > li > a,
#header .header-nav.header-nav-line nav > ul > li:hover > a {
    margin-top: 0px;
}

/*** TOP HEADER HIGHLIGHT INTERACTABLE ITEMS ***/
#header .header-nav-top .nav > li > a:hover,
#header .header-nav-top .nav > li > a a:focus {
    background-color: var(--z-primary-disabled) !important;
    border-radius: 4px;
}

/*** HEADER HIGHLIGHT INTERACTABLE ITEMS ***/
#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li:hover a,
#header .header-nav.header-nav-links nav > ul li:hover > a {
    margin-top: 0px;
    background-color: var(--z-primary) !important;
    color: white;
}

/*** STAND OUT FOR MAILBOX SUGGESTIONS ON HEADER ***/
.stand-out {
    background-color: var(--z-primary);
}

/*** HIDE ELEMENTS ON LARGE SCREEN ***/
@media (min-width: 992px) and (max-width: 1199px) {
    .hide-lg {
        display: none;
    }
}

/*** SHRINKS FOOTER NAV LIST ***/
#footer ul.nav-list > li a {
    line-height: 1px !important;
}

/*** COURSE VIEW ***/
.buttontext {
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: ellipsis;
    max-height: 35.5px;
    min-height: 35.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8em !important;
}

/*** ***/

.vh-75 {
    height: 75vh !important;
}

.vh-50 {
    height: 50vh !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.clickable {
    cursor: pointer;
}

.h-min-200px {
    min-height: 200px !important;
}

.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.z-gradient {
    background-image: var(--z-gradient) !important;
}

.z-frame-color {
    background-color: var(--z-primary);
}

.h-fixed-50 {
    height: 50px;
}

.h-custom {
    min-height: 252px;
}

.h-3vh {
    height: 3vh;
}

.h-4vh {
    height: 4vh;
}

.h-5vh {
    height: 5vh;
}

.line-height-1 {
    line-height: 1 !important;
}

.error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Captcha */
.captcha {
    clear: both;
    overflow: hidden;
    background: #F2F2F2;
    text-align: center;
    margin-bottom: 20px;
    max-width: 160px;
    height: 78px;
    position: relative;
}

.captcha input {
    border: 0;
}

.captcha-input {
    position: relative;
    top: 15px;
    font-size: 14px;
}

.captcha-image {
    float: left;
    position: relative;
    top: -5px;
    left: -13px;
}

.captcha-refresh {
    position: absolute;
    z-index: 1;
    bottom: 2px;
    right: 2px;
    border-radius: 3px;
    padding: 2px 5px;
}

.captcha-refresh a,
.captcha-refresh a:hover,
.captcha-refresh a:focus,
.captcha-refresh a:active {
    color: #333;
}

.table {
    color: #777777;
}

.menu-principal-rutinas {
    border-top: 0px;
    background-color: #352049;
    min-height: 162px;
}

.text-routines-primary {
    color: #352049 !important;
}

.text-routines-secondary {
    color: #f0a21d !important;
}

.bg-routines-primary {
    background-color: #352049 !important;
}

.bg-routines-primary-light {
    background-color: #473459 !important;
}

.bg-routines-secondary {
    background-color: #f0a21d !important;
}

.mh-800 {
    min-height: 900px;
}

/* SCROLLBAR CUSTOM STYLE */
#style-6::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

#style-6::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

#style-6::-webkit-scrollbar-thumb {
    background-color: #f0a21d;
    background-image: -webkit-linear-gradient(45deg,
            rgba(255, 255, 255, .2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, .2) 50%,
            rgba(255, 255, 255, .2) 75%,
            transparent 75%,
            transparent)
}

/* */

.table > :not(caption) > * > * {
    border-bottom-width: 1px;
    border-top-width: 1px;
}

hr.gradient-white {
    background: none;
    background-image: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.66), transparent);
}

/* */

.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
    color: #fff;
    background-color: var(--z-primary-darker) !important;
    border-color: var(--z-primary-darkest) !important;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: var(--z-primary-light) !important;
    color: #fff;
}

.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
    border-color: var(--z-primary-light) !important;
}

.form-check-input:checked {
    background-color: var(--z-primary-disabled) !important;
    border-color: var(--z-primary-disabled) !important;
}

.bg-primary {
    background-color: var(--z-primary) !important;
}

.bg-primary-lightest {
    background-color: var(--z-primary-disabled) !important;
}

.bg-primary-darkest {
    background-color: var(--z-primary-darkest) !important;
}

.bg-secondary {
    background-color: var(--z-secondary) !important;
}

.bg-secondary-lightest {
    background-color: var(--z-secondary-disabled) !important;
}

.bg-secondary-darkest {
    background-color: var(--z-secondary-darkest) !important;
}

.bottom-ribbon {
    color: white;
    width: 100%;
    padding: 1px;
    font-weight: 500;
    vertical-align: middle;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    background-image: none !important;
}

.sap {
    background: url(../img/gen_sap_logo.png);
    height: 16px;
    width: 32px;
    display: inline-block;
    vertical-align: middle;
}

.img-rs {
    display: block;
    max-height:90px!important;
    width: auto!important;
    height: auto!important;
    border-radius: 5px;
  }


  /* Cookie banner */
.cookie-consent-banner { position: fixed; bottom: 0; left: 0; z-index: 2; box-sizing: border-box; width: 100%; display: none;background-color:rgb(230, 230, 230);  }
.cookie-consent-banner__inner { max-width: 960px; margin: 0 auto; padding: 32px 0; }
.cookie-consent-banner__copy { margin-bottom: 16px; }
.cookie-consent-banner__actions { }
.cookie-consent-banner__header { margin-bottom: 8px; font-family: sans-serif, arial; font-weight: normal; font-size: 16px; line-height: 24px; }
.cookie-consent-banner__description { font-family: sans-serif, arial; font-weight: normal; color: #838F93; font-size: 16px; line-height: 24px; }