/*
Theme name: Aperto Rivista
Theme url: http://www.craq.it
Version: 1.0
Author: <a href="http://www.craq.it" title="Craq Desgin Studio">Craq Design Studio</a>
Author url: http://www.craq.it
*/

/* Globals & Editor Rules
-------------------------------------------------------------- */
body{font-family: Helvetica, Trebuchet; font-size: 16px; color: #000000;font-family: Karmina, Helvetica;}
h1{font-size: 2.5em;}
h2{font-size: 2em;}
h3{font-size: 1.8em;}
h4{font-size: 1.5em;}
h5{font-size: 1.2em;}
h6{font-size: 1.1em;}
h1,h2,h3,h4,h5,h6{line-height: 1em;}
b, strong{font-weight: bold;}
em{font-style: italic;}
sup{vertical-align: text-top; font-size: 0.6em;}
sub{font-size: 0.6em;}ul li{list-style: disc inside none;}
ul li{list-style: disc outside none;}
ul{margin-left: 15px;}
li{margin: 3px;}
p{margin: 5px 0;}
table{width: 100%;}
td{padding: 5px;}
a{text-decoration: none;}

/* Structure
-------------------------------------------------------------- */
body, #page{
    margin: 0;
    min-width: 1200px;
    overflow-x: hidden;
}
.centralWrapper{
    display: block;
    margin: auto;
    width: 1200px;
}
#main{
    margin-top: 140px;
}
#main.small{
    margin-top: 240px;
}
.bold{
    font-weight: bold;
}

/* Header
-------------------------------------------------------------- */
#mainNav{
    display: block;
}
.mainMenu{
    background: rgba(0,0,0,0.9);
    padding: 20px 0;
    margin: 0;
}
.mainMenu li{
    list-style: none;
    display: inline-block;
    margin: 10px;
}
.mainMenu li a{
    color: #FFFFFF;
}
.mainMenu li a:hover,
#mainMenuMob .sub-menu li a:hover{
    color: #C1272D;
}
#mainNavMobile{
    background: #ffffff none repeat scroll 0 0;
    display: block;
    height: 50px;
    left: 0;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
#mainNavMobile img{
    max-height: 50px;
}
#mainLogoMob{
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
}
#mainLogoMob img{
    bottom: 11px;
    display: inline-block;
    height: 70px;
    max-height: inherit;
    position: relative;
}
#loghi{
    max-height: 80px;
    float: right;
}
#loghi .pinacoteca{
    height: 40px;
    margin-bottom: 5px;
    margin-left: 20px;
}
#mainLinkMenu{
    bottom: 50px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 999;
}
#mainLinkMenu .menuText {
    bottom: 18px;
    font-size: 1.3em;
    left: 5px;
    position: relative;
}
#mainLinkMenu i{
    font-size: 48px;
}
#mainLinkMenu:hover{
    color: red;
}
#mainMenuMob{
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    margin: 0;
    padding: 20px 70px 20px 25px;
    min-width: 350px;
    z-index: 9999;
}
#mainMenuMob .title{
    color: #ffffff;
    font-size: 1.3em;
}
#mainMenuMob i{
    font-size: 40px;
}
#mainMenuMob .text{
    position: relative;
    bottom: 13px;
    left: 10px;
}
#mainMenuMob li{
    display: block;
    font-size: 1.3em;
    list-style: outside none none;
    margin: 10px 0;
    padding: 10px 0;
    text-align: left;
}
#mainMenuMob .sub-menu li{
    font-size: 1em;
    margin: 0;
}
#mainMenuMob .sub-menu li a{
    color: #cccccc
}
#mainMenuMob .closeWrapper{
    display: block;
    text-align: right;
}
#mainMenuMob .close{
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
}
#mainMenuMob .close:hover{
    color: red;
}
#mainImg{
    position: relative;
    top: 80px;
    padding: 20px 0 30px;
}
#mainImg.small{
    position: fixed;
    width: 100%;
    background: #ffffff;
    z-index: 9;
}
#mainImg.small .mainImgWrapper{
    height: 50px;
}
.mainImgWrapper{
    border-top: 10px solid #C1272D;
    height: 400px;
    overflow: hidden;
}

/* Page
-------------------------------------------------------------- */
.pageTitle.stripeMainTitle{
    margin: 30px auto;
    color: #C1272D;
}
.pageTitle.stripeMainTitle:before,.pageTitle.stripeMainTitle:after{
    background-color: #C1272D;
}
.pageStandardWrapper{
    margin-bottom: 50px;
}
.entryContent{
    line-height: 1.2em;
}
.entryContent p{
    margin: 10px 0;
}
.entryContent h1, .entryContent h2, .entryContent h3,
.entryContent h4, .entryContent h5, .entryContent h6{
    color: #C1272D;
}

