/*White text*/
.w-text {
	color: #fff;
	margin: 0;
}
/*Dark blue text*/
.db-text {
	color: #0C0A3E;
	margin: 0;
}
.tblue-text {
	color: var(--tertiary-color-light);
	margin: 0;
}

/*Heading fonts*/
h1 {
    font-size: calc(2rem + 2vw);
    line-height: calc(2rem + 2vw);
	font-weight: bold;
}
h2 {
    font-size: calc(1.6rem + 1vw);
    line-height: calc(1.8rem + 1vw);
	font-weight: bold;
}
h3 {
    font-size: calc(1.4rem + .8vw);
    line-height: calc(1.6rem + 1vw);
}
h4 {
    font-size: calc(1.2rem + .6vw);
    line-height: calc(1.4rem + .8vw);
}
h5 {
    font-size: calc(0.8rem + 0.4vw);
    line-height: calc(1rem + 0.4vw);
}
p, li {
    font-size: calc(0.9rem + 0.3vw);
    line-height: calc(1.7rem + 0.3vw);
}
span {
    font-size: calc(0.6rem + 0.4vw);
    line-height: calc(0.8rem + 0.3vw);
}

/*Buttons*/
.main-btn {
	min-width: 250px;
	width: 50%;
	max-width: 300px;
	text-align: center;
	border-radius: 10px;
	padding: .75rem;
	font-size: 1.5rem;
	color: #fff;
	border: 5px solid var(--secondary-color);
	transition: .1s all linear;
}
.main-btn:hover {
	background-color: var(--secondary-color);
	color: #fff;
	text-decoration: none;
}

main section {
	min-height: inherit;
}

/*Home page*/
/*Hero Section*/
#hero-section {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto auto;
	grid-row-gap: 1rem;
	padding: 0;
    background-color: var(--tertiary-color);
    margin-top: 3rem;
}
#hero-img-container {
	grid-row: 1 / 3;
	grid-column: 2;
	margin-left: auto;
}
#hero-img {
	width: 100%;
	height: auto;
	max-width: 1250px;
}
#title {
	grid-row: 1;
	grid-column: 1;
	margin: auto 0 0 10%;
 	display: flex;
	flex-direction: column;
	grid-gap: 1rem;
	width: 80%;
	max-width: 600px;
}
#title p {
	font-size: 1.5rem;
}
#title-btn {
	grid-column: 1;
	grid-row: 2;
	margin: 0 0 auto 10%;
}

/*Carousel Form*/
#carousel-form {
	grid-gap: 1rem;
	background-color: var(--main-color-light);
}
#carousel-form h2 {
	letter-spacing: 1px;
}
#progress-bar-container {
    height: 1rem;
    width: 100%;
	max-width: 650px;
    border: 1px solid #CFCFCF;
    border-radius: 2rem;
    padding: 2px;
}
#bar {
	height: 100%;
	border-radius: 2rem;
	background-color: var(--main-color);
	transition: .3s all ease-in-out;
}
#slider-form {
	width: 100%;
	max-width: 650px;
	margin: 0 auto;
}
.slide.active {
    visibility: visible;
}
.slide {
	visibility: hidden;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-grid-row: 1;
    grid-row: 1;
    -ms-grid-column: 1;
    grid-column: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
	grid-gap: 1rem;
	justify-content: space-between;
}
.slide span {
	font-size: 1.5rem;
}
.slide-input {
	padding: .5rem 0;
	font-size: 1.25rem;
}
.slide-input label {
	text-indent: .75rem;
}
.slide-input input {
	width: 100%;
	padding: .25rem;
	text-indent: .75rem;
    min-height: 60px;
    border: 1px solid #000;
    border-radius: 1rem;
}
.slide-btn-container {
	display: flex;
	justify-content: space-between;
}
.slide-btn-container button {
	font-size: 1.2rem;
	font-weight: bold;
	background-color: var(--main-color);
	color: #fff;
	transition: none;
	box-shadow: none;
}
.slide-btn-container button:disabled {
	opacity: .5;
}
/*Info Section*/
#info-section {
	display: flex;
	flex-direction: column;
	grid-gap: 4rem;
}
.info-header {
	display: flex;
	width: 100%;
	max-width: calc(4rem + 1230px);
    text-align: center;
    align-items: center;
    flex-direction: column;
}
.info-header h2 {
	width: 60%;
}
/*Stepped line page divider*/
.stepped-line {
	display: grid;
	grid-template-columns: 20% 60% 20%;
	width: 100%;
	height: 3rem;
}
.stepped-line .top-line {
	height: 100%;
	width: 100%;
	border-top: 3px solid var(--secondary-color);
}
.stepped-line .middle-line {
	height: 100%;
	width: 100%;
	border-left: 3px solid var(--secondary-color);
	border-bottom: 3px solid var(--secondary-color);
	border-right: 3px solid var(--secondary-color);
}

