/*!
Theme Name: sfinge
Theme URI: http://underscores.me/
Author: Mr. APPs s.r.l.
Author URI: https://www.mr-apps.com/
Description: Themes for Sfinge s.r.l.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Sfinge
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

sfinge is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/*==================== VARIABLES ====================*/

:root {
    /*========== Colors ==========*/
    --background-color: #231202;
    --main-color: #DBA362;
    --white-color: #fff;
    --footer-color: #321902;
    --cf-background-color: #dda15e;
    --link-hover: #F6C184;

    /*========== Margins ==========*/
    --margin-150: 150px;
    --margin-100: 100px;
    --margin-80: 80px;
    --margin-50: 50px;

    /*========== Borders ==========*/
    --border-radius-cf: 10px;
    --border-radius-post: 30px;
}

/*==================== KEYFRAMES ====================*/

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*==================== GLOBAL ====================*/

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

html, body {
    font-family: 'Mohave', sans-serif;
    color: var(--white-color) !important;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 50px;
}

h3, h3, h4 {
    font-size: 34px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: 3px;
    font-weight: 400;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: 'Mohave', sans-serif;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: 'Mohave', sans-serif;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

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

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: 'Mohave', sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    /* padding: 0.35em 0.75em 0.625em; */
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: 'Mohave', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;

}

h1 {
    color: var(--white-color)
}

p {
    margin-bottom: 1.5em;
    color: var(--white-color);
    font-size: 20px;
}

p:last-child {
    margin-bottom: 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: 'Mohave', sans-serif;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: 'Mohave', sans-serif;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: var(--white-color);
}

hr {
    background-color: rgba(255,255,255,0.3);
    border: 0;
    height: 1px;
    margin-bottom: 50px;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

.nav-links {
    font-size: 18px;
    margin-top: 30px;
}

/* Links
--------------------------------------------- */
a {
    color: var(--main-color);
    transition: color 0.3s ease;
}

/*
a:visited {
    color: #800080;
}

a:hover,
a:focus,
a:active {
    color: #191970;
}

a:focus {
    outline: thin dotted;
}
*/
a:hover {
    color: var(--link-hover);
    transition: color 0.3s ease;
    outline: 0;
    text-decoration: none;
}

a:active {
    color: var(--white-color);
    outline: 0;
    text-decoration: none;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #fff;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

/* .post,
.page {
/*   margin: 0 0 1.5em;
 }*/


.updated:not(.published) {
    display: none;
}

.page-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.social-box {
    margin-top: 150px;
}

.entry-content a {
    color: var(--main-color) !important;
}

.entry-content:last-child p {
    margin-bottom: 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley, .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    width: 100px;
    height: auto;
    position: fixed;
    transition: width 0.3s ease;
}

.custom-logo-scrolled {
    position: fixed;
    width: 100px;
    transition: width 0.3s ease;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* CUSTOM */

/* Header
--------------------------------------------- */
.site-header {
    position: fixed;
    padding: 15px 0;
    z-index: 99999;
    width: 100%;
    top: 0;
    background-color: transparent;
    transition: all 0.3s ease-in;
}

.container-fluid.p-0 {
    align-items: flex-start;
}

#navbarSupportedContent {
    text-align: left;
}

.transparent-bg {
    transition: all 0.3s ease-in;
    padding: 15px 0;
    width: 100%;
    z-index: 999;
    animation: smoothScroll 1s forwards;
    background-color: black !important;
}

.row-align {
    align-items: center;
    margin: 0 !important;
}

.image-content-wrapper {
    position: relative;
    width: 100%;
    display: block;
    padding: 60px 0 60px;
}

.category-block-wrapper {
    position: relative;
    width: 100%;
    display: block;
    margin: 0 0 60px;
}

.cat-box {
    margin-bottom: 30px;
}

.cat-box-inner {
    position: relative;
    overflow: hidden;
}

.entry-title {
    color: var(--main-color);
    text-transform: uppercase;
    margin-bottom: 40px;
}

h1.entry-title {
    font-size: 34px;
}

.single-post-preview {
    width: 100%;
    display: flex;
    margin-bottom: 50px;
}

.single-posts-container {
    max-width: 750px;
    margin: 150px auto 0 auto;
}

.single_post_img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 30px;
    padding-bottom: 60%;
}

.post-thumbnail img {
    border-radius: 45.6px;
    margin-bottom: 30px;
}

.box-meta {
    position: absolute;
    z-index: 99;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
}

.content-slider-wrapper {
    margin: 0 auto 70px;
}

.content-icons-wrapper {
    padding: 60px 0 60px;
    text-align: center;
}

.content-icons-wrapper .row-align {
    justify-content: center;
}

.content-icons-wrapper .content-wrapper p {
    margin-bottom: 20px;
}

.content-icons-wrapper .content-wrapper h2 {
    margin-bottom: 30px;
}

.content-icons-wrapper .content-wrapper {
    max-width: 75%;
}

.content-icons-wrapper .icons-inner {
    margin: 30px auto;
}

.top-element {
    height: 550px;
    margin-top: 200px;
    margin-left: 30px;
}

.img_thumbnail::before {
    content: '';
    width: 100%;
    height: 550px;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
}

.top-image-container {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
}

.page-title-container {
    margin: 0 135px;
}

.page-title {
    margin-bottom: 0;
}

.main-navigation ul {
    float: right;
}

.menu-item {
    font-size: 19px !important;
    margin-right: 30px;
}

ul.dropdown-menu li {
    margin-bottom: 15px;
    text-align: center;
    margin-right: 0;
}

ul.dropdown-menu li.nav-item a:hover {
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--link-hover);
}

