/*  

Theme Name: NX01 - Business Wordpress theme With drag & drop front end editor.
Theme URI: http://epicthemes.net
Description: A powerful responsive Wordpress Theme with a great front end drag and drop admin system. Custom post types and built in modules. Great options panel. Dynamic image resizing.
Version: 1.4
License: GNU General Public License
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Author: epicthemes
Author URI: http://epicthemes.net
Tags: two-columns, fixed-width, theme-options, right-sidebar, threaded-comments



Table of contents:

#1  CSS Reset 
#2  Globals
#3  Typography
#4  Structure
#6  Menus - Primary menu - Mobile menu - Footer menu
#7  Images
#8  Video
	
#10  Classes
#11  Required Wordpress classes



! Styles specific for the modules are in /library/css/modules.css.
  The media queries for responsive layout are in separate css-files. 
  
  Look in /library/css/responsive-mobile.css and /library/css/responsive-tablet.css
	
*/




/*  #1 	RESET 
================================================== */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }
		

/*  #2  GLOBALS
================================================== */ 

body, html{
	font-family: Arial, sans-serif;
	font-weight:normal; 
	line-height:20px;
	font-size:12px; 
	color:#000; 
	background: #fff;
	margin:0;
	padding:0;
	position: relative;
	min-height:100%;
	}
	
	body,html {height:100%;}
	
	
