/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 1-apr-2015, 10.33.55
    Author     : Alkadia
*/
body{
    min-height: calc(100vh - 57px);
}

body > header{
    width: 100vw;
    background: rgba(255,255,255,0.8);
    border-bottom: 1px solid #E8E8E8;
    height: 57px;
}

body > header{
    background: rgba(0,0,0,1);
    border-bottom: 1px solid #333;
}

header .logo svg,
header.scrolled .logo svg{
    height: 80px;
    overflow: visible;
    margin-top: 0px;
}


nav.main{
    margin-top: 0px;
    width: 100%;
    margin: 0;
}


header.scrolled .logo,
header .logo{
    background-size: 66px;
    margin-top: 6px;
    left: 24px;
    margin-left: -16px;
    width: 100px;
    height: 60px;
    background-color: transparent;
    background-position: 52% 6px;
}

header #sheep-body path {
    stroke: #fff!important;
    stroke-width: 3px;
    fill: #000!important;
}

header #scritta{
    display: none;
}

header #baloon, header #baloon path {
    stroke: #fff!important;
}

.mobile-menu-toggler{
    height: 32px;
    margin-top: 12px;
    right: 24px;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 20em;
    width: 32px;
    background-color: transparent;
}


.mobile-menu-toggler label{
    position: absolute;
    right: 36px;
    font-size: 1.6rem;
    color: #fff;
}

.mobile-menu-toggler rect{
    fill: #fff;
}

nav.main.opened .mobile-menu-toggler{
    background-color: #ffda2c;
}

nav.main.opened{
    border-bottom: 1px solid #333;
    border-bottom: 1px solid #333;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
    overflow-y: auto;
}

nav.main.opene .mobile-menu-toggler rect{
    fill: #000;
}

.mobile-menu-toggler svg {
    margin-top: 0px;
    margin-left: -4px;
}

nav.main.opened .mobile-menu-toggler svg rect{
    fill: #fff;
}

body > header.scrolled{
    /* height: 64px; */
}

.row {
    width: 100vw;
    /* overflow: hidden; */
}

nav.main [data-type="menu"][data-level="0"] > li.root > a{
    text-align: center;
}

/*
# COVERS
**************************/
.mouse-icon{
    display: none;
}

[data-model="covers"] .slide{
    position: absolute;
    bottom: 0;
    width: 100%!important;
    max-width: 100%!important;
    margin-left: 0;
}

[data-model="covers"] .slide article{
    background-color: #fff;
    padding-top: 12px;
    color: #888!important;
    border-top: 0 solid #ddd;
    bottom: 0!important;
    padding-left: 18px;
    padding-right: 18px;
    min-height: 32px;
}

[data-model="covers"] .slide .content > h4,
[data-model="covers"] .slide .content > h1{
    font-size: 2.6rem;
    color: #0092F5;
    padding-bottom: 0.2em;
    text-align: center!important;
}

[data-model="covers"] .slide .content > p{
    font-size: 5vw;
    padding-bottom: 0px;
    line-height: 1.2em;
    text-align: center!important;
}

[data-model="covers"] .slide.right{
    padding-left: 0px;
    margin-left: 0px;
    max-width: 100%;
    left: auto;
    margin: 0;
    bottom: 0;
    text-align: center;
}

[data-model="covers"] .slide.right h1{
    padding-left: 0;
    padding-right: 0;
}

[data-model="covers"] .slide.right p{
    padding-left: 0;
    padding-right: 0;
}

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

[data-model="covers"] .slide.left{
    width: 100%!important;
    left: 0;
    margin: 0!important;
    bottom: 0px;
    max-width: 100%;
    position: absolute;
    text-align: center!important;
}

[data-model="covers"] .slide.left h1{
    padding-left: 0;
    padding-right: 0;
}

[data-model="covers"] .slide.left p{
    padding-left: 0;
    padding-right: 0;
}

/*
 # QUICK LINKS HP
 *************************/

[data-type="quicklinks-block"]{
    margin-top: 12px;
    padding-left: 0;
    padding-right: 0;
}

[data-type="quicklinks-block"] > li{
    width: 100vw;
    display: block;
    border-top: 1px solid #333;
    padding-bottom: 32px;
    padding-top: 32px;
    margin-bottom: 0px;
}

[data-type="quicklinks-block"] > li.first{
    border-top: none;

}

[data-type="quicklinks-block"] > li .btn-wrapper{
    margin-bottom: 24px;
}

