*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body{
  height:100%;
}
body{
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 26px;
  position:relative;
}

img{
  border: 0;
  max-width:100%;
}

a{
  text-decoration: none;
  cursor:pointer;
  transition:.7s color, .7s background-color;
  color:#000;
}
a:focus{
  outline: none;
}
a:hover{
  transition:.3s color, .3s background-color;
  color: #8DACD1;
}

h1{
  font-size: 50px;
  line-height: 60px;
  font-weight: 400;
  text-shadow: 0 0 15px #000;
}

h2{
  font-size: 50px;
  line-height: 60px;
  font-weight: 400;
  margin-bottom: 15px;
}


h3{
  font-size: 25px;
  line-height: 25px;
  font-weight: 300;
  background-color: #101F42;  
  color:#FFF;
  padding: 10px 15px;
  margin-top: 25px;
}
h3:first-child{
  margin-top:0;
}
h3 a{
  color:#FFF;
  display:block;
}

h3.topgap{
  border-top: 25px solid #FFF;
}

h3 + h2{
  margin-top: 20px;
}

h4{
  font-size: 30px;
  line-height: 40px;
  font-weight: 400;
  margin-top: 60px;
  margin-bottom: 15px;
}


h3:first-child, h4:first-child{
  margin-top:0;
}

p{
  margin-bottom: 15px;
}
p:last-child{
  margin-bottom:0;
}

ul, ol{
  margin: 0 0 15px 30px;
}

.large{
  font-size: 20px;
  line-height: 35px;
}
.small{
  font-size: 14px;
  line-height: 20px;
}

.light{
  font-weight:300;
}
.semi{
  font-weight: 600;
}

.clear{ clear: both; }

.container{
  margin: 0 auto;
  width: 96%;
  max-width: 1400px;
  position:relative;
}
.container.narrow{
  max-width: 850px;
}

.flex{
  display:flex;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex.end{
  align-items:flex-end;
}

.flex .half{
  width: 47%;
  margin-right: 6%;
  margin-bottom: 30px;
}
.flex .half:nth-child(2n+2){
  margin-right:0;
}

.flex .third{
  width: 32%;
  margin-right: 2%;
}
.flex .third:nth-child(3n+3){
  margin-right:0;
}


.margined{
  margin: 75px auto;
}
.margined-small{
  margin: 20px auto;
}

.topmargin{
  margin-top: 75px;
}
.bottommargin{
  margin-bottom: 75px;
}

.padded{
  padding: 15px;
}

.left{
  text-align:left;
}
.center{
  text-align:center;
}
.right{
  text-align:right;
}

.main{
  width: 70%;
}
.main.gap{
  padding-right: 50px;
}

.sidebar{
  width: 30%;
}


.button{
  display: inline-block;
  border-radius: 4px;
  background-color:#295183;
  color:#FFF;
  padding: 10px 25px;
  transition:.7s background-color;
  border:0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;  
  cursor:pointer;
}
.button:hover{
  color:#FFF;
  background-color: #101F42;
  transition:.3s background-color;
}

.grey .button{
  display:block;
  margin-bottom: 15px;
}
.grey .button:last-child{
  margin-bottom:0;
}

.inline{
  display:inline;
}
.inlineblock{
  display:inline-block;
}
.block{
  display:block;
}

.bgcover{
  background-size:cover;
  background-position: center center;
}


.header{
  background-color: #101F42;
  border-bottom: 10px solid #295183;  
  height: 110px;
  position:relative;
  padding-top: 5px;
}

.header h1 img{
  height: 120px;
}

.grey{
  background-color:#f1f1f1;
}



#hamburger {
  width: 45px;
  height: 35px;
  position: absolute;
  z-index:9;
  right: 20px;
  top: 12px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#hamburger span {
  display: block;
  position: absolute;
  height: 5px;
  width: 50%;
  background: #fff;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#hamburger span:nth-child(even) {
  left: 50%;
}

#hamburger span:nth-child(odd) {
  left:0px;
}

#hamburger span:nth-child(1), #hamburger span:nth-child(2) {
  top: 5px;
}

#hamburger span:nth-child(3), #hamburger span:nth-child(4) {
  top: 15px;
}