/*  #3 TYPOGRAPHY
================================================== */

 	
	h1, {font-family: georgia, serif; font-weight: normal;}
	h2,h3,h4,h5 {font-family: Arial, Helvetica,sans-serif; font-weight: normal;}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit;  color:inherit; }
	h1 { font-size:35px; line-height:1.4em; margin:0 0 10px 0; color:#202020; /* letter-spacing: -.07em; */}
	h2 { font-size:19px; line-height:1.4em; margin:0 0 10px 0; color:#202020; }
	h3 { font-size:15px; line-height:1.4em; margin:0 0 10px 0; color:#202020; }
	h4 { font-size:14px; line-height:1.3em; margin:0 0 10px 0; color:#303030; }
	h5 { font-size:13px; line-height:1.3em; margin:0 0 10px 0; color:#303030; }
	h6 { font-size:11px; line-height:1.3em; margin:0 0 10px 0; color:#303030; letter-spacing:1px; text-transform:uppercase;	}
	h7 { font-size:15px; line-height:1.3em; margin:0 0 10px 0; color:#000; }
        h8 { font-size:20px; line-height:1.1em; margin:0 0 10px 0; color:#000; font-family:"Times New Roman", Times, serif; font-weight: bold}
	h9 { font-size:26px; line-height:1.1em; margin:0 0 10px 0; color:#000; }


	h1.pagetitle {  padding-bottom:10px; margin-bottom:14px; background: url(library/images/title-border.png) repeat-x bottom;}
		
	p  { margin:0 0 20px 0; font-weight: 400; }
	
	em { font-style: italic; }
	strong { font-weight: bold;}
	small { font-size: 11px; line-height:1.2em; color:#aaa;}
	
	blockquote, blockquote p
	blockquote {
		
		margin-left: 110px; 
		margin-bottom:0px;
		margin-right: 110px; 
		}

	hr { border:none; clear: both; margin: 20px 0 20px; height:2px; background: url(library/images/title-border.png) repeat-x bottom; }
	div.hr{display:block; clear:both; height:1px; padding:0; margin:0; background: url(library/images/hr_dotted_d4d4d4.png);}
		
	code {
		display: block;
		font-family: 'Courier New', Courier, monospace;
		clear: both;
		}
		
	span.boxed-title {
		padding:5px 8px 5px; 
		font-size:11px; 
		background: #333;
		color:#eee; 
		border-radius:2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		letter-spacing: 1px;
		text-transform: uppercase;
		margin-bottom: 20px !important;
		text-shadow: none;
		}

	
	
	/*  # LINKS */

	a { color: #c7604c; text-decoration: none; outline: 0;}
	a:hover { color: #888; }
	
	p a { line-height: inherit; }
	
	/*  # LISTS */
	ul, ol {margin:20px 0 20px 0; padding:0; }
	ul { list-style: none; }
	ol { list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 20px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc { list-style: disc outside; }
	ul ul, ul ol,
	ol ol, ol ul { margin:10px 0 10px 20px;   }
	ul ul li, ul ol li,
	ol ol li, ol ul { margin-bottom: 2px; }
	li { line-height: 18px; padding:2px 0; }
	ul.large li { line-height: 21px; }
	li p { line-height: 21px; }

	
	/* List - check */
	div.check ul {list-style-image: url(library/images/list_icon_check.png); margin-left:20px; }
	div.disc ul {list-style-type: disc; margin-left:20px; }
	

	
/*  # SITE STRUCTURE
================================================== */

#fader {display:none; height:100%; width:100%;}

#wrapper{ margin:0 !important; background-color:#fff;}
		
#content {
	margin:0;
	padding:0;
	clear: both;
	height:100%;
	}

#content-inner{
	margin:0 auto;
	position: relative;
	z-index: 1;
	padding:0;
	
	
	}
	
.article-wrapper{
	float:left;
	width:100%;
	display: block;
	position: relative;
		}
.blog-wrapper{
	float:left;
	width:100%;
	display: block;
	position: relative;
	}
	

article {
	padding:20px 19px;
	background: url(library/images/backgrounds/white_50.png);
	border:1px solid #f9f9f9;
	box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-moz-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);

	}

.sidebar_right article{
	display: block;
	margin-left:0;
	position: relative;
	margin-right:310px;
	}
	
.sidebar_left article{
	display: block;
	margin-right:0;
	margin-left:310px;
	position: relative;
	}

	
.innermargin { 
	display: block; 
	padding:0px 0px;
	}


.sidebar{
	position: relative;
	display: inline;
	float:left;
	width:250px;
	zoom:1;
	padding:20px 19px;
	background: url('library/images/backgrounds/white_50.png');
	border:1px solid #f9f9f9;
	box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-moz-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	}
		
	.sidebar_left .sidebar  { float:left; margin-left:-980px; margin-right:0;  }
	.sidebar_right .sidebar { float:right; margin-left:-320px; margin-right:0; }
	

/* PRIMARY MENU 
============================================= */
/* Menu container */
#primary { 
	display: block; 
	padding-top:8px;
	zoom:1;
	height:64px;
	background:  url(library/images/h_primary_shadows.png) repeat-x bottom;
	margin:0 0 -3px;
	
	}
/* Menu list */
ul#menu-primary { 
	 
	padding:0; 
	display: block;
	list-style: none; 
	position: relative; 
	z-index:600;
	height:60px;
	width:100%;
	max-width:980px;
	margin:0 auto !important;
	}

ul#menu-primary li {
	display: block; 
	float: left;  
	font-size:14px; 
	padding:0; 
	position:relative; 
	margin:0; 
	zoom:1; 
	background: url(library/images/h_primary_delimiter.png) no-repeat left center;
	/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!text-transform: uppercase;*/
	height:60px;
	}
	
	ul#menu-primary li a span { font-weight:normal; font-size:12px; color:#000000;}

ul#menu-primary li:first-child {}

ul#menu-primary li a {
	display: block; 
	float: left; 
	padding:13px 20px 13px; margin:0 0 0 2px;   
	color:#000000;
	font-weight: bold;
	border-top:6px solid transparent;
  	margin-top:-6px;
  	transition: border-color .3s linear;
   -o-transition: border-color .3s linear;
   -moz-transition: border-color .3s linear;
   -webkit-transition: border-color .3s linear; 
	}
 

ul#menu-primary li.current-menu-item a,
ul#menu-primary li.current-menu-ancestor > a,
ul#menu-primary li.current-menu-item a:hover,
ul#menu-primary li.current-menu-ancestor > a:hover,
ul#menu-primary li a:hover,
ul#menu-primary li a.active  {
	
  	border-top:6px solid #fff;
  	margin-top:-6px;
  	zoom:1;
	}
	

ul#menu-primary .sub-menu  a {
	
  	border-top:none !important;
  	margin-top:0;
  	zoom:1;
	}

ul#menu-primary li a:hover { 
	transition: border-color .3s linear;
   -o-transition: border-color .3s linear;
   -moz-transition: border-color .3s linear;
   -webkit-transition: border-color .3s linear; 

 }


/* Level 2 */
ul#menu-primary li .sub-menu { 
	position:absolute;
	left:0;
	margin:0 0 0 0px;
	top:100%;
	z-index:20;
	display: none;
	width:180px; 
	padding:10px 20px; 
	background: #fff;
	box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-moz-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	-webkit-transition: all 0.2s;  
  	-ms-transition: all 0.2s;  
  	-o-transition: all 0.2s;  
  	transition: all 0.2s;
  	
  	text-shadow:none !important;
  	}
	
ul#menu-primary li .sub-menu .sub-menu{ border:none;}
ul#menu-primary li .sub-menu li:last-child a,
ul#menu-primary li .sub-menu .sub-menu li:last-child a{border:none;}


ul#menu-primary li .sub-menu li   { float:none; clear:both; background:none; margin:0; position: relative; height:auto; font-size:12px;  }
ul#menu-primary li .sub-menu li a { border-bottom:1px dotted #ddd; width:180px; padding:5px 0px;    margin:0;  background: none; color:#000000; font-weight: normal;}
ul#menu-primary li .sub-menu li a:hover {  background: none;  color:#CC3300; margin:0 !important;}

/* Level 3 */
ul#menu-primary li .sub-menu .sub-menu {left:180px; top:0; margin-top:-10px;}




ul#menu-primary li:active > .sub-menu,
ul#menu-primary li:focus > .sub-menu,
ul#menu-primary li:hover > .sub-menu{
	display:block;
	/*
	visibility: visible !important;
	opacity:1 !important; 
	*/
	-webkit-transition: all 0.3s;  
  	-ms-transition: all 0.3s;  
  	-o-transition: all 0.3s;  
  	transition: all 0.3s;

 }

/* Mega menu 
================================================ */

ul#menu-primary > li.mega-menu {position:static;}


/* Level 2 */
ul#menu-primary li.mega-menu .sub-menu 			{ width:100%; box-shadow:none; padding:20px 0; border-bottom:2px solid #222; margin:0; }
ul#menu-primary li.mega-menu .sub-menu li   	{ display:inline; float:left;  clear: none;  border:none; background:none; margin:0 0 0 20px; padding:0; width:156px;}
ul#menu-primary li.mega-menu .sub-menu li a 	{ display:block; border:none;  padding:0 0 4px;  margin:0 0 4px;  border-bottom:1px solid #505050; width:156px; }


ul#menu-primary li.mega-menu:hover .sub-menu .sub-menu,
ul#menu-primary li.mega-menu:active .sub-menu .sub-menu,
ul#menu-primary li.mega-menu .sub-menu li:hover .sub-menu {visibility: visible; opacity:1;}

/* Level 3 */

ul#menu-primary li.mega-menu .sub-menu .sub-menu { position:static; opacity:1; visibility:visible;   display:block; padding:0px 0 0px 0 !important;  box-shadow:none; border-bottom:none; background: none; clear:both;}
ul#menu-primary li.mega-menu .sub-menu .sub-menu li   	{ display:block; float:none;   clear: both;  border:none; background:none; margin:0 !important; line-height:14px; }
ul#menu-primary li.mega-menu .sub-menu .sub-menu li  a 	{ display:block; margin:0; padding:4px 0;  border:none; min-width:156px; border-bottom:1px dotted #505050; color:#bbb;}
ul#menu-primary li.mega-menu .sub-menu .sub-menu li  a:hover { color:#eee;}

/* Horisontal menu 
================================================ */
ul#menu-primary > li.horisontal-menu {position:static;}
ul#menu-primary .horisontal-menu li a:hover,
ul#menu-primary .horisontal-menu li a.active {background: none;}
ul#menu-primary .horisontal-menu li a:hover  {}

ul#menu-primary li.horisontal-menu .sub-menu 			{ width:100%; box-shadow:none; padding:4px 0; margin:0; }
ul#menu-primary li.horisontal-menu .sub-menu li   		{ display:inline; float:left; white-space: nowrap; clear: none;  border:none; background:none; margin:0 -10px 0 30px; padding:0; width:auto;}
ul#menu-primary li.horisontal-menu .sub-menu li a 		{ display:block; border:none; padding:6px 0 4px;  margin:0 0 4px;  width:auto;}
ul#menu-primary li.horisontal-menu .sub-menu li a:hover {padding:6px 0 4px; }


ul#menu-primary li.horisontal-menu .sub-menu .sub-menu 	{ display:none;}
ul#menu-primary li.mega-menu  .sub-menu .sub-menu li:last-child a{border:none;}

/* Home button */
	
	ul#menu-primary li.home {margin:0px;}
	ul#menu-primary li.home a{width:30px; padding:0 30px 0 0;  margin:0; background:url(library/images/icon_home.png) no-repeat center center; height:37px; }
	ul#menu-primary li.home a:hover{ }

/* Search in menu */

#menu-primary li.menu-search {float:right; margin:3px 0 0 0; padding:0 0 0 20px; min-height:22px; width:25px; border:none; background:none; display: none; }
#menu-primary li.menu-search form {width:30px; display: block; margin: 0; padding:0 0 0 20px; position:relative; z-index: 600; }
#menu-primary li .input-wrapper { position: absolute; right:0px; top:0px;  z-index: 900;  display:none; padding:4px 0px 4px 0px;  margin:-1px 0px 0 0; }
#menu-primary li.menu-search input[type=text] {width:145px; clear: none;  padding:1px 27px 1px 8px; border-color:#eee; background: #fff;}
#menu-primary li.menu-search input[type=image] {width:26px; height:26px; margin:3px 0px 0 0; padding:0; clear: none; float: right; z-index: 1001; position: relative;}

#menu-primary li.menu-search:hover .input-wrapper,
#menu-primary li.menu-search .input-wrapper:focus { display: block;}



/* Yellow menu (Demo setup for changing skin for primary menu) */
/*
ul#menu-primary li a {text-shadow:none; }
ul#menu-primary li a:hover,
ul#menu-primary li a.active {background: #ffae00; border-bottom-color:#ffae00; border-top-color:#ffe3a6;  color:#111;  }
ul#menu-primary > li.mega-menu .sub-menu {background: #ffae00;}
ul#menu-primary > li.mega-menu .sub-menu li a {color:#111; border-bottom-color:#fec449;}
ul#menu-primary > li.mega-menu .sub-menu li a:hover {color:#3c2900;}
ul#menu-primary > li.mega-menu .sub-menu .sub-menu li a {color:#3c2900; border-bottom-color:#fec449;}
ul#menu-primary > li.mega-menu .sub-menu .sub-menu li a:hover {color:#5b1d11;}
*/

/* SELECT MENU FOR MOBILE DEVICES 
=========================================== */
#primary_select {display:none; }
	

/* 3.8 HEADER TEXTBOXES */	


	
#epic_blog_link{
	line-height: 30px;
	position: absolute;
	right:30px;
	top:20px;
	}	
	
