/* Master layout */

/* colors
	
	--Panel Greens--
	Light green(main) - #ABE22C (rbg - 171,226,44)
	
	Lightest green - #CBFF3D
	Medium green - #80B500
	dark green - #4E7A00
	
	
	--Grays--
	Lightest (button color) - #EBEBEB
	Light (dots bg color) - #D7D7D7
	darker (banner/sub-nav bg color) - #3B3B3B
	even darker (main-nav bg color) - #262626
	darker still (main nav li hover) - #151616 [box shadow instead?]
	

*/

/* fonts 
	
	rockwell bold (headings, one-line banners, main phone number)
	rockwell (main navigation links/headings, h1s??)
	squareserif book (main body/paragraph, sub-nav links, everything else)
	
	roboto ??? (banner heading??)

*/


@font-face {
	font-family:'Rockwell-bold';
	src:url('../fonts/rockwell_bold-webfont.eot'); /* IE8 */
	src:url('../fonts/rockwell_bold-webfont.eot?iefix') format('embedded-opentype'), /* IE9 */
		url('../fonts/rockwell_bold-webfont.ttf') format('truetype'); /* The rest of the world */
}

@font-face {
	font-family:'Rockwell';
	src:url('../fonts/rockwell-webfont.eot'); /* IE8 */
	src:url('../fonts/rockwell-webfont.eot?iefix') format('embedded-opentype'), /* IE9 */
		url('../fonts/rockwell-webfont.ttf') format('truetype'); /* The rest of the world */
}

@font-face {
	font-family:'SquareSerif-book';
	src:url('../fonts/squareserif-book-webfont.eot'); /* IE8 */
	src:url('../fonts/squareserif-book-webfont.eot?iefix') format('embedded-opentype'), /* IE9 */
		url('../fonts/squareserif-book-webfont.ttf') format('truetype'); /* The rest of the world */
}

/*-----*/
@font-face {
	font-family:'Roboto';
	src:url('../fonts/roboto-regular-webfont.eot'); /* IE8 */
	src:url('../fonts/roboto-regular-webfont.eot?iefix') format('embedded-opentype'), /* IE9 */
		url('../fonts/roboto-regular-webfont.ttf') format('truetype'); /* The rest of the world */
}

@font-face {
	font-family:'Roboto-medium';
	src:url('../fonts/roboto-medium-webfont.eot'); /* IE8 */
	src:url('../fonts/roboto-medium-webfont.eot?iefix') format('embedded-opentype'), /* IE9 */
		url('../fonts/roboto-medium-webfont.ttf') format('truetype'); /* The rest of the world */
}

@font-face {
	font-family:'Roboto-bold';
	src:url('../fonts/roboto-bold-webfont.eot'); /* IE8 */
	src:url('../fonts/roboto-bold-webfont.eot?iefix') format('embedded-opentype'), /* IE9 */
		url('../fonts/roboto-bold-webfont.ttf') format('truetype'); /* The rest of the world */
}



/************************************************************
Global styles */

html {

}
body {
	margin:0;
	padding:0;
	font:14pt SquareSerif-book, Times, serif;
}

/* Links */
a:link,
a:visited,
a:hover,
a:active {
	text-decoration:none;
	color:#80b500;
}
a img {
	border:none;
}
img {
	max-width:100%;
}
a[href^="tel:"], #content p a[href^="tel:"]:link, #content p a[href^="tel:"]:visited {
	color:inherit;
	cursor:inherit;
	text-decoration: none;
	
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	font-family:Rockwell, "Times bold", serif;
}

h1 {
	font-size:225%;
}

h2 {
	font-size:215%;
}

h3 {
	font-size:170%;
}

h4 {
	font-size:150%;
}

h5 {
	font-size:120%;
}

/* --- Input Placeholders --- */

::-webkit-input-placeholder { /* WebKit browsers */
    font-style: italic;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    opacity:  1;
    font-style: italic;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    opacity:  1;
    font-style: italic;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    font-style: italic;
}

