/*
	Theme Name: Noel
	Theme URI: http://themeforest.net/user/flGravity/portfolio
	Description: Noel is an Responsive Onepage Wordpress Theme with elegant minimalistic design. It can be used as a personal portfolio, a project showcase, or photography website.
	Author: flGravity
	Author URI: http://themeforest.net/user/flGravity
	Version: 1.4
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	
	Tags: photoblogging, featured-images, flexible-width, custom-background, custom-menu, theme-options, black
	
	----------------------------------
	
	TABLE OF CONTENS
	
	 1. CSS Reset
	 2. General Styles
	 3. Layout
	 4. Template Classes
	 5. Structure
	 6. Menus and Navigation
	 7. News
	 8. Gallery
	 9. Projects
	10. Comments
	11. Widgets
	12. IE fixes
	13. Media Queries
	
*/


/* load google web font */
@import url(http://fonts.googleapis.com/css?family=Oswald:700);

/* load other styles */
@import url(css/fancybox/fancybox.css);
@import url(css/backslider.css);
@import url(css/flexslider.css);
@import url(css/rollbar.css);
@import url(css/tipsy.css);


/**
----------------------------------- (1) CSS 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;
}

dd {
	margin-bottom: 0.85em;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
	height: 100%;
	width: 100%;
}


/** 
----------------------------------- (2) General Styles -----------------------------------
*/

body {
	font-family: "Caudex", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
    font-size: 13px;
    line-height: 22px;
    color: #bbb;
    background: #000;
}
#intro-content span{
   clear: both;
    display: block;
    font-family: italic;
    font-size: 12px;
    text-align: right;
    width: 300px;
}

a {
	color: #45a6ce;
	text-decoration: none;
	font-style: italic;
	-webkit-transition:	color .2s ease-out;
	-moz-transition:	color .2s ease-out;
	-ms-transition:		color .2s ease-out;
    -o-transition:		color .2s ease-out;
    transition:			color .2s ease-out;
}

a:hover {
	color: #ddd;
}

small {
	font-size: 85%;
	line-height: 1.7em;
}

ins {
	border-bottom: 1px dashed #777;
	padding-bottom: 1px;
	text-decoration: none;
}

mark {
	padding: 0 2px;
    color: #111;
    background-color: #ffcd4d;
    text-decoration: none;
}

blockquote {
	font-size: 18px;
	font-style: italic;
	border-left: 2px solid #45a6ce;
	padding-left: 20px;
	color: #999;
}

a img {
	border: none;
}

a > img {
	vertical-align: bottom;
}

del {
    text-decoration: line-through;
}

strong, dt {
	font-weight: bold;
}

