body {
    font-family: 'Open Sans', Arial;
    font-weight: 300;
    font-size: 14px;
    margin:0;
    padding:0;
}

.container {
    clear: both;
}

.header {
    background:#808080;
    font-weight: bold;
    font-size: 16px;
    margin:0;
}

.header ul {
    padding:0;
    margin:0;
    margin-left:auto;
    margin-right:auto;
    width:1024px;
}
.header li {
    list-style: none;
    display: inline;
}
.header li.right > a {
    text-decoration: none;
    font-size:16px;
    color: #9cc7c2;
    padding: 20px;
    border-radius:5px;
    margin-right:-20px;
    margin-left:20px;
}
.header li.right > a:hover, .header li.right > a.selected {
    background:#222;
}
.header li.right {
    float:right;
    line-height: 140px;
}

.header li.left {
    float: left;
    padding: 20px 0;
}

.header li.left img {
    height:100px;
}

.content {
    position: relative;
}

.content .items {
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    width: 1024px;
}

.content.container .items {
    padding:70px;
}

.header-name {
    position:absolute;
    background:#000;
    opacity:0.8;
    color:#fff;
    top:0px;
    left:0px;
    right:0px;
    z-index: 1;
}

.header-name h3 {
    font-weight: 300;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    width: 1024px;
    padding:10px 0;
}

.header-name h3 a.page {
    text-decoration: none;
    color: #9cc7c2;
    padding: 0 5px;
    border-radius: 10px;
    background: #666;
    border: 1px solid #777;
}

.header-name h3 a.page:hover {
    background: #222;
    border:1px solid #333;
}

.header-name h3 a.prev {
    padding-right:6px;
    margin-right:20px;
}
.header-name h3 a.next {
    float:right;
    padding-left: 6px;
}

#contact {
    position:relative;
}

#contact_content {
    position:absolute;
    top:105px;
    right:-10px;
    border:1px solid #333;
    background:#fff;
    width:auto;
    padding:20px;
    border-radius:3px;
    z-index:2;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
}

span.triangle-border {
    border-color: transparent transparent #333 transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    top: -20px;
    right: 25px;
}

span.triangle {
    border-color: transparent transparent #fff transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    top: -19px;
    z-index: 10;
    right: 25px;
}

#contact_content li {
    display: block;
    line-height: 30px;
    white-space: nowrap;
}

#contact_content li {
    display: block;
    line-height: 30px;
    white-space: nowrap;
}

#about_content ul {
    padding-left:0;
    list-style-type: none;
    margin-bottom: 50px;
}

#about_content ul li {
    line-height: 28px;
}

#about_content p {
    margin-top:0px;
}

#about_content .about_image {
    width: 300px;
    border-radius: 3px;
}

#about_content .about_image.bio {
    float: left;
    margin: 0 20px 20px 0;
}

#about_content .about_image.services {
    float: right;
    margin: 20px 0 0 20px;
}

.list_item {
    font-size: 5px;
    line-height: 12px;
    padding: 7px 5px 0px 5px;
    margin-right:10px;
    color: #000;
    background: #000;
    border-radius: 10px;
    opacity: 0.6;
}

.content.container .portfolio img.large {
    width: 874px;
    border-radius:3px;
}

.content .portfolio img.whole_screen{
    position:fixed;
}

.content .portfolio img.large {
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    cursor:pointer;
}

.content .portfolio ul {
    padding: 0;
    margin: 0;
}

.content .portfolio li {
    list-style: none;
    display:inline;
}

.content .portfolio li h3 {
    display:inline;
}

.content .portfolio li.right {
    float:right;
}

.content .portfolio li.left {
    float:left;
}

.content .portfolio.small {
    display: inline-block;
    padding: 0;
    width: 500px;
    margin-bottom:20px;
}

.content .portfolio.small.even {
    margin-right:24px;
}

.content .portfolio.small div.frame {
    height:300px;
    width:auto;
    overflow:hidden;
    border-radius: 3px;
    position:relative;
}

.content .portfolio.small img.small {
    height: auto;
    width: 100%;
    cursor:pointer;
}