address {
	font-style:inherit;
}

hr {
	margin:15px auto;
	display: block;
	height:10px;
	width:100%;
	border:none;
	background:url('../images/circles_grn.png') no-repeat center center transparent;
}

hr.gray {
	background-image:url('../images/circles_gray.png');
	opacity: 0.7;
}

hr.lines {
	background: url("../images/dots_darker.png") repeat-x scroll center center rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    height: 3px;
    left: 40px;
    position: absolute;
    /* top: 61%; */
    width: 65%;
    overflow: hidden;
}

.press a {
	color: #262626;
	text-align: left;
}

mark {
	background-color: #ABE22C;
}

/*----------------------------------------------------------
Header Styles */

body > header {
	position: relative;
	border-top:5px solid #ABE22C;
/* 	padding-top:5px; */
	background:url('../images/panels_big_bw.png') repeat center -200px #363636;
	box-shadow: 0 130px 100px -20px #363636 inset;
	/* background-color:#363636; */
	z-index: 1;
	height: 190px;
}

body > header > .header-wrapper > section {
	position: relative;
	margin:0 auto;
	max-width:1000px;
	text-align: right;
}

body > header > .header-wrapper > section:after {
	content:"";
	display: inline-block;
	height:5px;
	width:40%;
	
	background:url('../images/tri-green.gif') no-repeat left center;
	background-size:100% 100%;
	
	position: absolute;
	top:-5px;
	left:16%;
}

#logo {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	height: 105px;
	width: 205px;
	/*background: url('../images/ip_logo.png') no-repeat center center;*/
	
	background: url('../images/ip_logo_color.png') no-repeat center center;
	
	margin-top:15px;
	float:left;
}

#logo a {
	display:block;
	height:100%;
	width:100%;
	
	text-align: left;
	text-indent: -9999px;
}

a.tel-number {
	display: inline-block;
	vertical-align: middle;
	color:#ABE22C;
	font: 95% Rockwell, "Times bold", serif;
	font-weight: bolder;
	letter-spacing:1px;
	margin: 0 20px 0 0;
}

.social {
	list-style: none;
	padding:0;
	display: inline-block;
	vertical-align: middle;
}

.social li {
	display: inline-block;
	vertical-align: middle;
	height:39px;
	width:39px;
	background-image: url('../images/social_sprite.png');
	background-repeat:no-repeat;
}

.social li.google {
	background-position:0 0;
}

.social li.google:hover {
	background-position:0 -40px;
}

.social li.linkedin {
	background-position: -40px 0;
}

.social li.linkedin:hover {
	background-position:-40px -40px;
}

.social li a {
	display: block;
	width:100%;
	height:100%;
	
	text-align: left;
	text-indent: -9999px;
}

.social li + li {
	margin-left:8px;
}

body > header .header-wrapper .social {
	margin-right:10px;
}

#search {
	margin-top:0px;
	margin-right:10px;
	font: 82% SquareSerif-book, Times, serif;
	outline:0;
}

#search input[type="text"] {
	position: relative;
	display: inline-block;
	border:none;
	background-color:#000;
	
	color:#FFF;
	padding:12px 30px 12px 10px;
	width:25%;
	max-width:205px;
	margin-right:-23px;
}

#search input[type="submit"] {
	position: relative;
	right:10px;
	display: inline-block;
	background-color:#000;
	border:none;
	height:22px;
	width:20px;
	
	background:url('/images/icons_sprite.png') no-repeat -48px -20px #000;
	background-size:480%;
	
	text-indent: -9999px;
	text-align: left;
	cursor:pointer;
	
	z-index: 2;
}

/*------ Main Navigation ------*/

#main-nav {
	margin-top:25px;
	background-color:#262626;
}

#main-nav * {
	outline:0;
}

