* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary-color: #cc0000;
    --secondary-color: #1a202c;
    --bg-color: #ebeced;
    --text-color: #4a4a4a;
    --white-color: #fff;
    --black-color: #000;
}

body .wrap {
	background: #ebeced;
}

.mainSection {
    display: flex;
    justify-content: center;
    background: var(--bg-color);
    line-height: 1.5;
}

.subSections {
	background: var(--white-color);
	border-radius: 15px;
	width: 100%;
	max-width: 1550px;
	margin: 40px auto;
	padding: 40px;
	position: relative;
}

h2 {
	text-align: center;
	margin-bottom: 15px;
    font-size: 32px;
    line-height: 1.3;
}

.allOptions {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.sglOption {
	width: 270px;
	max-width: 100%;
	text-align: center;
	position: relative;
}

.mneBox {
	background: #f7f7f7;
	cursor: pointer;
	box-shadow: none;
	border-radius: 10px;
	transition: 0.2s;
	outline: rgb(204 0 0 / 20%) solid 2px;
	min-height: 305px;
	padding: 20px 0 0;
	display: flex;
	flex-direction: column;
}

.noHoverImg .mneBox {
	min-height: 280px;
}

.mneBox img {
	margin: 0 auto;
	width: 170px;
	transition: width 0.25s;
}

.mneBox p {
	font-size: 16px;
	color: var(--black-color);
	margin-bottom: 5px;
	font-weight: 600;
}

.infoFaIcon {
	color: var(--black-color);
}

.infoFaIcon i {
	font-size: 24px;
	padding: 8px;
}

.infoFaIcon, .infoHoverTxt {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
}

.moreInfoTxt {
	display: none;
	font-size: 14px;
    padding: 0 8px;
    color: var(--text-color);
}

.infoHoverTxt {
	display: none;
	padding: 8px;
	font-size: 18px;
}

.mob_scr {
	display: none;
}



/***********Postcode Section CSS*************/

input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
	background: var(--white-color);
	color: var(--text-color);
	border: 1px solid #ccc;
	max-width: 100%;
	border-radius: 7px;
	font-size: 20px;
	padding: 8px 12px;
	line-height: 1.6;
}

input::placeholder, select::placeholder, textarea::placeholder {
	color: #ccc;
}


input[type="button"]{
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	border-radius: 7px;
	box-shadow: 0px 0px 0px -7px rgba(0,0,0,0);
    padding: 8px 16px;
    border: 0;
    line-height: 1.6;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}

.form_postcode_search {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 400px;
	margin: 0 auto;
}

.form_address_selection #dropdown {
	width: 100%;
}

.form_postcode_search input[type="button"], .boiler-quote-form-button input[type="button"] {
	background: var(--primary-color);
	width: 100%;
	color: var(--white-color);
}
.form_postcode_search input[type="button"]:hover, .boiler-quote-form-button input[type="button"]:hover {
	background: var(--secondary-color);
}
.back_step_button {
	position: relative;
	left: -20px;
	bottom: -15px;
	font-size: 21px;
	cursor: pointer;
	background: var(--primary-color);
	color: var(--white-color);
	padding: 10px 10px;
	border-radius: 50px;
}
.back_step_button:hover {
	background: var(--secondary-color);
	color: var(--white-color);
}


/***********Details Section CSS*************/

.fd_col {
	box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
	padding: 30px;
	width: 550px;
	max-width: 100%;
	margin: 20px auto 0;
}
.subPara {
	text-align: center;
	font-size: 18px;
	margin-bottom: 15px;
}

.boiler-quote-form-fields input {
	width: 100%;
}
.boiler-quote-form-fields {
	margin-bottom: 10px;
}
.form_required_error {
	display: none;
	color: #f14668;
	text-align: left;
	padding: 5px;
    font-size: 16px;
}

.sepator {
	height: 3px;
	background-color: #c6cbcf;
	width: 50%;
	margin: 20px auto;
}


.get_touch input[type="checkbox"] {
    display: none;
}


.get_touch .terms-conditions {
    position: relative;
    padding-left: 36px;
}

.get_touch .terms-conditions::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    position: absolute;
    left: 4px;
    top: 2px;
    border-radius: 2px;
    cursor: pointer;
}

.get_touch input[type="checkbox"]:checked ~ label::before {
	background: var(--primary-color);
	content: "\f00c";
	font-family: "FontAwesome";
	color: var(--white-color);
	text-align: center;
	line-height: 0.8;
}

.terms-conditions {
    margin-bottom: 20px;
}

.get_touch .quote-form__checkbox-wrapper {
	width: 100%;
	text-align: left;
	display: flex;
	margin-top: 20px;
	font-size: 18px;
}

