/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/*
    Home eventi luogo modificato in 
    /web/wordpress/wp-content/plugins/the-events-calendar/src/views/v2/widgets/widget-events-list/event/title.php
    
*/
.categoryColor{
    color: #00b2db!important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin:0!important;
    background-color: transparent;
}

.homeSeparatorAlessandro{
    color: #00b2db!important;
    margin-top: 6px;
    font-weight: 700 !important;

}

.ais-RefinementList-labelText{
    color:white!important;
    margin-right:1px;
    margin-bottom:3px;
    margin-top:3px;
    font-size: 12px;

}
.tdm-pmh-close{
    right: 1%;
  color: white!important;
}
#tdm-popup-modal-td_m_5294 .tdm-pmh-close{
text-align: center;
  display: block;
}
.ais-Menu-count, .ais-RefinementList-count, .ais-ToggleRefinement-count{
    padding: .01rem 0.3rem !important;
    font-size: .8rem !important;
    color: wheat !important;
    background-color: transparent !important;
}

.cmswt-Results .posted-on{
    font-size: .7rem;
    text-align: left !important;
    padding-top: 12px;
    font-weight: 300;
}


.cmswt-Results img{
    border-end-end-radius: 80px 80px;
}


.ais-Menu-count, .ais-RefinementList-count, .ais-ToggleRefinement-count::before {
    content: "( ";
  }

.ais-Menu-count, .ais-RefinementList-count, .ais-ToggleRefinement-count::after {
    content: " )";
  }

.ais-Panel-header span{
    color:white!important;
}
.cmswt-CollectionMenu--singleSource{
    visibility: hidden;
}
.cm_swt_instant_search_1.single-source{
    max-width: 1400px;
    margin: auto;

}
.cm-col-3{
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
.ais-Hits-item{
    display: flex;
    box-shadow: none!important;
    border-bottom:1px solid white!important;
    color:white!important;
}
.hit-content H5.title{
    color:white!important;
    font-weight: bold;
    margin-top:6px;
}

.hit-description{
    padding-top:0!important;
}

.hit-cat a{
    color:#00addb!important;
}

.hit-header{
    width:21%;
}
.hit-content{
    width:79%;
}

/* For modern browsers */
.ais-SearchBox-input{
    color: white!important;
}
.ais-SearchBox-input::placeholder{
    color: white!important;
}
.ais-SearchBox-input:-ms-input-placeholder{
    color: white!important;
}
.ais-SearchBox-input::-ms-input-placeholder{
    color: white!important;
}


@media only screen and (min-width: 768px){
    .cmswt-FilterPanel{
        width: auto;
        width:27%;
        margin-right:3%;
    }
    .cmswt-MainPanel{
        width:auto;
        width: 67%;
    }
}

.rheostat-tooltip{
    color: white !important;
}


.mx-auto{
    margin:auto;
}
/***SEARCH MENU****/

.cmswt-InstantSearch .ais-Panel-collapseIcon{
    display:block!important;
}
.cmswt-InstantSearch .ais-Panel-collapseIcon {
    color: #fff;
}
.select2-search.select2-search--inline textarea{
    /*display:none;*/
    min-height:unset;
}
#optionsSearch{
    width:100%;
    margin-bottom:6px;
}

.ais-SearchBox-form{
    display: flex;
}

#filtriAdd{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
}
#SelectSearch{
    width:100%;
    display:flex;
    padding-top:3px;
    padding-bottom:3px;
}

.ais-RefinementList-checkbox{
    width:1.5rem;
    height:1.5rem;
    margin-right:15px;
}

label.mx-auto{
    display:flex;
    align-items: center;
    justify-content: center;
}
.ais-RefinementList-date,.select2-selection--multiple{
    color: white;
    background-color: transparent!important;
    border: 0!important;
    border-bottom-color: currentcolor!important;
    border-bottom-style: none!important;
    border-bottom-width: 0px!important;
    border-bottom: 1px solid white!important;
    border-radius:0!important;  
    /* #1db9de */
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color:#00b2db;
    border-color:white;  
}
button.select2-selection__choice__remove{
    color:white!important;
}
.d-none-pc-ale{
    display:none !important;
}
.cmswt-FilterPanel-items--show{
    background-color: #1c4480 !important;
}

.clear{
    position: absolute;
    top: -3rem;
}
.hiddenBlock{
    visibility:hidden;
}


