/*
Theme Name: The Heating People
Theme URL: https://theheatingpeople.co.uk
Description: custome theme for the heating people
Author: InHu
Author URI: https://inhu.co
Templrate: HeatingPeople
Version: 1.0.0
License: Copyright The Heating People
*/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 105%;
    font-weight: initial;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
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;
}
html {
    line-height: 1.5; 
    font-size: 105%;
}
body {
    margin: 0;
    
    font-family: Montserrat, Century Gothic, Verdana, sans-serif;
    -webkit-font-smoothing:antialiased;
    -moz-font-smoothing:antialiased;
    overflow-x: hidden;
    background-color: #DEDEDE;
}
a:focus,
button:focus{
    outline: none;
}
h1, h2, h3, h4, h5, h6{
    font-family:"Century Gothic", sans-serif;
    font-weight: bold;
}
h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    min-width: 3rem;
}
.small-h1{
    font-size: 3rem;
    line-height: 3.15rem;
}
h2 {
    font-size: 2.4rem;
    line-height: 2.4rem;
    position: relative;
    color: #DD5B39;
}
h2 span{
    color: #333;
    display: block;
    font-weight: bold;
}


.anchor{
        position: absolute;
        top: -8vw;
}
.quickLink{
    float:right;
    width: 1px;
    height: 1px;
    overflow: visible;
    margin-right: 1vw;
}

h3 {
    font-size: 1.75em;
    margin: 0.1em 0 0.1em 0.1em;
}
h4 {
    font-size: 1.5em;
    margin: 0.1em 0 0.1em 0.1em;
}
h5 {
    font-size: 1.3em;
    margin: 0.1em 0 0.1em 0.1em;
}
hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}
pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}
a {
    background-color: transparent;
    text-decoration: none;
}
abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}
b,
strong {
    font-weight: bolder;
}
code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
img {
    border-style: none;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}
button,
input { /* 1 */
    overflow: visible;
}
button,
select { /* 1 */
    text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}
details {
    display: block;
}
summary {
    display: list-item;
}
template {
    display: none;
}
[hidden] {
    display: none;
}



.vh { 
    position: absolute; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height: 1px; width: 1px; 
    margin: -1px; padding: 0; border: 0; 
}
p{
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
}
main a,
footer a{
    background-color: transparent;
    text-decoration: none;
    color: #efefef;
    font-weight: 600;
    border-bottom: 2px dashed #efefef;
    padding: 0.25rem;
}
a.no-border{
    border-bottom: 0;
}
.no-border-img img,
.no-border-img svg{
    border: 0;
}

.txt-dark-blue-1 a{
    color: #2C3E50;
    font-weight: 600;
    border-bottom: 2px dashed #2C3E50;
}

    

.container .btn{
    margin-top: 2rem;
}
.skip-links a{
    position: fixed;
    left: 0px;
    top: -9rem;
    width: 90%;
    padding: 0.25rem 5%;
    font-size: 3rem;
    outline-offset: -2px;
    z-index:9999;
    text-align: center;
    background-color: #fff;
}

.skip-links a:focus{
    top: 0;
    outline: 3px solid #0F4583;
}
/*site wide variables*/
html{
    font-size: 125%;
    font-size: 1.25em;
    font-size: 19.2px;
}
.full-menu a{
    padding: 0 0.25rem;
    border-bottom: 3px dashed #A5599F;
    color: #A5599F;
}
.full-menu a:hover{
    color: #874f83;
    font-weight: bold;
    border-bottom: 3px dashed #874f83;
}
.full-menu a:focus{
    border: 0;
    outline: 3px solid #A5599F;
    outline-offset: 4px;
}
/* quick fix for the fact that the close button is a link and not a button, WIP / Needs Changing */
.full-menu a.btn:hover,
.full-menu a.btn:focus{
    border: 0;
    outline: 0;
    color: #fff;
    font-weight: normal;
}
.full-menu .btn,
.btn{
    padding: 0.8rem 1.2vw;
    border-radius: 0.35rem;
    color: #fff;
    display: block;
    border: 0;
    font-size: 1.125rem;
    /*text-transform:capitalize;*/
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0px 0px 10px -1px #666;
    font-weight: normal;
}





