/*
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 : 4-ott-2016, 19.38.29
    Author     : Alberto
*/

/*!
 * Start Bootstrap - Scrolling Nav (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

:root {
    --global_font_family: 'Poppins', sans-serif;
    --titles_font_family: 'Poppins', sans-serif;

    /* palette */
    /*  --base-color: #00355A;*/
    --second-color: #F2E1C2;
    --third-color: #F2D785;
    --fourth-color: #F2B33D;
    --fifth-color: #E8A231;
    --sixth-color: #025373;
    --seventh-color: #5d5f8b;
    --eight-color: #8ecae6;
    --nineth-color: #219ebc;

    --base-color: #025373;

    /* buttons */
    --btn-warning-bg-color: var(--fifth-color);
    --btn-warning-hover-bg-color: var(--fourth-color);
    --btn-primary-bg-color: var(--base-color);
    --btn-primary-hover-bg-color: var(--sixth-color);
    --btn-default-bg-color: #ffffff;
    --btn-default-hover-bg-color: #eeeeee;

    /* links */
    --a-text-color: var(--fifth-color);
    --a-hover-text-color: var(--fourth-color);

    /* headings */
    --headings-text-color: var(--base-color);
}

body {
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-family: var(--global_font_family);
    /* text-align: justify;*/
}

html {
    width: 100%;

}

@media (min-width: 1200px) {
    nav#main-menu {
        margin-top: 0;
        padding-top: 26px;
        padding-bottom: 15px;
    }
}

@media (min-width: 767px) {
    .navbar {
        padding: 20px 0 0 0;
        -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
        transition: background .5s ease-in-out, padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
    }
}


/* TYPOGRAPHY */

h1 {
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

h2 {
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

h3 {
    /*margin-top: 0.2em;*/
    /*margin-bottom: 0.2em;*/
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

h4 {
    margin-top: 1.33em;
    margin-bottom: 1.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

h5 {
    margin-top: 1.67em;
    margin-bottom: 1.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

h6 {
    margin-top: 2.33em;
    margin-bottom: 2.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--titles_font_family);
    color: var(--headings-text-color);
}

.jumbotron {
    margin-bottom: 30px;
    /*padding-top: 80px;*/
}


.jumbotron h2 {
    color: var(--headings-text-color);
}

.jumbotron h1 {
    display: block;
    font-size: 2.3em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    /* margin-left: 2em;
     margin-right: 2em;*/
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1.12em;
    color: var(--headings-text-color);
}

a {
    color: var(--a-text-color); /*#c86c00;*/
    text-decoration: none;
    font-weight: 600;
}

a:focus {
    text-decoration: underline;
    color: var(--a-hover-text-color);
}

a:hover {
    text-decoration: underline;
    color: var(--a-hover-text-color);
}

a:active {
    color: var(--a-text-color);
}

.btn {
    border-radius: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 32px;
    padding-right: 32px;
    text-wrap: wrap;
}

.btn.btn-warning {
    background: var(--btn-warning-bg-color);
    border-color: var(--btn-warning-bg-color);
    text-shadow: none;
}

.btn.btn-warning:hover {
    background: var(--btn-warning-hover-bg-color);
    border-color: var(--btn-warning-hover-bg-color);
}

.btn.btn-primary {
    background: var(--btn-primary-bg-color);
    border-color: var(--btn-primary-bg-color);
    text-shadow: none;
}

.btn.btn-primary:hover {
    background: var(--btn-primary-hover-bg-color);
    border-color: var(--btn-primary-hover-bg-color);
}

.btn.btn-default {
    background: var(--btn-default-bg-color);
    border-color: var(--base-color);
    text-shadow: none;
    color: var(--base-color);
}

.btn.btn-default:hover {
    background: var(--btn-default-hover-bg-color);
    border-color: var(--base-color);
    color: var(--base-color);
}

.nav > li > a {
    position: relative;
    display: block;
}

@media (min-width: 768px) {
    .nav > li > a {
        padding: 0 10px;
    }
}

/*layout*/

#main-logo {
    max-width: 250px;
    width: 250px;
    position: absolute;
}


@media (max-width: 767px) {
    #main-logo {
        position: relative;
        max-width: 150px;
        width: 150px;
    }
}

#footer-logo {
    max-width: 250px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#gn-main-content {
    margin-top: 50px;
    margin-bottom: 50px;
}

#gn-page-title {
    color: var(--sixth-color);
    background-color: #ffffff;
}