em, cite {
	font-style: italic;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

:focus {
	outline: 0;
}

label,button,
input[type=button],input[type=submit] {
	cursor: pointer;
}

input, select {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

code {
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
}

hr {
    display: block;
    clear: both;
    height: 1px;
    border: 0;  
    margin: 20px 0;
    background: #555;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	color: #ddd;
}

h1 { 
	font-size: 27px; 
	line-height: 44px; 
	margin: 11px 0 22px; 
}

h2 { 
	font-size: 20px;
	line-height: 33px; 
	margin: 44px 0 22px; 
}

h3 {
	font-size: 18px;
	line-height: 22px;
	margin: 22px 0;
}

h4 {font-size: 16px;}
h5 {font-size: 14px;}
h6 {font-size: 13px;}
h4, h5, h6 {margin: 11px 0;}

/* tables */

caption {
	text-align: left;
}

th, td {
	min-width: 20px;
	padding: 0 5px;
	font-size: 85%;
	text-align: center;
	vertical-align: middle;
}

/* forms */

form {
	width: 75%;
}

form p {
	margin: 0;
}

/* input */

input,
textarea,
label {
	max-width: 400px;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

label {
	display: block;
	text-align: right;
	font-style: italic;
	margin: 10px 0;
	color: #999;
	font-size: 85%;
}

input, 
textarea {
	display: block;
	border: none;
	padding: 5px 0;
	margin: 0 0 10px;
	border-bottom: 1px solid #777;
	background: none;
	font-family: inherit;
	font-size: 100%;
	line-height: 22px;
	color: #bbb;
}

input:focus, 
textarea:focus {
	outline: none; 
	border-bottom: 1px solid #999;
}

/* buttons */

button, .button,
input[type="button"], 
input[type="submit"] {
	display: inline-block;
	width: auto !important;
	border: none;
	padding: 5px 20px;
	margin: 0 2px;
	background: #111;
	font-family: inherit;
	font-size: 100%;
	font-weight: bold;
	line-height: 22px;
	font-style: normal;
	color: #ddd;
	-webkit-transition:	background .1s ease-out;
	-moz-transition:	background .1s ease-out;
	-ms-transition:		background .1s ease-out;
    -o-transition:		background .1s ease-out;
    transition:			background .1s ease-out;
    -webkit-appearance: none;
}

button:hover, .button:hover,
input[type="button"]:hover, 
input[type="submit"]:hover {
	color: #fff;
	background: #45a6ce;
}

.button.white, button.white,
input[type="button"].white, 
input[type="submit"].white {
	background: #eee;
	color: #333;
}

/* selection */

::selection { 
    background: #a8d1ff; 
    color: #fff; 
    text-shadow: none;
}

::-moz-selection { 
    background: #a8d1ff; 
    color: #fff; 
    text-shadow: none;
}


/** 
----------------------------------- (3) Layout -----------------------------------
*/

p, 
pre,
ul,
ol,
dl,
table,
blockquote,
.tabs,
.social,
.tagcloud,
.sharebox,
.projects,
.video,
.flexslider,
.twitter-feed,
.backslider-static-wrapper,
.comments,
.comment,
.google-map,
.comment-list,
.comment-form {
	margin-bottom: 20px;
}

/* fluid grid */

.col-one-third,
.col-one-half,
.col-two-thirds {
	position: relative;
	float: left;
	margin-right: 3%;
	margin-bottom: 20px;
}

.col-one-third {
	width: 31.333%;
}

.col-one-half {
	width: 48.5%;
}

.col-two-thirds {
	width: 64.666%;
}

.col-last {
	margin-right: 0px !important;
	clear: right;
}

.col-first {
	clear: left;
}

.col-inner {
	margin-bottom: 0;
}

.col-one-third > :last-child,
.col-one-half > :last-child,
.col-two-thirds > :last-child {
	margin-bottom: 0px;
}

/* floats and clearing */

.alignleft { 
	float: left; 
}

.alignright { 
	float: right; 
}

.clear {
    clear: both;
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    width:100%;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	font-size: 0;
	line-height: 0;
	height: 0;
}
.social{
display:none;
}

/* responsive images */

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail,
.news-photo img,
.project-thumb img,
.project-photo img,
.related-project-thumb img {
	max-width: 100%;
	height: auto !important;
	width: auto;
}

/** 
----------------------------------- (4) Template Classes -----------------------------------
*/

/* alt link color */

.widget a,
.project-category a,
.project-meta a,
.pagination a {
	color: #999;
	font-style: italic;
}

.widget a:hover,
.project-category a:hover,
.project-meta a:hover,
.pagination a:hover {
	color: #45A6CE;
}

/* alt font style (captions, time, sub etc) */

caption,
blockquote,
.wp-caption-text,
.latest-posts time,
.twitter-feed .timestamp,
.tagcloud a,
.news-heading span,
.comment-time,
#intro-title strong {
	font-family: "Times New Roman", "Times", Georgia, Serif;
	font-style: italic;
	color: #999;
}

/* transparent elements */

#sections,
#side-nav,
.rollbar-path-vertical,
.rollbar-path-horizontal {
	background: url("images/bg.png") repeat;
	background: rgba(0,0,0,0.7);
}

table,
.toggle-title,
.tabs-active {
	background: #222;
	background: rgba(0,0,0,0.3);
}

/* wordpress native classes */

img.alignnone {
	margin-bottom: 20px;
}

img.aligncenter {
	display: block;
	margin: 0 auto;
	margin-bottom: 20px;
}

img.alignleft {
	margin: 5px 25px 0 0;
	margin-bottom: 20px;
}

img.alignright {
	margin: 5px 0 0 25px;
	margin-bottom: 20px;
}

.wp-caption {
	text-align: center;
	margin: 0 20px;
}

.wp-caption.aligncenter {
	margin: 0 auto;
}

.wp-caption-text {
	padding: 5px;
	margin: 0 0 10px;
}

.gallery {
	margin: 40px 0 10px !important;
	overflow: hidden;
}

.gallery br {
	display: none;
}

.gallery-icon img {
	border: none !important;
}

.gallery-item {
	margin: 0 !important;
}

.gallery-item:hover .gallery-caption {
	color: #bbb;
	text-decoration: underline;
}

.attachment-large {
	min-width: 100%;
	width: 100%;
	height: auto;
}

/* tabs */

.tabs {
	position: relative;
}

.tabs-nav {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}

.tabs-nav li {
	float: left;
	padding: 5px 20px;
}

.tabs-nav a {
	color: #bbb;
	font-weight: bold;
	font-style: normal;
}

.tabs-content {
	position: relative;
	clear: left;
}

/* toggle */

.toggle {
	margin-bottom: 10px;
}

.toggle-content {
	display: none;
	padding: 10px;
}

.toggle-title {
	position: relative;
	padding: 5px 30px 5px 20px;
}

.toggle-title-icon {
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 30px;
}

.toggle-title .toggle-title-icon {
	background: url('images/controls.png') no-repeat -125px -5px;
}

.toggle-active .toggle-title-icon {
	background: url('images/controls.png') no-repeat -125px -45px;
}

.toggle-title a {
	display: block;
	width: 100%;
	font-weight: bold;
	font-style: normal;
	color: #bbb;
}

.toggle-content :last-child {
	margin-bottom: 0;
}

/* tag cloud */

.tagcloud {
	overflow: hidden;
	width: 100%;
}

.tagtype {
	float: left;
	margin-right: 10px;
	font-weight: bold;
}

.tagcloud a {
	float: left;
	padding: 0 10px;
	margin: 0 5px 5px 0;
	background: #111;
	font-size: 12px!important;
	text-decoration: none;
	font-style: italic;
}

.tagcloud a:hover {
	color: #ddd;
}

/* blueline after/before */

.blueline-before:before {
	content: "";
	display: block;
	width: 10px;
	height: 5px;
	border-top: 1px solid #45A6CE;
}

.blueline-after:after {
	content: "";
	display: block;
	width: 10px;
	height: 5px;
	border-bottom: 1px solid #45A6CE;
}

/* delimiter */

.delimiter {
	padding: 0;
	margin: 40px 0;
	line-height: 22px;
	text-align: center;
}

.delimiter:before,
.delimiter:after {
	content: "";
	display: inline-block;
	width: 25px;
	height: 0;
	margin: 10px 20px;
	vertical-align: bottom;
	border-top: 1px solid #45A6CE;
}

/* list types */

.list.circle {
	list-style: circle inside;
}

.list.square {
	list-style: square inside;
}

.list.disc {
	list-style: disc inside;
}

/* horizontal list */

.hlist {
	margin: 0 0 20px;
	width: 100%;
	overflow: hidden;
}

.hlist > li {
	float: left;
	margin-right: 10px;
}

.hlist > li:last-child {
	margin-right: 0;
}

/* contacts info */

ul.contacts {
	padding-top: 40px;
	background: url('images/contact.png') no-repeat 0 0;
}

ul.contacts > li {
	font-weight: bold;
}

/* social icons */

.social li {
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
}

.social li:last-child {
	margin-right: 0;
}

.social a {
	display: block;
	width: 16px;
	height: 16px;
}

.social .blogger { background: url(images/social/blogger.png); }
.social .buzz { background: url(images/social/buzz.png); }
.social .delicious { background: url(images/social/delicious.png); }
.social .deviantart { background: url(images/social/deviantart.png); }
.social .digg { background: url(images/social/digg.png); }
.social .dribbble { background: url(images/social/dribbble.png); }
.social .email { background: url(images/social/email.png); }
.social .facebook { background: url(images/social/facebook.png); }
.social .flickr { background: url(images/social/flickr.png); }
.social .forrst { background: url(images/social/forrst.png); }
.social .google { background: url(images/social/google.png); }
.social .gowalla { background: url(images/social/gowalla.png); }
.social .hyves { background: url(images/social/hyves.png); }
.social .lastfm { background: url(images/social/lastfm.png); }
.social .linkedin { background: url(images/social/linkedin.png); }
.social .livejournal { background: url(images/social/livejournal.png); }
.social .myspace { background: url(images/social/myspace.png); }
.social .reddit { background: url(images/social/reddit.png); }
.social .rss { background: url(images/social/rss.png); }
.social .soundcloud { background: url(images/social/soundcloud.png); }
.social .spotify { background: url(images/social/spotify.png); }
.social .stumbleupon { background: url(images/social/stumbleupon.png); }
.social .tumblr { background: url(images/social/tumblr.png); }
.social .twitter { background: url(images/social/twitter.png); }
.social .vimeo { background: url(images/social/vimeo.png); }
.social .yahoo { background: url(images/social/yahoo.png); }
.social .youtube { background: url(images/social/youtube.png); }

/* sharebox */

.sharebox {
	position: relative;
	padding-left: 30px;
	overflow: hidden;
}

.sharebox .sharebox-icon {
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	background: #111 url("images/share.png") no-repeat 0 0;
	cursor: pointer;
}

.sharebox:hover .sharebox-icon {
	background-position: 0 -30px;
}

.sharebox ul {
	position: relative;
	float: left;
	margin: 0;
	background: #999;
}

.sharebox ul li {
	float: left;
	margin: 0;
	clear: none;
}

.sharebox a {
	display: block;
	width: 30px;
	height: 30px;
}

.sharebox a:hover {
	background-color: #bbb!important;
}

.sharebox .twitter-share  { background: url("images/sharebox/picons03.png") no-repeat 50% 50%; }
.sharebox .facebook-share { background: url("images/sharebox/picons06.png") no-repeat 50% 50%; }
.sharebox .linkedin-share { background: url("images/sharebox/picons11.png") no-repeat 50% 50%; }
.sharebox .flickr-share {  background: url("images/sharebox/picons04.png") no-repeat 50% 50%; }
.sharebox .picasa-share {  background: url("images/sharebox/picons21.png") no-repeat 50% 50%; }
.sharebox .youtube-share {  background: url("images/sharebox/picons18.png") no-repeat 50% 50%; }
.sharebox .vimeo-share {  background: url("images/sharebox/picons13.png") no-repeat 50% 50%; }
.sharebox .yahoo-share { background: url("images/sharebox/picons14.png") no-repeat 50% 50%; }
.sharebox .google-share {  background: url("images/sharebox/picons09.png") no-repeat 50% 50%;  }
.sharebox .digg-share {  background: url("images/sharebox/picons08.png") no-repeat 50% 50%; }
.sharebox .rss-share {  background: url("images/sharebox/picons20.png") no-repeat 50% 50%; }

/* fancybox */

.fancybox-group {
	margin-bottom: 20px;
	background: #111 url('images/image.png') no-repeat center center;
}

.fancybox-group img {
	display: block;
	width: 100%;
	height: auto;
}

#fancybox-title-over {
	font-weight: bold;
	padding: 10px;
}

#fancybox-title {
	width: auto !important;
	bottom: 10px !important;
	font-family: inherit;
}