.btn svg{
    padding-top: 0.1vw;
    height: 1em;
    width: 1em;
    float: right;
    margin-left: 0.4vw;
    margin-right:-0.4vw;
}
.btn.btn-small{
    display: inline-block;
    min-width: 20vw;
    margin-right: 1vw;
}
#site-search{
    padding: 0.35rem 0.6rem 0.7rem 0.4rem;
}
#site-search svg{
    padding: 0;
    margin: 0;
    height: 1.5rem;
    width: 1.5rem;
}
#contact{
    margin-left: 4rem;
}
::-webkit-scrollbar
{
    height: 10px;
    width: 12px;
}

::-webkit-scrollbar-track
{
    border-radius: 10px;
}
::-webkit-scrollbar-thumb
{
    border-radius: 10px;
}


.controls{
    width: 100vw;
    top: 0;
    z-index: 1000;
    height: 4vw;
    background-color: #333;
    position: fixed;
}
.controls .btn{
    width: 20%;
    float: right;
    margin-right: 1vw;
    margin-top: 0.5vw;
    display: inline-block;
    right: 0;
}


header{
    padding: 0.25rem;
    position: fixed;
    width: 100%;
    z-index: 999;
    top:0vw;
    height: 11vw;
}
header .background{
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
}
header .background svg{
    width: 100vw;
}
.header-container{
    width: 75vw;
    height: 6vw;
    position: absolute;
    top:0;
    right:0;
}



.logo{
    width: 20.3vw;
    margin: 0.5vw;
    float:left;
    height: 9vw;
    box-shadow: 0 0 0 0px #fff;
    position: relative;
    border-radius: 0.5vw;
}
.logo svg{
    width: 100%;
}
.logo:focus{
    box-shadow: 0 0 0 0px #fff, 0 0 0 0.18vw #0F4583;
}
.logo-square{
    display: none;
}
nav.main{
    padding: 1.2vw 0.75vw 1.6vw 0.75vw;
    -ms-transform: translate(0,0);
    transform: translate(0,0);
    position: relative;
    float:right;
    font-size: 1.2rem;
}
nav.main li{
    float: left;
    margin-right: 1.8rem;
}
nav.main a{
    float:left;
}
nav.main a.link{
     line-height: 3.2rem;
     color: #333;
}


nav.main .btn{
    text-align: center;
    font-weight: normal;
}
nav.main .submenu{
    position: absolute;
    top: 4vw;
    padding: 2vw;
    background-color: #fff;
    border-radius: 0 0 1.5vw 1.5vw;
    display: none;
    font-size: 1.2rem;
    font-weight: bold;
}
nav.main .submenu li{
    display: block;
    width: 100%;
}
nav.main .submenu li a{
    display: block;
    width: 94%;
    padding: 1% 2%;
    border-radius: 1vw;
    margin-bottom: 0.5vw;
}
nav.main .submenu li a:hover{
    background-color: #eee;
}
nav.main .submenu li a:focus{
    box-shadow: 0 0 0 0.1vw #fff, 0 0 0 0.25vw #23648e;
}


nav.main .submenu.openSub{
    display: block;
}
.search-open nav.main{
    -ms-transform: translate(0,-5rem);
    transform: translate(0,-5rem);
}
.search-box{
    position: absolute;
    top: 0;
    right: 0;
    -ms-transform: translate(100vw,0);
    transform: translate(100vw,0);
    padding: 1.4rem 3.6rem 0.75rem 0.75rem;
}
.search-open .search-box{
    -ms-transform: translate(0,5rem);
    transform: translate(0,5rem);
}
.search-box input{
    font-size: 1.25rem;
    padding: 0.65rem;
    width: 30vw;
    margin-bottom: 0.5rem;
    display: inline-block;
    border: 0;
    border-radius: 8px;
    outline: none;
}
.search-box .btn{
    display: inline-block;
    margin-left: 1rem;
    line-height: 1.75rem;
    cursor: pointer;
}
.full-menu{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    -ms-transform: translate(0,-150vh);
    transform: translate(0,-150vh);
    padding: 3rem;
    z-index: 9999;
    background-color: #fff;
}
.menu-open .full-menu{
    -ms-transform: translate(0,0);
    transform: translate(0,0);
}
body.menu-open{
    overflow: hidden;
}
.full-menu ul{
    max-width: 60%;
}
.full-menu ul ul{
    max-width: 100%;
    margin-left: 2rem;
    margin-right: 2rem;
}
.full-menu li{
    margin-bottom: 1rem;
}
.full-menu li a{
    font-size: 1.25rem;
}