/* Number Page
-------------------------------------------------------------- */
.numberWrapper{
    float: left;
    width: 30%;
    margin: 1.5%;
}
.numberWrapper .cover{
    display: table;
    background: #E6E6E6;
    padding: 25px 0;
    width: 100%;
}
.numberWrapper .cover:hover{
    background: #E0E0E0;
}
.numberWrapper .inside{
    display: table-cell;
    text-align: center;
}
.numberWrapper .inside img{
    height: 300px;
}
.numberWrapper .title{
    font-size: 1.3em;
    color: #C1272D;
    margin-top: 5px;
    text-align: center;
    padding: 2%;
    width: 96%;
}

/* Magazine
-------------------------------------------------------------- */
/* Header
--------------------*/
.magazineWrapper{
    margin-bottom: 5px;
    position: relative;
}
.magazineWrapper h1{
    display: inline-block;
    margin-right: 50px;
    font-size: 2em;
}
.magazineWrapper a{
    color: #000000;
    display: inline-block;
}
.magazineWrapper a:hover{
    color: #C1272D;
}
.magazineWrapper .menuLink {
    cursor: pointer;
    display: inline-block;
    font-size: 1.2em;
    padding: 5px 15px;
    position: relative;
    top: 1px;
}
.magazineWrapper .menuLink:hover,
.magazineWrapper .menuLink.active{
    color: #ffffff;
    background: rgba(0,0,0,0.9);
}
.magazineWrapper .menuLink i{
    font-size: 24px;
    position: relative;
    top: 2px;
}
.magazineWrapper .menuLink .text{
    bottom: 5px;
    padding-left: 5px;
    position: relative;
}
.magazineWrapper .magazineMenu{
    position: absolute;
    background: rgba(0,0,0,0.9);
    width: 94%;
    padding: 3%;
    display: none;
    top: 40px;  
    max-height: 300px;
    overflow-y: auto;
}
.magazineWrapper .magazineMenu h2 {
    color: #ffffff;
    margin: 20px 0 5px;
    font-size: 1.2em;
}
.magazineWrapper .magazineMenu h2:first-child{
    margin-top: 0;
}
.magazineWrapper .magazineMenu a{
    color: #cccccc;
    display: block;
    margin: 7px 0;
}
.magazineWrapper .magazineMenu a:hover{
    color: #ffffff;
}
/* Structure
--------------------*/
.titleWrapper{
    font-size: 1.3em;
    margin-bottom: 50px;
}
.leftWrapper{
    width: 65%;
    padding-right: 5%;
    float: left;
}
.rightWrapper{
    float: left;
    width: 30%;
    position: relative;
    
}
.rightFixed{
    position: fixed;
    width: 360px;
    bottom:0;
    position:fixed;
    overflow-y:scroll;
    overflow-x:hidden;
}
.rightFixed > div {
    margin-bottom: 15px;
}

