/* ==========================================================================
   Summary menu
   ========================================================================== */

.summary {
    position: relative;
    width: 100%;
}

.map {
    margin-left: 0;
    transition: 0.5s;
}

.gmnoprint:last-of-type {
    /*left: 30px !important;*/
}

.gm-iv-address {
    /*position: absolute;*/
    /*left: 50px;*/
}

.summary-form {
    background-color: #f2f2f2;
    padding: 12px 18px;
}

.summary-form .form-group {
    margin-bottom: 15px;
}

.summary-form .form-control {
    background-color: #FFFFFF;
    border: 1px solid #999999;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    padding: 0 14px !important;
}

.direction-group {
    display: table;
    width: 100%;
}

.direction-group label, .direction-group input {
    display: table-cell;
}

.direction-group label {
    width: 38px;
}

.list-directions .form-inline {
    padding-left: 38px;
}

.direction-group label span {
    background-color: #002244;
    color: #FFFFFF;
    border-radius: 50%;
    padding: 4px 7px;
    line-height: 20px;
    font-size: 12px;
}

.summary-content {
    position: relative;
    height: calc(100% - 70px);
    overflow: hidden;
    font-size: 12px;
    /*font-size: 1.2rem;*/
    width: 100%;
}

.summary-scroll {
    height: 530px;
}

.summary-empty {
    padding: 0 18px;
}

.summary-list {
    padding: 0;
    list-style-type: none;
    position: relative;
    /*top: 0;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*right: -17px; !* hide scrollbar *!*/
    /*overflow-y: scroll;*/
    margin: 0;
}

.summary-item {
    position: relative;
    display: table;
    width: 100%;
    padding: 18px 18px 9px;
    cursor: pointer;
}

.summary-item.active {
    background-color: #f2f2f2;
    border-radius: 5px;
}

.summary-item:after {
    content: " ";
    position: absolute;
    width: calc(100% - 36px);
    height: 1px;
    background-color: #d6d6d6;
    left: 18px;
    top: 0;
}

.summary-item:first-of-type:after,
.summary-item.active + .summary-item:after,
.summary-item.active:after {
    background-color: transparent;
}

.summary-title {
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #e00034;
}

.summary-fb,
.summary-address,
.summary-phone,
.summary-email {
    font-size: 13px;
}

.summary-fb:before,
.summary-address:before,
.summary-phone:before,
.summary-email:before {
   /* display: inline-block;
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 15px;
    width: 20px;
    text-align: center;*/
}

.summary-address:before {
   /* content: '\f3c5';*/
}

.summary-phone:before {
    /*content: '\f095';*/
}

.summary-email:before {
    /*content: '\f1fa';*/
}

.summary-fb:before {
    /*font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    content: '\f39e';*/
}

/* ==============================
   Map
   ============================= */

.googlemap {
    width: 100%;
    height: 400px;
}

#pano .gm-fullscreen-control {
    top: 40px !important;
}

/* ==============================
   Forms
   ============================= */

input::-ms-clear {
    display: none;
}

.dbeasy #new-search {
    color: #e00034;
}

.big-checkbox + label {
    color: #0098db;
    /*font-size: 1.8rem;*/
    /*line-height: 1.8rem;*/
    font-weight: bold;
}

.big-checkbox + label a {
    color: #0098db;
    /*font-size: 2rem;*/
    font-weight: bold;
    text-decoration: none;
}

.dbeasy .big-checkbox + label,
.dbeasy .big-checkbox + label a {
    color: #e00034;
}

.btn-advanced-options:after,
.btn-search-options:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: " \f106";
}

.btn-advanced-options.collapsed:after,
.btn-search-options.collapsed:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: " \f107";
}

#home-search-options .container {
    border-top: 1px solid #0098db;
    background-color: #FFFFFF;
    padding: 14px 35px;
}

#list .search-options .row {
    padding: 25px 18px;
}

.search-options label {
    font-size: 1.3rem;
    line-height: 1.3rem;
    color: #002244;
    font-weight: normal;
}

/* ==============================
   Map Info Box
   ============================= */
div[class*="ibani"] > div {
    height: auto !important;
}