.fancybox-title-over {
	color: #bbb;
}

#fancybox-close {
	width: 40px;
	height: 40px;
	top: 0;
	right: 0;
	background: #111 url("images/controls.png") no-repeat 0 0;
}

#fancybox-close:hover {
	background-position: 0 -40px;
}

#fancybox-right-ico, #fancybox-left-ico {
	width: 40px;
	height: 40px;
	margin-top: -20px;
}

#fancybox-left-ico { background: #111 url("images/controls.png") no-repeat -40px 0; }
#fancybox-right-ico { background: #111 url("images/controls.png") no-repeat -80px 0; } 

#fancybox-left-ico:hover { background-position: -40px -40px; }
#fancybox-right-ico:hover { background-position: -80px -40px; }

#fancybox-left:hover span {
	left: 0;
}

#fancybox-right:hover span {
	left: auto;
	right: 0;
}

#fancybox-outer {
	background: #111;
}

#fancybox-content {
	border: 0px solid #000;
}

#fancybox-error {
	padding: 40px;
}

/* flexslider */

.flexslider {
	width: 100%;
	height: auto;
	max-height: 250px;
	border: 0;
	overflow: hidden;
	background: #000;
	margin: 20px 0;
}

.flexslider .description {
	position: absolute;
	top: 20px;
	left: 0;
	margin: 0;
	z-index: 1;
}

