/* ==========================================================================
HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4em;
}

::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}

::selection {
background: #b3d4fc;
text-shadow: none;
}

hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}

img {
vertical-align: middle;
}

fieldset {
border: 0;
margin: 0;
padding: 0;
}

textarea {
resize: vertical;
}

.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}

body {
/*font: 16px/26px Helvetica, Helvetica Neue, Arial;*/
font-family: Arial, Helvetica, sans-serif;
background: url(../img/bgBody.jpg) repeat;
}

.interna a{
font-family: Arial, Helvetica, sans-serif;
color: #E40613;
text-decoration:none;
}
.interna a:hover{
text-decoration:underline;
}
.wrapper {
width: 90%;
margin: 0 5%;
}

/* ===================
ALL: Orange Theme
=================== */

.header-container {
margin-top:36px;

}


.nav-container {
margin-top:2px;
z-index:10;
}
.nav-container nav{
background: url(../img/bgMenu.jpg) left top repeat-x;
}

.header-container header{
background: #e40613;    
}
.footer-container footer{
border-top: 1px solid #E40613;
}

.main aside .adv img{
width:100%;
}
.main aside .adv, .main aside #top5{
margin-bottom: 20px;
}

.main aside .adv img{
border:1px solid #60878e;
}

h2.logo {
width:274px;
height:45px;
margin-left:1.5%;
background: url(../img/logo.png) left top no-repeat;
}
h2.logo span{
display:none;
}


/* ==============
MOBILE: Menu
============== */
/*
nav ul {
margin: 0;
padding: 0;
}
nav a {
display: block;
padding: 5px 0;
text-align: center;
text-decoration: none;
font-weight: bold;
background: url(../img/bgMenu.jpg) left top repeat-x;
color: white;
}

nav a:hover,
nav a:visited {
color: white;
}

nav a:hover {
background:#E40613;
} */

/* ==============
MOBILE: Main
============== */
.right{
float:right;
}
.main {
padding: 0 0 30px 0;
}

.main article h1 {
font-size: 2em;
}

.main aside {
color: white;
padding: 0;
}

.footer-container footer {
padding: 0;
}
.footer-container footer p{
margin:10px 0;
font-size:0.75em;
}
.footer-container footer p a{
color: #000;
text-decoration:none;
font-size:1em;
}
.footer-container footer p a:hover{
text-decoration:underline;
}

/* ===============
ALL: IE Fixes
=============== */

.ie7 .title {
padding-top: 20px;
}

/* ==========================================================================
Author's custom styles
========================================================================== */

/* ==========================================================================
Media Queries
========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
INTERMEDIATE: Menu
==================== */
/*
nav a {
float: left;
width: 27%;
margin: 0;
padding: 0 1.2%;
margin-bottom: 0;
font-size:0.75em;
}

nav li:first-child a {
margin-left: 0;
}

nav li:last-child a {
margin-right: 0;
}
*/
/* ========================
INTERMEDIATE: IE Fixes
======================== */
/*
nav ul li {
display: inline;
}

.oldie nav a {
margin: 0 0.7%;
}
*/
}

@media only screen and (min-width: 768px) {

/* ====================
WIDE: CSS3 Effects
==================== */

/*    .header-container,
.main aside {
-webkit-box-shadow: 0 5px 10px #aaa;
-moz-box-shadow: 0 5px 10px #aaa;
box-shadow: 0 5px 10px #aaa;
}
*/
/* ============
WIDE: Menu
============ */

.title {
float: left;
}

/*nav {
float: right;
width: 38%;
}*/

/* ============
WIDE: Main
============ */

.main article {
float: left;
width: 62%;
}



.main aside {
float: right;
width: 36%;
}


.newsletter article {
float: left;
width: 69% !important;
}

.newsletter aside {
float: right;
width: 29% !important;
}

        .newsletter .adv{
            float:left;
            width:100%;
            display:inline;
            margin:20px 0 0 0 !important;
        } 
        
.newsletter aside .last_issue {
    float:left;
    margin-bottom: 0 !important;
    padding: 17px 0 !important;
    width:100% !important;
}


 .newsletter aside .last_issue img {
    margin: 0 3% !important;
    width:94% !important;
}

 .newsletter aside .last_issue span.triangolo {
    background: url("../img/clickToRead.png") no-repeat scroll left bottom / 50% auto transparent;
    height: 100% !important;
    bottom: -3px !important;
    left: 3% !important;
    width:94% !important;
}   

            
.newsletter aside .last_issue a {
    float:left;
    width:100% !important;
}   

 .newsletter aside .last_issue b {
    float: left !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    width:100% !important;
    text-align:center;
}   
    

}

@media only screen and (min-width: 1024px) {

/* ===============
Maximal Width
=============== */

.wrapper {
width: 980px; /* 1140px - 10% for margins */
margin: 0 auto;
position:relative;
}

/*nav a{
width:10%;
}*/
}