.navbar {
    background: none !important;
}

.nav-link {
    color: var(--white-color) !important;
    padding: 0;
}

.dropdown-item:focus, .dropdown-item:hover, .dropdown-item.active, .dropdown-item:active {
    background-color: transparent;
    font-size: 17px;
    font-weight: 500;
}

li.nav-item a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.nav-item:last-child {
    text-decoration: none;
}

.ul.dropdown-menu li:hover {
    text-decoration: none;
}

.active {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hamburger-icon {
    color: var(--white-color);
}

.bg-light {
    transition: 0.3s background-color;
}

.bg-light.scrolled {
    background-color: var(--background-color) !important;
}

.dropdown-toggle::after {
    display: none !important;
}

ul.dropdown-menu {
    padding: 30px 20px;
}

ul.dropdown-menu li {
    margin-bottom: 15px;
}

ul.dropdown-menu li:last-child {
    margin-bottom: 0;
}

ul.dropdown-menu li a {
    margin-bottom: 0;
}

ul.dropdown-menu.show {
    display: none !important;
}

.show > .menu-item {
    margin-right: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 20px;
}


/* Menu last item
--------------------------------------------- */

.menu-item li:last-child {
    margin-right: 0;
}

.btn-quote {
    margin-right: 0;
}

.menu-item:last-child {
    margin-right: 0;
}

.btn-quote a {
    color: var(--main-color) !important;
    transition: color 1s ease;
    margin-right: 0;
}

.btn-quote:hover a {
    color: var(--link-hover) !important;
}

.btn-quote a ::before {
    transition-duration: 0.5s;
    margin-right: 10px;
    content: '(';
}

.btn-quote a ::after {
    transition-duration: 0.5s;
    margin-left: 10px;
    content: ')';
}

.btn-quote:hover a ::before {
    transition-duration: 0.5s;
    margin-right: 5px;
    margin-left: 5px;
}

.btn-quote:hover a ::after {
    transition-duration: 0.5s;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-quote :hover {
    text-decoration: none !important;
}

a.dropdown-item {
    font-size: 17px;
    font-weight: 500;
    padding: 0;
}


/* Links
--------------------------------------------- */

.link-centered {
    text-align: center;
}

.link-right {
    text-align: right;
}

.link {
    font-size: 20px;
    font-weight: 500;
}

.link::before {
    transition-duration: 0.5s;
    margin-right: 10px;
    content: '(';
}

.link::after {
    transition-duration: 0.5s;
    margin-left: 10px;
    content: ')';
}

.link:hover::before {
    transition-duration: 0.5s;
    margin-right: 5px;
}

.sinistra:hover::before {
    transition-duration: 0.5s;
    margin-left: 5px;
}

.destra:hover::after {
    transition-duration: 0.5s;
    margin-right: 5px;
    margin-left: 5px;
}

.destra:hover::before {
    transition-duration: 0.5s;
    margin-right: 5px;
}

.link:hover::after {
    transition-duration: 0.5s;
    margin-left: 5px;
}

.content-container {
    margin: var(--margin-150);
}

/* Fancybox
--------------------------------------------- */

.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
    border-color: var(--main-color);
}

/* Blog
--------------------------------------------- */

.content-blog-wrapper {
    margin: 60px auto 70px;
}

.content-blog-wrapper .blog-row {
    margin-top: 50px;
}

.content-blog-wrapper .blog-box {
    margin: 0 auto 30px;
}

.content-blog-wrapper .blog-box h2 {
    margin-bottom: 30px;
}

.content-blog-wrapper .blog-box .date {
    margin-bottom: 10px;
}

span.previous_posts {
    float: right;
}

span.next_posts {
    float: left;
}

/* Block Center
--------------------------------------------- */
.centered-container {
    max-width: 750px;
    margin: var(--margin-150) 0;
}

h3.aos-init.aos-animate {
    color: var(--main-color);
}

.centered-title {
    margin-bottom: 0;
}

.centered-content {
    z-index: 99;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    margin: var(--margin-150) 0;
}

.centered-image {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cat-box-inner {
    height: 100%;
    background-size: cover;
    background-position: center;
}

#banner {
    text-align: center;
    color: white;
    display: grid;
    place-items: center;
    /* min-height: 500px; */
    background-attachment: fixed;
}

.centered-block-text {
    margin-bottom: 50px;
}

.centered-block-text:last-child {
    margin-bottom: 0;
}

/* Block Text + Image
--------------------------------------------- */

.blocco-immagine-testo .media-container {
    background-size: cover;
    background-position: center;
    min-height: 600px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.blocco-immagine-testo .media-container video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
}

.text_image {
    overflow: hidden;
}

@media screen and (max-width: 991px) {

    .navbar > .container-fluid {
        margin-bottom: 0;
    }

    button.navbar-toggler {
        padding: 20px;
        border: none;
        z-index: 999;
    }

    .ml-auto, .mx-auto {
        background-color: var(--background-color) !important;
    }

    .blocco-immagine-testo .media-container {
        min-height: 400px;
    }

    .blocco-immagine-testo .media-container.video {
        min-height: inherit;
    }

    .blocco-immagine-testo .media-container video {
        position: relative;
        width: 100vw;
        margin-bottom: -5px;
    }
}

@media screen and (min-width: 2000px) {
    .blocco-immagine-testo .media-container video {
        height: 120%;
    }
}

.blocco-immagine-testo .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white-color);
    height: 100%;
}

