/*
	New home page css file
*/

/*New video section*/

section.header.GB div.action a {
	background-color: rgb(237, 27, 36);
	overflow: hidden;
	width: 314px;
}

section.header.GB div.action a:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	background-image: url(/wp-content/themes/angelsense/images/promotions/uk/btn_flag.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	width: 93px;
	height: 57px;
}

section.header.GB div.action p.promotion {
	text-transform: uppercase;
	color: rgb(243, 64, 35);
	font-weight: 600;
	font-size: 1.1rem;
}

section.video {
	padding: 0em calc((100% - 1190px)/ 2);
	padding-top: 3em;
	padding-bottom: 10em;
	background-color: rgb(241, 241, 241);
	background-image: url("/wp-content/themes/angelsense/images/home-page/video_bg.jpg");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	color: #63696d;
	text-align: center;
}

section.video h2 {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 600;
	color: rgb(58, 190, 176);
	margin-bottom: 1em;
	position: relative;
}

section.video h2:after {
	content: "";
	display: block;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	height: 1px;
	background-color: rgba(135, 161, 174, 0.21);
}

section.video div.video {
	position: relative;
}

section.video div.video p {
	font-size: 2rem;
	color: black;
}

section.video div.video span {
	display: block;
	margin-bottom: 0.5em;
	text-align: center;
	font-style: italic;
	font-size: 1.3rem;
}

section.video div.video a {
	display: inline-block;
	position: relative;
	outline: 0;
	transition: all 0.3s;
	z-index: 0;
}

section.video div.video a:hover:before {
	background-color: rgba(0,0,0,.9);
}

section.video div.video a:before {
	content: "";
	position: absolute;
	top: 40%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: rgba(0,0,0,.4);
	background-image: url(/wp-content/themes/angelsense/images/reviews/play-icon-video.png);
	background-repeat: no-repeat;
	background-position: center center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	transition: all 0.3s;
}

section.video div.video img.logo {
	margin-bottom: 1em;
}

section.video div.video img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

span.new:before,
h4.new:before {
    content: "NEW!";
    display: inline-block;
    vertical-align: middle;
    padding: 0.1em 0.7em;
    margin-right: 0.5em;
    background-color: rgb(243, 64, 35);
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

span.new:before {
	border: 1px solid white;
}

section.features ul li img {
	display: block;
	margin: 1em 0em;
	margin-left: auto;
	margin-right: auto;
}

section.features ul div.feature {
	display: block;
}

section.features ul div.feature svg {
	display: inline-block;
	vertical-align: middle;
	width: 2em;
	height: 2em;
	fill: white;
}

section.features ul div.feature span {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 2.5em);
	padding: 0em 0.5em;
	font-size: 1.2rem;
	font-weight: 600;
}

section.features ul div.feature div.bullet {
	display: block;
	margin: 0.7em 0em;
	text-align: center;
}

section.features ul div.feature div.bullet a {
	display: inline-block;
	vertical-align: middle;
	margin: 0em 0.2em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgb(255, 255, 255);
	cursor: default;
}

section.capabilities {
	padding: 0em calc((100% - 1180px)/ 2);
	padding-top: 3em;
	padding-bottom: 5em;
	background-color: white;
	color: #63696d;
}

section.capabilities div.list {
	display: inline-block;
	vertical-align: top;
	padding: 0em 0.5em;
	width: 33%;
}

section.capabilities div.list ul li {
	padding: 1em 0em;
}

section.capabilities div.list ul li img,
section.capabilities div.list ul li svg {
	display: inline-block;
	vertical-align: top;
	padding: 0em 0.2em;
	width: 2.5em;
	height: 2.5em;
	fill: #3abeb0;
	margin-right: 0.5em;
}

section.capabilities div.list ul li div {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 4em);
}

section.capabilities div.list ul li div h4 {
	font-size: 1.2rem;
	color: #3abeb0;
}

section.capabilities figure {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	padding: 0em 0.5em;
	width: 33%;
}