#related_posts{clear:both; margin:20px 0px 30px; display: block; }
#related_posts ul{list-style: none; display:block;margin: 0; padding: 0; clear: both;}
#related_posts ul li{padding:0; width:30%;  margin:0 3.3% 0 0; display: block ; float: left; }
#related_posts ul h5 {margin:0 0 4px;}
#related_posts ul p {line-height:1.4em;}
		











/* Gallery list */

.gallery-wrap{ margin-right:-20px;}






	
/*  # COMMENTS
==================================================

Styles for the comments on pages and posts.

Table of content:

# Comments list
# Comments form

==================================================*/

#comments{margin:0 0 30px;}

#commentform p{width:100%;}
#commentform label{width:18%;}
#commentform input[type=text]{width:80%; display:block; float:right;}

.comment-form{}

.commentlist  { list-style:none; margin:0 0 10px; }

.comment-author{width:48px; height:48px;  display:inline; float:left;}
.comment-text{
	display:block; 
	margin:0 0 10px 68px; 
	}
.comment-text h4 {margin-top:4px; }
.commentlist li.depth-1 {margin:0px 0 0 0;   display:block; }
.commentlist li.depth-2 {margin:0px 0 0 48px;  display:block; }
.commentlist li.depth-3 {margin:0px 0 0 48px; display:block; }
.commentlist li.depth-4 {margin:0px 0 0 48px; display:block; }
.commentlist li.depth-5 {margin:0px 0 0 48px; display:block; }

.single-comment{}
.commentlist .button{margin:0 0 10px 0;}
.commentlist p{min-width:100%; display:block;}

.form-allowed-tags{font-size:12px;}


.comment-meta {margin:0; width:100%; float: left;}
.commentnavigation{}
.comment-edit-link{ float:right; margin:2px 0 0 10px; }
.comment-reply-link{ float:right; margin:2px 0 0 10px; }
.comment-text .alignright {margin-bottom:0 !important;}	
	

	

