
/* 
 * https://github.com/jtrost/Complete-CSS-Reset
*/

/* Displays for HTML 5 */
article, aside, audio, command, datagrid, details, dialog, embed, 
figcaption, figure, footer, header, hgroup, menu, nav, section, summary,
video, wbr {
	display: block;
}

bdi, figcaption, keygen, mark, meter, progress, rp, rt, ruby, time {
	display: inline;
}

/* Deprecated tags */
acronym, applet, big, center, dir, font, frame, frameset, noframes, s,
strike, tt, u, xmp {
	display: none;
}

/* Reset styles for all structural tags */
a, abbr, area, article, aside, audio, b, bdo, blockquote, body, button, 
canvas, caption, cite, code, col, colgroup, command, datalist, dd, del, 
details, dialog, dfn, div, dl, dt, em, embed, fieldset, figure, form,
h1, h2, h3, h4, h5, h6, head, header, hgroup, hr, html, i, iframe, img, 
input, ins, keygen, kbd, label, legend, li, map, mark, menu, meter, nav,
noscript, object, ol, optgroup, option, output, p, param, pre, progress,
q, rp, rt, ruby, samp, section, select, small, span, strong, sub, sup, 
table, tbody, td, textarea, tfoot, th, thead, time, tr, ul, var, video {
	background: transparent;
	border: 0;
	font-size: 100%;
	font: inherit;
	margin: 0;
	outline: none;
	padding: 0;
	text-align: left;
	text-decoration: none;
	vertical-align: baseline;
	z-index: 1;
}

/* Miscellaneous resets */
body {
  line-height: 1;
}

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;
}body {
  background-color: #f8f8f8;
  color: #333;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

body * {
  box-sizing: inherit;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6, p, a, button, input, option, select {
  line-height: calc(1em + 14px);
}
main { 
  transform: translate3d(0,0,0);
  transition: transform 400ms;
}

@media (max-width: 1500px) {
  main.navOpen { transform: translate3d(-91px, 0, 0) }
}

@media (max-width: 900px) {
  main.navOpen { transform: translate3d(0, 0, 0) }
}
.announcements {
  background-color: #CC2D2D;
  cursor: default;
  height: 36px;
  position: absolute;
  overflow: hidden;
  width: 100%;
  top: 0;
  left: 0;
}

.announcements .ticker {
  position: absolute;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;
}

.announcements .ticker  {
  animation-name: ticker;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transform: translate3d(100%, 0, 0);
}

.announcements:hover .ticker {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { visibility: visible; transform: translate3d(100%, 0, 0) }
  98% { visibility: visible; transform: translate3d(-100%, 0, 0) }
  99% { visibility: hidden; transform: translate3d(-100%, 0, 0) }
  100% { visibility: hidden; transform: translate3d(100%, 0, 0) }
}

.announcements .announcement {
  position: relative;
  line-height: 36px;
  color: white;
  display: inline-block;
  text-align: center;
  width: 100vw;
  font-size: 16px;
  letter-spacing: 0.15em;
}

@media (max-width: 768px) {
  .announcements { height: 28px }
  .announcements .announcement { font-size: 14px; line-height: 28px }
}
.form {
    position: relative;
    flex: 1;
    font-size: 16px;
    margin: 0 auto;
    margin-bottom: 30px;
    max-width: 1000px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-radius: 4px; 
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .5);
    padding: 40px;
    margin-bottom: 60px;
    color: #333;
}

.form label {
  display: block;
  margin-bottom: 10px;
}

.form .heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form p {
  flex: 3;
  margin-bottom: 40px;
}

.form .map {
  flex: 1;
  text-align: center;
  margin-left: 50px;
  display: inline-block;
}

.form .map a {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.form input,
.form textarea {
  border: solid 1px #555555;
  padding: 4px 8px;
  display: block;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px; 
  line-height: 1.6;
}

.form textarea {
  resize: vertical;
  min-height: 100px;
}

.form input:hover {
  border-color: #2a4874;
}

.form button {
  background-color: #2a4874;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px; 
}

.form button:last-of-type {
  background-color: #9b9b9b;
  margin-left: 20px;
}

.form #address,
.form #addressLabel {
  position: absolute;
  display: none;
  left: -99999px;
}

.success,
.fail {
  display: none;
  font-weight: 600
}

.success {
  color: #2a4874;
}

.fail {
  color: #CC2D2D;
}

@media (max-width: 700px) {
  .form .map {
    flex-basis: 100%;
    width: 100%;
    margin-bottom: 40px;
  }
}.content .flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    padding: 20px;
    margin: 0 auto;
}

.content .card {
    display: inline-block;
    flex: 1 0 40%;
    flex-shrink: 0;
    min-width: 300px;
    padding: 20px;
    margin: 24px;
    border-radius: 2px;
    text-align: justify;
    text-align: justify;
    box-shadow: -3px 4px 0px 2px #a20f0f, 0px 0px 0px 1px #bf2324;    width: 50%;
}

.content .card h2 {
    color: #CC2D2D;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.content .card p { 
  font-size: 18px;
  line-height: 1.4;
  text-align: justify;
}

@media (max-width: 980px) { .content .card h2  { font-size: 28px } }
@media (max-width: 800px) { .content .card h2  { font-size: 24px } }
@media (max-width: 680px) { .content .card h2  { font-size: 22px } }

@media (max-width: 980px) { .content .card p  { font-size: 16px } }
@media (max-width: 800px) { .content .card p  { font-size: 14px } }.footer {
  background-color: #CC2D2D;
  padding: 36px;
  font-size: 16px;
  color: white;
  line-height: 22px;
}

