*{
	margin: 0;
	border: 0;
	padding: 0;
}
body{
	background: #FFFFFF;
	font: 14px/20px Arial, Sans-Serif;
	color: #555555; /* Text color */
	margin: 0;
}
h1 {
	text-align: center;
	font-size: 180%;
	line-height: 120%;
	padding: 10px 0;
}
h2 {
	text-decoration: underline;
	line-height: 90%;
	padding-left: 2%;
	padding-top: 20px;
}
h3 {
	line-height: 100%;
	padding: 10px 0;
}
h4 {
	line-height: 100%;
	padding: 5% 0;
}
p {
	padding: 0%;
}
img {
	text-align: center;
	max-width: 100%;
	height: auto;
	width: auto;
}

/* --------------- LINKS ------------- */
a {
	color: #555555;
	text-decoration: none; /* none = no underline, other options include line-through or overline */
	font-weight: bold;
}
a:hover {
	color: #ADC7C7;
	text-decoration: none;
}
header {
	background: #FFFFFF;
	border-bottom: 1px solid #BDBDBD;
	width: 100%;
	height: 106px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	opacity: 0.90;
}
#logo {
	margin: 5px 10px;
	float: left;
	width: 200px;
	height: 60px;
}

nav {
	float: right;
	padding: 65px 20px 20px 0;
}

#menu-icon {
	display: none;
	width: 60px;
	height: 60px;
}
a:hover#menu-icon {
	border-radius: 4px 4px 0 0;
}
ul {
	list-style: none;
}
nav ul li {
	display: inline-block;
	float: left;
	padding: 10px;
}
.current {	/*this shows in which page currently you are*/
	color: #; /*#BDBDBD buvo*/
	text-decoration: none;    /* underline - buvo */
}
#doc {
	margin: 40px 0;
}
#content {
	margin: 0 auto; /* top bottom left right - but in this case 0 auto means that it will be centered */
	max-width: 960px;
	margin-top: 110px;
}
.blueberry {
	max-width: 960px;
	margin-top: 110px;
	margin-bottom: 38px;
}
section {
	width: 29%;
	float: left;
	margin: 2% 2%;
	text-align: center;
}
.clear {
	clear: both;
}
.mes {
	max-width: 960px;
	width: 100%;
	margin: auto; 
	text-align: center;
	padding-bottom: 20px;
}
article {
	float: left;
	margin: 0 auto;
	width: 50%;
	height: auto;
	padding: 4%;
}
aside {
	float: right;
	margin: 0 auto;
	width: 35%;
	height: auto;
	padding: 3%;
}
ul.proj li {
	text-align: left;
	margin-left: 140px;
	padding-left: 3%;
}
footer {
	background: #FFF; /* 3A3A3A */
	border-top: 1px solid #BDBDBD;
	width: 100%;
	overflow: hidden;
	opacity: 0.90;
	font-weight: normal;
}
footer p, footer h3 {
	color: #000000;
}
/*------------------------- in case there are links in footer, like social media links ------------------------------*/
footer p a {   
	color: #000000;  /* F7F7F7 */
	text-decoration: none;
}
ul.social li {
	display: inline;
}
ul.social li img {
	height: 50px; 
}
footer.second {
	border-top: 1px solid #BDBDBD;
	background-color: #FFF;  /* 3A3A3A */
	max-height: 50px;
	text-align: center;
	opacity: 0.90;
}
/*-------------------------MEDIA!!!------------------------------*/
@media screen and (max-width: 478px) {
	body {
		position: absolute;
	}

/* cycle-slideshow */

			.cycle-slideshow {
				width: 100%;
				max-width: 960px;
				display: block;
				position: relative;
				margin: 20px auto; /* the way to center */
				overflow: hidden;
			}
			.slide {
				width: 100%;
				display: block;
				position: relative;
			}
			.caption {
				width: 97%;
				display: block;
				position: absolute;
				bottom: 0px;
				padding: 0px 0px 15px 15px;
				z-index: 9999;

			}
			.caption h3 {
				text-transform: uppercase;
				color: #FFF;
				font-size: .9em;
				letter-spacing: .1em;
				padding-bottom: 10px;
			}
			.caption p {
				color: #FFF;
				font-size: .9em;
				letter-spacing: .1em;
				padding-bottom: 10px;
			}
			.caption p a {
				text-decoration: none;
				color: #FFF;
				font-size: .8em;
				border: 1px solid #FFF;
				padding: 2px 8px;
			}
			.caption p a:hover {
				background: #FFF;
				color: #333;
				cursor: pointer;
			}

			.cycle-prev, .cycle-next {
				font-size: 250%;
				color: #FFF;
				display: block;
				position: absolute;
				top: 100%;
				margin-top: 0px;
				z-index: 9999;
				cursor: pointer;
			}

			.cycle-prev {left: 0%;}
			.cycle-next {right: 0%;}
			.cycle-pager {
				width: 100%;
				position: absolute;
				bottom: 2%;
				text-align: center;
				z-index: 9999;
				cursor: pointer;
			}
			.cycle-pager span {
				text-indent: 100%;
				white-space: nowrap;
				width: 10px;
				height: 10px;
				display: inline-block;
				border: 1px solid #FFF;
				border-radius: 50%;
				margin: 0 10px;
			}
			.cycle-pager .cycle-pager-active {background-color: #FFF;}
/* cycle-slideshow */	


}
@media screen and (max-width: 740px) {
	header {
		position: absolute;
	}
	#menu-icon {
		display: inline-block;
	}
	nav ul, nav:active ul {
		display: none;
		position: absolute;
		padding: 20px;
		background: #FFFFFF;
		border: 1px solid #BDBDBD;
		right: 20px;
		top: 60px;
		width: 36%;
		border-radius: 2px 0 2px 2px;
	}
	nav li {
		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;
	}
	nav:hover ul {
		display: block;
	}
	section {
		float: left;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	article {
		float: left;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	aside {
		float: left;
		width: 100%;
		margin: 0;
		padding: 0;
	}
}