@font-face {
  font-family: 'Kanit';
  src: local('Kanit Regular'),
    url('/oapp-res/kanit.woff') format('woff'),
    url('/oapp-res/kanit.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap
}
@font-face {
  font-family: 'Kanit';
  src: local('Kanit Black'),
    url('/oapp-res/kanit-black.woff') format('woff'),
    url('/oapp-res/kanit-black.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap
}

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

body {
  font-size: 18px;
  font-family: 'Kanit';
  background: #494949;
  min-width: 370px;
}
header { background: linear-gradient(to bottom, #2c2c2c, #454545); padding: 20px; }
header > div {
  background-image: url('/oapp-res/flame.webp');
  background-position: bottom 10px center;
  background-repeat: no-repeat;
  background-size: auto 100px;
  text-align: center;
  position: relative;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
  padding: 0;
  height: 120px;
}
header > div > img { width: auto; height: 70px; position: absolute; bottom: 10px; right: 15px; }
header > div > span {
  font-size: 45px;
  font-weight: bold;
  letter-spacing: 0.15em;
  display: block;
  position: relative;
  color: #eee;
}
header > div > span:nth-of-type(1) { color: #aaa; font-size: 25px; right: 40px; top: 18px; }
header > div > span:nth-of-type(2) { top: -16px; right: 10px; }

nav {
  background-color: #222;
  width: clamp(330px, 100%, 1000px);
  margin: 0 auto;
  padding: 10px;
  text-transform: uppercase;
  display: block;
}
nav > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
nav > ul > li > a, nav > ul > li > a:visited {
  color: #eee;
  letter-spacing: .1em;
  font-size: 16px;
	transition: all .3s ease;
  padding: 0 3px;
}
nav > ul > li > a:hover { color: #5493eb; }
#navbt { display: none; }

@media (max-width: 800px)
{
  header > div > img { height: 50px; }
  #navbt { display: block; position: absolute; right: 15px; top: 15px; width: 30px; height: auto; cursor: pointer; transition: filter .3s ease; z-index: 2; }
  #navbt:hover { filter: brightness(.5); }
  nav { display: none; }
  nav.active { display: block; }
  nav > ul {
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
  }
}

footer {
  padding: 10px;
  font-size: 14px;
  color: #eee;
  background: #222;
}

section { background: #454545; padding: 20px; }
section:first-of-type { background: #f49425; }
section > div { width: clamp(330px, 100%, 1000px); padding: 1.5em; margin: 20px auto; }
section:not(:first-of-type) > div { background-color: #222; color: #fff; }
section:first-of-type > div { text-align: center; }
section:first-of-type > div > h1 { font-size: 50px; }

section > div.overflow { position: relative; top: 80px; margin-top: -80px;}
section > div.overflowInv { position: relative; bottom: 80px; margin-bottom: -80px;}
section.overflow { padding-top: 80px; margin-top: -20px;}
section.overflowInv { padding-bottom: 80px; margin-bottom: -20px;}
section.empty { height: 600px; }
section.parallax {
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}
section > div.transparent { background: none; }


div.nn-map {
  background-image: url('/oapp-res/nn.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 200px;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  font-size: 24px;
  overflow: hidden;
}

div.nn-map > span { display: block; position: relative; }
div.nn-map > h1 { margin: 0; font-weight: normal; margin-bottom: 30px; font-size: 24px !important; }
div.nn-map > span:nth-of-type(1) { left: -40px; }
div.nn-map > span:nth-of-type(2) { left: 110px; }
div.nn-map > span:nth-of-type(3) { left: -150px; }
div.nn-map > span:nth-of-type(4) { left: 70px; }
div.nn-map > span:nth-of-type(5) { margin-top: 30px; }
div.nn-map > h1, div.nn-map > span:nth-of-type(5) { color: #fff; }
@media (max-width: 500px) { div.nn-map > span:nth-of-type(3) { left: -90px; top: -15px; } }


div.intro { display: flex; flex-direction: row; justify-content: center; gap: 20px; }
div.intro > div > img { width: 200px; height: 220px; }
div.intro > div { text-align: left; }
div.intro > div > strong { color: #f49425; letter-spacing: 0.1em; }
@media (max-width: 750px) {
  div.intro { flex-direction: column-reverse; gap: 5px; }
  div.intro > div:first-of-type { display: flex; flex-direction: row; justify-content: flex-start; gap: 10px; }
  div.intro > div:first-of-type > div { flex-grow: 2; }
}
@media (max-width: 520px) {
  div.intro { justify-content: stretch; }
  div.intro > div:first-of-type { flex-direction: column; justify-content: stretch; }
  div.intro > div:first-of-type > img { margin: 0 auto; }
}


a.contact {
  display: block;
  max-width: 320px;
  margin: .5em auto;
  padding: .5em;
  color: #fff;
  padding-left: 55px;
  background-position: left 10px center;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  transition: all .3s;
  box-shadow: 0;
  border-radius: 3px;
}
a.contact span {white-space: nowrap;}
a.contact:hover { color: #222; }

a.contact:nth-of-type(1) { background-image: url('/oapp-res/p_tel.png');}
a.contact:nth-of-type(even) { background-image: url('/oapp-res/p_text.png');}
a.contact:nth-of-type(3) { background-image: url('/oapp-res/p_wa.png');}

a.contact { background-color: #0288d9; }
a.contact:hover { box-shadow: 0 0 4px 2px #0288d999, 0 0 6px 6px #0288d966, 0 0 10px 12px #0288d911; }

section.parallax-1 { background-image: url('/oapp-res/fire2.webp'); }

section.services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}
section.services > div {
  width: clamp(330px, 100%, 1000px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  gap: 10px;
}

section.services > div > h2 { font-weight: normal; font-size: 16px; display: block; width: 180px; min-width: 180px; max-width: 180px; }
section.services > div > p { text-align: left; flex-grow: 2; }
section.services > div > a, section.inspections > div > a { display: inline-block; padding: 5px 15px; background: #5493eb; color: #fff; border-radius: 5px; }
section.services > div > a:hover, section.inspections > div > a:hover { background: #fff; color: #5493eb; }

@media (max-width: 700px) {
  section.services > div {
    width: clamp(330px, 100%, 400px);
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    box-shadow: rgb(38, 57, 77) 0px -15px 30px -10px;
    position: relative;
  }
  section.services > div > h2 { width: 100%; max-width: 100%; }
}



section.inspections > div { position: relative; padding: 0; padding-bottom: 30px; }
section.inspections > div > h2 {
  background: #111;
  background-image: url('/oapp-res/gas_safe.webp');
  background-position: center right 10px;
  background-repeat: no-repeat;
  background-size: 40px auto;
  color: #eee;
  text-align: left;
  padding: 10px;
  padding-right: 50px;
}
section.inspections > div > ul {
  list-style-type: none;
  padding: 20px;
}
section.inspections > div > ul > li { display: block; margin-bottom: 10px; position: relative; z-index: 3; }
section.inspections > div > ul > li::before {
  content: '\2713';
  position: absolute;
  z-index: 0;
  top: 0;
  left: -35px;
  display: inline-block;
  font-size: 35px;
  color: #f49425;
}
section.inspections > div > a { margin-left: 50px; }

div.appliances > h2 { text-align: left; color: #fff; }
div.appliances > h2 > span { color: #f49425; }






a { color: #5493eb; text-decoration: none; }
a:hover {color: #5268ec;}
p { margin: 1em 0; text-align: justify; line-height: 2em; }
@media (max-width: 520px) { p { text-align: left; }}
p span {color: #f49425; white-space: nowrap;}
h2 { letter-spacing: 0.1em; text-align: center; color: #f49425;}
ul { margin-left: 2rem; margin-bottom: .5rem; }
li { margin-bottom: .25rem; }
strong { letter-spacing: 0.1em; }

.tCenter { text-align: center; }
.tLeft { text-align: left; }
.tSmall { font-size: 14px; }
.tBlack { color: #222; }

.bgBlack { background-color: #222; color: #fff; }
.bgWhite { background-color: #fff; color: #222; }

.section { width: 100%; background: #454545; padding: 20px; }
.box {
  width: clamp(330px, 100%, 1000px);
  padding: 1.5em;
  margin: 20px auto;
}

.box.overflow { position: relative; top: 80px; margin-top: -80px;}
.box.overflowInv { position: relative; bottom: 80px;margin-bottom: -80px;}
.section.overflow { padding-top: 80px; margin-top: -20px;}
.section.overflowInv { padding-bottom: 80px; margin-bottom: -20px;}
.box.shadow { box-shadow: rgb(38, 57, 77) 0px -15px 30px -10px; }



.flex {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1em;
}

.servicesLeft, .servicesRight { width: clamp(280px, 48%, 500px); flex-grow: 1; }



.s2 { background: linear-gradient(to bottom, #454545, #777); }

.s3 {
  background-image: url('/oapp-res/fire2.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  height: 600px;
}


label {
  display: block;
  padding: .5em;
  margin: .5em 0;
  background: #262626;
  cursor: pointer;
  font-size: 16px;
  border-bottom: 2px solid #262626;
}
label:hover { background: #444; }

input[type="radio"] {
  margin-right: 1em;
}

input[type="text"], select, textarea {
  display: block;
  margin: .5em 0;
  padding: .5em;
  width: 100%;
  outline: none;
  border: none;
  background: #262626;
  border-bottom: 2px solid #444;
  color: #dedede;
  font-size: 16px;
  font-family: inherit;
}
textarea {
  resize: none;
  height: 5.7em;
}
input[type="submit"] {
  display: block;
  margin: .5em 0;
  padding: .7em .3em;
  width: 100%;
  outline: none;
  border: none;
  background: #ee2227;
  color: #fff;
  font-size: 22px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}
input[type="submit"]:hover { background: #a81316; color: #000; }

::placeholder { color: #f49425; opacity: 1; }
:-ms-input-placeholder { color: #f49425; opacity: 1; }
::-ms-input-placeholder { color: #f49425; opacity: 1; }



.coldSpots {
  width: clamp(250px, 50%, 350px);
  min-height: 100px;
  height: auto;
  margin: 2em auto;
}

div.partners { text-align: center; }
img.partners { width: 300px; height: auto; border: none; }





.footer {
  font-size: 14px;
  padding: 1em;
  margin-bottom: -20px;
}


.s4a {
  background-image: url('/oapp-res/alpha.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: contain;
  height: 600px;
  border-bottom: 2px solid #222;
}

.s4b {
  background-image: url('/oapp-res/baxi.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: contain;
  height: 600px;
  border-top: 2px solid #222;
}

.s4c { padding: 0; margin: 0; }


.notification { color: #5269ec; }
.notification.error { color: #ee2227; }

.abp { display: none; }

.partners { text-align: center; }

.group {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin: 1rem;
  background: #fff1;
  padding: 1rem;
  width: 300px;
  border-radius: 1rem;
}


a.group span { color: #9acfea; }

a.group:hover { color: #e35d60; background: #fff2; }
a.group:hover span { color: #ee2227; }

.group img {
  height: 144px;
  margin: .5rem;
  border-radius: .3rem;
}

.oawf-sec { display: none; }