﻿/*
	Template: Noel | Onepage AJAX Template
	Author: flGravity
	Site: http://themeforest.net/user/flGravity
	Created: 24/08/12
	File: Noel CSS
	Update: #4
	
	
	TABLE OF CONTENS
	
	1. Browser Reset
	2. Generic Elements
	3. Template Styles
	4. Site Components
	5. Media Queries
*/



/**
----------------------------------- (1) Browser Reset ----------------------------------- 
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

ul, nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

img {
	border: 0;
	vertical-align: middle;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

:focus {
	outline:0;
}

label, input[type=button],
input[type=submit], button {
	cursor: pointer;
}

input, select {
    vertical-align:middle;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

hr {
    display:block;
    height:0;
    border:0;   
    border-top: 1px solid #555;
    margin:20px 0;
    padding:0;
    clear: both;
}



/** 
----------------------------------- (2) Generic Elements -----------------------------------
*/

html, body {
	height: 100%;
	width: 100%;
}

body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
    font-size: 13px;
    line-height: 21px;
    color: #999;
    background: #000;
}

a {
	color: #7fc2dd;
	text-decoration: none;
	-moz-transition: color .2s linear;
    -o-transition: color .2s linear;
    -webkit-transition: color .2s linear;
    transition: color .2s linear;
}

a:hover {
	color: #44aed6;
}

ul,p,dl {
	margin: 0 0 20px;
}

small {
	font-size: 85%;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
	font-weight: bold;
}

ins {
    background-color:#ffcb4a;
    color:#111;
    text-decoration:none;
}

mark {
    background-color:#ffcb4a;
    color:#111; 
    font-style:italic;
    font-weight:bold;
    padding: 0 2px;
}

blockquote {
	font-size: 110%;
	font-style: italic;
	margin: 20px 0;
	padding-left: 10px;
	border-left: 1px solid #999;
}

/* headings */

h1,h2,h3,h4,h5,h6 {
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	color: #bbb;
}

h1 {font-size: 24px; line-height: 1.1em;}
h2 {font-size: 20px;}
h3 {font-size: 18px;}
h1,h2,h3 { margin: 20px 0;}

h4 {font-size: 16px;}
h5 {font-size: 14px;}
h6 {font-size: 13px;}
h4,h5,h6 {margin: 10px 0; }

.merkezle {
	text-align:center;
}

/* alternative link style */

.link {
	color: #999;
}

.link:hover {
	color: #bbb;
	text-decoration: underline;
}

.link::after {
	content: " \2192";
}

/* css3 transitions */

.css-hover {
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
	opacity: 0.7;
}

.css-hover:hover {
	opacity: 1;
}

/* lists */

.list-circle, .list-disc, .list-square {
	margin: 0 0 20px;
/	list-style-position:  inside;
}

.list-circle {
	list-style-type: circle;
}

.list-square {
	list-style-type: square;
}

.list-disc {
	list-style-type: disc;
}

/* floats and clearings */

.left { float: left; }
.right { float: right; }

img.left {
	margin-right: 40px;
	margin-bottom: 0;
}

img.right {
	margin-left: 40px;
	margin-bottom: 0;
}

.clear, .clearfix { zoom:1; }
.clear { clear: both; display: block; overflow: hidden; visibility: hidden;  width: 0; height: 0; }
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}


/* simple 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-one {
	clear: left;
	width:100%;
}
.col-one > p:last-child,
.col-one-third > p:last-child,
.col-one-half > p:last-child,
.col-two-thirds > p:last-child {
	margin-bottom: 0px;
}

/* input & buttons */

input, button, .button, textarea {
	display: inline-block;
	font-family: inherit;
	line-height: inherit;
	font-size: 100%;
	outline: none;
	border: 0;
	padding: 5px;
	color: #bbb;
}

input[type=button], input[type=submit], button, .button {
	font-size: 85%;
	text-transform: uppercase;
	background: #111;
	padding: 5px 15px;
	margin: 0;
	vertical-align: bottom;
}

input[type=button]:hover, input[type=submit]:hover, button:hover, .button:hover  {
	color: #ddd;
}

input[type=text], input[type=email], textarea {
	border-bottom: 1px solid #777;
	background: transparent;
	margin: 0 0 10px;
}

input[type=text]:focus, input[type=email]:focus, textarea:focus {
	border-bottom: 1px solid #999;;
}