section.testimonials {
	padding: 3em calc((100% - 1180px)/ 2);
	background-color: white;
	color: #63696d;
	position: relative;
	text-align: center;
}

/*section.testimonials div.testimonial a:before {*/
/*	content: '';*/
/*	display: block;*/
/*	height: 110px;*/
/*	width: 110px;*/
/*	margin: 0 auto;*/
/*	background-image: url('../images/home-page/parents-share.jpg');*/
/*	background-repeat: no-repeat;*/
/*	background-position: top left;*/
/*}*/
/*section.testimonials div.testimonial:nth-child(1) a:nth-child(2):before {*/
/*	background-position: -110px -0px ;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(1) a:nth-child(3):before {*/
/*	background-position: -220px -0px ;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(2) a:nth-child(1):before {*/
/*	background-position: -0px -110px ;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(2) a:nth-child(2):before {*/
/*	background-position: -110px -110px ;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(2) a:nth-child(3):before {*/
/*	background-position: -220px -110px;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(3) a:nth-child(1):before {*/
/*	background-position: -0px -220px;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(3) a:nth-child(2):before {*/
/*	background-position: -110px -220px;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(3) a:nth-child(3):before {*/
/*	background-position: -220px -220px;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(4) a:nth-child(1):before {*/
/*	background-position: -0px -330px;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(4) a:nth-child(2):before {*/
/*	background-position: -110px -330px;*/
/*}*/

/*section.testimonials div.testimonial:nth-child(4) a:nth-child(3):before {*/
/*	background-position: -220px -330px;*/
/*}*/


section.testimonials h2 {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 600;
	color: rgb(58, 190, 176);
	position: relative;
}

section.testimonials h4 {
	font-size: 1.8rem;
	color: rgb(58, 190, 176);
	text-transform: capitalize;
}

ul#timeline {
	display: block;
	margin: 4em 0em;
	position: relative;
}

ul#timeline:after {
	content: "";
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 0;
	width: 100%;
	height: 1px;
	background-color: rgb(231, 231, 231);
}

ul#timeline li {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	width: 19%;
}

ul#timeline li img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	width: 1.8em;
	min-height: 3em;
	position: relative;
}

ul#timeline li:first-of-type img {
	width: 1.5em;
}

ul#timeline li:last-of-type img {
	width: 1.5em;
	left: -3px;
}


ul#timeline li span {
	display: block;
	text-align: center;
	text-transform: capitalize;
	position: relative;
	font-size: 1.1rem;
}

ul#timeline li span:before {
	content: "";
	position: absolute;
	bottom: calc(100% + 5px);
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 2px;
	height: 10px;
	background-color: rgb(231, 231, 231);
}

section.testimonials div.testimonial {
	display: block;
	position: relative;
	margin-top: 2em;
	margin-bottom: 25px;
}

section.testimonials div.testimonial:last-of-type {
	margin-bottom: 0;
}

section.testimonials div.testimonial.four,
section.testimonials div.testimonial.three {
	display: none;
}

section.testimonials.show div.testimonial.four,
section.testimonials.show div.testimonial.three {
	display: block;
}

section.testimonials div.testimonial a {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	width: 370px;
	border: 1px solid rgb(231, 231, 231);
	border-radius: 8px;
	padding: 1.5em 2em;
	outline: 0;
	transition: all 0.3s;
}

section.testimonials div.testimonial.show a {
	min-height: 518px;
}

section.testimonials div.testimonial a:nth-of-type(even) {
	margin-left: 25px;
	margin-right: 25px;
}

section.testimonials div.testimonial a img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.5em;
}

section.testimonials div.testimonial a h3 {
	color: black;
	font-size: 0.9rem;
}

section.testimonials div.testimonial a em {
	font-style: italic;;
}

section.testimonials div.testimonial a span {
	display: block;
	text-align: center;
	color: rgb(161, 161, 161);
	font-size: 0.9rem;
}

section.testimonials div.testimonial a div {
	display: block;
	position: relative;
	text-align: left;
	margin-top: 1em;
}

