@import url(https://fonts.googleapis.com/css?family=Montserrat:400,300,300italic,400italic,700,700italic,500&display=swap);

html,
body {
    background-color: #F0F0F0;
}

* {
    font-family: 'Montserrat', Helvetica, sans-serif;
    /* color: #333447; Admin navbar icon link color*/
    line-height: 1.5;
}

.menu {
    list-style-type: none;
    margin-top: 32px;
    padding: 0;
    background-color: #c5c5c580;
}

.menu li {
    display: inline-block;
}

.menu a {
    color: #616161;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
}

.menu a:hover {
    background-color: #4CAF5020;
}

.menu a.active {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
}

a .material-icons {
    font-variant-caps: normal;
}

.card-h100 {
    height: 100%;
    display: flex;
    flex-direction: column;
}
  
.card-content-h100 {
    flex-grow: 1;
}

.card-footer-h100 {
    margin-top: auto;
  }
  

/* POSITIONING */

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Rich text content (Trix / Lexxy) */

.trix-button-group {
    margin-right: 1rem;
}

.trix-button-group--history-tools {
    margin-right: 0;
}


.lexxy-my-content,
lexxy-editor {
    line-height: 1.5;
}

.lexxy-my-content *,
lexxy-editor * {
    box-sizing: border-box;
}

.lexxy-my-content a,
lexxy-editor a {
    text-decoration: none;
    color: #48c78e; /* Bulma success color */
}

.map-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: 300px;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

#map-container:hover .map-image {
    opacity: 0.3;
}

#map-container:hover .middle {
    opacity: 1;
}

/* Admin Sidebar Layout & CSS overrides for Bulma menu conflict */
.admin-sidebar {
    padding: 1.5rem 1rem;
    border-right: 1px solid #dbdbdb;
    min-height: 100vh;
}

.admin-sidebar .menu {
    background-color: transparent !important;
    margin-top: 0 !important;
}

.admin-sidebar .menu li {
    display: block !important;
}

.admin-sidebar .menu a {
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
    padding: 0.5rem 0.75rem !important;
    border-bottom: none !important;
    color: #4a4a4a !important;
}


.admin-sidebar .menu a:hover {
    background-color: #f5f5f5 !important;
}

.admin-sidebar .menu a.active {
    color: #4CAF50 !important;
    background-color: #4CAF5015 !important;
    font-weight: 600;
}

/* Mobile Admin Sidebar Toggle Drawer */
@media screen and (max-width: 768px) {
    .admin-sidebar {
        position: fixed !important;
        top: 3.25rem; /* height of navbar */
        left: -100%;
        width: 260px;
        height: calc(100vh - 3.25rem);
        z-index: 1000;
        transition: left 0.3s ease;
        background-color: white !important;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        display: block !important; /* override is-hidden-mobile */
    }
    
    .admin-sidebar.is-active {
        left: 0 !important;
    }
}