.info-box .tab-content {
    position: relative;
    padding: 18px;
}



.info-box .description {
    font-size: 18px;
    font-weight: bold;
    
    margin-right: 30px;
}

.info-box .description  {
    /*font-size: 18px;
    font-size: 1.8rem;
    line-height: 20px;
    line-height: 2rem;
    font-weight: bold;*/
}

.info-box .address {
    font-size: 14px;

    line-height: 16px;

}

.orari {
    margin-top: 38px !important;
}

.ico-img{
    margin-right: 10px;
}

.info-box .btn {
    width: 100%;
    border-radius: 5px;
   
}

.info-box .facebook_page,
.info-box .address,
.info-box .telefono,
.info-box .fax,
.info-box .email,
.info-box .hours-desc {
    font-size: 14px;
    line-height: 20px;
}

.info-box .hours-desc > div {
    padding-left: 30px;
}

.info-box .facebook_page:before,
.info-box .address:before,
.info-box .telefono:before,
.info-box .fax:before,
.info-box .email:before,
.info-box .hours-desc:before {
   /* position: relative;
    display: inline-block;
    width: 30px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 15px;
    text-align: center;*/
}

.info-box .hours-desc:before {
    position: absolute;
    top: 0;
    left: 15px;
}

.info-box .address:before {
    /*content: '\f3c5';*/
}

.info-box .telefono:before {
    /*content: '\f095';*/
}

.info-box .fax:before {
   /* content: '\f1ac';*/
}

.info-box .email:before {
    /*content: '\f1fa';*/
}

.info-box .facebook_page:before {
    /*font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    content: '\f39e';*/
}


.info-box .hours-desc:before {
    /*content: '\f017';*/
}

/*.facebook_page,*/
.email {
    font-weight: bold;
}

.telefono a {
    font-weight: bold;
}

.dbeasy .email {
    color: #e00034;
    font-weight: bold;
}

.btn-close-street-view,
.btn-close-scheda-completa,
.btn-close-tab {
    position: absolute;
    top: 10px;
    right: 18px;
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 20px;
    color: #e00034;
    z-index: 99;
}

.gm-style-iw + div {
    display: none;
}

.cta .cta_link {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 !important;
    z-index: 1000;
}

.selfbanking {
    position: relative;
    padding-left: 23px;
    font-size: 13px;
    color: #002244;
    font-weight: bold;
    margin-bottom: 5px;
}

.selfbanking:before {
    position: absolute;
    top: 0;
    left: 0;
    content: " ";
    background-image: url("../img/icons/icona_db_self_banking.png");
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
}

#list_selfbanking ul {
    list-style-type: none;
    padding: 0;
    font-size: 13px;
}

#list_selfbanking ul > li:before {
    content: "- ";
}

.indicazioni-links,
.indicazioni-links > a:link,
.indicazioni-links > a:active,
.indicazioni-links > a:visited {
    color: #666666;
}

.link-street-view {
    margin-top: 10px;
}

a.btn-open-scheda-completa {
    color: #002244;
}

.mobile-actions {
    display: none;
    margin-top: 10px;
}

.mobile-actions a {
    display: block;
    width: 100%;
    border: 1px solid #cccccc;
    color: #5e5e5e;
    padding: 11px 0;
    text-align: center;
    background-color: #ffffff;
}


/* ==============================
   info box icons
   ============================= */

.sb_scheda_completa ul {
    list-style-type: none;
    padding-left: 0;
}

.info-box-icon {
    padding-left: 23px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    margin-right: 10px;
    height: 25px;
    font-size: 13px;
}

.atm_prelievo {
    background-image: url('../img/icons/icona_atm.png');

}

.atm_versamento {
    background-image: url('../img/icons/icona_atm.png');
}

.parking {
    background-image: url('../img/icons/icona_parking.png');
}

.handicap {
    background-image: url('../img/icons/icona_handicap.png');
}

.cassette_sicurezza {
    background-image: url('../img/icons/icona_cassetta_sicurezza.png');
}

.cassa_continua {
    background-image: url('../img/icons/icona_cassa_continua.png');
}