.epic_sharing { display: block; margin:0 0 20px 0; clear: both; }


	

.ui-dialog iframe {min-height:200px !important;}


/** 
 * 9.0 Misc classes 
 *
 */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

.expanded{

	width:100%;
	float:left;
	
	}
	
.break{
	display: block;
	float: left; 
	clear: both; 
	width: 100%;
	margin:0;
	padding:0;
	height: 0px;
	}



/* Multimedia containers */

.multimedia-container{float:left;  width:100%;  margin:0 0 16px 0; clear: both;}
.multimedia-container img{display:block; 

}


.tiny{font-size:11px; color:#777;}
	
	
/**
 * Tooltip
 *
 */	
	
.simpleTooltip {
	text-align: center;
	display:block;
	font-size:11px; 
	text-transform:uppercase; 
	padding:5px 10px;
	color:#eee;
	background:#444; 
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: none;
   }
            


	
#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid transparent;
	background-color: #fff;
	padding: 5px;
	opacity: 0.85;
}
#tooltip h3, #tooltip div { margin: 0; font-size: 12px; color:#666; font-weight: bold; white-space: nowrap;}	
	

.breakline{width:100%; float: left; clear: both;  margin:20px 0 20px 0;}
.breakline span{width:95%; float: left; border-top:1px dashed #e3e3e3;}
.breakline a{float:right; margin-top:-8px; text-align: right; color:#666; width:5%;}

 
/**
 * Calendar widget
 *
 */

#calendar_wrap table{

	width:100%; 
	background:#fff; 
	border-spacing:1px; 
	border:none;
	
	}

#calendar_wrap td, #calendar_wrap th{

	text-align: center; 
	background: #f9f9f9; 
	padding:4px 0; 
	border:1px solid #fff; 
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	
	}
	
#calendar_wrap tfoot td{
	
	background:none !important;
	
	}

/**
 * Widgets - both default Wordpress widgets and 
 * custom widgets included in theme files.
 *
 */	
 

