/*
Theme Name: Ulisse Online Tema
Description:  Tema personalizzato per UlisseOnline.it
Version: 3.5
Author: ScfGroupSrl
Text Domain: ultema
Domain Path: /lang
Site: https://www.scfgroup.it
*/

/*** Global Resetter ***/

    .h1, h1 {font-weight: 900;font-size: 1.6rem;}
 	h2 {font-weight: 700; font-size: 1.2rem;}
    h3 {font-weight: 700; font-size: 1.6rem; }
    .alignleft  	{text-align:left; display:block}
    .alignright 	{text-align:right; display:block}
    .aligncenter	{display: block; margin-left: auto; margin-right: auto;}
    .clear 			{clear: both;}
    .sep 			{padding: 0 5px;}
    .hide 			{display: none;}
	a, a:active, a:focus, a:hover, a:link, a:visited {color: #333;	}

    /* per boostrap custom gutter size */
    /*[class*="col-"] {*/
    /*    padding-left: 5px !important;*/
    /*    padding-right: 5px !important;*/
    /*}*/
    /*.row {*/
    /*    margin-right: -5px;*/
    /*    margin-left: 5px;*/
    /*}*/

    /*.row-max{*/
    /*    max-width:1110px;*/
    /*}*/


    /*.row.row-0 {*/
    /*    margin-left: -5px;*/
    /*}*/


    body{
        font-family: 'Source Sans 3', sans-serif!important;
    }

    #body_pagina{
        background:#fff;
       /* padding:20px;*/
       /* padding-left: 10px!important;*/
       /* padding-top: 10px;*/
        border:1px solid #dcdcdc;
    }

    #body_categoria {
        background:#fff;
        border:1px solid #dcdcdc;
        padding: 10px!important;
    }

    #body_ris_ricerca{
        background:#fff;
        padding:10px !important;
        border:1px solid #dcdcdc;
        margin-bottom:20px;

    }

    #body_pagina_tag{
        background:#fff;
        padding:20px;
        border:1px solid #dcdcdc;
    }

    .riassunto_top_news {
        font-size: 0.9rem !important;
        clear:both;
        margin-bottom:10px;
    }

	/* Structure */
	#wrapper {
		font-size: 16px;
		position: relative;
	}
	
	#header 		{/*margin-top: 35px;*/ display: inline-block;}
	#mainmenu		{width: 100%; float:left;}
	#main 			{}
	#content 		{margin-top: 15px;}
	aside#sidebar {  margin-left: 5px; }
	#footer			{width: 920px; float:left; padding: 30px 20px 10px 20px; background:#666;}
	
	#comment {
  		width: 100%;
	}

	#leaderboard-container {
		width: 728px;
		margin: 0 auto 0 auto;
	}
	
/*** Header ***/
#site-title a 			{font-family: oswald; font-weight: 400; font-size:30px; text-transform:uppercase;float: left;color:#fff;}
#site-title a:hover 	{background: none;}

	
/*** Post ***/
#single_content .post		{padding: 35px 0 0 0;}
#single_content .post ul 	{padding-left: 20px; margin-bottom: 15px;}
#single_content .post ol 	{padding-left: 25px; margin-bottom: 15px;}


/*** Post Single ***/
.single {}
.single .entry-meta {margin-bottom: 10px;}

.single .entry-meta-single {
    margin: 10px 0;
    text-align: justify;
    background: #fff;
    padding: 10px;
    border: 1px solid #dcdcdc;
    clear: both;
    font-size: 0.9rem;
}


.entry-meta-single a:hover{text-decoration:underline;}

.entry-meta-single .date{font-weight:bold;}

.entry-meta-single .author{font-weight:bold;}

.entry-meta-single .date {
    text-transform: uppercase;
    font-size: 0.9rem;
}


.single .entry-content {
	margin: 10px 0;
	text-align: justify;
    background: #fff;
    padding: 10px;
    border: 1px solid #dcdcdc;
}


