/* General */

/*Reset Common Tags*/

a,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,th,td,img
{
    margin:0px;
    padding:0px;
}

header, nav, article, aside, footer, hgroup, section
{
    display: block;
}


body 
{
    margin:0px;
    padding:0px;
    font-family:Georgia;
    font-size:14px;
    color:#666666;
    background:url(images/bg.jpg) repeat;
}

a
{
    text-decoration:none;
    color:#000000;
    outline:0;
}

a:hover
{
    text-decoration:underline;
}

img
{
    border:0px;
}

p
{
    margin:12px 0;
}

h1
{
    margin:0;
    padding:0;
    line-height:0;
}

h2
{
    font-family:Georgia;
    font-size:24px;
    font-style:italic;
    font-weight:bold;
    margin:5px 0 15px 0;
    padding:0;
}


	/*---------------------layout--------------------*/

#header-wrapper
{
    clear:both;
    float:left;
    width:100%;
    height:100px;
    background:url(images/bg-header.jpg) repeat-x;
}

#content-wrapper
{
    clear:both;
    float:left;
    width:100%;
    height:auto;
    background:url(images/bg-content.jpg) repeat;
}

#footer-wrapper
{
    clear:both;
    float:left;
    width:100%;
    height:100px;
    background:url(images/bg-footer.jpg) repeat-x;
}

	/*---------------------header---------------------*/
		
header
{
    width:960px;
    margin:0 auto;
    height:98px;
    border-bottom:1px solid #e1e1e1;
    box-shadow:0px 1px #ffffff;
    -webkit-box-shadow:0px 1px #ffffff;
    -moz-box-shadow:0px 1px #ffffff;
}

    #logo
    {
        float:left;
        width:330px;
        margin-top:40px;
    }

        /*----------------------nav-----------------------*/
        
nav
{
    float:right;
    width:500px;
    height:25px;
    font-size:16px;
    top:60px;
    position:relative;
    padding-right:25px;
}
    
    #nav
    {
        margin:0;
        padding:0;
    }
    
    #nav li
    {
        float:right;
        display:inline;
        list-style-type:none;
        position:relative;
        margin-left:25px;
        padding-top:4px;
    }
       
    #nav li.back
    {
        border-bottom: 1px solid #c9c190;
        width: 1px;
        height: 20px;
        z-index: 8;
        position:absolute;
        box-shadow:0px 1px #ffffff;
        -webkit-box-shadow:0px 1px #ffffff;
        -moz-box-shadow:0px 1px #ffffff;
    }
        
    #nav a
    {
        color:#000000;
        z-index: 10;
        display: block;
        float: left;
        height: 22px;
        position:relative;
        left:25px;
    }
        
    #nav a:hover,
    #nav a:active,
    #nav a:visited
    {
        border:none;
        text-decoration:none;
    }

        /*---------------------content--------------------*/

#container
{
    width:960px;
    margin:0 auto;
    height:auto;
}

#content
{

    float:left;
    width:960px;
}

    #home-title
    {
        float:left;
        width:304px;
        height:180px;
        margin-top:100px;
    }
    
#slideshow-wrapper
{
    float:right;
    width:610px;
    height:286px;
    margin-top:68px;
    margin-bottom:44px;
    background:url(images/slideshow-wrapper-bg.jpg) bottom no-repeat;
}

    #prev
    {
        float:left;
        width:37px;
        height:40px;
        margin-top:112px;
    }
    
    #next
    {
        float:right;
        width:37px;
        height:40px;
        margin-top:112px;
    }
    
    #slideshow
    {
        float:left;
        width:470px;
        height:240px;
        padding:12px;
        background:url(images/slideshow-bg.jpg) no-repeat;
        margin-left:21px;
    }
    
        #slideshow-inner
        {
            width:470px;
            height:240px;
        }
        
            #slideshow img
            {
                float:left;
                width:470px;
                height:240px;
            }

aside
{
    float:left;
    width:960px;
    padding-top:40px;
    padding-bottom:40px;
    border-top:1px solid #e1e1e1;
    box-shadow:0px 1px #ffffff;
    -webkit-box-shadow:0px 1px #ffffff;
    -moz-box-shadow:0px 1px #ffffff;
}
    
    #profile
    {
        float:left;
        width:960px;
        padding-top:20px;
        padding-bottom:40px;
        border-top:1px solid #e1e1e1;
        box-shadow:0px 1px #ffffff;
        -webkit-box-shadow:0px 1px #ffffff;
        -moz-box-shadow:0px 1px #ffffff;
    }