/* button color styles */
.button-white, input.button-white, 
.button-white:hover, input.button-white:hover  {
	background: #bbb;
	color: #111;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}

.button-blue, input.button-blue,
.button-blue:hover, input.button-blue:hover {
	background: #44aed6;
	color: #fff;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.2);
}

/* selections */

::selection { 
	background: #ffa28e; 
	color: #fff; 
	text-shadow: none;
}

::-moz-selection { 
	background: #ffa28e; 
	color: #fff; 
	text-shadow: none;
}


/**
----------------------------------- (3) Template Classes -----------------------------------
*/

/* address-contact info */

.contacts-list p,
.contacts-list li {
	margin: 0;
	font-size: 110%;
	line-height: 1.6em;
	color: #bbb;
}

.contacts-list a {
    color: inherit;
    text-decoration: underline;
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

/* social icons */

.social {
	float: left;
}

.social li {
	float: left;
	margin-right: 10px;
}

.social li:last-child {
	margin-right: 0;
}

.social a {
	display: block;
	width: 16px;
	height: 16px;
	opacity: 0.5;
	transition: opacity 0.2s ease;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-o-transition: opacity .2s ease;
}

.social a:hover {
	opacity: 1;
}

.social a.blogger { background: #555 url(../images/social/blogger.png); }
.social a.instagram { background: #555 url(../images/social/insta.png); }
.social a.buzz { background: #555 url(../images/social/buzz.png); }
.social a.delicious { background: #555 url(../images/social/delicious.png); }
.social a.deviantart { background: #555 url(../images/social/deviantart.png); }
.social a.digg { background: #555 url(../images/social/digg.png); }
.social a.dribbble { background: #555 url(../images/social/dribbble.png); }
.social a.email { background: #555 url(../images/social/email.png); }
.social a.facebook { background: #555 url(../images/social/facebook.png); }
.social a.flickr { background: #555 url(../images/social/flickr.png); }
.social a.forrst { background: #555 url(../images/social/forrst.png); }
.social a.google { background: #555 url(../images/social/google.png); }
.social a.gowalla { background: #555 url(../images/social/gowalla.png); }
.social a.hyves { background: #555 url(../images/social/hyves.png); }
.social a.lastfm { background: #555 url(../images/social/lastfm.png); }
.social a.linkedin { background: #555 url(../images/social/linkedin.png); }
.social a.livejournal { background: #555 url(../images/social/livejournal.png); }
.social a.myspace { background: #555 url(../images/social/myspace.png); }
.social a.reddit { background: #555 url(../images/social/reddit.png); }
.social a.rss { background: #555 url(../images/social/rss.png); }
.social a.soundcloud { background: #555 url(../images/social/soundcloud.png); }
.social a.spotify { background: #555 url(../images/social/spotify.png); }
.social a.stumbleupon { background: #555 url(../images/social/stumbleupon.png); }
.social a.tumblr { background: #555 url(../images/social/tumblr.png); }
.social a.twitter { background: #555 url(../images/social/twitter.png); }
.social a.vimeo { background: #555 url(../images/social/vimeo.png); }
.social a.yahoo { background: #555 url(../images/social/yahoo.png); }
.social a.youtube { background: #555 url(../images/social/youtube.png); }

/* sharebox */

.sharebox {
	position: relative;
	margin: 10px 0 20px;
	overflow: hidden;
}

.sharebox .sharebox-icon {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 30px;
	height: 30px;
	background: #111 url("../images/share.png") no-repeat 0 0;
}

.sharebox:hover .sharebox-icon {
	background-position: 0 -30px;
}

.sharebox ul {
	position: relative;
	margin-left: 30px;
	float: left;
	background: rgba(0,0,0,0.5);
	margin: 0;
}

.sharebox ul li {
	float: left;
	margin: 0;
	clear: none;
}

.sharebox a {
	display: block;
	width: 30px;
	height: 30px;
}

.sharebox a:hover {
	background-color: #111!important;
}

.sharebox a.yahoo-share { background: url("../images/share/picons14.png") no-repeat 50% 50%; }
.sharebox a.google-share {  background: url("../images/share/picons09.png") no-repeat 50% 50%;  }
.sharebox a.twitter-share {  background: url("../images/share/picons03.png") no-repeat 50% 50%;  }
.sharebox a.digg-share {  background: url("../images/share/picons08.png") no-repeat 50% 50%; }
.sharebox a.rss-share {  background: url("../images/share/picons20.png") no-repeat 50% 50%; }
.sharebox a.flickr-share {  background: url("../images/share/picons04.png") no-repeat 50% 50%; }

/* tabs */

.tabs {
	position: relative;
	margin-bottom: 20px;
}

.tabs-nav {
	float: left;
	margin: 0 0 20px;
/*	border-bottom: 1px solid #111;*/
}

.tabs-nav li {
	float: left;
	
	padding: 5px 15px;
}

.tabs-active {
/*	background: rgba(0,0,0,0.5);*/
	color: #bbb; 

}

.tabs-nav li a {
	font-weight: bold;
}

.tabs-nav li a[href^="#"] {
	color: inherit;
}

.tabs-nav li a[href^="#"]:hover {
	color: #bbb;
}

.tabs-content {
margin: 0 0 0 20px;
	position: relative;
	clear: left;
}


.icra {
float: left; 
margin:   10px 0 0 15px;

}

.clricra {
clear: both;
}



/* toggle */


.toggle {
	position: relative;
	margin-bottom: 10px;
}

.toggle-content {
	display: none;
	padding: 20px 0 10px 0px;
}
.toggle-content  h4 {
    color:#999;
    padding-left:15px;
 
}

.toggle-content img {
	cursor:pointer;
}
.toggle-content img:hover {
	opacity: 0.6;

}
.toggle-content  p {
    color:#999;
    padding-left:30px;
 
}


.toggle-title {
	position: relative;
	background: rgba(0,0,0,0.5);
	padding: 5px 15px;
	padding-right: 30px;
}

.toggle-title-icon {
	position: absolute;
	display: block;
	width: 30px;
	height: 30px;
	top: 0px;
	right: 0px;
}

.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: inline-block;
	width: 100%;
	color: inherit;
	font-weight: bold;
}

.toggle-active .toggle-title a,
.toggle-title:hover a {
	color: #bbb;
}

.toggle-content p:last-child,
.toggle-content ul:last-child {
	margin-bottom: 0;
}

/* logo list */

.logo-list {
	position: relative;
	overflow: hidden;
}

.logo-list li {
	float: left;
	margin: 0 10px;
}

/* fancybox */
.nextvid {
	float:right;color:black;
}
.prevvid {
color:black;
}
.nextvid img, .prevvid img {
	cursor:pointer;
}


#fancybox-title-over {
	background: #000;
	padding: 10px;
}

#fancybox-title {
	width: auto !important;
	bottom: 20px !important;
	font-family: inherit;
}

.fancybox-title-over {
	color: #bbb;
}

#fancybox-close {
	width: 40px;
	height: 40px;
	top: 0px;
	right: 0px;
	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: 0px;
}

#fancybox-right:hover span {
	left: auto;
	right: 0px;
}

#fancybox-outer {
	background: #111;
}
#fancybox-left, #fancybox-right {
    width: 0%;
}
#fancybox-content {
	border: 0px solid #000;
}


/* flexslider */

.flexslider {
	width: 100%;
	height: auto;
	max-height: 320px;
	border: 0;
	overflow: hidden;
	background: #000;
	margin: 20px 0;
}

.flex-slide-counter {
	background: #000;
	position: absolute;
	bottom: 0px;
	right: 60px;
	line-height: 30px;
	font-size: 85%;
	color: #777;
	vertical-align: middle;
	padding: 0 0 0 10px;
}

.flexslider .description {
	position: absolute;
	top: 20px;
	left: 20px;
	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;
}

.flexslider .description p,
.flexslider .description .flex-desc-black{
	color: #bbb;
	background: #111;
}

.flexslider .description .flex-desc-white{
	color: #555;
	background: #eee;
}


/* backslider in static mode */

.backslider-static {
	position: relative;
	width: 100%;
	height: 320px;
	margin: 20px 0;
}

.backslider-static .bs-overlay {
	display: none;
}

.backslider-static .bs-preload-indicator {
	background: url("../images/loading.gif") no-repeat center center;
}


/* slideshow plugin */

.slideshow {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
}


.slideshow-slides {
	display: none;
}

.slideshow-slides, .slideshow-slides li {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: 0;
}

.slideshow-controls {
	position: absolute;
	width: 100%;
	height: 40px;
	top: 0px;
	bottom: 0px;
	margin: auto 0;
}

.slideshow-controls a {
	display: block;
	width: 40px;
	height: 40px;
	text-indent: -9999px;
	background: #111 url('../images/controls.png') no-repeat 0 0;
}

.slideshow-controls .slideshow-next {
	float: right;
	background-position: -80px 0;
}

.slideshow-controls .slideshow-prev {
	float: left;
	background-position: -40px 0;
}

.slideshow-loaded {
	background: #000; 
}


/* twitter feed */

.twitter-feed {
	position: relative;
	height: 40px;
	margin: 20px 0 40px;
	overflow: hidden;
	padding-left: 45px;
	background: rgba(0,0,0,0.5);
}

.twitter-feed-follow {
	position: absolute;
	top: 0px; 
	left: 0px;
	height: 40px;
	width: 40px;
	background: url("../images/follow.png") no-repeat center center;
}

.twitter-feed .tweetList {
	position: relative;
	line-height: 40px;
}

.twitter-feed .tweetList p {
	margin: 0;
	white-space: nowrap;
}

.twitter-feed .tweetList .timestamp {
	float: right;
	margin: 0 10px;
	font-size: 85%;
	color: #777;
}

/**
----------------------------------- (4) Site Components -----------------------------------
*/

/* hide backslider controls */

#background {
	z-index: auto;
}

#background .bs-controls {
	display: none!important;
}

/* site preload logo */

#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: 80;
}

/* content */

#content {
	position: relative;
	float: left;
	height: 580px;
	width: 100%;
	z-index: 10;
}

/* sidebar */

#sidenav {
	position: relative;
	float: left;
	height: 100%;
	width: 180px;
	padding: 0 10px;
	border-right: 1px solid #000;
	background: rgba(0,0,0,0.5);
	top: 0px;
}

#sidenav header h1 {
	margin: 0;
	padding: 0;
}


#sidenav header .site-logo {
	display: block;
	width: 160px;
	height: 100px;
	margin: 0 10px;
	text-indent: -9999px;
	background: #000 url("../images/logo.png") no-repeat center center;
}

#sidenav nav {
	margin: 40px 0;
	overflow: hidden;
	position: relative;
	z-index: 0;
}

#sidenav nav ul {
	float: left;
	text-align: right;
	margin: 0;
}

#sidenav nav li {
	display: block;
	position: relative;
	height: 20px;
	padding: 1px 0;
	padding-right: 10px;
	width: 100px;
}

#sidenav nav a {
	color: #ddd;
	font-size: 85%;
	text-transform: uppercase;
}

#sidenav nav li:hover a {
	color: #111!important;
	font-weight: bold;
}

#sidenav .nav-active a {
	color: #fff;
	font-weight: bold;
}

#sidenav .nav-back-hover {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 0px;
	background-color: #ddd;
	z-index: -1;
}

#sidenav .contacts-list {
	margin: 0 20px 20px;
}

#sidenav .contacts-list p {
	font-style: italic;
	font-size: 85%;
	color: #777;
}

#sidenav .contacts-list:hover p {
	color: #bbb;
}

#sidenav .social {
	margin: 0 20px 20px;
}


/* intro */

#intro {
	display: none;
	position: absolute;
	top: 0px;
	margin-top: 40px;
	right: -100px;
	width: 400px;
}

#intro p, 
#intro strong {
	font-size: 110%;
}

#intro p {
	color: #bbb;
}

#intro-header {
	float: left;
	padding-right: 40px;
	border-right: 1px solid #111;
	margin: 0 40px 20px 0;
	max-width: 200px;
}

