body {
    background-image: url("../images/background.png");
    background-position: center center;
    background-repeat: repeat-y;
    background-color: #dddddd;
    font-family: verdana,sans-serif;
    font-size: 1em;
    margin: 0px;
    padding: 0px;
}

#logo {
    border: 0px none;
    float: left;
    padding: 15px 40px 10px;
    width: 130px;
}

#container {
    background-color: #f2f2f2;
    margin: auto;
    max-width: 800px;
    position: relative;
    width: 100%;
    z-index: 0;
}

#footer {
    margin-top: 3em;
    text-align: center;
    padding: 1.5em 0em;
    background-color: #c17096;
}

#footer a {
    color: black;
}


#menu {
    clear: both;
    float: right;
}

#menu ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#menu ul li {
    float: left;
    margin: 0px 4px 0px 0px;
    padding: 0px;
}

#menu ul li a {
    background-color: #770d3f;
    background-repeat: no-repeat;
    border-left: 1px solid #96456b;
    border-right: 1px solid #96456b;
    border-top: 1px solid #96456b;
    color: #ffffff;
    display: block;
    font-size: 10px;
    font-weight: normal;
    height: 29px;
    margin: 0px;
    padding: 5px 2px 0px;
    text-align: center;
    text-decoration: none;
    vertical-align: bottom;
    width: 85px;
}
#menu li ul {
    display: none;
}

#menu ul li a.active, #menu ul li a:hover {
    background-color: #e7e7e7;
    border-left: 1px solid #ededed;
    border-right: 1px solid #ededed;
    border-top: 1px solid #ededed;
    color: #000000;
}


#menu::after {
    clear: both;
    content: " ";
    display: block;
    height: 0px;
}

#right > p {
    clear: both;
}
p {
    margin: 1em 0pt 0pt 0pt;
}
div#heading {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #852552;
    clear: both;
    left: -60px;
    padding-left: 60px;
    position: relative;
}
h1 {
    font-size: 25px;
    margin-bottom: 0px;
}

div.subtitle {
    margin-top: 5px;
    font-size: 20px;
}

h2 {
    clear: both;
    color: #7f1b4a;
    font-size: 20px;
    margin: 30px 0px 10px 0px;
}

h3 {
    font-size: 18px;
}


div.person {
    float: left;
    margin: auto;
    padding-bottom: 20px;
    text-align: center;
    font-size: 14px;
    max-width: 250px;
}

div.person-wrapper {
    margin: auto;
    max-width: 250px;
}

div.person-wrapper.wide {
    max-width: 690px;
}

div.person-wrapper.wide div.person {
    padding: 10px 10px;
}

div.person img {
    border-radius: 40px;
}

.small {
    font-size: 80%;
}

div.figure {
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
    text-align: center;
}

div.figure img {
    max-width: 100%;
    height: auto;
}

div.author {
    font-weight: bold;
    font-size: 80%;
    color: #7f1b4a;
}

img.portrait {
    margin: auto;
    width: 200px;
    height: 278px;
    display: block;
}

div.article {
    border-bottom: 1px solid #666;
    padding: 5px;
}

div.article a {
    color: black;
    text-decoration: none;
}

div.article span {
    display: block;
}

div.article span.title {
    font-weight: bold;
    color: #7f1b4a;
}

div.article:hover span.title {
    text-decoration: underline;
}

div.article span.author {
    color: #666;
    font-size: 80%;
    padding-bottom: 1em;
}

div.article span.description {
    font-size: 80%;
}

div.article img {
    float: right;
    max-height: 200px;
    padding-left: 1em;
}

img {
	opacity: 1;
	transition: opacity 0.3s;
}

img[data-src] {
	opacity: 0;
}

hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #000000 -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-style: solid none none;
    border-width: 1px 0px 0px;
    color: black;
    width: 95%;
}

a {
    color: #7f1b4a;
}

a:hover {
    text-decoration: none;
}

#content {
    background-color: #f2f2f2;
    border-top-right-radius: 40px;
    padding: 10px 5px 0px;
    z-index: 2;
    background-image: url("../images/socrates.png");
    background-position: center 80px;
    background-repeat: no-repeat;
    min-height: 600px;
}

