body {
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

#page_title {
    text-align: Center;
    font-size: 53px;
    padding-bottom: 40px;
    text-decoration: none;
    position: relative;
}

#page_title:after {
    position: absolute;
    content: '';
    height: 1px;
    bottom: 4px;
    /* center*/
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 15%;
    background: #333;
}

.main_title_white {
    text-align: Center;
    font-size: 53px;
    padding-bottom: 40px;
    text-decoration: none;
    position: relative;
    color: #fff;
}

.main_title_white:after {
    position: absolute;
    content: '';
    height: 1px;
    bottom: 4px;
    /* center*/
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 15%;
    background: #fff;
}

input:invalid {}

input:invalid:focus {
    border: 2px dashed red;
}

#paragraphs_block {
    line-height: 1.7em;
}

h1,
h2,
h3,
h4 {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 300;
    text-align: center;
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 2.1em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.5em;
}

.initial,
.initial:hover {
    text-decoration: none;
    color: initial;
}

.ajax_call {
    cursor: pointer;
}

.ctrlClick {
    cursor: context-menu;
}

.contenteditable {
    border: dotted .5px #bbb;
}

.img_bg_responsive {}

.paragraph_file {
    padding: 0px;
    border-radius: 5px;
    border: 1px #aaa solid;
    background: #eef;
    margin: 3px;
    box-shadow: -2px 2px 2px 1px #999;
    overflow: hidden;
    text-align: center;
}

.editable {
    border: dotted 1px #bbb;
}

/* bootstrap changes */

.margin-fix {
    margin-left: 14px;
}

/* me lo he inventado yo por el error en el margen de páginas de publi */
.nav li {
    text-transform: uppercase;
    font-size: 80%;
    font-weight: bold;
}

.nav .dropdown-menu li {
    text-transform: none;
    font-size: 90%;
}

.table-striped>tbody>tr:hover>td {
    background-color: #efefef;
}

.jumbotron {}

.jum_black {
    color: #fff;
    background: #333;
}

.jum_black h1,
.jum_black h2 {
    text-shadow: 4px 3px 0px #777, 9px 8px 0px rgba(0, 0, 0, 0.15);
}

.jum_grey {
    color: #fff;
    background: #777;
}

.jum_grey h1,
.jum_grey h2 {
    text-shadow: 4px 3px 0px #777, 9px 8px 0px rgba(0, 0, 0, 0.15);
}

.separator-arrow {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid #333;
    margin: auto;
}

.progress {
    background: #ccc;
}

.footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    font-size: small;
    margin-top: 50px;
}