#intro-header h1 {
	font-size: 38px;
	line-height: 1em;
	font-style: italic;
	color: #eee;
	margin: 0;
}

#intro-close {
	float: left;
	padding: 8px 24px;
	margin: 10px 0;
}



/* sections */

#sections {
	position: absolute;
	left: 201px;
	width: 0px;
	height: 100%;
	background: rgba(0,0,0,0.5);
	overflow: hidden;
}

#sections-inner {
	position: relative;
	left: 0px;
	top: 0px;
	padding: 0 80px;
	height: 100%;
	clear: both;
}

.section-block {
	position: relative;
	display: none;
	top: 0px;
	left: 0px;
	
}

/* sections related classes */

.auto-height {
	height: auto !important;
}

.auto-width {
	width: auto !important;
}

.rollbar-path-horizontal {
	margin-left: 80px;
	bottom: 10px;
}

.rollbar-path-vertical {
	right: 38px;
}

.loading {
	
	background: url("../images/loading.gif") no-repeat center center;
}

.ajax-section {
	
	display: none;
}

/* site navigation for mobile devices  */

#mobile-nav {
	display: none;
	float: left;
	width: 100%;
	padding-left: 80px;
	background: #111 url("../images/logo-mobile.png") no-repeat;
}

#mobile-nav nav {
	margin-left: 20px;
	padding: 20px 0 15px;
	float: left;
}