/*Text and picture container*/
#info-container {
	display: flex;
	flex-direction: column;
	grid-gap: 2rem;
}
.info-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 4rem;
	align-items: center;
}
/*Text block styling*/
.info-sub-heading {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: 1px;
}
.info-block p {
	margin: 0;
	width: 100%;
	max-width: 600px;
}
.info-img {
	width: 100%;
	height: auto;
	max-width: 600px;
}
/*Picture shadows*/
.left-shadow {
	box-shadow: -15px 15px var(--tertiary-color-light);
	margin: 0 0 15px 15px;
}
.right-shadow {
	box-shadow: 15px 15px var(--tertiary-color-light);
	margin: 0 15px 15px 0;
}

/*Stairlift Section*/
.stairlifts-header {
	margin: 0 auto;
	padding: 3rem 2rem 0;
}
.stairlifts-header .stepped-line {
	transform: rotate(180deg);
}
#stairlift-section {
	margin: 0 auto;
	padding: 3rem 0 5rem;
	grid-gap: 2rem;
	justify-content: space-between;
	width: 90%;
	max-width: calc(4rem + 1230px);
}
.stairlift-card {
	width: 100%;
	max-width: 400px;
	display: grid;
	grid-template-rows: 4rem auto auto auto;
	grid-gap: 2rem;
}
.stairlift-card-bg {
	display: block;
	border-radius: 5px;
	grid-row: 2 / 5;
	grid-column: 1;
	background-color: var(--main-color-light);
}
.stairlift-card-img {
	width: auto;
	height: 250px;
	border: 5px solid var(--main-color);
	grid-row: 1 / 3;
	grid-column: 1;
	margin: 0 auto;
}
.stairlift-card h3 {
	grid-row: 3;
	grid-column: 1;
	margin: 0;
	text-align: center;
}
.stairlift-card p {
	grid-row: 4;
	grid-column: 1;
	margin: 0;
	padding: 0 4rem 7rem;
	text-align: center;
}

/*CTA Section*/
#cta-section {
	display: flex;
	position: relative;
	flex-direction: column;
	grid-gap: 2rem;
    background-color: var(--tertiary-color);
	align-items: center;
	justify-content: center;
	text-align: center;
}
#cta-section h2, #cta-section p {
	margin: 0;
}
/*Blocks*/
#left-blocks, #right-blocks {
	position: absolute;
	display: flex;
	align-items: flex-end;
	width: 20%;
	height: 30%;
}
#left-blocks {
	top: 0;
	left: 0;
	transform: rotate(180deg);
}
#right-blocks {
	bottom: 0;
	right: 0;
}
.tall-block {
	height: 100%;
	width: 50%;
	border-left: 3px solid var(--secondary-color);
	border-top: 3px solid var(--secondary-color);
}
.short-block {
	height: 50%;
	width: 50%;
	border-left: 3px solid var(--secondary-color);
	border-top: 3px solid var(--secondary-color);
}


