*:focus {
    outline: none;
}

*:hover {
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.container-fluid a {
    text-decoration: underline;
}

.container-fluid a:hover {
    text-decoration: none;
}

.no-margin {
    margin: 0;
}

.uppercase {
    text-transform: uppercase;
}

.no-padding {
    padding: 0;
}

.fancybox-slide--iframe .fancybox-content {
    /*width: 800px;
	height: 600px;*/
    max-width: 80%;
    max-height: 80%;
    margin: 0;
    padding: 15px;
}

#breadcrumbs {
    color: #fff;
    font-size: .7rem;
    margin: 0;
}

#breadcrumbs a {
    color: #fff;
}

.form-control {
    border-radius: 0;
}

#contactform {
    font-size: .8rem;
}

#contactform a {
    font-size: .8rem;
    color: #666666;
}

.sidebar {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .2)!important;
    background-color: #ffffff;
}

.sidebar ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.sidebar ul li a {
    display: block;
    border-bottom: 1px solid #dddddd;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600
}

.sidebar .menusx-children {
    margin-bottom: 1px solid #aaaaaa;
}

.sidebar .menusx-children li a {
    text-transform: initial;
    font-size: 13px;
}

.sidebar .menusx-children li a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    font-size: .6rem;
    margin-left: 6px;
    margin-right: 6px;
}

.single-news small.date {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px;
    color: #fff;
}

.wpml-ls-legacy-list-horizontal {
    border: 0px solid transparent;
    padding: 7px 0 !important;
    clear: both;
}

.wpml-ls-legacy-list-horizontal a {
    padding: 5px;
}


/* START TOOLTIP STYLES */

[tooltip] {
    position: relative;
    /* opinion 1 */
}


/* Applies to all tooltips */

[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    /* opinion 2 */
    font-size: .9em;
    /* opinion 3 */
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent;
    /* opinion 4 */
    z-index: 1001;
    /* absurdity 1 */
}

[tooltip]::after {
    content: attr(tooltip);
    /* magic! */
    /* most of the rest of this is opinion */
    font-family: Helvetica, sans-serif;
    text-align: center;
    /*
	Let the content set the size of the tooltips
	but this will also keep them from being obnoxious
	*/
    min-width: 3em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1ch 1.5ch;
    border-radius: .3ch;
    box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
    background: #333;
    color: #fff;
    z-index: 1000;
    /* absurdity 2 */
}


/* Make the tooltips respond to hover */

[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}


/* don't show empty tooltips */

[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}


/* FLOW: UP */

[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}


/* FLOW: DOWN */

[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}


/* FLOW: LEFT */

[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}


/* FLOW: RIGHT */

[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #333;
    right: calc(0em - 5px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(.5em, -50%);
}


/* KEYFRAMES */

@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}


/* FX All The Things */

[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

.contact-form {
    font-size: 17px;
}

.contact-form select {
    visibility: visible;
    width: 100%!important;
    margin: 10px 0 20px 0!important;
    border: 2px solid #EEECE4;
    display: block;
    padding: 8px;
    outline: 0 none;
    color: #666;
    background-color: #f6f2ed!important;
}

.contact-form textarea {
    width: 100%!important;
    margin: 10px 0 20px 0!important;
    border: 2px solid #EEECE4!important;
    display: block;
    padding: 8px;
    outline: 0 none;
    color: #666;
    background: #f6f2ed!important;
    height: 120px!important;
    text-transform: uppercase;
}

.contact-form input {
    width: 100%!important;
    margin: 10px 0 20px 0!important;
    border: 2px solid #EEECE4!important;
    display: block;
    padding: 8px;
    outline: 0 none;
    color: #666;
    background: -moz-linear-gradient(center top, #f6f2ed, #f6f2ed 1px, #f6f2ed 25px) repeat scroll 0 0 transparent;
    background: #f6f2ed!important;
}

.contact-form input[type="submit"] {
    background-color: #f6f2ed;
    border-color: #EEECE4;
    color: #F2EED6;
}

.div-contact-submit input[type="submit"] {
    font-size: 14px!important;
    font-weight: 600;
    display: block;
    text-decoration: none;
    cursor: pointer;
    margin: 0 auto;
    text-transform: uppercase;
    color: #C8C2A9;
    background-color: #fff;
    padding: 8px 30px;
    border-radius: 0px;
    margin-top: 30px;
    border: 2px solid #C8C2A9;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#cookieAccept {
    background-color: rgba(250, 250, 250, 0.9)!important;
    width: 100%!important;
    color: #999 !important;
    border: 0 !important;
    font-size: 11px !important;
}

#cookieAccept a {
    color: #999 !important;
    font-size: 11px !important;
}

#cookies_buttons {
    margin-top: 0 !important;
}

#eliminaTuttiCookie,
#accettoCookie {
    background: rgb(255, 255, 255) !important;
    padding: 6px 10px !important;
    border: 1px solid #ccc !important;
    margin-bottom: 0px !important;
    display: inline-block !important;
}

#cookie_access_form {
    width: 100%!important;
    padding: 5px 0 !important;
    background-color: #f2f2f2 !important;
}

#cookie_access_form a {
    font-size: 13px
}

.wpcf7-form hr {
    border-top: 1px solid #EEECE4;
}

.box-pagina:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .095);
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.box-pagina h3 {
    color: #a7cd39;
    font-size: 1.5rem;
    min-height: 115px;
}

.box-pagina small {
    font-size: 85%;
    font-weight: 400;
    line-height: 19px;
    min-height: 160px;
    display: block;
}

.box-pagina p {
    min-height: 48px;
}

.box-pagina a {
    text-decoration: none;
}

.box-pagina:hover img.primaria {
    background-color: rgba(0, 0, 0, 1);
    opacity: 0.5
}

.box-pagina:hover .separator {
    opacity: 0.3
}


/*.hero {
background-color: rgba(167, 17, 1, .85);
padding: 20px
}*/

.menu-social li {
    padding: 0 !important
}

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
    }
    60% {
        -webkit-transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.owl-carousel.owl-drag .owl-item {
    padding: 10px;
}

#owl-news h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.filter-btn {
    margin: 0 5px;
    background-color: #f2f2f2;
    border: 0;
}

.filter-btn:hover {
    opacity: 0.4
}

.google-map {
    min-height: 450px
}

.is-animated {
    animation: .6s zoom-in;
}

@keyframes zoom-in {
    0% {
        transform: scale(.1);
    }
    100% {
        transform: none;
    }
}

.date {
    background-color: #333;
    position: absolute;
    z-index: 1;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
}

.bounce {
    animation: bounce 1s infinite alternate;
    -webkit-animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

#page-home hr {
    max-width: 600px;
}

#page-home li {
    margin-bottom: .25rem;
}

#page-home .sp-button-default {
    padding: 0 2em;
    line-height: 2.5em;
    border-radius: 1.3em;
    border: 1px solid #cccccc;
    display: inline-block;
    text-decoration: none;
    text-transform: lowercase;
}

#page-home .sp-button-default:hover {
    background-color: #414141;
    color: #ffffff;
}

#owl-gallery a {
    color: #a7cd39;
    text-decoration: none;
    font-size: 20px;
}

.box-testimonanze {
    min-height: 180px;
    letter-spacing: .1px;
}