[data-type="quicklinks-block"] > li .description{
    height: auto;
    margin-bottom: 24px;
    min-height: 1em;
}

[data-type="quicklinks-block"] > li button{
    height: 28px;
    /* font-size: 4vw; */
}

[data-type="quicklinks-block"] > li h1{
    font-size: 2.2rem;

}

[data-type="quicklinks-block"] > li .description{
    font-size: 1.6rem;

}



.row.quicklinks > .row-content > .general-title{
    width: 80%;
    margin: 12px auto;
}

.row.quicklinks > .row-content > .general-content{
    width: 80%;
    margin: 0px auto;
    font-size: 1.2em;
}
[data-model="covers"] .slide.left article h2,
[data-model="covers"] .slide.right article h2,
[data-model="covers"] .slide.center article h2{
    font-size: 10vw;
    color: #fff;
    text-align: center;
}

[data-model="covers"] .slide.center article{
    background-color: transparent;
}

/*
 # HEADLINE NEWS
 *************************/
.row.headlinenews > article{
    min-height: 220px;
}

.row .headlinenews-list{
    float: left;
    clear: both;
    min-height: 160px;
}

@media only screen and  (orientation: portrait){
    .row.headlinenews > article{
        min-height: 160px;
    }

    .row .headlinenews-list{
        /* min-height: 220px; */
    }
}


.row .headlinenews-list > li > h3,
.row .headlinenews-list > li > h4,
.row .headlinenews-list > li > h1,
.row .headlinenews-list > li > h2{
    font-size: 2.2rem;
    white-space: normal;
    text-align: left;
    width: 100%;
}

.headlinenews-list > li > div{
    font-size: 1.6rem;
    text-align: left;
    line-height: normal;
    padding-top: 12px;
}



.row.content.hp article > h1{
    color: #0092F5;
    /*font-size: 2.2rem;*/
}

.row.content.hp article > .content{
    font-size: 1.6rem;
}


/*
 # FOURSQUARE INTEGRATION
 *************************/
.row.foursquare #foursquare_map{
    height: 320px;
}

.row.foursquare article > h1{
    font-size: 2.2rem;
    margin-left: 0px;
    margin-top: 06px;
    /* width: 100vw; */
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    padding-top: 12px;
    left: 0;
    bottom: 0;
}


.row.foursquare article > p,
.row.foursquare article > h2{
    padding-left: 0px;
    padding-right: 0px;
}

.row.foursquare article > p{
    font-size: 1.6rem;
}

.row.foursquare article > h2{
    font-size: 2.2rem;
    margin-bottom: 0.3em;
}

/*
 # PAGE TOOLS
 *************************/
.pagetools-list{
    width: 100vw;
    display: block;
}