.blue_sg .blocco-immagine-testo .text-container {
    background: rgba(255, 255, 255, 0.14);
}

.blocco-immagine-testo .sinistra_size .text-container {
    align-items: end;
}

.blocco-immagine-testo .destra_size .text-container {
    align-items: start;
}

.img-align {
    text-align: right;
    padding-right: 0;
}

.media-vim {
    background-size: cover;
    background-position: center;
    min-height: inherit;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.media-vim video {
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
}

.mlr-custom {
    margin: var(--margin-150);
}

.mlr-custom p:last-child {
    margin-bottom: 0;
}

.text-container {
    margin-bottom: var(--margin-50);
}

@media screen and (min-width: 576px) {
    .blocco-immagine-testo .text-container .content-container {
        width: 540px;
        margin: 0 auto;
        padding: 40px 12px;
    }
}

@media screen and (min-width: 768px) {
    .blocco-immagine-testo .text-container .content-container {
        width: 720px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 992px) {
    .blocco-immagine-testo .sinistra_size .text-container .content-container {
        width: 415px;
        margin-right: 40px;
    }

    .blocco-immagine-testo .text-container .content-container {
        width: 415px;
        margin-left: 40px;
        padding: 0px;
    }

    .sinistra {
        order: 2;
    }

}

/* General
--------------------------------------------- */
h2, h3, h4, h5, h6 {
    color: var(--main-color);
    transition: color 0.3s ease;
}

.col-p-0 {
    padding: 0;
    height: auto;
}

/* Block Gallery & Products
--------------------------------------------- */

.container-products {
    overflow: hidden;
}

.product-link-container {
    width: 100%;
}

.gallery {
    display: grid;
    place-items: center;
}

.gallery-link {
    text-align: center;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 3px;
    position: absolute;
    color: var(--white-color);
    width: 100%;
    padding: 0 30px;
    line-height: 1.2;
    z-index: 99;
}

.gallery-row {
    margin: 0 -5px -10px;
}

.container-products {
    padding: 0;
}

.img-col {
    display: grid;
    place-items: center;
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.img-col-overlay:after {
    content: '';
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: opacity 0.3s ease;
}

.img-col-overlay:hover:after {
    opacity: 1;
}

.img-col-74 {
    padding-top: 74%;
}

.img-col-60 {
    padding-top: 60%;
    background-size: 100% auto;
    border-radius: var(--border-radius-post);
}

.img-col:hover {
    background-size: auto 110%;
}

.gp-padding {
    padding: 0 5px 10px 5px;
}

/* Block Accordion
--------------------------------------------- */

.header-text {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 4px;
    width: 100%;
    display: inline-block;
    line-height: 1.2;
    position: relative;
}

.accordion {
    color: white;
    font-size: 25px;
    background-color: transparent;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 0;
    outline: none;
    transition: 0.4s;
    padding: 0;
    position: relative;
}

button.accordion:hover {
    color: var(--main-color);
}

.top-text {
    display: grid;
    place-items: center;
    padding: 80px 5rem 80px 5rem;
    text-align: center;
    border-bottom: 1px solid var(--main-color);
}

.upper {
    text-transform: uppercase;
}

.accordion::after {
    content: '\f347';
    font-family: dashicons;
    font-size: 22px;
    color: var(--white-color);
    margin-top: 53px;
    position: absolute;
    right: var(--margin-150);
}

.accordion.active:after {
    content: '\f343';
    font-family: dashicons;
}

.accordion.active {
    color: var(--main-color) !important;
    text-decoration: none !important;

}

.bot-text {
    display: grid;
    place-items: center;
    padding: 80px 5rem 80px 5rem;
    text-align: center;
}

.accord-padding {
    padding-left: 0;
    padding-right: 0;
}

.accord-border-bottom {
    border-bottom: 0.5px solid var(--main-color);
}

.accord-border-top {
    border-top: 0.5px solid var(--main-color);
}

.owl-carousel .nav-button {
    height: 45px;
    width: 45px;
    border-radius: 50% !important;
    cursor: pointer;
    position: absolute;
    top: 28% !important;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
    pointer-events: none;
    opacity: 1;
}

.owl-carousel .owl-prev {
    left: -25px;
}

.owl-carousel .owl-next {
    right: -25px;
}

.owl-theme .owl-nav [class*=owl-] {
    color: var(--main-color) !important;
    background: white !important;
    border-radius: 3px;
    padding: 0px;
    line-height: 45px;
    font-size: 40px;
}

.owl-carousel .prev-carousel:hover {
    background-position: 0px -53px;
}

.owl-carousel .next-carousel:hover {
    background-position: -24px -53px;
}

.owl-stage-outer {
    margin-bottom: 100px;
}

.owl-theme .owl-nav {
    margin-top: 0;
    height: 0;
}

button:focus {
    outline: none !important;
    border: none !important;
}

.panel {
    background-color: transparent;
    display: none;
    overflow: hidden;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.3s;
}

.accordion_header {
    color: var(--main-color);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 4px;
}

.accordion_header_container {
    margin-bottom: 30px;
}

.accordion_text {
    margin-bottom: 50px;
}

.accordion_text:last-child p {
    margin-bottom: 0;
}

/* Block Posts
--------------------------------------------- */
.container-posts {
    padding: 0;
    overflow-x: hidden;
}

h2.last-posts-title {
    margin-bottom: 15px;
}

.post {
    margin: 0;
}

.post-mr {
    margin-bottom: 50px;
}

.post:hover .img-col-60 {
    background-size: 110% auto;
}

.post-img {
    border-radius: var(--border-radius-post);
}

h4.post-title {
    font-size: 26px;
    font-weight: 500;
}

.post-title {
    margin-bottom: 20px;
}

.date {
    margin-bottom: 10px;
}

.post-date-container {
    margin-bottom: 10px;
}

span.post-date {
    color: #aeaeae;
}

span.post-date + a {
    transition: color 0.3s ease;
    color: var(--white-color)
}

span.post-date + a:hover {
    color: var(--link-hover);
}

h4.post-title:hover {
    transition: color 0.3s ease;
    color: var(--link-hover);
}

.post-content {
    margin-left: 60px;
}

.news-img {
    width: 100%;
    height: 300px;
    background-image: url('/wp-content/themes/sfinge/images/placeholder_news_list.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    margin-bottom: 10px;
    border-radius: var(--border-radius-post);
}

h4.news-list-title {
    margin-bottom: 20px;
    color: var(--main-color);
}

/* 404
--------------------------------------------- */

.empty {
    margin: 350px auto;
    text-align: center;
}

/* Contact form
--------------------------------------------- */

.contact-form-sf {
    text-align: center;
}

.contact-form-sf h2 {
    margin-bottom: 40px;
}

.cf-container {
    margin: 0 15px 30px 15px;
    padding: 15px 15px 15px 20px;
    border-radius: 10px;
    background-color: rgba(219, 163, 98, 0.15);
    text-align: left;
    color: var(--white-color);
}

.cf-container-alone {
    margin: 0 15px 0 15px;
}

.cf-container label {
    opacity: 0.5;
    padding-left: 0;
}

.cf-input-container {
    padding: 0;
}

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea {
    background-color: transparent;
    border: none;
}

.wpcf7-form-control-wrap input {
    -webkit-appearance: none;
}

.wpcf7-form-control-wrap .wpcf7-acceptance input {
    -webkit-appearance: checkbox;
}

.wpcf7-form-control-wrap .wpcf7-acceptance .wpcf7-list-item-label::before {
    display: inherit;
}

.wpcf7-form-control-wrap input:hover, .wpcf7-form-control-wrap input:focus, .wpcf7-form-control-wrap textarea:focus {
    background-color: transparent;
    border: none;
}

.wpcf7-form-control-wrap ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
}

.wpcf7-form-control-wrap :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #fff;
}

.wpcf7-form-control-wrap ::-ms-input-placeholder { /* Microsoft Edge */
    color: #fff;
}

.wpcf7-form-control-wrap input:focus-visible, .wpcf7-form-control-wrap input:focus, .wpcf7-form-control-wrap textarea:focus {
    outline: none !important;
    color: #fff;
    box-shadow: none;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #fff;
}

.form-control:focus {
    box-shadow: none;
    color: #fff;
}

.form-control {
    color: #fff;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    border: none;
    background-color: transparent;
    color: var(--main-color);
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}

input[type="submit"] {
    padding-right: 0;
    padding-left: 0;
}

.cf7-link {
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color);
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7-acceptance > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

/* Multistep Form
--------------------------------------------- */

.cf7-row {
    margin-bottom: 30px;
}

.col-cf7 {
    width: 20%;
    padding: 0 5px;
    position: relative;
}

a.cf7-imm {
    position: relative;
    display: block;
}

.col-cf7 img {
    border-radius: 8px;
    margin-bottom: 15px;
}

.cf7-row-3 {
    padding-right: 10px;
    padding-left: 10px;
}

.col-cf7-large {
    width: 33%;
    padding: 0 5px;
}

.cf7-img-container img {
    width: 100%;
    border-radius: var(--border-radius-cf);
    margin-bottom: 15px;
}

.cf7-label-left {
    text-align: left;
    font-size: 16px;
    margin-bottom: 10px;
}

.cf7-single-line {
    margin-bottom: 20px;
}

.tooltip-cont {
    position: absolute;
    top: 0;
    right: 5px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: 8px;
    z-index: 99;
}

.wpcf7-form-control-wrap[data-name="radio-996"] > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

.wpcf7-form-control-wrap[data-name="radio-997"] > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

.wpcf7-form-control-wrap[data-name="radio-998"] > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

.wpcf7-form-control-wrap[data-name="radio-999"] > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

.wpcf7-form-control-wrap[data-name="radio-1000"] > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

.radio-996 > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before, .radio-997 > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before, .radio-998 > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before, .radio-999 > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before, .radio-1000 > .wpcf7-radio > .wpcf7-list-item > label > .wpcf7-list-item-label::before {
    content: '';
    margin: 5px;
}

.wpcf7-form-control-wrap[data-name="radio-996"] > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .wpcf7-form-control-wrap[data-name="radio-997"] > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .wpcf7-form-control-wrap[data-name="radio-998"] > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .wpcf7-form-control-wrap[data-name="radio-999"] > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .wpcf7-form-control-wrap[data-name="radio-1000"] > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before {
    display: inline-block;
}

.radio-996 > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .radio-997 > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .radio-998 > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .radio-999 > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before, .radio-1000 > .wpcf7-radio > .last > label > .wpcf7-list-item-label::before {
    display: inline-block;
}


.radio-row {
    margin-left: 0;
    margin-right: 0;
}

.wpcf7-list-item-label::before, .wpcf7-list-item-label::after {
    display: block;
}

.cf7-multi-title {
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--white-color);
    margin-bottom: 30px;
}

.cf7-multi {
    text-align: left;
    font-size: 16px;
}

.cf7-img-container img {
    float: left;
}

.col-cf7-5img {
    padding-right: 10px;
    padding-left: 10px;
}

.cf7-img-container-single {
    margin-bottom: 30px;
}

.cf7-img-container-single img {
    float: left;
    height: 100px;
    margin-right: 20px;
}

.radio-left {
    text-align: left;
    padding-bottom: 20px;
    margin-left: -7px;
}

.cf7mls_back.action-button:hover {
    opacity: 1;
}

input[type='radio']:after {
    width: 18px;
    height: 18px;
    border-radius: 20px;
    position: relative;
    background-color: var(--background-color);
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid white;
    outline: none;
}

input[type='radio']:checked:after {
    background-color: var(--main-color);
    box-shadow: inset 0 0 0 2px #231202;
}

.col-cf7 p {
    font-size: inherit;
}

.wpcf7-list-item {
    margin: 0;
    width: 100%;
}

.wpcf7-list-item-label {
    font-size: 16px;
    margin-top: 15px;
}

label {
    padding: 0 10px;
    margin-bottom: 20px;
}

.col-xl-2 img {
    height: 142px;
    width: 142px;
    border-radius: 10px;
}

.cf7-img-container {
    width: 100%;
    border-radius: var(--border-radius-cf);
}

.cf7-dashicons {
    position: absolute;
    right: 7px;
    top: 7px;
    color: white;
}

.arrow::before {
    border-top-color: var(--white-color) !important;
}

.tooltip-inner {
    background-color: var(--white-color);
    color: var(--background-color);
}

.wpcf7-form-control-wrap {
    padding: 0;
}

.wpcf7-textarea {
    padding: 0;
}

input.wpcf7-form-control.wpcf7-file.cf7-upload {
    border-radius: var(--border-radius-cf);
    background-color: var(--white-color);
    padding: 5px;
    margin-bottom: 30px;
}

.cf7mls_next.action-button img {
    display: none !important;
}

div[id^="wpcf7-f347"] button.cf7mls_next, div[id^="wpcf7-f347"] button.cf7mls_back {
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color) !important;
}