.flexslider .description li {
	display: none;
}

.flexslider .description p {
	font-size: 115%;
	margin: 0 0 5px;
	padding: 10px;
	float: left; 
	clear: left;
	border-left: 5px solid #111;
}

.flexslider .flex-desc-black{
	color: #bbb;
	background: #111;
}

.flexslider .flex-desc-white{
	color: #555;
	background: #eee;
}

/* backslider */

.backslider-static-wrapper {
	position: relative;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 */
}

.backslider-static {
	position: absolute;
	height: 100%;
	width: 100%;
}

.backslider-static .bs-overlay {
	display: none;
}

.backslider-static .bs-preload-indicator {
	background: url("images/loading.gif") no-repeat center center;
}

/* video */

.video {
	position: relative;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 */
	background: url('images/loading.gif') no-repeat center center;
}

.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* twitter */

.twitter-feed {
	position: relative;
	min-height: 40px;
	padding-left: 40px;
}

.twitter-feed-follow {
	position: absolute;
	top: 5px; 
	left: 0;
	height: 24px;
	width: 24px;
	border: 0;
	background: url("images/twitter.png") no-repeat 0 0;
}

.twitter-feed .tweetList,
.twitter-feed .tweetList p {
	margin: 0;
	font-style: italic;
}

.twitter-feed .timestamp {
	font-size: 12px;
	color: #777;
}