/* Epic - Latest posts widget */	 
.epic_latestposts{display:block; clear: both; margin:0 0 4px; padding:8px; font-size: 11px; background: url(library/graphics/backgrounds/black_10.png); min-height:44px; }
.epic_latestposts:last-child {margin-bottom:20px;}
.epic_latestposts h5 {margin:0 0 0px 0;}
.epic_latestposts figure{float:left; display:inline; margin:0 10px 6px 0; padding:0; background: none;}
.epic_latestposts figure img {padding:0; margin:0; background: none;  border:2px solid #ddd;}



	
p.tiny{font-size:11px;}	

.prevnext{display: block; clear: both;}
.next_post{
	float:right;
	margin:10px 0 30px;
	}
	
.prev_post{
	float:left;
	margin:10px 0 30px;
	}
	
/* Author box */
.author-box{ margin:0 0 30px 0; display: block;}
.author-box img{float:right; margin:0 16px 10px 0;}
	

.wrap{width:100%; float:left; clear:both; margin:0 0 20px 0;}

.post-pagination-wrap{
	float:left; 
	width:100%; 
	margin:0 0 20px 0; 
	
	}


.flexslider.galleryslider {margin-bottom:16px !important;}



/* Twitter feed */

.epic_twitterfeed { display:block; padding:20px 30px;}


	



#postnav{ float: right;  margin-bottom: 16px; }

a.module-slide-next,
a.module-slide-prev {width: 20px; height:20px; background: url('library/images/portfolio-arrows.png') no-repeat;  z-index: 300;  
position: absolute;
bottom:0px;
top:30%;

margin-bottom:-12px;

}


a.module-slide-next {background-position: right 0px !important; right:0; margin-right:-10px; }
a.module-slide-prev {background-position: left 0px !important; left:0; margin-left:-10px; }

a.module-slide-next:hover,
a.module-slide-prev:hover {}
a.module-slide-next:hover { }
a.module-slide-prev:hover { }

.page-icon {width:48px;  display: inline;  float: left; }
.page-icon img {max-width:48px; max-height:48px; display: inline; }

.intro p span.alignright{margin-bottom:0; padding-top:4px;}

a.epic_link { background: url('library/images/epic_link_arrow.png') no-repeat right center; padding:2px 15px 2px 0px;  }
a.epic_link:hover {border-bottom:1px solid #c7604c; }







/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix:before,
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix:after {
  clear: both;
}


.clearfix {
  zoom: 1;
}

.last{margin-right:0% !important; /* Used to remove margins in the last item on a row, to ensure proper floating*/}


/* WPML Styles */
#epic_wpml_lang_selector { position: absolute; top:0; right:0; float:left; width: auto; display: inline;}
#epic_wpml_lang_selector img {display:block; float: left; width:18px; height: 12px; background: #eee; padding:8px 0px 8px 8px; }
#epic_wpml_lang_selector img:last-child {padding-right:8px;}


/* Social media share buttons */
#fb-root, .fb-like, .twitter-share-button{ display: inline;}


/* Testimonial module */
.module-testimonials .module-content { border-bottom:1px solid #ddd;}

div.testimonial-icon { width:40px; height:40px; display: inline; float: left;}
ul#testimonial { margin:0 0 10px 0px; display: block;  padding: 0; list-style: none; }
ul#testimonial  li a { padding:0; margin: 0;}
div.testimonial-text {  min-height:40px; display: block;  padding:4px 0px 0 40px;  background: url(library/images/aphostroph.png) no-repeat left top; margin-right:300px; }
div.testimonial-text h3 {font-style: italic; font-weight: normal;}
div.testimonial-signature {width:260px; min-height:50px; float: right; display: inline;  padding: 8px 0 0 30px;background: url(library/images/testimonial-blob.png) no-repeat left top; }

	
	
	
/*  # FORMS
================================================== */

	form{ margin:0 0 20px 0; font-family: inherit; }
	
	
	textarea,input[type=text],
	input[type=password],
	input[type=email] {
		border-radius:2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		
	
		}
	
	fieldset { margin-bottom: 20px; }
	
	textarea {min-height: 60px;}
	input[type=image]{min-height:0;}
	
	input[type=text],
	input[type=password],
	input[type=email],
	textarea{	
		color:#777; 
		font-family:inherit; 
		width:98%;
		margin: 0px;
		display: block;
		min-height:24px; 
		padding:0 1% ;
		border: 1px solid #ddd;  
		background: #fbfbfb; 
		}
	
	textarea {padding:4px 1%;}
		
	input[type=text],
	input[type=password],
	input[type=email]{ line-height:26px; }
	
	input[type=checkbox],
	input[type=radio] {
		vertical-align: middle;
        padding: 0 !important;
        margin: -1px 4px 0 !important;}
    
    label {
     	vertical-align: middle;
        padding: 0 ;
        margin: 0;
        }
	
	select { width:100%;}
	
	input[type=text]:focus,
	input[type=password]:focus,
	input[type=email]:focus,
	textarea:focus {
		background: #fff;
		border:1px solid #ddd;
		outline:0;
 		}
 		
	
/* Form button */

button,
a.button,
input[type=submit],
input[type=button],
input[type=reset],
ul.button-nav li a,
div.generic-button a,
.ui-button {
	font-family: inherit; 
	font-size: inherit;
	background: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f8f8f8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f8f8f8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#f8f8f8 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* W3C */

	border: 1px solid #ddd;
	border-bottom-color:#ccc !important;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	color: #666;
	cursor: pointer;
	outline: none;
	padding: 4px 10px;
	text-align: center;
	text-decoration: none;
	line-height: 12px;
	min-height:28px;
	}


.button{margin-top:4px;}

button:hover,
a.button:hover,
a.button:focus,
input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover,
ul.button-nav li a:hover,
ul.button-nav li.current a,
div.generic-button a:hover {
	background: #ededed;
	background: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f8f8f8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f8f8f8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#f8f8f8 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #ffffff 0%,#e0e0e0 100%); /* W3C */
	border: 1px solid #ccc;
	color: #555;
	outline: none;
	text-decoration: none;
}
	
/* 8.2 CONTACT FORM */

.epic_contact_form {
	margin:10px 0px 30px; 
	}
	
.epic_contact_form textarea {
	min-height:140px; 
	}
	

.widget .epic_contact_form  p {
	margin-bottom:4px;
	}
.widget .epic_contact_form textarea {
	max-height:40px; 
	}


	
/* User registration and login */

.user-forms p{margin:0 0 10px 0; }
.user-forms input[type=text], .user-forms input[type=password]{width:90%;}
.nolabel{padding-top:22px;}


.epic_form{
	width:100%;
	float: left;
	clear: both;
	margin: 0 0 20px 0;
	}

.epic_form form{
	width:100%;
	float:left;
	clear: both;

	}

.epic_form p{
	margin:0 0 4px 0;
	}


/* Epic epic_signin_form */

#epic_signin_form{height:30px; background: #333; padding:10px 30px;  position: relative; display: none;}
#epic_signin_form div {float: left; margin:0;}
#epic_signin_form div input[type=text],
#epic_signin_form div input[type=password] {border:0; width:160px; height:24px; padding:0 6px; line-height:24px; margin:0 10px 0 0; background-color: #282828; border:1px solid #383838; color:#ddd !important;}
#epic_signin_form div input[type=submit] {margin-right:20px; height:24px; padding:0 6px; line-height: 24px; background: #222; border:none; color:#eee;}
#epic_signin_form div label {padding:6px 0px; color:#777; text-transform: uppercase; font-size: 11px; }


/* 8.3 SEARCH FORM */

.epic_searchform { display: block; margin:0; padding:0; min-height:26px; z-index:502; }
.epic_searchform div { position: relative; }
.epic_searchform p {margin:0 !important; }
.epic_searchform input[type=text]{
	float: left;
	display:block;
	margin:0 !important;
	padding:0 20% 0 3% !important;
	width:77% !important;
	line-height: 30px;
	height:30px;
}

.epic_searchform input[type=image] {
	position: absolute;
	height:20px !important;
	width:20px !important;
	top:6px;
	right:6px;
	margin:0 !important;
	padding:0 !important;
	line-height: 30px !important;
	}

/* Required Wordpress classes */

.alignleft { 
	float:left; 
	margin:0 20px 10px 0 !important
	}
	
.alignright { 
	float:right; 
	margin:0 0 20px 10px !important
	}
	
	
.aligncenter,
img.aligncenter {
	clear:both;
	display: block;
	margin-left:auto;
	margin-right: auto; 
	margin-bottom:0;
	}
	
.alignleft-nomarginbottom { 
	float:left;
	margin:0 20px 0 0 !important
	}
	
.alignright-nomarginbottom {
	float:right; margin:0 0 0 20px !important
	}
	
.baseline-right {
	float:right; 
	vertical-align:baseline; 
	display:block; 
	margin-left:20px; 
	}
	
.rounded { 
	-moz-border-radius:2px; 
	-webkit-border-radius:2px; 
	border-radius:2px;
	}
	
.wp-caption {
	
	line-height: 1.3em;	
	margin-bottom: 20px;
	width: auto !important;
	text-align: center; 
	background: #f0f0f0;
	padding:0 0 10px 0;
	}
	
.wp-caption img {
	margin:0 0 10px;
	display: block;
	max-width: 590px !important; 
	}
	
.wp-caption p.wp-caption-text {
	color: #555; 
	margin:0;
	
	}

/* Default Wordpress gallery styles */
.gallery {
	margin: 0 auto 18px;
	}
	
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
	}

.gallery-columns-2 .gallery-item {
	width: 50%;
	}

.gallery-columns-4 .gallery-item {
	width: 25%;
	}

.gallery img {
	border: 0px solid #fff;
	}

.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
	}

.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
	}