@media (max-width: 980px) { .footer { font-size: 14px } }.landing {
  min-height: 100vh;
  width: 100%;
  background-color: rgb(26, 26, 26);
  color: white;
  padding: 0 20px;
  display: flex;
  text-align: center; 
  flex-direction: column;
  overflow-y: visible;
  font-size: 0;
}

.heading {
  position: relative; 
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 20px auto;
  background: transparent url('../img/site/mns_badge.png') no-repeat top right 16px / 10.5% auto; 
}

.heading .mns_logo, 
.heading .mns_slogan {
  display: inline-block;
  width: calc(52% - 20px);
  height: auto;
  object-fit: contain;
}
.heading .mns_slogan {
  width: calc(36% - 20px); 
}

.heading .mns_logo {
  margin-right: 20px;
}

.heading .hr {
  position: relative;
  width: calc(88% - 20px);
  height: 9px;
  margin-bottom: 10px;
  display: inline-block;
}

.heading .hr::after,
.heading .hr::before {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #CC2D2D;
  bottom: 0px;
}

.landing .hr::before {
  top: 0px;
}

.heading .mns_phone {
  max-width: 20%;
  min-width: 140px;
  margin-left: calc(88% - 20px);
  transform: translateX(-100%);
}

@media (max-width: 700px) {
  .heading {
    text-align: center;
    background-image: none;
  }

  .heading .mns_logo,
  .heading .hr {
    width: 100%;
  }

  .heading .mns_logo {
    max-width: 400px;
    margin: 0 auto;
  }

  .heading .mns_phone {
    margin-left: 100%;
  }

  .heading .mns_badge,
  .heading .mns_slogan {
    display: none; 
  }
}nav {
  position: fixed;
  top: 0;
  right:0;
  padding: 0 20px;
  padding-top: 108px;
  text-align: center;
  z-index: 10;
  height: 100vh;
  transition: transform 400ms;
  transform: translate3d(100%, 0, 0);
  background-color: #cc2d2d;
  color: white;
}

nav.isOpen {
  transform: translate3d(0%, 0, 0);
}

.toggle {
  position: fixed; 
  height: 40px; 
  width: 40px;
  top: 44px;
  right: 14px;
  z-index: 50;
  transform: translate3d(0, 0, 0);
  border-radius: 2px;
  cursor: pointer;   
  background-color: rgba(255,255,255,0);
  transition: transform 400ms 0ms, color 200ms;
}


.toggle div {
  height: 2px;
  width: 30px;
  margin-left: 5px;
  border-radius: 2px;
  background-color: rgb(242, 242, 242);
  transform: translate3d(0,0,0) rotate(0);
  transition: transform 400ms, background-color 200ms;
}

nav:not(.isOpen)+.toggle.red {
  background-color: rgba(255,255,255,.7)
}
nav:not(.isOpen)+.toggle.red div {
  background-color: #a20f0f;
}


.toggle div:nth-child(2) {
  margin: 6px 0;
  margin-left: 5px;
}

.toggle.isOpen {
  transition: transform 400ms;
  transform: translate3d(-120px, 0, 0);
}

.toggle.isOpen div:nth-child(2) {
  transform: rotate(45deg)
}

.toggle.isOpen div:nth-child(1) {
  transform: translate3d(0, 8px, 0) rotate(45deg)
}

.toggle.isOpen div:nth-child(3) {
  transform: translate3d(0, -8px, 0) rotate(135deg)
}

nav a {
  color: white; 
  font-size: 18px;
  display: inline-block;
  padding: 0 32px;
  margin: 12px 0;
}

nav a.selected {
  border-bottom: solid 2px rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  nav { width: 100% }
  .toggle.isOpen { transform: translate3d(0, 0, 0) }
}

@media (max-width: 768px) {
  .toggle { top: 36px; }
}
.slider {
    position: relative;
    flex: 1;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
    min-height: 500px;
    margin-bottom: 30px;
}

.slider div {
    position: absolute;
    display: inline-block;
    top: 50%;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    transform: translateY(-50%);
    width: 80%;
    transition: height 1s, opacity 1s, left 1s, z-index 0ms;
}

.slider .caption {
    font-size: 16px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-shadow: 1px 1px 1px #000;
    text-align: center;
    line-height: 40px;
    transform: translate3d(0, 0, 0)
}

.slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .5)
}

.slider .current {
    height: 100%;
    opacity: 1;
    left: 10%;
    z-index: 10;
    transition: height 500ms, opacity 500ms, left 500ms, z-index 0ms;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .5)
}

.slider .left,
.slider .right {
    height: 80%;
    opacity: .75;
    left: 5%;
    z-index: 8;
}

.slider .right {
    left: 15%;
}


.slider .leftHide,
.slider .rightHide {
    height: 60%;
    opacity: .4;
    z-index: 6;
}

.slider .rightHide {
    left: 20%;
}

.slider .clickRight,
.slider .clickLeft {
    position: absolute;
    height: 100%;
    width: 50%;
    z-index: 12;
    cursor: pointer;
}

.slider .clickLeft {
    left: 0%;
}

.slider .clickRight {
    right: 0%;
}

@media (max-width: 980px) { .slider { min-height: 60vh } }
@media (max-width: 800px) { .slider { min-height: 50vh } }
@media (max-width: 680px) { .slider { height: 0; min-height: 0; padding-bottom: 50%; } }

  