/*
Theme Name: jportal
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: jportal
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 jportal is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Inputs and buttons
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/* FONT IMPORTS */

@import url(http://fonts.googleapis.com/css?family=Raleway:400,700);

@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700);

@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700);

@font-face {
	font-family: 'ElegantIcons';
	src:url('fonts/ElegantIcons.eot');
	src:url('fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
		url('fonts/ElegantIcons.woff') format('woff'),
		url('fonts/ElegantIcons.ttf') format('truetype'),
		url('fonts/ElegantIcons.svg#ElegantIcons') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*--------------------------------------------------------------
1.0 - 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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline; 
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%;
	height:100%;
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: #fff;
	height:100%;
}

body.single, body.page, body.bbpress {
	background:url(images/bg.png);
	background-repeat:repeat;
    background-attachment: fixed;
}

body.page-template-page_fullscreen-w-nav {
    max-height: 10px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

page {
	height:100%;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
	height:100%;
}
h1, h2, h3, h4, h5, h6 {
	color:#333;
	font-family:'Raleway', sans-serif;
	clear: both;
	font-weight:bold;
}

h1 {
	font-size:1.7em;
	line-height:1.5em;

}

h2 {
	font-size:1.6em;
	line-height:1.1em;

}

h3 {
	font-size:1.5em;
	line-height:1.1em;

}

h4 {
	font-size:1.6em;
	line-height:1.1em;

}

h5 {
	font-size:1.3em;
	line-height:1.1em;

}

h6 {
	font-size: 1.1em;
	line-height:1.1em;
}


p {
	margin-bottom: 1.5em;
	font-size: 1em;
	font-family:'Droid Sans', sans-serif;
}

ul, ol {
	margin-bottom: 1.5em;
	font-size: 1em;
	font-family:'Droid Sans', sans-serif;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}



/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(0deg,rgba(0,55,103,1.00) 0%,rgba(0,39,73,0.71) 66.84%,rgba(0,0,0,0.00) 100%);
	background-image: -moz-linear-gradient(0deg,rgba(0,55,103,1.00) 0%,rgba(0,39,73,0.71) 66.84%,rgba(0,0,0,0.00) 100%);
	background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -o-linear-gradient(0deg,rgba(0,55,103,1.00) 0%,rgba(0,39,73,0.71) 66.84%,rgba(0,0,0,0.00) 100%);
	background-image: linear-gradient(90deg,rgba(0,55,103,1.00) 0%,rgba(0,39,73,0.71) 66.84%,rgba(0,0,0,0.00) 100%);
}
	
ul, ol {
	margin: 0 0 1.5em 3em;
	background:
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}


/*--------------------------------------------------------------
4.0 Inputs and buttons
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/

.navigation.paging-navigation {
	height:50px;
	width:100%;
	
}

.nav-links {
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	border-top:#999 1px solid;
	width:100%;
	height: 65px;
	color:#333;
	background:#333;
}
.nav-previous a, .nav-next a {
	border:#333 1px solid;
	/*border-radius:5px;*/
	padding:5px;
	color:#333;
	text-decoration:none;
	background:#FFF;
}
.nav-previous a:visited, .nav-next a:visited{
	color:#333;
}

.nav-previous a:hover, .nav-next a:hover {
	background:#FF5000;
	color:#FFF;
}


/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color:#003767;
}
a:visited {
	color:#00B2CE;
}
a:hover,
a:focus,
a:active {
	color:#FF5000;
}

a.page-jump {
    display: block;
    position: relative;
    top: -140px;
    visibility: hidden;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
/* TOP */

.top-nav {
	clear: both;
	display: block;
	height:40px;
	text-transform:uppercase;
}

@media screen and (max-width: 1100px) {
	.top-nav {
		display: none;
	}
}

.top-nav ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
	font-family:'Raleway', sans-serif;
	font-size:12px;
}
.top-nav li {
	float: left;
	position: relative;
	
}
.top-nav a {
	display: block;
	text-decoration: none;
	color:#FFF;
	font-size:1em;
	padding:12px 10px 10px 10px;
}
.top-nav ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 40px;
	z-index: 99999;
	text-align:left;
}
.top-nav ul ul ul {
	left: 100%;
	top: 0;
}
.top-nav ul ul a {
	width: 200px;
}
.top-nav ul ul li {
	padding:2px 10px 2px 10px;
}
.top-nav li:hover {
	background-color:#FF5000;
}
.top-nav ul ul :hover > a {
}
.top-nav ul ul a:hover {
}
.top-nav ul li:hover > ul {
	display: block;
	background-color:#333;
}
.top-nav .current_page_item a,
.top-nav .current-menu-item a {
}