.menu-bg{
    fill: #fff;
}


#open-menu,
#close-menu{
    display: none;
}

input:focus,
input:hover{
    outline-offset: -0.5rem;
}




/**********COLOURS***********/
.orange{
    fill: #DD5B39;
    background-color: #DD5B39;
}



/**********END COLOURS********/




/***********main************/
main{
    width: 85%;
    margin: 0 auto;
    min-height: 50vh;
    background-color: #fff;
    box-shadow: 0px 0px 20px -1px #333;
}


section,
footer{
    width: 100%;
    display: block;
    position: relative;
}
section:after{
    content: "";
  clear: both;
  display: table;
}


.col1-4{
    width:24.9%;
    float: left;
}
.col1-2{
    width:50%;
    float: left;
}
.col2-5{
    width:40%;
    float: left;
}
.col3-5{
    width:60%;
    float: left;
}
.col1-3{
    width:34%;
    float: left;
}
.col2-3{
    width:66%;
    float: left;
}


.holder{
    padding: 1vw 3.5vw;
}
.opener{
    margin-top: 14vw;
}

.welcome{
    color: #DD5B39;
}
.welcome span{
    color: #333;
    font-size: 3rem;
    line-height: 3rem;
    font-weight: bold;
    display: block;
}

.large{
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0;
    margin: 0;
}
.cta-top{
    margin-left: -7vw;
    width: 55vw;
    padding: 0.35rem;
    background-color: #fff;
    z-index: 99;
    position: relative;
    box-shadow: 0px 0px 15px -1px #666;
    border-radius: 0.35rem;
}
.cta-top .btn{
    padding: 1.3rem 1rem;
}

.home-baby{
    position: relative;
}



.home-baby img{
    display: block;
    width: 105%;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 15px -1px #333;
}

.quote-calc{
    position: absolute;
    top: 30vw;
    right: -5vw;
    max-width: 16vw;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 15px -1px #666;
    padding: 1vw;
    font-weight: bold;
}


.pad-section{
    padding: 3rem 0;
}

.science h2{
    margin-top: 3vw; 
    font-size: 3.5rem
} 

.nopad-left{
    padding-left: 0;
}



.logos svg{
    fill: #fff;
    padding: 1vw 2vw;
}

.home-offset-list{
    width: 100%;
    margin-top: 1rem;
}
.home-offset-list li{
    padding: 0.75rem;
    border-radius: 0.35rem;
    background-color: #fff;
    box-shadow: 0px 0px 15px -1px #666;
    margin-top: 3rem;
    width: 70%;
}

.home-offset-list li:after{
    content: "";
  clear: both;
  display: table;
}


.home-offset-list li svg{
    width: 5vw;
    float: left;
    padding: 0.5rem 1vw;
}

.home-offset-list li h3{
    font-size: 1.8rem;
}
.home-offset-list li p{
    margin: 0;
    margin-top: -0.5rem;
    font-size: 1rem;
}
.home-offset-list li:nth-of-type(2){
    margin-left: 8%;
}
.home-offset-list li:nth-of-type(3){
    margin-left: 16%;
}

.contact img{
    display: block;
    width: 105%;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 15px -1px #333;
}

/**********end main**********/



/**************pages***************/

main.normal-page{
    margin-top: 42vw;
    border-radius: 0.5rem;
    width: 70%;
    margin-bottom: 5vw;
}



.page-hero .bg-image{
    width: 100%;
    position: relative;
    
}
.page-hero .bg-image:after{
    content: "";
  clear: both;
  display: table;
}


.page-hero .bg-image img{
    position: fixed;
    display: block;
    top: 0;
    left: 0;;
    width: 100%;
    z-index: -1;
}

.page-hero .heading{
    padding: 2vw 3vw;
}

main a{
    color: #333;
    border-bottom: 2px dashed #444;
}
a:focus{
    outline: transparent;
    outline-offset: 4px;
    box-shadow: 0 0 0 0px #fff, 0 0 0 0.18vw #0f4583;
}

main.normal-page ul {
    list-style: circle;
    margin-left: 3rem;
}
main.normal-page ol {
    margin-left: 3rem;
}

main.normal-page h2, 
main.normal-page h3{
    margin-top: 3rem;
}

main.normal-page img{
    max-width: 100%;
    display: block;
    margin: 2rem auto;
}
main.normal-page .img-block,
.home-blog .img-block{
    width: 100%;
}