/* ==============================
   indicazioni form
   ============================= */

.storelocator [type="radio"]:not(:checked) + label:before,
.storelocator [type="radio"]:checked + label:before {
    top: 0;
    width: 20px;
    height: 20px;
}

.storelocator [type="radio"]:not(:checked) + label::after,
.storelocator [type="radio"]:checked + label::after {
    top: 1px;
    left: 3px;
    line-height: 18px;
}

.storelocator [type="radio"]:not(:checked) + label,
.storelocator [type="radio"]:checked + label {
    padding-left: 25px;
    font-size: 13px;
    line-height: 20px;
    margin-right: 10px;
}

.storelocator [type="radio"]:not(:checked),
.storelocator [type="radio"]:checked {
    width: 0;
    height: 0;
}


.indicazioni-stradali .tab-content {
    padding-top: 18px;
}

.indicazioni-stradali-title {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: normal;
    color: #e00034;
    font-weight: bold !important;
    margin: 0 0 10px;
}

.btn-gps {
    width: 100%;
    position: relative;
    padding-left: 65px !important;
}

.btn-gps::before {
    content: " ";
    background: transparent url("../img/gps-icon.png") no-repeat top left;
    background-size: cover;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(0, -50%);
}

.with-line {
    width: 140px;
    border-bottom: 1px solid #999999;
    line-height: 0;
    margin: 20px auto;
}

.with-line span {
    font-size: 13px;
    background-color: #FFFFFF;
    color: #999999;
    padding: 0 13px;
}

.indicazioni-stradali label {
    font-size: 13px;
}

.indicazioni-stradali .form-control {
    border-radius: 5px;
    border: 1px solid #999999;
    height: 34px;
    line-height: 34px;
    font-size: 12px;
    margin: 8px 0 15px;
    padding: 0 8px;
}

/* ==============================
   Directions
   ============================= */

.directions-title {
    font-size: 15px;
    color: #e00034;
    font-weight: bold;
}

.directions-backlink {
    line-height: 23px;
}

#directions {
    padding: 0 18px;

    font-family: Arial, sans-serif;
    color: #002244;

    overflow-y: scroll;
    /*margin-right: -17px;*/
    position: relative;

}

#directions .adp b {
    /*bold text*/
    font-weight: bold;
}

#directions .adp table {
    font-family: Arial, sans-serif;
    font-size: 12px;
    background-color: #ffffff;
    margin: 0;
    border: 0;
    width: 100%;
}

#directions .adp-warnbox {
    /*warnings*/
    margin-top: 25px;
}

#directions .adp-placemark {
    /*table contains start/end point*/
    background-color: #ffffff;
    margin: 0;
    border: 0;
}

#directions .adp-placemark td:first-of-type {
    width: 42px;
}

/*#directions .adp-placemark .adp-text {*/
#directions .adp-text {
    /* start/end point text*/
    background-color: #ffffff;
    margin: 0;
    font-weight: bold;

    padding: 20px 13px;

}

#directions .adp-marker {
    /*start/end marker*/
    display: none;
    width: 24px;
    height: 35px;
    margin-right: 10px;
}

#directions .adp-summary {
    /*summary*/
    position: absolute;
    top: 5px;
    right: 18px;
    font-size: 10px;
}

#directions .adp-directions {
    /*directions table*/
}

#directions .adp-substep {
    /*row cell*/
    border-bottom: 1px solid #d6d6d6;
    padding: 13px 10px;
    color: #002244;
}

#directions .adp-directions tr > td:first-child {
    /*stepicon cell*/
    display: none;
}

#directions .adp-stepicon {
    /*row icon*/
    display: none;
}

#directions .adp-distance {
    /*distance*/
}

#directions .adp-legal {
    display: none;
}

/* ==============================
   Spinner
   ============================= */

#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
}