#main-nav ul { /* applies to all lists/menus within main-nav */
	/* list-style: none; */
	padding:0;
}

/* Default link + hover styles across all menus in main-nav */

#main-nav a {
	font-size:90%;
	
	-webkit-transition: font-size 0s ease 0s;
	transition: font-size 0s ease 0s;
}

#main-nav a:link, #main-nav a:visited {
	color:#FFF;
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

#main-nav a:hover, #main-nav a:active,  #main-nav li.sel > a {
	color:#ABE22C;
	-webkit-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}

#main-nav li { /* for box shadow transition */
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

/* Highlight current navigation - top level */

/*
#main-nav li.sel > a {
	color:#ABE22C;
	box-shadow:2px 2px 10px 10px #151616 inset, -2px -2px 10px 10px #151616 inset;
}
*/

/*------- Top Level Navigation Links ---------*/

#main-nav > ul {
	max-width:1050px;
	margin:0 auto;
	text-align: center;
	z-index: 0;
	font-size:0;
}

#main-nav > ul > li {
	/* position: relative; */
	display: inline-block;
	
	font-size:14pt;
}

#main-nav > ul > li + li { /* avoids useless margin */
	/* margin-left:5px; */
}

#main-nav > ul > li > a {
	display: inline-block;
	text-transform:uppercase;
	padding:15px 17px;
}

#main-nav > ul > li:hover, #main-nav > ul > li:active,  #main-nav > ul > li.sel > a {
	box-shadow: 2px 2px 10px 10px #151616 inset, -2px -2px 10px 10px #151616 inset;
}

#main-nav > ul > li > a:hover, #main-nav > ul > li > a:active, #main-nav > ul > li:hover > a,  #main-nav > ul > li.sel > a {
	text-shadow:0px 0px 25px #FFF;
	color:#ABE22C;
}

/*----2nd Tier Navigations menus-----*/

#main-nav > ul > li:hover > ul {
	left:auto;
}

#main-nav > ul > li > ul {
	position: absolute;
	left:-9999px;
	background-color:#3B3B3B;
	width:auto;
	font:90% "Helvetica Neue", Helvetica, Arial, sans-serif;
	z-index: 1;
}


#main-nav > ul > li > ul > li {
	position: relative;
	display: block;
	text-align: left;
}

#main-nav > ul > li > ul > li + li {
	border-top:1px solid #262626;
}

#main-nav > ul > li > ul > li > a {
	display: inline-block;
	padding:15px 70px 15px 20px;
	
	width:100%;
	
	-moz-box-sizing:padding-box;
	-webkit-box-sizing:border-box;
	box-sizing:padding-box;
}

/* Arrow boxes */

#main-nav > ul > li > ul > li > a > span {
	position: relative;
	display: inline-block;
	width:48px;
	height:100%;
	
	/* background-color: ; */
	
	position: absolute;
	right:0;
	bottom:0;
	
	text-indent: -9999px;
	text-align:left;
	
	border-left:1px solid #262626;
}

#main-nav > ul > li > ul > li > a > span:after {
	content:"\02192";
	display: inline-block;
	height:25px;
	width:25px;
	background:url('../images/icons_sprite.png') no-repeat -22px 0;
	
	position: absolute;
	top:50%;
	left:50%;
	margin-top:-13px;
	margin-left:-13px;
}

#main-nav > ul > li > ul > li:hover > a > span:after {
	background-position: -22px -26px;
	
}

#main-nav > ul > li > ul > li:hover > a, #main-nav > ul > li > ul > li.sel > a {
	color:#ABE22C;
	background-color:#303030;
}

#main-nav > ul > li > ul > li.sel > a > span:after {
	background-position: -22px -26px;
}

/*----3rd Tier Navigation menus-----*/

#main-nav > ul > li > ul > li:hover > ul {
	left:100%;
	top:0;
}