article
{
    float:left;
    width:300px;
    margin-right:30px;
    text-align:justify;
    line-height:18px;
}

    .last,
    .gallery article.last
    {
        margin-right:0;
    }
    
    article a
    {
        font-style:italic;
        color:#333333;
    }
    
    article p
    {
        margin:12px 0 0 0;
    }
    
    article p.skills
    {
        margin:5px 0 15px 0;
    }
    
    article span
    {
        font-size:18px;
        font-weight:bold;
        font-style:italic;
    }
    
#title-image
{
    float:left;
    width:360px;
    height:126px;
    padding:0 300px;
    margin-bottom:20px;
}

#about-image
{
    float:left;
    width:360px;
    height:332px;
    padding:0 300px;
    margin-bottom:20px;
}

#contact-image
{
    float:left;
    width:500px;
    height:126px;
    padding:0 230px;
    margin-bottom:20px;
}

#thankyou-image
{
    float:left;
    width:500px;
    height:126px;
    padding:0 230px;
    margin-bottom:5px;
    margin-top:160px;
}

#notfound-image
{
    float:left;
    width:380px;
    height:330px;
    padding:0 290px;
    margin-top:95px;
    margin-bottom:180px;
}

.gallery article
{
    float:left;
    width:300px;
    padding-bottom:50px;
    margin-right:30px;
    text-align:justify;
}
    
    .gallery-image
    {
        float:left;
        width:290px;
        height:140px;
        padding:5px;
        background:url(images/gallery-bg.jpg) no-repeat;
    }
    
    .gallery footer
    {
        float:left;
        width:300px;
        border:0;
    }
    
        .gallery footer span
        {
            float:left;
            width:200px;
            font-family:Georgia;
            font-weight:bold;
            font-style:italic;
            font-size:14px;
            color:#666666;
        }
        
        .gallery footer a
        {
            float:right;
            width:100px;
            text-align:right;
            font-family:Arial;
            font-style:normal;
            color:#666666;
        }
        
            .gallery footer a:hover
            {
                text-decoration:none;
                color:#000000;
            }
            
.portfolio-details
{
    float:left;
    width:960px;
    padding-top:40px;
    padding-bottom:50px;
    text-align:justify;
}

    .portfolio-details section
    {
        float:left;
        width:300px;
    }
    
    .portfolio-details article
    {
        float:left;
        width:300px;
        padding-bottom:40px;
        margin:0;
        font-style:italic;
    }
    
        .portfolio-details article img
        {
            float:left;
            margin:5px 0 0 0;
        }

    #portfolio-image
    {
        float:right;
        width:610px;
        border:10px solid #c9c190;
        box-shadow:0px 0px 2px 2px #dddddd;
        -webkit-box-shadow:0px 0px 2px 2px #dddddd;
        -moz-box-shadow:0px 0px 2px 2px #dddddd;
    }
       
form
{
    float:left;
    width:524px;
    padding-bottom:50px;
    padding-left:205px;
}

    label
    {
        float:left;
        width:180px;
        height:40px;
        text-align:right;
        padding-right:10px;
    }
    
    .textbox
    {
        width:315px;
        font-family:Arial;
        border:3px solid #c9c191;
        font-size:18px;
        color:#000;
        padding:5px;
    }

        .textbox:focus
        {
            background-color: #ffffff;
            border: 3px solid #000000;
            color:#000;
        }

    textarea
    {
        font-family:Arial;
        overflow:auto;
    }

    input.submit
    {
        float:right;
        padding-right:2px;
    }

    #error
    {
        float:left;
        width:523px;
        color:#cc0000;
        font-size:18px;
        display:none;
        margin-top:10px;
        text-align:center;
    }
    
    .needsfilled
    {
        background:#cc0000;
        color:#fff;
    }
    
#thankyou
{
    float:left;
    width:960px;
    text-align:center;
    font-family:Georgia;
    font-weight:bold;
    font-style:italic;
    font-size:18px;
    padding-bottom:320px;
}


        /*---------------------footer---------------------*/

footer
{
    clear:both;
    width:960px;
    margin:0 auto;
    height:auto;
    padding-top:10px;
    font-size:11px;
    font-style:italic;
    color:#000000;
    border-top:1px solid #e1e1e1;
}

    footer a
    {
        color:#000000;
    }

    #footer-text
    {
        float:left;
        width:400px;
    }
    
    #footer-links
    {
        float:right;
        text-align:right;
        width:550px;
    }
    
        #footer-links img
        {
            position:relative;
            top:1px;
        }
