﻿body {
    background-color: #000000;
    background-image: url('immagini/cielo.jpg');
    background-attachment: fixed;
    background-position: 25px 25px;
    color: #FFFFCC;
}

#sfondo {
    display: block;
    width: 100%;
    height: 100%;
}

#container {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    clear: both;
}

#corpo {
    display: block;
    width: 100%;
    max-width: 900px;
    clear: both;
}

    #corpo:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

#header {
    width: 100%;
    max-width: 900px;
    padding-bottom: 20px;
    clear: both;
}

#menu {
    position: relative;
    width: 250px;
    float: left;
    padding-top: 30px;
    text-align: right;
    color: silver;
}

    #menu ul {
        list-style: none;
        display: block;
        margin: 0;
        padding: 0 8px 0 0;
        width: 180px;
        margin-right: 2px;
        border-right-style: solid;
        border-right-width: medium;
        border-right-color: #993300;
        float: right;
    }

    #menu:hover {
        background-color: black;
    }

    #menu a {
        font-style: normal;
        display: block;
        padding: 4px;
        font-size: 0.9em;
        color: #FFFFCC;
        text-decoration: none;
    }

        #menu a:active, #menu a:hover {
            font-style: italic;
            font-weight: bold;
            text-align: left;
            background-color: #E6941A;
            color: white;
        }

#main, #mainpoetry {
    position: relative;
    display: inline-block;
    float: left;
    width: 90%;
    max-width: 500px;
    color: #FFFFCC;
    height: auto;
    background-repeat: no-repeat;
}

    #main:hover, #mainpoetry:hover {
        background-color: #222222;
    }

.separatore {
    width: 100%;
    max-width: 900px;
    height: 2px;
}

#titolo {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    font-style: italic;
    font-variant: normal;
    color: #990033;
    left: 150px;
    margin-bottom: 1px;
    width: 60%;
    max-width: 600px;
    margin-bottom:2.5em;
}

#logo {
    position: relative;
    width: 240px;
    margin-right: auto;
    margin-left: auto;
    top: 10px;
}

pre, #poetry {
    color: #E6941A;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    font-variant: normal;
    line-height: 1.8em;
    display: inline;
    width: 300px;
    background-color: #000000;
    font-size: 1.1em;
    left: 40px;
    padding: 0;
}


#data, #datacopertina {
    font-style: italic;
    color: #666600;
    border-color: #663300;
    border-top-style: dashed;
    border-top-width: thin;
    border-bottom-style: dashed;
    border-bottom-width: thin;
    padding: 10px;
    margin: 40px 0 0 250px;
    float: left;
}

.listalarga {
    padding-bottom: 30px;
    border-top: thin;
    border-top-style: solid;
}

#contagiorni {
    float: right;
    margin-top: 10px;
    margin-right: 20px;
    color: #FFFFCC;
    font-size: medium;
    font-weight: bold;
}

#navigazione {
    float: left;
    font-size: 0.9em;
    color: #FFFFCC;
}

    #navigazione ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    #navigazione li {
        display: inline;
    }

    #navigazione a:link, #navigazione a:visited {
        font-weight: bold;
        color: #FFFFCC;
        background-color: #111111;
        text-align: center;
        padding: 6px;
        text-decoration: none;
    }

    #navigazione a:hover, #navigazione a:active {
        background-color: #E6941A;
    }

#footer {
    color: #FFFFCC;
    font-size: 0.9em;
    text-align: center;
    width: 100%;
    max-width: 900px;
    height: 48px;
    clear: both;
}

.testo_footer {
    text-align: center;
    display: inline;
    padding-top: 2px;
    border-top-style: solid;
    border-top-width: thin;
    border-top-color: #FF9900;
}

.Kelly {
    display: inline-block;
    margin-top: -50px;
    margin-left: 20px;
    width: 80%;
    max-width: 400px;
}

.copertina {
    display: inline-block;
    margin-top: -100px;
    margin-left: -30px;
    text-align: justify;
    background-color: black;
    padding-left: 10px;
    width: 390px;
}

.overfoto {
    position: fixed;
    bottom: 19px;
    right: 25px;
    z-index: 0;
}

.bottomfoto {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 300px;
    z-index: 0;
}

.mare {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 300px;
    z-index: -1;
    visibility:hidden
}
/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/




/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1400px) {
    .mare{
        visibility:visible
    }
}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    #menu {
        left: -220px;
        display: none;
    }
}


/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    #logo img {
        width:80%;
    }
    .mare {
        width: 20%;
         opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    float:right
    }

    .bottomfoto, .overfoto {
        position: relative;
        bottom: 0px;
        float: left;
    }

    .overfoto {
        margin-left: -250px;
        margin-top: 18px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
      #logo img {
        width:60%;
    }
    .mare {
        display: none;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
}
