body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fa-3x {
    padding-top: 32px;
}


@media screen and (max-width: 375px){
    .navbar-nav > li > a{
        /*padding-top: 42px;*/
    }
}

@media screen and (max-width: 568px) {
    .navbar-default {
        min-height: 2em !important;
    }
    #navcol-1 {
        font-size: 2.8em !important;
    }
    .navbar-nav>li>a{
        padding-top: 18px !important;
        padding-bottom: 20px !important;
    }   
}


.DivContenitore{
    background-color:#e5e5e5;
    width:100%;
    margin-top:0;
}

.fotohome {
    margin-top:0;
    padding-top:0;
    background-image:url('/Images/home_sf_desktop.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    width:100%;
    /*background-position:right top;*/
    background-position:right;
    height:1200px;
}

.pagine{
    margin-top:0;
    padding-top:0;
    width:100%;
    height:1200px;
}

.MsgAvviso{
    position:absolute;
    top:2em;
    right:3em;
    text-align:right;
    color:white;
    margin-top:90px;
    font-size:1em;
    text-transform:uppercase;
}

.MsgAvvisoDesk{
    margin-left:3em;
    display:block;
}
.MsgAvvisoMobile{
}

.cta_home{
    margin-top:6em;
}


@media screen and (min-height: 1px) and (max-height: 700px) {
    .fotohome {
        /*background-position:right -250px center;*/
        /*background-position:-800px top;*/

        height:580px;
    }
}
@media screen and (min-height: 701px) and (max-height: 800px) {
    .fotohome {
        /*background-position:right -250px center;*/
        height:580px;
    }
}
@media screen and (min-height: 801px) and (max-height: 900px) {
    .fotohome {
        /*background-position:right -250px center;*/
        height:680px;
    }
}
@media screen and (min-height: 901px) and (max-height: 1000px) {
    .fotohome {
        /*background-position:right -250px center;*/
        height:780px;
    }
}
@media screen and (min-height: 1001px) and (max-height: 1100px) {
    .fotohome {
        /*background-position:right -250px center;*/
        height:880px;
    }
}
@media screen and (min-height: 1101px) and (max-height: 1200px) {
    .fotohome {
        /*background-position:right -250px center;*/
        height:980px;
    }
}




@media screen and (max-width: 600px) {
    /*MOBILE*/
    .fotohome {
        /*background-position:right -250px center;*/
        /*background-position:-800px top;*/
    }
/*}*/

/*@media screen and (min-width: 1121px) {*/
    body{
        font-size:32px;
    }
    .FontTextBox{
        font-size:32px !important;
    }
    #logo {
        width: 310px;
        margin-top: -20px;
        margin-left: -20px;
    }
    .fotohome {
        /*margin-top:80px;*/
        background-image:url('/Images/home_sf_mobile.jpg');
        background-position:-800px top;
    }
    .DivContenitore{
    }
    .MsgAvvisoDesk{
        display:none;
    }
    .MsgAvvisoMobile{
        display:block;
    }
    .cta_home{
        margin-top:10em;
    }
    .copyline{
        height:140px;
        font-size:0.8em;
    }
    .menu_footer{
        font-size:0.8em;
        color:white;
    }
    .menu_footer_spazio{
        margin:0 5px;
    }

}

@media screen and (min-width: 600px) {
    /*DESKTOP*/
    body{
        font-size:16px;
    }
    .FontTextBox{
        font-size:16px !important;
    }
    .navbar-header {
        float: none;
        height:120px;
    }

    .MsgAvvisoDesk{
        display:block;
    }
    .MsgAvvisoMobile{
        display:none;
    }
    #logo{
        width: 240px;
        margin-top: -20px;
        margin-left: -1px;
    }  
    .fotohome {
        margin-top:0;
    }

    .navbar-left,
    .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        font-size: 3em;
    }

    .navbar-nav > li {
        float: none;
        border-bottom-color: #fff;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        padding-bottom: 1px;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-right {
        display: none;
    }
    #navcol-1 {
        font-size: 1.8rem;
    }
    .collapse.in {
        display: block !important;
    }
    .premio_float1{
        float:left;
        width:45%
    }

    .premio_float2{
        float:right;
        width:55%;
        padding:0 20px;
        font-size:1em;
        line-height:1em;
        text-align:justify;
    }
    .cta_home{
        margin-top:16em;
    }
    .copyline{
        height:154px;
    }
    .menu_footer{
        color:white;
    }
    .menu_footer_spazio{
        color:#fab427;
        font-size:1em;
        margin:0 20px;
    }
}
