/* #COVERS
================================================== */
/*.flickity-prev-next-button.previous,
.flickity-prev-next-button{
    padding: 0px;
    display: none;
}*/

/*.flickity-page-dots,*/
[data-model="cover-dots"]
{
    bottom: 24px;
    display: block!important;
    width: auto;
    top: auto;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: auto;
    bottom: auto;
    z-index: 20;
}

/*.flickity-page-dots .dot,*/
[data-model="cover-dots"] > li{
    position: relative;
    margin: 12px 0px;

    width: 12px;
    height: 12px;
    display: block;
    background: #fff;
    background: rgba(255,255,255,0.5);
    box-shadow: 0px 0px 2px #2c2c2c;
    opacity: 1;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    -ms-border-radius: 2em;
    border-radius: 2em;
    cursor: pointer;
}


/*.flickity-page-dots .dot.is-selected,*/
[data-model="cover-dots"] > li.active{
    background: #e22538;

}

.row.cover{
    min-width: 100vw;
    height: 100vh;
    min-height: 320px;
    top: 0px;
    /* position: relative; */
    /* margin-top: -160px; */
}

.row.cover button.more{
    bottom: 160px;

}

.row.reset-cover{
    height: 0px;
    min-height: 0px;
}

[data-model="covers"]{
    position: absolute!important;
    width: 100%;
    left: 0;
    margin-left: 0;
    top: 0px;
    bottom: 0px;
    /* min-height: 400px; */
    /* overflow: hidden; */
    z-index: 0;
    left: 0;
    right: 0;
    min-width: 980px;
}

[data-model="covers"] .mask{
    position: relative;
    width: 100%;
    height: 100%;
}

