html, body {
    height: 100%;
    margin: 0;
    font-family: 'Oxygen', sans-serif;
	color: black;
	background-color: white;
	z-index: 0;
}
.layout {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-areas:
    'top top'
    'nav nav'
    'content content'
    'footer footer';    
}

.top {
    grid-area: top;
}

.nav {
    grid-area: nav;
    padding: 0 0; 
    background-color: black; 
    text-align: center;
    z-index: 10;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

.content {
    grid-area: content;
    background-color: white;
    padding: 10px;
}

.footer {
    grid-area: footer;
    font-size: 0.8em;
    text-align: center;
    background-color: white;
    padding: 20px;
}

#headerbar {
	width: 100%;
	background-color: #000000;
	padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
        background: -webkit-linear-gradient(180deg, #0AAD48 , #016834); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(180deg, #0AAD48, #016834); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(180deg, #0AAD48, #016834); /* For Firefox 3.6 to 15 */
        background: linear-gradient(180deg, #0AAD48 , #016834); /* Standard syntax */    
}

#menu_toggle {
    display: inline;
    margin-left: 10px;
}

#menu_toggle a {
    color: white;
    font-size: 22px;
    border: 1px white solid;
    border-radius: 3px;
    padding: 2px 8px;
    background-color: #363794;
    transition: filter 0.5s;
}
#menu_toggle a:hover {
    filter: brightness(1.5);
}

div.tiglogo
{
	position:absolute;
	right: 0;
	top: 0;
	width: 25vw;
	margin: 0;
	padding: 0px;
	z-index: 50;
}
div.tiglogo img {
    width: 100%;
}

div.ctiplogo {
    margin-top: 10px;

}

div.ctiplogo div.title {
    background-image: linear-gradient(180deg, #abd5ef, #1873b2);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-weight: 700;
    -webkit-box-decoration-break: clone;
    overflow: visible;  
    font-size: clamp(1.2rem,10vw,6.4rem);
    -webkit-text-stroke: 0.02vw black;
    font-family: 'Young Serif', serif;
	filter: drop-shadow(#555555 0.5vw 0.5vw 8px);  
}

div.ctiplogo div.subtitle {
    font-style: italic;
    font-weight: bold;
    font-size: 3vw;
    font-size: clamp(0.9rem,3vw,1.5rem);    
}

.header_title {
    margin: auto;
    padding: 5px 10px;
	font-family: Verdana;
	font-size: 4vw;
	font-weight: bold;
	color: #ffffff;
	text-shadow: #000000 0.3vw 0.3vw 5px;
	text-align: center;
}

.tiglogospacer {
    min-width: 25vw;
    height: 100%;
    z-index: 50;
    margin-left: auto;
}

.btn {
    border-radius: 5px;
    padding: 10px;
    border: 0;    
    margin: 10px auto;    
    transition: filter 0.3s ease;
}

.btn-wide {
    display: block;
    width: 95%;
}

@media (min-width: 800px) {
    .btn-wide {
        display: inline;
        width: auto;
    }
}

.btn-blue {
    background-color: #007bff;
    color: white;
}

.btn-gray {
    background-color: gray;
    color: white;
}

.btn-red {
    background-color: #dc3545;
    color: white;
}

.btn-yellow {
    background-color: yellow;
    color: black;
    font-weight: bold;
}

.btn-green {
    background-color: #318E54;
    color: white;
}

.btn-lg {
    font-size: 1.5em;
    padding: 15px;
    margin: 10px;
}

.btn-sm {
    font-size: 0.8em;
    padding: 5px;
    margin: 0px;
}

.btn:hover {
    filter: brightness(85%);
    cursor: pointer;
}

.pagetitle { margin: 20px 0; font: bold 16pt Verdana, Arial, Helvetica, sans-serif; color: #000000; }

.subtitle { margin: 20px 0; font: bold 12pt Verdana, Arial, Helvetica, sans-serif; color: #000000; }
    
@media (min-width :800px) {
    #menu_toggle {
        display: none;
    }   
    .layout {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 260px 1fr;
        grid-template-areas:
        'top top'
        'nav content'
        'nav footer';    
    }   
    .top {
        margin-top: 20px;
    }
    .header_title {
        padding: 15px 10px;
    	font-size: 2vw;
    	order: 2;
    }  
    div.tiglogo
    {
    	left: 10px;
    	top: 0px;
    	width: 217px;
    	height: 153px;
    }
    #headerbar {
        justify-content: flex-start;
    }
    .tiglogospacer {
        min-width: 0;
        width: 237px;
        margin: 0;
    }    
    .nav {
        display: block;
        max-height: none !important;
        padding-top: 70px;
        padding-bottom: 20px;
        background-color: white;
        margin: 0 0 0 10px;
        overflow: visible;
    }    

    div.ctiplogo {
        margin-bottom: 30px;
    }      
    .footer {
        font-size: 0.7em;
    }
}    