.single .entry-content h1{color:#ccc; font-size: 1.6rem; font-weight: 500;}
.single .entry-content h2{font-size: 1.6rem; font-weight: 700;}
.single .entry-content h3{font-size: 1.4rem; font-weight: 500;}
.single .entry-content h4{font-size: 1.3rem; font-weight: 500;}
.single .entry-content h5{font-size: 1.2rem; font-weight: 500;}
.single .entry-content h6{font-size: 1.2rem; font-weight: 500; font-style:italic;}
.single .entry-content p{/*font-size: 1.2rem; */}
.single .entry-content a{color:blue;}
.single .entry-content iframe{max-width:100%;}



/*** Tutti i post ***/
.wp-post-image {
  display: block;
}

.entry-title .sep {
  background: none repeat scroll 0 0 #881719;
  display: block;
  height: 6px;
  margin-bottom: -1px;
  width: 40px;
}

.entry-meta {
    color: #000;
    border: 1px solid #dcdcdc;
    padding: 10px;
    background: #fff;
    clear:both;
}

.entry-meta i {
     color: #000;
  font-size: 12px;
  margin-right: 4px;
}

.entry-meta a {
  color: #000;
}

.entry-header .entry-meta {
  margin-bottom: 7px;
  margin-top: 15px;
}


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

.entry-tags {
  font-size: 12px;
}

.entry-tags h5 {
	text-transform: uppercase;
}

.entry-tags span {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 5px 8px;
  margin:5px;
}

.entry-tags span i {
  color: #777777;
  margin-right: 4px;
}


.entry-descrizione {
	font-style: italic;
	font-size: 18px;
}

.entry-category{
    font-weight: bold;
}

.simil_link, .entry-category a, .entry-category a:active, .entry-category a:focus, .entry-category a:hover, .entry-category a:link, .entry-category a:visited {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* HOTKEY
    1. PRE_NAVBAR
    2. NAVBAR
    3. POST_NAVBAR
    4. FOOTER
HOME
    1. BANNER_SCF
    2. TOP_NEWS
    3. PRIMOPIANO
    4. ATTUALITA'
    5. SECTION_SLIDER
    6. BANNER_ADV
    7. MOLESKINE_ULISSE
    8. POLIFEMO
    9. RUBRICHE
    10. PRE_FOOTER

DETTAGLI
    1. TAGS
    2. DETTAGLIO_ARTICOLO
    3. SECTION_TAGS
CATEGORIE
    1. JUMBO_IMAGE
    2. NOTIZIE

*/

/* GENERAL */
.debug {
    background-color: black;
}
.debug-1 {
    background-color: rgb(190, 0, 0);
    height: 100%;
}
.debug-2 {
    background-color: rgb(0, 0, 191);
    height: 100%;
}
.debug-3 {
    border: 1px solid violet;
    height: 100%;
}
.debug-4 {
    border: 1px solid yellow;
    height: 100%;
}
.bg-fluid-gray {
    background-color: #F6F7F9;
}
.bg-fluid-black {
    background-color: #2F2F2F;
}
.bg-red-primary {
    background-color: #CF0C16;
}
.color-text-on-bg-ul {
    color: #fff;
}
.font-ul-title-h1-6 {
    font-family: 'Merriweather', serif!important;
}
.space-right {
    margin-right: 10px;
    margin-bottom: 0;
}
.image-resize-ul a {
    display: inline-block;
    margin-right: 10px;
}
.image-resize-ul img {
    max-width: 110px;
    max-height: 110px;
    object-fit: cover;
}
.same-box .resize-section {
    min-height: 649px!important;
}
@media screen and (min-width: 992px){
    .container {
        max-width: 1170px!important;
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .resize-col-author {
        flex-basis: 150px;
    }
}

.color-primary-ul {
    color: #E30D18!important;
}
.wrapper-title {
    position: relative;
    border-bottom: 2px solid #ddd;
    /* max-width: 300px; */
}
.wrapper-title-gray {
    border-bottom-color: #999;
}
.title-ul {
    margin:0;
    display: inline-block;
    position: relative;
    font-size: 26px;
    font-weight: bold;
    padding: 5px 10px 0 0;

}
.title-ul:before {
    content: " ";
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: -3px;
    border-bottom: 5px solid #E30D18;
}
.title-ul-white:before {
    border-bottom-color: #FFF!important;
}
.title-ul a {
    position:relative;
    z-index: 50;
}
.bg-wrapper-section {
    background-color: #fff;
}
.height-section-article {
    min-height: 488px;
}
.admin-bar .bg-pre-navbar {
    margin-top: 32px;
}
.admin-bar .navbar-ul {
    margin-top: 68px;
}
.admin-bar .bg-post-navbar {
    margin-top: 181px;
}


/* GENERAL */
/* PRE_NAVBAR */
.bg-pre-navbar {
    background-color: #000;
    color: #fff;
    font-size: 16px;
    padding: 5px;
}
.wrapper-icon {
    gap: 20px;
}
.wrapper-icon a {
    color: #fff;
}
/* PRE_NAVBAR */
/* NAVBAR */
.shadow-after-scroll {
    box-shadow: 5px 10px 18px #888;
}
.shadow-after-scroll .column-header:first-child {
    padding: 10px 0!important;
}
.shadow-after-scroll .column-header {
    padding-top: 0!important;
    padding-bottom: 0!important;
}
.admin-bar .shadow-after-scroll {
    margin-top: 32px;
}
.shadow-after-click-menu-father {
    box-shadow: inset 5px 0 10px 0 #888;
}
.navbar-ul {
    margin-top: 35px;
}
.wrapper-hamburger {
    flex-basis:13%;
}
.wrapper-mobile-logo {
    text-align: end;
}
.scrolled-logo {
    display: none;
}
/*#logo-normal {*/
/*    max-height: 90px;*/
/*}*/
#scroll-logo {
    max-height: 70px;
}
.hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    display: inline-block;
    border-bottom: 3px solid #000;
    width: 25px;
}
.text-adv {
    font-size: 15px;
}
.bg-color-adv-ul {
    background-color: #E30D18;
}
.banner-header {
    max-width: 720px;
}
.banner_resposive_560X200 div {
    display: flex;
    justify-content: space-between;
}
.banner_resposive_560X200 .wp_bannerize_layout_horizontal:after,
.banner_resposive_560X200 .wp_bannerize_layout_horizontal:before {
    content: none!important;
}
.banner_responsive img {
    max-width: 100%!important;
    height: auto!important;
}
.resize-column-sidebar-single {
    max-width: 375px;
}
.overlay_full_desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 34px);
    z-index: 10;
    background-color: rgba(0,0,0,0.5);
    display: none;
    margin-top: -34px;
}
#scf_principal_menu {
    overflow: auto;
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width:100%;
    max-width: 275px;
    height: calc(100vh + 34px);
    background: #FFF;
    padding: 80px 40px 0 40px;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
    animation-fill-mode: forwards;
    z-index: 100;
}