.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
	}

.gallery dl {
	margin: 0;
	}

.gallery img {
	border:none;
	display: block;
	}

.gallery br+br {
	display: none;
	}

.bypostauthor{}
.sticky{}



/* Gallery */

.epic_gallery {margin:0; padding:0; list-style: none;}
.epic_gallery li {display: block; float: left; margin: 0; width:22%; background: #fff; padding:1%; margin:0 1% 1% 0;}
.epic_gallery li img {width:100%; display: block; }


.one-half-fixed{ width:440px; margin-bottom:20px; margin-right:10px !important; margin-left:10px !important;}
.one-third-fixed{ width:286px;  margin-bottom:20px; margin-right:10px !important; margin-left:10px !important;}
.one-fourth-fixed{ width:225px; margin-bottom:20px; margin-right:10px !important; margin-left:10px !important;}
.one-fifth-fixed{ width:160px; margin-bottom:20px; margin-right:10px !important; margin-left:10px !important;}
.one-sixth-fixed{ width:140px; margin-bottom:20px; margin-right:10px !important; margin-left:10px !important;}

.one-half-fixed,
.one-third-fixed,
.two-third-fixed,
.one-fourth-fixed,
.one-fifth-fixed,
.one-sixth-fixed{ display:inline !important; clear: none !important;  float:left !important;  }


/* 7.4.1 Liquid columns */
.one-half{ 
	width:47.9% !important;
	}
.one-third{
	width:30.66% !important;
	}
.two-third{
	width:65.33% !important;
	}
.one-fourth{
	width:22% !important;
	}
.three-fourth{
	width:74% !important;
	}
.one-fifth{
	width:16.75% !important;
	}
.two-fifth{
	width:37.6% !important;
	}
.three-fifth{
	width:58.4% !important;
	}
.four-fifth{
	width:67.2% !important;
	}
.one-sixth{
	width:13.33% !important;
	}

.one-half,.one-third,.two-third,.three-fourth,.one-fourth,.one-fifth,.two-fifth,.three-fifth,.four-fifth,.one-sixth{ 
	display:inline; 
	clear: none; 
	margin-right:4%; 
	float:left; 
	margin-bottom:20px;
	
	}


/* @ Breadcrumbs 
================================================== */
#breadcrumb 	 { font-size:11px; color:#aaa; margin:0px 0 0px; text-shadow: 1px 1px 0px rgba(255, 255, 255, 1); }
#breadcrumb a 	 { margin:0 4px 0 0; padding:0 14px 0 0; color:#aaa; background: url(library/images/delimiter-breadcrumb.png) no-repeat right center; }
#breadcrumb span { margin-right:10px; padding-bottom:0px; }

/* @ Pagination
================================================== */
#pager { clear:both; display:block; padding:0;  }

#pager a,
#pager span {
	padding:4px 8px;
	background: url(library/images/backgrounds/white_30.png);
		border:1px solid #f9f9f9;
		border-radius:2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		-moz-box-shadow:0px 1px 2px rgba(0, 0, 0, .1); 
	margin:0 2px 0 0px; 
	display: inline;
	text-decoration:none;
	
	font-size: 11px;
	text-transform: uppercase;
	}

#pager a:hover {
	color:#555;
	}
	
#pager .current  { 
	color:#555;
	font-weight: bold;
	}
	
#pager .prev {  } 
#pager .next { } 
	

/* @ SLIDERS
==================================================== */

/*! http://responsive-slides.viljamis.com v1.21 by @viljamis */

.epicslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: -4px auto 0;
  }

.epicslides li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  }
  
 .epicslides li a {margin:0; padding:0;}

.epicslides img {
  display: block;
  height: auto;
  width: 100%;
  border: 0;
  }
  
 .epicslides_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 48px;
  width: 24px;
  background:  url(library/images/sprite_slider.png) no-repeat left top;
  margin-top: -24px;
  transition: all .5s linear;
  -moz-transition: all .5s; /* Firefox 4 */
-webkit-transition: all .5s; /* Safari and Chrome */
-o-transition: all .5s; /* Opera */
  
  }
  


.epicslides_nav:active {
  opacity: 1.0;
  }

.epicslides_nav.next {
  left: auto;
  background-position: right bottom;
  right: 0;
  }


/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0 !important; padding: 0 !important; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {width: 100%;  margin: 0 !important; padding:0 !important; }
.flexslider .slides > li {   display: none; -webkit-backface-visibility: hidden; margin:0; padding:0; list-style: none; } /* Hide the slides before the JS is loaded. Avoids image jumping */

.module-slideshow .flexslider .slides img { display: block; margin:0 !important; padding:0; }
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider { position: relative;  zoom: 1; overflow: hidden;}
.flexslider .slides {zoom: 1; margin:0; }
.flexslider .slides > li {position: relative; }
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative; margin:0; padding:0;}

/* Caption style */
/* IE rgba() hack */