/*Quote Section*/
#quote-section {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-template-rows: auto auto auto;
	grid-gap: 2rem;
}
#quote-heading {
	grid-column: span 3;
	grid-row: 1;
	text-align: center;
}
#quote-sub {
	grid-column: span 3;
	grid-row: 2;
	text-align: center;
}
#quote-grid {
	display: grid;
	overflow: hidden;
}
/*Slide animations*/
@keyframes rightSlide {
  0% {
 	opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
	opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes leftSlide {
  0% {
	opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
	opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes outLeft {
	0% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	75% {
		opacity: .75;
	}
	100% {
		opacity: 0;
		-webkit-transform: translate3d(-00%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}
}
@keyframes outRight {
	0% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	75% {
		opacity: .75;
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}
/*Individual quote*/
.quote-content {
	grid-column: 1;
	grid-row: 3;
	display: grid;
	grid-template-columns: auto auto auto;
	grid-template-rows: auto auto auto auto;
	grid-row-gap: 1rem;
	padding: 2rem 3rem;
	background-color: var(--main-color-light);
	opacity: 0;
    pointer-events: none;
    user-select: none;
	z-index: 0;
}
.quote-content.active {
	opacity: 1;
    z-index: 1;
}
.quote-content.active.right-slide {
	-webkit-animation-name: rightSlide;
	animation-name: rightSlide;
	animation-duration: .75s;
	opacity: 1;
    z-index: 1;
}
.quote-content.active.left-slide {
	-webkit-animation-name: leftSlide;
	animation-name: leftSlide;
	animation-duration: .75s;
	opacity: 1;
    z-index: 1;
}
.quote-content.out-right {
	-webkit-animation-name: outRight;
	animation-name: outRight;
	animation-duration: .5s;
}
.quote-content.out-left {
	-webkit-animation-name: outLeft;
	animation-name: outLeft;
	animation-duration: .5s;
}
.left-quotes {
	width: 50px;
	grid-column: 1;
	grid-row: 1;
}
.quote-text {
	grid-column: 2;
	grid-row: 1 / 3;
	padding: 2rem;
	margin: 0;
	max-width: 650px;
}
.right-quotes {
	width: 50px;
	margin-top: auto;
	grid-column: 3;
	grid-row: 2;
}
.customer-name {
	grid-column: 2;
	grid-row: 3;
	text-align: center;
}
#left-arrow {
	grid-column: 1;
	background-image: url(/assets/v2_images/left-arrow.svg);
	margin-left: auto;
}
#right-arrow {
	grid-column: 3;
	background-image: url(/assets/v2_images/right-arrow.svg);
	margin-right: auto;
}
.quote-arrow {
    grid-row: 3;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: transparent;
    height: 44px;
    width: 80px;
    border: none;
    cursor: pointer;
    padding: 0;
	box-shadow: none;
	transition: .1s all linear;
}
.quote-arrow:hover {
	opacity: .5;
}
.quote-indicator-container {
	grid-row: 4;
	grid-column: 2;
	display: flex;
	grid-gap: 1rem;
	margin: 0 auto;
}
.indicator-circle {
	width: 1rem;
	height: 1rem;
	border-radius: 1rem;
	background-color: #c4c4c4;
	transition: .5s all ease-in;
}
.indicator-circle.active {
	background-color: #000;
}

/*Footer*/
#footer-main {
	display: flex;
	flex-direction: column;
	padding: 2rem 5rem;;
	width: 100%;
}
#footer-main h5 {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
.footer-logo-container {
	margin: auto 0 auto auto;
}
.footer-row {
	display: flex;
	grid-gap: 4rem;
	width: 100%;
}
.footer-column{
	max-width: 150px;
}
.footer-column .list-unstyled {
	display: grid;
	grid-gap: .5rem;
	opacity: .6;
}
#footer-main .nav-link {
	font-size: 1rem;
}
.footer-cr {
	display: flex;
    flex-direction: column;
    margin-left: auto;
    text-align: right;
}
.info-footer-links {
	display: flex;
	grid-gap: .75rem;
}
#copyright-text {
	font-size: 14px;
	opacity: .6;
}

/*~~~~~~Responsiveness Styling~~~~~*/
@media only screen and (max-width: 1600px) {
	/*Heading fonts*/
	main h1 {
		font-size: 2.5rem;
	}
	main h2 {
		font-size: 1.75rem;
	}
	
/*	Hero Section*/
	#title p {
	font-size: 1.2rem;
	}
	
/*	Info Section*/
	#info-section {
		padding: 3rem;
	}
	.info-sub-heading {
		font-size: 1.3rem;
	}
}

