html {
  font-size: 16px;
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}
.roundrect {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    display: table;
}
button {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	background-color: #333;
	color: white;
	cursor: pointer;
}

@media (max-width: 768px) {
    .roundrect {
        padding: 5px;
        margin: 5px;
    }

    .content {
        margin-right: 0 !important;
    }
}
@media (max-width: 1024px) {
    #page-wrapper {
        display: block !important;
    } }
    
#page-wrapper {
    position: relative;
}

.content {
    min-height: 300px;
    padding-top: 30px;
}

@media (min-width: 769px) {
    #page-wrapper {
        display: grid;
        grid-template-columns: 240px 1fr 240px;
        grid-template-areas: "left main right";
        gap: 20px;
    }

    #columnleft {
        grid-area: left;
    }

    .content {
        grid-area: main;
        margin: 0 !important;
    }

    #columnright {
        grid-area: right;
    }
}

main {
    padding: 30px;
    z-index: -1;
    display: block;
    width: auto;
    position: relative;
    pointer-events: auto !important;
    z-index: auto !important;
}

img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

header {
    position: relative;
    overflow: visible;
}

/* a colour patch that recolourises the header banner */
.header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    height:135px;
}

header>*:not(.header-overlay) {
    position: relative;
    z-index: 2;
}
/* menubar is defined in hamburger.css, column order layout defined in sidebar.css */