@keyframes fadeIn {
    0% { opacity: 0; display: none}
    100% { opacity: 1; display: block;}
}
@-webkit-keyframes fadeIn {
    0% { opacity: 0; display: none}
    100% { opacity: 1; display: block;}
}
.sub-menu-layer{
    position: fixed;
    left: 275px;
    top: 0;
    height: 100vh;
    background: #FFF;
    width: 275px;
    padding: 100px 40px 0 40px;
    overflow-y: auto;
}
.mobile-only-menu {
    max-width: 100%!important;
}
.temp-margin-top {
    margin-top: 34px;
}
.search-ul {
    margin-bottom: 20px;
    border-radius: 2rem;
    padding: 2px 10px;
    width: 100%;
    max-width: 200px;
}
.mobile-only-submenu {
    height: 100vh;
    overflow-y: scroll;
}
.wrapper-btn-close {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.button-close-sidebar {
    cursor: pointer;
}
#scf-menu-container a,
.scf-sub-menu a
{
    color: #000!important;
}
a.scf-nav-main-link,
a.scf-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scf-go-to-father {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    border: none;
    background: none;
    gap: 15px;
    margin-bottom: 15px;
}
.scf-go-to-father i {
    transform: rotate(180deg)
}
.logo-resize {
    max-width: 300px;
    height: auto;
    /*max-height: 90px;*/
}
/* NAVBAR */
/* POST_NAVBAR */
.bg-post-navbar {
    margin-top: 210px;
    background-color: #CF0C16;
    color: #fff;
    font-size: 16px;
    padding: 4px 0;
}
.news-post-navbar {
    height: 25px;
    overflow: hidden;
    position: relative;
}
.news-post-navbar > span{
    display: block;

    width: 100%;
    position: absolute;
    overflow: hidden;

    animation: marquee 15s linear infinite;
}
.news-post-navbar span {
    float: left;
    width: auto;
}
.title-marquee {
    font-style: italic;
    color: #FFF!important;
    margin-right: 10px;
}
@keyframes marquee {
    0% { left: 100%; }
    100% {left: -100% }
    /*100% { left: -100%; }*/
}
/* POST_NAVBAR
/* BANNER_SCF */
/* BANNER_SCF */
/* PRIMOPIANO */
.border-section {
    border-top: 2px solid #DDD;
}
.icon-link-arrow {
    margin-left: 5px;
}
/* PRIMOPIANO */
/* ATTUALITA'*/
.border-article {
    border-bottom: 2px solid #DDD;
}
.attualita-articoli p {
    margin: 0;
}
/* ATTUALITA'*/
/* CORNETTO */

/* CORNETTO */

/* SECTION_SLIDER */
.section-slider {
    max-width: 90%;
    margin: 0 auto;
}
.section-slider figcaption {
    color: #FFF;
    position:relative;
}
.section-slider .owl-nav {
    position: absolute;
    z-index: -1;
    top: 50%;
    width: 112%;
    transform: translateY(-50%);
    margin: -10px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
    font-size: 90px;
    font-weight: 200;
    margin-left: -60px;
}
.section-slider .owl-nav button:hover,
.section-slider .owl-nav button:focus {
    background-color: transparent!important;
    outline:none;
}
.border-bottom-slider {
    border-bottom: 1px solid #999;
}
.image_carousel img{
    object-fit: cover;
    width: 345px;
    height: 220px;
}
.image_carousel figcaption a {
    color: #FFF;
}

@media screen and (max-width: 1100px) {
    .section-slider .owl-nav {
        width: 114%;
    }
}
@media screen and (max-width: 991px) {
    .section-slider .owl-nav {
        width: 118%;
    }
}
@media screen and (max-width: 800px) {
    .section-slider .owl-nav {
        margin-left: -50px;
        width:121%;
    }
}
@media screen and (max-width: 700px) {
    .section-slider .owl-nav {
        width: 121%;
    }
}
@media screen and (max-width: 600px) {
    .section-slider .owl-nav {
        width: 120%;
    }
}
@media screen and (max-width: 500px) {
    .section-slider .owl-nav {
        width: 124%;
    }
}
@media screen and (max-width: 440px) {
    .section-slider .owl-nav {
        margin-left: -45px;
        width: 126%;
    }
}
@media screen and (max-width: 380px) {
    .section-slider .owl-nav {
        width: 130%;
        margin-left: -43px;

    }
}
@media screen and (max-width: 350px) {
    .section-slider .owl-nav {
        width: 132%;
        margin-left: -43px;

    }
}
/* SECTION_SLIDER */
/* BANNER_ADV */
.banner-adv {
    height: 100px;
    background-color: deepskyblue;
}
.banner-adv-big {
    height: 250px;
    background-color: deepskyblue;

}
/* BANNER_ADV */
/* MOLESKINE_ULISSE */
.ulisse-min-height .height-section-article {
    min-height: 524px;
}
/* MOLESKINE_ULISSE */
/* POLIFEMO */
.fluid-section .height-section-article {
    min-height: 524px;
}
/* POLIFEMO */
/* RUBRICHE*/
.rubriche-min-height .height-section-article {
    min-height: 524px;
}
/* RUBRICHE*/
/* PRE_FOOTER */
.wrapper-card-pre-footer {
    position: relative;
    min-height:365px;
}
.layer-opacity {
    position: absolute;
    top: 0;
    left: 0;
    width: 275px;
    height: 100%;
    background-color: rgba(0,0,0, 0.5);
}
.wrapper-text-footer {
    color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    width: 275px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 10px;
}
/* PRE_FOOTER */
/* FOOTER */
.footer-ul {
    color: #FFF;
}
.footer-ul ul {
    text-decoration: none;
    list-style-type: none;
    padding-left: 0;
}

.footer-ul ul a {
    color: #FFF;
}
.logo-footer {
    max-width: 50%;
}
.spacing-icon-footer {
    display: flex;
    gap: 50px
}
.app-link-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* FOOTER */

/* MOBILE */
@media screen and (max-width: 992px) {
	
	
.banner_1c_riga .wp_bannerize_container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
}


	.flexa_risultati{
		display:block!important;
	}
	
	.container-right.flexa-dx{
	margin-top:10px;
	}
	
	
    /* PRE_NAVBAR*/
    .font-size-update {
        font-size: 10px;
        display: flex;
        align-items: center;
    }
    /* PRE_NAVBAR*/
    /* NAVBAR */
    .height-mobile-logo {
        max-height: 84px;
    }

    /* NAVBAR */
}
@media (min-width: 768px) and (max-width: 992px) {
    .admin-bar .bg-post-navbar {
        margin-top: 267px;
    }
    .bg-post-navbar {
        margin-top: 267px;
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    .admin-bar .bg-post-navbar {
        margin-top: 230px;
    }
    .bg-post-navbar {
        margin-top: 244px;
    }
}
@media (max-width: 600px) {
    .admin-bar .shadow-after-scroll {
        margin-top: 0!important;
    }
}
@media (min-width: 400px) and (max-width: 576px) {
    .admin-bar .bg-post-navbar {
        margin-top: 233px;
    }
    .bg-post-navbar {
        margin-top: 241px;
    }
}
@media screen and (max-width: 400px) {
    .admin-bar .bg-post-navbar {
        margin-top: 215px;
    }
    .bg-post-navbar {
        margin-top: 225px;
    }
}

/*DETTAGLI*/
/*
    1. TAGS
    2. DETTAGLIO_ARTICOLO
    5. SECTION_TAGS
*/
/* STICKY*/
.wrapper_sticky {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    min-height: 100vh;
}
.child-wrapper-sticky {
    top:125px!important;
    padding-bottom: 24px;
}
/* STICKY*/
/* TAGS */
.tags {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tags a {
    color: #FFF;
}
.icon-open-tags{
    cursor: pointer;
}
/* TAGS */
/* DETTAGLIO_ARTICOLO */
.author-post {
    font-size: 14px;
    font-weight: bold;
}
/* DETTAGLIO_ARTICOLO */
.single-article img {
    max-width:100%;
    width:100%;
    height: auto;
}
/* SECTION_TAGS */
.border-section-tags {
    border-top: 1px solid #888;
    border-bottom: 1px solid #888;
    padding: 0 20px;
}
.content-section-tags {
    padding: 10px;
    border-right: 1px solid #888;
    border-left: 1px solid #888;
    border-bottom: 1px solid #888;
}

.content-section-autore {
	clear:both;
    padding: 10px;
    border: 1px solid #888;
	    margin-top: 15px;
}
#icon-show-tags {
    transform: rotate(180deg);
}
.icon-show-tags-rotated {
    transform: rotate(0deg)!important;
}
/* SECTION_TAGS */

/*
CATEGORIE
    1. JUMBO_IMAGE
    2. NOTIZIE
*/
/* JUMBO_IMAGE */
.notizie {
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.notizie > div {
    border: 2px solid #DDD;
    padding-bottom: 5px;
}
.notizie > div:nth-child(2n){
    border-right: none;
    border-top: none;
}
.notizie > div:nth-child(2n-1){
    border-top: none;
    border-right: none;
}
.notizie > div:nth-child(4n+1){
    border-top: none;
    border-left: none;
}
@media screen and (max-width: 992px){
    .notizie {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .notizie > div:nth-child(2n){
        border-right: none;
        border-top: none;
    }
    .notizie > div:nth-child(2n+1){
        border-top: none;
        border-left: none;
    }
}
@media screen and (max-width: 576px){
    .notizie {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .notizie > div {
        border-right: none;
        border-top: none;
        border-left: none;
    }
}
.jumbo-image {
    width: 100%;
    height: 375px;
    object-fit: cover;
}
/* JUMBO_IMAGE */
/* NOTIZIE */
.notizie h5.titolo-notizia {
    padding: 5px 0;
    font-size: 17px;
}
#tag-archive a {
    display: inline-block;
    background-color: #CF0C16;
    padding: 3px 8px;
}
.single-post-ul a {
    margin-right: 5px;
}
/* NOTIZIE */
.sidebar_interna .widget {
    margin-bottom: 30px;
}
.ul-pagination {
    margin: 0 auto;
    margin-top: 30px;
}

div#comments {
    margin-top: 30px;
}
div#comments input {
    width: 100%;
}
div#comments .form-submit {
    display: flex;
    justify-content: end;
}