/* google map */

.google-map {
	width: 100%;
	height: 264px;
	margin-top: 20px;
	border: 1px solid #777;
}

/* progress */

.loading {
	background-image: url("images/loading.gif") !important;
	background-repeat:  no-repeat !important;
	background-position: center center !important;
}

/* pagination */

.pagination {
	color: #777;
}

.pagination a {
	margin: 0 5px;
	font-style: italic;
}

/* message */

.message {
	margin: 20px 0;
	padding: 0 20px;
	clear: both;
}



/**
----------------------------------- (5) Structure -----------------------------------
*/

/* site intro */

#intro {
	display: none;
	position: absolute;
	top: 0;
	right: -50px;
	width: 500px;
	margin-top: 100px;
}

#intro-header {
	position: relative;
	display: table;
	width: 100%;
	text-align:right;
	margin-bottom: 10px;
}

#intro-title {
	width: 300px;
	padding-right: 40px;
	border-right: 1px solid #222;
}

#intro-title h1 {
	margin: 0 0 11px;
	font-size: 30px;
	line-height: 33px;
	font-style: italic;
	color: #eee;
}

#intro-title strong {
	color: #bbb;
	font-size: 18px;
	line-height: 22px;
}

#intro-content {
	color: #bbb;
	font-size: 110%;
}

#site-enter {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 120px;
}

#site-enter .button {
	padding: 10px 20px;
}

/* background changer */

#background {
	background: #777;

}
#big-video-wrap{
position:fixed;
height:100%;
width:100%;
overflow:hidden;
}

#background .bs-controls {
	display: none!important;
}

#background .bs-preload {
	background: #000 url('images/bs-preloader.gif') no-repeat center center;
}

#background .bs-preload-indicator {
	display: none;
}

/* wrapper */

#wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 10;
	min-width: 960px;
}

/* content */

#content {
	position: relative;
	float: left;
	width: 100%;
	height: auto;
}

/* sidebar */

#side-nav {
	position: relative;
	float: left;
	height: auto;
	width: 180px;
	padding: 0 10px;
	border-right: 1px solid #111;
}

