:root {
  --granate: #723b3d;
  --crema: #fc9;
  --verde: #39615F;
}

@font-face {
    font-family:"Democratica";
    src:url("/static/fonts/Macondo/Macondo-Regular.ttf") format("truetype");
    /*src:url("/static/fonts/Democratica.ttf") format("truetype");*/
}


/* etiquetas */
body {
    background-color: #f9f9f9;
    font-size:16px;
}
.body_layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3 {
    font-family: "Democratica";
}
p {
    font-size:16px;
}
a {
    color:var(--granate);
    text-decoration: none;
}
a:hover {
    text-decoration: underline !important;
    color:#000;
}
small {
    font-size:24px;
}
ul {
    padding:0;
}
li {
    list-style: none;
}
/* etiquetas */



/* pagination */
.pagination {
    margin-top:81px;
}
.page-item {
    text-align: center;
}
.page-link {
    color:  var(--granate);
    background-color: #fff;
    border: 1px solid var(--granate);
    width: 44px;
    height: 38px;
    padding: 0px;
    line-height: 36px;
    font-size:20px;
    font-family: Democratica;
}
.page-link:hover, .page-link:focus {
  z-index: 2;
  color: #fff !important;
  background-color: var(--granate);
  border-color: var(--granate);
}
.page-item.disabled {
    background-color: #f2f2f2;
}
.page-item.disabled .page-link {
    background-color: var(--crema);
}
.page-item.active .page-link {
  color: #fff;
  background-color:  var(--granate);
  border-color: var(--granate);
}
.page-link:focus {
  z-index: 3;
  color: #fff;
  background-color: var(--granate);;
  outline: unset;
  box-shadow: unset;
  border: 2px;
}
/* pagination */

/* utils */
.separador {
    margin:40px 0px 0px;
}
.redes_sociales {
    padding:0px;
    margin:0px;
}
.redes_sociales li {
    display: inline-block;
    width: 32px;
    height: 32px;
}
.text-24 {
    font-size:24px;
}
.titulo_seccion {
    color: #1b4d3f;
    /*padding: 6px 20px;*/
    border-radius: 25px;
    width: 100%;
    font-weight: bolder;
    margin-bottom: 20px;
}
.web {
    display:none;
}
.mobile {
    display:block;
}
.pvp {
    font-family: Democratica;
    
}
/* utils */


/* buttons */
.btn {
    font-size:20px;
}
.btn-primary {
    border-radius: 6px;
    background-color: var(--granate);
    color:#fff;
    border:1px solid var(--granate);
    font-family: Democratica;
}
.btn-primary img {
    margin-top: -8px;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--verde);
  color: #fff;
  border-color: var(--granate);
}
button.navbar-toggler {
  color: var(--granate);
  padding: 0px;
  border: unset;
}


/* buttons */

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    font-family: "Democratica";
    color:var(--granate);
    width: 90vw;
    margin: 0 auto;
    padding: 9px 0px;
}
header .menu, header .imagen , header .tools  {
    flex-grow:1;
    flex-basis: 0;
}
header img.logo {
    height:40px;
}
header .icon {
    width:30px;
    height:30px;
}
header ul {
    margin:0px;
    padding:0px;
}
header a {
    color:var(--granate);
    text-decoration: none;
}
header .tools .icon {
    vertical-align: bottom;
    cursor: pointer;
}
header .tools .icon:hover {
    border-bottom: 2px solid var(--granate);
    height: 43px;
}

header .busqueda_rapida #texto {
  border-radius:0px;
  border-top-left-radius: 9px;
  border-bottom-left-radius: 9px;
  border: 1px solid var(--granate);
  margin-left: 0px;
  border-right: 0px;
}
header .busqueda_rapida button {
  border-radius:0px;
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
}
.linea_inglesa {
    margin-top:0px;
    margin: 0px 20px;
}
/* HEADER */