#gn-page-title.jumbotron {
    padding-top: 30px;
    padding-bottom: 10px;
    margin: 0;
}

#gn-main-header {
    background: url("../images/bg_header.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gn-main-header.page-header-custom {
    background: url("../images/bg_header.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#gn-main-header .header {
    background-color: transparent;
    border: 0;
    height: auto;
    padding-top: 15px;
    padding-bottom: 30px;
}

#gn-main-header .header-disclaimer {
    color: #ffffff;
    padding: 15px;
    border-top: 1px solid var(--eight-color);
    border-bottom: 1px solid var(--eight-color);
}

#gn-main-header .header-banner {
    background: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    font-size: 14px;
    color: var(--fourth-color);
    padding: 5px;
    text-align: right;
}

@media (max-width: 767px) {
    #gn-main-header .header-banner {
        padding: 10px 0;
    }

    #gn-main-header .header-banner-adv {
        margin-top: 10px;
    }
}


@media (min-width: 768px) {
    #gn-main-header .gn-user-topbar-desktop {
        display: block !important;
    }

    #gn-main-header .gn-user-topbar-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #gn-main-header .gn-user-topbar-desktop {
        display: none !important;
    }

    #gn-main-header .gn-user-topbar-mobile {
        display: block !important;
    }
}

#gn-main-header .btn.btn-primary.gn-btn-assoc-type {
    color: var(--base-color);
    background-color: var(--eight-color);
    border-color: var(--eight-color);
    border-radius: 4px;
    font-weight: bold;
    padding: 10px;
/*    margin-bottom: 10px;*/
    height: 100%;
}

#gn-main-header .btn.btn-primary.gn-btn-assoc-type.gn-btn-assoc-type-active {
    background-color: var(--second-color);
    border-color: var(--second-color);
}

#gn-topbar {
    background: #8ECAE6;
    font-size: 14px;
    color: var(--base-color);
    padding: 5px;
    text-align: right;
    margin-bottom: 5px;
}


#gn-topbar a {
    color: var(--base-color);
    text-decoration: none;
}

#gn-topbar a:focus {
    text-decoration: underline;
    color: var(--base-color);
}

#gn-topbar a:hover {
    text-decoration: underline;
    color: var(--base-color);
}

#gn-topbar a:active {
    color: var(--base-color);
}

@media (min-width: 768px) {
    #gn-topbar .gn-user-topbar-desktop {
        display: block !important;
    }

    #gn-topbar .gn-user-topbar-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #gn-topbar {
        padding: 10px 0;
    }

    #gn-topbar .gn-user-topbar-desktop {
        display: none !important;
    }

    #gn-topbar .gn-user-topbar-mobile {
        display: block !important;
    }
}


#follow-container {
    color: white;
    text-align: right;
    margin-top: -120px;
    margin-right: 50px;
}

nav#main-menu {
    background: transparent;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin-bottom: 10px;
}

nav#main-menu .navbar-header, nav#main-menu .navbar-collapse {
    background: transparent;
    padding-bottom: 15px;
}

/*nav#main-menu .navbar-nav li a {
    line-height: 100px;
}*/

nav#main-menu .navbar-nav > li {
    border-right: 1px solid #ffffff;
}

nav#main-menu .navbar-nav > li:last-child {
    border-right: 0;
}

nav#main-menu .navbar-nav > li > a {
    /*color: var(--base-color);*/
    color: #ffffff;
    font-weight: normal;
}

nav#main-menu .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: var(--a-hover-text-color);
    background-color: transparent;
}

