/* FONTS */
@font-face {
    font-family: "Imfell English Pro";
    font-weight: normal;
    font-style: normal;
    src: url(fonts/FeENrm28C.otf) format("opentype");
}

@font-face {
    font-family: "Imfell English Pro";
    font-weight: normal;
    font-style: italic;
    src: url(fonts/FeENit27C.otf) format("opentype");
}

/* DOM */

body {
    margin: 0;
    padding: 20px 30px 55px 30px;

    font-family: "Imfell English Pro";
    font-size: 13pt;
    
    background: url(flowers.png);
}

h1 {
    margin: 0 0 10px 0;
    
    font-size: 28pt;
}

h2 {
    margin: 30px 0 10px 0;
    
    font-size: 22pt;
}

h3 {
    margin: 20px 0 8px 3px;
    
    font-size: 16pt;
    font-style: italic;
    text-decoration: underline;
}

@media (max-width: 800px) {
    body {
    padding: 0;
    }

    h1 {
    font-size: 20pt;
    }
}

/* MAIN */

#main {
    width: 580px;
    padding: 20px 35px 10px 35px;
    
    text-align: justify;
    
    background-color: rgba(255,255,255,0.55);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    z-index: -1;
}

@media (max-width: 800px) {
    #main {
    width: 90%;
    padding: 5%;
    }
}

#fast-search {
    width: 290px;
    position: absolute;
    left: 740px;
    top: 20px;
    padding: 15px;
    
    text-align: justify;
    
    background-color: rgba(255,255,255,0.55);
    border: 1px dashed #bbb;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

@media (max-width: 800px) {
    #fast-search {
    display: none;
    }
}

#fast-search h1 {
    font-size: 16pt;
    margin: 0 0 8px 0;
}

#fast-search p {
    font-style: italic;
    margin: 12px 0;
}

#footer {
    margin: 30px 0 0 0;
    padding: 10px 0 0 90px;
    
    border-top: 1px solid #ddd;
    
    position: relative;
}

#footer p {
    margin: 6px 0;
    font-size: 18px;
    color: #666;
}

#footer a,
#footer a:link,
#footer a:active,
#footer a:visited {
    color: #666;
}

#footer a:hover {
    color: #444;
}

#footer .profile {
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 50%;
    width: 0;
    margin: 0;
}

#footer .profile img {
    position: absolute;
    left: 4px;
    top: -22px;
    width: 60px;
    height: 60px;
}

/* LIST */

.list {
    margin: 0 0 0 14px;
}

.list .entry {
    margin: 2px 0;
    padding: 2px;
}

.list .entry a,
.list .entry a:link,
.list .entry a:active,
.list .entry a:visited {
    padding: 2px 5px;

    font-size: 14pt;
    color: #000;
    text-decoration: none;
    text-align: left;
    
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    outline: none;
}

.list .entry a:hover {
    background-color: #ddd;
}

.list .entry a:focus {
    color: #fff;
    background-color: #aaa;
}

.list .entry a.highlighted {
    color: #fff;
    background-color: #aaa;
}

.spacing {
    margin-left: 20px;
}

/* COMMANDER */

#commander {
    height: 150px;
    position: fixed;
    left: 0px; right: 0px;
    bottom: 0px;
    
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    
    -moz-box-shadow: 0px -1px 20px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0px -1px 20px rgba(0,0,0,0.7);
    box-shadow: 0px -1px 20px rgba(0,0,0,0.7);
    
    display: none;
    z-index: 1;
}

#commander h1 {
    position: absolute;
    left: 30px; right: 20px;
    top: 10px;
    margin: 0;
    
    font-size: 22px;
    font-weight: normal;
    
    white-space: nowrap;
    overflow: hidden;
}

#commander input[type=text] {
    position: absolute;
    left: 30px; right: 20px;
    top: 34px;

    font-family: "Imfell English Pro";
    font-size: 34px;
    color: #fff;
    
    background: none;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    overflow: hidden;
}

#commander p {
    position: absolute;
    left: 30px; right: 20px;
    top: 64px;
    padding: 2px 5px;

    font-size: 24px;
    color: #bbb;

    white-space: nowrap;
    overflow: hidden;
}

#commander p.highlighted {
    background-color: rgba(255,255,255,0.3);
    
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#commander p b {
    color: #fff;
}

.error {
    color: #d76;
}

/* FLOWERS */
.mustache {
    width: 70px;
    height: 20px;
    margin: 35px auto 10px auto;

    background: url(mustache.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

.at-sign {
    display: inline-block;
    width: 10pt;
    height: 10.1pt;
    background-image: url(at_sign.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: auto 100%;
}
