/*
Plugin Name: RedTwine inSIGHT APP
Plugin URI: http://www.redtwine.net/wp-plugin/red_insight_app
Description: Connects WordPress to the RedTwine inSIGHT iPad App
Author: Lucas Garsha
Version: 2013.10.15
Author URI: http://www.redtwine.net/
Created: 2013-10-15
Modified: 2013-10-15
*/

@font-face {
    font-family: BenchNine;
    src: url(./BenchNine.woff2);
}

@font-face {
    font-family: 'Microsoft Yi Baiti';
    src: url(./msyi.woff);
}



/* Page layout
-----------------------------------------------------------------------------------------------------------*/

.red_insight_wrapper {
	background: transparent;
	width: 100%;
	min-height: 100%;
	position: static; 
	z-index: -2; 	
	height: auto !important;
	height: 100%;
	margin: 0 auto -250px;
}

.recover {
	clear: both;
}

.red_insight_slide_page, .red_insight_slide_deck_page {
	text-align: center;
	margin: 0 auto;
	width: 100%;
}

.push {
	height: 250px;
	display: block;
	width: 100%;
}

.red_insight_slide_content, .red_insight_slide_deck_content {
	background: transparent;
}

.red_insight_slide_content a img, red_insight_slide_deck_content a img {
	padding: 5px;
}

.red_insight_slide_content a img:hover, red_insight_slide_deck_content a img:hover {
	cursor: pointer;
	text-decoration: none;
	background-color: #ff9e00;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(75%, #ff9e00), to(#ffc568));
	box-shadow: inset 0px 0px 8px 0px #c66803; 	
	border-radius: 8px;
}

.red_insight_slide_content a img:active, red_insight_slide_deck_content a img:active {
	box-shadow: inset 0px 0px 16px 0px #c66803; 		
}

.red_insight_slide_deck_grid_item {
	display: inline-block; 
	min-width:210px;
	margin: 5px;
}

.red_insight_slide_deck_grid_item a {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;	
	text-decoration: none;
}

.red_insight_slide_deck_grid_item a:hover {
	text-decoration: none;
}

.red_insight_slide_deck_grid_item img {
	height: 140px; 
}

.red_insight_slide_deck_grid_item h3 {
	text-align: left;
	padding: 10px;
	line-height: 1em;
	font-size: 1em;
	margin: 0;
	text-align: center;
	font-weight: normal;
	clear: none;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
}

.red_insight_slide_deck_list_item a {
	clear: both;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;	
	padding: 5px 0;
	box-shadow: none;
	-webkit-box-shadow: none;
	text-decoration: none;
}

.red_insight_slide_deck_list_item a:hover {
	cursor: pointer;
	text-decoration: none;
	background-color: #ff9e00;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(75%, #ff9e00), to(#ffc568));
	box-shadow: inset 0px 0px 8px 0px #c66803; 	
    -moz-box-shadow: inset 0px 0px 8px 0px #c66803; 	
	-webkit-box-shadow: inset 0px 0px 8px 0px #c66803; 	
	border-radius: 8px;
}

.red_insight_slide_deck_list_item a:active {
	box-shadow: inset 0px 0px 16px 0px #c66803; 		
}

.red_insight_slide_deck_list_item a img {
	background-color: none;
	background: transparent;
	box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 0;
}

.red_insight_slide_deck_list_item a img:hover {
	background-color: none;
	background: transparent;
	box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 0;
}

.red_insight_slide_deck_list_item img {
	display: block;
	width: 105px;
	float: left;
	margin: 10px;
	box-shadow: none;
	-webkit-box-shadow: none;
}

.red_insight_slide_deck_list_item h3 {
	text-align: left;
	padding: 10px;
	line-height: 1em;
	font-size: 1em;
	margin: 0;
	padding-bottom: 0;
	clear: none;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
}

.red_insight_slide_deck_list_item p {
	font-size: 1em;
	color: #555;
	line-height: 1em;
	padding: 0px;
	margin: 5px 0;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
	text-align: left;
}

.red_insight_header {
	background: #000;
	width: 100%;
	margin: 0;
	padding: 10px;
	text-align: left;
	color: #fff;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
}

.red_insight_header img {
	max-width: 105px;
	float: left;
	margin: 10px;
	margin-right: 20px;
}

.red_insight_header h2 {
	text-align: left;
	line-height: 22px;
	font-size: 22px;
	margin: 10px;
	padding: 0;
	clear: none;
	text-transform: uppercase;
	color: #fff;
	font-family: 'Microsoft Yi Baiti', 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-size: xx-large;
}