nav#main-menu .navbar-nav > li > a.important-link {
    color: #eb9316;
}

nav#main-menu .navbar-nav > li > a.important-link:hover, .navbar-inverse .navbar-nav > li > a.important-link:focus {
    color: #ef6a1c;
    background-color: transparent;
}

nav#main-menu .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.navbar-default .navbar-toggle {
    border: 0;
}

nav#main-menu .navbar-toggle:hover, nav#main-menu .navbar-toggle:focus {
    background-color: transparent;
}

nav#main-menu .navbar-toggle:hover .icon-bar, nav#main-menu .navbar-toggle:focus .icon-bar {
    background-color: #ffffff;
}

nav#main-menu .navbar-brand, nav#main-menu .navbar-nav > li > a {
    text-shadow: none;
}

@media (max-width: 797px) {
    nav#main-menu .navbar-nav > li {
        border-right: 0;
    }
}

#gn-main-header h1,
#gn-main-header h2,
#gn-main-header h3,
#gn-main-header h4,
#gn-main-header h5,
#gn-main-header h6,
#gn-main-header .jumbotron h1,
#gn-main-header .jumbotron h2 {
    color: #ffffff;
}

#gn-main-header .jumbotron {
    background: transparent;
    padding-top: 0;
    margin-bottom: 0;
}

@media (max-width: 390px) {
    #gn-main-header #main-title {
        min-height: 125px;
    }
}


#assoc-location {
    color: var(--fifth-color);
}

@media (max-width: 600px) {
    #assoc-location-container {
        min-width: 170px;
        display: inline-block;
    }
}


#logo-container-assoc {
    float: left;
    width: 50%;

}

#logo-container-assoc a {
    color: white;
    text-decoration: none;
}

#follow-container-assoc {
    color: white;
    float: right;
    position: relative;
    text-align: right;
    width: 50%;
}

#follow-container-assoc img {
    position: absolute;
    right: 0;
    top: 13px;
}

@media (max-width: 767px) {
    #gn-main-header .header {
        padding-top: 25px;
    }

    nav#main-menu .navbar-toggle {
        margin-right: 0;
    }

    .jumbotron h1 {
        margin-left: 0;
        margin-right: 0;
    }

    .jumbotron h2.site-claim-sub {
        margin-left: 0;
        margin-right: 0;
        font-weight: normal;
    }

    #follow-container {
        display: none;
    }

    #follow-container-assoc {
        display: none;
    }

    .assoc-list-row .assoc-share-icons-col {
        text-align: left !important;
    }
}

.footer {
    /*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/background_footer.jpg");
    background-position: center;
    background-repeat: repeat;
    background-size: cover;*/
    background-color: #025373;
}

.footer .text-footer {
    margin: 15px 0;
    text-align: center;
    color: white;
}

.footer .footer-mobile-logos img.img-responsive {
    margin: 0 auto;
    max-width: 250px;
}

.footer .footer-desktop-logos img.img-responsive {
    margin: 0 auto;
    max-width: 250px;
}

/* utils */
.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
    flex-grow: 1;
}

.top0 {
    margin-top: 0;
}

.top5 {
    margin-top: 5px;
}

.top7 {
    margin-top: 7px;
}

.top10 {
    margin-top: 10px;
}

.top15 {
    margin-top: 15px;
}

.top17 {
    margin-top: 17px;
}

.top30 {
    margin-top: 30px;
}

.break {
    /* Be VERY careful with this, breaks normal words wh_erever */
    word-break: break-all;
}

