/*
 Theme Name: RadioNisiaco - TwentyTwenty Child
 Description: wentyTwenty Child Theme
 Template: twentytwenty
 Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:ital,wght@0,300;0,700;1,300&display=swap');

body {
    background: #000000;
}

#site-header, 
#site-footer,
.entry-content,
.singular .entry-header {
    background: transparent;
}

body,
#site-header, 
#site-footer,
.entry-content,
.singular .entry-header {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.entry-content {
    font-size: inherit;
}

a,a:visited,a:active {
    color: #ffffff;
}

h1,h2,h3,h4,h5,h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .entry-content cite, .entry-content figcaption, .entry-content table, .entry-content address, .entry-content .wp-caption-text, .entry-content .wp-block-file {
    font-family: "Open Sans Condensed", sans-serif;
}

h2, .heading-size-2 {
    font-size: 2.6rem; /* sui cellulari */
}

p > img {
    display: inline;
}

.alignfull {
    width: 95%;
}

@media screen and ( max-width: 699px ) {
    .show-on-desktop {
        display: none;
    }
}

@media screen and ( min-width: 700px ) {
    h2, .heading-size-2 {
        font-size: 4.6rem; 
    }

    .show-on-mobile {
        display: none;
    }
}

/*----------------- Colori -----------------*/

html {
    --blu: #08222C;
    --verde: #58a332;
    --azzurro: #1b6da4;
    --mare: #39897b;
}

.has-blu-color,
.has-blu-color.has-text-color {
    color: var(--blu);
}

.has-azzurro-color,
.has-azzurro-color.has-text-color {
    color: var(--azzurro);
}

.has-verde-color,
.has-verde-color.has-text-color {
    color: var(--verde);
}

.has-mare-color,
.has-mare-color.has-text-color {
    color: var(--mare);
}

.has-blu-background-color,
.has-background.has-blu-testo-background-color {
    background-color: var(--blu);
}

.has-azzurro-background-color,
.has-background.has-azzurro-background-color {
    background-color: var(--azzurro);
}

.has-verde-background-color,
.has-background.has-verde-background-color {
    background-color: var(--verde);
}

.has-mare-background-color,
.has-background.has-mare-background-color {
    background-color: var(--mare);
}

button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"] {
    background: var(--verde);
}

.has-drop-cap:not(:focus)::first-letter {
    color: var(--mare);
    font-family: "Montserrat", sans-serif;
    margin: 0.05em 0.05em 0 0;
}

/*----------------- Header -----------------*/

.site-logo img {
    width: 200px;
}

body.home .site-logo {
    display: none;
}

ul.sub-menu {
    background-color: #ffffff;
    color: #000000;
}

ul.primary-menu > li:first-child a {
    font-size: 0.01pt;
    color: #000;
    background-image: url('assets/images/homeicon.png');
    width: 23px;
    height: 23px;
    background-size: 100%;
    background-repeat: no-repeat;
}

ul.primary-menu > li:first-child a:hover {
    border-bottom: 1px solid #fff;
}

.menu-modal, .menu-modal-inner, .menu-modal ul.sub-menu {
    background-color: #000000;
    color: #fff;
}

.modal-menu li {
    border-color: #fff;
}

.modal-menu a:focus, 
.modal-menu a:hover, 
.modal-menu li.current-menu-item > .ancestor-wrapper > a, 
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a {
    text-decoration: none;
}

.modal-menu a:focus::after, 
.modal-menu a:hover::after, 
.modal-menu li.current-menu-item > .ancestor-wrapper > a::after, 
.modal-menu li.current_page_ancestor > .ancestor-wrapper > a::after {
    content: " ←";
    padding-left: 1em;
    float: right;
}

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

.reduced-spacing.footer-top-visible .footer-nav-widgets-wrapper, .reduced-spacing.footer-top-hidden #site-footer {
    border: none;
}

/*----------------- Home Page -----------------*/

body.home .site-title {
    display: none;
}


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

    body.home h1.brand {
        text-align: right;
    }

    body.home div.logotipo img {
        position: absolute;
        left: 2vh;
        top: 2vh;
        height: 40vh;
    }

    body.home h1.brand span.logo img {
        display: inline;
        width: 63vw;
        margin-right: 5vw;
    }

}

@media screen and ( max-width: 799px) and (orientation: landscape) {

    body.home h1.brand {
        height: 80vh;
        margin-bottom: 0;
    }

    body.home div.logotipo img {
        left: 8vh;
        top: 1vh;
        height: 95vh;
    }

    body.home h1.brand span.logo img {
        display: block;
        height: 95vh;
        width: auto;
        position: absolute;
        top: 4vh;
        left: 50%;
        transform: translate(-30%);
    }

}

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

    body.home h1.brand {
        text-align: center;
    }
    
    body.home h1.brand span.logo img {
        display: inline;
        width: 300px;
        margin-top: -50px;
    }

    body.home div.logotipo img {

        position: fixed;
        z-index: 9;
        top: 50px;
        left: 13vw;
        height: 350px;
        max-width: 200px;

        animation-name: move;
        animation-duration: 4s;
        animation-iteration-count: 1;
        animation-play-state: paused;
        animation-delay: calc(var(--home-scroll) * -1s);
    }

    @keyframes move {
        50% {
                top:50px;
                left: calc((100% - 58rem) / 20);
        }
        100% {
            width: 106px;
            height: 236px;
        }
    }

}



   /* --- timeline */

#palinsesto .uagb-timeline-desc-content {
    font-size: 18px;
}

#palinsesto h4.uagb-timeline__heading {
    margin-top: 10px;
}

#palinsesto div.uagb-timeline__date-new {
    font-size: 18px;
}

#palinsesto .uagb-timeline__events-inner-new {
    border: 3px solid #08222C;
}

#palinsesto .uagb-timeline__events-inner-new:hover,
#palinsesto .uagb-timeline__events-inner-new:active {
    border: 3px solid #58a332;
    border-radius: 4px;
}

#palinsesto .uagb-timeline__events-inner-new:hover .uagb-timeline__arrow::after,
#palinsesto .uagb-timeline__events-inner-new:active .uagb-timeline__arrow::after {
    border-left-color: #58a332;
    border-right-color: #58a332;
}

/*----------------- Articolo -----------------*/

body.single div.titoli {
    animation-name: fadeIn;
    animation-duration: 5s;
    animation-iteration-count: 1;
}

body.single h1.entry-title {
    
}

body.single h2.sottotitolo {
    margin-top: .5em;
}

article.post .entry-header  .data-ora {
    color: #6d6d6d;

    animation-name: delayedFadein;
    animation-duration: 3.5s;
    animation-delay: 0s;
    animation-iteration-count: 1;
}

.singular .entry-header {
    padding: 1em 0;
}

@media screen and ( min-width: 700px ) {
    body.single h2.sottotitolo {
        font-size: 3rem;
    }
}

nav.pagination-single a {
    display: block;
}

nav.pagination-single span.data-ora {
    font-size: 1.6rem;
    color: #6d6d6d;
}

.acuradi {
    margin-bottom: 2em;
    font-size: 16px;
}

div.navigation-player {
    width: 50%;
    margin: 1em auto 2em auto;
    padding-top: 2em;
}

div.navigation-player div.ascolta {
    text-align: center;
}

div.navigation-player div.ascolta span{
    display: inline-block;
    margin-right: 3em;
}

/*----------------- Animazioni -----------------*/

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

 @keyframes delayedFadein{
    0% { opacity:0; }
    50% { opacity:0; }
    100% { opacity:1; }
}