.quote-form__checkbox-wrapper label .quote-form__checkbox-content a {
	color: var(--primary-color);
	font-weight: bold;
	text-decoration: none;
}

.quote-form__checkbox-wrapper label .quote-form__checkbox-content a:hover {
    text-decoration: underline;
}

.our_promise h3 {
	background: var(--primary-color);
	padding: 10px;
	color: var(--white-color);
	font-size: 20px;
}

.our_promise ul.promiseList {
	border: 2px solid var(--primary-color);
	padding: 15px;
	margin: 0;
}
.our_promise ul li {
	display: flex;
	gap: 5px;
	align-items: baseline;
	font-size: 20px;
}
.our_promise ul li:not(:last-child) {
	margin-bottom: 5px;
}
.promiseList i {
	color: #27754e;
}


/***********Modal Popup CSS Start Here*************/


.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  animation: fadeIn 0.4s;
}

/* Modal Content - Centered */
.modal-content {
	position: relative;
	background-color: #fefefe;
	width: 700px;
	max-width: 90%;
	margin: 10% auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	animation: slideIn 0.4s;
	padding: 30px;
}

/* The Close Button */
.modal-close {
	color: var(--white-color);
	font-size: 28px;
	font-weight: bold;
	background: var(--primary-color);
	border: 0;
	padding: 2px 8px;
	line-height: 1;
	border-radius: 50px;
	position: absolute;
	right: 5px;
	top: 5px;
}

.modal-close:hover,
.modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

#whyNeedTRV {
	font-size: 18px;
	text-align: center;
	cursor: pointer;
	font-weight: normal;
	border: 1px solid var(--black-color);
	width: fit-content;
	margin: 0 auto 15px;
	padding: 5px 10px 5px 3px;
	border-radius: 50px;
	background: var(--bg-color);
	line-height: 1;
}
#whyNeedTRV:hover {
	background: rgba(204, 0, 0, 0.1);
}
#whyNeedTRV i {
	font-size: 20px;
}
#trvInfoDrawer header h4 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.3;
}

#trvInfoDrawer .drawer-content p {
	margin-bottom: 15px;
}

#trvInfoDrawer .drawer-content ul {
	margin-left: 30px;
	list-style: none;
}
#trvInfoDrawer .drawer-content ul li::before {
	content: "\f00c";
	position: absolute;
	font-family: fontawesome;
	font-weight: normal;
	margin-left: -23px;
}


/***********Modal Popup CSS Close Here*************/










@media only screen and (min-width: 768px) {
.mneBox:hover {
    outline: 1px solid var(--primary-color);
}

.mneBox:hover img {
    width: 110px;
}

.mneBox:hover .moreInfoTxt {
    display: block;
}

.mneBox:hover .infoHoverTxt {
    display: block;
    background: var(--primary-color);
    color: var(--white-color);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.noHoverImg .mneBox:hover img {
    width: 170px;
}




}



@media only screen and (max-width: 767px) {
.subSections {
    margin: 30px auto;
    padding: 30px 20px;
}

.mneBox {
	min-height: auto;
	padding: 5px;
}

.noHoverImg .mneBox {
	min-height: auto;
}

.sglOption {
	width: 600px;
}

.mneBox {
	min-height: auto;
	padding: 5px;
	flex-direction: row;
	justify-content: start;
	align-items: center;
	position: relative;
}

.mneBox p {
	margin-bottom: 0;
}

.hde_mb, .desk_scr  {
    display: none;
}

.infoFaIcon {
    position: absolute;
    width: 50px;
    bottom: auto;
    left: auto;
    right: 5px;
    top: 0;
    cursor: pointer;
}

.infoFaIcon.mob_scr {
	height: 58.75px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.mneBox img {
	width: 65px;
	margin: 0;
}

.allOptions {
	gap: 15px;
}
.moreInfoTxt {
    background: #f7f7f7;
    padding: 12px 8px 8px;
    margin-top: -5px;
    border-radius: 0 0 10px 10px;
    outline: rgb(204 0 0 / 20%) solid 2px;
}

.infoFaIcon i {
	font-size: 21px;
	padding: 0;
}


h2 {
    margin-bottom: 15px;
	font-size: 21px;
}
.fd_col {
	padding: 20px;
}
.our_promise ul.promiseList {
	padding: 10px;
}
.our_promise ul li {
	font-size: 17px;
}


.modal-content {
	padding: 20px;
}
#trvInfoDrawer header h4 {
	font-size: 21px;
}
#whyNeedTRV {
	font-size: 16px;
}
#whyNeedTRV i {
	font-size: 18px;
}


}