/* MAIN */

.main-nav {
	clear: both;
	display: block;
	height:100px;
	text-transform:uppercase;
	text-align:center;
	
	
}
.main-nav ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
	font-family:'Raleway', sans-serif;
	
	
}
.main-nav li {
	float: left;
	height:100px;
	font-size:14px;
	position: relative;
}
.main-nav a {
	display: inline-block;
	text-decoration: none;
	color:black;
	padding:40px 10px 40px 10px;
	font-size:1.2em;
}
.main-nav ul ul {
	clear:both;
	display:none;
	position:absolute;
	top:100px;
	left:0;
	padding:0;
	background-color:#333;
}
.main-nav ul ul li {
	float: left;
	font-size:14px;
	height:auto;
}

.main-nav ul ul li ul {
	clear:both;
	display:none; 
	left: 100%;
	top: 0;
}
.main-nav ul ul a {
	width: 225px;
	padding:5px;
	text-align:left;
	color:white;
}

.main-nav li:hover {
		background-color:#FF5000;
}
.main-nav li:hover > a {
		color:#FFF;
}

.main-nav ul ul :hover > a {
}
.main-nav ul ul a:hover {

}
.main-nav ul li:hover > ul {
	clear:left;
	display:block;
}
.main-nav ul li.current_page_item {
	border-bottom:#FF5000 10px solid;
}
.main-nav .current-menu-item a {
}

/* MOBILE MENU */

.menu-opener {
	display:none;
	cursor: pointer;
  	height: 50px;
  	width: 50px;
  	float:right;
	margin-top:25px;
  	-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
	background-image:url(images/menu_open.svg);
	background-size:50px;
}

.mobile-nav {
	display: none;
	position: absolute;
	top: 80px;
	left: 5%;
	width: 90%;
	background: #333;
	border: #333 5px solid;
	border-top: none;
	/*border-bottom-left-radius: 5px;*/
	/*border-bottom-right-radius: 5px;*/
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);

}

.menu-opener.active {
	background-image:url(images/menu_close.svg);
}

#menu-inner {
	list-style:none;
	font-family:'Raleway', sans-serif;
	margin:0;
	font-size:1.2em;
	text-transform:uppercase;
}

#menu-inner li {
	padding-top:.3em;
	padding-bottom:.3em;
}

#menu-inner li a {
	color:#FFF;
	text-decoration:none;
	
}



#menu-inner li:hover {
	background:#FF5000;
}

@media (max-width: 1100px) {

.menu-opener {
	display:block;
	height: 40px;
	width: 40px;
	margin-top: 5px;
	background-size: 40px;
}

.main-nav {
	display:none; !important
}
.mobile-nav {
	display: none; !important
}

#mobile-nav-on {
	display:block;
}

#mobile-nav-off {
	display: none;

}
.active {
	display:block;
}
}

/* PAGENATION */

#main-nav .current-menu-item a, #main-nav .current_page_item a, #main-nav a:hover {
		
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	margin-left: 30%;
	margin-top: 15px;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	margin-right: 30%;
	margin-top: 15px;
}

@media (max-width: 700px) {

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	margin-left: 10%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	margin-right: 10%;
}

}


/* SIDEBAR */

#secondary {
  float: right;
  width: 20%;
  margin: 0 2%;
  padding: 1%;
  background: #FFF;
  overflow: hidden;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  -webkit-box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
  font-size: .6em;
}

@media (max-width:950px)
    {
        #secondary {
            display: none;
        }
    }


/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* ------------------------- Search widget ------------------------- */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

/* ------------------------- WRAPPERS ------------------------- */

.page-wrapper {
	width:100%;
	margin: 140px auto 0 auto;
	text-align:center;
	position:relative;
	background-color:#EEE;
}

.top-nav-wrapper {
	width:100%;
	height: 40px;
	background-color:#333;
	padding-left:5%;
	padding-right:5%;
}
#main-nav-wrapper {
	width:100%;
	height: 100px;
	background-color:#FFF;
	padding-left:5%;
	padding-right:5%;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