#mobile-nav nav ul {
	margin: 0;
}

#mobile-nav nav li {
	float: left;
	margin: 0 5px 5px 0;
	padding: 0px 5px;
}

#mobile-nav nav a {
	color: #ddd;
	font-size: 85%;
	text-transform: uppercase;
	padding: 5px 0;
}

#mobile-nav nav li:hover a,
#mobile-nav nav .nav-active a {
	color: #111;
}

#mobile-nav nav li:hover,
#mobile-nav nav .nav-active {
	background: #ddd;
}

/* gallery */

.gallery {
	position: relative;
}

.gallery-list li {
	padding: 0 0 60px;
}

.gallery-list li:last-child {
	padding-bottom: 0;
}

.gallery-photo {

	height: auto;
	width: 100%;
	overflow: hidden;
	
}

.gallery-photo img {
	width: 100%;
	height: auto;
}

.gallery-photo-height {
	max-height: 270px;
	min-height: 100px;
}

.gallery-photo-loaded {
	background: #111 url("../images/resize.png") no-repeat center center;
}

.gallery-meta {
	position: relative;
	padding: 10px 20px;
	background: #111;
}

.gallery-meta::before {
	content: "";
	display: block;
	position: absolute;
	left: 20px;
	top: -20px;
	width: 0;
	height: 0;
	border-width: 10px;
	border-color: transparent;
	border-bottom-color: #111;
	border-style: solid;
}