#main-nav ul ul ul {
	position: absolute;
	left:-9999px;
	/* background-color:#3B3B3B; */
	background-color:#303030;
	text-align: left;
	min-width:100%;
	z-index: 100;
	
	border-top:1px solid #303030;
}

#main-nav ul ul ul > li {
	display: block;
	/* position: relative; */
	width:100%;
}

#main-nav ul ul ul > li > a {
	position: relative;
	display: inline-block;
	padding:10px 25px 10px 25px;
	width:100%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing: padding-box;
}

#main-nav ul ul ul > li > a:hover, #main-nav ul ul ul > li > a:active {
	/* color:#FFF; */
	color:#ABE22C;
/* 	padding-left:40px; */

}

/*
#main-nav ul ul ul > li > a:hover:before, #main-nav ul ul ul > li > a:active:before {
	content:"\02192";
	color:#ABE22C;
	font-size:150%;
	font-weight:bold;
	line-height:0.5;
	margin-right:5px;
	
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
*/

#main-nav ul ul ul > li:hover {
	box-shadow: 2px 2px 10px 5px #262626 inset, -2px -2px 10px 10px #262626 inset;
}

/* extra padding on lis to account for box shadow */

#main-nav ul ul ul li:first-child a {
	padding-top:14px;
}

#main-nav ul ul ul li:last-child a {
	padding-bottom:14px;
}

/*-------------------------------------------------------------
Fixed navigation */

.fixed #header .header-wrapper #main-nav {
	position: fixed !important;
	width: 100%;
	top: 0 !important;
	z-index: 999;
	margin-top: 0px !important;
	border-top: 5px solid #ABE22C;
}
#header .header-wrapper #main-nav::after {
	content: "";
	display: inline-block;
	height: 5px;
	width: 25%;
	background: url('../images/tri-green.gif') no-repeat left center;
	background-size: 100% 100%;
	position: absolute;
	top: -5px;
	left: 29%;
}
#header .header-wrapper #main-nav > ul::before {
	content: "";
	display: inline-block;
	position: relative;
	top: -5px;
	height: 40px;
	width: 50px;
	background: url('../images/ip_wordless_logo.png') no-repeat left center;
	background-size: contain;
	vertical-align: middle;
	transform: scale(.3);
	opacity: 0;
	transition: all 0.5s ease 0s;
}
.fixed #header .header-wrapper #main-nav ul::before {
	transform: scale(1);
	opacity: 1;
	transition: all 0.5s ease 0s;
}
.is-hidden {
	transition: all 0.5s ease 0s;
	top: -50% !important;
}
.is-visible {
	transition: all 0.5s ease 0s;
	top: 0px !important;
}
#mobile-arrow {
	display: none;
}
#desktop-arrow {
	display: block;
}

/*-------------------------------------------------------------
Footer Styles */

body > footer {
	background:url('../images/tr_panels.png') no-repeat right bottom #000;
	background-size:auto 100%;
	color:#FFF;
}

/* Satisfaction Guarantee */

body > footer > article {
	background-color:#3B3B3B;
	text-align: center;
}


body > footer > article a {
	position: relative;
	display: inline-block;
	font: 105% Rockwell-bold, "Times bold", serif;
	color:#FFF;
	font-style:italic;
	padding:12px 0;
	text-transform: uppercase;
}

body > footer > article a:before {
	content:"";
	display:inline-block;
	height:28px;
	width:11px;
	background:url('../images/icons_sprite.png') no-repeat 2px 2px;
	background-size:800%;
	
	position: absolute;
	right:100%;
	margin-right:15px;
	top:50%;
	margin-top:-14px;
	
	
	
}

#guarantee a {
	color:#ffffff;
}

body > footer > article a:after {
	content:"";
	display:inline-block;
	height:28px;
	width:11px;
	background:url('../images/icons_sprite.png') no-repeat -10px 2px;
	background-size:800%;
	
	position: absolute;
	left:100%;
	margin-left:15px;
	top:50%;
	margin-top:-14px;
}