.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row {
    padding: 12px;
    margin:0 !important;
    border-top:1px solid #1c4480 !important;
  }


  .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__month-separator + .tribe-events-calendar-list__event-row {
    border-top:0px !important;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-g-row--gutters > .tribe-common-g-col {
    background-color: #1c448005 !important;
  }




.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search {
    display:none;
  }



  .tribe-common--breakpoint-medium.tribe-common .tribe-common-g-row--gutters > .tribe-common-g-col {
    display: flex;
    vertical-align: middle;
    align-items: center;
  }
  .tribe-events .tribe-events-calendar-list__event-date-tag-datetime {

    height: auto !important;

  }

  .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row > .tribe-common-g-col {
    display: flex;
    vertical-align: middle;
    align-items: center;
  }



.tribe-events .tribe-events-calendar-list__month-separator::before {
    background-color:#00addb;
    content: "";
    display: block;
    flex: auto;
    height: 1px;
    margin-right: 20px;
  }

  .tribe-events .tribe-events-calendar-list__month-separator::after {
    background-color:#00addb !important;
  }

.tribe-events-calendar-list {
    display: flex;
    flex-wrap: wrap;
  }
  
  h2.tribe-events-calendar-list__month-separator {
    flex: 0 0 100%; /* Full width for h2 elements */
  }
  
  div.tribe-common-g-row.tribe-events-calendar-list__event-row {
    flex: 0 0 100%; /* 50% width for div elements */
    margin-left: 0!important;
    margin-right: 0!important;
    /*border-bottom:2px solid #00addb;*/
  }
  img.tribe-events-calendar-list__event-featured-image{
    max-width: none!important;
    width: 60%;
    
  }
  .tribe-events-calendar-month__calendar-event-datetime time{
    display: none;
  }
  .tribe-events-c-subscribe-dropdown__container{
    display: none!important;
  }
  .tribe-events-calendar-list__event-date-tag.tribe-common-g-col{
    width:10%;
    min-width: unset;
  }
  .tribe-events-calendar-list__event-date-tag.tribe-common-g-col{
    width:90%;
  }
  a.tribe-events-calendar-list__event-featured-image-link{
    width: 100%;
    height: 100%;
  }
  small.tribe-events-calendar-list__organizer{
    color:#00abda;
    font-size: 150%;
    margin-top: 30px;
  }
  h4.tribe-events-calendar-list__event-title.tribe-common-h6.tribe-common-h5--min-medium{
    margin-bottom:0!important;
  }



/*
@media ( (orientation: portrait) ) or ( (orientation: landscape) and (min-device-width: 480px) and (max-device-width: 1000px)  ) {
*/
    @media (orientation: portrait) , ((orientation: landscape) and (min-device-width: 480px) and (max-device-width: 1000px)){
    .d-none-mobile-ale, .td-menu-login-section{
        display:none !important;
    }
    .d-none-pc-ale{
        display:flex !important;
    }
    #td-mobile-nav,#td-search-background,#td-menu-background{
        background-color: #1c4480!important;
    }
    .td-mobile-content .current-menu-item > a{
        color: #00b2db;
    }
    .td-menu-background::before, .td-search-background::before{
        background: #1c4480!important;
    }
    .td-search-opened .cmswt-InstantSearchPopup{
        opacity:1;
        z-index:300;
        background: #1c4480!important;
    }
    .cmswt-InstantSearchPopup--results{
        background: #1c4480!important;
    }
    .td-search-opened .td-search-wrap-mob , .td-search-opened .td-search-background{
        display: none;
    }
    .hit-description{
        color:white;
    }
    .hit-content,.hit-header{
        width:100%;
    }
    .cmswt-Results img{
        border-radius: 0;
    }
    .cmswt-FilterPanel-itemsPopupHeader{
        display:none;
    }
    .cmswt-SubHeader .cmswt-CollectionMenu{
        display: none;
    }
    .cmswt-SubHeader{
        margin-top: 0.3em;
        margin-bottom: 0;
    }
    .ais-SortBy{
        background-color: transparent;
        color:white;
    }
    .ais-SortBy select{
        background-color: transparent;
        color:white;
        font-size: 14px;
        padding:0.5rem!important;
    }
    .cmswt-FilterPanel-toggle{
        margin-top:0.9em;
        color:white;
    }
    /*.posted-on span{
        display: none!important;
    }*/
    .cmswt-FilterPanel-itemsContent{
        padding-top:15vh !important;
    }
    #closeSearchMobile{
        position:absolute;
        top: 2vh;
        right: 3.9vw;
        width:4.5vw;
        color: white;  
    }
    #closeSearchMobile .td-icon-close-mobile{
        color: white;
        position: relative;
    }
    .td-search-opened #closeSearchMobile{ 
        display: block!important;
        z-index: 301;
    }
    .cmswt-InstantSearchPopup--closeIcon{
        display: none!important;
    }

    .td-mobile-content .current-menu-item > a, .td-mobile-content .current-menu-ancestor > a, .td-mobile-content .current-category-ancestor > a, #td-mobile-nav .td-menu-login-section a:hover, #td-mobile-nav .td-register-section a:hover, #td-mobile-nav .td-menu-socials-wrap a:hover i, .td-search-close span:hover i{
        color:#00b2db !important;
    }
    .tdi_75 h2.tdb-title-text {
        font-size: 24px !important;
    }
    .clear{
        background: #0096db;
        border-radius: 5px;
        color: #fff;
        display: inline-block;
        font-weight: bold;
        padding: 1rem;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        width: 100%;
        box-shadow: none;
        border: none;
        position: absolute;
        left:1.5rem;
        width: calc( 100% - 3rem );
        top:-3rem;
    }
    #menu-item-53948,#menu-item-128873/*,.print-pdf-button-aleNew*/{
        display: none !important;
    }
    #whatsappBlock{
        display: block!important;
    }
  
    div.tribe-common-g-row.tribe-events-calendar-list__event-row {
        flex: 0 0 100%; /* 50% width for div elements */
      }
      .tribe-events-calendar-list__event-date-tag.tribe-common-g-col{
        width:15%!important;
      }
}
#inputSearchInPage,.button-primary-searchInPlace,.button-danger-searchInPlace{
    height:39px;
    font-size:16px;
}
#inputSearchInPage{
    color:#666;
    border-radius: 9px;
    width:50%;
    margin:auto;
}
.button-primary-searchInPlace{
  color: #2271b1;
  border-color: #2271b1;
  background: #f6f7f7;
  width:12.5%;
  margin:auto;
}