.cf7mls_next.action-button:hover, .cf7mls_back.action-button:hover, .wpcf7-form-control.wpcf7-cf7mls_preview_step:hover, input.wpcf7-form-control.wpcf7-submit:hover {
    opacity: 1;
    color: var(--link-hover) !important;
}

.cf7mls-btns .cf7mls_next.action-button, .cf7mls-btns .cf7mls_back.action-button {
    padding: 0;
}

.cf7-multi-sub {
    text-align: right;
}

form.cf7mls input.wpcf7-form-control.wpcf7-submit {
    float: none;
    padding: 0;
    font-weight: 500;
}

.col-no-img {
    padding: 0;
}

.wpcf7-form-control-wrap[data-name="file-20"], .file-20 {
    padding-left: 20px;
}

p.cf7-label {
    margin-top: 10px;
    margin-bottom: 0;
}

.wpcf7-form-control-wrap[data-name="radio-996"] > .wpcf7-radio > .last:last-child, .wpcf7-form-control-wrap[data-name="radio-997"] > .wpcf7-radio > .last:last-child, .wpcf7-form-control-wrap[data-name="radio-998"] > .wpcf7-radio > .last:last-child, .wpcf7-form-control-wrap[data-name="radio-999"] > .wpcf7-radio > .last:last-child, .wpcf7-form-control-wrap[data-name="radio-1000"] > .wpcf7-radio > .last:last-child {
    width: 70px;
    margin: 0;
}