/* NAVBAR */
.navbar {
    position: static;
    padding:0px;
}
#navbarMenu {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
}
#navbarMenu .desplegable {
    background-color: #fff;
    position: relative;
}
#navbarMenu .desplegable .btn-close {
    position: absolute;
    right: 12px;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #fff;
    top: 32px;
    background: transparent url("/static/img/icons/ic_close.svg") center/1em auto no-repeat;
}
#navbarMenu ul {
    background: #fff;
    height: 100vh;
    width: 100%;
    padding:24px;
}
#navbarMenu ul li {
    margin-bottom: 12px;
    display: inline;
    padding-right:24px;
    font-size:32px;
}
#navbarMenu .layer {
    width: 100%;
    background: #000;
    opacity: .7;
}

#navbarMenu .logo_menu{
    height: 60px;
    margin-left:-12px;
}
/* NAVBAR */

/* estructura */
.contenido {
    display: flex;
    gap:40px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.contenido .izquierda {
    display: none;
    width: 300px;
    border-right: 1px solid var(--granate);
    padding-right: 40px;
}
.contenido .main_content {
    width: 100%;
}
.contenido .izquierda h2 {
    margin:24px 0px 0px 0px;
}

/* INDEX */

.actividades {
    display: grid;
    grid-template-columns: 100%;
}
.actividades h2 {
    order:1;
}
.actividades .textos {
    order:3;
    margin-top:20px;
}
.actividades .imagen {
    order:2;
}

.destacados {
    display: grid;
    grid-template-columns: 49% 49%;
    gap:2%;
    height: 100%;
}
.destacados div {
    background-color: grey;
}
section.carrusel div {
    background-color: grey; 
}

/* INDEX */


/* get materias */
.get_materias li {
    padding: 6px 6px;
    background-color: white;
    border: 1px solid var(--granate);
    border-radius: 6px;
    font-size: 20px;
    font-family: Democratica;
    color: var(--granate);
    background-color: #fff;
    margin-bottom: 12px;
}
.get_materias li:hover {
    background-color: var(--granate);
}
.get_materias li:hover a {
    color: #fff;
}
/* get materias */



/* FOOTER */
footer {
    margin-top: 20px;
}
footer .footer {
    display: grid;
    grid-template-columns: 100%;
}
footer .footer-col {
    margin-bottom: 40px;
    text-align: center;
}
footer .footer-col.imagen {

}

footer .logo_footer {
    width: 280px;
    padding:0px 12px 12px 12px;

}


/* FOOTER */



@media (min-width: 576px) { ... }

@media (min-width: 768px) {
    header .icon {
        width:40px;
        height:40px;
    }
    header img.logo {
        height:60px;
    }
    button.navbar-toggler {
      font-size:28px;
    }
    footer .footer {
        display: grid;
        grid-template-columns: 33% 33% 33%;
    }
}


@media (min-width: 992px) {
    .contenido {
        margin-top:40px;
    }
    .web {
        display:block;
    }
    .mobile {
        display:none;
    }

    .actividades {
        display: grid;
        grid-template-columns: 35% 65%;
        gap:2%;
    }
    .actividades .textos {
        margin-top: 0px;
    }
    .contenido .izquierda {
        display: block;
        width: 300px;
        border-right: 1px solid var(--granate);
        padding-right: 40px;
    }

    footer .footer {
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
    }
}
@media (min-width: 1200px) {
    .navbar {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
    #navbarMenu {
        position: static;
    }
    #navbarMenu .layer {
        display: none;
    }
    #navbarMenu ul, #navbarMenu .desplegable {
        background-color: transparent !important;
        height: unset;
        padding:0px;
        margin-bottom:-8px;
    }
    #navbarMenu ul li {
        margin-bottom: 0px;
    }
    footer .footer {
        display: grid;
        grid-template-columns: 20% 20% 20% 20% 20%;
    }
}
@media (min-width: 1400px) { ... }
@media (min-width: 1600px) {
    .container {
        max-width: 80vw;
    }
}



