html{
   overflow-y: scroll;
   overflow-x: auto;
}
body {
    color: #fff;
    background-color: #000;
    font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Arial,Helvetica,sans-serif;
    background-image: url(images/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
}

a img {
    border: 0;
}

p {
    margin-bottom: 8px;
    font-weight: 100;
    letter-spacing: 1.4px;
}
h3 {
    margin-bottom: 16px;
    color: #BABBBE;
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 1px;
}
h3 .version-a {
    color: #194E84;
}

::-moz-selection {
    background: #444444;
    color:      #ffffff;
}

::selection {
    background: #444444;
    color:      #ffffff;
}

.guidesh {
    position: absolute;
    background-image: url(images/rows_960.png);
    top: 0px;
    left: 32px;
    right: 32px;
    width: 960px;
    height: 700px;
    opacity: .1;
}
.guidesv {
    background-image: url(images/columns_960.png);
    position: absolute;
    top: 0px;
    left: 32px;
    right: 32px;
    width: 960px;
    height: 700px;
    opacity: .2;
}
#main {
    margin-left: auto;
    margin-right: auto;
    /* width: 960px; */
    min-height: 470px;
    max-width: 1100px;
}
#map { 
    position: absolute;
    top: 20px;
    right: 40px;
    z-index: -20;
}
#map img {
}
#overheader {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 21px;
    background: transparent url('images/bgbar.gif') repeat-x;
}
#header {
    margin-top: 80px;
}
#header h1 {
    display: block;
    margin: 20px 70px 20px 70px;
    background: url(images/title.png) no-repeat;
    height: 40px;
    text-indent: -19683px;
}
#header h2 {
    position: absolute;
    top: -19683px;
    left: -19683px;
}

/* start menu */
#menu {
    margin: 56px 0px 50px 0px;
}
#menu ul {
    display: block;
    height: 50px;
    min-width: 650px;
    padding: 0px;
}
#menu li {
    display: block;
    list-style: none;
    float: left;
    margin-right: 2px;
    text-align: center;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
#menu a {
    display: block;
    padding: 10px 25px;
    color: #FFF;
    font-size: 24px;
    text-decoration: none;
    outline: none;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
#menu a.selected {
    border-bottom: 2px solid #800;
    padding-bottom: 9px;
    background: url(images/pixel_transparent.png);
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
#menu a:active,
#menu a:hover {
    background: url(images/pixel_transparent.png);
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
#menu a:active {
    opacity: 0.6;
}
#red_arrow {
    display: block;
    position: absolute;
    top: -9999px;
    left: -9999px;
    background: transparent url(images/red_arrow.png) no-repeat;
    width: 9px;
    height: 9px;
    z-index: -1;
}
/* end menu */

/* start language */
#language {
    display: block;
    position: absolute;
    top: 0px;
    right: 320px;
    margin: 0;
    padding: 0;
}
#language ul {
    display: block;
    padding: 0;
    margin: 0;
}
#language li {
    display: block;
    list-style: none;
    float: left;
    margin-right: 2px;
    text-align: center;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
#language a {
    font-family: Tahoma;
    letter-spacing: 1px;
    font-size: 12px;
    text-decoration: none;
    color: #FF4444;
    font-weight: bold;
}
#language a:hover {
    text-decoration: underline;
}
/* end language */

#contact {
    position: absolute;
    background: #000;
    top: -10px;
    right: 20px;
    padding: 20px 20px 0px 20px;
    border: 4px solid #FFF;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    font-size: 14px;
}
#contact .section {
    margin: 12px 4px;
}
#contact h3 {
    display: block;
    padding: 0px;
    margin: 10px 0px 0px 0px;
    font-size: 12px;
    letter-spacing: 2px;
}
#contact h3 a {
    color: #FFF;
    text-decoration: none;
    margin: 0px -20px;
    padding: 4px 20px;
    display: block;
    font-family: Tahoma;
    font-weight: bold;
    font-size: 12px;

}
#contact h3 a:hover {
    background-color: #222;
}
#button_write_me {
    display: block;
    width: 230px;
    height: 80px;
    text-align: center;
    -moz-outline-style: none;

    font-family: Tahoma;
    letter-spacing: 1px;
    font-size: 18px;
    text-decoration: none;
    color: #194E84;
    font-weight: bold;
}
#button_write_me:hover {
    text-decoration: underline;
}

/* trick to hide dotted border around links */
#contact h3 a:active {
    outline: none;
}
#contact h3 a:focus {
    -moz-outline-style: none;
}
#toggle_contact.unfurled {
    text-align: center;
}
.contact-form {
    border: 1px solid #cccccc;
}

