@import url("//fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Dancing+Script:wght@700&family=Architects+Daughter&family=Roboto+Mono:wght@400;700&display=swap");
@keyframes disolve {
  0% {
    display: block;
    opacity: 1;
    top: calc(50vh - 3em);
  }
  30% {
    opacity: 1;
    top: calc(50vh - 3em);
  }
  100% {
    display: none;
    opacity: 0;
    top: -100vh;
  }
}

* {
  margin: 0;
  border: none;
  padding: 0;
}

body {
  font: normal normal 14px/18px Arial, Helvetica, sans-serif;
  color: black;
}

@media (min-width: 1024px) {
  body {
    background: url(../images/body-bkgd.jpg) repeat-x center top #89a0b8;
  }
}

.no-overflow {
  overflow-x: hidden;
}

@font-face {
  font-family: twCen;
  src: url(../fonts/twCenCondBold.woff);
}

a:link, a:visited {
  color: black;
}

h1, p, #content a {
  margin-left: 15px;
}

#products a {
  margin-left: 0;
}

#products .boilers-product-image {
  width: 100%;
}

h1, h2, #boilers-container dt {
  color: #146ccc;
  /* blue */
  font-size: 30px;
  line-height: 50px;
  font: normal normal 38px/45px twCen, Arial, Helvetica, sans-serif;
}

h1.red {
  color: #c1272d;
}

h2, #boilers-container dt {
  font-size: 25px;
  color: #8d993d;
  /* green */
}

#home #content {
  text-align: center;
}

#home #homepage_boiler {
  margin: 10px auto;
}

@media (min-width: 1024px) {
  #home #homepage_boiler {
    margin-top: 250px;
    width: 270px;
  }
  #home ul, #home form, #home h2, #home p, #home ul {
    margin-left: 15px;
    text-align: left;
  }
}

#content {
  position: relative;
  background-color: white;
  padding-bottom: 30px;
  margin-top: 20px;
  padding: 0 15px 50px;
}

#products #content {
  text-align: center;
}

@media (min-width: 1024px) {
  #content {
    min-height: 600px;
  }
}

#wrapper {
  position: relative;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  #wrapper {
    width: 1000px;
  }
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 88px;
}

header .header-logo {
  max-width: 50vw;
}

header .header-logo img {
  width: 100%;
}

header #selling_points {
  text-align: center;
  line-height: 38px;
  margin: 0;
  width: 100%;
  font-size: 5.3vw;
}

header #selling_points br {
  display: none;
}

header #selling_points .strong {
  display: block;
  animation: blinker 5s linear infinite;
}

header #contacts {
  margin-right: 10px;
  text-align: center;
}

header #contacts h1 {
  /*left: 680px;
			top: 11px;*/
  color: #c1272d;
  font-size: 24px;
  line-height: 1.1em;
  margin: 10px 0 0;
}

header #contacts h1 a:link.phone {
  font-size: 30px;
  margin: 5px;
}

header #contacts .email:link, header #contacts .email:visited {
  display: block;
  margin: 10px 0;
  font-size: 1em;
}

header #contacts p.licence {
  display: block;
  color: #c1272d;
  font-weight: bold;
  text-align: center;
}

header #contacts a:link, header #contacts a:visited {
  color: #c1272d;
  font-size: 22px;
}

header #contacts h1 a:hover, header #contacts #contacts h1 a:active {
  color: #eb5258;
}

@media (min-width: 480px) {
  header {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
  }
  header .header-logo {
    width: 200px;
  }
  header #selling_points {
    width: 360px;
  }
  header #selling_points .strong {
    margin: 2vw 0;
  }
}

@media (min-width: 1024px) {
  header {
    display: block;
    height: 270px;
    max-width: 100%;
  }
  header .header-logo img {
    width: auto;
  }
  header #selling_points {
    position: absolute;
    left: 351px;
    top: 20px;
    width: auto;
    font-size: 2.3rem;
  }
  header #selling_points .strong {
    margin: 0;
  }
  header #selling_points br {
    display: block;
  }
  header #contacts {
    position: absolute;
    left: 678px;
    top: 20px;
    text-align: center;
    width: 300px;
    height: 213px;
  }
  header #order_btn_container {
    position: absolute;
    top: 157px;
    left: 729px;
  }
}

@keyframes blinker {
  50% {
    opacity: 0.4;
  }
}

nav ul li {
  display: inline-block;
  list-style: none;
  background: url(../images/nav-divider.png) no-repeat right top;
  padding: 11px;
  height: 20px;
}

nav ul li a:link, nav ul li a:visited {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

nav ul li a:hover, nav ul li a:active {
  text-decoration: underline;
}

#main_nav {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #146ccc;
  /* blue */
  text-align: center;
}

@media (min-width: 480px) {
  #main_nav {
    left: 0;
    top: -140px;
    height: 86px;
  }
}

@media (min-width: 1024px) {
  #main_nav {
    position: relative;
    top: 0;
    height: auto;
    background: none;
  }
}