#side-nav .site-logo a {
	display: block;
	width: 160px;
	height: 100px;
	margin: 0 10px;
	text-align: center;
}

#side-nav .status,
#side-nav .social {
	margin: 0 20px;
	margin-bottom: 20px;
	line-height: normal;
}

/* sections */

#sections {
	position: absolute;
	left: 201px;
	width: 0;
	height: 100%;
	overflow: hidden;
}

#sections-inner {
	position: relative;
	left: 0;
	top: 0;
	padding: 0 80px;
	height: 100%;
	clear: both;
}

.section-block {
	display: none;
	position: relative;
	top: 0;
	left: 0;
	z-index: 0;
}

.auto-height {
	height: auto !important;
}

.auto-width {
	width: auto !important;
}

.auto-size {
	width: auto !important;
	height: auto !important;
}

.rollbar-path-horizontal {
	margin: 0 60px;
	bottom: 5px;
	height: 4px;
}

.rollbar-path-vertical {
	right: 38px;
}

.ajax-section {
	display: none;
}

/* footer */

#footer {
	position: fixed;
	bottom: 0;
	right: 0;
	margin: 5px 10px;
	font-size: 85%;
	color: #bbb;
	z-index: 15;
}

/* for JS preload */

#wrapper, #background {
	display: none;
}



/** 
----------------------------------- (6) Menus and Navigation -----------------------------------
*/

/* common */

.primary-nav a {
	color: #ddd;
	font-size: 85%;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
}

.primary-nav .sub-menu {
	display: none;
	margin: 0!important;
	overflow: hidden;
}

.primary-nav .sub-menu-active .sub-menu {
	display: block;
}

.primary-nav .sub-menu a { 
	color: #999; 
}

/* sidebar */

#side-menu .rollbar-path-vertical,
#side-menu .rollbar-path-horizontal {
	width: 1px;
	right: auto;
	left: 0;
}

#side-menu .rollbar-content {
	float: right!important;
}

#side-menu {
	position: relative;
	margin: 40px 0 60px;
	max-height: 176px;
	overflow: hidden;
	z-index: 0;
}

#side-menu ul {
	margin: 0 20px 0 0;
	text-align: right;
}

#side-menu .menu-item-inner {
	position: relative;
	padding: 1px 0;
	width: 140px;
	overflow: hidden;
}

#side-menu a {
	display: block;
	padding: 0 5px;
	line-height: 25px;
}

#side-menu a:hover {
	color: #fff !important;
	font-weight: bold;
}

#side-menu .menu-item-active a {
	color: #fff;
	font-weight: bold;
}

#side-menu .menu-item-background {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: #45A6CE;
	color: #fff;
	z-index: -1;
}

/* mobile */

#mobile-nav {
	display: none;
	position: relative;
	float: left;
	width: 100%;
	background: #111;
}

#mobile-nav .site-logo {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	margin: auto 0;
	width: 80px;
	height: 60px;
}

#mobile-menu {
	margin-left: 85px;
	float: left;
	width: 75%;
	padding: 20px 0 15px;
}

#mobile-menu ul {
	margin: 0;
	overflow: hidden;
}

#mobile-menu li {
	float: left;
	margin: 0 5px 5px 0;
}

#mobile-menu a {
	display: block;
	line-height: 20px;
	padding: 0 5px;
}

#mobile-menu a:hover,
#mobile-menu .menu-item-active a {
	color: #111;
	background: #ddd;
}



/** 
----------------------------------- (7) News -----------------------------------
*/

.news {
	position: relative;
	height: 100%;
}

.news .rollbar-path-vertical {
	right: 0;
	width: 2px;
}

.news-list {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
}

.news-list > li {
	position: relative;
	float: left;
	width: 420px;
	padding-right: 160px;
}

.news-photo {
	height: 120px;
	background: #111 url("images/resize.png") no-repeat center center;
	overflow: hidden;
}

.news-date {
	position: absolute;
	padding: 5px 10px;
	margin: -5px 0 0 -5px;
	background: #45a6ce;
	color: #fff;
	font-weight: bold;
	z-index: 1;
}