#foot-nav {
	position: relative;
	margin:30px auto 0;
	max-width:1000px;
}

#foot-nav ul {
	padding:0;
	list-style:none;
}

#foot-nav a:link, #foot-nav a:visited, #foot-nav a {
	color:#FFF;
}

/*----- Top-Level Nav List ----*/
#foot-nav > ul {
	position: relative;
	margin:0 auto;
	padding-bottom:10px;
	max-width: 1000px;
	font-size:80%;
	
	text-align: center;
	
	z-index: 0;
}

#foot-nav > ul:after {
	content:"";
	display: block;
	height:4px;
	width:100%;
	background:url('../images/dot-pattern.png') repeat-x left bottom;
	opacity: 0.3;
	
	position: absolute;
	bottom:0;
	left:0;
	z-index: -1;
}

#foot-nav > ul > li {
	display: inline-block;
	vertical-align: top;
	
	text-align: left;
	
	margin-bottom:20px;
}


#foot-nav > ul > li > a {
	text-transform: uppercase;
	font-family: Rockwell, Times, serif;
}

#foot-nav > ul > li + li {
	display: inline-block;
	vertical-align: top;
	margin-left:35px;
}

/*---- Sub-Nav Lists -----*/

#foot-nav ul ul {
	margin-top:5px;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
}

#foot-nav ul ul > li > a {
	font-size:85%;
}

/* --- Foot-nav Contact List --- */

#foot-nav ul > li:last-child a span {
	color:#ABE22C;
}

#back-to-top {
	display: inline-block;
	height:30px;
	width:30px;
	background-clip:padding-box;
	border-left: 10px solid #000;
	border-right:10px solid #000;
	
	background:url('../images/icons_sprite.png') no-repeat -68px 0 #000;
	
	position: absolute;
	bottom:-10px;
	left:50%;
	margin-left:-25px;
	
	text-indent: -9999px;
	text-align:left;
}

body > footer > section {
	position: relative;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	max-width:1000px;
	margin:0 auto;
	padding:15px 0 30px;
	padding-right:240px;
	-moz-box-sizing:padding-box;
	-webkit-box-sizing:border-box;
	box-sizing:padding-box;
}

body > footer > section > p {
	display: inline;
	font-size:70%;
}

body > footer > section > p + ul {
	margin:0;
	list-style: none;
	padding:0;
	display: inline;
}

body > footer > section > p + ul li {
	display: inline;
	font-size:70%;
}

body > footer > section > p + ul li + li:before {
	content:"/";
	position: relative;
	font-style:italic;
	margin:0 5px 0 0;
	/* color:#ABE22C; */
	
}

body > footer > section p + ul a:link, body > footer > section p + ul a:visited {
	color:#ABE22C;
	text-decoration: underline;
	font-style:italic;
}

body > footer > section .social {
	position: relative;
	
	margin:-20px 0 0 12.5%;
	vertical-align: middle;
}

#jb {
	display: inline-block;
	vertical-align: middle;
	height: 40px;
	width: 140px;
	padding-top: 7px;
	padding-right: 90px;
	background: url('../images/jb_logo.png') no-repeat scroll right center transparent;
	background-size:36% auto;
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -33px;
	color: #CCC;
	font-size: 64%;
	text-align: right;
}

#jb span {
	text-decoration: underline;
}

/************************************************************
Modal */
#simplemodal-container {
	/*min-width:200px;*/
	max-width:800px;
	width:80%;
}

#simplemodal-container .simplemodal-wrap {
	height: auto !important;
}

#modal {
	display:none;
	position:relative;
	background:#fff;
	border-radius: .6em .6em .5em .5em;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align:center;
}

#modal .simplemodal-close {
	position: absolute;
	line-height: 30px;
	right: 10px;
	top: 8px;
	color: #fff;
	font-size: 270%;
	z-index: 5;
	cursor: pointer;
}

