/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    background-color: aliceblue;
    display: flex;
    justify-content: center;
}
header, ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



.mainhome {
    margin: 0;
    padding-top: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 1280px;
    margin: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-areas:
    'heading heading heading'
    's1 s1 s1'
    's1 s1 s1'
    'img1 p1 p1'
    'p2 p2 img2'
    'foot foot foot';
    grid-template-columns: 426.66666px  426.66666px 426.66666px;
    grid-template-rows:4em 1fr 1fr 1fr 1fr 4em;


}





header ul {
    display: flex;
    list-style-type: none;
    width: 600px;
    align-items: center;
    background-color: aquamarine;
    color:rgb(255, 255, 255);


}
header li {
    
    text-align: center;
    background-color: rgb(54, 90, 150);
    height: 4em;
    display:flex;
    align-items: center;
    width:150px;
    
    
}
a {
    display:flex;
    padding:5px 0;
}
a:link, a:visited {
    color:rgb(255, 255, 255);
    text-decoration: none;

}

a:hover {
    background-color: rgb(54, 90, 150);
    color:rgb(255, 255, 255);
    height: 3.4em;
    width: 150px;
    display:flex;
    align-items: center;
    
}

header {
    background-color: rgb(54, 90, 150);
    width: 1280px;
    margin:auto;
    height: 4em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: fixed;
}
h1 {
    color:rgb(255, 255, 255);
    font-size: 20px;
    text-align: left;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
}



.slider{
    width: 1200px;
    height: 750px;
    border-radius: 10px;
    overflow: hidden;
    grid-area: s1;
    margin: auto;
}
.slides{
    width: 500%;
    height: 750px;
    display: flex;
}

.slides input{
    display: none;

}

.slide {
    width: 20%;
    transition: 2s;
}

.slide img{
    width: 1200px;
    height: 750px;
}

.navigation-manual {
    position: absolute;
    width: 1200px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn {
    border: 2px solid rgb(54, 90, 150);
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child) {
    margin-right: 40px;
}

.manual-btn:hover{
    background: #365a96;
}


#radio0:checked ~ .first{
    margin-left: 0;
}

#radio1:checked ~ .first{
    margin-left: -20%;
}

#radio2:checked ~ .first{
    margin-left: -40%;
}

#radio3:checked ~ .first{
    margin-left: -60%;
}

/* automatic part of slide show*/

.navigation-auto{
    position: absolute;
    display: flex;
    width: 1200px;
    justify-content: center;
    margin-top: 710px;
}

.navigation-auto div {
    border: 2px solid #365a96;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio0:checked ~ .navigation-auto .auto-btn1{
    background: #365a96;
}

#radio1:checked ~ .navigation-auto .auto-btn2{
    background: #365a96;
}

#radio2:checked ~ .navigation-auto .auto-btn3{
    background: #365a96;
}

#radio3:checked ~ .navigation-auto .auto-btn4{
    background: #365a96;
}


.welcome {
    grid-area: p1;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 20px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 700px;
    padding-right: 80px;
}
.welcome h2{
    grid-area: p1;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px;
    margin-bottom: 15px;
}
.Whoweare {
    grid-area: p2;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    line-height: 20px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 700px;
    padding-left: 80px;
    
}

.Whoweare h2{
    grid-area: p2;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 25px;
    margin-bottom: 15px;
    
}

.image1 {
    grid-area: img1;
    width: 500px;
    display: flex;
    justify-content: center;

}
.image1 img {
    width: 300px;
}
.image2 {
    grid-area: img2;
    width: 500px;
    display: flex;
    justify-content: center;
}
.image2 img {
    width: 300px;
}

footer {
    grid-area: foot;
    background-color: rgb(54, 90, 150);
    width: 1280px;
    margin:auto;
    height: 4em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: white;
}


.fa-brands{
    font-size: 30px;
    margin-left: 30px;
}

.maincontact {
    padding-top: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 1280px;
    margin: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-areas:
    'title title title'
    'map1 map1 map1'
    'form form form'
    'foot foot foot';
    grid-template-columns: 426.66666  426.66666 426.66666;
    grid-template-rows: 1fr 1fr 1fr 4em;
    height: 1500px
    
    
}

