/* HANDCRAFTED BY ANDREI LUCA (c) KIS.RO
---------------------------------------------------------*/
body{
    background:#004847 url(static/img/bg.png);
    font:12px Tahoma, Helvetica;
    color:#FFF;
    margin:0;
}

@font-face {
  font-family: "Fertigo Pro";
  src: url(FertigoPro.otf) format("opentype");
}

.wrapper{
    width:790px;
    margin:0 auto;
}

/* HEADER
----------------------------------------------------------*/

#header{
    background:#004847 url(static/img/main_bg.png) repeat-x;
    height:82px;
}

#header h1{
    margin:0;
    padding-top:24px;
    float:left;
}

#header .hello{
    padding-top:22px;
    float:right;
}

/* ABOUT ME
----------------------------------------------------------*/

#about{
    clear:both;
    color:#F5F5F5;
    font:27px "Fertigo Pro", Georgia;
    background:url(static/img/hbg.png) top center no-repeat;
    padding:1px 0;
    text-shadow: 1px 1px 1px #000;
}

#about p{
    z-index:10;
}


#about strong{
    font-weight:normal;
    color:#D6D7D7;
}

/* PORTFOLIO
----------------------------------------------------------*/

#portfolio{
    list-style:none;
    padding:0;
    margin:0;
}

#portfolio li{
    list-style:none;
    float:left;
    background-color: #FFF;
    padding: 5px;
    width:770px;
    position: relative;
    margin-bottom:20px;
    border:5px solid #333;

}

#portfolio li img {
    position: absolute;
    bottom: 0;
    left: 0;
}

#portfolio li dl {
    display: block;
    position: relative;
    overflow: hidden;
    height: 200px;
    margin:0;
    width: 770px;
}

#portfolio li dt{
    background-color:#ECECEC;
    padding:10px;
    font: 20px "Fertigo Pro", Helvetica, Arial, sans-serif;
    color: #004847;
    font-weight:700;
    margin:0;
    padding:0;
    margin-top:150px;
    padding:5px;
    letter-spacing:-2px;
    text-shadow:1px 1px 1px #FFF;
}

#portfolio li dt small{
    display:block;
    font-size:12px;
    color:#266362;
    letter-spacing:0px;
    font-family:Helvetica, Tahoma;
    letter-spacing:-1px;
    margin-left:1px;
}

#portfolio li .wordpress{
    position:absolute;
    z-index:5;
    background:url(static/img/wordpress.png) 50% 50% no-repeat;
    width:50px;
    height:50px;
    top:15px;
    right:15px;
}

#portfolio li .over_bg{
    position:absolute;
    z-index:5;
    background:url(static/img/over_bg.png) 50% 50% no-repeat;
    background:none\9;
    width:770px;
    height:200px;
    top:5px;
    right:5px;
}


#portfolio li a.link{
    background:#FFF;
    border:1px solid #CCC;
    padding:5px 10px;
    float:right;
    margin:-31px 5px 0 0;
    text-decoration:none;
    color:#004847;
    font-size:14px;
    font-weight:700;
    letter-spacing:0px;
    font-family:Helvetica, Tahoma;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    outline:none;
}

#portfolio li a.link:hover{
    background:#FFF url(static/img/button.png) repeat-x;
    border:1px solid #C0C0C0;
    text-shadow: 1px 1px 1px #FFF;
}
#portfolio li a.link:active {
    background:#FFF;
}
#next{
    display:block;
    background:url(static/img/more_btn.png) no-repeat;
    margin-bottom:20px;
    clear:both;
    height:41px;
}

#next:active{
    background:url(static/img/more_btn.png) left bottom no-repeat;
}

/* SOCIAL ICONS
----------------------------------------------------------*/

#social{
    margin-bottom:18px;
    padding:0;
    background: #004847 url('static/img/social.png') no-repeat;
    clear:both;
    overflow:hidden;
}

#social a{
    margin-right:6px;
    width:30px;
    height:30px;
    display:block;
    float:left;
}

/* FOOTER
----------------------------------------------------------*/

#footer{
    border-top:1px dotted #266362;
    color:#266362;
    padding:10px 0 12px;
    text-shadow: 0px 1px 0px #000;
}

#footer a.top{
    float:right;
    color:#266362;
    text-decoration:none;
    background:url(static/img/top.png) 50% 0% no-repeat;
    width:11px;
    height:11px;
    margin-top:2px;
}

#footer a.top:hover,
#footer a.top:active{
    background:url(static/img/top.png) 50% 100% no-repeat;
}

img{ border: 0; }
.clearfix { min-height:0; height:auto !important; height:0; }