/* Magazine Index
--------------------*/
.magazineIndex .leftWrapper .magazineSubTitle:first-child {
    margin-top: 0;
}
.magazineIndex .magazineSubTitle {
    font-size: 1em;
    color: #C1272D;
    margin: 30px 0 10px;
}
.magazineIndex .magazineSubTitle.black{
    color: #000000;
}
.magazineIndex .indexArticle{
    color: #000000;
    display: block;
    margin: 10px 0;
}
.magazineIndex .indexArticle:hover{
    color: #C1272D;
}
.coverWrapper{
    max-width: 90%;
    padding: 5%;
    background: #e6e6e6;
    display: inline-block;
}
.coverWrapper .img{
    max-width: 100%;
}
/* Single Article
--------------------*/
.singleArticle .titleCounter{
    color: #999999;
    margin-bottom: 5px;
}
.singleArticle .titleWrapper h1{
    font-size: 1.3em;
}
.paragsWrapper{
    margin-bottom: 50px;
}
.paragsWrapper .content{
    line-height: 1.2em;
}
.paragsWrapper a{
    color: #C1272D;
}
.paragsWrapper a:hover{
    color: #000000;
}
.paragsMenu a{
    color: #000000;
    display: block;
    margin-bottom: 10px;
    position: relative;
    font-style: normal;
}
.paragsMenu a:hover{
    color: #C1272D;
}
.insideNotaWrapper{
    position: relative;
}
.insideNota{
    background: #000000 none repeat scroll 0 0;
    bottom: 20px;
    color: #ffffff;
    display: block;
    font-size: 0.8em;
    left: 0;
    padding: 5px 10px 3px;
    position: absolute;
    width: 400px;
    display: none;
    z-index: 9;
}
.insideNotaWrapper:hover .insideNota{
    display: block;
}
.listNote .note{
    margin-bottom: 10px;
}
.paragsIndexTitle{
    margin-bottom: 15px;
}
.paragsIndexSubtitle{
    margin-bottom: 20px;
}
.paragsIndexSubtitle > div{
    color: #C1272D;
    margin: 2px 0;
}
/* Single Article
--------------------*/
.stampsLoop .row{
    display: inline-block;
    position: relative;
    width: 100%;
    line-height: 1em;
}
.stampWrapper{
    width: 30%;
    margin: 1.5%;
    padding: 10px 0;
    background: #e6e6e6;
    cursor: pointer;
    text-align: center;
    float: left;
}
.stampWrapper:hover{
    background: #e0e0e0;
}
.paragsWrapper .stampWrapper img{
    max-width: 90%;
    margin: 0 5%;
    height: 250px;
}
.stampWrapper .info{
    font-size: 0.8em;
}
.stampWrapper .info .author{
    font-weight: bold;
    margin-top: 5px;
}
.stampWrapper a{
    color: inherit;
}
.paragsWrapper img{
    margin: 15px;
    max-width: 100%;
}
.imageInsideCaption{
    font-size: 0.8em;
    line-height: 1em;
    display: block;
    margin-bottom: 10px;
}
/* Single Opera
--------------------*/
.magazineSubTitle.stampTitle{
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1.3em;
}
.singleStamp .imageWrapper{
    float: left;
    width: 48%;
}
.singleStamp .imageWrapper img{
    max-width: 100%;
}
.singleStamp .imageInfo{
    float: right;
    width: 48%;
}
.singleStamp .infoRow p{
    margin: 0;
}
.singleStamp .infoRow.red{
    color: #C1272D;
}
.singleStamp .infoRow.title{
    margin: 10px 0 0;
}
.singleStamp .infoRow.titleCounter{
    margin: 0 0 10px;
}
.stampNav{
    margin-top: 40px;
}
.stampNav .prev{
    float: left;
    position: relative;
}
.stampNav .prev span{
    display: block;
    padding-left: 30px;
}
.stampNav .prev i{
    position: absolute;
    top: -2px;
}
.stampNav .next{
    float: right;
    position: relative;
}
.stampNav .next span{
    display: block;
    padding-right: 30px;
}
.stampNav .next i{
    position: absolute;
    right: 0;
    top: -2px;
}
/* Lightbox
--------------------*/
#lightbox{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    display: none;
    color: #ffffff;
    overflow: auto;
}
#lightbox .imageWrapper{
    text-align: center;
}
#lightbox .closeLightbox{
    color: #ffffff;
    cursor: pointer;
    font-size: 48px;
    position: absolute;
    right: 2.5%;
    top: 2.5%;
}
#lightbox .inside{
    position: relative;
    width: 90%;
    height: 90%;
    margin: 5%;
}
#lightbox .inside.attachment{
    text-align: center;
}
#lightbox .lightboxCaption{
    color: #ffffff;
    margin-top: 20px;
}
#lightbox .repLink{
    color: #C1272D;
    margin-top: 20px;
    font-weight: bold;
    display: block;
}
#lightbox .repLink:hover{
    color: #ffffff;
}

/* Page Footer
-------------------------------------------------------------- */
#pageFooter{
    padding: 25px 0;
}
#pageFooter.sidebar .footer{
    width: 65%;
}
#pageFooter .footer{
    background: url(img/footer.png) center top no-repeat;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #666666;
}
#pageFooter a{
    color: #C1272D;
}
#pageFooter a:hover{
    color: #666666;
}
.developedBy{
    margin-top: 20px;
}
.developedBy img{
    width: 100px;
}
.developedBy a{
    opacity: 0.4;
}
.developedBy a:hover{
    opacity: 1; 
}
.cli-plugin-main-link,
.cli-plugin-button{
    border: none;
    padding: 0;
    background: none!important;
    color: #C1272D;
    text-shadow: none!important;
    font-weight: bold;
}
.cli-plugin-main-link:hover,
.cli-plugin-button:hover{
    color: #000000!important;
}
.counter{
    color: #C1272D;
}

/* RESPONSIVE
*******************************************************************************/
@media only screen and (max-width: 1200px) {
    body, #page{min-width: inherit;}
    .centralWrapper{width: 1024px;}
}
@media only screen and (max-width: 1024px) {
    .centralWrapper{width: 96%;padding-left: 2%; padding-right: 2%;}
    #mainNav{display: none;}
    #mainNavMobile{display: block;}
    #main{margin-top: 100px;}
    .rightFixed{width: 307px;}
}
@media only screen and (max-width: 767px) {
    
}
@media only screen and (max-width: 479px) {
    
}