/*!
Theme Name: Esquemática
Theme URI: http://underscores.me/
Author: Will Ruiz
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: esquematica
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Esquemática is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------


--------------------------------------------------------------*/

:root {
    /* Base Campus EsquemÃ¡tica */
    --bs-base-base: #efe6dd;
    --bs-base-strong: #e0d5c9;
    --bs-base-light: #f9f3ed;
    --bs-base-orange: #fe6028;
    --bs-base-orange-hover: #b93100;

    /* BW */
    --bs-bw-white: #ffffff;
    --bs-bw-grey: #898989;
    --bs-bw-grey-dark: #282828;
    --bs-bw-grey-light: #f7f7f7;
    --bs-bw-grey-light2: #fafafa;
    --bs-bw-black: #282828;

    /* Status */
    --bs-status-info-default: #ffeb3c;
    --bs-status-info-strong: #f09643;
    --bs-status-info-weak: #ffffe7;

    --bs-status-danger-default: #ff472b;
    --bs-status-danger-strong: #b91c00;
    --bs-status-danger-weak: #ffe9e2;
    --bs-status-danger-weak2: #ffcdbe;

    --bs-status-success-default: #4cd42a;
    --bs-status-success-strong: #105133;
    --bs-status-success-weak: #eff6f0;

    /* Generales default */
    --bs-primary: var(--bs-base-orange);
    --bs-primary-hover: var(--bs-base-orange-hover);

    --bs-secondary: var(--bs-bw-black);
    --bs-secondary-hover: var(--bs-base-orange);

    --bs-success: var(--bs-status-success-default);
    --bs-success-hover: var(--bs-status-success-strong);

    --bs-info: var(--bs-status-info-default);
    --bs-info-hover: var(--bs-status-info-strong);

    --bs-warning: var(--bs-status-info-strong);
    --bs-warning-hover: var(--bs-status-info-default);

    --bs-danger: var(--bs-status-danger-default);
    --bs-danger-hover: var(--bs-status-danger-strong);

    --bs-light: var(--bs-bw-grey);
    --bs-light-hover: var(--bs-bw-grey-light);

    --bs-dark: var(--bs-bw-dark);
    --bs-dark-hover: #000;

    /* Tipos */
    --bs-font-h: "Montserrat", sans-serif;
    --bs-font-s: "Inter", sans-serif;
    --bs-text-default: var(--bs-bw-black);

    /* Box shadow */
    --bs-shadow-default: 0px 4px 0px 0px #E0D5C9;
    --bs-shadow-default-hover: -4px 4px 0px 0px #ad8f6e;
    --bs-shadow-raised: 0px 4px 4px -2px rgba(0, 0, 0, 0.10);
    --bs-shadow-float: 0px 4px 24px -2px rgba(0, 0, 0, 0.50);

    /* Border radius */
    --bs-border-radius: .25rem;
    --bs-border-radius-big: 1rem;
}

/* Defaults Campus EsquemÃ¡tica */
html{
    background-color: var(--bs-base-light);
}

/* 24 / 28 */
body {
    color: var(--bs-text-default);
    font-family: var(--bs-font-s);
    font-size: 1rem;
    line-height: 1.625rem;
    background-color: var(--bs-bw-grey-light);
}

a{
    color: var(--bs-primary);
    text-decoration: underline;
}

.container-main{
    max-width: 1400px;
}

a:hover {
    color: var(--bs-primary-hover);
}

.navbar a{
    text-decoration: none;
}