.nav-wrapper {
	position:fixed;
	top:0;
	width:100%;
	z-index:9999;
}

.headline-wrapper {
	width: 100%;
	height: 50px;
	background-color: #CCC;
	margin: auto;
	box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 1100px) {
.page-wrapper {
	margin: 80px auto 0 auto;
}
.top-nav-wrapper {
	height: 30px;
}
#main-nav-wrapper {
	height: 50px;
}
}
/*---------------- SEARCH  -------------*/


.search-wrapper {
	display:none;
	height:40px;
	width:100%;
	background-color:#42FF00;
	position:fixed;
	top:0px;
	z-index:999998;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
.search-icon {
	position: fixed;
	height: 40px;
	width: 40px;
	top: 18px;
	background: #333;
	z-index: 999999;
	border: #FFF 1px solid;
	/*border-bottom-right-radius: 5px;*/
	/*border-top-right-radius: 5px;*/
	border-left: none;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
.search-icon img {
	margin: 4px;
	height: 32px;
	width: 32px;
}

#top-search {
	background:#FF5000;
	color:#FFF;
	height:40px;
}

#top-search-field {
	background:#FF5000;
	color:#FFF;
	width:100%;
	height:40px;
	border:none;
	margin-left: 50px;
	font-family: 'Raleway', sans-serif;
	font-weight:normal;
	font-size:1.2em;
}

#top-search-field input {
	border: none;
	outline: none;
}

::-webkit-input-placeholder {
   color:#F0F0F0;
}

:-moz-placeholder { /* Firefox 18- */
   color:#F0F0F0; 
}

::-moz-placeholder {  /* Firefox 19+ */
   color:#F0F0F0; 
}

:-ms-input-placeholder {  
   color:#F0F0F0;  
}

@media screen and (max-width: 1100px) {

.search-wrapper {
	height: 30px;
}
#top-search {
	height: 30px;
}
#top-search-field {
	height: 30px;
}
.search-icon {
	height: 30px;
	width: 30px;
}
.search-icon img {
	margin: 2px;
	height: 25px;
	width: 25px;
}
}


/* ------------------------- LOGO ------------------------- */

.site-logo {
	position:fixed;
	float:left;
	display:block;
	padding-top:15px;
	margin:0;
	min-width:225px;
	z-index:999;
}

.site-logo img {
	width:195px;
	height:auto;
}

@media screen and (max-width: 1100px) {

.site-logo {
	padding-top: 4px;
}

.site-logo img {
	width: 125px;
}
}

/* ------------------------- SLIDE AREA ------------------------- */

.slider-wrapper {
	width:100%;
	max-height:350px;
	background-image:url(images/bg.png);
	overflow:hidden;
}

#cycle {
	margin: 0;
}

li.cycle-slide-active{
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.cycle-prev {
	left:0;
	position: absolute;
	top: 0;
	width: 45%;
	opacity: 0;
	z-index: 800;
	height: 100%;
	cursor: pointer;
	background-image:url(images/SLIDER_PREV.png);
	background-repeat:no-repeat;
}
.cycle-next {
	position: absolute;
	right:0;
	top: 0;
	width: 45%;
	opacity: 0;
	z-index: 800;
	height: 100%;
	cursor: pointer;
	background-image:url(images/SLIDER_NEXT.png);
	background-position:right;
	background-repeat:no-repeat;
}

@media (max-width:1200px) {
	.cycle-next, .cycle-prev {
		background-size:20%;
	}
}


/* ------------------------- SPACERS ------------------------- */

.spacer-35 img {
	clear:both;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.spacer-35 {
	height:35px;
	border-top: #00B2CE solid 1px;
}


.slider-shadow img {
	clear:both;
	display:block;
	width:100%;
	margin-left:auto;
	margin-right:auto;
}

.slider-shadow {
	height:35px;
}

/* ------------------------- HEADLINES ------------------------- */


#headlines {
	display:inline-block;
	overflow: hidden;
	margin: auto;
	height: 50px;
	-moz-user-select: none;
	-webkit-user-select: none;
	cursor: default;
	width: 1200px;
	display: block;
	margin: auto;
	text-align: center;
	
}

#headlines h5 {
	font-family:'Raleway', sans-serif;
	font-size:30px;
	font-weight:bold;
	text-align:center;
}
#headlines a {
	text-decoration:none;
	color:#000;
}
/* ------------------------- BIG LINK BOXES ------------------------- */