.radio-996 > .wpcf7-radio > .last:last-child, .radio-997 > .wpcf7-radio > .last:last-child, .radio-998 > .wpcf7-radio > .last:last-child, .radio-999 > .wpcf7-radio > .last:last-child, .radio-1000 > .wpcf7-radio > .last:last-child {
    width: 70px;
    margin: 0;
}

#cf7mls-back-btn-cf7mls_step-3 {
    bottom: 75px;
}

/* Multiform next button
--------------------------------------------- */


div[id^="wpcf7-f347"] button.cf7mls_next::before {
    transition-duration: 0.5s;
    margin-right: 10px;
    content: '(';
}

div[id^="wpcf7-f347"] button.cf7mls_next::after {
    transition-duration: 0.5s;
    margin-left: 10px;
    content: ')';
}

div[id^="wpcf7-f347"] button.cf7mls_next:hover::before {
    transition-duration: 0.5s;
    margin-right: 5px;
}

div[id^="wpcf7-f347"] button.cf7mls_next:hover::after {
    transition-duration: 0.5s;
    margin-right: 5px;
    margin-left: 5px;
}

/* Multiform back button
--------------------------------------------- */

div[id^="wpcf7-f347"] button.cf7mls_back::before {
    transition-duration: 0.5s;
    margin-right: 10px;
    content: '(';
}