.mapc {
    grid-area: map1;
    display: flex;
    justify-content: center;
    width: 1280px;
    margin-top: 100px;
}

#ContactHeading{
    color: #365a96;
    text-align: center;
}
#BodyContent {
    grid-area: form;
    text-align: center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 600px;
}
footer {
    grid-area: foot;
    background-color: rgb(54, 90, 150);
    width: 1280px;
    margin:auto;
    height: 4em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: white;
}
#ContactF {
    width: 600px;
    background-color: #365a96;
    line-height: 40px;
    color: white;
    border-radius: 10px;
    margin-top: 50px;
}

#submitbutton {
    background-color: white;
    width: 100px;
    height: 30px;
    border-radius: 10px;
    color:#365a96;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bolder;
}

#ContactHeading1 {
    font-size: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bolder;
    text-align: center;
    margin-top: 30px;
    color:#365a96;
    margin-bottom: -50px;
    grid-area: title;
}


#ContactHeading2 {
    font-size: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    text-align: center;
    margin-top: 30px;
    color:#365a96;

}
#Hometitle {
    grid-area: heading;
    font-size: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    text-align: center;
    margin-top: 50px;
    color:#365a96;
    margin-bottom: 50px;
}

.mainhistory {
    padding-top: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 1280px;
    margin: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-areas:
    'title4 title4 title4'
    'img4 img4 img4'
    'p p p'
    'foot foot foot';
    grid-template-columns: 426.66666px  426.66666px 426.66666px;
    grid-template-rows: 4em 1fr 1fr 4em;
    height: 1000px;
}
#historyp {
    grid-area: p;
    width: 1280px;
    text-align: center;
    display: flex;
    justify-content: center;
    
}
#historyp p{
    grid-area: p;
    width: 800px;
    text-align: center;
    
}
.Historytitle {
    grid-area: title4;
    font-size: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    text-align: center;
    margin-top: 50px;
    color:#365a96;
    margin-bottom: 50px;
}

.imageg{
    grid-area: img4;
    width: 1280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainPolicies {
    padding-top: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 1280px;
    margin: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-areas:
    'title5 title5 title5'
    'list list list'
    'foott foott foott';
    grid-template-columns: 426.66666px  426.66666px 426.66666px;
    grid-template-rows: 4em 1fr 4em;
    height: 2000px;
}
.policytitle {
    grid-area: title5;
    font-size: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    text-align: center;
    margin-top: 50px;
    color:#365a96;
    margin-bottom: 50px;
}
.Rules {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    line-height: 30px;
    color: black;
    width: 600px;
    list-style-type: circle;
    text-align: center;
}
.Rules li {
    
    text-align: center;
    background-color: rgb(255, 255, 255);
    height: 4em;
    display:flex;
    align-items: center;
    width:600px;
    font-size: 16px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    text-align: center;
    margin-top: 50px;
    color:#365a96;
}
.foott {
    grid-area: foott;
    background-color: rgb(54, 90, 150);
    width: 1280px;
    margin:auto;
    height: 4em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: white;
}

.centerplease {
    grid-area: list;
    width: 1280px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h3 {
    font-size: 20px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bold;
    text-align: center;
    color:#365a96;
    margin-top: 30px;
}

#address {
    display: none;
}

.mainpfp {
    padding-top: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 1280px;
    margin: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-areas:
    'MainS MainS MainS'
    'MainS MainS MainS'
    'foottr foottr foottr';
    grid-template-columns: 426.66666px  426.66666px 426.66666px;
    grid-template-rows: 4em 1fr 4em;
    height: 2000px;
}

.Stick {
    background-color: rgb(54, 90, 150);
    width: 1280px;
    margin:auto;
    height: 4em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: fixed;
}
.t {
    grid-area: foottr;
    background-color: rgb(54, 90, 150);
    width: 1280px;
    margin:auto;
    height: 4em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: white;
}
.Asection {
    grid-area: MainS;
    font-size: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight:bolder;
    text-align: center;
    margin-top: 30px;
    color:#365a96;
    margin-bottom: -50px;
}