.link-boxes-wrapper {
	width:100%;
	height:auto;
	overflow:hidden;
}
.link-boxes-spacer {
	height:2em;
	border-top: #00B2CE solid 3px;
	padding-bottom: 0.3em;
	background-color:#FFF;
}

#link-boxes {
	display:inline-block;
	margin-bottom:2.18em;
	border-spacing: 0.3em;
	border-collapse: separate;
	margin: 0 0 10px 0;	
}

#link-boxes a {
	display:inline-block;
	padding: auto;	
}

#link-boxes li {
	display:table-cell;
	list-style:none;
	width: 155px;
	height:80px;
	background: #FFF;
	box-shadow:  0px 10px 8px -10px #333;
	border:#CCC 1px solid;
	vertical-align:middle;
}

#link-boxes img {
	margin:auto;
	height:auto;
	width:150px;
	padding:2px;
	overflow:hidden;
}


/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/

.hentry {
	/*margin: 0 0 1.5em;*/
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.content-area {
	height:100%;
	position:relative;
	padding:0 0 2% 0;
	background-repeat:repeat;
}
.site-main {
	min-height:550px;
	margin: 0 4% 1% 4%;
	padding: 2% 5% 2% 5%;
	background: #FFF;
	overflow: hidden;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
    -webkit-box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
}
.content-area-archive {
	height:100%;
	position:relative;
}

body.archive {
	position:relative;
	top: -10px;
}

/* POSTS FEATURED IMAGE */

.wp-post-image {
	display: block;
	margin: auto;
}

.content-feature {
	width: 92%;
	height: auto;
	background-repeat: no-repeat;
	position: fixed;
	z-index: -1;
	margin: 0 4%;
	overflow: hidden;
	background-position: 0 -175px;
}

#featured-bg {
width: 100%;
}

#featured-bg.format-video  {
	display: none;
}

#featured-spacer {
	height: 350px;
	width: 1px;
	background: transparent;
}

#featured-spacer.format-video  {
	display: none;
	margin: 0;
}

.featured-entry-title {
    color: #FFF;
}

.featured-entry-title.format-video {
    color: #333;
}
.featured-entry-header {
  position: fixed;
  padding: 10px 4%;
  background-color: rgba(45, 45, 45, 0.6);
  width: 92%;
  top: 40%;
}
.featured-entry-meta {
    color: #FFF;
}
.featured-entry-meta a {
    color: #FFF;
    text-decoration: none;
}

.featured-entry-meta.format-video {
	color:#333;
}

.featured-entry-meta.format-video a {
	color:#333;
}

#featured-bg-mobile {
	display:none;
}
#featured-header-mobile {
	display:none;
}

@media screen and (max-width: 1100px) {
.content-feature {
	display:none;
}
#featured-spacer {
	display:none;
}
#featured-bg-mobile {
	display: inline-block;
	width: 100%;
}
#featured-header-mobile {
	display: inline-block;
	color: #333;
}
#featured-bg-mobile.format-video {
	display:none;
}
#featured-header-mobile.format-video {
	display:none;
}

.featured-entry-title {
color: #333;
}
.featured-entry-meta {
color: #333;
}
.featured-entry-meta a {
color: #333;
}

}



/*-------------------------------------------------------------
ENTRIES
--------------------------------------------------------------*/


.ribbon-wrapper {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
 }
 