.pagetools-list > li{
    width: 100%!important;
    float: none;
    padding-top: 12px;
    height: auto;
    border-top: 1px solid #f0f0f0;
    display: block;
    min-height: 100px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.pagetools-list > li.first{
    border-top: none;
}

.pagetools-list > li > svg{
    top: auto;
    margin-top: 0px;
}

.pagetools-list > li h4{
    margin-top: 10px;
    font-size: 2.2rem;
    width: auto;
    margin-right: 36px;
    margin-left: 100px;
    margin-bottom: 0px;
}

.telephone-widget > h4{
    margin-top: 10px;
}

.newsletter-widget > h4{
    margin-top: 10px;
}

.pagetools-list > li p{
    font-size: 1.6rem;
    width: auto;
    margin-right: 36px;
    padding-top: 12px;
}

.download-links > li > a{
    font-size: 1.6rem;

}

.pagetools-list li form{
    width: auto;
    margin-right: 36px;
}

.pagetools-list li input[type="text"]{
    width: 100%;
    font-size: 1.6rem;
}

.pagetools-list p.telephon-number{
    padding-bottom: 0;
    margin-bottom: 0;
}

input[type="submit"].callback-btn{
    font-size: 1.4rem;
}

@media only screen and  (orientation: portrait){
    .callback-widget svg{
        margin-top: 6px!important;

    }
}


/*
 # FOOTER
 *************************/

.footer-menu{
    position: relative;
    float: left;
    margin-left: 32px;
    margin-right: 0;
    background-position: 0px 0px;
    background: transparent;
}

footer .socials{
    float: left;
    position: relative;
    right: auto;
}

footer [data-level="0"] > li, footer [data-level="1"] > li{
    margin-right: 6px;
}

footer [data-type="menu"] li > a{
    font-size: 1.6rem;
}

footer .socials {
    float: left;
    clear: both;
    margin-left: 32px;
}

.socials .separator{
    margin-top: 32px;
    display: none;
}

footer .socials ul{
    margin-top: 0px;
}

footer .data{
    float: left;
    width: 100%;
}

footer .footer-address{
    width: 100%;
}


/*
 # CONTENT
 *************************/
.content.internal .main > .content{
    font-size: 2rem;
}

.content.internal .right-menu{
    padding-right: 12px;
}

.content.internal > article{
    border-top: 1px solid #f0f0f0;
    display: block;
}

.section [data-level="1"] > li > a{
    font-size: 1.6rem;

}

.news-list > li .mask{
    border-radius: 20em;

    position: absolute;
    margin-top: 24px;
}

.news-list > li{
    padding-left: 0px;
}

.news-list > li h1{
    padding-top: 102px;

}

.content.internal .right-menu article{
    padding-left: 16px;

}

.content.internal .right-menu h3,
.content.internal .right-menu h1{
    margin-top: 64px;

    margin-left: 0px;
    margin-right: 12px;
    font-size: 2rem;
}

.content.internal .right-menu h4,
.content.internal .right-menu h2{
    margin-left: 32px;
    padding-left: 32px;
    font-size: 1.8rem;
}

.content.internal .right-menu .icon{
    right: 40px;

    margin-top: -26px;
}

.content.internal .right-menu div.content{
    font-size: 1.4rem;

    line-height: 1.8rem;
    margin-top: 18px;
}

nav.section{
    padding-left: 0px;
}

@media only screen and  (orientation: portrait){
    .content.internal > article .main{
        width: 100%;

        display: block;
    }
    .content.internal .right-menu{
        position: relative;

        width: 100vw;
        border-top: 1px solid #f0f0f0;
        /* margin-left: -32px; */
        /* margin-right: -32px; */

        padding-top: 32px;
        margin-top: 0;

        float: none;
        padding-right: 0;
        display: block;
    }

    .content.internal .right-menu svg{
        margin-top: 0px;

        margin-left: 24px;
    }

    nav.section > h4{
        margin-top: 8px;

        padding-left: 64px;
    }



    .section [data-level="0"] > li.active > a,
    .section [data-level="0"] > li > a.active{
        top: 24px;
        margin-left: 32px;
    }

    .section [data-level="1"]{
        padding-top: 72px;

    }

    .section [data-level="1"] > li{
        padding-left: 0px;

    }

    .section [data-level="1"] > li:first-child{
        border-top: 0px;

    }

    .section [data-level="1"] > li:last-child{
        border-bottom: 0px;

    }

    .content.internal .right-menu article{
        padding-left: 32px;

    }

    .content.internal .right-menu h3,
    .content.internal .right-menu h1{
        margin-top: 64px;

        margin-left: 0px;
    }

    .content.internal .right-menu h4,
    .content.internal .right-menu h2{
        margin-left: 32px;
        padding-left: 32px;
    }

    .content.internal .right-menu .icon{
        right: 30px;

        margin-top: 16px;
    }
    .section [data-level="1"] > li:hover > a:before,
    .section [data-level="1"] > li.active > a:before {
        left: 34px;
        right: auto;
    }
}



.section [data-level="1"] > li:hover > a:before,
.section [data-level="1"] > li.active > a:before {
    right: 12px;

}

.content.internal .main .content blockquote{
    margin-left: 16px;
    margin-right: 16px;
}


.pagetools-list li:nth-child(2) {
    width: 100%!important;
}

section.content.no-cover{
    margin-top: 40px;
    border-top: 0px;
}



.row .payoff-list {
    display: block;
}

.content.internal.no-cover.no-lastnews{
    margin-top: 58px;
}

.content.internal > article{
    border-top: 0 solid #f0f0f0;
}

.row .payoff-list > li {
    position: relative;
    display: none!important;
    left: 0;
    right: 0;
}

.row .payoff-list > li.active {
    display: block!important;
    position: relative;
}

.row .payoff-list > li > div {
    font-size: 2rem;
    line-height: 1em;
}

.row .payoff-list {
    padding-bottom: 24px;
}

.row .payoff-scroller:after, .row .payoff-list > li > div:after, .row .payoff-list > li:after {
    clear: both;
    position: relative;
    display: block;
    content: '';
}
