/*
Theme Name: Ikigai theme
Theme URI: https://ikigaiagency.it/
Author: Agostino Costantino
Author URI: https://auxtintech.it/
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: portfolio, blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready
Version: 0.1
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: >=7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ikigai-theme
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root{
    --primary-color: #E206DA;
    --secondary-color: #0660EF;
    --black-color: #1C1C1C;
    --white-color: #FFFFFF;
    --grey-color: #3C3C3C;
    --rose-color: #C4A8E5;
    --mid-color: #94A5E7;
    --purple-color: #8481B8;
}

*{
    font-family: "Kanit", sans-serif;
}

html, body{
    color: var(--black-color);
    background-color: var(--white-color);
}

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

p,a,li,strong,em{
    font-family: "Roboto", sans-serif;;
}

a{
    text-decoration: none;
    color: var(--black-color);
}

img, svg{
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1, 1);
}

canvas{
    max-width: 100%;
    background-color: white;
}

.label-danger {
    margin: 2px;
    padding: 4px;
    border-radius: 3px;
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
}

#menu-fixato{
    top: 0;
    z-index: 10;
    position: sticky;
    background-color: white;
}

.logo{
    z-index: 1;
    position: relative;
}

.gradiente-primario, .sfondo-gradiente{
    background: linear-gradient(90deg, var( --secondary-color ) 0%, var( --primary-color ) 100%);
}

footer#footer{
    /*border-top: 1px solid #3C3C3C; non piace */
    padding-top: 32px;
    background-color: var(--mid-color);
    /*background: linear-gradient(90deg, var( --rose-color ) 0%, var( --mid-color ) 100%);*/
}

footer p, footer a{
    color: white;
    font-size: 16px;
    line-height: 20px;
}

footer ul li{
    margin-bottom: 10px;
}

footer .widget-title{
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 1.4rem;
    color: white;
}

.copyright {
    color: white;
    font-size: .875rem;
    line-height: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid white;
    margin-top: 2rem;
}

footer ul{
    padding-left: 0;
    list-style: none;
}

.payments-logos {
    max-width: 100%;
    display: block;
}

img.payment {
    max-width: 30px;
    margin-right: 4px;
    margin-bottom: 10px;
}

.btn-close{
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    opacity: 1;
}

#mainmenu .btn-close{
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

.ombra{
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.25);
}

.bt-hd{
    display: none;
}

.emoji-small {
    max-width: 16px;
}

.inviocorretto__circle{
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.inviocorretto{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin-right: 20px;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.inviocorretto__check{
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke{
    100%{
        stroke-dashoffset: 0
    }
}
@keyframes scale{
    0%, 100%{
        transform: none
    }
    50%{
        transform: scale3d(1.1, 1.1, 1)
    }
}
@keyframes fill{
    100%{
        box-shadow: inset 0px 0px 0px 30px #7ac142
    }
}

/*************************************
 * MENU LATERALE OFFCANVAS
 * **********************************/
#mainmenu .offcanvas-header{
    color: white;
    background-color: var(--primary-color);
}
#mainmenu #searchsubmit{
    border-radius: 0px 12px 12px 0px;
    background-color: var(--primary-color);
}
#mainmenu .form-floating .form-control{
    border-radius: 12px 0px 0px 12px;
}

/************************************
 * GLOBAL NEWS STYLES
 * *********************************/
h1.titolo-wondercon, h2.titolo-wondercon{
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
    /*-webkit-text-stroke: 2px #FFF;*/
    background: linear-gradient(to left, var(--primary-color) 40%, var(--secondary-color) 60%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1.iki-page-title {
    text-align: center;
    margin-bottom: 40px;
}
.iki-navigazione-pagina .active > .page-link, .page-link.active{
    color: white;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}
.iki-navigazione-pagina .page-link{
    color: var(--primary-color);
}
.iki-pagination.pagination {
    margin-top: 40px;
    margin-bottom: 40px;
    justify-content: center;
}
.orderby.form-select, .categories-select.form-select {
    color: white;
    border-width: 2px;
    border-radius: 12px;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-color: var(--black-color);
}
.pulsanti-hero-section{
    text-align: center;
    margin-top: 80px;
}
.pulsanti-hero-section > div {
    display: inline-block;
    padding: 10px 40px;
    border-radius: 35px;
    background-color: var(--primary-color);
}
.pulsanti-hero-section a{
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}
form > button.single-blue-button, form > button.single-white-button{
    display: inline-block;
}
input.new-submit{
    color: white!important;
    font-weight: 600!important;
    line-height: 20px!important;
    transition: .2s;
    display: block!important;
    border: 0!important;
    border-radius: 12px!important;
    background-color: var(--primary-color)!important;
}
#countdown-main{
    gap: 10px;
    color: var(--black-color);
    display: flex;
    justify-content: center;
    background-color: white;
    /*box-shadow: 0px 0px 7px #00000029;*/
}
#countdown-main > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
#countdown-main p {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0;
}
.grey-bg{
    background-color: var(--grey-color);
}
.breadcrumb-ikigai a{
    text-decoration: underline;
}
.breadcrumb-ikigai{
    font-size: 14px;
    line-height: 16px;
    padding: 16px 0;
}
.delimiter {
    margin-left: 10px;
    margin-right: 10px;
}
.container-breadcrumb {
    margin-top: 30px;
}
ol li ul.children {
    color: white;
    padding: 30px;
    position: relative;
    border-radius: .4em;
    background: var(--primary-color);
}
ol li ul.children::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: var(--primary-color);
    border-top: 0;
    border-left: 0;
    margin-left: -10px;
    margin-top: -20px;
}
ul.flex-direction-nav {
    position: absolute;
    top: 50%;
    z-index: 9;
    width: 100%;
    left: 0;
    margin: 0;
    padding: 0px;
    list-style: none;
    transform: translateY(-50%);
}