.ribbon-orange {
	font-size: 1.5ew;
	font-weight: bold;
	font-family: 'Raleway', sans-serif;
	color: #333;
	text-align: center;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	position: relative;
	padding: 10px 0;
	left: -50px;
	top: 35px;
	width: 210px;
	background-color: #FF5000;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45));
	background-image: -webkit-linear-gradient(270deg,rgba(255,80,0,1.00) 0%,rgba(255,115,51,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(255,80,0,1.00) 0%,rgba(255,115,51,1.00) 100%);
	background-image: -ms-linear-gradient(top, #BFDC7A, #8EBF45);
	background-image: -o-linear-gradient(270deg,rgba(255,80,0,1.00) 0%,rgba(255,115,51,1.00) 100%);
	color: #FFFFFF;
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
	background-image: linear-gradient(180deg,rgba(255,80,0,1.00) 0%,rgba(255,115,51,1.00) 100%);
}

.ribbon-orange:before {
  left: 0;
}
.ribbon-orange:after {
  right: 0;
}

#entry-wrapper {
	height:auto;
	margin-left:10%;
	margin-right:10%;
	margin-bottom:3%;
	overflow:hidden;
}

#entry-img-wrapper {
	float:left;
	width:40%;
	overflow:hidden;
	/*border:1px #333 solid;*/
	/*border-radius:10px;*/
	margin-right:25px;
	/*box-shadow:  0px 10px 8px -10px #333;*/
	
}

#entry-thumb {
	width: 100%;
	background-color: #333;
	overflow: hidden;
}

a.divlink {
	position:relative;
	width:100%;
	height:100%;
	top:0;
	left:0;
	text-decoration:none;
	z-index:10;
	background-color:white;
	opacity: 0;
	filter: alpha(opacity=0);
}

#entry-thumb img{
	width:100%;
	height:auto;
}

#entry-date {
	height:25px;
	background:#333;
	text-align:right;
	padding:2px 15px 2px 2px;
}

#entry-date h4 {
	color:#FFF;
	font-weight:normal;
	font-size:1em;
}


.entry-title {
	display:inline-block;
	color:#333;
	font-size: 1.2em;
	word-wrap:break-word;
}

.entry-title a {
	text-decoration:none;
	color:#333;
	font-size: 1.2em;
	word-wrap:break-word;
}

#entry-byline {
	font-size:1.1em;
	font-weight:normal;
	color:#333;
	padding-bottom:5px;
}

#entry-byline a {
	text-decoration:none;
	font-weight:normal;
	color:#333;
}
#entry-bar {
	height:8px;
	background-color:#FF5000;
	background-repeat:repeat;
	/*border-radius:5px;*/
	box-shadow:  0px 10px 8px -10px #333;
	width:100%;
}

.sticky #entry-bar {
	background-color:#00B2CE;
}

#entry-content-wrapper {
	display:inline-block;
	width:50%;
}

#entry-wrapper .post {
	height:225px;
}

#entry-comments {
	color:#333;
}

.archive-title-wrapper {
	margin:15px 10% 15px 10%;
	padding:10px;
}

.entry-header {
	border-bottom:#00B2CE solid 1px;
	margin-bottom:15px;
}

article.forum > .entry-header {
    display: none;
}

.entry-meta {
	font-size:1.05em;
	font-family:'Raleway', sans-serif;
}

.entry-meta a {
	text-decoration:none;
	color:#000;
}

footer.entry-meta {
	border-top:#00B2CE solid 1px;
	margin-top:15px;
	padding-top:10px;
}

 @media (max-width: 700px) {
	
	 
	 #entry-img-wrapper {
		 width: 100%;
		 margin-bottom:1.5em;
	 }
	 #entry-content-wrapper {
		 width:100%;
	 }
	 
 }


/*--------------------------------------------------------------
AUTHOR AREA
--------------------------------------------------------------*/

#author-area{
	margin: 20px 5% 20px 5%;
	padding: 5px;
	width: 90%;
	overflow: hidden;
	color: #333;
	height: auto;
}
#author-area h3{
	display:inline-block;
	font-size: 18px;
	color:#333;
	margin:5px 0 15px 0;
	border-bottom:#00B2CE solid 1px;
}
#author-area h3 a{
	text-decoration:none;
	color: #333;
	font-weight: bold;
}
#author-area img{
	margin: 1%;
	float: left;
	border: 1px solid #ddd;
	width: auto;
	height: 115px;
	border-radius: 100%;
	box-shadow:10px 10px 30px -15px #999;
	background:#FFF;
}
#author-area p{
	color:#333;
	margin:0;
}
#author-area p a{
	color:#333;
}
.author-info {
	box-shadow: 0px 20px 10px -20px #333;
	border: 1px solid #DDD;
	margin: 20px 5% 20px 5%;
	border-radius: 5px;
	padding: 5px 5px 5px 100px;
	background:#FAFAFA;
} 
.author-link {
	padding:5px 0 5px 0;
	text-decoration:none;
	font-family:'Raleway', sans-serif;
	font-size:14px;
	color:#333;	
}