.truncate-450 {
    width: 450px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.associazioni-section, .associazioni-map-section, .news-section, .come-funziona-section, .registrati-section, .registrati-section-socio, .perche-registrarsi-section, .subheader-section {
    /* padding-top: 0.625em;
     padding-bottom: 2.5em;*/
    padding-top: 2em;
    padding-bottom: 4em;
}


.associazioni-section h2,
.associazioni-map-section h2,
.news-section h2,
.come-funziona-section h2,
.registrati-section h2,
.registrati-section-socio h2,
.perche-registrarsi-section h2,
.info-section h2 {
    font-size: 2.3em;
    margin-bottom: 1.3em;
}

.associazioni-section {
    height: 100%;
    background: #fff;
    /*padding-top: 4em;*/
}

.associazioni-map-section {
    height: 100%;
    background: #fff;
}

.subheader-section {
    padding-top: 2em;
    padding-bottom: 2em;
    color: var(--base-color);

    font-size: 18px;
    line-height: 30px;
}

@media (min-width: 768px) {
    .subheader-section .container {
        width: 40%;
    }
}

/* info section */
.info-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-radius: 16px;
    text-align: center;
    
    padding-top: 2em;
    padding-bottom: 2em;
    color: var(--base-color);

    /*font-size: 18px;
    line-height: 30px;*/
}


.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    justify-content: center;
    margin-top: 1.5em;
    margin-bottom: 2em;
}

@media (min-width: 576px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(2, 83, 115, 0.1);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(2, 83, 115, 0.2);
    border-color: rgba(2, 83, 115, 0.3);
}

.icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--base-color);
    background: rgba(2, 83, 115, 0.1);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.info-card:hover .icon {
    background: var(--base-color);
    color: #fff;
    transform: scale(1.1);
}

/*.info-card p {
    color: var(--base-color);
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}*/




.news-section {
    height: 100%;
    background: transparent;

    background: url("../images/bg_news-ed-eventi.jpg");
    background-position: center;
    background-repeat: repeat;
    background-size: cover;

    margin-bottom: 5px;
}

.news-section h2 {
   /* color: #fff;*/
}

.news-card {
    background: rgba(255, 255, 255, 1);
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.news-card h4 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;

    padding-top: 10px;
    font-size: 16px;
}

.news-card i.fa {
    color: var(--base-color)
}

@media (min-width: 600px) {
    .news-full-image, .assoc-full-image {
        float: left;
        margin-right: 20px;
        max-width: 400px;
    }
}

.come-funziona-section {
    height: 100%;
    background: #fff;
}

.registrati-section {
    height: 100%;
    color: #fff;

    background: url("../images/bg_registrazione_struttura.jpg");
    background-position: center;
    background-repeat: repeat;
    background-size: cover;

    margin-bottom: 5px;
}

.registrati-section h1,
.registrati-section h2,
.registrati-section h3,
.registrati-section h4,
.registrati-section h5,
.registrati-section h6 {
    color: #fff;
}

.registrati-section p {
    color: #fff;
}

.registrati-section .has-error .help-block,
.registrati-section .has-error .control-label,
.registrati-section .has-error .radio,
.registrati-section .has-error .checkbox,
.registrati-section .has-error .radio-inline,
.registrati-section .has-error .checkbox-inline,
.registrati-section .has-error.radio label,
.registrati-section .has-error.checkbox label,
.registrati-section .has-error.radio-inline label,
.registrati-section .has-error.checkbox-inline label {
    color: #ffa500;
}

.registrati-section .btn-warning {
    border-radius: 32px;
    text-shadow: none;
}

.registrati-vantaggi-section img {
    padding: 20px 0
}

.perche-registrarsi-section {
    height: 100%;
    background: #fff;
}

.registrati-section .registrati-col-user,
.registrati-section .registrati-col-assoc {
    padding: 30px 30px;
}

@media (min-width: 768px) {
    .registrati-section .registrati-col-user,
    .registrati-section .registrati-col-assoc {
        padding: 30px 60px;
    }

}

.registrati-section .registrati-col-assoc {
    border: 1px solid var(--fifth-color);
    border-radius: 10px;
}

.registrati-section.registrati-section-socio {
    background: url("../images/bg_registrazione_utente.jpg");
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
}

.img-registrati-socio-desktop.img-responsive,
.img-registrati-socio-mobile.img-responsive
{
    max-width: auto;
    max-height: 350px;
}