[data-model="covers"] li,
[data-model="covers"]{
    list-style: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

[data-model="covers"]{
    position: absolute;
    width: 100vw;
    height: auto;
    display: block;
    left: 0;
    margin: 0;
    padding: 0;
    min-width: 100vw;
    border: 0;
    outline: 0;
    bottom: 1px;
    top: 0px;
    -webkit-transition: margin 0.2s ease;
    -moz-transition: margin 0.2s ease;
    -ms-transition: margin 0.2s ease;
    -o-transition: margin 0.2s ease;
    transition: margin 0.2s;
    cursor: url("//www.google.com/intl/en_ALL/mapfiles/openhand.cur") 4 4, move;
    bottom: 0;
}

[data-model="covers"].dragging {
    -webkit-transition: margin 0s ease;
    -moz-transition: margin 0s ease;
    -ms-transition: margin 0s ease;
    -o-transition: margin 0s ease;
    transition: margin 0s;
    cursor: url("//www.google.com/intl/en_ALL/mapfiles/closedhand.cur") 4 4, move;
}


[data-model="covers"] li{
    top: 0;
    height: 100%;
    /* overflow: hidden; */
    z-index: 2;
    display: block;
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    float: left;
    background: transparent url('../../images/mangiarotti/preloader.gif') 50% 40% no-repeat;
}

[data-model="covers"] li > .cover-image{
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: auto;
    bottom: 0px;
    background-position: 50% 50%;
    border-bottom: 1px solid #e8e8e8;
}

[data-model="covers"] li > .cover-image > img{
    display: none;
}


.row.content-wrapper{
    margin-top: 144px;
}

[data-model="covers"] .slide{
    position: absolute;
    z-index: 2;
    width: 36%;
    max-width: 36vw;
    margin: 0px auto;
    /* display: table; */
    height: auto;
    text-align: right;
    bottom: 32%;
    position: absolute;
    left: 50vw;
    margin-left: 32px;
    bottom: 33vh;
}

[data-model="covers"] .slide.center{
    width: 100%;
    left: auto;
    max-width: 100%;
    text-align: center;
    display: block;
    margin-top: 0px;
    /*top: 240px;*/
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: 0px;
}

[data-model="covers"] .slide.left{
    left: auto;
    /* position: absolute; */
    margin-left: 10%;
    text-align: center;
    bottom: 32vh;
}

[data-model="covers"] .slide.center article{
    text-align: center;
    padding-bottom: 0px;
}

[data-model="covers"] .slide .content{
    width: 100%;
    vertical-align: middle;
    text-align: left;
    height: auto;
    vertical-align: bottom;
    position: relative;
}

[data-model="covers"] .slide .content > h1,
[data-model="covers"] .slide .content > h2{
    margin-bottom: 0;
    font-size: 6rem;
    letter-spacing: 0px;
    line-height: 1em;
    /*text-shadow: 0px 1px 8px rgba(0, 0, 0, 0.35);*/
    /* font-size: 5vw; */
}

[data-model="covers"] .slide .content > h2{
    margin-bottom: 0;
    /*text-shadow: 0px 1px 8px rgba(0, 0, 0, 0.35);*/
}

[data-model="covers"] .slide .content > p{
    margin-bottom: 0px;

    padding-bottom: 32px;
    box-sizing: border-box;
    /* padding-top: 1vw; */
    font-size: 3.6rem;
    line-height: 1em;
    /*text-shadow: 0px 1px 8px rgba(0, 0, 0, 0.35);*/
}


[data-model="covers-wrapper"]{
    position: absolute;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

[data-model="cover-dots"]{
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 23px;
    /*min-width: 220px;*/
}

[data-model="cover-dots"] li{
    width: 12px;
    height: 12px;
    margin: 8px 0px;
    margin-left: 8px;
    margin-right: 8px;
    float: left;
}

[data-model="cover-dots"] li.hidden{
    visibility: hidden;
    pointer-events: none;
}

[data-model="cover-dots"] li.middle{
    margin-right: 120px;
}

/*
# SCROLLER ICON
*******************/


.mouse-icon{
    background: #fff;
    /* border: 0px solid; */
    /* border-radius: 0px; */
    bottom: 0;
    height: 62px;
    left: 50%;
    margin: 0;
    position: absolute;
    padding: 0;
    width: 100px;
    cursor: default;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    overflow: hidden;
    -webkit-border-radius: 3px 3px 0px 0px;
    -moz-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px;
    background: #fff url(../../images/icbook/downarrow.svg) 50% 70% no-repeat;
    background-size: 24px;
    z-index: 2;
    pointer-events: none;
}

.mouse-icon > span{
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    margin-top: 0px;
    font-size: 1.5rem;
    /* width: 300px; */
    text-align: center;
    /* left: 50%; */
    /* margin-left: -150px; */
    text-align: center;
    width: 100%;
}

.mouse-icon .wheel {
    -webkit-animation: 1.7s ease 0s normal none infinite magic-mouse-icon;
    -moz-animation: 1.7s ease 0s normal none infinite magic-mouse-icon;
    -o-animation: 1.7s ease 0s normal none infinite magic-mouse-icon;
    animation: 1.7s ease 0s normal none infinite magic-mouse-icon;
    border-radius: 50%;
    height: 12px;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6px;
    right: 0;
    width: 6px;
    display: none;
}

.mouse-icon.white{
    border-color: #ffffff;
}

.mouse-icon.gray{
    border-color: #444;
}

.mouse-icon.white .wheel {
    background-color: #ffffff;
}

.mouse-icon.gray .wheel {
    background-color: #444;
}

@-moz-keyframes magic-mouse-icon {
    0% {
        margin-top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        margin-top: 18px;
        opacity: 0;
    }
}
@-webkit-keyframes magic-mouse-icon {
    0% {
        margin-top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        margin-top: 18px;
        opacity: 0;
    }
}
@-o-keyframes magic-mouse-icon {
    0% {
        margin-top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        margin-top: 18px;
        opacity: 0;
    }
}
@keyframes magic-mouse-icon {
    0% {
        margin-top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        margin-top: 18px;
        opacity: 0;
    }
}


/* LAST MODIFIED OCTOBER 2015 */
[data-model="covers-wrapper"]{
    top: 0px;
    bottom: 0px;
    height: auto;
}

[data-model="covers"] li > .cover-image{
    background-position: 50% 0%;
}

/*[data-model="covers"] .slide.center{
    width: 80vw;
    left: 10vw;
}*/

[data-model="covers"] .slide.center .content > p{
    width: 80%;
    margin: 0px auto;
}