div[id^="wpcf7-f347"] button.cf7mls_back::after {
    transition-duration: 0.5s;
    margin-left: 10px;
    content: ')';
}

div[id^="wpcf7-f347"] button.cf7mls_back:hover::before {
    transition-duration: 0.5s;
    margin-right: 5px;
    margin-left: 5px;
}

div[id^="wpcf7-f347"] button.cf7mls_back:hover::after {
    transition-duration: 0.5s;
    margin-left: 5px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-text {
  font-size: 13px;
}

/* Social Buttons
--------------------------------------------- */

.social-box {
    text-align: center;
}

span.social-share {
    background-color: var(--white-color);
    color: var(--background-color);
    border-radius: 5px;
    width: 32px;
    height: 32px;
    font-size: 25px;
    line-height: 1.2;
}

a.sbtn {
    width: 32px;
    height: 32px;
    margin-right: 20px;
}

a.sbtn:last-child {
    margin-right: 0;
}

/* Pre Footer
--------------------------------------------- */

.footer {
    display: grid;
    place-items: center;
    color: var(--footer-color);
    background-color: var(--cf-background-color);
    height: 100px;
}

.ft-col {
    line-height: 50px;
    height: 50px;
}

.footer-contact p {
    margin-bottom: 5px;
}

.link-footer {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--background-color);
}

.link-footer a {
    color: var(--background-color);
}

/* Footer
--------------------------------------------- */

.site-footer-container {
    padding: 50px 135px;
}

.site-footer ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-left: 15px;
}

.site-footer a, .site-footer {
    color: var(--white-color);
}

.footer-branding {
    text-align: left;
}

.footer-contact {
    text-align: center
}

.footer-social {
    text-align: right;
}

.footer-1 {
    float: left;
}

.footer-1 img {
    height: 70px;
    width: 70px;
}

.footer-1-text {
    margin-left: 88px;
}

.footer-1-text p {
    font-size: 16px !important;
    margin-bottom: 0;
}

.footer-2 p {
    font-size: 16px !important;
    margin-bottom: 0;
}

.footer-link {
    margin-top: 10px;
}

.footer-3 a {
    margin-right: 15px;
}

.footer-3 a:last-child {
    margin-right: 0;
}

.tooltip-info {
    width: 24px;
    left: -2px;
    position: relative;
    bottom: 141px;
}

.social-icon a {
    width: 24px;
    height: 24px;
}

span.social-footer {
    background-color: var(--white-color);
    color: var(--background-color);
    border-radius: 5px;
    width: 24px;
    height: 24px;
    font-size: 18px;
    line-height: 1.3;
}

