/*--------------------------------------------------------------
   RESET & BASE
--------------------------------------------------------------*/
body { display: block; }
a {
    color: inherit;
    text-decoration: none;
    transition: all .25s ease-in-out;
}
a:hover, a:focus { text-decoration: none; }
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
em { font-style: italic; }
strong { font-weight: bold; }

/*--------------------------------------------------------------
   LAYOUT
--------------------------------------------------------------*/
.ruby-container {
    display: block;
    max-width: 1900px;
    margin-left: auto;
    margin-right: auto;
}
.main-site-outer {
    display: block;
    background-color: #fff;
}
.ruby-page-wrap {
    display: block;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}
.ruby-content-wrap {
    display: block;
    overflow: hidden;
}
.row { display: flex; flex-wrap: wrap; }
.col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
.content-with-sidebar { padding-left: 20px; padding-right: 20px; }
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/*--------------------------------------------------------------
   HEADER
--------------------------------------------------------------*/
.header-style-2 .logo-wrap {
    display: inline-block;
    height: auto;
}
.logo-section-wrap {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.logo-section-inner {
    position: relative;
    display: table;
    height: 100%;
    width: 100%;
}
.logo-section-holder {
    display: table-cell;
    vertical-align: middle;
}
.is-center-logo .logo-section-holder { text-align: center; }
.logo-inner {
    display: table-cell;
    vertical-align: middle;
    transition: opacity .35s ease-in-out;
}
.logo-inner:hover { opacity: .7; }
.logo-inner img { width: auto; }

/*--------------------------------------------------------------
   POST / ARTICOLO
--------------------------------------------------------------*/
.single-title h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 36px;
    line-height: 1.1;
}
.single-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #eee;
}
.single-header > * { margin-top: 15px; }
.single-header > *:first-child { margin-top: 0; }
.single-inner { padding-left: 20px; padding-right: 20px; }

/* Categorie */
.post-cate-info {
    display: block;
    overflow: hidden;
    line-height: 0;
}
.cate-info-el {
    display: inline-block;
    position: relative;
    line-height: 1.2;
    transition: all .2s linear;
}
.cate-info-el:hover { opacity: .7; }
.cate-info-style-1 .cate-info-el { color: #DD9933; }
.cate-info-style-1 .cate-info-el:before {
    content: '';
    width: 7px;
    margin-right: 5px;
    height: 2px;
    vertical-align: baseline;
    background-color: #DD9933;
    display: inline-block;
    line-height: inherit;
}
.cate-info-style-1 .cate-info-el:after {
    content: '|';
    line-height: 1;
    vertical-align: middle;
    opacity: .3;
    margin-left: 5px;
    margin-right: 5px;
    color: #282828;
}
.cate-info-style-1 .cate-info-el:last-child:after { display: none; }

/* Meta info */
.post-meta-info {
    display: block;
    overflow: hidden;
    line-height: 1.5;
}
.meta-info-el {
    display: inline-block;
    margin-right: 5px;
}
.meta-info-el:last-child { margin-right: 0; }
.meta-info-el a:hover { color: #DD9933; }
.meta-info-el .meta-info-decs {
    margin-right: 2px;
    opacity: .5;
}

/* Entry / Contenuto */
.entry p {
    margin-top: 0;
    margin-bottom: 30px;
}
.entry a:not(button) { font-weight: bold; text-decoration: underline; }
.entry a:not(button):hover { color: #DD9933; }

/*--------------------------------------------------------------
   BOX AUTORE
--------------------------------------------------------------*/
.box-author {
    display: block;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 30px;
}
.box-author .author-thumb {
    display: block;
    float: left;
    width: 130px;
    margin-right: 20px;
}
.box-author .author-thumb img { border-radius: 50%; }
.box-author-content { display: block; }
.author-title.post-title h3 {
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.author-title h3 > * { font-size: 10px !important; }
.author-title span { color: #aaa; }
.author-title a {
    padding: 5px 10px;
    line-height: 1;
    display: inline-block;
    background-color: #DD9933;
    border-radius: 1px;
    margin-left: 3px;
    color: #fff;
    transition: all .35s ease-in-out;
}
.author-title a:hover {
    text-decoration: none;
    background-color: #282828;
}

/*--------------------------------------------------------------
   FOOTER
--------------------------------------------------------------*/
#footer-copyright {
    background-color: #282828;
    display: block;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.copyright-inner {
    font-size: 16px;
    font-weight: 400;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    color: #ffffff;
}

/*--------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------*/
@media only screen and (max-width: 991px) {
    .col-md-8 { flex: 0 0 100%; max-width: 100%; }
    .ruby-page-wrap { margin-top: 20px; margin-bottom: 20px; }
    .single-inner { padding-left: 15px; padding-right: 15px; }
}

@media only screen and (max-width: 767px) {
    .single-title h1 { font-size: 24px; }
    .logo-section-wrap { height: auto; min-height: 200px; }
    .box-author .author-thumb {
        float: none;
        margin: 0 auto 15px;
        width: 100px;
    }
    .box-author-content { text-align: center; }
    .copyright-inner { font-size: 13px; }
}