.flex-caption { margin:0; padding:15px 20px;     max-width:400px; position: absolute; background: url(library/images/backgrounds/black_80.png); }
.flex-caption h3 {   margin:0; color:#fff; }
.flex-caption p 	{ margin:0; color:#fafafa;}



.flexslider .slides li.epic_staged_topleft .flex-caption 		{left:0px; top:50px;     border-left:10px solid #fff;}
.flexslider .slides li.epic_staged_topright .flex-caption 	{right:0px !important; top:50px;     border-right:10px solid #fff;}
.flexslider .slides li.epic_staged_bottomleft  .flex-caption 	{left:0px;  bottom:20px;  border-left:10px solid #fff;}
.flexslider .slides li.epic_staged_bottomright .flex-caption 	{ bottom:20px; right:0px !important;  border-right:10px solid #fff;}

.flexslider .slides li.epic_frame_light figure { background: url(library/images/backgrounds/white_40.png); outline:1px solid #fff;}
.flexslider .slides li.epic_frame_dark figure { background: url(library/images/backgrounds/black_40.png);  outline:1px solid #000;}
.flexslider .slides li.epic_frame_none figure { background: none;}



.flex-content { margin:0; position: absolute; top:70px; right:40px;  max-width:700px; }


.slide_overlay_top,
.slide_overlay_bottom,
.slide_overlay_left,
.slide_overlay_right { position: absolute; display: block;  }

.epic_frame_dark .slide_overlay_top,
.epic_frame_dark .slide_overlay_bottom,
.epic_frame_dark .slide_overlay_left,
.epic_frame_dark .slide_overlay_right { background: url(library/images/backgrounds/black_70.png); }

.epic_frame_light .slide_overlay_top,
.epic_frame_light .slide_overlay_bottom,
.epic_frame_light .slide_overlay_left,
.epic_frame_light .slide_overlay_right { background: url(library/images/backgrounds/white_70.png); }

.slide_overlay_top 		{ top:0; right:10px; width:100%; height:10px; 	 }
.slide_overlay_bottom 	{ bottom:0; left:10px; width:100%; height:10px; }
.slide_overlay_left		{ top:10px; left:0; width:10px; height:100%; 	}
.slide_overlay_right 	{ bottom:10px; right:0px; width:10px; height:100%; }

/* Direction Nav */
.flex-direction-nav { height: 0px; top:20px; left:20px; position: absolute; }
.flex-direction-nav li a {width: 20px; height: 20px; margin:0px; display: block; background: url(library/images/portfolio-arrows.png) no-repeat left bottom; position: absolute; top: 0px; cursor: pointer; text-indent: -999em;}
.flex-direction-nav li .next {background-position: right bottom; left: 21px;}
.flex-direction-nav li .prev {left:0;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; bottom: 0px; text-align: center; padding:0px 0 0;  }
.flex-control-nav li {margin: 0; display: inline-block; zoom: 1; *display: inline; width:20%;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {display: block; background: #000; cursor: pointer; text-indent: -999em;}
.flex-control-nav li a:hover {background-position: left top;}
.flex-control-nav li a.active {background-position: left top; cursor: default;}

ul.flex-nav {list-style: none; margin:0 -2px 0 0; padding:6px 0 0px 0px !important;   }
ul.flex-nav li { display: block; float: left; cursor:pointer; position: relative;}	
ul.flex-nav li a { display: block;  padding:0; margin:0 0px 0 0; border-top:4px solid #eee; height:6px;}
ul.flex-nav li a:hover,
ul.flex-nav li.active a { border-top:4px solid #666; 
	transition: all .5s linear;
	-moz-transition: all .5s; /* Firefox 4 */
	-webkit-transition: all .5s; /* Safari and Chrome */
	-o-transition: all .5s; /* Opera */ }
ul.flex-nav li figure {visibility:hidden; opacity:0; position: absolute; bottom:12px; left:0; margin-bottom:-300px;}
ul.flex-nav li:hover figure {visibility:visible; opacity:1; margin-bottom:0px;}

/* Gallery slider */

div.flexslider { display: block; clear: both; position: relative; margin:0 0 20px; 	}
div.flexslider ul {list-style:none; margin:0; padding:0; }
div.flexslider ul li {display: block; padding:0; margin: 0; position: relative; }
div.flexslider ul li img {display: block;}
div.flexslider ul li .image-title { color:#f0f0f0; font-size: 11px; font-weight:bold; margin-right:8px;}
div.flexslider ul li .image-excerpt  { color:#999; font-size: 11px; }
div.flexslider ul li .gallery-slide-title {position: absolute; left:0px; top:40px; background: url(library/images/backgrounds/black_60.png); padding:7px 12px;}
}
	
/* # WIDGETS  
==================================================== */
.sidebar .widget { }
.sidebar .widget { margin-bottom:40px; clear: both; display: block; }	
	

	/* WIDGET HEADERS */
	.widget .widget-header{	margin-bottom:12px;  }
	
	/* Widget lists */
	
	.widget ul{
		display: block;
		margin:0;
		padding:0;
		list-style: none;
		}

	.widget li {
		display: block; 
		line-height: 15px; 
		margin:0;
		transition: all .5s linear;
		-moz-transition: all .5s; /* Firefox 4 */
		-webkit-transition: all .5s; /* Safari and Chrome */
		-o-transition: all .5s; /* Opera */
		border-bottom:1px dotted #ddd;
		padding:4px 0 4px 0px;
		 	}
       
	.widget li:last-child { border-bottom:none;}
 
	.widget li:hover{
		transition: all 1s linear;
		-moz-transition: all 1s; /* Firefox 4 */
		-webkit-transition: all 1s; /* Safari and Chrome */
		-o-transition: all 1s; /* Opera */
		}

	.widget li a{ display: block; margin:0; padding:0; }
	.widget li a:hover{	}
	
		/* Level 2 */

		#sidebar ul ul { margin:4px 0 10px 0; }
		#sidebar li li{	
			line-height:20px;
			padding:0;
			padding-left:10px;
			border:none;
			font-size:11px;
			list-style: none;
			}
		#sidebar li li a{
			color:#888;
			}
		
		/* Level 3 */

		#sidebar ul ul ul{ 	margin: 0 0 4px 0; }
		#sidebar li li li{
			line-height:15px;
			margin:0 0 0 10px;
			border:none;
			font-size:11px;
			list-style: circle;
			list-style-position: inside;
			}


	
/*

Uniform Theme: Uniform Default
Version: 1.6
By: Josh Pyles
License: MIT License
---
For use with the Uniform plugin:
http://pixelmatrixdesign.com/uniform/
---
Generated by Uniform Theme Generator:
http://pixelmatrixdesign.com/uniform/themer.html

*/

/* Global Declaration */

.selector,  
.selector *, 
*{
  margin: 0;
  padding: 0;
}


/* Select */
div.selector {
  width:100%;
  text-align: left;
  background-image: url(library/images/select_arrow.png);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  font-size: 12px;
  padding:0 !important;
  margin:0 0 2px !important;
  height:40px;
  border:1px solid #666;
  background-color: #555;
  background-position: right top;
  background-repeat: no-repeat;
  line-height: 26px;
 
}

div.selector select {
  min-width:100%;
  font-family: inherit;
  font-size: 12px;
  margin:0 0 0 0px;
  top: 0px;
  left: 0px;
}

div.selector span {
  padding: 0 0 0 20px;
  cursor: pointer;
  color:#eee;
  text-shadow:none !important;
  width: 100%;
  text-shadow: 0 1px 0 #fff;
  height: 40px;
  line-height: 40px;
}

div.selector.disabled span {
  color: #bbb;
}


/*  # IMAGES
================================================== */	
	/*  Fullscreen background image */
	#background_image_container {  min-height: 100%;   min-width: 1024px;  width: 100%;  height: auto;  position: fixed;  top: 0;  left: 0; }
	#background_image_container span{ width:100%; height:100%; background: url('library/images/overlay_dots.png'); position: fixed; top:0; left:0;  display:block;  }
	#background_image { min-height: 100%;  min-width: 1024px;  width: 100%;   height: auto;   position: fixed;  top: 0;  left: 0; }
	
	figure { 
		position: relative;
		overflow: hidden;
	 }

	figure img {
		display:block;
		width:100%;
		}
	
		
	.featured-large {
		padding:20px;
		margin-bottom:20px;
		 zoom:1;
		width:100%;
		max-width:940px;
		margin-left:auto;
		display: block;
		position: relative;
		background: url(library/images/backgrounds/white_30.png);
		border:1px solid #f9f9f9;
		border-radius:2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		-moz-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
	}
	.featured-large figure { margin:0 !important;}
	
	figure.Thumbnail-590  { margin-bottom:20px; width:100%; overflow: hidden; outline:1px solid #f9f9f9;}
	figure.Thumbnail-900 { margin-bottom:20px; width:100%; overflow: hidden; outline:1px solid #f9f9f9;}
	

	

/* # VIDEO
================================================== */

/* jPlayer */
	div.jp-audio,
	div.jp-video { font-size:1.25em;}
	
video {
	max-width: 100% !important;
	height: auto;
}

.video-wrapper {
	max-width: 100%;
}

.video-container {
	position: relative;
	padding-bottom: 52.75%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	width:100%;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
}
article .video-container-self,
article .video-container  {margin-bottom:20px;}
	

.preloader {position: absolute; left:50%; top:50%; width:50px; height:50px; margin:-65px 0 0 -25px; border-radius:50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
background: #fff url(library/images/ajax-loader.gif) no-repeat center center; }


/*

CORE FUNCTIONALITY 

Not advised to edit stuff below this line
-----------------------------------------------------
*/

.selector, 
.checker, 
.button, 
.radio, 
.uploader {
  display: -moz-inline-box;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.selector select:focus, .radio input:focus, .checker input:focus, .uploader input:focus {
  outline: 0;
}


/* Select */

div.selector {
  position: relative;
  padding-left: 10px;
  overflow: hidden;
}

div.selector span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
  text-transform:uppercase;
}

div.selector select {
  position: absolute;
  opacity: 0;
  filter: alpha(opacity:0);
  height: 40px;
  border: none;
  background: none;
}



/* 7.3 CONTENT BOXES */
.message_box {
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border:1px solid transparent;
	padding:16px 20px 16px;
	margin-bottom:20px !important;
	}
	
	.message_box p:last-child{margin:0;}

.message_box_red{
	background: #fde5e6;
	border-color:#f98f93;
	}
	
	.message_box_red h1,
	.message_box_red h2,
	.message_box_red h3,
	.message_box_red h4,
	.message_box_red h5,
	.message_box_red h6,
	.message_box_red p {color:#9d373c}
	
.message_box_yellow{
	background: #fefbec;
	border-color:#fde469;
	}
	
	.message_box_yellow h1,
	.message_box_yellow h2,
	.message_box_yellow h3,
	.message_box_yellow h4,
	.message_box_yellow h5,
	.message_box_yellow h6,
	.message_box_yellow p {color:#78660b}
	
.message_box_blue{
	background: #ecf5fe;
	border-color:#b4d8fc;
	color:#ad9a3c;
	}
	
	.message_box_blue h1,
	.message_box_blue h2,
	.message_box_blue h3,
	.message_box_blue h4,
	.message_box_blue h5,
	.message_box_blue h6,
	.message_box_blue p {color:#4c6782}
	
.message_box_green{
	background: #e2f5e8;
	border-color:#8ddea7;
	}
	
	.message_box_green h1,
	.message_box_green h2,
	.message_box_green h3,
	.message_box_green h4,
	.message_box_green h5,
	.message_box_green h6,
	.message_box_green p {color:#1a572d}

.pagemenu {

	background: url(library/images/backgrounds/white_30.png);
		border:1px solid #f9f9f9;
		border-radius:2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		-moz-box-shadow:0px 1px 2px rgba(0, 0, 0, .1);
		padding:19px;
	
	}
	.pagemenu ul {margin:0;}

#logo a {
font-size: 35px;
}