/*Medium Screen*/
@media only screen and (max-width: 1100px) {
/*	Info Section*/
	.info-block {
		grid-template-columns: auto;
		grid-template-rows: auto auto;
		grid-gap: 2rem;
	}
	.info-block p {
		grid-column: 1;
		grid-row: 1;
	}
	.info-img {
		grid-column: 1;
		grid-row: 2;
	}
}

@media only screen and (max-width: 968px) {
	/*Hero Section*/
	#hero-section {
		margin-top: 4rem;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		grid-gap: 2rem;
		padding: 3rem 1rem;
	}
	#title {
		grid-row: 1;
		grid-column: 1;
		align-items: center;
		text-align: center;
		margin: 0 auto;
	}
	#hero-img-container {
		grid-column: 1;
		grid-row: 2;
		margin: 0 auto;
	}
	#hero-img {
		margin: 0;
		border-radius: 50%;
		width: 300px;
		height: 300px;
		object-fit: cover;
		border: 10px solid var(--secondary-color);
	}
	#title-btn {
		grid-row: 3;
		grid-column: 1;
		margin: 0 auto;
	}
	
	/*Info Section*/
	.info-header {
		grid-gap: 1rem;
		max-width: 600px;
	}
	.info-header h2 {
		width: 100%;
	}
	.stepped-line {
		height: 1.5rem;
	}
	
	/*Stairlift Section*/
	#stairlift-section {
		flex-direction: column;
	}
	
	/*Quote Section*/
	#quote-section {
		grid-gap: 1rem;
    	padding: 3rem .5rem;
	}
	#quote-grid {
		grid-row: 3;
		grid-column: span 3;
		max-width: 600px;
		margin: 0 auto;
	}
	.quote-content {
		padding: 1rem;
	}
	.quote-text {
		padding: 1rem;
	}
	#left-arrow, #right-arrow {
		grid-row: 4;
	}
	.left-quotes, .right-quotes {
		width: 30px;
	}
	
/*	Footer tablet*/
	#footer-main {
		padding: 2rem;
		grid-gap: 2rem;
	}
	#footer-main .nav-link{
		padding: 0;
	}
	.footer-row {
		display: grid;
		grid-template-columns: 50% 50%;
		grid-gap: 1rem;
	}
	.footer-logo-container {
		display: none;
	}
	.footer-cr {
		margin-left: 0;
		text-align: center;
		align-items: center;
	}
}

/*~~~~~Small Screen~~~~~*/
@media only screen and (max-width: 600px) {
	/*Hero Section*/
	#hero-img {
		width: 250px;
		height: 250px;
	}
	
	/*Info Section*/
	#info-section {
		padding: 2rem;
		grid-gap: 2rem;
	}
	.left-shadow, .right-shadow {
		box-shadow: none;
		margin: 0;
	}
	
/*	Stairlift Section*/
	.stairlift-card p {
		padding: 0 2rem 4rem;
	}
	
	/*CTA Section*/
	#left-blocks, #right-blocks {
		width: 15%;
		height: 10%;
	}
	
	/*Quote Section*/
	.quote-arrow {
		transform: scale(.9);
	}
}







