/* =========================== */
/* ==                       == */
/* ==        CircleCorner   == */
/* ==                       == */
/* ==                       == */
/* =========================== */




body {margin:0 auto; padding: 0; font-family: "Open Sans", Arial, sans-serif;}
body {background: #fff; color: #585858;}



/*
* Paragraph
*/
p {font-size: 80%; font-weight: 300; color: #333; line-height: 22px;}



/*
* Link
*/
a, a:visited {text-decoration: none; color: #585858;}



/*
* Headings
*/
h1 {font-size: 1.8em; line-height: 1.23em;}
h2 {font-size: 22px;}
h3 {font-size: 24px; font-family: 'Crete Round', Georgia, serif; font-weight: 400; padding: 20px 0;}
h4 {font-size: 18px;}
h5 {font-size: 16px; padding-bottom: 10px;}
h6 {font-size: 14px; padding-bottom: 10px; font-weight: bold;}

h5 b {font-weight: bold;}


/*
* Lista NIE uporzadkowana UL
*/
ul {font-size: 14px; margin: 7px 0; padding-left: 10px;}
ul li {margin-bottom: 5px;}


/*
* divs random
*/
.container .clear, body .clear {width: 100%; float: left; clear: both; margin: 20px 0 auto;}
.one-third {text-align: center;}



/*
* Header 
*/

header nav {width: 100%; height:65px; background-color:black;  position: relative; z-index: 5; 
	box-shadow: 0 1px 5px 0 rgba(0,0,0,1);
	-moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,1);
	-webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,1);
}
header nav a {  float: left; background: #000; padding:7px 15px 5px 15px;
}
header nav a p { font-size:8px; text-align:center; height:10px; line-height:14px; color:#000;
}


/*
banner
*/
.banner {} 
.banner .slogan { text-align;left;float: relative;padding: 80px 0;}
.banner .slogan a.green {margin: 13px 0; padding: 10px 28px;}
.banner p {color: #fff;}
.banner h1, .banner h2, .banner h4 {width: 100%; float: left; clear: both;  text-align: left; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.2); font-weight: 600;}
.banner h1 {font-size: 3em; margin-bottom: 10px;}
.banner h2 {font-size: 2em;}
.banner h4 {font-weight: normal; margin-bottom: 10px;}

/*
banner background
*/

#index{
	width: 100%;
	height: 415px;
	float: center;
	clear: both;
	margin: 0;
	padding: 0;
	background: url(../images/misc/nature.jpg) no-repeat center -1px;
	position: relative;
	background-image: url(../images/misc/nature.jpg);
}
#about{width: 100%; height: 415px; float: left; clear: both; margin: 0; padding: 0; background: url(../images/misc/bannerabout.jpg) no-repeat center -1px ; position: relative; background-image: url(../images/misc/bannerabout(optimized).jpg);}
#brand{width: 100%; height: 415px; float: left; clear: both; margin: 0; padding: 0; background: url(../images/misc/brand2.jpg) no-repeat center -1px ; position: relative; background-image: url(../images/misc/brand2.jpg);}
#webdesign{width: 100%; height: 415px; float: left; clear: both; margin: 0; padding: 0; background: url(../images/misc/bannerweb.jpg) no-repeat center -1px ; position: relative;
background-image: url(../images/misc/bannerbranding.jpg);}
#mobile{width: 100%; height: 415px; float: left; clear: both; margin: 0; padding: 0; background: url(../images/misc/bannerabout.jpg) no-repeat center -1px ; position: relative;}
#emarketing{
	width: 100%;
	height: 415px;
	float: left;
	clear: both;
	margin: 0;
	padding: 0;
	background: url(../images/misc/bannerweb.jpg) no-repeat center -1px;
	position: relative;
	background-image: url(../images/misc/bannerweb.jpg);
}
#contact{
	width: 100%;
	height: 415px;
	float: left;
	clear: both;
	margin: 0;
	padding: 0;
	background: url(../images/misc/banner.jpg) no-repeat center -1px;
	position: relative;
	background-image: url(../images/misc/bannercontact.jpg);
}