.gallery-description {
	width: 70%;
}

.gallery-description p {
	margin: 0 0 10px;
}

.gallery-controls {
	position: absolute;
	right: 10px;
	top: 0px;
	bottom: 0px;
	margin: auto 0;
	height: 20px;
}

.gallery-controls a {
	float: left;
	padding: 0 10px;
	color: #777;
	font-size: 85%;
	text-transform: uppercase;
}

.gallery-controls a.gallery-prev {
	border-right: 1px solid #333;
}

.gallery-controls a:hover {
	color: #999;
}

.gallery-list li:first-child .gallery-prev {
	color: #333;
	cursor: default;
}

.gallery-list li:last-child .gallery-next {
	color: #333;
	cursor: default;
}

/* projects */

.projects { 
	padding-left: 40px;
}

.project-list > li {
	float: left;
	clear: both;
	margin: 20px 0 40px;
	width: 100%;
}

.project-photo, .project-description {
	min-width: 350px;
}

.project-description:after {
	content: "";
	display: block;
	height: 0px;
	width: 15px;
	border-top: 1px solid #777;
	margin-top: 20px;
}

/* recent projects sidebar */

.recent-projects {
	margin-bottom: 0;
}

.recent-projects > li {
	margin-bottom: 20px;
	max-width: 300px;
}

.recent-project-title {
	padding: 5px;
	background: #111;
	text-align: center;
}

.recent-project-title a {
	color: #999;
	font-size: 85%;
	font-weight: bold;
}

.recent-project-title a:hover {
	color: #bbb;
	text-decoration: underline;
}

.recent-project-thumb {
	width: 100%;
	height: 115px;
	overflow: hidden;
	background: #111;
	opacity: 0.8;
}

.recent-project-thumb:hover {
	opacity: 1;
}

/* news */

.news {
	position: relative;
	height: 100%;
}

.news .rollbar-path-vertical {
	right: 0px;
	width: 10px;
}

.news-list {
	position: absolute;
	top: 0px;
	bottom: 0px;
	margin: auto 0;
}

.news-list > li {
	float: left;
	padding: 0 40px;
	width: 400px;
}