li.flex-nav-prev {
    float: left;
}
li.flex-nav-next {
    float: right;
}
a.flex-next {
    visibility:hidden;
}
a.flex-prev {
    visibility:hidden;
}
a.flex-next::after {
    visibility: visible;
    content: '';
    background: url('data:image/svg+xml,<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 21L17.5 14L10.5 7" stroke="%230AA4EA" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    margin-left: 10px;
    height: 30px;
    width: 30px;
    display: block;
    background-repeat: no-repeat;  
}
a.flex-prev::before {
    visibility: visible;
    content: '';
    margin-left: 10px;
    height: 30px;
    width: 30px;
    display: block;
    background: url('data:image/svg+xml,<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 21L10.5 14L17.5 7" stroke="%230AA4EA" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
}

.flex-control-thumbs img {
    border-radius: 6px;
}
img.flex-active{
    border: 2px solid var(--secondary-color);
}
.form-control::placeholder, .form-floating .form-label {
    color: #999;
}
div.widget-contattaci {
    height: 100%;
    text-align: center;
    padding: 16px 24px;
}

div.widget-contattaci a{
    color: white;
    font-weight: 700;
}

div.widget-contattaci p{
    margin-bottom: 0;
}

div.contattaci-content{
    height: 100%;
    display: flex;
    padding: 16px 24px;
    flex-direction: column;
    justify-content: center;
}

div.contattaci-content h2{
    font-size: 40px;
    font-weight: 700;
    line-height: 47px;
}

div.widget-contattaci ul.social{
    margin: 0!important;
}

div.spazio-contattaci .grey-bg, div.spazio-contattaci img.img-contattaci-full{
    border-radius: 12px;
}

h2.widget-contattaci-title{
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

h3.titolo-form{
    color: var(--black-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.bg-contact-form {
    color: var(--black-color);
    padding-top: 60px;
    padding-bottom: 60px;
    border-radius: 12px;
    background-color: var(--bs-gray-200);
}

.bg-contact-form .form-control, .bg-contact-form select{
    border: 2px solid var(--black-color);
}

.bg-contact-form a{
    color: var(--black-color);
    font-weight: 600;
    text-decoration: underline;
}

.bg-pulsanti-invio {
    padding: 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-color: #E8E8E8;
}

.form-check-input:checked {
    border-color: var(--black-color);
    background-color: var(--secondary-color);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color)!important;
    width: 40px!important;
    height: 40px!important;
    border-radius: 50%;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.25);
    background-color: white;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px!important;
}

.swiper-slide{
    height: auto;
}

.mini-titolo h3 {
    color: var(--black-color);
    font-size: 1rem;
    text-align: left;
}
.mini-info {
    gap: 10px;
    display: inline-flex;
    justify-content: space-between;
}
.mini-img {
    width: 150px;
    flex: fit-content;
}

.mini-img img{
    height: auto;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
}

#datafetch {
    position: absolute;
    padding: 0;
    background-color: var(--bs-gray-200);
}

#datafetch.con_posts{
    padding: 10px;
}

.mini-ricerca {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--bs-gray-400);
    background-color: white;
}

div.lettura-contratto {
    height: 200px;
    padding: 20px;
    overflow-y: scroll;
    border-radius: 12px;
    border: 1px solid var(--grey-color);
    cursor: not-allowed;
}

div.lettura-contratto h2{
    font-size: 1.3rem;
}

h2.titolo-lettura-contratto {
    font-size: 1rem;
}

.pulsante-invio{
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 7px 60px;
    border-radius: 35px;
    border: 0;
    background-color: var(--primary-color);
}

.pulsante-invio.disabled {
    color: gray;
    transition: .8s;
    cursor: not-allowed;
    pointer-events: none;
    background-color: var(--bs-gray-500);
}

button.attiva-gallery{
    height: 160px;
    width: 80px;
    top: 50%;
    right: 0;
    color: white;
    border:0;
    transform: translateY(-50%);
    position: absolute;
    background-color: var(--secondary-color);
}
button.attiva-gallery svg {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
footer .offcanvas-body a {
    color: var(--primary-color);
}

footer .offcanvas-body h2{
    font-size: 1.1rem;
    padding: .75rem 1.25rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,.125);
    background-color: rgba(0,0,0,.03);
}

.patrocinio-footer {
    max-height: 200px;
    width: auto;
}

.widget-social {
    gap: 10px;
    display: inline-flex;
}

div.social a{
    padding: 12px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
    background-color: white;
}

div.social a:hover{
    background-color: var(--primary-color);
}

div.social a:hover img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2355%) hue-rotate(115deg) brightness(119%) contrast(108%);
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
 
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
 
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
 
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
 
a img.alignnone {
    margin: 5px 20px 20px 0;
}
 
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
 
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
 
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
 
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
 
/* 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
 
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}