@media (min-width: 768px) {
    .img-registrati-associazione-desktop,
    .img-registrati-socio-desktop {
        display: block !important;
    }

    .img-registrati-associazione-mobile,
    .img-registrati-socio-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .img-registrati-associazione-desktop,
    .img-registrati-socio-desktop {
        display: none !important;
    }

    .img-registrati-associazione-mobile,
    .img-registrati-socio-mobile {
        display: block !important;
    }
}


/* owl carousel styles */


#owl-news .item, .news-grid .item {
    /*background: #42bdc2;*/
    padding: 10px 10px;
    margin: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: left;
    word-wrap: break-word;
}

#owl-news .item-body, .news-grid .item-body {
    height: 220px;
    margin-top: 20px;
}

#owl-news .item-title {
    height: 40px;
    margin-top: 20px;
}

#owl-news .item-title a, .news-grid .item-title a {
    color: var(--base-color);
}

.news-grid .item-title {
    /*height: 40px;*/
}

.news-grid .item-body {
    height: auto;
    margin-top: 15px;
}

.news-grid {
    margin-top: 20px;
}

#owl-example .item {
    /*background: #42bdc2;*/
    padding: 10px 10px;
    margin: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    word-wrap: break-word;
}

#owl-example .item-title {
    height: 40px;
    margin-top: 20px;
}

#owl-example .item-title a {
    color: var(--base-color);
}

#owl-example .owl-stage {
    margin-bottom: 20px;
}


/* descrizione con linea arancione */
.title-header {
    border-bottom: 1px solid var(--base-color);
}

.title-header h2 {
    margin-bottom: 0.3em;
}


/*Business Card Css */
.business-card {
    border: 1px solid #cccccc;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.profile-img {
    height: 100px;
    background: white;
}

.job {
    color: #666666;
    font-size: 17px;
}

.mail {
    font-size: 16px;

}

/* Servizi style*/

.card-base {
    margin-bottom: 15px;
}

.card-base > .card-icon {
    text-align: left;
    position: relative;
}

.imagecard {
    z-index: 2;
    display: block;
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    margin: 0 auto;
    color: white;
}

.card-base > .card-icon > .card-data {
    min-height: 250px !important;
    margin-top: -24px;
    background: #f8f8f8 none repeat scroll 0 0;
    border: 1px solid #cccccc;
    padding: 15px 15px 10px 15px;
    box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    min-height: 215px;
}

#widgetCardIcon {
    background: #bb7824 !important;
    font-size: 28px;
    line-height: 78px;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.band {
    background-color: #eeeeee;

}

/* thumbnails */

.news_big_thumb {
    width: 700px;
}

.news_medium_thumb {
    width: 336px;
}

.news_small_thumb {
    width: 170px;
}

.news_xsmall_thumb {
    width: 50px;
}

.fotogallery_small_thumb {
    width: 90px;
}

.paragrafo_thumb {
    width: 320px;
}

.partners_thumb {
    width: 125px;
}

/**/
.index_news_thumb {
    height: 150px;
}

.index_assoc_thumb {
    /* height: 200px;*/
    height: 100px;
}

.list_news_thumb {
    height: 250px;
}

.list_assoc_thumb {
    height: 250px;
}

.contact_thumb {
    width: 320px;
    height: 240px;
}

.miniatura_news_assoc {
    width: 335px;
    height: 251px;
}

/* come-funziona section*/

.come-funziona-section img {
    margin: 0 auto;
    padding: 0;
    max-height: 200px;
}

.come-funziona-section div[class^=col-] {
    padding-left: 50px;
    padding-right: 50px;
}

/* search assoc*/

#search-box {
    padding-bottom: 35px;
}

.btn-search-assoc {
    /*background: var(--base-color);
    border-color: var(--base-color);*/
    background: var(--base-color);
    border-color: var(--base-color);
    text-transform: uppercase;
    color: #ffffff;
}