#home #content {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  background-color: white;
  padding-bottom: 30px;
  min-height: 600px;
  margin-top: 20px;
}

#home #content h2 a:link, #home #content h2 a:visited, #home #content h2 a {
  font-size: 25px;
  margin: 0;
}

#home #content ul.checkmark li {
  display: inline-block;
  list-style: none;
  background: url(../images/checkmark.jpg) no-repeat left top;
  padding: 4px 0 0 23px;
  font-weight: bold;
}

#home #content ul.checkmark li ul li {
  height: auto;
  padding: 0;
  display: list-item;
  list-style: square;
  background: none;
}

@media (min-width: 1024px) {
  #home #content ul.checkmark {
    width: 570px;
    padding: 0 0 0 15px;
  }
  #home #content ul.checkmark.special {
    margin-left: 195px;
    width: 400px;
  }
  #home #content ul.checkmark li {
    width: 180px;
    height: 25px;
    padding-left: 20px;
    margin-left: -15px;
  }
}

@media (min-width: 1024px) {
  #home #content {
    display: block;
  }
}

.main-banner {
  position: relative;
  border: 18px solid #c5bfb7;
  background-color: #373737;
  text-align: center;
}

.main-banner div.illustration-text {
  color: #aeaeae;
  /* gray */
}

.main-banner div.illustration-text p {
  padding: 0;
}

.main-banner #price_points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-banner #price_points a:link, .main-banner #price_points a:visited {
  color: #c1272d;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.main-banner #price_points a:hover, .main-banner #price_points a:active {
  text-decoration: underline;
}

.main-banner #price_points h1 {
  display: block;
  width: 100%;
}

.main-banner h1 {
  color: #c1272d;
  /* red */
}

.main-banner p {
  margin: 0;
  padding: 0 1em;
  font-size: 21px;
  line-height: 25px;
}

.main-banner ul {
  padding-left: 20px;
  font-size: 20px;
}

.main-banner ul li {
  line-height: 24px;
}

.main-banner #price_points {
  -webkit-column-count: 2;
  /* Chrome, Safari, Opera */
  -moz-column-count: 2;
  /* Firefox */
  column-count: 2;
}

@media (min-width: 1024px) {
  .main-banner {
    width: 1188px;
    height: 394px;
    margin-left: -108px;
    margin-top: 15px;
    text-align: left;
  }
  .main-banner #price_points {
    display: block;
  }
  .main-banner div.illustration-text {
    position: absolute;
    top: 5px;
    left: 367px;
    width: 813px;
  }
  .main-banner img {
    position: absolute;
    top: 27px;
    left: 86px;
  }
  .main-banner p {
    padding: 0 15px;
    width: 770px;
  }
  .main-banner #price_points li a:link, .main-banner #price_points li a:visited {
    display: inline-block;
  }
}

.features-container {
  position: relative;
}

.features-container img {
  width: 385px;
  max-width: calc(100vw - 97px);
}

.features-container h2 {
  font-size: 27px;
  line-height: 1em;
  margin-top: 10px;
}

@media (min-width: 1024px) {
  .features-container {
    width: 570px;
    margin-left: 10px;
  }
  .features-container img {
    position: absolute;
    width: 385px;
    top: 10px;
    left: 590px;
  }
}

footer {
  position: relative;
  clear: both;
  text-align: center;
  min-height: 60px;
  padding-top: 25px;
  background-color: #146ccc;
  /* blue */
  color: #ffd600;
}

footer .social {
  text-align: center;
}

footer .social img {
  margin: 2px;
  height: 39px;
}

footer p, footer li {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

footer p a:link, footer p a:visited, footer li a:link, footer li a:visited {
  color: white;
  text-decoration: none;
}

footer p a:hover, footer p a:active, footer p a:focus, footer p anull, footer li a:hover, footer li a:active, footer li a:focus, footer li anull {
  text-decoration: underline;
}

footer .cc-logo {
  display: block;
  margin: 10px auto;
}

footer .copyright {
  display: inline-block;
  margin: 0 auto;
  text-align: center !important;
}

@media (min-width: 1024px) {
  footer {
    width: 1000px;
    margin-bottom: 50px;
  }
  footer p, footer li {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
  }
  footer p a:link, footer p a:visited, footer li a:link, footer li a:visited {
    color: black;
  }
  footer .copyright {
    margin: 0 131px 0 0;
    transform: translateX(77px);
  }
  footer .social {
    text-align: left;
    position: absolute;
    width: 300px;
    left: 0;
    top: 20px;
  }
  footer .cc-logo {
    position: absolute;
    width: auto;
    left: 765px;
    top: 30px;
    margin: 0;
  }
}

#animation-container {
  display: none;
}

#animation-container #van {
  position: absolute;
  width: 854px;
  left: -1000px;
  top: 230px;
  top: 0;
  left: 0;
}