#head {
    background-color: #97466c;
    min-height: 121px;
    position: relative;
}

#head a {
    display: block;
}


#left {
    display: none;
}

input {
    background-color: transparent;
    border: 1px solid #333333;
    padding: 2px;
}

textarea {
    background-color: transparent;
    border: 0px none;
    height: 400px;
    width: 700px;
}



@media screen and (min-width: 260px) {
    #head::after {
        background-color: #dddddd;
        border-bottom-left-radius: 40px;
        content: "";
        height: 40px;
        left: 190px;
        position: absolute;
        top: -20px;
        width: 100%;
    }
    #content::after {
        background-color: #97466c;
        border-top-right-radius: 40px;
        content: " ";
        height: 40px;
        position: absolute;
        right: 0px;
        top: 20px;
        width: 40px;
    }

    #head::after {
        background-color: #dddddd;
        border-bottom-left-radius: 40px;
        content: "";
        height: 40px;
        left: 190px;
        position: absolute;
        top: -20px;
        width: 100%;
    }
    #content::before {
        background-color: #dddddd;
        content: " ";
        height: 40px;
        position: absolute;
        right: 0px;
        top: 20px;
        width: 40px;
    }


    #head {
        overflow: hidden;
    }

}
@media screen and (min-width: 315px) {
    #container::before {
        content: " ";
        background-color: #97466c;
        width: 100px;
        height: 100px;
        position: absolute;
        top: 97px;
        right: 0px;
        z-index: -1;
    }
    #menu {
        margin-right: 35px;
    }
}

@media screen and (min-width: 700px) {
    #menu ul li a {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border-top: 1px solid #96456b;
        border-left: 1px solid #96456b;
        border-right: 1px solid #96456b;
    }

    div.figure img {
        width: 80%;
    }
}

@media screen and (min-width: 800px) {
    #content {
        padding-left: 90px;
        padding-right: 45px;
    }
    #head {
        border-bottom-left-radius: 40px;
        overflow: visible;
    }
    #left {
        background-image: linear-gradient(#770d3f, #f2f2f2);
        display: block;
        height: 400px;
        left: 75px;
        position: absolute;
        top: 50px;
        width: 1px;
    }

    #content, #menu {
        position: relative;
    }

    #content::before {
        top: -101px;
    }

    #content::after {
        top: -101px;
    }

    #menu ul li {
        float: left;
        margin: 0px 4px 0px 0px;
        padding: 0px;
    }

    #menu ul li a {
        background-color: #770d3f;
        background-repeat: no-repeat;
        color: #ffffff;
        display: block;
        font-size: 10px;
        font-weight: normal;
        height: 29px;
        margin: 0px;
        padding: 5px 2px 0px;
        text-align: center;
        text-decoration: none;
        vertical-align: bottom;
        width: 85px;
    }

    #menu ul li a.active, #menu ul li a:hover {
        background-color: #e7e7e7;
        border-left: 1px solid #ededed;
        border-right: 1px solid #ededed;
        border-top: 1px solid #ededed;
        color: #000000;
    }

    #menu li ul {
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        background-color: #e7e7e7;
        border-color: -moz-use-text-color #000000 black;
        border-image: none;
        border-style: none solid solid;
        border-width: 0px 1px 1px;
        display: none;
        left: auto;
        padding-bottom: 10px;
        padding-top: 5px;
        position: absolute;
        top: 35px;
        width: 90px;
        z-index: 255;
    }

    #menu li > ul {
        left: auto;
        top: 35px;
    }

    #menu li li {
        background-color: transparent;
        border: 0px none;
        display: block;
        float: none;
    }

    #menu li li a {
        background-color: #e7e7e7;
        border-radius: 0px;
        border: 0px none;
        color: #7f1b4a;
        display: block;
        font-weight: normal;
        height: 15px;
        padding: 0px;
        width: 90px;
    }

    #menu li li a:hover {
        background-color: #9b4e72;
        border: 0px none;
        padding-left: 0px;
    }

    #menu li:hover ul, #menu li.over ul {
        display: block;
    }
}

