
body {
    color: #8f8f8f;
    font: 12px Tahoma, sans-serif;
    background: #f8f8f8 url(../img/bg.png);
    border-top: 5px solid #7e7e7e;
    margin: 0;
}
img {
	border: 0;
}
p {
    margin: 20px 0;
}
#wrapper {
    max-width: 960px;
    margin: auto;
}
header {
    padding: 20px 0;
}
header img{
    float:left;
}
/**search*/
form[name="search"] {
    float: right;
}
input[type="text"] {
    background-color: #f3f3f3;
    border: 1px solid #e7e7e7;
    height: 30px;
    color: #b2b2b2;
    padding: 0 10px;
    vertical-align: top;
}
button {
    color: #fff;
    background-color: #29c5e6;
    border: none;
    height: 32px;
    font-family: 'Oswald', sans-serif;
}
header:after{
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/*top-menu*/
nav {
	background: #f3f3f3;
	border: 1px solid #e7e7e7;
}
nav a {
    text-decoration: none;
}

nav li {
    list-style-position: inside;
    font: 14px 'Oswald', sans-serif;
    padding: 10px;
}

.top-menu li {
    display: inline-block;
    padding: 10px 30px;
}
.top-menu a {
    color: #b2b2b2;
}
.top-menu li.active {
    background: #29c5e6;
    color: #fff;
}
.top-menu li.active a{
    color: #fff;
}

/*heading*/
#heading {
    background: transparent url(../img/h1-bg.png);
    margin: 30px 0;
    padding-left: 20px;
}
h1 {
    display: inline-block;
    color: #7e7e7e;
    font: 40px/40px 'Oswald', sans-serif;
    background: url(../img/bg.png);
    margin: 0;
    padding: 0 10px;
}
/*right-menu*/
aside {
    float: left;
    width: 250px;
}
aside > h2 {
    background: #29c5e6;
    font: 14px 'Oswald', sans-serif;
    color: #fff;
    padding: 10px;
    margin: 30px 0 0 0;
}
aside > p {
    background: #f3f3f3;
    border: 1px solid #e7e7e7;
    padding: 10px;
    margin: 0;
}
.aside-menu li {
	font-weight: 300;
	list-style-type: square;
	border-top: 1px solid #e7e7e7;
}
.aside-menu li:first-child {
	border: none;
}

.aside-menu li.active {
	color: #29c5e6;
}

.aside-menu a {
	color: #8f8f8f;
}
/*****Content******/
section {
    margin-left: 280px;
    padding-bottom: 50px;
}
blockquote {
    margin: 0;
    background: #29c5e6;
    padding: 10px 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

blockquote p {
    color: #fff;
    font-style: italic;
    font-size: 33px;
    margin: 0;
}

blockquote cite {
    display: block;
    font-size: 20px;
    font-style: normal;
    color: #1d8ea6;
    margin: 0;
    text-align: right;
}
/**********Pictures************/
figure {
    display: inline-block;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

figure img {
    display: block;
    border: 1px solid #fff;
    outline: 1px solid #c9c9c9;
}

figure figcaption {
    font-size: 16px;
    font-weight: 300;
    margin-top: 5px;
}

figure figcaption span {
    display: block;
    font-size: 14px;
    color: #29c5e6;
}
section > figure + figure {
    margin-left: 28px;
}
/**********OURTEAM*****************/
section > h2 {
    background: #29c5e6;
    font: 30px 'Oswald', sans-serif;
    font-weight: 300;
    color: #fff;
    padding: 0 10px;
    margin: 30px 0 0 0;
}
/**************team***************/
figure figcaption {
    font-size: 16px;
    font-weight: 300;
    margin-top: 5px;
}

figure figcaption span {
	display: block;
	font-size: 14px;
	color: #29c5e6;
}

figure div {
    font-size: 14px;
    color: #29c5e6;
}

.team-row figure {
    margin-top: 20px;
}

.team-row figure + figure {
    margin-left: 43px;
}
/********FOOTER***************/
footer {
    background: #7e7e7e;
    color: #dbdbdb;
    font-size: 11px;
}
footer h3 {
    font: 14px 'Oswald', sans-serif;
    color: #fff;
    border-bottom: 1px solid #919191;
    margin: 0 0 10px 0;
}
footer p {
    margin: 5px 0;
}
footer a {
    color: #dbdbdb;
}

#footer {
    max-width: 960px;
    margin: auto;
    padding:10px 0;
    height:90px;
}
/*******TWITTER************/
#twitter {
    float: left;
    width: 300px;
}
#twitter time a {
    color: #b4aeae;
}
#twitter p {
    padding-right: 15px;
}
/*******sitemap*************/
#sitemap {
    width: 150px;
    float: left;
    margin-left: 20px;
    padding-right: 15px;
}
#sitemap div {
    display: inline-block;
}

#sitemap div + div {
    margin-left: 40px;
}
#sitemap a {
    display: block;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 5px;
}
#sitemap a:hover {
    text-decoration: underline;
}
/********social*******************/
#social {
    float: left;
    margin-left: 20px;
    width: 130px;
}
.social-icon {
    width: 30px;
    height: 30px;
    background: url(../img/social.png) no-repeat;
    display: inline-block;
    margin-right: 10px;
}
.social-icon-small  {
    width: 16px;
    height: 16px;
    background: url(../img/social-small.png) no-repeat;
    display: inline-block;
    margin: 5px 6px 0 0;
}

.twitter {background-position: 0 0;}
.facebook {background-position: -30px 0;}
.google-plus {background-position: -60px 0;}
.vimeo {background-position: 0 0;}
.youtube {background-position: -16px 0;}
.flickr {background-position: -32px 0;}
.instagram {background-position: -48px 0;}
.rss {background-position: -64px 0;}

/********footer-logo*************/
#footer-logo {
    float: right;
    margin-top: 20px;
    font-size: 10px;
    text-align: right;
}