.content .portfolio.small h3 {
    font-weight: 300;
    position:static;
    padding: 10px;
    color: #222;
    background:#fff;
    margin: 0;
    padding: 10px 0;
}

.content .portfolio {
    position:relative;
}

.content .portfolio span.page {
    position: absolute;
    top: 150px;
    color: #9cc7c2;
    background: #000;
    opacity: 0.7;
    line-height: 20px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 20px;
}

.content .portfolio span.page:hover {
    opacity: 1.0;
}

.content .portfolio span.page.next {
    right: 10px;
    padding: 6px 9px 6px 10px;
}

.content .portfolio span.page.prev {
    left: 10px;
    padding: 6px 10px 6px 9px;
}

#full_content .portfolio ul {
    position:absolute;
    top:0px;
    right:0px;
    list-style: none;
    margin:0;
    overflow-y: auto;
    overflow-x:hidden;
}

#full_content .portfolio ul.columns{
    -moz-column-count: 2;
    -webkit-column-count: 2;
    max-width: 200px;
}

#full_content .portfolio ul.columns li {
   width:120px;
}

#full_content .portfolio .img_index {
    border-radius:0;
    background:none;
    padding: 0;
    margin:0;
    margin-bottom:10px;
    opacity:0.9;
    display:block;
}

#full_content .portfolio .img_index:hover {
    opacity: 1.0;
}
#full_content .portfolio .img_index img {
    width:90px;
    border-radius:3px;
}

#full_content .portfolio .img_index.selected {
    opacity: 0.4;
}

#full_content .portfolio .img_index.selected img {
}

.img_index {
    font-size:20px;
    line-height:12px;
    padding: 7px 4px 0px 4px;
    margin:4px 0 0 10px;
    cursor: pointer;
    color: #000;
    background: #000;
    border-radius: 10px;
    opacity: 0.8;
}

.img_index:hover {
    opacity: 1.0;
}

.img_index.selected {
    opacity:0.4;
    cursor: default;
}

.noscroll .footer {
    position:fixed;
}

.footer {
    position:absolute;
    bottom:0;
    right:0;
    left:0;
    background: #000;
    opacity: 0.8;
    text-align: center;
}
.footer ul {
    margin: 0;
    padding: 10px 0;
}
.footer li {
    display:inline;
    list-style: none;
    font-size: 16px;
    line-height:24px;
    color: #fff;
    margin:0 20px;
}

.footer li a {
    color: #9cc7c2;
    text-decoration:none;
}

.clear {clear: both;}

@media screen and (max-width: 1162px) {

    .header ul {
        width:90%;
    }

    .content .items {
        width: 90%;
    }

    .header-name h3 {
        width: 90%;
    }

    img.thumb {
        border: 2px solid black;
    }

    #full_content {
        padding: 40px 20px 40px 0px;
    }

    #portfolio_content {
        padding: 40px 20px 40px 0px;
    }

    #about_content {
        padding: 40px 20px 40px 0px;
    }

    #full_content .portfolio ul {
        position: absolute;
        right: 5%;
    }
}


@media screen and (max-width: 640px) {
    
    body > div.header.container > ul > li.left > a > img {
        height: 75px;
    }

.header.container {
    height: 100px;
    width: 100%;
}

.header li.right > a {
    font-size: 8px;
    padding: 0px;
    margin: 0px;
}

li#portfolio.right {
    line-height: 100px;
    margin: 0px;
    padding: 8px;
    font-size :10px;
}

li#about.right {
    line-height: 100px;
    margin: 0px;
    padding: 8px;
    font-size :10px;
}

li#contact.right {
    line-height: 100px;
    margin: 0px;
    padding: 8px;
    font-size :10px;
}

#full_content > div > ul {
    display: none;
}

#portfolio_content > div:nth-child(odd) {
    width: 100%;
}
#portfolio_content > div:nth-child(even) {
    width: 100%;
}

div.portfolio {
    position: relative;
    left: 10px;
}

img.large {
    height: 100%;
    width: 100%;
}

#about_content > img.about_image.services {
    display: none;
}

}