.button-danger-searchInPlace{
    color: #721c24;
    border-color: #721c24;
    background: #f6f7f7;
    width:12.5%;
    margin:auto;
}

.autoreScritta{
    font-family: Montserrat !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    color: #000;
}

@media print{
    body{
        width:100%!important;
    }
    .td-pb-span4.td-is-sticky{
        display: none!important;
    }
}

.td-post-category:hover{
    background-color: transparent !important;
}


#myModal{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    min-height:100%;
    z-index:99999;
    background-color:#1c4480AA;
    text-align: center;
    justify-content: center;
}

#myModal #modal-body-content{
    
    width:90%;
    max-width:1280px;
    margin:auto;
    margin-top:0;
    height: auto;
    padding:5%;
    background-color: white;
    overflow-y: auto;
    border-radius: 9px;
}
#myModal .vc_column.tdi_108.td-is-sticky{
    display: none;
}
#myModal .tdc-row{
    width:100%!important;
}
#myModal .td-pb-span8{
    width:100% !important;
}
@media (min-width: 1141px) {
    #myModal .tdi_112{
        display:flex!important;
    }
}
.modalOpenForSearchPreview{
    overflow-y: auto!important;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1;
    background-color: white;
    padding: 10px;
    margin-left: -5%;
    margin-top:-5%;
    border-radius:9px;
    padding-left:3%;
    padding-right:3%;
  }
  
  .modal-buttons button  , .modal-buttons a {
    padding: 10px 20px;
  }
  #myModal .tdm_block.tdm_block_button{
    display: none!important;
  }
  #myModal .tdi_103{
    display: block!important;
  }

  .modal-buttons{
    
    width:90%;
    max-width:1280px;
  }

  #goToArticleButton,#closeButton,#openNewTabArticleButton{
    color: #0096db;
    background-color: #fff;
    border-radius: 9px;
    border: 1px solid #0096db;
    box-shadow: none;
    font-size: 10px;
  }
  #goToArticleButton{
        margin-left: auto;
        margin-right: 9px;
    }
  #goToArticleButton:hover,#closeButton:hover,#openNewTabArticleButton:hover{
    background-color: #0096db;
    color: #fff;
    border-radius: 9px;
    border: 1px solid #0096db;
    box-shadow: none;
  }
  
  #myModal .tdi_78 ,#myModal .tdi_81, #myModal .tdi_87,#myModal .tdi_71,#myModal .tdi_88{
    border-bottom: none!important;
    margin-bottom:0!important;
    padding-bottom: 0 !important;
  }
  #myModal .tdi_81{
    border: none!important;
  }
  #myModal .tdi_106 ,#myModal .tdi_85{
    border:none;
    box-shadow: none;
  }
  #myModal #tdi_89{
    display: none!important;
  }

