html, body {
    color: #444;
    text-align: left;
    background: #fff;
    margin: 0;
    padding: 0;
}

a {
    color: #002C6B;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

em {
    font-weight: bold;
}

p {
    margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
    color: #002C6B;
    font-weight: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
/*********************************************************************/
body {
    background: url('/images/body_bg.png') repeat-x #fff;
    font-size: 12px;
    color: #666;
    margin: 0;
    padding: 0;
	text-align: justify;
}

#main {
    margin: 0 auto;
    padding: 0 20px;
    width: 980px;
    background: url('/images/main_bg.gif') no-repeat #fff;
}

#hd {
    background: url('/images/hd_bg.png') repeat-x;
    overflow: hidden;
    position: relative;
}

#hd #logo {
    width: 409px;
    height: 54px;
    position: relative;
    top: 0;
    left: 0;
}

#hd #logo #logo-link {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
}

#hd #logo #logo-image {
    position: absolute;
    background: url('/images/logo.png') no-repeat 0 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

#hd ul#menu {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 116%;
}

#hd ul#menu li {
    float: left;
    display: inline;
    height: 21px;
    line-height: 21px;
    margin: 0 10px;
}

#hd #fun {
    height: 45px;
    background: #FDA21E;
	position: relative;
}

#hd #fun #search form input {
    vertical-align: middle;
}

#hd #fun #search form input#q {
	margin: 0 0 0 10px;
	width: 240px;
	border: none;
	background-color: transparent;
} 

#hd #fun #search {
    width: 278px;
	height: 25px;
	position: absolute;
	left: 680px;
	top: 10px;
	background: url('/images/search_bg.png') 0 0 no-repeat;
}

#hd ul#menu li a {
    float: left;
    display: block;
    height: 100%;
    padding: 0 0 0 25px;
    background: url('/images/bubble_small.gif') 0 0 no-repeat;
}

#bd-main {
    float: left;
    display: inline;
    overflow: hidden;
    width: 640px;
	padding: 0 20px;
}

#bd-right {
    float: left;
    display: inline;
    overflow: hidden;
    width: 300px;
}

#bd {
    padding-top: 20px;
}

#bd #bd-main .bigblock {
	background: url('/images/bigblock_bg.png') 0 0 #fff no-repeat;
	padding: 20px;
}

.greylinks a {
	padding: 3px 8px;;
	background: #E9E9E9;
	margin-right: 10px;
	display: inline-block;
	margin-bottom: 10px;
}

#bd #bd-main #services .block {
    position: relative;
    display: inline;
    float: left;
    background: url('/images/block_bg.png') no-repeat #fff;
    width: 210px;
    height: 115px;
    margin: 10px 0 10px 70px;
    padding: 20px;
}

#bd #bd-main #services .first {
    margin: 10px 0 10px 70px;
}

#bd #bd-main #services .block h2 {
    border-bottom: 1px solid #DBDBDB;
}

#bd #bd-main #services .block .bubble {
    position: absolute;
    left: -50px;
    top: -5px;
    display: block;
    width: 61px;
    height: 58px;
}

#bd #bd-main #services .webdesign .bubble {
    background: url('/images/bubble_webdesign.gif') no-repeat #fff;	
}
#bd #bd-main #services .quality .bubble {
    background: url('/images/bubble_quality.gif') no-repeat #fff;	
}
#bd #bd-main #services .administration .bubble {
    background: url('/images/bubble_administration.gif') no-repeat #fff;	
}
#bd #bd-main #services .seo .bubble {
    background: url('/images/bubble_seo.gif') no-repeat #fff;	
}
#bd #bd-main #services .advertising .bubble {
    background: url('/images/bubble_advertising.gif') no-repeat #fff;	
}
#bd #bd-main #services .consultations .bubble {
    background: url('/images/bubble_consultations.gif') no-repeat #fff;	
}

#bd #bd-right #reference .top {
    height: 36px;
    background: url('/images/references_bg.png') no-repeat #fff;
}

#bd #bd-right #reference .body {
    background: url('/images/references_bg.png') -300px 0 no-repeat #fff;
	padding-bottom: 10px;
}

#bd #bd-right #reference .body #reference-carousel {
    margin: 0;
    height: 300px;
    padding-top: 10px;
}

#bd #bd-right #reference-detail {
	height: 30px;	
    overflow: hidden;
}

#bd #bd-right #reference-detail-inner {
	width: 280px;
}

#bd #bd-right #reference .body #reference-carousel ul {
    margin: 0;
    padding: 0;
}

#bd #bd-right #reference .body #reference-carousel ul li {
    position: relative;
    width: 260px;
    height: 123px;
    background: url('/images/reference_bg.gif') 0 0 no-repeat;
    margin: 0 auto;
    padding-bottom: 10px;
    text-align: center;
    list-style: none;
    overflow: hidden;
}


#bd #bd-right #reference .body #reference-carousel ul li a {
	display: block;
	cursor: pointer;
	overflow: hidden;
}

#bd #bd-right #reference .body #reference-carousel ul li a img {
	vertical-align: middle;
	margin: 10px 0;
}

#bd #bd-right #reference .body #reference-carousel-up {
	height: 12px;
	background: url('/images/rollers_bg.gif') 50% 0 no-repeat;
	cursor: pointer;
}

#bd #bd-right #reference .body #reference-carousel-down {
	height: 12px;
	background: url('/images/rollers_bg.gif') 50% -12px no-repeat;
	cursor: pointer;
}

#bd #bd-right #search form input {
    vertical-align: middle;
}

#ft {
    border-top: 10px solid #002E62;
    margin: 0 0 10px 0;
    padding: 10px 0;
}

hr {
    background-color: #ECECEC;
    border-width: 0px;
    height: 2px;
    color: #ECECEC;
	
}

.editForm li {
	display: block;
	list-style-type: none;
}
.editForm label {
	vertical-align: top;
	display:  inline-block;
	width: 70px;
}
#reference_image {
	display: inline-block;
}

td, th {
	border: none;
}
/*********************************************************************/
.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.hide {
    display: none;
}

.border img {
  border: 4px solid #ECECEC;
}


