/* ==========================================================================
   Material icons
   ========================================================================== */

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/MaterialIcons-Regular.eot"); /* For IE6-8 */
    src: local("Material Icons"),
         local("MaterialIcons-Regular"),
         url("../fonts/MaterialIcons-Regular.woff2") format("woff2"),
         url("../fonts/MaterialIcons-Regular.woff") format("woff"),
         url("../fonts/MaterialIcons-Regular.ttf") format("truetype");
}

.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: "liga";
}


/* ==========================================================================
   Base
   ========================================================================== */

main {
    padding-top: 1em;
}

h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
}

h3 {
    font-size: 1.4rem;
}


/* ==========================================================================
   Forms
   ========================================================================== */

.errorlist li {
    color: #f44336;
}


/* ==========================================================================
   Messages
   ========================================================================== */

/* Messages are picked up in JS, displayed as toasts */
.message {
    display: none;
}

/* ==========================================================================
   Logo
   ========================================================================== */

.logo {
    max-height: 60px;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}


/* ==========================================================================
   Edulog card
   ========================================================================== */

.edulog-card {
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 2px;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.1),
                0 2px 4px rgba(0, 0, 0, 0.05);
}

.edulog-card h1 {
    margin-top: 0;
}



/* ==========================================================================
   Initiative list
   ========================================================================== */

.subinitiative-status {
    background-color: #eee;
    font-size: 0.75rem;
    text-transform: lowercase;
}

/* Adding vertical align class on table cell removes spacing between elements,
add it back. */
.initiative-list-name-link,
.private-icon,
.subinitiative-status {
    margin-left: 0.5ch;
}

/* ==========================================================================
   Carousel
   ========================================================================== */

.carousel {
    height: 80vh;
    min-height: 80vh;
}

.carousel .carousel-item {
    white-space: initial;
    /* font-size: 1vw !important; */
}