#modal header {
	position: relative;
	background-color: #3b3b3b;
	margin: 0 auto 0;
	border-radius: .5em .5em 0 0;
	text-align: center;
}

#modal header h2 {
	margin: 0;
	padding: 0.3em 0;
	color: #ABE22C;
	line-height: 40px;
	font-size: 150%;
}

#modal article {
	padding: 0.7em 10px;
	border-radius: 0 0 0.5em 0.5em;
}

#modal .video-container iframe {
	max-width: 100%;
	max-height: 100%;
}

/*--------------- MOBILE-ONLY NAV BUTTONS ---------------*/

#nav-jump,
#nav-close {
	display:none;
}

/************************************************************
Miscellaneous */

.button, #contact-form input[type="submit"] {
	display: inline-block;
	
	color:#000;
	background-color:#d7d7d7;
	padding:10px 50px;
	font: 85% Rockwell-bold, "Times bold", serif;
	text-transform: uppercase;
	
	border:none;
	outline:0;
	cursor:pointer;
	
	-webkit-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

#content p a.button:link, #content p a.button:visited, #content p a.button:hover, #content p a.button:active {
	text-decoration:none;
}

a.button:hover, a.button:active, #contact-form input[type="submit"]:hover {
	color:#ABE22C;
	text-shadow:1px 1px 9px #ABE22C;
	background-color:#000;
	
	outline:0;
	
	-webkit-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

/* ``--__~~´´ Styles for making iframes responsive ``~~__--´´ */

/* Put iFrame inside this vv */
.frame-contain {
	position: relative;
	height:0;
	overflow: hidden;
	/* padding-bottom:56.25%; */ /* 16:9 aspect ratio */
	
	/* padding-bottom:75%; */ /* 4:3 ratio */
}

.x16-9 {
	padding-bottom:56.25%;
}

.x4-3 {
	padding-bottom:75%;
}

.frame-contain iframe {
	position: absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
}

/* Override default lightbox styles -- consider adding to lightbox css in web resources */

#jb-lightbox > ul {
	top:0;
}

#jb-lightbox #jb-lightbox-close {
	font-size:100%;
	line-height:95%;
	vertical-align: middle;
	text-align: center;
	padding:0;
	height:25px;
	width:25px;

	background-color:#262626;
	
	-webkit-border-radius:50%;
	-moz-border-radius:50%;
	border-radius:50%;
	
	border:2px solid #E2E2E2;
	
	position: absolute;
	top:7px;
	right:-14px;
}

/* Text alignment */
.left { text-align:left !important; }
.center { text-align:center !important; }
.right { text-align:right !important; }

/* Font sizes */
small { font-size:90%; }
big { font-size:115%; }


/* Columns */
.col {
	display:inline-block;
	vertical-align:top;
}

.main {
	width:68.5%;
	max-width:685px;
	text-align:left;
}

.side {
	width:26%;
	max-width: 260px;
	margin-left: 4.5%;
	text-align: center;
}

.third {
	width:31%;
	max-width:260px;
	/* box-sizing:padding-box; */
	padding:0 25px;
}

.third:nth-child(3n-1) {
	margin-left:1.75%;
	margin-right:1.75%;
}

/* Fix extra button padding in Firefox */
input[type="submit"]::-moz-focus-inner {
	border:none;
	padding:0;
	line-height:1;
}

.back-to-top{
	display:none;
	position:fixed;
	right:6em;
	bottom:24em;
	/* background-image:url('/images/layout/crosses.png'); */
	padding:1em;
	border-radius:.5em;
	border:1px solid #262626;
	cursor:pointer;
}
.back-to-top:hover{
	border:1px solid black;
}

/* Other */
.underline { text-decoration: underline; }

/* Highlighed text */
.hl {
	background:#ffa;
	color:#1C262E;
}

/* ------ Print Class ------- */

.print-only {
	display: none;
}
