
/* --------------------------------------------------------------
CSS Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}




/* --------------------------------------------------------------
HTML5 display-role reset for older browsers
-------------------------------------------------------------- */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* --------------------------------------------------------------
Basic Styles - in "body" si decide il colore del testo del blog.
Il colore originale è #6a6359
	font: 14px/28px 'BenchNine', sans-serif;
-------------------------------------------------------------- */
html { 
    overflow-y: scroll;
}

body {
    font: 14px/28px 'Open sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
    background: #efede7;
    color: #fff;
    line-height: 1;
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:none;
}

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

img.float_left {
    margin: 10px 40px 30px 0;
}

img.float_right {
    margin: 10px 0 30px 40px;
}

li { 
    list-style: none; /* Remove bullets on lists */
}

a, a:visited {
    color: #000;
    text-decoration: none;
    -webkit-transition:color .25s ease-in-out;
    -moz-transition:color .25s ease-in-out;
    -o-transition:color .25s ease-in-out;
    transition:color .25s ease-in-out;
}

a:hover {
    color: #ff6644;
}

hr {
    width: 50%;
    height: 6px;
    display: block;
    background: #eee;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 0;
}

form {
    margin: 0;
    padding: 0;
}

input, textarea {
    border: none;
    outline: none;
    margin: 0;
    padding: 13px 15px 12px 15px;
    background: #e5e5e5;
    color: #999;
    font: 14px/14px 'Open sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    -webkit-box-sizing: border-box;     /* Safari/Chrome, other WebKit */
       -moz-box-sizing: border-box;     /* Firefox, other Gecko */
            box-sizing: border-box;     /* Opera/IE 8+ */
}

    input:focus, textarea:focus {
        background: #f2f2f2;
    }


/* --------------------------------------------------------------
Grid

.column, .columns {
    float: left;
    display: inline-block;
    padding: 0 30px;
    margin-bottom: 30px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;     /* Safari/Chrome, other WebKit */
       -moz-box-sizing: border-box;     /* Firefox, other Gecko */
            box-sizing: border-box;     /* Opera/IE 8+ */
}
-------------------------------------------------------------- */
.eight.columns     { width: 100%;  }
.seven.columns     { width: 87.5%; }
.six.columns       { width: 75%;   }
.five.columns      { width: 62.5%; }
.four.columns      { width: 50%;   }
.three.columns     { width: 37.5%; }
.two.columns       { width: 25%;   }
.one.column        { width: 12.5%; }

.one-third.column  { width: 33.33%;}
.two-thirds.column { width: 66.66%;}

@media only screen and (max-width: 479px) {
    .eight.columns,
    .seven.columns,
    .six.columns,
    .five.columns,
    .four.columns,
    .three.columns,
    .two.columns,
    .one.column,
    .one-third.column,
    .two-thirds.column
    { 
        width: 100%;
        margin-bottom: 20px;
    }
}

/* --------------------------------------------------------------
Clearing
-------------------------------------------------------------- */
    /* Self Clearing Goodness */
    .slate:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

    /* Use clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .row:after,
    .clearfix:after {
      clear: both; }
    .row,
    .clearfix {
      zoom: 1; }

    /* You can also use a <br class="clear" /> to clear columns */
    .clear {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }




/* --------------------------------------------------------------
Helper Classes
-------------------------------------------------------------- */
.float_left {
    float: left;
}

.float_right {
    float: right;
}