#content b {
    font-weight: default;
    color: #3B6B9C;
    font-weight: 200;
}
#content .section {
    background: url(images/gradient_transparent.png);
    margin: 15px 70px 0px 70px;
    width: 455px;
    padding: 20px;
    border: 4px solid #FFF;
    -moz-border-radius: 8px;
    -moz-transform: rotate(-1deg);
    -webkit-border-radius: 8px;
    font-weight: 100;
    letter-spacing: 2px;
}
#content .work h3,
#content .work h4,
#content .work h5 {
    margin: 4px;
    font-weight: default;
    letter-spacing: 1.618px;
    text-align: right;
}
#content .work h3 {
    color: #194E84;
    font-size: 14px;
    font-family: Lucida Console, Monaco, monospace;
    text-transform: uppercase;
}
#content .work h4 {
    color: #3B6B9C;
    font-size: 12px;
    font-style: italic;
}
#content .work h5 {
    color: #5B8BBC;
    font-size: 10px;
}

#content a {
    text-decoration: none;
    color: #60bb22;
}
#content a:hover {
    text-decoration: underline;
}
#content img {
    float: right;
    clear: both;
    margin: 8px;
}
#content .fleft {
    float: left;
}
#content .fright {
    float: right;
}

#content .links a {
    float: right;
}

/* skills */
#content .section.skills .work {
    margin: 12px 12px;
    padding: 0px 40px;
    background-repeat: no-repeat;
}
#content .section.skills .work.white-a { background-image: url(images/white_a.png); }
#content .section.skills .work.white-b { background-image: url(images/white_b.png); }
#content .section.skills .work.white-c { background-image: url(images/white_c.png); }
#content .section.skills .work.white-d { background-image: url(images/white_d.png); }
#content .section.skills .work.white-e { background-image: url(images/white_e.png); }
#content .section.skills .work.white-f { background-image: url(images/white_f.png); }
#content .section.skills .work.white-g { background-image: url(images/white_g.png); }
#content .section.skills .work.white-h { background-image: url(images/white_h.png); }
#content .section.skills .work.white-i { background-image: url(images/white_i.png); }
/* end skills */

/* misc */
#content .section.misc .work {
    margin: 12px 12px;
    padding: 0px 40px;
    background-repeat: no-repeat;
}
#content .section.misc .work.white-a { background-image: url(images/white_a.png); }
#content .section.misc .work.white-b { background-image: url(images/white_b.png); }
#content .section.misc .work.white-c { background-image: url(images/white_c.png); }
#content .section.misc .work.white-d { background-image: url(images/white_d.png); }
#content .section.misc .work.white-e { background-image: url(images/white_e.png); }
#content .section.misc .work.white-f { background-image: url(images/white_f.png); }
#content .section.misc .work.white-g { background-image: url(images/white_g.png); }
#content .section.misc .work.white-h { background-image: url(images/white_h.png); }
#content .section.misc .work.white-i { background-image: url(images/white_i.png); }

/* end skills */
/* thickbox */
#TB_window {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border: 4px solid #FFF !important;
}
#TB_ajaxContent {
    background: url(images/gradient_transparent.png);
    padding: 20px;
    font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Arial,Helvetica,sans-serif;
}
#TB_ajaxContent h3 {
    display: block;
    padding: 0px;
    margin: 10px 0px 0px 0px;
    letter-spacing: 2px;

    font-size: 16px;
}
#TB_ajaxContent .section {
    color: #fff;
}
/* end thickbox */
/* contact */
#TB_ajaxContent .contact p {
    display: block;
    margin: 2px 20px;
    padding: 4px;
    border-bottom: 1px solid #555;
}
#TB_ajaxContent .contact table th {
    vertical-align: top; 
    text-align: right; 
    font-size: 12px;
    font-family: Tahoma;
    font-weight: normal;
    color: #ccc;
    padding-top: 8px;
}
#TB_ajaxContent .contact table th {
    padding-top: 4px;
}
#TB_ajaxContent .contact input,
#TB_ajaxContent .contact textarea {
    background-color: #999;
    border: 1px solid #FFF;
    width: 260px;
    padding: 4px;
    font-size: 10px;
}
#TB_ajaxContent .contact input#input_submit {
    margin-top: 8px;
    background-color: #666;
    width: 120px;
    -moz-border-radius:    16px;
    -webkit-border-radius: 16px;
    cursor: pointer;
}
#TB_ajaxContent .contact input#input_submit:hover {
    background-color: #888;
}
/* end contact */
/* contactfinish */
#content .section.contactfinish .ok {
    padding: 18px 12px 18px 72px;
    background: transparent url(images/accept.png) no-repeat;
}
#content .section.contactfinish .error {
    padding: 18px 12px 18px 72px;
    background: transparent url(images/cancel.png) no-repeat;
}
/* end contactfinish */