.site-footer ul {
    float: right;
}

/* Media Queries
--------------------------------------------- */
@media screen and (max-width: 1400px) {

    h1 {
        font-size: 40px;
    }

    .entry-title {
        margin-bottom: 30px;
    }

    .page-title-container {
        margin: 0 85px;
    }

    .gallery-link {
        font-size: 24px;
    }

    .site-footer-container {
        padding: 30px 85px;
    }

    .header-text {
        padding: 40px 50px;
    }

    .accordion::after {
        right: var(--margin-100);
    }

    .social-box {
        margin-top: 100px;
    }
}

@media screen and (min-width: 1200px) {

    .blocco-immagine-testo .sinistra_size .text-container .content-container {
        width: 485px;
        margin-right: 60px;
    }

    .blocco-immagine-testo .text-container .content-container {
        width: 485px;
        margin-left: 60px;
    }

    .widget {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 1199px) {

    .top-image-container {
        height: 450px;
    }

    .img_thumbnail::before {
        height: 450px;
    }

    .header-text {
        padding: 40px calc(var(--margin-100) + 40px) 40px 100px;
        font-size: 30px;
        letter-spacing: 2px;
        transition: all 0.3s ease;
    }

    .page-title-container {
        margin: 0 35px;
    }

    .centered-block-text {
        margin-bottom: 30px;
    }

    .site-footer-container {
        padding: 30px 35px;
    }

}

@media only screen and (min-width: 992px) {

    .dropdown-menu {
        visibility: hidden;
        transition: all 0.3s ease;
        opacity: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        margin-top: -10px;

    }

    .menu-item :last-child {
        margin-right: 0 !important;
        display: block;
    }
}

@media only screen and (max-width: 991px) {

    h1 {
        font-size: 30px;
    }

    h2, h3, h4 {
        font-size: 25px;
    }

    h1.entry-title {
        font-size: 25px;
    }

    p {
        font-size: 17px
    }

    .navbar-collapse {
        position: absolute;
        top: 0;
        height: 100vh;
        width: 0;
        transition: all 0.3s ease-out;
        visibility: hidden;
        background-color: var(--background-color);
        left: 0;
        z-index: 999;
    }

    .navbar-collapse.show {
        width: 300px;
        visibility: visible;
        height: 100vh;
    }

    .navbar-collapse + ul {
        margin-right: 40px;
    }

    .navbar-toggler .close {
        font-size: 22px;
		opacity: 1;
		margin-top: -2px;
    }
	
	.navbar-toggler[aria-expanded="false"] .open {
        display: block;
    }
	
	.navbar-toggler[aria-expanded="false"] .close {
        display: none;
    }
	
	.navbar-toggler[aria-expanded="true"] .open {
        display: none;
    }
	
	.navbar-toggler[aria-expanded="true"] .close {
        display: block;
    }

    .menu-item:last-child {
        margin-right: 15px;
        white-space: nowrap;
    }

    .custom-logo-scrolled {
        width: 80px;
    }

    #navbarSupportedContent {
        text-align: left;
        z-index: 2;
    }

    #navbarSupportedContent.collapse.show::after {
        content: '';
        background: rgba(0, 0, 0, 0.4);
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
    }

    #menu-main {
        padding-left: 10px;
        padding-top: 30px;
        height: 100vh;
        transition: all 0.3s;
        display: inherit;
        z-index: 2;
        position: relative;
        opacity: 0;
    }

    .collapse.show #menu-main {
        opacity: 1;
        padding-left: 20px;
    }

    .top-image-container {
        height: 400px;
    }

    .img_thumbnail::before {
        height: 400px;
    }

    .accordion {
        font-size: 25px;
    }

    .entry-title {
        margin-bottom: 20px;
    }

    .block-img {
        min-height: 400px;
    }

    .img-align {
        order: 2;
        text-align: center;
        padding: 0;
    }

    .owl-carousel .nav-button {
        top: 22% !important;
    }

    .owl-stage-outer {
        margin-bottom: 50px;
    }

    .dropdown-menu {
        background-color: var(--background-color);
        border: none;
        margin-bottom: 5px;
    }

    .dropdown-item {
        color: var(--white-color);
    }

    .menu-item {
        margin-left: 15px;
    }

    .top-text, .bot-text {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-title {
        padding-top: 60px;
    }

    .nav-links {
        display: none !important;
    }

    .social-box {
        margin-top: 50px;
    }

    .post-mr p {
        font-size: 16px;
    }

    span.previous_posts {
        margin-bottom: 10px;
    }

    span.next_posts {
        margin-bottom: 10px;
    }

    .col-cf7 {
        width: 50%;
        padding-left: 5px;
        position: relative;
    }

    .col-cf7-large {
        width: 50%;
        padding: 0 5px;
        margin-bottom: -20px;
    }

    .wpcf7-list-item {
        padding-bottom: 15px;
    }

    .cf7-img-container-single img {
        margin-bottom: 10px;
    }

    .cf7-row {
        margin-bottom: 20px;
    }

    .blocco-immagine-testo .text-container .content-container {
        width: 100%;
        padding: 40px 20px;
    }

    .media-vim video {
        position: relative;
        width: 100vw;
        margin-bottom: -5px;
    }

    .map-container {
        height: 350px;
    }
}

