html {
  overflow-x: hidden;
}

body{
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
.header{
  height: 55px;
  background-color: #000eaa;
  color: #fff;
  width: 100%;
}
.banner-logo{
  height: 55px;
  padding: 7px 15px 7px 7px;
}
.header-logo{
  width: 400px;
  max-width: 90vw;
  padding: 7px 15px 7px 7px;
}
video {
  width: 100%;
  height: auto;
}
.outer-wrapper{
  width: 100%;
  align-items: center; /* horizontal */
  justify-content: center; /* vertical */
  text-align: center;
}
.child{
  width: 400px;
  height: auto;
  display:block;
  margin: auto;
  padding-top: 150px;
  transform: translate(0px, -100px);
}
.article{
  font-size: 60px;
}
.article-subtitle{
  padding: 50px 0 30px 0;
  font-size: 55px;
}
.const{
  font-family: 'Fjalla One', sans-serif;
  color: #555555;
  font-size: 22px;
  text-align: center;
  margin: auto;
}
.contact{
  font-family: 'Fjalla One', sans-serif;
  color: #333333;
  font-size: 30px;
}
p {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  padding: 10px;
  font-size: 18px;
}
.button-link {
	box-shadow:inset 0px 1px 0px 0px #f29c93;
	background:linear-gradient(to bottom, #fe1a00 5%, #ce0100 100%);
	background-color:#fe1a00;
	border-radius:6px;
	border:1px solid #d83526;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:25px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #b23e35;
}
.button-link:hover {
	background:linear-gradient(to bottom, #ce0100 5%, #fe1a00 100%);
	background-color:#ce0100;
}
.button-link:active {
	position:relative;
	top:1px;
}

.flex-container {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: normal;
  align-content: stretch;
  text-align: left;
  max-width: 1500px;
}

.flex-items {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  max-width: 600px;
  padding: 15px;
  border: #333333;
  border-radius: 3px;
  border-width: 3px;
  border-style: solid;
  margin: 10px;
  font-size: 18px;
}

.flex-container2 {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: normal;
  align-content: stretch;
  text-align: left;
}

.flex-items2 {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  max-width: 600px;
  padding: 15px;
  margin: 10px;
  font-size: 18px;
  text-align: justify;
}

.flex-items3 {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  width: 600px;
  padding: 15px;
  margin: 10px;
  font-size: 18px;
  text-align: left;
}

.candidate-pics{
  float: left;
  text-align: center;
  margin: 5px 15px 10px 0;
  font-weight: bold;
}

.candidate-pics > img{
  width: 150px;
}

.caption{
  background-color: rgb(255, 255, 255);
  color: rgb(34, 34, 34);
  width: 150px;
  line-height: 1.2;
  padding: 3px;
}

.position-th{
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(177, 42, 255);
  color: #fff;
  margin: -10px -15px 10px -15px;
}

.position-boi{
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(23, 171, 108);
  color: #fff;
  margin: -10px -15px 10px -15px
}
.position-kh{
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(29, 70, 255);
  color: #fff;
  margin: -10px -15px 10px -15px
}
.position-maori{
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(250, 41, 41);
  color: #fff;
  margin: -10px -15px 10px -15px
}
.position-pcb{
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(250, 41, 232);
  color: #fff;
  margin: -10px -15px 10px -15px
}
.position-nrc{
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: rgb(235, 133, 0);
  color: #fff;
  margin: -10px -15px 10px -15px
}
.mtitle
{
  padding-top: 20px;
  font-size: 60px;
  font-weight: bold;
  text-align: center;
}

.logo{
  float: right;
  padding: 10px 30px 10px 0
}

.block-title{
  padding: 50px 0 30px 0;
  font-size: 45px;
}

.video-container {
  position: relative;
  padding-bottom: 45%; /*56.25% 16:9 */
  height: 0;
}

.video-insert2{
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  /* height: 80%; */
}


@media only screen and (max-width: 1200px){
  .logo{
    float:none;
    padding: 10px 0 10px 0
  }
  .article{
    width: 70%;
    font-size: 40px;
    text-align: center;
    margin: auto !important;
  }
  .article-subtitle{
    padding: 30px 0 20px 0;
    font-size: 35px !important;
  }
}

@media only screen and (max-width: 700px){

  .our-candidates{
    padding: 30px 0 15px 0;
    font-size: 30px !important;
  }
  .flex-items3{
    width: auto;
  }
  .article{
    width: 90% !important;
    
  }
}

@media only screen and (max-width: 550px){

.block-title{
  font-size: 34px;
}

}

.news-ticker {
  background-color: #333;
  color: #fff;
  font-size: 18px;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  width: 100%;
  z-index: 9999;
}
.news-ticker ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  right: 0;
  animation: news-ticker 30s linear infinite;
}
.news-ticker li {
  display: inline-block;
  margin-right: 30px;
  padding-left: 50px;
  position: relative;
  white-space: nowrap;
}
.news-ticker li:before {
  content: "•";
  color: #ffcc00;
  font-size: 30px;
  position: absolute;
  left: 0;
}
@keyframes news-ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-140%);
  }
}