#contactFormContainer{
    position:relative;
    left:223px;
    float:left;
    z-index:15;
    margin-top:20px;
}

#contactForm{
    width:351px;
    background-color:#E6E6E6;
    display:none;
    position:absolute;
    margin-top:57px;
    border:5px solid #D6D7D7;
    border-top:none;
}
#contactForm fieldset{
    padding:12px;
    border:none;
}
#contactForm label{
    display:block;
    color:#004847;
    margin-bottom:3px;
    text-shadow:1px 1px 1px #FFF;
}
.error{
    color:red;
    float:right;
    font-size:10px;
    text-transform:uppercase;
    margin-right:5px;
}

#contactForm #close_button{
    color:#014847;
    text-shadow:1px 1px 1px #FFF;
    cursor:pointer;
    float:right;
    margin-top:10px;
}


#contactForm input[type=text]{
    display:block;
    border:solid 1px #C0C0C0;
    width:310px;
    margin-bottom:10px;
    padding:5px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

#contactForm textarea{
    display:block;
    border:solid 1px #C0C0C0;
    width:310px;
    padding:5px;
    margin-bottom:10px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

#contactForm button{
    background-color:#FFF;
    border:solid 1px #C0C0C0;
    color:#004847;
    padding:5px;
    cursor:pointer;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}
#contactForm button:active{
    background-color:#FF0000;
    border:solid 1px #FFF;
    color:#FFF;
}
#contactLink{
    height:34px;
    width:350px;
    background:url('static/img/hello.png') no-repeat;
    display:block;
    cursor:pointer;
    margin-top:2px;
    margin-left:15px;
    float:right;
}
#messageSent{
    color:#004847;
    font-weight:700;
    display:none;
    width:300px;
}
#browser{
    padding:10px;
    background:red;
    border-bottom:2px solid #006C6B;
    text-align:center;
}
/* FANCYBOX STYLESHEETS
----------------------------------------------------------*/

div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 30;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('static/fancybox/fancy_progress.png') no-repeat;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 20px 20px 40px 20px;
    margin: 0;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	background: #FFF;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0;
	padding: 0;
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 30px;
	width: 30px;
	background: url('static/fancybox/fancy_closebox.png') top left no-repeat;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	z-index: 111;
	display: none;
	background-image: url("data:image/gif;base64,AAAA");
	outline: none;
	overflow: hidden;
}

a#fancy_left {
	left: 0px;
}

a#fancy_right {
	right: 0px;
}

span.fancy_ico {
	position: absolute;
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112;
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url('static/fancybox/fancy_left.png') no-repeat;
}

span#fancy_right_ico {
	right: -9999px;
	background: transparent url('static/fancybox/fancy_right.png') no-repeat;
}

a#fancy_left:hover, a#fancy_right:hover {
	visibility: visible;
	background-color: transparent;
}

a#fancy_left:hover span {
	left: 20px;
}

a#fancy_right:hover span {
	right: 20px;
}

#fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div#fancy_bg_n {
	top: -20px;
	left: 0;
	width: 100%;
	height: 20px;
	background: transparent url('static/fancybox/fancy_shadow_n.png') repeat-x;
}

div#fancy_bg_ne {
	top: -20px;
	right: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('static/fancybox/fancy_shadow_ne.png') no-repeat;
}

div#fancy_bg_e {
	right: -20px;
	height: 100%;
	width: 20px;
	background: transparent url('static/fancybox/fancy_shadow_e.png') repeat-y;
}

div#fancy_bg_se {
	bottom: -20px;
	right: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('static/fancybox/fancy_shadow_se.png') no-repeat;
}

div#fancy_bg_s {
	bottom: -20px;
	left: 0;
	width: 100%;
	height: 20px;
	background: transparent url('static/fancybox/fancy_shadow_s.png') repeat-x;
}

div#fancy_bg_sw {
	bottom: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('static/fancybox/fancy_shadow_sw.png') no-repeat;
}

div#fancy_bg_w {
	left: -20px;
	height: 100%;
	width: 20px;
	background: transparent url('static/fancybox/fancy_shadow_w.png') repeat-y;
}

div#fancy_bg_nw {
	top: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('static/fancybox/fancy_shadow_nw.png') no-repeat;
}

div#fancy_title {
	position: absolute;
	z-index: 100;
	display: none;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 3px;
	white-space: nowrap;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url('static/fancybox/fancy_title_left.png') repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url('static/fancybox/fancy_title_main.png') repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url('static/fancybox/fancy_title_right.png') repeat-x;
}