.news-heading {
	margin: 15px 0 10px;
}

.news-heading h3 {
	margin: 0;
}

.news-heading span {
	font-size: 12px;
	color: #999;
}

.news-heading a {
	font-style: normal;
	color: #ddd;
}

.news-heading a:hover,
.news-active .news-heading a {
	text-decoration: underline;
}

.news-text {
	height: 0px;
	overflow: hidden;
	padding-right: 20px;
}

.news-text p:last-child {
	margin: 0;
}

.news-open {
	cursor: pointer;
}



/** 
----------------------------------- (8) Gallery -----------------------------------
*/

.gallery-thumb {
	float: left;
	margin: 0 60px 60px 0;
	width: 240px;
	height: 240px;
	overflow: hidden;
}

.gallery-thumb-inner {
	position: relative;
	height: 100%;
}

.gallery-thumb-photo,
.gallery-thumb-meta {
	height: 100%;
	background: #111;
	color: #999;
}

.gallery-thumb-photo .img {
	display: inline-block;
	width: 240px;
	height: 240px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.gallery-thumb-photo img,
.gallery-thumb-photo .img {
	-webkit-user-select: none;
	-webkit-touch-callout: none;  
}

.gallery-thumb-icon {
	background: #111 url("images/resize.png") no-repeat center center;
}

.gallery-thumb-meta {
	position: relative;
}

.gallery-thumb-meta h4 a {	
	display: inline-block;
	padding-left: 25px;
	background: url('images/link-small.png') no-repeat left 2px;
	color: #ddd;
	font-style: normal;
}

.gallery-thumb-meta h4 a:hover {
	text-decoration: underline;
}

.gallery-thumb-description {
	padding: 20px 40px;
}

.gallery-loading-message {
	margin: 20px 0;
	color: #777;
}



/** 
----------------------------------- (9) Projects -----------------------------------
*/

/* project list */

.projects {
	margin-top: 20px;
}

.projects > li {
	float: left;
	width: 100%;
	margin: 20px 0 40px;
	clear: both;
}

.projects > li:last-child {
	margin-bottom: 20px;
}

.project-thumb {
	margin-bottom: 0!important;
	text-align: right;
	max-width: 512px;
	min-width: 380px;
	background: #111 url("images/resize.png") no-repeat center center;
}

.project-category {
	font-size: 85%;
	margin-top: -5px;
}

.project-details h4 a {
	font-style: normal;
	color: #ddd;
}

.project-details h4 a:hover {
	text-decoration: underline;
}

.sticky { }

/* single project */

.project-photo {
	margin: 0 0 20px;
	background: #111 url("images/resize.png") no-repeat 50% 50%;
	text-align: center;
}

.project-content,
.project-meta {
	margin-bottom: 40px;
}

.project-legend {
	margin-bottom: 20px;
}

.project-legend :last-child {
	margin-bottom: 0;
}

.project-meta h2 {
	margin-top: 20px;
}

.project-meta-mobile {
	display: none;
	margin-bottom: 0;
}

/* related projects */

.related-projects  {
	overflow: hidden;
	width: 100%;
}

.related-projects li {
	position: relative;
	float: left;
	width: 130px;
	margin: 0 10px 10px 0;
	overflow: hidden;
}

.related-project-thumb {
	background: #111;
}

.related-project-thumb img {
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.related-project-title {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	background: #111;
	line-height: normal;
	opacity: 0;
	-webkit-transition:	opacity .2s ease-out, bottom .2s ease-out;
	-moz-transition:	opacity .2s ease-out, bottom .2s ease-out;
	-ms-transition:		opacity .2s ease-out, bottom .2s ease-out;
    -o-transition:		opacity .2s ease-out, bottom .2s ease-out;
    transition:			opacity .2s ease-out, bottom .2s ease-out;
}

.related-project-title a {
	display: block;
	padding: 5px 10px;
	font-style: normal;
	color: #bbb;
}

.related-project-title::before {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	top: -17px;
	left: 10px;
	border-bottom-color: #111;
}

.related-projects li:hover .related-project-title {
	opacity: 1;
	bottom: 0;
}

.projects-page .pagination {
	margin-bottom: 20px;
}



/** 
----------------------------------- (10) Comments -----------------------------------
*/

.comment-author-meta {
	margin: 10px 0;
}

.comment-meta {
	height: 40px;
	overflow: hidden;
	margin: 10px 0;
}

.comment-avatar {
	float: left;
	margin-right: 10px;
}

.comment-author {
	font-weight: bold;
}

.comment-time {
	display: block;
	font-size: 90%;
}

.comment-form h3 {
	font-size: 16px;
	margin: 10px 0;
}

.comment-busy h3 {
	background: url("images/loading.gif") no-repeat 0 50%;
	padding-left: 25px;
}

.comment-form .logged-in-as {
	margin: 10px 0;
}

.bypostauthor { }


/** 
----------------------------------- (11) Widgets -----------------------------------
*/

.page-widgets {
	margin-top: 40px;
}

.page-widgets .widget:nth-child(3n+3) {
	margin-right: 0;
}

.page-widgets .widget:nth-child(3n+1) {
	clear: left;
}

.widget .latest-posts li {
	overflow: hidden;
	clear: left;
}

.widget .latest-posts img {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.widget .latest-posts time {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	color: #777;
}

.widget_calendar #today { 
	color: #ddd;
	font-weight: bold;
	text-decoration: underline;
}

.widget_search .search-results {
	padding: 10px 0;
}



/** 
----------------------------------- (12) IE fixes -----------------------------------
*/

.ie textarea { overflow: auto; }

.ie7 #content,
.ie7 #footer {
	display: none;
}

.ie7 #wrapper {
	background: url('images/noaval.png') no-repeat 50% 50%;
}

