@font-face {
    font-family: 'LatoRegular';
    src: url('../css/font/Lato-Regular.ttf');
}
@font-face {
    font-family: 'LatoBold';
    src: url('../css/font/Lato-Bold.ttf');
}
@font-face {
    font-family: 'LatoBoldItalic';
    src: url('../css/font/Lato-BoldItalic.ttf');
}
@font-face {
    font-family: 'LatoItalic';
    src: url('../css/font/Lato-Italic.ttf');
}
@font-face {
    font-family: 'MontserratMedium';
    src: url('../css/font/Montserrat-Medium.ttf');
}
@font-face {
    font-family: 'MontserratRegular';
    src: url('../css/font/Montserrat-Regular.ttf');
}
@font-face {
    font-family: 'MontserratSemiBold';
    src: url('../css/font/Montserrat-SemiBold.ttf');
}
@font-face {
    font-family: 'MontserratBold';
    src: url('../css/font/Montserrat-Bold.ttf');
}

.elementHover:hover {
    background-color: #dfe0e3;
}

#footer-content {
    height: 100%;
}

.inline {
    display: inline-block !important;
    font-size: 10pt;
    text-align: center;
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding: 0px !important;
    height: 100%;
    width: 20%;
    white-space: nowrap;
}

.inline.big
{
    width: auto;
}

.rowdiv {
    height: 50%;
}

.image img {
    height: 100%;
}

.testo {
    color: white;
    font-weight: bold;
}

@media screen and (orientation:portrait) {
    #footer {
        border-bottom: 1px solid black;
        border-right: 1px solid black !important;
        border-left: 1px solid black !important;
        border-top: 1px solid black !important;
        background-color: #C41228;
        height: 47px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }


    @media screen and (max-height:480px) {
        #footer {
        height: 42px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
@media screen and (min-height:481px) and (max-height:570px) {
    #footer {
        height: 47px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
@media screen and (min-height:571px) and (max-height:640px) {
    #footer {
        height: 57px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
@media screen and (min-height:641px) and (max-height:753px) {
    #footer {
        height: 67px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
@media screen and (min-height:753px) and (max-height:960px) {
    #footer {
        height: 77px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
@media screen and (min-height:961px) and (max-height:1024px) {
    #footer {
        height: 87px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
@media screen and (min-height:1025px) and (max-height:1280px) {
    #footer {
        height: 97px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
    .image img {
        height: 120%;
    }
    .testo {
        font-size: 16pt;
    }
}
}

@media screen and (orientation:landscape) {
    #footer {
        border-bottom: 1px solid black;
        border-right: 1px solid black !important;
        border-left: 1px solid black !important;
        border-top: 1px solid black !important;
        background-color: #C41228;
        height: 47px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        left: 0px;
    }
}
/*
@font-face {
    font-family: 'LatoRegular';
    src: url('../css/font/Lato-Regular.ttf');
}
@font-face {
    font-family: 'LatoBold';
    src: url('../css/font/Lato-Bold.ttf');
}
@font-face {
    font-family: 'LatoBoldItalic';
    src: url('../css/font/Lato-BoldItalic.ttf');
}
@font-face {
    font-family: 'LatoItalic';
    src: url('../css/font/Lato-Italic.ttf');
}
@font-face {
    font-family: 'MontserratMedium';
    src: url('../css/font/Montserrat-Medium.ttf');
}
@font-face {
    font-family: 'MontserratRegular';
    src: url('../css/font/Montserrat-Regular.ttf');
}
@font-face {
    font-family: 'MontserratSemiBold';
    src: url('../css/font/Montserrat-SemiBold.ttf');
}
@font-face {
    font-family: 'MontserratBold';
    src: url('../css/font/Montserrat-Bold.ttf');
}

.elementHover:hover {
    background-color: #dfe0e3;
}

#footer-content {
    height: 100%;
}
#footer {
            border-bottom: 1px solid black;
            border-right: 1px solid black !important;
            border-left: 1px solid black !important;
    background-image: url("../img/sfondi/logoviaggiatreno_footer.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center; 
    background-color: #a7a7a7;
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
}
.inline {
    display: inline-block !important;
    font-size: 10pt;
    text-align: center;
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding: 0px !important;
    height: 100%;
    width: 20%;
    white-space: nowrap;
}

.inline.big
{
    width: auto;
}

.rowdiv {
    height: 50%;
}

.image img {
    height: 100%;
}

.testo {
    color: white;
    font-weight: bold;
}

@media screen and (orientation:portrait) {
    #footer {
        height: 50px;
    }


    @media screen and (max-height:480px) {
        #footer {
            height: 45px;
        }
    }
    @media screen and (min-height:481px) and (max-height:570px) {
        #footer {
            height: 50px;
        }
    }
    @media screen and (min-height:571px) and (max-height:640px) {
        #footer {
            height: 60px;
        }
    }
    @media screen and (min-height:641px) and (max-height:753px) {
        #footer {
            height: 70px;
        }
    }
    @media screen and (min-height:753px) and (max-height:960px) {
        #footer {
            height: 80px;
        }
    }
    @media screen and (min-height:961px) and (max-height:1024px) {
        #footer {
            height: 90px;
        }
    }
    @media screen and (min-height:1025px) and (max-height:1280px) {
        #footer {
            height: 100px;
        }
        .image img {
            height: 120%;
        }
        .testo {
            font-size: 16pt;
        }
    }
}

@media screen and (orientation:landscape) {
    #footer {
        height: 50px;
    }
}*/