/* ==========================================================================
Helper classes
========================================================================== */

.ir {
background-color: transparent;
border: 0;
overflow: hidden;
*text-indent: -9999px;
}

.ir:before {
content: "";
display: block;
width: 0;
height: 100%;
}

.hidden {
display: none !important;
visibility: hidden;
}

.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}

.invisible {
visibility: hidden;
}

.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}

.clearfix:after {
clear: both;
}

.clearfix {
*zoom: 1;
}

/* ==========================================================================
Print styles
========================================================================== */

@media print {
* {
background: transparent !important;
color: #000 !important; /* Black prints faster: h5bp.com/s */
box-shadow:none !important;
text-shadow: none !important;
}

a,
a:visited {
text-decoration: underline;
}

a[href]:after {
content: " (" attr(href) ")";
}

abbr[title]:after {
content: " (" attr(title) ")";
}

/*
* Don't show links for images, or javascript/internal links
*/

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


#top5{
    margin:2% 0;
    border:1px solid #60878e;
    background:#E9EFF4;
    height: 339px;
    overflow:hidden;
}
#top5 b{
    display:block;
    color: #5A7294;
    font-family:Arial;
    border-bottom:1px solid #DAE2EA;
    font-size: 0.8em;
    padding:0.25em 1em 0.3em 1em;
}
#top5 ul{
    margin:0.3em 0 0.3em 0.8em;
    padding:0 1em;
}    
#top5 ul li{
    padding:0px 0 1px 28px;
    color:#000;
    font-size:0.688em;
    list-style:none;
}
#top5 ul li.one{
    background: url(../img/bgTop1.gif) left top no-repeat;
}
#top5 ul li.two{
    background: url(../img/bgTop2.gif) left top no-repeat;
}
#top5 ul li.three{
    background: url(../img/bgTop3.gif) left top no-repeat;
}
#top5 ul li.four{
    background: url(../img/bgTop4.gif) left top no-repeat;
}
#top5 ul li.five{
    background: url(../img/bgTop5.gif) left top no-repeat;
}
#top5 ul li a{
    color:#000;
    text-decoration:none;
}
#top5 ul li a:hover{
    text-decoration:underline;
}

