a, a > span {
  border-radius: 10px;
  position: relative;
  color: inherit;
  text-decoration: none;
  line-height: 20px;
}
a:before, a:after, a > span:before, a > span:after {
  content: '';
  position: absolute;
  transition: transform .5s ease;
}
.effect-7 {
  display: inline-block;
  overflow: hidden;
}
.effect-7:before {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #8ea7b2;
  transform: translateX(-100%);
}
.effect-7:after {
  content: attr(data-content);
  left: 0;
  top: 0;
  width: 0;
  margin: 12px;
  color: #0772a4;
  white-space: nowrap;
  overflow: hidden;
  transition: width .5s ease;
}
.effect-7 > span {
  display: block;
  margin: 2px;
  padding: 10px;
  background: #bfc6c9;
}
.effect-7:hover:before {
  transform: translateX(0);
}
.effect-7:hover:after {
  width: calc(100% - 24px);
}

h1 {
    padding-top: 10%;
    color: white;
    text-transform: uppercase;
    font-family: "Open Sans";
    font-size: 36px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 26.4px;
}

h3, .h3 {
    font-family: "Open Sans";
    font-size: 1.3rem;
    font-style: normal;
    font-variant: normal;
    font-weight: 600;
    line-height: 15.4px;
}

p,
html {
    margin: 0;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 20px;

}

blockquote {
    font-family: "Open Sans";
    font-size: 21px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 30px;
}

pre {
    font-family: "Open Sans";
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 18.5714px;
}

header {
    min-height: 400px;
    background-image: url(./hbg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    overflow: hidden;
    margin-bottom: 30px;
    text-align: center;
    vertical-align: middle;
}

main {
    width: 100%;
    margin: auto;
    text-align: center;
    overflow: hidden;
    margin-bottom: 50px;
}
main p{
	padding: 0 10% 0 10%;
}

ul {
    margin: 0;
    padding: 0;
}	

ul li {
    list-style-type: none;
}

body {
    background: #e3e9ef;
    background-repeat: repeat;
    overflow: hidden;
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    height: 100%;
}

footer {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
	padding: 0 10% 0 10%;
}

footer > p {
    flex: 1 1 100%;
    padding: 20px 0 0 0;
}

footer > ul {
    flex: 1 1 auto;
	

}

footer > ul {
    order: 1;
    text-align: center;

}
footer > ul > li:first-child{
	line-height:2rem;
}

footer > p {
    order: 3;
}

@media screen and (max-width: 400px) {
    header {
        min-height: 100px;
    }
    footer {
        text-align: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    footer > p,
    footer > ul {
        text-align: center;
    }
	main  > p{
	padding:0 5% 0 5%;
	}
}

@media screen and (max-width: 540px) {
	body{
		margin:0;
		width:100%;
	}
    header {
        min-height: 200px;
    }
    main {
        margin: 0;
    }
    footer {
        text-align: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    footer > p,
    footer > ul {
		margin-bottom:1rem;
        text-align: center;
    }
	footer > ul:first-child{
		margin-top:0.5rem;
	}

}
@media print{
    li > a{
        line-height: 1px;
    }
    footer > p{
        padding:0;
    }
    header{
        min-height: 100%;
    }
    .effect-7 > span{
        padding:0;
    }
    #linkit,img{
        display:none;
    }
}