@media (min-width: 480px) {
  #animation-container {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 100px 0 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  #animation-container {
    display: block;
    position: absolute;
    top: 230px;
    width: 1000px;
    margin: 0 auto;
  }
}

#boilers-container {
  position: relative;
  width: 100%;
  height: 72vw;
  margin-top: 10px;
  text-align: center;
  background-image: url(../images/3-boilders.jpg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
}

#boilers-container dl {
  float: left;
  width: 27vw;
  margin-left: 5px;
  margin-top: 50vw;
}

@media (min-width: 1024px) {
  #boilers-container {
    width: 1000px;
    height: 570px;
  }
  #boilers-container dl {
    float: left;
    width: 264px;
    margin-left: 49px;
    margin-top: 0;
  }
}

body#products #content h1 {
  margin-top: 15px;
  margin-left: 20px;
}

.order-btn:link, .order-btn:visited,
.est-btn:link, .est-btn:visited {
  position: absolute;
  display: block;
  width: 302px;
  height: 113px;
  background: url(../images/order-btn.jpg) no-repeat left top;
  top: 554px;
  left: 39px;
  text-decoration: none;
}

.est-btn:link, .est-btn:visited {
  background: url(../images/estimate-btn.jpg) no-repeat left top;
}

.order-btn:hover, .order-btn:active, .est-btn:hover, .est-btn:active {
  background-position: left bottom;
}

#content ul.checkmark li a:link, #content ul.checkmark li a:visited {
  font-size: 14px;
  text-decoration: none;
  margin: 0;
}

#content ul.checkmark li a:hover, #content ul.checkmark li a:active {
  text-decoration: underline;
}

ul.checkmark ul li {
  background: none;
  font-size: 12px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  height: auto;
  list-style: square;
  display: list-item;
  margin-left: 2px;
}

#repair-form label {
  max-width: 50%;
}

#repair-form input.submit {
  margin: 0;
}

#repair-form .sub-container {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  clear: both;
}

#repair-form .sub-container .checkbox {
  flex: none;
  margin: 10px 5px;
}

#repair-form .sub-container label {
  width: 50%;
  background: none;
  border: none;
}

@media (min-width: 1024px) {
  #repair-form input.submit {
    margin-left: 422px;
  }
  #repair-form .sub-container {
    float: left;
    width: 200px;
  }
  #repair-form .sub-container .checkbox {
    width: auto;
  }
}

label {
  width: 400px;
  border: 1px solid gray;
  background-color: #eee;
  padding: 5px;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  clear: left;
}

select, input, textarea {
  width: 150px;
  border: 1px solid gray;
  padding: 5px;
  height: 30px;
  float: left;
}

input.checkbox {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  display: block;
}

textarea {
  height: 150px;
  margin-bottom: 10px;
}

.right-bar ul li {
  margin-left: 1em;
}

@media (min-width: 1024px) {
  .right-bar {
    position: absolute;
    width: 400px;
    top: 0;
    right: 0;
  }
}

input.submit {
  display: block;
  padding: 5px;
  border-radius: 5px;
  clear: left;
  border: 2px solid green;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 20px;
  margin-left: 422px;
}

input.submit:hover {
  border-color: lime;
  color: green;
  cursor: pointer;
}

ul#seo {
  color: black;
  padding-bottom: 50px;
  text-align: center;
}

ul#seo li {
  display: inline-block;
  text-transform: uppercase;
  margin: 2px;
  font-size: 12px;
}

ul#seo li a {
  display: inline-block;
  margin: 10px;
}

ul#seo li.bold {
  font-weight: bold;
}

@media (min-width: 1024px) {
  ul#seo {
    position: absolute;
    top: 100px;
  }
  ul#seo li a {
    margin: 0;
  }
}

#order_btn_container {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

#order_btn_container a {
  padding: 0.6rem 1rem;
  border-radius: 11px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  color: #ffd800;
  background: #1e5799;
  background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
  background: -webkit-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
  background: linear-gradient(to bottom, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
}

@media (min-width: 1024px) {
  #order_btn_container {
    margin-top: 0;
  }
}

#order_btn_container a:hover, #order_btn_container a:focus {
  color: white;
}

ul.silver-btns li {
  display: inline-block;
  background: url("../images/silver-btn.png") no-repeat right top;
  width: 309px;
  height: 88px;
}

.silver-btns a:link, .silver-btns a:visited {
  width: 302px;
  height: 69px;
  display: inline-block;
  color: white;
  font-size: 20px;
  padding: 18px 6px 0 0;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 23px;
  text-shadow: 2px 2px 2px black;
  font-family: Georgia, serif;
  font-weight: bold;
  opacity: 0.6;
}

.silver-btns a:hover, .silver-btns a:active {
  color: lime;
}

.seasonal {
  display: none !important;
}

.has-border {
  width: auto;
  max-width: calc(100vw - 30px);
  border: 20px solid #c5bfb7;
}

@media (min-width: 1024px) {
  .has-border {
    width: 340px !important;
  }
}