#myModal .td-main-content-wrap.td-container-wrap{
  padding-top: 30px;
}



mark{
    color:#ffffff!important;
    background-color:#00b2db!important;
}

h2 mark{
    background-color: #00b2db;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

td,th{
    vertical-align: top!important;
}
p,.justify,td,div.td-excerpt,li,ul,ol{
    text-align: justify;
}
.has-text-align-center{
    text-align: center;
}
.has-text-align-left{
    text-align: left;
}
.has-text-align-right{
    text-align: right;
}

.sottotitoloContenuto{
    color: #1c4480;
    font-family: Montserrat !important;
    font-weight: 500 !important;
    font-size:18px;
}


.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure it's above other content */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

p,button,td,th,tr,span,a,b,strong{
    break-inside: avoid;
}

.modal-body-content .tdi_115{
    box-shadow:none!important;
}
@media screen and (orientation: portrait){

    #modal-body-content .tdb_single_content .tdb-block-inner > div{
        margin:0 !important;
    }

    .tdm-btn-icon.tdm-btn-icon-svg{
        fill:white;       
    }
    .tdm-popup-modal.td-theme-wrap{
        width:100%;
        padding: 0 2em 2em 2em;
    }
    .ais-Hits-item{
        display: block;
    }
    .tdm-popup-modal-prevent-scroll{
        overflow-y: auto!important;
        overflow-x: hidden!important;
    }
    html{
        /*position:relative;*/
    }
    #tdm-popup-modal-td_m_5294{
        height:auto;
        display: none;
    }
    #tdm-popup-modal-td_m_5294.tdm-popup-modal-open{
        display: flex;
    }
    .tdm-popup-modal-prevent-scroll .tdm-popup-modal-wrap{
        position: absolute!important;
        top:0;
        left:0;
    }
    .modal-buttons{
        position: relative;
        margin:auto!important;

    }
    .cmswt-InstantSearchPopup{
        /*display: none!important;*/
    }
}


    #wp-block-file--media-f3649072-f553-46d0-bb82-a171c4917db4{
        display: none;
    }
#tdm-popup-modal-td_m_5294 .tdm-pm-body {
  padding: 66px 20px!important;
}

@media screen and (max-width: 767px){
      #tdm-popup-modal-td_m_5294 .tdm-pm-body {
        padding: 52px 0!important;
      }
}
.indentation,.indentation *{
    text-indent: 0!important;
    padding-left: 0!important;
    margin-left:0!important;
}

*{
    text-indent: 0!important;
}


#modal-alessandro{
    background-color: #00000077;
    width:100vw;
    height:100vh;
    position:fixed;
    top:0;
    left:0;
    z-index:9999;
    display:flex;
    justify-content: center;
    align-items: center;
}

.modal-ale-content{
    margin: auto;
    width:90%;
    max-width:414px;
    background-color: white;
    border-radius:9px;
    padding:15px;
}

.image-modal{
    width:60%;
    margin-left:20%;
}

.image-modal img{
    border-radius: 15px;
}

.text-modal{
    width: 100%;
    margin-bottom:24px;
}

.text-modal h3{
    width: 100%;
    text-align: center;
    color: #1c4480;
    font-family: Montserrat !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
}

.text-modal h5{
    width: 100%;
    text-align: justify;
    font-family: Montserrat !important;
    font-weight: normal !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.button-modal{
    width: 100%;
    text-align: left;
    display: flex;
}
.button-modal button{
    width:40%;
    margin:auto;
    border:none;
    border-radius:0;
    text-transform: uppercase;
    text-align:center;
    font-size:0.9rem;
    box-shadow: none;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    border-radius: 6px;
}
.button-modal button:nth-child(2){
    color:white;
    background-color: #1c4480!important;
}
.button-modal button:nth-child(1){
    color: #1c4480;
    background-color: white!important;
    border:1px solid #1c4480;
}
#abstract_content{
    display: block!important;
}

.tdc-tab-content-wrap .tdc-textfield-extrabig .tdc-property {
  display: block!important;
}
.tdc-tab-content-wrap .tdc-textfield-small .tdc-property {
  display: block!important;
}