/*
* Logo
*/
.logo a { background-color:rgba(0,0,0,0.0);font-size:35px; color:white; text-decoration: none; line-height: 0px;}
.logo a:hover {color: #39B34A; }
#LogoSelected{position:relative; clear:both;}



/*
* Menu
*/
ul.mainMenu {margin: 0 ;  float: right;}
ul.mainMenu li { position:relative; top:28px; float:left;   }
ul.mainMenu a { background-color:rgba(0,0,0,0); font-size: 11px; color: #FFF; text-decoration: none;}
ul.mainMenu a:hover, li.selected a {
/*	border-top: 4px solid #39B34A;
	box-shadow: 0 4px 0 0 rgba(57,179,74,1) inset;
	-moz-box-shadow:0 1px 0 0 rgba(57,179,74,1) inset;
	-webkit-box-shadow: 0 1px 0 0 rgba(57,179,74,1) inset;*/
	
	/*round corner*/
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px; /* future proofing */
	-khtml-border-radius: 2px; /* for old Konqueror browsers */
	
	
	/*gradient background*/
	background: #14b9ef; /* Old browsers */
	background: -moz-linear-gradient(top, #14b9ef 0%, #2989d8 94%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#14b9ef), color-stop(94%,#2989d8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #14b9ef 0%,#2989d8 94%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #14b9ef 0%,#2989d8 94%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #14b9ef 0%,#2989d8 94%); /* IE10+ */
	background: linear-gradient(to bottom, #14b9ef 0%,#2989d8 94%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#14b9ef', endColorstr='#2989d8',GradientType=0 );

	-webkit-transition: color .12s ease-in-out;
    -moz-transition: color .12s ease-in-out;
    -ms-transition: color .12s ease-in-out;
    -o-transition: color .12s ease-in-out;
    transition: color .12s ease-in-out;
    
    /*gradient bg ends*/
}

/*
Brand Menu


ul#BrandMenu{

 }

#BrandMenu img{ display: block; float:left;margin-left: auto; margin-right: auto;}
#BrandMenu li a {float:left;
display: block; margin-left: auto; margin-right: auto;
width:160px; 
padding:20px 0px 15px 10px;  
border:solid 1px #CACACA;
background-image:white url(http://www.sfu.ca/~hyy8/bg/nav_bg.jpg) repeat-x center top;}


.navi-icon-brand navi-icon{
background-position: 0 0;
background-image:url(http://www.sfu.ca/~hyy8/bg/nav_thumb1.png);
}

#BrandMenu li a:hover 
{
float:left;
width:160px;

background-image:url(http://www.sfu.ca/~hyy8/bg/nav_bg_hover.jpg);
background-repeat:repeat-x;
 }
*/



/*
List of Service
*/
#FluxService
{
background-color:#F0F0F0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#FluxService img
{
float:right;
margin-top:12px;
margin-right:20px;
}
ul.service li{
margin-bottom:10px;
font-size:12px;
}


/*
* Orange
*/
.orange {width: 100%;  clear: both; background: #fff; padding: 45px 0; color: #fff; text-align: center; position: relative;z-index: 1;}
.orange h2 {width: 100%; margin: 20px 0 50px; text-align: center; text-shadow: none; }
.orange p {width: 600px; margin: 0 auto 30px; color: #000; text-align: center;}
.orange a.dalej {display: block; width: 185px; background: #df4a00; color: #fff; margin: 0 auto 20px; padding: 10px 20px; font-size: 12px; text-transform: uppercase;
	border-radius: 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
}
.orange a.dalej:hover {background: #ff6a00; color: #F0F0F0;}


/*
* Gray
*/
.gray {width: 100%; float: left; clear: both; background: #f6f6f6; margin: 50px 0; padding: 45px 0; position:relative; z-index:1;}




/*
* Form, input, label, textarea
*/
.form h3, .form p {text-align: center;}
form {margin: 10px auto; text-align: center;}
input, label, textarea {width: 300px; float: left; margin: 0; padding: 0;}
label {font-size: 12px; text-transform: uppercase; font-weight: 300; margin-bottom: 7px;}
input {margin-bottom: 10px; padding: 7px 0; text-align: center;}
input, textarea {border: 1px solid #ddd; outline: none;}
input:focus, textarea:focus {border-color: #b6b6b6;}
textarea {width: 280px; margin-bottom:5px; padding: 7px 10px;}
input.error, textarea.error {border-color: #cc4847;}



input[type='submit'] {
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.2), 0 1px 0 0 rgba(255,255,255,.2) inset;
	-moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2), 0 1px 0 0 rgba(255,255,255,.2) inset;
	-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2), 0 1px 0 0 rgba(255,255,255,.2) inset;
	width: 302px;auto;   font-size: 12px; border: none; background: #45C491; color: #fff; cursor: pointer;}
input[type='submit']:hover {background: #36AE7E; color: #fff;}



/*
* Focus
*/
.focus h3 {margin-bottom: 15px;}
.focus h4, .focus h3 {float: left; width: 100%; text-align: center; margin-bottom: 7px;}
.focus p {text-align: center;}



/*
* Gallery
*/
.gallery a {width: 140px; height: 100px; overflow: hidden; float: left; margin: 5px; }
.gallery a img {height: 95px;}




/*
* a#Top
*/
a#top {display: none; width: 7px; height: 17px; padding: 5px; position: fixed; bottom: 50px; right: 60px; z-index: 9; color: #fff; background: #39B34A; font-size: 14px; font-weight: 300;}






/*
* BUTTONS
*/
.button {float: left; color: #fff; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0,0,0,.2);
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;

	-webkit-transition: background .12s ease-in-out;
    -moz-transition: background .12s ease-in-out;
    -ms-transition: background .12s ease-in-out;
    -o-transition: background .12s ease-in-out;
    transition: background .12s ease-in-out;
}


.medium {font-size: 12px; margin: 5px 0; padding: 9px 14px 8px;}



a.green {background: #45C491; color: #fff;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.2), 0 1px 0 0 rgba(255,255,255,.2) inset;
	-moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2), 0 1px 0 0 rgba(255,255,255,.2) inset;
	-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2), 0 1px 0 0 rgba(255,255,255,.2) inset;
}
a.green:hover {background: #36ae7e}


/*
* Footer
*/


footer .container#connect{  
border-top:1px solid #E4E4E4; 
border-bottom:1px solid #E4E4E4;
}
footer .container#connect p{padding-right:10px;}

footer .container#connect a img{width:25px; padding-top:5px; padding-bottom:2px;}

footer h5 {color: #ccc;}
footer p {float:left; color: #aaa; line-height: 15px; font-size: 12px; margin-top: 10px;}
footer a {color: #ddd;}
footer a:hover {color: #ff6a00;}

footer .social {margin-left:45px;}
footer .social a {text-align:right; float: left; margin-right: 10px;}
footer .social a img {width: 35px; opacity: 0.4;}
footer .social a:hover img {opacity: 1;}

footer .copyright p{
text-align:center;
line-height:20px;
} 








#marketing1{
position:relative; right:90px; bottom:20px;
}
#marketing2{
position:relative; right:40px; top:10px;
}




#tablet-paragraph{margin-top:85px;}
#mobile-paragraph{margin-top:120px;}

/* -------------------
*  RESPOSIVE ELEMENTS
*  ------------------- */

	@media only screen and (min-width: 830px) and (max-width: 990px) {
	#mobile-paragraph{margin-top:20px;}
		#marketing1{
			clear:both;position:relative; right:0px; bottom:0px; width:300px;
			}
		#marketing2{
			position:relative; right:0px; top:0px; width:300px;
			}
		nav .container{
			width:100%;
			}	
		#nav {
			width:600px; 
			}		
	}
	
	@media only screen and (min-width: 768px) and (max-width: 829px) {
	#mobile-paragraph{margin-top:20px;}
		#marketing1{
			clear:both;position:relative; right:0px; bottom:0px; width:300px;
			}
		#marketing2{
			position:relative; right:0px; top:0px; width:300px;
			}
		header nav a {  float: left; background: #000; padding:7px 10px 5px 10px;
		}
		nav .container{
			width:100%;
			}	
		#nav {
			width:520px; 			
			}				
	}	
	
@media only screen and (max-width: 767px) and (min-width: 480px) {

	header h2 {display: none;}
	header .slogan {padding-top: 40px;}
	#tablet-paragraph{margin-top:0px;}
	#mobile-paragraph{margin-top:0px;}

	.orange p {width: 400px;}

	form, label, input  {width: 400px;}
	input[type="submit"] {width: 402px;}
	textarea {width: 380px;}

	.container .one-third.column, .container .eight.columns, .container .four.columns {margin-bottom: 40px;}
	
	
	#marketing1, #marketing2
	{
	display:inline;
	margin:0 auto;
	position:relative; left:0px; bottom:0px; top:0px;
 	}
 	
 
	header nav {height:270px; width:100%;}
	

	nav .four.columns.logo{height:5px;}
	nav .four.columns.logo img{}
	#nav ul{margin:0;}
	#nav li a{position:relative;  line-height:30px; width:150px; text-align:center;}

	#brand-quote{display:none;}
}



	

@media screen and (max-width: 479px) {
	#FluxService .sixteen.columns{width:200px;}
	#FluxService .four.columns{width:200px;}
	#FluxService .three.columns{width:200px;}
	ul.service {width:200px;}
	.banner h2, .banner .six.columns {display: none;}
	#brand-quote{display:none;}
	#tablet-paragraph{margin-top:0px;}
	#mobile-paragraph{margin-top:0px;}
	#marketing1{
		clear:both;position:relative; right:0px; bottom:0px; width:300px;
	}
		#marketing2{
			position:relative; right:0px; top:0px; width:300px;
			}	
	
	header{height:120px;}
	header nav {height:140px;}
	nav .four.columns.logo{width:100px;height:0px; padding-left:50px;padding-top:15px;}
	nav{}
	#nav {
		position: relative;
		left:25px;
		top:70px;
		
	}	
	#nav ul{

	width:80%;
		
		padding: 5px ;
		position: absolute;
		top: 0;
		left:0;
		border: solid 1px #aaa;
		background: #fff url(http://www.sfu.ca/~hyy8/bg/icon-menu.png) no-repeat 10px 11px;
		border-radius: 5px;
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
		
	}
	
	#nav li {
		display: none; /* hide all <li> items */
		margin: 0px ;
		width:50%;
		text-align:center;
		position:relative;
		left:80px;
		bottom:35px;

		clear:both;
	}
	#nav li.selected {
		display: block; /* show only current <li> item */
		background:none;

	}
	#nav a {
		display: block;
		color:black;
		position:relative;
		
		bottom:25px;

		text-align: left;
	}
	#nav .selected a {
		position:relative;
		bottom:27px;
		background: none;
		color: #666;
	}

	/* on nav hover */
	#nav ul:hover {
		background-image: none;
		
	}
	#nav ul:hover li {
		display: block;
		margin: 0 0 5px;
		
		
	}
	#nav ul:hover .selected {
		background: url(images/icon-check.png) no-repeat 10px 7px;
		
	}


	/* center nav */
	#nav.center ul {
		left: 50%;
		margin-left: -90px;
	}
	
	#connect .offset-by-one{
	padding-left:70px;
	height:35px;
	}
	
	.social
	{

	width:50%;
	position:relative;
	center:45px;
	}


}