tr th span{
    font-family: var(--bs-font-h);
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--bs-font-h);
    font-weight: 700;
}
/* 14 / 20 */
.body-tiny {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* 12 / auto */
.body-small {
    font-size: 0.75rem;
    line-height: auto;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
.fs-1,
.fs-2,
.fs-3,
.fs-4,
.fs-5,
.fs-6 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h1, .h1 {
    font-size: 1.5rem;
    line-height: 1.75rem;
}

h2, .h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

h3, .h3 {
    font-size: 1.125rem;
    line-height: 1.375rem;
}

h4, .h4 {
    font-size: 1rem;
    line-height: 1.25rem;
}

h5, .h5 {
    font-size: 0.875rem;
    line-height: 1.125rem;
}

h6, .h6 {
    font-size: 0.75rem;
    line-height: 1rem;
}

.fs-1 {
    font-size: 2.5rem;
    line-height: 3rem;
}

.fs-2 {
    font-size: 2rem;
    line-height: 2.4rem;
}

.fs-3 {
    font-size: 1.75rem;
    line-height: 2.1rem;
}

.fs-4 {
    font-size: 1.5rem;
    line-height: 1.8rem;
}

.fs-5 {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.fs-6 {
    font-size: 1rem;
    line-height: 1.2rem;
}

.fs-tiny{
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

.fs-small {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}

.fs-extra-small {
    font-size: 0.65rem !important;
    line-height: 0.65rem !important;
}

.noborder{
    border: 0px !important
}

.badge{
    border-radius: var(--bs-border-radius);
    padding: 6px 8px
}

/* Forms */

.form-control-range {
    background-color: var(--bs-base-light);
    border: 1px solid var(--bs-base-base);
    border-radius: var(--bs-border-radius);
    height: 0.5rem;
    appearance: none;

}

.form-control-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    background-color: var(--bs-primary);
    border-radius: 50%;
    cursor: pointer;
}

.form-control-range::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    background-color: var(--bs-primary);
    border-radius: 50%;
    cursor: pointer;
}

input[type="color"] {
    padding: 0px !important;
    border: 0px !important;
    border-radius: var(--bs-border-radius) !important;
}
/* Botones */


.btn-link .material-icons{
    font-size: 20px;
}

.btn{
    line-height: 1.5rem;
    padding: 0.4rem 1rem 0.5rem 1rem;
    min-height: 40px;
}

.btn span{
    font-size: 0.85rem;
}

.btn,
input,
textarea,
select {
    border-radius: var(--bs-border-radius) !important;
}

.material-icons{
    font-size: 20px;
    transform: rotate(0.03deg);
    line-height: 20px;
}

.btn .material-icons,
.btn span,
a .material-icons,
a span, .with-icon .material-icons, .width-icon span {
    vertical-align: middle;
}


a.btn,
span.btn,
p.btn {
    color: var(--bs-primary);
}

a.btn:hover,
span.btn:hover,
p.btn:hover {
    color: var(--bs-primary-hover);
}

.btn-link{
    padding: 5px 10px;
    min-height: auto;
}

label {
    display: inline-block;
    margin-bottom: .2rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .material-icons {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #aaa;
    z-index: 5;
    font-size: 18px;
}

.input-with-icon input {
    padding-left: 40px;
    width: 100%;
    border-radius: var(--bs-border-radius) !important;
}
.input-error.input-with-icon span {
    padding-left: 40px;
    width: 100%;
    border-radius: var(--bs-border-radius) !important;
}
.input-error.input-with-icon .material-icons{
    color: var(--bs-status-danger-strong);
    background-color: var(--bs-status-danger-weak);
    border-radius: 100%;
    padding: 2px 2px 2px 2px;
    font-size: 14px;
    width: 25px;
    text-align: center;
    left: 10px;
}

.input-with-icon .invalid-feedback {
    margin-left: 40px;
}

.btn-link:hover{
    text-decoration: none;
    background-color: var(--bs-base-light);
}

.btn-primary, .bg-primary, .alert-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary);
    box-shadow: var(--bs-shadow-default);
    color: #fff!important
}

.bg-primary, .alert-primary {
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus:active {
    background-color: var(--bs-primary-hover) !important;
    border-color: var(--bs-primary-hover)!important;
    box-shadow: var(--bs-shadow-default-hover)!important;
}

.btn-secondary, .bg-secondary {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: #fff!important
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--bs-secondary-hover) !important;
    border-color: var(--bs-secondary-hover) !important;
}

.btn-success, .bg-success {
    background-color: var(--bs-success) !important;
    border-color: var(--bs-success) !important;
    color: #fff!important
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: var(--bs-success-hover)!important;
    border-color: var(--bs-success-hover)!important;
}

.btn-info, .bg-info {
    background-color: var(--bs-info) !important;
    border-color: var(--bs-info) !important;
    color: var(--bs-bw-black) !important
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: var(--bs-info-hover)!important;
    border-color: var(--bs-info-hover)!important;
    color: #fff!important
}

.btn-delete, .bg-delete {
    background-color: transparent!important;
    border-color: transparent!important;
    color: var(--bs-status-danger-default) !important;
}

.btn-delete:hover,
.btn-delete:focus,
.btn-delete:active {
    background-color: var(--bs-status-danger-strong)!important;
    border-color: var(--bs-status-danger-strong)!important;
    color: #fff !important;
}

.btn-warning, .bg-warning {
    background-color: var(--bs-warning) !important;
    border-color: var(--bs-warning) !important;
    color: var(--bs-bw-black) !important
}

.btn-warning:hover {
    background-color: var(--bs-warning-hover)!important;
    border-color: var(--bs-warning-hover)!important;
}

.btn-danger, .bg-danger {
    background-color: var(--bs-danger) !important;
    border-color: var(--bs-danger) !important;
    color: #fff!important
}

.btn-danger:hover {
    background-color: var(--bs-danger-hover)!important;
    border-color: var(--bs-danger-hover)!important;
}

.btn-light, .bg-light {
    background-color: var(--bs-light) !important;
    border-color: var(--bs-light) !important;
    color: #fff!important
}

.btn-light:hover {
    background-color: var(--bs-light-hover)!important;
    border-color: var(--bs-light-hover)!important;
}

.btn-dark, .bg-dark {
    background-color: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
    color: #fff!important
}

.btn-dark:hover {
    background-color: var(--bs-dark-hover)!important;
    border-color: var(--bs-dark-hover)!important;
}

a.btn-delete{
    text-decoration: none;
}

a.btn-primary,a.btn-secondary, a.btn-success,a.btn-info, a.btn-warning, a.btn-danger, a.btn-light, a.btn-dark {
    text-decoration: none !important;
}

/* btn-end*/

.btn-end {
    box-shadow: none !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    margin-left: -4px;
    z-index: 10;
    padding: 3px 20px;
    line-height: inherit;
    min-height: inherit;
}

.btn-end:hover {
    box-shadow: none !important;
}

.btn-end .material-icons {
    position: relative;
    color: #fff;
    transform: inherit;
    top: inherit;
    margin: auto;
    left: 0px;
}

/* Tablas */

.table-striped tbody tr:nth-of-type(odd){
    background-color: var(--bs-bw-grey-light);
}

.table-responsive {
    display: table;
}



/* Paginados */

.page-link{
    color: var(--bs-base-orange)
}

.page-link:hover{
    color: var(--bs-base-orange-hover);
    background-color: var(--bs-base-light);
}

.page-item.disabled .page-link{
    text-decoration: none;
}

/* Header */

.navbar-light .navbar-toggler{
    border: 0px
}

.navbar{
    padding: 0px 10px;
    height: 80px;
}

.nav-link{
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar-light{
    background-color: var(--bs-base-light);
}

.navbar-brand h1{
    font-size: 0.75rem;
    line-height: 0.75rem;
}

.navbar-brand h1 span{
    display: block;
    font-size: 1rem;
    line-height: 1rem;
}

.navbar-brand img{
    margin-right: 10px;
    border-radius: 100%;
}

.navbar-expand-lg .navbar-nav .nav-link{
    border-right: solid 1px var(--bs-base-strong);
    padding-right: 15px;
    padding-left: 15px;
}

.navbar .nav-item a{
    text-decoration: none;
}

.navbar .nav-item a .material-icons{
    font-size: 20px;
}

.navbar .nav-item a .material-icons, .navbar .nav-item a span{
    color: var(--bs-bw-black)
}

.navbar .nav-item a:hover span,.navbar .nav-item a:hover i {
    color: var(--bs-base-orange-hover)
}

.navbar-centro{
    height: 80px;
    border-right: 0px !important;
    background-color: var(--bs-base-strong);
}

.navbar-centro:hover{
    background-color: var(--bs-base-orange);
}

.navbar .nav-item .navbar-centro:hover span,
.navbar .nav-item .navbar-centro:hover i {
    color: #fff
}

.navbar .nav-item .navbar-centro .badge{
    background-color: var(--bs-status-info-default);
    color: var(--bs-bw-black);
    padding: 3px 8px;
    line-height: 14px;
    margin-bottom: -20px
}

.navbar .nav-item .navbar-centro:hover .badge {
    background-color: var(--bs-status-info-strong);
}

/* HTML GenÃ©rico */

.text ul li{
    -ms-flex-align: center !important;
    align-items: center !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.text ul li::before {
    content: 'â€¢ ';
    margin-right: 8px;
    color: var(--bs-base-orange)
}

.text .list-group-item::before {
    display: none;
}

.text ul li .material-icons{
    padding: 4px;
}
.text ol li::marker {
    color: var(--bs-base-orange);
}

.text p:last-child{
    margin: 0px;
}

/* Avisos */

.avisos-container{
    margin: 0px 8px 0px 8px;
    border-radius: 5px;
}

.avisos-container .aviso{
    margin-bottom: 8px;
    padding: 5px;    
    background-color: var(--bs-base-light);
}

.avisos-container .aviso-titulo{
    margin-bottom: 0px;
}

.avisos-container p{
    margin-bottom: 0px;
}

.avisos-submenu a{
    border-bottom: solid 1px var(--bs-base-base);
    text-align: left;
    padding: 10px
}


.avisos-submenu a:last-child {
    border-bottom: 0px;
    margin-bottom: 0px
}

/* Footer */

footer{
    background-color: var(--bs-base-light);
    margin-top: 200px;
    padding: 50px 0px 50px 0px
}

.footer-logo img{
    border-radius: 100%;
}

.footer-text li::before {
    content: "/";
    color: var(--bs-primary);
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

/* Tarjetas */

.card{
    box-shadow: var(--bs-shadow-raised);
    border-radius: var(--bs-border-radius-big);
    border: 0px
}

.card .card-header{
    background-color: var(--bs-base-light);
    border-top-left-radius: var(--bs-border-radius-big);
    border-top-right-radius: var(--bs-border-radius-big);
    padding: 20px 20px
}

.card-header .material-icons{
    font-size: 24px;
}

.card-title{
    margin-bottom: 0px
}

.card .card-body{
    z-index: 2;
    position: relative;
    padding: 1.75rem
}

.card .card-header-small span,.card .card-header-small a{
    font-family: var(--bs-font-s);
    font-weight: 400;
    padding-right: 5px
}

/* Docente Card */

.card-docente {
    background-color: var(--bs-base-light);
    box-shadow: var(--bs-shadow-default);
}

.card-docente .btn{
    padding: 0px 5px 0px 0px;
    margin: 0px;
    min-height: inherit;
    border-right: solid 1px var(--bs-base-strong);
}

.card-docente .btn:last-child{
    border-right: 0px;
}

.card-docente .btn .material-icons{
    display: none;
}

/* Cuaderno */

.cuaderno{
    width: 310px;
    background-color: var(--bs-base-base);
    padding: 20px;
    height: 160px;
    border-radius: var(--bs-border-radius);
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 40px;
    box-shadow: var(--bs-shadow-default);
    cursor: pointer;

}
.cuaderno {
    transition: transform 0.3s ease-in-out;
}
.cuaderno:hover{
    box-shadow: var(--bs-shadow-raised);
}

.cuaderno:hover .cuaderno-title,.cuaderno:hover .cuaderno-desc{
    color: var(--bs-base-orange);
}

.cuaderno-toolbox{
    position: absolute;
    bottom: -15px;
    right: 10px;
}

.cuaderno-toolbox a{
    padding: 0px 0px;
    width: 35px;
    height: 35px;
    min-height: 35px;
    color: var(--bs-bw-grey-dark);
    line-height: 30px;
    text-align: center;
    background-color: #fff;
    border-radius: 100% !important;
    box-shadow: var(--bs-shadow-raised);
}

/* PÃ¡gina */

.pagina {
    width: 310px;
    padding: 20px;
    height: 160px;
    border-radius: var(--bs-border-radius);
    position: relative;
    display: inline-block;
    vertical-align: top;
    border: solid 2px var(--bs-base-strong);
    margin-bottom: 40px;
    box-shadow: var(--bs-shadow-default);
    cursor: pointer;
    background-color: #fff;

}

.pagina {
    transition: transform 0.3s ease-in-out;
}

.pagina-title {
    display: inline-block;
    width: auto;
}

.pagina-title h3{
    z-index: 2;
    position: relative;
    background-color: var(--bs-base-orange);
    width: 50px;
    text-align: right;
    padding: 5px 30px 5px 40px;
    margin-left: -30px;
    display: inline-block;
    color: #fff;
    box-shadow: var(--bs-shadow-raised);
    border-radius: var(--bs-border-radius);
}


.pagina-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-color: var(--bs-bw-dark);
    z-index: 1;
    opacity: 0.5;
}

.pagina:hover {
    box-shadow: var(--bs-shadow-raised);
    border-color: var(--bs-base-orange);
}

.pagina:hover .pagina-title,
.pagina:hover .pagina-desc {
    color: var(--bs-base-orange);
}

.pagina-toolbox {
    position: absolute;
    bottom: -15px;
    right: 10px;
}

.pagina-toolbox a {
    padding: 0px 0px;
    width: 35px;
    height: 35px;
    min-height: 35px;
    color: var(--bs-bw-grey-dark);
    line-height: 30px;
    text-align: center;
    background-color: #fff;
    border-radius: 100% !important;
    box-shadow: var(--bs-shadow-raised);
    z-index: 3;
    position: relative;
}


/* Break point 992*/
@media (max-width: 992px) {
    body{
        padding-top: 80px
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }

    .overlay.active {
        display: block;
    }

    .navbar{
        position: fixed;
        top: 0px;
        width: 100%;
        z-index: 30;
    }

    .navbar-centro{
        height: auto;
    }

    .navbar-centro-dropdown .dropdown-toggle::after{
        display: none !important;
    }

    .navbar-centro-dropdown .dropdown-menu {
        display: block !important;
    }
    .navbar .nav-item .navbar-centro .badge{
        margin: 0px
    }
    
    .dropdown .dropdown-menu{
        border: 0px
    }

    .navbar-expand-lg .navbar-nav .nav-link{
        border-right: 0px;
        border-bottom: solid 1px var(--bs-base-base);
        width: 100%;
    }
    
    .navbar-toggler-icon .badge{
        top: -10px;
        right: -10px;
        position: absolute;
        width: 25px;
        height: 25px;
        line-height: 13px;
        border-radius: 100%;
        font-size: 12px;
        background-color: var(--bs-status-info-default);
    }

    .navbar-collapse {
        position: fixed;
        top: 0px;
        right: 0;
        padding-top: 60px;
        width: 220px;
        height: 100%;
        background-color: var(--bs-base-light);
        z-index: 1050;
        overflow-y: auto;
        transition: transform 0.1s ease-in-out;
        transform: translateX(100%);
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-toggler {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1250;
    }

    .navbar-nav {
        flex-direction: column;
        padding-left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 10px 15px;
    }
}


@media (max-width: 767px) {
    .container-main, .container-fluid{
        padding: 0px;
    }
    .cuaderno {
        width: 100%;
    }

    .card .card-body{
        padding: 15px;
    }

    .table-responsive {
        display: block;
    }
    .pagination {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0;
        list-style: none;

    }

    .page-item {
        margin: 5px;
    }

    .page-link {
        position: relative;
        display: block;
        padding: 0.5rem 0.75rem;
        margin-left: -1px;
        line-height: 1.25;

    }

    .page-link:hover {
        z-index: 2;

    }

    .page-item.active .page-link {
        z-index: 3;

    }

    .page-item.disabled .page-link {
        pointer-events: none;
    }
}

.navbar-centro-dropdown {
    min-width: 200px;
    justify-content: end;
}

.no-pointer{
    pointer-events: none;
}