.red_insight_header h3 {
	text-align: left;
	line-height: 18px;
	font-size: 18px;
	font-weight: normal;
	margin: 10px;
	padding: 0;
	clear: none;
	color: #fff;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
}

.red_link_enc {
	display: none;
}

.red_insight_slide_deck_page_summary {
	padding: 20px;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
	color: rgb(51,51,51);
}

.red_insight_app_summary {
	padding: 20px;
	font-family: 'Source Sans Pro','Helvetica Neue','Segoe UI','MS Sans Serif',sans-serif;
	font-weight: 300;
	color: rgb(51,51,51);
}

@media screen 
and (max-width : 685px) {
	.red_insight_app_summary h1 {
		font-size: 35px;
	}
	
	.red_insight_app_summary p {
		font-size: 25px;
	}	
}

/* iPhone 6 Portrait */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : portrait) { 

	.red_insight_slide_deck_page { 
		font-size: 35px;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_grid_item h3 {
		line-height: 35px;
		font-size: 35px;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_grid_item img {
		height: 280px;
	}	

	.red_insight_slide_deck_page .red_insight_slide_deck_list_item {
		border-top: 1px solid silver;
	}	
	
	.red_insight_slide_deck_page .red_insight_slide_deck_list_item h3 {
		line-height: 35px;
		font-size: 35px;
	}	
	
	.red_insight_slide_deck_list_item img {
		width: 25%;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_list_item img {
		width: 210px;
	}
	
	.red_insight_slide_deck_page_summary {
		font-size: 35px;
		line-height: 35px;
		margin-bottom: 35px;
	}
	
	.red_insight_header img {
		max-width: 210px;
	}	

	.red_insight_header h2 {
		line-height: 40px;
		font-size: 40px;
	}
	
	.red_insight_header h3 {
		line-height: 35px;
		font-size: 35px;
	}

}

/* iPhone 6 Plus Portrait */
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) 
and (orientation : portrait) { 

	.red_insight_slide_deck_page { 
		font-size: 35px;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_grid_item h3 {
		line-height: 35px;
		font-size: 35px;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_grid_item img {
		height: 280px;
	}	

	.red_insight_slide_deck_page .red_insight_slide_deck_list_item {
		border-top: 1px solid silver;
	}	
	
	.red_insight_slide_deck_page .red_insight_slide_deck_list_item h3 {
		line-height: 35px;
		font-size: 35px;
	}	
	
	.red_insight_slide_deck_list_item img {
		width: 25%;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_list_item img {
		width: 210px;
	}
	
	.red_insight_slide_deck_page_summary {
		font-size: 35px;
		line-height: 35px;
		margin-bottom: 35px;
	}
	
	.red_insight_header img {
		max-width: 210px;
	}	

	.red_insight_header h2 {
		line-height: 40px;
		font-size: 40px;
	}
	
	.red_insight_header h3 {
		line-height: 35px;
		font-size: 35px;
	}
	
}

/* iPhone 5/5s Portrait */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) { 

	.red_insight_slide_deck_page { 
		font-size: 35px;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_grid_item h3 {
		line-height: 35px;
		font-size: 35px;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_grid_item img {
		height: 280px;
	}	

	.red_insight_slide_deck_page .red_insight_slide_deck_list_item {
		border-top: 1px solid silver;
	}	
	
	.red_insight_slide_deck_page .red_insight_slide_deck_list_item h3 {
		line-height: 35px;
		font-size: 35px;
	}	
	
	.red_insight_slide_deck_list_item img {
		width: 25%;
	}
	
	.red_insight_slide_deck_page .red_insight_slide_deck_list_item img {
		width: 210px;
	}
	
	.red_insight_slide_deck_page_summary {
		font-size: 35px;
		line-height: 35px;
		margin-bottom: 35px;
	}
	
	.red_insight_header img {
		max-width: 210px;
	}	

	.red_insight_header h2 {
		line-height: 40px;
		font-size: 40px;
	}
	
	.red_insight_header h3 {
		line-height: 35px;
		font-size: 35px;
	}
	
}

	
#red-chart-container {
	page-break-before: always;
	page-break-after: always;
}

#red-map-container {
	page-break-before: always;
	page-break-after: always;
}

@media print {
	#masthead {
		display: none;
	}
	
	header {
		display: none;
	}
	
	footer {
		display: none;
	}

	div#widget-area {
		display: none;	
	}	
	
	div#page-title {
		display: none;	
	}
}