/* Styles of the competitor comparison pages (/british-gas, /ovo-energy, /home-serve, /home-tree).
   Taken from the old HeatingCompare site's PPCstyle.min.css; only the rules these pages use. */

.hero_section {
    width: 100%;
    height: auto;
    display: flex;
    margin-top: 25px;
}

.hero_section .heroPic {
    background: url('../images/banner_britishgas.png');
    background-size:contain;
    background-repeat:no-repeat;
    width: 600px;
    height: 459px;
    border-radius: 16px;
}


.hero_section .heroPic_main {
    background: url('../images/banner_main.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 600px;
    height: 487px;
    border-radius: 16px;
}

.homeserveBG {
    background: url('../images/banner_homeserve.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 600px;
    height: 459px;
    border-radius: 16px;
}

.hometreeBG {
    background: url('../images/banner_hometree.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 600px;
    height: 459px;
    border-radius: 16px;
}

.ovoBG {
    background: url('../images/banner_ovo.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 600px;
    height: 459px;
    border-radius: 16px;
}

.hero_section .textPanel {
    width: 43%;
    margin-left: 7%;
}

.hero_section h1 {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    color: #323234;
    letter-spacing: -1px;
}

.hero_section p {
    font-family: 'Nunito Sans';
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -1px;
    color: #767677;
}

.hero_section .textPanel .heroFeatures {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
}

.hero_section .textPanel .heroFeatures ul li {
    width: 100%;
    border-radius: 16px;
    padding: 8px 16px;
    margin-bottom: 16px;
    background: #D3F2FA;
    color: #313A3F;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.hero_section .textPanel .heroFeatures ul li img {
    margin-right: 15px;
}

.hero_section .textPanel .heroFeatures small {
    font-size: 10px;
}

.hero_section .textPanel .heroFeatures .heroBtnCont {
    display:flex;
    margin:20px 0 40px;
}

.hero_section .textPanel .heroFeatures .heroBtnCont .heroBtnR {
    background: #DD2127;
    border-radius: 16px;
    border: 1px #DD2127 solid;
    color: #fff;
    padding: 10px 40px;
    font-size: 14px;
}

.hero_section .textPanel .heroFeatures .heroBtnCont .heroBtnW {
    background: #fff;
    border-radius: 16px;
    border: 1px #DD2127 solid;
    color: #DD2127;
    padding: 10px 20px;
    font-size: 14px;
    margin-right:20px;
}

.compare .box2 {
    border-radius: 16px;
    margin: 24px auto;
    padding: 40px 100px;
    background: #fff;
    border: 1px #e3e0d1 solid;
}

.compare .box2 ul.rowBox li {
    padding: 20px 0;
    display: flex;
    border-bottom: 1px solid #e3e0d1;
}

.compare .box2 ul.rowBox li:nth-child(1) {
    border-bottom: 0;
}

.compare .box2 ul.rowBox li:last-child {
    border-bottom: 0;
}

.compare .box2 ul.rowBox li h2 {
    color: #313a3f;
    font-family: 'Roboto Condensed';
    font-weight: bold;
    font-size: 28px;
    text-align: left;
    margin-bottom: 20px;
}

.compare .box2 ul.rowBox li small {
    font-size: 9px;
    display: block;
    line-height: 100%;
    font-weight: 400;
    color: #313a3f;
}

.compare .box2 ul.rowBox li .featureList {
    width: 25%;
    font-size: 18px;
    color: #767677;
}

.compare .box2 ul.rowBox li .homeRes {
    width: 35%;
    text-align: center;
    font-size: 18px;
    color: #0074B6;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
}

.compare .box2 ul.rowBox li .homeRes .brandLogo {
    width:85px;
}

.compare .box2 ul.rowBox li .homeRes i {
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 40px;
    color: #0074b6;
}

.compare .box2 ul.rowBox li .britishGas {
    width: 35%;
    text-align: center;
    font-size: 18px;
    color: #323234;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
}

.compare .box2 ul.rowBox li .britishGas .brandLogo {
    width: 60px;
}

.compare .box2 ul.rowBox li .britishGas i {
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 40px;
    color: #767677;
}

@media only screen and (max-width:1024px) {
    .hero_section .heroPic_main {
        width: 100%;
        min-height: 652px;
        height: auto;
        margin-bottom: 40px;
    }
    .hero_section {
        height: auto;
        flex-direction: column;
    }
    .hero_section .heroPic {
        width: 100%;
        min-height: 614px;
        height: auto;
        margin-bottom: 40px;
    }
    .homeserveBG {
        min-height: 614px;
        height: auto;
        margin-bottom: 40px;
        width: 100%;
    }
    .hometreeBG {
        min-height: 614px;
        height: auto;
        margin-bottom: 40px;
        width: 100%;
    }
    .ovoBG {
        min-height: 614px;
        height: auto;
        margin-bottom: 40px;
        width: 100%;
    }
    .hero_section .textPanel {
        width: 100%;
        margin-left: 0;
    }
}

@media only screen and (max-width:820px) {
    .hero_section .heroPic_main {
        width: 100%;
        min-height: 520px;
        height: auto;
        margin-bottom: 40px;
    }
    .hero_section {
        flex-direction: column;
    }
    .hero_section .textPanel {
        width: 100%;
        margin-left: 0;
    }
    .hero_section .heroPic {
        width: 100%;
        min-height: 460px;
        height: auto;
        margin-bottom: 40px;
    }
    .homeserveBG {
        width: 100%;
        min-height: 460px;
        height: auto;
        margin-bottom: 40px;
    }
    .hometreeBG {
        width: 100%;
        min-height: 460px;
        height: auto;
        margin-bottom: 40px;
    }
    .ovoBG {
        width: 100%;
        min-height: 460px;
        height: auto;
        margin-bottom: 40px;
    }
    .hero_section h1 {
        font-size: 48px;
    }
    .compare .box2 {
        padding: 40px;
    }
}

@media only screen and (max-width:600px) {
    .hero_section .heroPic_main {
        width: 100%;
        margin-bottom: 30px;
        min-height: 377px;
    }
    .hero_section {
        flex-direction: column;
        margin-top:0;
    }
    .hero_section h1 {
        font-size: 40px;
    }
    .hero_section .heroPic {
        width: 100%;
        margin-bottom: 30px;
        min-height: 356px;
    }
    .homeserveBG {
        width: 100%;
        margin-bottom: 30px;
        min-height: 356px;
    }
    .hometreeBG {
        width: 100%;
        margin-bottom: 30px;
        min-height: 356px;
    }
    .ovoBG {
        width: 100%;
        margin-bottom: 30px;
        min-height: 356px;
    }
    .hero_section .textPanel {
        width: 100%;
        margin-left: 0;
    }
    .hero_section h1 {
        font-size: 35px;
    }
    .hero_section .textPanel .heroFeatures small {
        font-size: 10px;
        text-align: left;
    }
}

@media only screen and (max-width:540px) {
    .hero_section .heroPic_main {
        width: 100%;
        margin-bottom: 30px;
        min-height: 408px;
    }
    /*.hero_section {
        margin-top: 85px;
    }*/
    .hero_section h1 {
        font-size: 36px;
    }
    .hero_section .heroPic {
        width: 100%;
        margin-bottom: 30px;
        min-height: 385px;
    }
    .homeserveBG {
        width: 100%;
        margin-bottom: 30px;
        min-height: 385px;
    }
    .hometreeBG {
        width: 100%;
        margin-bottom: 30px;
        min-height: 385px;
    }
    .ovoBG {
        width: 100%;
        margin-bottom: 30px;
        min-height: 385px;
    }
    .compare .box2 ul.rowBox li h2 {
        font-size: 18px;
        margin-bottom: 0px;
    }
    .compare .box2 ul.rowBox li {
        padding: 10px 0;
    }
    .compare .box2 ul.rowBox li .featureList {
        font-size: 16px;
    }
    .compare .box2 ul.rowBox li .homeRes {
        font-size: 16px;
    }
    .compare .box2 ul.rowBox li .britishGas {
        font-size: 16px;
    }
}

@media screen and (max-width:444px) {
    .hero_section .heroPic_main {
        min-height: 335px;
    }
    .hero_section .heroPic {
        min-height: 316px;
    }
    .homeserveBG {
        min-height: 316px;
    }
    .hometreeBG {
        min-height: 316px;
    }
    .ovoBG {
        min-height: 316px;
    }
}

@media screen and (max-width:430px) {
    .hero_section .heroPic_main {
        background: url('../images/banner_main_mob.png');
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
        min-height: 511px;
        background-position: center;
    }
    .hero_section .heroPic {
        background: url('../images/banner_britishgas_mob.png');
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
        min-height: 498px;
        background-position: center;
    }
    .homeserveBG {
        background: url('../images/banner_homeserve_mob.png');
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        min-height: 498px;
        background-position: center;
    }
    .hometreeBG {
        background: url('../images/banner_hometree_mob.png');
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        min-height: 498px;
        background-position: center;
    }
    .ovoBG {
        background: url('../images/banner_ovo_mob.png');
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        min-height: 498px;
        background-position: center;
    }
    .hero_section .textPanel .heroFeatures ul li {
        text-align: left;
    }
    .hero_section p {
        font-size: 16px;
        text-align:left;
    }
    .compare .box2 {
        padding: 20px;
    }
}

@media screen and (max-width:390px) {
    .hero_section h1 {
        font-size: 30px;
        letter-spacing: 0;
    }
}

@media screen and (max-width:380px) {
    .compare .box2 ul.rowBox li h2 {
        font-size: 16px;
        margin-bottom: 0px;
    }
    .compare .box2 ul.rowBox li .homeRes .brandLogo {
        width: 60px;
    }
}

@media screen and (max-width:320px) {
    .hero_section .textPanel .heroFeatures .heroBtnCont .heroBtnR {
        padding: 10px 30px;
    }
}