main.normal-page a.img-block.wrap,
.home-blog a.img-block.wrap{
    display: block;
    margin-bottom: 2.6rem;
    border: 0;
}



main.normal-page .img-block.wrap h2,
.home-blog .img-block.wrap h2{
    margin: 0;
}

main.normal-page .img-block img,
.home-blog .img-block img{
    max-width: 25%;
    margin: 0.5rem 2rem 0rem -6rem;
    background-color: #fff;
    border: 2px solid #fff;
    padding: 0.5rem;
    float: left;
}


main.normal-page .img-block:after,
.home-blog .img-block:after{
    content: "";
  clear: both;
  display: table;
}


.side-nav{
    position: relative;
    float: right;
    max-width: 30vw;
    text-align: center;
    padding: 1rem;
    border-radius: 2rem;
    box-shadow: 0px 0px 15px -1px #333;
    margin: -6.5vw -6.5vw 2rem 2rem;
    background-color: #fff;
    
}

.side-nav-inner{
    padding: 1.5rem;
    background-color: #eee;
    border-radius: 1rem;
}

.side-nav strong{
    font-size: 2.3rem;
    color: #DD5B39;
    margin-bottom: 1rem;
    display: block;
}

.side-nav ul{
    margin: 0!important;
}



.side-nav ul li{
    list-style: none;
    margin-bottom: 1rem;
    margin-left: 0;
}


/**************end pages************/

@media only screen and (max-width: 1350px) {
 html{
    font-size: 16px;
    font-size: 100%;
    font-size: 1em;
}
    
}


@media only screen and (max-width: 780px) {
    
        .col1-3,
.col2-3,
.col1-4,
.col2-4,
.col3-4,
.col1-5,
.col2-5,
.col3-5,
.col1-5-special,
.col2,
.col1-2{
     width: 100%;
     margin-left: 0;
     margin-right: 0;
     margin-bottom: 6vw;
}

.logos .col1-4{
    width: 49.5%;
}


   header{
    background-color: #fff;
    height: 10vw;
}


header .background{
    display: none;
} 
  
.logo {
    width: 21vw;
}

.header-container {
    height: 12vw;
    width: 100vw;
}

nav.main{
    padding: 10vw 0.75vw 1.6vw 0.75vw;
    width: 100%;
    min-height: 100vh;
    position: absolute;
    top: -150vh;
    left: 0;
    background-color: #fff;
    transform: translate(0,0);
    
}
nav.main.open{
    transform: translate(0,150vh);
}

nav.main a {
    float: none;
}
nav.main li {
    float: none;
    margin: 0.5rem 5vw;
    width: 85%;
}

nav.main .btn{
    width: 100%;
}




nav.main .submenu{
    position: relative;
    display: block;
    top: 0;
    display: none;
}
nav.main .submenu li{
    margin: 0.35rem 2vw;
}


#open-menu{
    position: absolute;
    top: 2vw;
    right: 3vw;
    display: block;
}

#close-menu{
    display: block;
}


#site-search{
    padding: 0.5rem 2.5vw;
    display: none;
}
#site-search .vh{
    position: initial;
    overflow: auto;
    clip:initial;
    height:auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
}
#site-search svg{
    display: none;
}
.hid{
    display: none!important;
}


.home-baby{
    max-height: 60vw;
    overflow: hidden;
}


.quote-calc{
    max-width: 72vw;
    top: 18vw;
    position: absolute;
    right: 5vw;
}

.pad-section.science {
    padding-left: 5%;
    width: 90%;
    overflow: hidden;
}

.home-offset-list li{
    width: 80%;
}


.home-offset-list li svg{
    width: 12vw;
}

.home-offset-list li h3{
    font-size: 1.6rem;
}


.boiler{
    display: none;
}




main.normal-page{
    margin-top: 35vw;
    border-radius: 0.5rem;
    width: 90%;
    margin-bottom: 5vw;
}


.page-hero .heading{
    padding: 3vw 5vw;
}

main.normal-page .img-block img{
    width: 90%;
    max-width: 90%;
    margin: 1rem auto;
    float: none;
}


}



@media only screen and (max-width: 540px) {
    
 html{
    font-size: 14.5px;
    font-size: 90%;
    font-size: 0.9em;
}

}


/*************FORM***************/
label{
    display: block;
    font-weight: bold;
    margin: 1vw 0 0.2vw 0;
}
input, textarea{
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2rem;
}
