/*
Theme Name: nnt
Theme URI:
Author:
Author URI:
Description: Wordpress Theme
Version: 1.0
*/

* {
  box-sizing: border-box;
}

.plain {
  font-weight: 500;
}

a,
abbr,
acronym,
address,
applet,
b,
big,
blockquote,
body,
center,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
tt,
u,
ul,
var,
figure {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  vertical-align: baseline;
  background: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  padding-top: 80px;
  font-family: Open Sans, Arial, sans-serif;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#m-h {
  height: 80px;
  position: fixed;
  line-height: 23px;
  font-weight: 500;
  top: 0;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  z-index: 99999;
  transition: all 0.4s ease-in-out;
}

#m-h.scrolled {
  height: 54px;
  box-shadow: 0 0 7px rgba(0, 0, 0, .1) !important;
}

#m-h>div {
  width: 80%;
  max-width: 1080px;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  height: 100%;
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
}

#logo img {
  transition: all 0.4s ease-in-out;
  width: auto;
  max-height: 54%;
  display: inline-block;
  height: auto;
  margin-bottom: 0;
}

nav {
  height: 100%;
  font-weight: 600;
}

h1,
.page>h2 {
  background-color: #175450;
  color: #fff;
  line-height: 1em;
  font-weight: 500;
  font-size: 26px;
  display: flex;
  align-items: center;
  min-height: calc(72px - 1.6em);
  padding: 0.8em 0;
  /* padding-top: calc(0.8em - 1px); */
  /* padding-bottom: 0.8em; */
}

.page>h2,
h1.long {
  font-size: 22px;
}

h2,
h3,
h4,
h5,
h6 {
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}

h2.thin {
  font-weight: 500;
  font-size: 26px;
}

h2.thin a {
  color: inherit;
}

h2,
h3.large {
  font-size: 22px;
  font-weight: 700;
}

h2.dark-gray,
h2.gray {
  min-height: calc(72px - 1.6em);
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

h2.dark-gray {
  background-color: #595959;
}

h3 {
  font-size: 18px;
}

.wp-block-columns.green {
  background-color: #175450;
  color: #fff;
  min-height: calc(72px - 1.6em);
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  display: flex;
  align-items: center;
  font-size: 22px;
  line-height: 1em;
}

.wp-block-columns.green.small {
  font-size: 18px;
}

.wp-block-column p a {
  color: #008000;
  text-decoration: none;
}

.wp-block-columns.green a {
  color: #fff;
  text-decoration: none;

}

.wp-block-columns.img {
  background-image: url(/wp-content/uploads/2019/07/shutterstock_340934099-e1499965851426.jpg) !important;
  background-position: 50%;
  background-size: 100%;
  background-size: cover;
}

.wp-block-columns.img p {
  font-size: 26px;
  line-height: 1em;
  font-weight: 500;
  color: #333;
}

.wp-block-columns.gray6 {
  background: #d8d8d8
}

.wp-block-columns.gray5 {
  background: #dbdbdb
}

.wp-block-columns.gray4 {
  background: #e2e2e2
}

.wp-block-columns.gray3 {
  background: #e8e8e8
}

.wp-block-columns.gray2 {
  background: #eaeaea;
  color: #333;
}

.wp-block-columns.gray1 {
  background: #ededed
}

.wp-block-columns.gray0 {
  background: #f2f2f2
}

.wp-block-columns.gray0a {
  background: #f4f4f4
}

.masthead {
  width: 100%;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}

.mst3 {
  height: 362px;
}

.mst37 {
  height: 377px;
}

.mst38 {
  height: 380px;
}

.mst5 {
  height: 500px;
}

.gutter3 {
  margin-bottom: 5.82%;
}

.msth {
  max-height: 377px;
  overflow: hidden;
  display: flex;
}

figure.full img {
  width: 100%;
  height: auto;
  margin: 0;
  line-height: 1;
  object-fit: cover;
}

figure.align-h {
  margin-top: 40px;
}

/* layout */

.wp-block-columns {
  display: flex;
  gap: 5.5%;
  padding: 32px 0;
}


.wp-block-columns.no-start {
  padding-top: 0;
}

.col3 .wp-block-column {
  flex-grow: 1;
  min-width: 0;
}

.wp-block-column {
  width: 100%;
}

.wp-block-column.side {
  width: inherit;
}


.large .wp-block-column p {
  font-size: 22px;
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}

.medium .wp-block-column p {
  font-size: 18px;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}


.wp-block-column p {
  padding-bottom: 1em;
}

.wp-block-column p:last-of-type {
  padding-bottom: 0;
}

.wp-block-column:last-of-type {
  margin-right: 0;
}

.wp-block-column ul {
  list-style-type: disc;
  padding: 0 0 23px 1em;
  line-height: 26px;
}

.wp-block-columns.gray ul {
  padding-bottom: 1em;
}

.wp-block-columns,
h1,
.page>h2,
footer {
  box-sizing: content-box;
  max-width: 1080px;
  padding-inline: max(10%, calc((100vw - 1080px) / 2));
}


footer {
  background: #fff;
  padding-top: 1em;
  padding-bottom: 5.5%;
  text-align: center;
}

.wp-block-columns.btn a {
  display: inline-block;
  color: #175450;
  transition: all 300ms ease 0ms;
  font-size: 20px;
  font-weight: 500;
  padding: .3em 1em;

  line-height: 1.7em !important;
  background-color: transparent;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;

  border: 2px solid;
  border-radius: 3px;
  transition-property: all !important;
  text-decoration: none;
}

.wp-block-columns.btn {
  align-items: center;
  justify-content: center;
  margin: 54px 0;
}

.wp-block-columns.btn .wp-block-column {
  width: inherit;
}

.wp-block-columns.btn a:hover {
  background-color: rgba(0, 0, 0, .05);
  border: 2px solid transparent;
  padding: .3em 2em .3em .7em;
}

.wp-block-columns.btn a:hover::after {
  opacity: 1;
  margin-left: 0.5em;
}

.wp-block-columns.btn a::after {
  content: " ˃";
  font-size: 26px;
  line-height: 1.55em;
  font-family: monospaced;
  position: absolute;
  transition: all .2s;
  text-transform: none;
  opacity: 0;
  margin-left: -1em;
  font-weight: 200;
}


@media only screen and (max-width: 980px) {
  body {
    padding-top: 0;
  }

  #logo img {
    max-width: 60%;
  }

  #m-h {
    height: 80px;
    position: relative;
    line-height: 23px;
    font-weight: 500;
    top: 0;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
    z-index: 99999;
    transition: all 0.4s ease-in-out;
  }

  #m-h.scrolled {
    height: 80px;
    box-shadow: none !important;
  }


  .roll figure.full img,
  .wp-block-columns.cols3 figure.full img {
    width: inherit;
    max-width: 365px;
  }

  .roll figure,
  .roll .wp-block-columns {
    margin-bottom: 2rem;
  }

  .wp-block-columns.cols4 {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 25px 5.5%;
  }

  .wp-block-columns {
    flex-direction: column;
  }

  .wp-block-columns.cols4 .wp-block-column {
    flex: 1 1 calc(50% - 5.5%);
  }
}

@media only screen and (max-width: 470px) {
  .wp-block-column img {
    max-width: 100% !important;
  }

  .wp-block-columns.cols4 {
    flex-direction: column;
  }

  .wp-block-column {
    margin-bottom: 1rem;
  }

  .wp-block-column:last-of-type {
    margin-bottom: 0;
  }
}