section.testimonials div.testimonial a div:before {
	content: "";
	display: block;
	margin-bottom: 0.5em;
	margin-right: auto;
	background-image: url(/wp-content/themes/angelsense/images/home-page/quote-left.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	width: 1em;
	height: 1em;
}

section.testimonials div.testimonial a div:after {
	content: "";
	display: block;
	margin-bottom: 0.5em;
	margin-left: auto;
	background-image: url(/wp-content/themes/angelsense/images/home-page/quote-right.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	width: 1em;
	height: 1em;
}

section.testimonials div.testimonial a div p {
	display: inline;
	position: relative;
}

section.testimonials div.testimonial a div p br {
	display: none;
}

section.testimonials div.testimonial a div p:after {
	content: "...";
	display: inline-block;
	vertical-align: middle;
	color: rgb(58, 190, 176);
}

section.testimonials div.testimonial.show a div p:after {
	display: none;
}

section.testimonials div.testimonial a div p:last-of-type {
	display: inline-block;
	overflow: hidden;
	opacity: 0.1;
	max-height: 1.5em;
	transition-delay: 0.5s;
	transition: all 0.3s;
}

section.testimonials div.testimonial.show a div p:last-of-type {
	max-height: 200px;
	visibility: visible;
	display: inline-block;
	overflow: hidden;
	opacity: 1;
	transition-delay: 0.3s;
	transition: all 0.5s;
}

section.testimonials a.more {
	display: inline-block;
	padding: 0.3em 1em;
	outline: 0;
	color: rgb(250, 100, 39);
	font-size: 1.2rem;
	position: relative;
	background-color: white;
	z-index: 1000;
	text-transform: uppercase;
	font-weight: 300;
}

section.testimonials a.more:before {
	content: "";
	display: block;
	margin-left: auto;
	margin-right: auto;
	background-image: url(/wp-content/themes/angelsense/images/b2b-HP/arrow_orange.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	width: 1.5em;
	height: 1.5em;
	visibility: hidden;
	opacity: 0;
	transform: rotate(180deg);
}

section.testimonials a.more.show:before {
	visibility: visible;
	opacity: 1;
}

section.testimonials a.more:after {
	content: "";
	display: block;
	margin-left: auto;
	margin-right: auto;
	background-image: url(/wp-content/themes/angelsense/images/b2b-HP/arrow_orange.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	width: 1.5em;
	height: 1.5em;
	visibility: visible;
	opacity: 1;
	position: relative;
}

section.testimonials a.more.show:after {
	visibility: hidden;
	opacity: 0;
}

section.trial {
	padding: 3.5em calc((100% - 500px)/ 2);
	text-align: center;
	background-image: url(../images/home-page/home-trial-bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

section.trial p {
	padding: 0.5em 0em;
	font-size: 1.2rem;
}

section.trial > strong {
	display: inline-block;
	font-size: 1.4rem;
	font-weight: 700;
	padding-bottom: 1em;
}

section.app {
	padding: 2em calc((100% - 1180px)/ 2);
	text-align: center;
	background-color: rgb(241, 241, 241);
}

section.app h4 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 1em;
}

section.app img {
	display: inline-block;
	vertical-align: top;
	margin: 0em 5em;
	width: 200px;
	height: calc(200px * (98 / 300));
}

section.sponsers {
	padding: 3em calc((100% - 1180px)/ 2);
}

section.sponsers div.logo {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	text-align: center;
	width: 175px;
}

section.sponsers div.logo img {
	display: block;
}

section.sponsers div.logo h3 {
	display: block;
	font-weight: 700;
	color: black
}

section.sponsers div.logo p {
	font-weight: 400;
}

section.sponsers div.logo a {
	text-transform: uppercase;
	color: orangered;
}

section.sponsers div.image {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	width: calc(100% - 180px);
	border-left: 1px solid rgb(231, 231, 231);
}

/*Tablet version*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape){
	section.header {
		padding-top: 3em;
		padding-left: calc((100% - 825px)/ 2);
		padding-right: 50%;
		background-image: url(/wp-content/themes/angelsense/images/promotions/january/header-min_opt.jpg);
		background-repeat: no-repeat;
		background-position: center bottom;
		background-size: 100% auto;
		height: calc(100vw * (698 / 1920));
		position: relative;
		text-align: left;
		margin-top: 55px;
	}

	body.sale section.header {
		margin-top: 0px;
	}

	body.sale section.header div.content {
		top: 55%;
	}

	body.gps-for-autism-wandering-a section.header,
	body.gps-for-autism-wandering section.header {
		background-image: none;
		height: auto;
		padding: 0;
	}

	section.header img {
		display: none;
	}

	body.gps-for-autism-wandering-a section.header img,
	body.gps-for-autism-wandering section.header img {
		display: block;
		width: 100%;
	}

	section div.action {
		display: inline-block;
		padding: 0em;
	}

	div.action.holiday {
		background-size: 85% auto;
		width: 408px;
		height: 33px;
		padding-top: 140px;
	}

	div.action.holiday:before {
		top: -35px;
	}

	div.action.holiday h2 {
		font-size: 1.7rem;
	}

	div.action.holiday span {
		font-size: 1.3rem;
	}

	body.GB section.header div.action:before {
		display: none;
	}

	section.header h1 {
		font-size: 2rem;
		font-weight: 700;
		color: #62676b;
		line-height: 1.1em;
		text-align: left;
	}

	body.GB section.header h1 {
		color: #62676b;
	}

	section.header h1 span {
		width: 100%;
		display: block;
		color: rgb(58, 190, 176);
		font-weight: 700;
		line-height: 1.1;
	}

	body.GB section.header h1 span {
		color: #3abeb0;
	}

	section.header p {
		font-size: 1rem;
		margin-top: 0.2em;
		color: rgb(98, 103, 107);
		width: 390px;
	}

	section.header div.action p {
		width: auto;
	}

	body.GB section.header p {
		color: #62676b;
	}

	section.trial p.promotion strong,
	section.header p.promotion strong {
		color: rgb(243, 64, 35);
	}

	section.features img.slogan {
		display: block;
		margin-left: auto;
		margin-right: auto;
		width: 60%;
	}

	section.features ul {
		display: block;
		margin-top: 2em;
	}

	section.features ul li {
		display: inline-block;
		vertical-align: top;
		padding: 0em 0.5em;
		box-sizing: border-box;
		width: 33%;

	}
	section.features ul li svg {
		display: inline-block;
		vertical-align: top;
		width: 2em;
		height: 2em;
		fill: white;
		padding: 0em 0.2em;
	}

	section.features ul li h4 {
		display: inline-block;
		vertical-align: middle;
		font-size: 1.2rem;
		min-height: 3em;
		width: calc(100% - 2em);
	}

	section.capabilities div.list {
		display: inline-block;
		vertical-align: top;
		margin-top: 2em;
		padding: 0em 0.5em;
		width: 33%;
	}

	section.capabilities figure {
		display: inline-block;
		vertical-align: middle;
		margin-top: 2em;
		text-align: center;
		padding: 0em 0.5em;
		width: 33%;
	}

	section.capabilities a.features {
		margin-left: auto;
		margin-right: auto;
		width: 30%;
	}

	section.testimonials div.testimonial a {
		width: 300px;
	}

	section.testimonials div.trust {
		margin-top: 0em;
		width: 30%;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	section.testimonials div.trust span,
	section.testimonials div.trust img {
		display: inline-block;
		vertical-align: middle;
	}

	section.trial {
		padding: 4.5em 15em;
		background-position: -180px center;
	}

	section.trial p {
		padding: 1em 0em;
		font-size: 1.2rem;
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}

	section.trial > strong {
		display: block;
		font-size: 1.4rem;
		font-weight: 700;
		padding-bottom: 1em;
	}

	section.trial span.promotion {
		display: block;
		font-size: 1rem;
	}

	section.app img {
		display: inline-block;
		vertical-align: top;
		margin: 0em 5em;
		width: 150px;
		height: calc(150px * (98 / 300));
	}

	section.video div.video {
		text-align: center;
	}
}

/* Portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	section.header {
		padding-top: 0em;
		padding-left: calc((100% - 825px)/ 2);
		padding-right: 50%;
		background-image: url(/wp-content/themes/angelsense/images/promotions/january/header-min_opt.jpg);
		background-repeat: no-repeat;
		background-position: center bottom;
		background-size: 100% auto;
		height: calc(120vw * (698 / 1920));
		position: relative;
		text-align: left;
		margin-top: 0px;
	}

	body.sale section.header {
		height: calc(100vw * (698 / 1920));
	}

	body.sale section.header div.content {
		top: 55%;
	}

	section.header div.content {
		left: calc(50% - 360px);
		width: 370px;
	}

	div.action.holiday {
		background-size: 75% auto;
		width: 322px;
		height: 140px;
		padding-top: 88px;
		margin-top: -1em;
	}

	section.header a.action {
		font-size: 1.3rem;
	}

	div.action.holiday:before {
		top: -35px;
	}

	div.action.holiday h2 {
		font-size: 1.7rem;
	}

	div.action.holiday span {
		font-size: 1.3rem;
	}

	body.gps-for-autism-wandering-a section.header,
	body.gps-for-autism-wandering section.header {
		background-image: none;
		height: auto;
		padding: 0;
	}

	section.header img {
		display: none;
	}

	body.gps-for-autism-wandering-a section.header img,
	body.gps-for-autism-wandering section.header img {
		display: block;
		width: 100%;
	}

	section div.action {
		display: inline-block;
		margin-top: 1em;
		padding: 0em;
	}

	section.header div.action:before {
		display: none;
	}

	section.header h1 {
		font-size: 1.6rem;
		font-weight: 700;
		color: #62676b;
		line-height: 1.1em;
		text-align: left;
	}

	section.header h1 span {
		width: 100%;
		display: block;
		color: rgb(58, 190, 176);
		font-weight: 700;
		line-height: 1.1;
	}

	body.GB section.header h1 span {
		color: #3abeb0;
	}

	section.header p {
		font-size: 1rem;
		margin-top: 0.2em;
		color: rgb(98, 103, 107);
	}

	body.GB section.header p {
		color: #62676b;
	}

	section.header div.action p.promotion strong {
		display: inline-block;
		color: rgb(243, 64, 35);
	}

	section.header a.action {
		position: relative;
		bottom: auto;
		left: auto;
		transform: none;
	}

	section.features img.slogan {
		display: block;
		margin-left: auto;
		margin-right: auto;
		width: 60%;
	}

	section.trial p.promotion strong,
	section.header p.promotion strong {
		color: rgb(243, 64, 35);
	}

	section.features ul li {
		display: inline-block;
		vertical-align: top;
		padding: 0em 0.5em;
		box-sizing: border-box;
		width: 32%;
	}

	section.features ul li svg {
		display: inline-block;
		vertical-align: top;
		width: 1.5em;
		height: 1.5em;
		fill: white;
		padding: 0em 0.2em;
	}

	section.features ul li h4 {
		display: inline-block;
		vertical-align: middle;
		font-size: 1rem;
		min-height: 3em;
		width: calc(100% - 2em);
	}

	section.features ul div.feature span {
		font-size: 1rem;
	}

	span.new:before, h4.new:before {
		padding: 0.1em 0.5em;
		font-size: 0.9em;
	}

	section.capabilities div.list {
		display: block;
		margin-top: 0em;
		padding: 0em 0.5em;
		width: 100%;
	}

	section.capabilities figure {
		display: none;
	}

	section.testimonials div.testimonial a {
		width: 100%;
		display: block;
		margin: 0;
	}

	section.testimonials div.testimonial a:nth-of-type(2n) {
		margin: 0;
	}

	section.testimonials div.trust {
		width: 50%;
	}

	section.trial {
		padding: 4.5em 10em;
	}

	section.app img {
		display: inline-block;
		vertical-align: top;
		margin: 0em 4em;
		width: 100px;
		height: calc(100px * (98 / 300));
	}

	section.video div.video {
		text-align: center;
	}
}