/* --------------------------------------------------------------
Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;   
    color: #fff;
    position: relative;
    margin-bottom: 20px;
    line-height: 1.4;
}


h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight:inherit;}
h1 { font-size:48px;}
h2 { font-size:36px;}
h3 { font-size:30px;}
h4 { font-size:24px; font-weight: bold;margin-bottom: 10px;line-height: 0.8;}
h5 { font-size:18px; font-weight: bold;margin-bottom: 10px;line-height: 0.8;}
h6 { font-size:14px; margin-bottom: 15px}

p       { margin-bottom: 20px;}
em      { font-style: italic;}
strong  { font-weight: bold;}
.small  { font-size: 80%;}
.center { text-align: center;}
.highlight { background: #ff6644; padding: 0 5px; color:  #fff; }


/* --------------------------------------------------------------
Buttonsfont-weight: bold;
-------------------------------------------------------------- */
button {
    display: inline-block;
    border: 0;
    outline: 0;
    margin: 0;
    padding: 15px;
    height: 44px;
    background: #008080;
    color: #008080;
    font: 14px/14px 'Open sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
    
    text-transform: uppercase;
    cursor: pointer;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    -webkit-box-sizing: border-box;     /* Safari/Chrome, other WebKit */
       -moz-box-sizing: border-box;     /* Firefox, other Gecko */
            box-sizing: border-box;     /* Opera/IE 8+ */
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:none;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

button:hover {
    background: #064d3d;
    -webkit-transition:all .25s ease-in-out;
    -moz-transition:all .25s ease-in-out;
    -o-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out; 
}

button:active {
    background: #ff5733;
}

button.light {
    background: #008080;
    color: #fff;
}

button.light:hover {
    background: #0bb590;
    font-weight: bold;
    color: #fff;
    
}


/* --------------------------------------------------------------
Header
-------------------------------------------------------------- */
header {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 0 80px;
    position: relative;
    -webkit-box-sizing: border-box;     /* Safari/Chrome, other WebKit */
       -moz-box-sizing: border-box;     /* Firefox, other Gecko */
            box-sizing: border-box;     /* Opera/IE 8+ */
}

header .logo {
	color: #ec6a2c;
    float: left;
}

/* -----------decide la posizione e il margine superiore dei link dell'intestazione (per PC)----------- */
header nav {
    float: right;
    margin-top: 3px;
}

/* -----------decide la distanza tra i link dell'intestazione (per PC)---------------------------- */
header nav ul li {
    display: inline-block;
    margin-left: 40px;
}


/* --------------------------------------------------------------
decide la grandezza dei font (e icone) dell'intestazione
Era: #aaa28c
font-weight: bold;
text-transform: uppercase;

-------------------------------------------------------------- */
header nav ul li a, header nav ul li a:visited, header nav ul li.search {
    font-size: 28px;
    color: #ec6a2c;
    line-height: 1;
    cursor: pointer;
    position: relative;
    top: -5px;
}

header nav ul li a:hover, header nav ul li.search:hover {
    color: #ec6a2c;
    font-weight: bold;
    -webkit-transition:color .25s ease-in-out;
    -moz-transition:color .25s ease-in-out;
    -o-transition:color .25s ease-in-out;
    transition:color .25s ease-in-out;
    border: 0;
}

header .menubutton {
    display: none;
    float: right;
    color: #ec6a2c;
    cursor: pointer;
    font-size: 36px;
    line-height: 24px;
}




/* --------------------------------------------------------------
Search
-----------------------------------------------------------
header .search_popup {
    display: none;
    position: absolute;
    top: 40px;
    right: 80px;
    padding: 15px;
    background: #fff;
    z-index: 1000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 3px #f6f4ee;
}

header .search_popup input {
    height: 46px;
}

header .search_popup button {
    height: 46px;
    position: relative;
    top: -1px;
}

header nav ul li.search .icon-search.active {
  display: none;
}

header nav ul li.search .icon-remove {
  display: none;
}

header nav ul li.search .icon-remove.active {
  display: inline-block;
}
--- */

/* --------------------------------------------------------------
Posts - è la larghezza della sezione (MA SOLO SU PC)
max-width: 900px;
padding: 80px 50px; il bordo sopra e sotto la sezione
margin-bottom: 10px; la distanza tra le sezioni (in altezza)
-------------------------------------------------------------- */
section {
    display: block;
    position: relative;
    background: #ec6a2c;
    padding: 50px 0px;
    width: auto;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 50px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 3px #f6f4ee;
    -webkit-box-sizing: border-box;     /* Safari/Chrome, other WebKit */
       -moz-box-sizing: border-box;     /* Firefox, other Gecko */
            box-sizing: border-box;     /* Opera/IE 8+ */

}

section button {
    margin: 0;
}




/* --------------------------------------------------------------
Post Types
padding: 80px 80px 30px 200px;
-------------------------------------------------------------- */
section.quote {
    background: #f6f4ee;
    padding: 50px 50px 30px 100px;
    -webkit-transition:all .25s ease-in-out;
    -moz-transition:all .25s ease-in-out;
    -o-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out;
}

section.quote p {
    font-size: 24px;
    line-height: 48px;
    text-align: right;
    -webkit-transition:all .25s ease-in-out;
    -moz-transition:all .25s ease-in-out;
    -o-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out;
}

section.quote .author {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    color: #bbb;
    -webkit-transition:all .25s ease-in-out;
    -moz-transition:all .25s ease-in-out;
    -o-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out;
}

section.quote:hover {
    background: #ff6644;
    box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 3px #d83e1c;
}

section.quote:hover p {
    color: #fff;
}

section.quote:hover .author {
    color: #862813;
}

/* Blockquotes */
blockquote {
    width: 100%;
    padding: 0 0 0 30px;
    margin: 10px 0 30px 0;
    border-left: 10px solid #ff6644;
    font-size: 18px;
    color: #838689;
    -webkit-box-sizing: border-box;     /* Safari/Chrome, other WebKit */
       -moz-box-sizing: border-box;     /* Firefox, other Gecko */
            box-sizing: border-box;     /* Opera/IE 8+ */
}


/* --------------------------------------------------------------
Metadata
-------------------------------------------------------------- */
.metadata {
    padding: 20px 0;
}

.metadata span {
    display: block;
    color: #888;
}

.metadata i {
    margin-right: 20px;
}








/* --------------------------------------------------------------
Pagination
-------------------------------------------------------------- */
.pagination {
    width: 100%;
    text-align: center;
}

.pagination button {
    margin-bottom: 5px;
}


/* --------------------------------------------------------------
Archive
--------------------------------------------------
.archives {
    padding-top: 160px;
    padding-left: 5px;
}

.archives ul {
    margin-bottom: 50px;
}

.archives ul li {
    padding: 0 0 5px 0;
}
------------ */

/* Styled H5 and UL (border and circles)
.archives .styled {
    display: block;
    background: url('../img/circle.png') no-repeat left;
    padding-left: 50px;
    line-height: 30px;
}

.archives .styled_ul {
    margin: -20px 0 -5px 10px;
    padding: 20px 0 50px 30px;
    border-left: 10px solid #eee;
}

.archives .styled_ul_last {
    margin: -20px 0 50px 10px;
    padding: 20px 0 0 30px;
    border-left: 10px solid #eee;
}

------------------ */




/* --------------------------------------------------------------
Footer
-------------------------------------------------------------- */
footer {
    max-width: 780px;
    margin: 0 auto;
    margin-top: 70px;
    margin-bottom: 10px;
    position: relative;
}

footer h4, footer h5, footer h6 {
    color: #aaa28c;
}




/* --------------------------------------------------------------
Media queries
-------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    header, section, section.quote {
        padding: 20px;
        width: auto;
        margin-bottom: 20px;
    }

    section.quote {
        padding: 60px 20px 10px 60px;
    }


/*============= decide l'altezza dell'intestazione della testata ==========*/
    header {
        margin-top: 0px;
        margin-bottom: 0;
    }

    header .menubutton {
        display: block;
    }

    header nav {
        display: none;
        width: 100%;
        float: left;
        margin-top: 10px;
    }

    header nav ul li {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }


/* ------------- decide la posizione delle icone nel menu (per tablet) senza alterare quella del PC ----------------------- */
    header nav ul li a, header nav ul li a:visited, header nav ul li.search {
        top: 0;
        display: block;
        width: 100%;
        padding: 10px;
        text-align: left;
        margin-bottom: 5px;
    }

    header .search_popup {
        position: relative;
        top: 0;
        right: 0;
        padding: 15px 15px 25px 15px;
    }

    header .search_popup input, header .search_popup button {
        width: 100%;
    }

    header .search_popup button {
        top: 10px;
    }

    section, .post_image, .post_video {
        margin-left: 0;
        margin-right: 0; 
    }

    section {
        padding: 30px 0;
    }

    section .post_date {
        position: relative;
        top: -25px;
        left: 0;
    }

    section.quote p {
        font-size: 20px;
        line-height: 32px;
    }

    section.quote p .author {
        margin-top: 10px;
    }

    footer {
        padding: 0 25px;
        margin-top: 50px;
    }
}