.btn-search-assoc:hover, .btn-search-assoc:focus {
    /*background-color: var(--a-hover-text-color);
    border-color: var(--a-hover-text-color);*/
    background-color: var(--a-hover-text-color);
    border-color: var(--a-hover-text-color);
    color: #ffffff;
}

.btn-search-assoc:active, .btn-search-assoc.active {
    /*background-color: var(--a-hover-text-color);
    border-color: var(--a-hover-text-color);*/
    background-color: var(--a-hover-text-color);
    border-color: var(--a-hover-text-color);
    color: #ffffff;
}

.search-by-select {
    position: relative;
}

.search-by-select label {
    display: inline;
}

.search-by-select select {
    background: var(--base-color);
    color: white;
    height: 58px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    padding-left: 24px;

    /* remove default icon */
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    white-space: nowrap;
}

.search-by-select:after {
    content: '\f078';
    font: normal normal normal 17px/1 FontAwesome;
    color: #ffffff;
    right: 39px;
    top: 6px;
    height: 34px;
    padding: 15px 0px 0px 8px;
    position: absolute;
    pointer-events: none;
}

.search-assoc-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: auto;
    padding: 10px 20px 10px 55px !important;
}

.search-assoc-form input, .search-assoc-form .selectize-input, .search-assoc-form select {
    border: 1px solid var(--base-color);
    color: var(--base-color);
    margin-top: 15px;

    padding: 10px 20px 10px 55px;
    font-size: 16px;
    border-radius: 32px !important;
}

.search-assoc-form .selectize-control.multi .selectize-input.has-items {
    padding: 10px 20px 10px 45px;
    font-size: 16px;
}

.search-assoc-form .selectize-control.multi .selectize-input > div {
    margin: 0;
    padding: 0;
}

.search-assoc-form .btn {
    margin-top: 13px;
    padding: 10px 20px;
    font-size: 18px;
    min-width: 120px;
}

.search-assoc-form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--base-color);
    opacity: 1; /* Firefox */
}

.search-assoc-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--base-color);
}

.search-assoc-form ::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--base-color);
}

#search-box-global-search, #search-box-geo-search, #search-box-assoc-type-search {
    position: relative;
}

#search-box-global-search > i[class^="fa"],
#search-box-geo-search > i[class^="fa"],
#search-box-assoc-type-search > i[class^="fa"] {
    color: var(--base-color);
    position: absolute;
    display: inline-block;
    left: 40px;
    top: 50%;
    margin-top: -8px;
    z-index: 4;
    /*opacity: .5;
    -webkit-transition: opacity ease .2s;
    -moz-transition: opacity ease .2s;
    -ms-transition: opacity ease .2s;
    -o-transition: opacity ease .2s;
    transition: opacity ease .2s;*/
    font-size: 1.5em;
}

#search-box .selectize-control.plugin-remove_button [data-value] .remove {
    font-size: 23px;
    font-weight: bold;
}

/* assoc list row */
.assoc-list-row .featurette-heading a {
    color: var(--base-color);
}

.assoc-list-row .featurette-heading a:hover {
    color: var(--a-hover-text-color);
}

.assoc-list-row i {
    vertical-align: middle;
    text-align: center;
    min-width: 25px;
    font-size: 20px;
    /*color: #ffa500;*/
    color: var(--base-color);
}

.assoc-list-row .btn-send-assoc-request:hover, .assoc-list-row .btn-send-assoc-request:focus,
.assoc-list-row .btn-send-assoc-request:active, .assoc-list-row .btn-send-assoc-request.active {
    background-color: var(--a-hover-text-color);
    border-color: var(--a-hover-text-color);
    color: #ffffff;
}

.assoc-social-row {
    display: flex;
    flex-wrap: wrap;
}

.assoc-social-row > .col-lg-4 {
    /*flex: 1;*/
    width: auto;
}

.assoc-list-row .assoc-location-col,
.assoc-list-row .assoc-email-col,
.assoc-list-row .assoc-share-icons-col {
    margin-top: 10px;
}

.assoc-email-col {
    /* width: 15em;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap*/

}

