﻿/* BOX MAPPA */
#full-box-mappa {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    background: rgba(255, 255, 255, 1);
}

.grid-box-mappa {
    display: inline-block;
    width: 100%;
    min-height: 120px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.titolo-box-mappa h6 {
    display: inline-block;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
    color: #325658;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 1%;
    margin-right: 1%;
    padding: 0 2%;
    line-height: 24px;
    font-size: 1.53em; /* 20px */
    text-align: center;
}

.titolo-box-mappa h6:after {
    content: url("../images/baffo-nero-200.png");
    display: block;
    clear: both;
}

#box-mappa {
    width: 100%;
    height: 340px;
    background: url(/autolinee-locali/images/mappa-acqua.png) no-repeat;
    background-position: calc(50% + 150px) 50%;
    position: relative
}

#box-mappa-attrib-text {
    font-family: 'Open Sans MT', sans-serif;
    font-size: 11px;
    color:#000000;
    padding: 0 5px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5)
}
#box-mappa-attrib-text a {
    color: #000000;
}
#box-mappa-attrib-text a:hover {
    color: #000000;
    text-decoration:none
}
#box-mappa-attrib-text a:visited {
    color: #000000;
}

#box-mappa-attrib-wm {
    padding-left: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 30px;
}

/* Layout tablet portrait: da 481 px a 768 px. Eredita stili da: Layout mobile. */
@media only screen and (min-width: 481px ) {
    /* BOX MAPPA */
    #full-box-mappa {
        min-height: 240px;
    }

    .titolo-box-mappa h6 {
        font-size: 1.84em; /* 24px */
    }

    #box-mappa {
        height: 320px;
    }
}

/* Layout landscape: da 769 px a 1024 px max.  Eredita stili da: Layout mobile e Layout tablet portrait */
@media only screen and (min-width: 769px ) {

    /* BOX MAPPA */
    .titolo-box-mappa h6 {
        font-size: 2.15em; /* 28px */
    }

    #box-mappa {
        height: 340px;
        background-position: center center;
    }
}

/* Layout desktop: da 1025 px a superiori. Eredita stili da: Layout tablet landscape */
@media only screen and (min-width: 1025px ) {

    /* BOX MAPPA */
    .titolo-box-mappa h6 {
        font-size: 2.15em; /* 28px */
    }

    #box-mappa {
        height: 460px;
    }
}
