/* * { outline: 1px solid red; } */
html {
    padding: 0;
    margin: 0;
    text-align: center;
}
body {
    background: #d4dfe5;
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
}
p {
    padding: 0;
    margin: 0;
}
a, a:link, a:active, a:visited {
    color: #111;
    text-decoration: none;
}
a:hover {
    color: #333;
    text-decoration: underline;
}
img {

}
ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
em, i {
    font-style: normal
}
h1, h2, h3 {
	margin: 0;
	padding: 0;
}
#wrap {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: .5rem;
}
#header {
	max-width: 940px;
	margin-inline: auto;
    display: grid;
    grid-template-columns: 540px 1fr;
    gap: 1rem;
}
#headerimage {
    background: url(/images/header.jpg) no-repeat;
    height: 150px;
    width: 540px;
    margin-inline: auto;
}
#headertext {
    padding: 1.5rem 0 0 0;
    color: #666;
}
	#headertext h1 {
		font-size: .9rem;
        color: #457995;
	}
    #headertext p {
        font-size: .8rem;
        font-family: Tahoma;
        color: #666;
    }
            @media screen and (max-width: 940px) {
                #header {
                    grid-template-columns: 1fr;
                }
                #headertext {
                    display: none;
                }
            }
            @media screen and (max-width: 560px) {
                #headerimage {
                    height: 88px;
                    width: 320px;
                    background-size: 100% auto;
                }
            }
.thumbs {
    clear: both;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-content: center;  
    font-size: 0;
    margin-block: .5rem;
}
    .thumbs img {
        border-radius: .25rem;
        outline: .1rem solid #929da7;      
        aspect-ratio: 5 / 8;  
        width: 100%;
        height: auto;        
    }
    .thumbs img:hover {
        outline-color: #074963;
    }
            @media screen and (max-width: 420px) {
                .thumbs {
                    grid-template-columns: repeat(2, 1fr);
                    gap: .5rem;
                }
            }
h2 {
    text-align: left;
    font-size: 2.2rem;
    color: #368fb1;
    padding-top: 1rem;
}      
.gallerynav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;    
}    
    .gallerynav a {
        font-size: clamp(1.1875rem, 0.9049rem + 1.413vw, 2rem);
        color: #225170;
        border: .2rem solid #225170;
        margin-top: .4rem;
        padding-block: .5rem;
        line-height: 1;
        border-radius: .3rem;
    }
    .gallerynav a:hover {
        color: #020202;
        border-color: #020202;
        text-decoration: none;
    }
.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem; 
    padding-block: .5rem;
    height: 51px;
    overflow: hidden;
}
    .items a {
        /* font-size: clamp(1.1875rem, 0.9049rem + 1.413vw, 2rem); */
        font-size: 1.6rem;
        color: #fff;
        background-color: #225170;
        border-radius: var(--base-radius);
        padding: .8rem;        
        line-height: 1;   
        border-radius: .2rem;  
        text-decoration: none;
    }
    .items a:hover {
        color: #303841;
        background-color: #fff;
        text-decoration: none;
    }    
.singleitem {
    width: 96%;
    text-align: center;
    margin-inline: auto;
}    
    .singleitem img {
        border-radius: .2rem;
    }         
.icons {
    clear: both;
    font-size: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, 160px);
    gap: .5rem;
    justify-content: center;
    overflow: hidden;
}
    .icons div {        
        background-image: url('images/video.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position-y: 1.1rem;
        overflow: hidden;
        border-radius: .5rem;
        width: 160px;
        height: 217px;
        /* margin-block: .5rem; */
    }
    .icons div:hover {
        background-color: #fff;
    }
    .icons a {
        /* margin-inline: 1rem; */
        text-decoration: none;
        color: #333;        
    }    
    .icons a:hover {
        color: #0077cc;
    }
    .icons p {
        padding-top: 114%;
        padding-bottom: 1.2rem;
        text-align: center;
        bottom: 0;
        font: normal .9rem Arial, Helvetica, sans-serif;
    }  
#footer {
    clear: both;
    color: #777;
    margin-inline: auto;
    font-size: .8rem;
    width: 96%;
}
    #footer p {
        padding-top: 2rem;
    }
    #footer a {
        text-decoration: none;
        color: #333;
    }
    #footer a:hover {
        text-decoration: underline
    }
  