.author-social ul {
	margin: 0 0 15px 0;	
}

.author-social li {
	height:48px;
	width:48px;
	list-style:none;
	
	display:inline-block;
}

.author-social li a {
	height:48px;
	width:48px;
	padding:5px;
	display:inline-block;
}

#author-twitter {
	background:url(images/social/twitter.png)
}

#author-facebook {
	background:url(images/social/facebook.png)
}

#author-googleplus {
	background:url(images/social/googleplus.png)
}

#author-linkedin {
	background:url(images/social/linkedin.png)
}

#author-youtube {
	background:url(images/social/youtube.png)
}

#author-vimeo {
	background:url(images/social/vimeo.png)
}

#author-skype {
	background:url(images/social/skype.png)
}


@media (max-width:700px) {
#author-area {
	margin:0;
	padding:0;
	width: 100%;
}
#author-area h3{
	display:inline-block;
	font-size: 18px;
	color:#333;
	margin:5px 0 15px 0;
	border-bottom:#00B2CE solid 1px;
}
#author-area h3 a{
	text-decoration:none;
	color: #333;
	font-weight: bold;
}
#author-area img{
	margin: 0 10px 0 0;
	height: 75px;
	border-radius: 5px;
}

.author-info {
	box-shadow: 0px 20px 10px -20px #333;
	border: 1px solid #DDD;
	margin: 0;
	border-radius: 5px;
	padding: 5px 5px 5px 5px;
	background:#FAFAFA;
} 
	
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

.comments-area {
	/*border: #003767 solid 1px;*/
}

.comments-title {
	padding: 15px;
	border-top: #00B2CE solid 1px;
}

.comment-list {
	text-decoration:none;
	list-style:none;
	margin: 0 2% 25px 2%;
}
.comment-list li {
	text-decoration:none;
	list-style:none;
}

.comment-list ol {
	margin-left:35px;
}

.comment-body {
	border: red solid 1px;
	margin: 5px 0 20px 0;
	box-shadow: 0px 20px 10px -20px #333;
	border: 1px solid #DDD;
	border-radius:15px;
	background-color: #EEE;
}

.comment-author img {
	margin: -5px 10px 10px -35px;
	float: left;
	border: 1px solid #ddd;
	width: 75px;
	height: 75px;
	border-radius: 100%;
	box-shadow:5px 5px 15px -7px #999;
	background:#FFF;
}

.comment-content {
	padding-left: 55px;
	padding-right:10px;
}

.reply {
	padding-left:95px;
}
.comment-metadata {
	margin-bottom: 10px;
}
.comment-metadata a {
	text-decoration:none;
	color:#333;
	border-bottom: #00B2CE solid 1px;
	font-family:'Raleway', sans-serif;
	font-size:14px;
}
b.fn, .says {
	font-family:'Raleway', sans-serif;
	font-size:20px;
	color:#333;
	font-weight:normal;
}

b.fn a {
	text-decoration:none;
	color:#333;
}
.reply {
	padding:15px;
}

.reply a {
	text-decoration:none;
	font-family:'Raleway', sans-serif;
	color:#333;
	padding:5px;
	border:#333 1px solid;
	border-radius:3px;
}

.reply a:hover {
	background-color: #FF5000;
	color:#FFF;
}

.comment-respond {
	margin: 5px 0 20px 0;
	border:#00B2CE 1px solid;
	padding:15px;
}
.comment-respond h3 {
	font-weight:bold;
}

.logged-in-as {
	margin-left:15px;
	font-family:'Raleway', sans-serif;
	font-size:14px;
}

.logged-in-as a {
	text-decoration:none;
	color:#333;
}

.comment-form-comment {
	margin-left:15px;
	font-family:'Raleway', sans-serif;
	font-size:14px;
	font-weight:bold;
	text-transform:uppercase;
}

input#submit {
	font-family:'Raleway',sans-serif;
	font-size:12px;
	font-weight:bold;
}
textarea#comment {
	font-family:'Droid Sans', sans-serif;
	color:#333;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	display:inline-block;
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
	height:auto;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

.wp-video {
	clear:both;
	height:100%;
	width:1024px;
	margin:25px auto;
}

img {
	max-width:100%;
	height:auto;
}