.news-content {
	position: relative;
}

.news-photo {
	height: 160px;
	width: 100%;
	overflow: hidden;
}

.news-photo img {
	width: 100%;
	height: auto;
}

.news-photo-back {
	background: #111 url("../images/resize.png") no-repeat 50% 50%;
}

.news-heading {
	padding: 20px 0 10px;
	cursor: pointer;
}

.news-heading h3 {
	margin: 0;
}

.news-heading span {
	font-size: 85%;
	font-style: italic;
	font-weight: bold;
	color: #777;
}

.news-active .news-heading h3,
.news-heading:hover h3 {
	text-decoration: underline;
}

.news-text {
	height: 0px;
	overflow: hidden;
	padding-right: 20px;
}

.news-text p:last-child {
	margin: 0;
}


/* google map */

#map {
	width: 100%;
	height: 195px;
	margin: 20px 0;
}


/* contact mail form */

#contact-form { 
	margin-bottom: 40px; 
}

#contact-form p {
	margin: 0;
}

#contact-form input {
	width: 50%;
	min-width: 208px;
}

#contact-form input[type=submit]{
	width: auto;
	min-width: 0;
}

#contact-form textarea {
	width: 60%;
	min-width: 250px;
	height: 100px;
}

#contact-form input.error, 
#contact-form textarea.error {
	border-bottom: 1px dotted #777;
}

/* site footer */

footer {
	position: absolute;
	bottom: 50px;
	right: 50px;
	margin: 5px 10px;
	z-index: 20;
}


/* "rgba" color fallback for IE */

.ie #sidenav,
.ie #sections,
.ie .twitter-feed,
.ie .sharebox ul,
.ie .rollbar-path-vertical,
.ie .rollbar-path-horizontal,
.ie .tabs-active,
.ie .toggle-title {
	background: url("../images/bg.png") repeat;
}

/* disable preload in IE because it's buggy */
.ie7 .bs-preload,
.ie8 .bs-preload {
	display: none;
}


/** 
----------------------------------- (5) Media Queries -----------------------------------
*/

/* replace sidebar with top menu when browser width becomes less than 768px */
@media only screen and (max-width:768px) {
	#mobile-nav { display: block; }
	
	#intro {display: none !important;} 
	/*#intro {margin-top:80px;} */
	#sidenav {display:none; border:0; padding:0; width:0;}
	#content {top:0px !important; left:0px !important; height:100%;}
	#sections {left:0; width:100% !important; }
	#sections-inner { top: 10px !important; padding: 0 40px 0 20px; }
	.sections-close { display: none !important; } 
	.rollbar-path-horizontal { margin-left: 30px; }
	.rollbar-path-vertical { right: 19px; }
	footer span { color: #999; }	
	/* convert news to vertical list */
	#news .noel-section-size { height: auto !important; }
	.news {width:100% !important; min-height:440px; /* required by noel-plugins.js */ }
	.news-list {position:relative; margin:0; height:auto !important;}
	.news-list > li {float:none; margin: 20px 0 40px; }
	.news-content {top:0px !important;}
}

/* mobile device in landscape mode 480x320 */
@media only screen and (max-width:480px){ 
	#mobile-nav {padding-left: 60px;}
	#mobile-nav nav li {margin-right: 2px;}
	#content {min-height: 0;}
	/* projects */
	.projects { padding-left: 0; }
	.project-photo { margin-right: 0px; }
	.project-list > li { width: 100%; margin: 20px 0;}
	.project-description, .project-photo { min-width: 200px; width: 100%; }
	.gallery-meta { padding: 5px 10px;}
	.gallery-photo {height: auto; width: 100%; }
	.gallery-description { width: 100%; }
	.gallery-controls {display: none;}
	/* section related */
	.backslider-static, .flexslider { height: 220px; }
	
	.news-list > li {width: 90%; padding: 0 5%;}
	#map {height: 200px;}
	/* reset grid */
	.col-one-third, 
	.col-two-thirds, 
	.col-one-half { float:none; margin-right:0; width:100%;}
}

/* mobile device in portrait mode 320x480 */
@media only screen and (max-width:320px){
	#mobile-nav {padding-left: 0; background-image: none; }
	#mobile-nav nav { padding: 10px 0 5px; }
	#map { display: none; }

}