#top5 b.recentCommentsAside{
    display:block;
    color: #5A7294;
    font-family:Arial;
    font-size: 0.8em;
    padding: 1.2em 0 0.8em 2.5em;
    background: url(../img/bgRecentCommentsTit.gif) left bottom no-repeat;
    border:0;
}
#top5 #vertical-ticker{
    height:100% !important;
    overflow:hidden;
    margin:0; padding:0;
    -webkit-box-shadow:0 1px 3px rgba(0,0,0, .4);
    background:#FFF;
}
#top5 #vertical-ticker li{
    padding:1em 1.5em;
    height:3.5em;
    display:block;
    background:#FFF;
    color:#333;
    border-bottom:1px solid #ddd;
    font-size: 0.750em;
    line-height: 1.3em;
}
.main footer{
    float:left;
    position:relative;
    width:100%;
}
.main .boxOne{
    float:left;
    position:relative;
    width:48%;
    height:256px;
    background:#FFF;
    border:1px solid #60878e;
}
.main .boxTwo{
    float:right;
    position:relative;
    width:48%;
    height:256px;
    background:#FFF url(../img/bgStayConnect.jpg) center bottom no-repeat;
    border:1px solid #60878e;
}
.main .boxOne b, .main .boxTwo b{
    display:block;
    color: #E40613;
    padding:0.8em 0.8em 0.4em 0.8em;
    font-size:0.9em;
}
.main .boxOne .inner-box, .main .boxTwo .inner-box{
    display:block;
    padding: 0 0.8em;
}
.main .boxOne .inner-box p{
    float:right;
    width:73%;
    font-size:0.688em;
    line-height:1.4em;
    margin:0;
}
.main .boxOne .boxGrandrounds{
    position:absolute;
    width:100%;
    bottom:0;
    left:0;
    background: #60878e;
    height:108px;
    overflow:hidden;
}
.main .boxOne .boxGrandrounds p a{
    display:block;
    padding: 0.55em 1em;
    color:#fff;
    text-decoration:none;
    font-size:0.688em;
    line-height:1.2em;
}
.main .boxTwo ul{
    margin:0;
    padding: 0 0 0 13px;
}
.main .boxTwo ul li{
    list-style:none;
    line-height:1.7em;
    padding: 0 0 0 25px;
}
.main .boxTwo ul li:hover{
     background-position: 0 -28px !important;
}
.main .boxTwo ul li.iconCW{
    background: url(../img/iconCW.gif) 0 0 no-repeat;
}
.main .boxTwo ul li.iconPosta{
    background: url(../img/iconPosta.gif) 0 0 no-repeat;
}
.main .boxTwo ul li.iconSave{
    background: url(../img/iconSave.gif) 0 0 no-repeat;
}
.main .boxTwo ul li.iconTopic{
    background: url(../img/iconTopic.gif) 0 0 no-repeat;
}
.main .boxTwo ul li.iconRecommend{
    background: url(../img/iconRecommend.gif) 0 0 no-repeat;
}
.main .boxTwo ul li a{
    font-size:0.688em;
    color:#000;
    text-decoration:none;
}
.main .visit_site{
    position:relative;
    float:left;
    height:173px;
    margin:10px 0 9px 0;  
}
.main .visit_site b{
    font-family: 'proletarianregular';
    font-size:1.9em;
    font-weight:normal;
}
.main .visit_site b span{
    color: #E40613;  
}
.main .visit_site .colOne{
    float:left;
    position:relative;
    width:48%;
    margin:1% 0;
}
.main .visit_site .colTwo{
    float:right;
    position:relative;
    width:48%;
    margin:1% 0;
}
.main .visit_site .colOne p, .main .visit_site .colTwo p{
    float:right;
    position:relative;
    width:70%;
    font-size:0.7em;
    line-height:1.4em;
    margin:0;
}
.main .visit_site .colOne p b, .main .visit_site .colTwo p b{
    font-family: Arial,Helvetica,sans-serif;
    font-size:1.1em;
    line-height:1.4em;
    font-weight:bold;
}
.header-container .social_newtork{
    float:right;                      
    padding:3% 1% 0 0;
    width:330px;
}
.header-container .social_newtork a{
    display:block;
    float:left;
    width:32px;
    height:32px;
}
.header-container .social_newtork a.fb{
    background: url(../img/social/fb.png) left top no-repeat;
}
.header-container .social_newtork a.tw{
    background: url(../img/social/tw.png) left top no-repeat;
}
.header-container .social_newtork a.in{
    background: url(../img/social/in.png) left top no-repeat;
}
.header-container .social_newtork a.rss{
    background: url(../img/social/rss.png) left top no-repeat;
}
.header-container .social_newtork form div.boxSearch{
    display:block;
    float:left;     
    width:192px;
    height:27px;
    margin: 2px 10px 0 0;
    background: url(../img/bgSearch.png) left top no-repeat;
}
.header-container .social_newtork form div.boxSearch .inSearch{
    display:block;
    float:left;
    width:160px;
    height:20px;
    border:0;
    font-family: Arial,Helvetica,sans-serif;
    font-size:0.8em;
    text-align:right;
    background:none;
}
.header-container .social_newtork form div.boxSearch .btnSubmit{
    display:block;
    float:left;
    width:26px;
    height:22px;
    border:0;
    background:none;
    margin: 0 0 0 2px;
}
.main aside .last_issue{
    background:#FFF;
    margin-bottom:25px;
    border: 1px solid #60878E;
    display:block;
    float:left;
    position:relative;
}
.main aside .last_issue a{
    display:block;
    float:left;
    position:relative;
}
.main aside .last_issue img{
    margin: 22px 14px;
    border:1px solid #BABABA;
    -webkit-box-shadow: 4px 4px 5px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    4px 4px 5px rgba(50, 50, 50, 0.5);
    box-shadow:         4px 4px 5px rgba(50, 50, 50, 0.5);
}
.main aside .last_issue span.triangolo{
    position: absolute;
    left:10px;
    bottom:18px;
    width: 100%;
    height: 100%;
    background: url(../img/clickToRead.png) left bottom no-repeat;
    background-size: 50%;
    z-index: 1;
}
.main aside .last_issue b{
    font-family: 'proletarianregular';
    font-size:1.5em;
    font-weight:normal;
    color:#3A3A3A;  
    float:right;
    padding:10px 12px 0 0;
    margin-bottom:13px;
}

.rivistaPreview span.triangolo{
    position: absolute;
    left:-4px;
    bottom:-4px;
    width: 100%;
    height: 100%;
    background: url(../img/clickToRead.png) left bottom no-repeat;
    background-size: 50%;
    z-index: 1;
}

#searchBlock{
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CFCFCF;
    display: inline;
    float: left;
    left: 640px;
    padding: 10px;
    position: absolute;
    top: 55px;
    display:none;
    width:252px;
    z-index: 500; 
}
#searchBlock a{
    float:right;
    display:inline;
    position:relative;
    color:#E40613;
    font-size:12px;
    text-decoration:none;
    height:auto;
    width:auto;
}

#searchBlock select {
    color: #333333;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    height: 22px;
    margin-bottom: 5px;
}

.modSelect {
    border: 1px solid #B4BBCC;
    width: 208px;

}

#searchBlock .btnLogin{
   background:#E40613; 
   color:#FFF; 
   border: 0;
   font-size:12px;
   font-family: Arial,Helvetica,sans-serif;
   width:210px;
}
.selPag{
    color:#000 !important;
    font-weight:bold;
}
.paginazione{
    font-size:12px;
}
.slider-container{
    z-index:99 !important;
}
.footer-container p{
    margin:1em 0 !important;
}