#overlay #loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {

    /* ==========================================================================
       Summary menu
       ========================================================================== */
    .summary {
        position: absolute;
        top: 0;
        left: 0;
        width: 30%;
        margin-left: -30%;
        height: 500px;
        background-color: #FFFFFF;
        z-index: 999;
        transition: 0.5s;
    }

    .summary-box {
        height: 500px;
        overflow: hidden;
    }

    .summary.open {
        margin-left: 0;
    }

    .map {
        margin-left: 0;
        transition: 0.5s;
    }

    .summary.open + .map {
        margin-left: 30%;
    }

    .summary-header p {
        margin-bottom: 0;
    }

    .summary-form {
        background-color: #f2f2f2;
        padding: 12px 18px;
    }

    .summary-form .form-group {
        margin-bottom: 15px;
    }

    .summary-form .form-control {
        background-color: #FFFFFF;
        border: 1px solid #999999;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        padding: 0 14px;
    }

    .direction-group {
        display: table;
        width: 100%;
    }

    .direction-group label, .direction-group input {
        display: table-cell;
    }

    .direction-group label {
        width: 38px;
    }

    .list-directions .form-inline {
        padding-left: 0;
    }

    .direction-group label span {
        background-color: #002244;
        color: #FFFFFF;
        border-radius: 50%;
        padding: 4px 7px;
        line-height: 20px;
        font-size: 12px;
    }

    .summary-content {
        position: relative;
        height: 500px;
        overflow: hidden;
        font-size: 12px;
        width: 100%;
    }

    .summary-scroll {
        height: 530px;
    }

    .summary-empty {
        padding: 0 18px;
    }

    .summary-list {
        padding: 0;
        list-style-type: none;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        /*right: -17px; !* hide scrollbar *!*/
        right: 0;
        overflow-y: auto;
        margin: 0;
    }

    .summary-item {
        position: relative;
        display: table;
        width: 100%;
        padding: 18px 18px 9px;
        cursor: pointer;
    }

    .summary-item.active {
        background-color: #f2f2f2;
        border-radius: 5px;
    }

    .summary-item:after {
        content: " ";
        position: absolute;
        width: calc(100% - 36px);
        height: 1px;
        background-color: #d6d6d6;
        left: 18px;
        top: 0;
    }

    .summary-item:first-of-type:after,
    .summary-item.active + .summary-item:after,
    .summary-item.active:after {
        background-color: transparent;
    }

    .summary-title {
        font-family: Arial, sans-serif;
        font-weight: bold;
    }

    .summary-hour {
        margin-top: 27px;
        color: #b0b0b0;
        color: rgba(0, 0, 0, 0.6);
    }

    .summary-item.active .summary-hour {
        color: #002244;
    }

    .summary-hour.closed {
        color: #ff9eae;
        color: rgba(255, 0, 52, 0.6);
    }

    /* ==============================
       Map info box
       ============================= */
    .info-box {
        width: 400px;
    }

    .cta {
        margin: 20px -15px;
    }

    .cta .cta_link {
        position: relative;
        border-radius: inherit;
    }

    div[class*="ibani"] > div {
        height: auto !important;
    }

    .nav-tabs {
        width: 100%;
    }

    .nav-tabs > li {
        width: 33.33%;
        height: 40px;
        background-color: #e5e9ec;
        text-align: center;
        border: 0;
        cursor: pointer;
    }

    .nav-tabs > li:after {
        content: " ";
        position: absolute;
        background-color: #fcfcfc;
        width: 1px;
        height: 32px;
        top: 4px;
        right: 0;
    }

    .nav-tabs > li:last-of-type:after {
        width: 0;
    }

    .nav-tabs > li > a {
        margin-right: 0;
        border: 0;
        border-radius: 0;
        padding: 0;
        height: 100%;
    }

    .nav-tabs > li > span {
        position: absolute;
        width: 100%;
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
        color: #0098db;
    }

    .nav-tabs > li.active,
    .nav-tabs > li.active,
    .nav-tabs > li.active {
        background-color: #fff;
    }

    .nav-tabs > li.active > span,
    .nav-tabs > li.active > span:hover,
    .nav-tabs > li.active > span:focus {
        color: #002244;
        cursor: default;
        background-color: #fff;
        border: 0;
        font-weight: bold;
    }

    /* ==============================
       Map
       ============================= */
    .googlemap {
        height: 500px;
    }

}