@media only screen and (min-width: 768px) {
    header nav {
        display: block !important;
    }
}






/* Social buttons ----------------------------------------------------------
button.facebook, button.twitter, button.linkedin, button.google_plus, button.pinterest {
    height: 40px;
    width: 40px;
    padding: 13px;
    margin-bottom: 5px;
}

button.facebook {
    background: #3b5998;
}

button.facebook:hover {
    background: #2d4577;
}

button.twitter {
    background: #33ccff;
}

button.twitter:hover {
    background: #19abdc;
}

button.linkedin {
    background: #4875b4;
}

button.linkedin:hover {
    background: #204c8b;
}

button.google_plus {
    background: #444;
}

button.google_plus:hover {
    background: #373737;
}

button.pinterest {
    background: #d01c2c;
}

button.pinterest:hover {
    background: #970b18;
}
---------------------------------------------------------- */











/* --------------------------------------------------------------
Twitter

.tweet_list {
    margin: 0;
    padding: 0;
    overflow-y: hidden;
}
    
.tweet_list li {
    overflow-y: auto;
    overflow-x: hidden;
    list-style-type: none;
    margin-bottom: 20px;
}

.tweet_list .tweet_avatar {
    padding-right: .5em; float: left;
}
        
.tweet_list .tweet_avatar img {
    vertical-align: middle;
}

.tweet_time {
    font-size: 14px;
    font-style: italic;
    display: block;
}
-------------------------------------------------------------- */