.footer h2 {
    text-align: left;
    text-transform: uppercase;
    color: #EB5112;
    margin: 20px 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.footer_a_white a {
    color: #fff;
}



/* Topcis */
.topic_form {
    -moz-border-radius: 8px;
    background: #eee;
    border: solid 3px #888;
    margin: 0 0 5px 0;
    color: #333;
}

.topic_header_read {
    background: #f9f9f9;
}

.topic_header_notread {
    background: #f9f9f9;
    border-top: dotted #1d9c73 3px;
}

.topic_icon_notread {
    color: #1d9c73;
    font-weight: bolder;
}

.topic_body {
    line-height: 26px;
    padding: 10px;
}

.topic_body a {
    color: #666;
}

.topic_body a:hover {
    color: #333;
}

.topic_body pre {
    border: 1px solid #666;
    padding: 20px 6px 6px 6px;
    margin: 10px;
    background: top left no-repeat url(icons/comillas-left-18.png);
    border-radius: 4px;
    width: 600px;
    overflow-x: scroll;
}

.topic_body textarea {
    line-height: 26px;
}

.ttext {
    line-height: 23px;
    text-align: left;
}

.tfield_l {
    float: left;
    width: 120px;
    font-weight: bolder;
    clear: both;
}

.tfield_r {
    margin-left: 125px;
}

.n_disp {
    visibility: hidden;
}

.disp_n_disp:hover span {
    visibility: visible;
}

.file-cell-legend {
    background: #fff;
    font-weight: bold;
    opacity: .8;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 45px;
    right: 0px;
}

/* paragrpahs files grid */
.grid {}

.grid a,
grid a:hover {
    color: #333;
    text-transform: none;
}

.grid-item {
    overflow: hidden;
}

@media (min-width: 1200px) {
    .grid-item--width-small {
        width: 265px;
        height: 330px
    }

    .grid-item--width-small-landscape {
        width: 265px;
        height: 155px
    }

    .grid-item--width-small-double {
        width: 550px;
        height: 680px
    }

    .grid-item--width-small-double-landscape {
        width: 550px;
        height: 330px
    }

    .grid-item--width-small-100 {
        width: 100%;
    }

    .grid-item--width-small-100-landscape {
        width: 100%;
    }

    .grid-item--width-small-33 {
        width: 360px;
        height: 450px;
    }

    .grid-item--width-small-33-landscape {
        width: 360px;
        height: 215px;
    }

    .grid-item--width-medium {
        width: 360px;
        height: 450px;
    }

    .grid-item--width-medium-landscape {
        width: 360px;
        height: 215px;
    }

    .grid-item--width-medium-double {
        width: 726px;
        height: 920px;
    }

    .grid-item--width-medium-50 {
        width: 542px;
        height: 677px;
    }

    .grid-item--width-medium-50-landscape {
        width: 542px;
        height: 328px;
    }

    .grid-item--width-medium-100 {
        width: 1110px;
    }

    .grid-item--width-medium-100-landscape {
        width: 1110px;
    }

    .grid-item--width-medium-double-landscape {
        width: 730px;
        height: 450px
    }

    .grid-item--width-medium {
        width: 32%
    }

    .grid-item--width-medium-landscape {
        width: 32%
    }

    .grid-item--width-medium-access {
        width: 360px;
        height: 450px;
    }

    .grid-item--width-medium-access-landscape {
        width: 360px;
        height: 215px;
    }

    .grid-item--width-medium-access-mobile {
        width: 32%
    }

    .grid-item--width-medium-access-landscape-mobile {
        width: 32%
    }

    .grid-item--width-large {
        width: 63%
    }

    .grid-item--sueltos {
        width: 18%
    }

    .file-cell-scheduled-medium-access {
        bottom: 105px;
        top: 105px;
        padding: 80px 0;
    }

    .file-cell-scheduled-medium-access-landscape {
        bottom: 50px;
        top: 50px;
        padding: 30px 0;
    }

    .file-cell-scheduled-medium-access-mobile {
        bottom: 105px;
        top: 105px;
        padding: 80px 0;
    }

    .file-cell-scheduled-medium-access-landscape-mobile {
        bottom: 50px;
        top: 50px;
        padding: 30px 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .grid-item--width-small {
        width: 220px;
        height: 276px
    }

    .grid-item--width-small-landscape {
        width: 220px;
        height: 128px
    }

    .grid-item--width-small-double {
        width: 460px;
        height: 572px
    }

    .grid-item--width-small-double-landscape {
        width: 460px;
        height: 276px
    }

    .grid-item--width-small-100 {
        width: 100%;
    }

    .grid-item--width-small-100-landscape {
        width: 100%;
    }

    .grid-item--width-small-33 {
        width: 300px;
        height: 376px
    }

    .grid-item--width-small-33-landscape {
        width: 300px;
        height: 188px
    }

    .grid-item--width-medium-landscape {
        width: 31%
    }

    .grid-item--width-medium-double {
        width: 31%
    }

    .grid-item--width-medium-50 {
        width: 31%
    }

    .grid-item--width-medium-50-landscape {
        width: 31%
    }

    .grid-item--width-medium-100 {
        width: 31%
    }

    .grid-item--width-medium-100-landscape {
        width: 31%
    }

    .grid-item--width-medium-double-landscape {
        width: 31%
    }

    .grid-item--width-medium {
        width: 31%
    }

    .grid-item--width-medium-access {
        width: 31%
    }

    .grid-item--width-medium-access-landscape {
        width: 31%
    }

    .grid-item--width-medium-access-mobile {
        width: 31%
    }

    .grid-item--width-medium-access-landscape-mobile {
        width: 31%
    }

    .grid-item--width-large {
        width: 63%
    }

    .grid-item--sueltos {
        width: 23%
    }

    .file-cell-scheduled-medium-access {
        bottom: 75px;
        top: 75px;
        padding: 70px 0;
    }

    .file-cell-scheduled-medium-access-landscape {
        bottom: 38px;
        top: 38px;
        padding: 20px 0;
    }

    .file-cell-scheduled-medium-access-mobile {
        bottom: 75px;
        top: 75px;
        padding: 70px 0;
    }

    .file-cell-scheduled-medium-access-landscape-mobile {
        bottom: 38px;
        top: 38px;
        padding: 20px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .grid-item--width-small {
        width: 165px;
        height: 206px
    }

    .grid-item--width-small-landscape {
        width: 165px;
        height: 93px
    }

    .grid-item--width-small-double {
        width: 350px;
        height: 432px
    }

    .grid-item--width-small-double-landscape {
        width: 350px;
        height: 206px
    }

    .grid-item--width-small-100 {
        width: 100%;
    }

    .grid-item--width-small-100-landscape {
        width: 100%;
    }

    .grid-item--width-small-33 {
        width: 226px;
        height: 282px
    }

    .grid-item--width-small-33-landscape {
        width: 300px;
        height: 131px
    }

    .grid-item--width-medium-landscape {
        width: 31%
    }

    .grid-item--width-medium-double {
        width: 31%
    }

    .grid-item--width-medium-50 {
        width: 31%
    }

    .grid-item--width-medium-50-landscape {
        width: 31%
    }

    .grid-item--width-medium-100 {
        width: 31%
    }

    .grid-item--width-medium-100-landscape {
        width: 31%
    }

    .grid-item--width-medium-double-landscape {
        width: 31%
    }

    .grid-item--width-medium {
        width: 31%
    }

    .grid-item--width-medium-access {
        width: 31%
    }

    .grid-item--width-medium-access-landscape {
        width: 31%
    }

    .grid-item--width-medium-access-mobile {
        width: 31%
    }

    .grid-item--width-medium-access-landscape-mobile {
        width: 31%
    }

    .grid-item--width-large {
        width: 63%
    }

    .grid-item--sueltos {
        width: 31%
    }

    .file-cell-scheduled-medium-access {
        bottom: 55px;
        top: 55px;
        padding: 80px 0;
        font-size: 60%;
    }

    .file-cell-scheduled-medium-access-landscape {
        bottom: 26px;
        top: 26px;
        padding: 15px 0;
        font-size: 60%;
    }

    .file-cell-scheduled-medium-access-mobile {
        bottom: 75px;
        top: 25px;
        padding: 80px 0;
        font-size: 60%;
    }

    .file-cell-scheduled-medium-access-landscape-mobile {
        bottom: 75px;
        top: 15px;
        padding: 15px 0;
        font-size: 60%;
    }
}

@media (max-width: 767px) {
    .grid-item--width-small {
        width: 45%
    }

    .grid-item--width-small-landscape {
        width: 45%
    }

    .grid-item--width-small-double {
        width: 99%;
    }

    .grid-item--width-small-double-landscape {
        width: 99%;
    }

    .grid-item--width-small-100 {
        width: 96%
    }

    .grid-item--width-small-100-landscape {
        width: 99%
    }

    .grid-item--width-small-33 {
        width: 47%
    }

    .grid-item--width-small-33-landscape {
        width: 47%
    }

    .grid-item--width-medium-landscape {
        width: 47%
    }

    .grid-item--width-medium-double {
        width: 47%
    }

    .grid-item--width-medium-50 {
        width: 47%
    }

    .grid-item--width-medium-50-landscape {
        width: 47%
    }

    .grid-item--width-medium-100 {
        width: 47%
    }

    .grid-item--width-medium-100-landscape {
        width: 47%
    }

    .grid-item--width-medium-double-landscape {
        width: 47%
    }

    .grid-item--width-medium {
        width: 47%
    }

    .grid-item--width-medium-access {
        width: 47%
    }

    .grid-item--width-medium-access-landscape {
        width: 47%
    }

    .grid-item--width-medium-access-mobile {
        width: 47%
    }

    .grid-item--width-medium-access-landscape-mobile {
        width: 47%
    }

    .grid-item--width-large {
        width: 96%
    }

    .grid-item--sueltos {
        width: 47%
    }

    .label-new-category {
        display: block;
    }

    .label-first-in-second {
        display: none;
    }

    .file-cell-scheduled-medium-access {
        bottom: 45px;
        top: 45px;
        padding: 80px 0;
        font-size: 60%;
    }

    .file-cell-scheduled-medium-access-landscape {
        bottom: 30px;
        top: 30px;
        padding: 15px 0;
        font-size: 60%;
    }

    .file-cell-scheduled-medium-access-mobile {
        bottom: 85px;
        top: 25px;
        padding: 30px 0;
        font-size: 60%;
    }

    .file-cell-scheduled-medium-access-landscape-mobile {
        bottom: 65px;
        top: 15px;
        padding: 15px 0;
        font-size: 50%;
    }
}

.labels_cloud {
    text-align: center;
}

.file_cell {
    width: 100%;
    height: auto;
}

.title_in_grid {
    text-align: center;
    font-size: small;
    padding: 10px 10px;
    line-height: normal;
}

.title_in_grid span {
    display: inline-block;
    padding: 0 5px;
}

.fade_auto {
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.plus-pi-btn {
    position: absolute;
    bottom: 2px;
    right: 5px;
    text-shadow: 0 0 3px #ccc, 0 0 5px #232323;
    color: #fff;
}

.plus-pi-btn:hover {
    text-shadow: 0 0 3px #aaa, 0 0 5px #888;
    color: #eee
}

.img_behing {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
}

.soft {
    color: #ddd;
    display: none;
}

.disp_soft:hover .soft {
    display: inline;
}

.file-cell-legend {
    color: #000;
}

/* Rating Star Widgets Style */
.rating-stars ul {
    list-style-type: none;
    padding: 0;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.rating-stars ul>li.star {
    display: inline-block;
}

.rating-stars ul>li.star>i.fa {
    font-size: 2.5em;
    color: #ccc;
}

.rating-stars ul>li.star.hover>i.fa {
    color: #FFCC36;
}

.rating-stars ul>li.star.selected>i.fa {
    color: #EB5112;
}

.rating-box {
    text-align: center;
    font-size: .7em;
}

.primary {
    color: #EB5112;
}

.login-background {
    background: url(/files/primer/skinmuses_melanie_de_toni_tools_mela8249_pp_3246.jpg) center;
    background-size: cover;
    min-height: 700px;
}

._auto_hide_on_no_print_mode_ {
    margin: 0 0 0 25px;
    border-left: #666 solid 1px;
    display: none;
    padding: 5px;
}

/* input checkbox tooggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 10px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: -7px;
    background-color: orange;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*Radio toolbar*/
.radio-toolbar input[type="radio"] {
    display: none;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #ccc;
    padding: 4px 11px;
    font-family: Arial;
    font-size: 16px;
    border-radius: 34px;
}

.radio-toolbar input[type="radio"]:checked+label {
    background-color: orange;
    color: white;
}

/*loading*/
.loading {
    background-color: red;
    -webkit-animation-name: loading;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-name: loading;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@-webkit-keyframes loading {
    0% {
        background-color: #2196F3;
    }

    50% {
        background-color: #ccc;
    }

    100% {
        background-color: #2196F3;
    }
}

@keyframes loading {
    0% {
        background-color: #2196F3;
    }

    50% {
        background-color: #ccc;
    }

    100% {
        background-color: #2196F3;
    }
}

/*flying heart */
@keyframes flying_heart {
    from {
        transform: none;
        opacity: 1;
    }

    to {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* En la clase corazon vamos a llamar latidos en la animación  */
.heart_animation {
    position: relative;
    display: inline-block;
    opacity: 0;
    font-size: 15px;
    text-shadow: 0 0 10px #222, 1px 1px 0 #450505;
    color: red;
    animation: flying_heart 1.5s 1;
    transform-origin: center;
}

.panel-white {
    border: 2px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 0 25px 0 #bbb;
}

.panel-red {
    border: 2px solid red;
    border-radius: 15px;
    box-shadow: 0 0 25px 0 #bbb;
}

.panel-pink {
    border: 2px solid pink;
    border-radius: 15px;
    box-shadow: 0 0 25px 0 pink;
}

.vinculados_item {
    display: inline-block;
    margin: 5px;
    max-height: 250px;
    vertical-align: top;
}

.vinculados_cover {
    display: block;
    position: relative;
    max-height: 250px;
    overflow: hidden;
    text-align: center;
}

.vinculados_cover img {
    max-height: 250px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

.vinculados_badges {
    position: absolute;
    bottom: 5px;
    right: 5px;
    text-align: right;
}

.vinculados_badge {
    display: block;
    /* uno por línea */
    background-color: #777;
    font-size: 12px;
    padding: 5px 8px;
    margin-top: 3px;
    opacity: 0.9;
}

.vinculados_badge.etiqueta_badge {
    background-color: #5a5;
    /* verde para etiquetas */
}

/* =========================================
   DARK MODE FOR BOOTSTRAP 3 COMPATIBILITY
   ========================================= */
[data-bs-theme="dark"] body {
    background-color: #212529;
    /* BS5 dark-bg */
    color: #dee2e6;
    /* BS5 dark-text */
}

/* Navbar Bootstrap 3 Dark Override */
[data-bs-theme="dark"] .navbar-default {
    background-color: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .navbar-default .navbar-brand {
    color: #fff;
}

[data-bs-theme="dark"] .navbar-default .navbar-nav>li>a {
    color: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] .navbar-default .navbar-nav>li>a:hover,
[data-bs-theme="dark"] .navbar-default .navbar-nav>.open>a,
[data-bs-theme="dark"] .navbar-default .navbar-nav>.open>a:hover,
[data-bs-theme="dark"] .navbar-default .navbar-nav>.open>a:focus {
    background-color: #212529;
    color: #fff;
}

/* Dropdowns */
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .dropdown-menu>li>a {
    color: #dee2e6;
}

[data-bs-theme="dark"] .dropdown-menu>li>a:hover,
[data-bs-theme="dark"] .dropdown-menu>li>a:focus {
    background-color: #495057;
    color: #fff;
}

[data-bs-theme="dark"] .dropdown-menu .divider {
    background-color: #495057;
}

/* Panels / Cards / Contenedores */
[data-bs-theme="dark"] .well,
[data-bs-theme="dark"] .panel {
    background-color: #2b3035;
    border-color: #495057;
}

[data-bs-theme="dark"] .panel-default>.panel-heading {
    background-color: #343a40;
    color: #fff;
    border-color: #495057;
}

/* Inputs y Formularios */
[data-bs-theme="dark"] .form-control {
    background-color: #212529;
    border-color: #495057;
    color: #fff;
}

/* Footer (si usa clases standard) */
[data-bs-theme="dark"] .footer {
    background-color: #000;
    /* Forzar negro puro o mantener gris oscuro */
    border-top: 1px solid #495057;
}

/* Tablas */
[data-bs-theme="dark"] .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, .05);
}

[data-bs-theme="dark"] .table-hover>tbody>tr:hover {
    background-color: rgba(255, 255, 255, .075);
}

/* =========================================
   THEME VISIBILITY TOGGLES
   ========================================= */

/* Elementos que SOLO se ven en modo CLARO */
[data-bs-theme="dark"] .show-light-only {
    display: none !important;
}

/* Elementos que SOLO se ven en modo OSCURO */
[data-bs-theme="light"] .show-dark-only {
    display: none !important;
}

/* =========================================
   BOOTSTRAP 3 MODALS - DARK MODE FIX
   ========================================= */

/* Fondo y texto general del modal */
[data-bs-theme="dark"] .modal-content {
    background-color: #2b3035;
    /* Fondo gris oscuro */
    border: 1px solid #495057;
    /* Borde sutil */
    color: #dee2e6;
    /* Texto claro */
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

/* Líneas separadoras del header y footer */
[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: #495057;
    /* Color de la línea de separación */
}

/* Botón de cerrar (la X) */
[data-bs-theme="dark"] .modal-header .close {
    color: #fff;
    /* X blanca */
    text-shadow: none;
    /* Quitar sombra blanca por defecto */
    opacity: 0.7;
}

[data-bs-theme="dark"] .modal-header .close:hover {
    opacity: 1;
}

/* Botones dentro del modal (Cerrar, Aceptar, etc) */
[data-bs-theme="dark"] .modal-footer .btn-default {
    background-color: #343a40;
    border-color: #6c757d;
    color: #fff;
}

[data-bs-theme="dark"] .modal-footer .btn-default:hover {
    background-color: #495057;
}