/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    background-color: #CECFCD;
    height: 100%;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #141414;
}

a {
    color: #401D06;
    text-decoration: none;
}

a:hover {
    color: #AAB600;
}

strong {
    font-weight: bold;
}

p {
    line-height: 1.7em;
    margin: 1.2em 0;
}

h2 {
    background: transparent no-repeat top left;
    display: block;
    height: 36px;
    margin-top: 1.2em;
}

h2 span {
    display: none;
}

h3 {
    font-size: 120%;
    font-weight: bold;
}

#wrapper {
    background-color: #E4E5E3;
    margin: 65px auto;
    padding: 25px 20px 25px 25px;
    position: relative;
    width: 735px;
}

header {
    float: left;
    width: 110px;
}

header h1 {
    background: transparent url('../img/ergani.png') no-repeat top left;
    display: block;
    height: 110px;
    margin: 0 0 25px 0;
    width: 110px;
}

header nav ul {
    margin: 0;
    padding: 0;
}

nav#languages {
    font-size: 0.85em;
    position: absolute;
    top: 85px;
    right: 30px;
}

nav#languages li {
    display: inline;
    margin-left: 5px;
    padding-left: 7px;
}

nav#languages li:last-child {
    border-left: 1px solid #401D06;
}

nav#languages li.selected {
    font-weight: bold;
}

nav#menu li {
    font-weight: bold;
    margin: 0.5em 0;
}

nav#menu li ul {
    margin: 1.0em 0 1.0em 1.2em;
}

nav#menu li ul li {
    font-weight: normal;
}

section#content {
    margin: 80px 0 0 130px;
    min-height: 190px;
    width: 605px;
}

footer {
    font-size: 0.8em;
    color: #414042;
    position: absolute;
    bottom: -30px;
    left: 0px;
    text-align: center;
    width: 780px;
}

div.bio {
    background-color: White;
    padding: 20px;
}

div.bio h2 {
    margin-bottom: 2.2em;
}

div.bio h3 {
    margin: 10px 0 10px 100px;
}

div.bio p {
    margin: 0 0 5px 100px;
    position: relative;
}

div.bio p > strong {
    left: -100px;
    position: absolute;
}

div.pos {
    background-color: White;
    padding: 20px; 
}

div.pos table {
    margin: 0;
    padding: 0;
    border: 1px solid #CECFCD;
}

div.pos table th {
    color: #401D06;
    padding: 0.5em 2em;
    font-weight: bold;
    border-bottom: 1px solid #CECFCD;
    text-align: left;
}

div.pos table td {
    padding: 0.5em 2em;
    border-bottom: 1px dashed #CECFCD;
}

div.slideshow {
    width: 605px;
    height: 450px;
    overflow: hidden;
}

div.gallery a img {
    border: 3px solid #CECFCD;
    border-bottom-width: 13px;
    margin: 0 5px 5px 0;
    -moz-border-radius: 3px;
    width: 75px;
    height: 75px;
    font-size: 0.7em;
}

div.gallery a:hover img {
    border-color: #9F9F9F;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}