div#comments .form-submit input {
    background-color: #CF0C16;
    color: #fff;
    width: auto!important;
}
.thumb-archive img {
    max-width: 100%;
    height: auto;
}
.sottotitolo-thumb {
	font-size: 16px;
}

blockquote::before {

font-family:'dashicons';
display: block;
font-size: 80px;
left: -230px;
top: -50px;
position: relative;
height: 0;
}
.badge-counter-post {
    background-color: #222222;
    color: #FFF!important;
    padding: 5px 8px;
}
.resize-menu {
    max-width: 550px;
}
.icon-left-quote:before,
.icon-right-quote:before {
    color: #000 !important;
}
#comments .comment-author img.avatar {
    display: none!important;
}
#comments .reply {
    display: flex;
    justify-content: end;


}
#comments .reply .comment-reply-link {
    background-color: #CF0C16;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    color: #FFF;
}
.title-single {
    font-weight: 700;
    font-size: 32px;
}
.title-top_news_index {
    font-weight: 700;
    font-size: 32px;
}
#content-single-post img {
    width:100%!important;
    height:auto!important;
}

figure.single-article.d-flex.justify-content-center{
	margin:0;
}


.ul-featured-caption {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.flexa_risultati {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}


.banner_1c_riga{
	padding:20px 5px;
}

.banner_1c_riga .wp_bannerize_container{
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
	
}