#hamburger span:nth-child(5), #hamburger span:nth-child(6) {
  top: 25px;
}

.mm-wrapper_opened #hamburger span:nth-child(1),.mm-wrapper_opened #hamburger span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mm-wrapper_opened #hamburger span:nth-child(2),.mm-wrapper_opened #hamburger span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.mm-wrapper_opened #hamburger span:nth-child(1) {
  left: 5px;
  top: 8px;
}

.mm-wrapper_opened #hamburger span:nth-child(2) {
  left: calc(50% - 5px);
  top: 8px;
}

.mm-wrapper_opened #hamburger span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

.mm-wrapper_opened #hamburger span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

.mm-wrapper_opened #hamburger span:nth-child(5) {
  left: 5px;
  top: 21px;
}

.mm-wrapper_opened #hamburger span:nth-child(6) {
  left: calc(50% - 5px);
  top: 21px;
}



.link{
  width: 32%;
  margin-right: 2%;
  margin-bottom: 2%;
  padding-bottom: 20%;
  background-color:#f1f1f1;
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
  position:relative;
}
.link:nth-child(3n+3){
  margin-right:0;
}
.link .title{
  display:inline-block;
  position:absolute;
  bottom:0;
  left:0;
  font-size: 20px;
  line-height: 25px;
  font-weight: 300;
  background-color: #101F42;  
  color:#FFF;
  padding: 10px;
  transition:.3s padding;
}

.link:hover .title{
  padding: 20px;
  transition:.3s padding;
}

.list{
  display:block;
  border-bottom: 1px solid #CCC;
  border-left: 5px solid #f1f1f1;
  padding: 15px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 300;  
  color:#101F42;
  transition:.3s border-color;
}
.date{
  display:block;
  color:#666;
  font-size: 13px;
  line-height: 15px;
  margin-top: 5px;
}
.list:last-child{
  border-bottom:0;
}
.list:hover{
  color:#101F42;
  border-left: 5px solid #101F42;
  transition:.3s border-color;
}


.footer{
  background-color: #101F42;
  border-top: 10px solid #295183;  
  padding: 30px 0;
  color:#FFF;
  font-size: 13px;
}
.footer a{
  color:#FFF;
}

.draw{
  display: block;
  background-color:#f1f1f1;
  border: 1px solid #CCC;
  padding: 15px;
  margin-bottom: 15px; 
  transition:.3s border-color;
}
.draw:hover{
  border-color: #101F42;
  color: #101F42;
  transition:.3s border-color;
}

.gallery{
  width: 24%;
  margin-right:1.333333333333333%;
  margin-bottom: 1.333333333333333%;
}
.gallery:nth-child(4n+4){
  margin-right:0;
}
.gallery img{
  display:block;
}
.content{
  margin: 40px 0;
}


.question{
  background-color:#f1f1f1;
  margin-bottom: 30px;
  padding: 20px;
}

.question .edit{
  float:right;
  margin: 0 0 15px 15px;
}


.input,.textarea,.select{
  display:block;
  width:100%;
  border: 1px solid #CCC;
  padding: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}
.textarea{
  height: 120px;
}

.radio{
  display:block;
  margin-top: 5px;
}

.label{
  margin-bottom: 10px;
}

.confirm{
  border: 1px solid #CCC;
  padding: 10px;
  background-color:#fff;
}


.note{
  background-color: #53AC67;
  color:#FFFFFF;
  padding: 10px 40px;
  border-radius: 5px;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 25px;
}

.breadcrumbs{
  border-bottom: 1px solid #CCC;  
  padding-bottom: 10px;
  margin-bottom: 10px;
  color:#666;
  font-size: 12px;
  font-weight:300;
  text-align:right;
}
.breadcrumbs a{
  color:#666;
}
.breadcrumbs .current{
  color:#101F42;
  font-weight:400;
  font-size: 14px;
}
.breadcrumbs span{
  margin-right: 8px;
}
.breadcrumbs span.left{
  float:left;
}

.resourcebutton{
  flex:1;
  background-color: #101F42;
  color:#FFF;
  padding: 10px;
  text-align:center;
  margin-right: 20px;
}
.resourcebutton:last-child{
  margin-right:0;
}