.assoc-email-col a {
    color: var(--base-color);
    font-weight: normal;
}


a.assoc-read-more {
    font-style: italic;
    color: #000000;
}

.assoc-share-icons-col {
    text-align: left;
    margin-top: 10px;
}

.assoc-share-icons-col i {
    color: var(--base-color);
    vertical-align: baseline;
    font-size: 20px;
    min-width: 25px;
}

.assoc-title-col i {
    color: var(--base-color);
    vertical-align: baseline;
}


.assoc-share-icons-col a:hover,
.assoc-share-icons-col a:focus {
    text-decoration: none;
}


.assoc-validated-icon {
    font-size: 18px;
    vertical-align: middle;
}

/* assoc share row*/
.assoc-share-label {
    float: right;
    height: 32px;
    line-height: 32px;
    font-weight: bold;
    color: var(--base-color);
    padding-right: 10px;
    text-transform: uppercase;
}

/* send assoc request */

.send-assoc-request-container {
    max-width: 35em;
}

.send-assoc-request-container .btn-send-assoc-request {
    background: var(--base-color);
    text-transform: uppercase;
    border-color: var(--base-color);
    color: #ffffff;
    min-width: 15em;
}

/*  assoc login */

.assoc-login-container {
    margin-top: 50px;
    text-align: center;
}

.assoc-login-container .btn-assoc-login {
    background: var(--base-color);
    text-transform: uppercase;
    border-color: var(--base-color);
    color: #ffffff;
    min-width: 15em;
}

/* assoc info card */
table.table.assoc-info-data-table td {
    border: 0;
}

table.table.assoc-info-data-table td:first-child {
    color: var(--base-color);
    font-weight: bold;
    width: 6em;
    padding-right: 0;
    margin-right: 0;
}

/* empty section modal */
#emptySectionModal {

}

#emptySectionModal .grecaptcha-badge {
    /*visibility: hidden;*/
    bottom: -70px !important;
    left: 3px;
}

#emptySectionModal .gn-grecaptcha-text {
    font-size: 9px;
}

/* referente card */
h4.referente-name {
    margin-top: 0.5em;
}

/* service card */
h3.service-title {
    margin-top: 0.5em;
}

/* cookie settings */
.gn-cookies-settings-btn {
    background: transparent;
    border: 0;
    color: var(--a-text-color);
    font-weight: 600;
}

.gn-cookies-settings-btn:hover {
    color: var(--a-hover-text-color);
    text-decoration: underline;
}

/* paginazione */
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: var(--base-color);
    border-color: var(--base-color);
    border: 0;
}

.pagination > li > a, .pagination > li > span {
    color: var(--base-color);
    border: 0;
}

/* back to top */
#btn-back-to-top {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    position: fixed;
    z-index: 99999;
    bottom: 90px;
    right: 0;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px 10px;
    color: #fff;
}


.text-justify-xs {
    text-align: justify;
}

/*
 * Responsive text aligning
 * http://ohryan.ca/2014/08/14/set-responsive-text-alignment-bootstrap-3/
 */
.text-xs-left {
    text-align: left;
}

.text-xs-right {
    text-align: right;
}

.text-xs-center {
    text-align: center;
}

.text-xs-justify {
    text-align: justify;
}

@media (min-width: 576px) {
    .text-sm-left {
        text-align: left;
    }

    .text-sm-right {
        text-align: right;
    }

    .text-sm-center {
        text-align: center;
    }

    .text-sm-justify {
        text-align: justify;
    }
}

@media (min-width: 768px) {
    .text-md-left {
        text-align: left;
    }

    .text-md-right {
        text-align: right;
    }

    .text-md-center {
        text-align: center;
    }

    .text-md-justify {
        text-align: justify;
    }
}

@media (min-width: 992px ) {
    .text-lg-left {
        text-align: left;
    }

    .text-lg-right {
        text-align: right;
    }

    .text-lg-center {
        text-align: center;
    }

    .text-lg-justify {
        text-align: justify;
    }
}


/* table utils */
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}