@media only screen and (max-width: 767px) {

    .page-title {
        font-size: 30px;
    }

    .p-0 {
        margin: 0 10px 20px 10px;
    }

    .mlr-custom {
        margin: 50px 30px;
    }

    .centered-container {
        margin: var(--margin-50) 15px;
    }

    .custom-logo, .custom-logo-scrolled {
        position: fixed;
        width: 70px;
        height: 70px;
        margin: 20px 0 0 20px;
    }

    .scrolled {
        position: fixed;
    }

    .block-img {
        min-height: 300px;
    }

    .post-content {
        margin-left: 0;
    }

    .post-mr {
        margin-right: 0;
    }

    h2.last-posts-title {
        margin-top: 50px;
        margin-bottom: 0;
    }

    .img-col-60 {
        margin-bottom: 15px;
    }

    .col-p-0 {
        padding: 0;
    }

    .header-text {
        padding: 40px calc(20px + 40px) 40px 20px;
    }

    .accordion::after {
        right: 20px;
        margin-top: 47px;
    }

    .container-fluid.site-info {
        padding-right: 0;
        padding-left: 0;
    }

    .page-title-container {
        margin: 0 15px;
    }

    .top-image-container {
        height: 300px;
    }

    .img_thumbnail::before {
        height: 300px;
    }

    .panel {
        padding: 0 20px;
    }

    .owl-carousel .nav-button {
        top: 33% !important;
    }

    .single-posts-container {
        margin: var(--margin-150) 0 0 0;
        padding: 0 30px;
    }

    .site-footer-container {
        padding: 30px 75px;
    }

    .accord-padding {
        padding-left: 0;
        padding-right: 0;
    }

    #custom_html-2 {
        text-align: center;
    }

    .footer {
        height: 80px;
    }

    .footer-1 {
        float: none;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-1-text {
        margin-left: 0;
        text-align: center;
    }

    .footer-link {
        margin-top: 0;
    }

    .footer-3 {
        margin-right: 0;
        text-align: center;
    }

    .site-footer ul li:first-child {
        margin-left: 0;
    }

    .site-footer ul {
        float: none;
        align-items: center;
        justify-content: center;
    }

    .cf7-single-line-first, .cf7-single-line-last {
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 768px) and ( max-width: 991px) {

    .p-0 {
        margin: 20px var(--margin-50);
    }

    .mlr-custom {
        margin: var(--margin-80) var(--margin-50);
    }

    .panel {
        padding: 0 var(--margin-50);
    }

    .centered-container {
        margin: var(--margin-80) 0;
    }

    .single-posts-container {
        padding: 0 20px;
        margin: var(--margin-80) auto 0 auto;
    }

    .header-text {
        padding: 40px calc(var(--margin-50) + 40px) 40px 50px;
    }

    .accordion:after {
        margin-top: 47px;
        right: var(--margin-50);
    }
	
	button.navbar-toggler {
		margin-top: -20px;
		padding-right: 0;
	}
}

@media only screen and (min-width: 992px) and ( max-width: 1199px) {

    .mlr-custom {
        margin: var(--margin-80);
    }

    .panel {
        padding: 0 var(--margin-80);
    }

    .p-0 {
        margin: 20px var(--margin-80) 0 var(--margin-80);
    }

    .site-footer-container {
        padding: 30px 65px;
    }

    .centered-container {
        margin: var(--margin-80) 0;
    }

    .menu-item {
        font-size: 18px !important;
        margin-right: 18px;
    }

    .header-text {
        padding: 40px calc(var(--margin-80) + 40px) 40px var(--margin-80);
    }

    .accordion:after {
        right: var(--margin-80);
        margin-top: 47px;
    }
}

@media only screen and (min-width: 1200px) and ( max-width: 1399px) {

    .p-0 {
        margin: 20px var(--margin-100) 0 var(--margin-100);
    }

    .mlr-custom {
        margin: var(--margin-100);
    }

    .header-text {
        padding: 40px calc(var(--margin-100) + 40px) 40px var(--margin-100);
    }

    .panel {
        padding: 0 var(--margin-100);
    }

    .centered-container {
        margin: var(--margin-100) 0;
    }
}

@media only screen and (min-width: 1400px) {

    .p-0 {
        margin: 20px var(--margin-150) 0 var(--margin-150);
    }

    .header-text {
        padding: 40px calc(var(--margin-150) + 40px) 40px var(--margin-150);
    }

    .panel {
        padding: 0 var(--margin-150);
    }
}