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

body {
    font-size: 1.05rem;
    margin-bottom: 40px;
}

a {
    text-decoration: none;
    color: #888d55;
}

a:hover {
    color: #888d55;
}

/******* header *********/

#navbar {
    background-color: #162a43;
    border-bottom: solid 2px #bb9358;
    background-image: url(../img/riad.svg);
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 0.3s;
    z-index: 1000;
}

.nav-link {
    display: block;
    padding: .5rem .5rem 0;
}

a {
    color: #bb9359;
    text-decoration: none;
    background-color: transparent
}

a:hover {
    color: #bb9359;
    /*text-decoration: underline:*/
}

.nav-item a:hover {
    color: #fff;
}

.nav-item .nav-link span {
    padding-left: 5px;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

/***************************************/
.mensaje {
    background-color: #d9d2e9;
    border: 1px solid #d9c3fd;
    padding: 10px;
    padding-left: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.mensaje2 {
    background-color: #cfe2f3;
    border: 1px solid #aaceee;
    padding: 10px;
    padding-left: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.citaAPA {
    text-indent: -30px;
    padding-left: 50px;
    min-width: 300px;
    padding-bottom: 10px;
}

.titles-hr>h2>.titses {
    font-weight: 400;
    color: #fff;
    border-left: 3px solid #bb9359;
    margin-right: 5px;
    background: #525b64;
    padding-left: 3px;
}

.titles-1 {
    position: relative;
    z-index: 998 !important;
}

.titles-1>span {
    position: absolute;
    color: #bb9359;
    top: -15px;
    left: 50%;
    margin-left: -100px
}

.titles-1 h1 {
    font-weight: 700;
    color: #2c3e54
        /*#67747e*/
    ;
}

.titles-1 h2 {
    font-weight: normal;
    color: #946115;
}

.titles-min h1 {
    font-size: 2rem;
}

.titles-min h2 {
    font-size: 1.5rem;
}


/****** paginacion ******/

.nav-pag {
    margin-top: 3em;
    padding: 5px 0;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.nav-pag .pagination {
    margin-bottom: 0;
}

.nav-pag .page-item .page-link {
    color: #666;
    font-size: 16px;
    line-height: 24px;
    border: 1px solid #BBB;
    min-width: 14px;
    padding: 0 7px;
    margin: 0 5px 0 0;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #efefef;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #efefef));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #efefef 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #efefef 100%);
    /* Opera11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #efefef 100%);
    /* IE10+ */
    background: linear-gradient(top, #ffffff 0%, #efefef 100%);
    /* W3C */
}

.nav-pag .page-item .page-link:hover {
    text-decoration: none;
    background: #FCFCFC;
    color: #666;
}

.nav-pag .page-item.disabled .page-link {
    background: #dfdfdf;
    color: #FFF;
    border-color: #dfdfdf;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
    cursor: default;
}

.nav-pag .page-item.active .page-link {
    background: #666;
    color: #FFF;
    border-color: #444;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
    cursor: default;
}

.span-tooltip {
    /*font-weight: 700;*/
    color: #888d55;
    border-bottom: 1px dotted #888d55;
}

.tooltip-inner {
    background-color: #888d55;
}

.tooltip.bs-tooltip-top .arrow:before,
.tooltip.bs-tooltip-bottom .arrow:before {
    border-top-color: #888d55;
    border-right-color: transparent;
    border-bottom-color: #888d55;
    border-left-color: transparent;
}

.tooltip.bs-tooltip-right .arrow:before,
.tooltip.bs-tooltip-left .arrow:before {
    border-top-color: transparent;
    border-right-color: #888d55;
    border-bottom-color: transparent;
    border-left-color: #888d55;
}

/*
@media only screen and (max-width: 479px){
    .pagination{
        display: block;
        overflow: auto;
    }
    .pagination li{ display: inline-block; }
}
*/

@media (min-width: 992px) {
    #navbarResponsive {
        margin-top: 0;
    }

    #navbar i.mdi {
        font-size: 24px;
    }

    .nav-item .nav-link span {
        display: none;
    }

    .tooltip {
        display: block;
    }

    .iconmenu i {
        font-size: 33px;
    }

    .nav-item a:hover {
        /*background: #002a3d;*/
    }
}

@media (min-width: 1200px) {}

/* ----- HEADER CON TEXTO IMAGEN Y RETRACTIL ----- */

#navbar {}

.navbar-text {
    margin: 0;
    padding: 0;
    color: #fff !important;
    line-height: 15px;
    width: 118px;
}

.navbar-text span:nth-child(2) {
    color: #072549;
    font-size: 14px;
    font-weight: 600;
    border-left: solid #072549 1px;

}

.navbar-text span:nth-child(3) {
    border-bottom: solid 1.5px #07254998;
    display: block;

}


.tit-asig {
    /* display: none; */
    color: #e9d5bc;
}

.tit-asig-clon {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    color: #e9d5bc;
    background: #506075;
    font-size: 16px !important;
    text-align: center;
    padding: 5px;
    display: none;
}

.final_tema {
    width: 100%;
    background: #506075;
    color: #fff;
    text-align: center;
    margin-top: 2em;
    padding: 20px 0;
}

.titles-1>span {
    position: absolute;
    color: #bb9359;
    top: -15px;
    left: 50%;
    margin-left: -100px;
}

.btext {
    padding: 30px;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #616161;
    background-color: #ebebeb;
    background-image: url(img/texture-1.png);
    text-shadow: #e0e0e0 1px 1px 0;
    border: 20px solid #fafafa;
    -webkit-box-shadow: inset 0px 0px 23px 0px rgb(0 0 0 / 75%);
    -moz-box-shadow: inset 0px 0px 23px 0px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px 0px 23px 0px rgb(0 0 0 / 75%);
    font-size: 1.05rem;
}

@media (min-width: 410px) {
    .tit-asig {
        /* display: none; */
    }

    .navbar-text {
        width: 192px;
        line-height: 22px;
    }
}

@media (min-width: 768px) {
    .tit-asig {
        display: block;
    }

    .navbar-text {
        width: auto;
        line-height: 22px;
    }
}