/* related projects */

.ie8 .related-projects .related-project-title {
	display: none;
	bottom: 0;
} 

.ie8 .related-projects li:hover .related-project-title  {
	display: block;
}

/** 
----------------------------------- (13) Media Queries -----------------------------------
*/

@media only screen and (min-width: 768px) {
	.news-page .noel-section-size {
		width: auto!important;
	}
}

@media only screen and (max-width:768px) {
	/* structure */
	#intro {display:none!important;}
	#wrapper {min-width: 0;}
	#mobile-nav {display:block;}
	#side-nav {display:none;}
	#content {top:0!important; left:0!important; height:100%!important;}
	#sections {left:0; top:0; width:100%!important;}
	#sections-inner {top:10px!important; padding-left: 40px; padding-right: 60px;}
	.rollbar-path-horizontal {margin-left:30px;}
	.rollbar-path-vertical {right:19px; bottom: 0;}
	/* news */
	.news-page .noel-section-size {height:auto!important;}
	.news {width:100%!important; min-height:450px; /* min-height is required by noel-plugins.js */}
	.news-list {position:relative; height:auto!important; }
	.news-list > li {float:none; margin:40px 0 60px; max-width:420px; padding:0; width:100%; top:0px !important;}
	.news-photo {height: auto;}
	/* projects */ 
	.project-thumb, .project-details {width:100%;}
	.related-project-title {opacity:1; bottom:0;}
	/* footer */
	#footer {color:#777;}
}

@media only screen and (max-width:480px){ 
	/* reset grid */
	.col-one-third, 
	.col-two-thirds, 
	.col-one-half {float:none; margin-right:0; width:100%;}
	/* wp native */
	.wp-caption { width: 100% !important; }
	/* projects */
	.projects {padding:0;}
	.project-thumb {min-width:0;}
	.project-meta {display:none;}
	.project-meta-mobile {display:block;}
	/* gallery */
	.gallery-thumb, .gallery-item {width:100%!important;}
	/* flexslider */
	.flexslider .flex-direction-nav {display:none;}
	.flex-control-paging li a {width:10px; height:10px;}
	/* forms */
	form {width: 100%;}
}

@media only screen and (max-width:320px){
	#mobile-menu {padding: 10px 0;}
	#sections-inner {padding-left:20px; padding-right:40px;}
	/* google map */
	.google-map {display: none;}
}

#video iframe{
	width:100%;
}

