/* IE/Edge Responsive Viewport */

@-ms-viewport {
	width: device-width;
}

/* Offer Expired Resets */

.offer-expired {
	background: url(/_img/toolbox/icons/icon_important-60.png) no-repeat center 15px, linear-gradient(#d00, #800);
	border-radius: 4px;
	padding: 80px 1em 1em;
	text-align: center;
	width: auto;
	min-height: 0;
}

/* General Rules */

body {
	font-family: Montserrat, Tahoma, Verdana, Segoe, sans-serif;
	font-size: 100%;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
	font-family: Kanit, 'Franklin Gothic Heavy', 'Franklin Gothic', 'ITC Franklin Gothic', Arial, sans-serif
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

h2,
.h2 {
	color: #c54746;
}

.caption {
	font-size: 0.75em;
	font-weight: normal;
}

img {
	height: auto;
	max-width: 100%;
}

@media (min-width:40em) {
	body { font-size: 100%; }	
}

@media (min-width:60em) {
	body { font-size: 115%; }	
}

@media (min-width:80em) {
	body { font-size: 120%; }	
}

/* Layout Rules */

.content {
	margin: 0;
	padding: 0;
}

.wrap {
	margin: 0 auto;
	max-width: 33em;
	padding: 0.1em 1em;
}

/* Header Rules */

.header {
	background: #c54746 url(https://www.awai.com/_img/toolbox/p/cai/cai_control_collage.jpg) top left no-repeat;
	background-size: cover;
	padding: 0.1em 1em;
}

.header .wrap {
	max-width: 60em;
}

.header h1 {
	color: #fff;
	margin: 0.5em auto 0.75em;
	max-width: 17em;
	text-shadow: 0 0.1em 0.1em rgba(0,0,0,0.4);
}

.header-image.image-frame {
	margin: 0 auto 2em;
	max-width: 16.7em;
	transform: rotate(5deg);
}

.header-copy {
	background-color: #fff;
	box-shadow: 0 1.1em 1.1em -0.6em rgba(0,0,0,0.5);
	border-radius: 0.25em;
	margin: 0 auto 2em;
	max-width: 36.25em;
	padding: 0.1em 1em;
}

.sold-out-note {
	background-image: url('/_img/toolbox/p/car/car_note_background.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 0.1em 1em;
}

.sold-out-note .wrap {
	background-color: #fff;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
	margin: 1em auto 1em;
}

@media (min-width:33em) {
	.header h1 { font-size: 3.5em; }
}

@media (min-width:45em) {
	.header .wrap {
		margin: 0 auto 3em;
		
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-pack: center;
		-moz-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-align-content: space-between;
		-ms-flex-line-pack: justify;
		align-content: space-between;
		-webkit-box-align: center;
		-moz-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	
	
	.header-image {
		transform:
		rotate(5deg)
		translateX(-1.1em);
		
		-webkit-box-ordinal-group: 2;
		-moz-box-ordinal-group: 2;
		-webkit-order: 1;
		-ms-flex-order: 1;
		order: 1;
		-webkit-box-flex: 0;
		-moz-box-flex: 0;
		-webkit-flex: 0 0 16.7em;
		-ms-flex: 0 0 16.7em;
		flex: 0 0 16.7em;
	}
	
	.header-copy {
		transform: translateX(1.1em);
		z-index: 2;
		
		-webkit-box-flex: 1;
		-moz-box-flex: 1;
		-webkit-flex: 1 1 auto;
		-ms-flex: 1 1 auto;
		flex: 1 1 auto;
	}
	
	.header-image.image-frame,
	.header-copy {
		margin: 0;
	}
}

@media (min-width:71em) {
	.header-image {
		float: right;
	}

	.header-copy {
		float: left;
	}
}

/* Content Rules */

.image-frame {
	background: #eee;
	background: linear-gradient(#eee, #fff);
	border-radius: 0.25em;
	box-shadow: 0 1em 1em -0.5em rgba(0,0,0,0.4);
	margin: 1em auto 2em;
	max-width: 480px;
	padding: 1em;
	text-align: center;
}

blockquote,
.sidebar,
.session {
	box-shadow: 0 0.9em 0.9em -0.6em rgba(0,0,0,0.3);
	font-size: 0.9em;
	margin: 1em auto 2em;
	padding: 0.1em 1em;
}

blockquote,
.sidebar {
	background-color: #ffffd6;
	width: 85%;
}

.session {
	background-color: #e7f9ff;
}

.session h3 {
	background-color: #56b657;
	border-radius: 0.25em;
	box-shadow: 0 0.8em 0.8em -0.5em rgba(0,0,0,0.2);
	color: #fff;
	margin-bottom: 1.5em;
	max-width: 17em;
	padding: 0.25em 0.25em 0.4em;
}

.session h4 {
	color: #000;
	font-size: 1.25em;
}

.image-group {
	margin: 1em auto;
	max-width: 70em;
	padding: 0.1em 2em;	
}

.image-group > .image-frame {
	margin: 0 auto;
	transform: rotate(5deg);
}

.image-group > .image-frame:nth-child(even) {
	transform: rotate(-5deg);
}

.testimonial-group {
	margin: 0 auto -1em;
	max-width: 46em;
	padding: 0.1em 1em;	
}

.testimonial-group > blockquote {
	background-color: #e8ffd6;	
	max-width: 37em;
}

.portrait {
	background-color: #a9eaff;
	border-radius: 0.25em;
	box-shadow: 0 0.9em 0.9em -0.6em rgba(0,0,0,0.3);
	margin: 1em auto;
	max-width: 150px;
	padding: 0.5em;
}

.important-news {
	padding: 0.4em 1em;
}

.pos-rel > img {
	display: none;
}

.indie-flower {
	font-family: 'Indie Flower', cursive;
}

@media (min-width:25em) {
	.portrait-right {
		float: right;
		margin: 0 0 1em 1em;
	}	
}

@media (min-width:54em) {
	.image-group {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-direction: normal;
		-moz-box-direction: normal;
		-webkit-box-orient: horizontal;
		-moz-box-orient: horizontal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-moz-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-align-content: center;
		-ms-flex-line-pack: center;
		align-content: center;
		-webkit-box-align: center;
		-moz-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	
	.image-group > .image-frame {
		margin: 0;
		
		-moz-box-flex: 0;
		-webkit-flex: 0 1 360px;
		-ms-flex: 0 1 360px;
		flex: 0 1 360px;
	}
}

@media (min-width:47.5em) {
	.testimonial-group {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: justify;
		-moz-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-align-content: stretch;
		-ms-flex-line-pack: stretch;
		align-content: stretch;
		-webkit-box-align: stretch;
		-moz-box-align: stretch;
		-webkit-align-items: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
	}
	
	.testimonial-group > blockquote + blockquote {
		-webkit-box-flex: 1;
		-moz-box-flex: 1;
		-webkit-flex: 0 1 42%;
		-ms-flex: 0 1 42%;
		flex: 0 1 42%;
	}
	
	.testimonial-group > blockquote {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-align-content: stretch;
		-ms-flex-line-pack: stretch;
		align-content: stretch;
	}
	
	.testimonial-group > blockquote > p {
		margin-top: 0;
	}
	
	.testimonial-group > blockquote > :last-child {
		-webkit-box-flex: 1;
		-moz-box-flex: 1;
		-webkit-flex: 1 1 100%;
		-ms-flex: 1 1 100%;
		flex: 1 1 100%;
		-webkit-align-self: flex-end;
		-ms-flex-item-align: end;
		align-self: flex-end;
	}
}

@media (min-width: 62.5em) {
	.pos-rel{
		position: relative;
	}

	.pos-rel > img {
		display: block;
	}

	.arrow {
		display: block;
		position: absolute;
		left: -120px;
		top: -45px;
		width: 100px;
		height: 200px;
	}
}

/* Order Buttons */

a.order-button {
	background: #ff811b;
	background: -webkit-linear-gradient(top,  #ff9a43 0%,#ff6c06 100%);
	background: linear-gradient(to bottom,  #ff9a43 0%,#ff6c06 100%);
	border-radius: 0.25em;
	box-shadow: 0 0.9em 0.9em -0.6em rgba(0,0,0,0.3);
	color: #fff;
	display: inline-block;
	font-family: Kanit, sans-serif;
	font-weight: bold;
	font-size: 1.75em;
	line-height: 1.2;
	margin: 0.5em auto;
	padding: 0.33em 1em 0.5em;
}

a.order-button:hover, 
a.order-button:focus, 
a.order-button:active {
	color:#ff3;
}

a.order-button:active {
	background: #d36b18;
	background: -webkit-linear-gradient(top,  #d18945 0%,#d25a06 100%);
	background: linear-gradient(to bottom,  #d18945 0%,#d25a06 100%);
}

/* Artificial Breaks */

#until-now { max-width: 14.5em; }
#huge-market { max-width: 15.5em; }
#seminar-name { max-width: 13em; }
#you { max-width: 12em; }
#something-else { max-width: 15em; }
#add-up { max-width: 14em; }
#doing { max-width: 12em; }
#act-now { max-width: 14em; }
#come-on { max-width: 7em; }
#limited-invitation	{max-width: 12em;}
#indie-flower {max-width: 24em;}
#claim {max-width: 13em;}

/* Utility Classes */

.clearfix { display: block; }