/*
Theme Name: Potisen Child
Description: Child theme for the Potisen themes
Author: gaviathemes
Template: potisen
*/
@font-face {
    font-family: meloro;
    src: url('fonts/Stem-Bold.ttf');
    font-weight: bold;
  }

.custom-breadcrumb,
.sidebar-inner #categories-1,
.single .entry-meta,
.single .block-title,
.page-id-610 .elementor-location-footer,
.custom-breadcrumb .breacrumb-line, .no-comments, .breadcrumb,
.cky-preference-center {
   display:none!important;
}

#wp-main-content {
    overflow-x: hidden;
}

.post .entry-meta a:first-of-type, .event-block .event-content .event-meta {
    color: #0a3b6a;
}

.event-block .event-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.event-block .event-image .event-date, .custom-breadcrumb {
    background-color: #0a3b6a;
}

.custom-breadcrumb {
    background-image: unset!important;
}

a:hover, .wp-sidebar .post-author, .wp-sidebar .post-date, .elementor-widget-sidebar .post-author, .elementor-widget-sidebar .post-date {
    color: #ed1b24;
}

.mybtn {
    padding: 5px 15px !important;
    background-color: #fff;
    border: 1px solid #fff;
    color: #0b3b6a;
    transition: .4s;
}

.mybtn:hover {
    background-color: transparent;
    color: #fff!important;
}

.breadcrumb-container-inner {
    padding: 35px 0!important;
}

.cat-item-none {
    font-size: 0;
}

.cat-item-none:before {
    content: 'Nessuna categoria';
    font-size:18px;
}

.single-gva_event .heading-title:after {
    content: 'o';
}

/* MISC */

.myslide {
    display: flex;
    align-items: center;
    position: relative;
    height: calc(100vh - 150px);
    background-image: url(/wp-content/uploads/2022/10/meloro-slide.jpg);
    background-size: 94% auto;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #6fb3c0;
    opacity: 0;
    animation: fadeup 1s ease 1s 1 normal running forwards;
}

.myslide > div {
    margin: unset!important;
    width: 100%;
}

.myslide .slidetxt {
    width: 75%;
    padding: 0 100px;
    text-align:center;
}

.myslide .slidetxt :is(h1, h2) {
    font-family: meloro;
    font-size: 5.8vw;
    line-height: 1;
    margin: 0;
}

.myslide .slidetxt h1 {
    color: #fff160;
}

.myslide .slidetxt h2 {
    color: #fff;
}

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

.elementor-drop-cap {
    margin-top: -20px;
    margin-right: 1px!important;
}

.aboutimg img {
    border: 6px double #4b9faa;
}

.page-id-612 p {
    margin-bottom: 0;
}

.support-box {
    background-color: #ed1b24;
}

.admin-bar.scrolled .mymenu {
    /* top: 32px!important; */
    padding: 5px 0 !important;
}

.scrolled .mymenu {
    padding: 5px 0 !important;
}

body:not(.scrolled) .mymenu {
    padding: 10px 0 30px 0;
    z-index: 999;
}

.elementor-location-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-bar .elementor-location-header {
    top: 32px;
}

.mymenu {
    background-image: linear-gradient(180deg, #fff 93%, rgba(0,0,0,.2) 100%)!important;
}

.mymenu.stuck {
    position: unset!important;
}

.scrolled .mymenu * {
    transition: .4s;
}

.scrolled .mymenu .elementor-element-populated {
    padding: 0;
}

.scrolled .mymenu .elementor-widget-container,
.scrolled .mymenu .mymainmenu > div  {
    margin: 0!important;
}

.mymenu .mymainmenu li {
    padding: 0 5px;
}

.scrolled .mymenu img {
    max-width: 50%!important;
}

.mysocials .elementor-social-icons-wrapper {
    display: flex;
    justify-content: center!important;
}

.mysocials .elementor-social-icon i {
    transition: .4s;
}

.mysocials .elementor-social-icon:hover i {
    transform: translateY(-10px);
}

.mycontsec ul {
    list-style: none;
    margin: 0;
}

span[data-name="i-privacy"] .wpcf7-list-item {
    margin: 0;
}

.post .read-more a {
    font-size: 0!important;
    text-transform: unset!important;
}

.post .read-more a:before {
    content: 'Leggi di più';
    font-size: 18px!important;
}

.wpcf7 .wpcf7-submit[disabled] {
    background-color: #1c2c34!important;
    border: 2px solid #1c2c34!important;
}

.wpcf7 .wpcf7-submit:not([disabled]) {
    border: 2px solid #0a3b6a!important;
}

.wpcf7 .wpcf7-submit:not([disabled]):not(:hover) {
    background-color: #0a3b6a;
}

.wpcf7 .wpcf7-submit:not([disabled]):hover {
    background-color: #fff!important;
    color: #0a3b6a!important;
}

.wpcf7-spinner {
    display:block;
}

.support-box {
    background-color: #0b3b6a;
}

.myevents .event-content {
    min-height: 176px;
}

@media(max-width: 1199px) {
    .myslide .slidetxt :is(h1, h2) {
        font-size: 5vw;
    }
}

@media(max-width: 1024px) {

    #wp-admin-bar-edit ~ li {
        display: none!important;
    }

    .elementor-menu-toggle {
        display: flex!important;
        width: 100%;
        justify-content: end!important;
        background-color: transparent!important;
    }

    .myslide {
        aspect-ratio: 16/9;
        height: unset;
        background-position: right bottom;
    }

    #wpadminbar {
        height: 32px!important;
        overflow: hidden;
    }

}

@media(max-width: 767px) {

    .mymenu .elementor-widget-image a {
        text-align: left;
    }

    .mymenu .elementor-widget-image img {
        max-width: 75%;
    }

    .mymenu .elementor-menu-toggle {
        padding: 0 30px;
    }

    .myslide .slidetxt {
        padding: 0 10px;
    }
    
    .myslide .slidetxt :is(h1, h2) {
        font-size: 60px;
    }

    .mymenu > div {
        flex-wrap:nowrap!important;
    }

    .mymenu .elementor-element.elementor-element-320b998 {
        text-align: right;
        display: flex;
        padding: 0 20px;
    }

    .mysocials .elementor-social-icons-wrapper {
        flex-wrap: wrap;
    }

    .mysocials .elementor-social-icons-wrapper a {
        width: 40px;
    }
}

@media(max-width: 450px) {
    .myslide .slidetxt :is(h1, h2) {
        font-size: 30px;
    }
}