/* --------------------------------------------------------------
Contact form

.contact h6 {
    text-transform: uppercase;
    color: #aaa;
}

.contact input {
    width: 100%;
    margin-bottom: 40px;
}

.contact textarea {
    width: 100%;
    min-height: 140px;
    margin-bottom: 40px;
}

.contact button {
    float: right;
}

.message {
    text-transform: uppercase;
    color: #bbb;
    letter-spacing: 1px;
    font-weight: bold;
}

label.error {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #f36b6b;
    text-transform: uppercase;
    margin-top: -30px;
    margin-bottom: 30px;
}
-------------------------------------------------------------- */



/* --------------------------------------------------------------
Comments

.comments h5 {
    margin: 60px 0 30px 0;
}

.comment .avatar {
    float: left;
    margin: 0 20px 20px 0;
}

.comment h5 {
    color: #555759;
    margin: 20px 0 0 0;
}

.comment .comment-date {
    font-size: 14px;
    margin-bottom: 20px;
    color: #777;
}

.comment p {
    margin-left: 70px;
    margin-bottom: 40px;
}

.reply {
    margin-left: 70px;
}

.comment-form h6 {
    text-transform: uppercase;
    color: #aaa;
}

.comment-form input {
    width: 100%;
    margin-bottom: 40px;
}

.comment-form textarea {
    width: 100%;
    min-height: 140px;
    margin-bottom: 40px;
}

.comment-form button {
    float: right;
}

-------------------------------------------------------------- */
