.td-main-content-wrap {
    padding-bottom: 0px;
}

@media screen and (max-width: 767px) {
    .tdb-header-align {
        margin-bottom: 0px !important;
    }
}

.td-wp-booster-error {
    display: none;
}

.mt-0 .tds-button {
    margin-top: 0;
}


/* font excerpt */

@media screen and (min-width: 768px) {
    .td-excerpt {
        font-size: 14px;
    }
}


/* Red */

.au-red-bg {
    background-color: #dd3333;
}

.au-red-tit.td_block_template_1 .td-block-title span {
    background-color: #dd3333;
}

.au-red-tit.td_block_template_1 .td-block-title {
    border-bottom: 2px solid #dd3333;
}

.au-red-btn>.tds-button a {
    background-color: #dd3333;
}


/* Lightblue */

.au-lightblue-tit.td_block_template_1 .td-block-title span {
    background-color: #4db2ec;
}

.au-lightblue-tit.td_block_template_1 .td-block-title {
    border-bottom: 2px solid #4db2ec;
}

.au-lightblue-bg {
    background-color: #4db2ec;
}


/* Logo */


/* .tdb-logo-img-wrap>img {
    width:100%;
}
@media screen and (min-width: 768px) {
	.tdb-logo-img-wrap>img {
        height: 120px;
    } 
} */

@media screen and (max-width: 767px) {
    .tdb_header_logo .tdb-logo-img-wrap img {
        padding: 6px 0;
        height: 60px;
        width: auto;
    }
    #tdi_3_e89 {
        padding-right: 15px;
        padding-left: 15px;
    }
    .tdb-mobile-menu-button i {
        width: 60px;
        height: 60px;
        line-height: 64px;
    }
}


/* Radio Button */

.au-btn-radio a {
    width: 100%;
}

.au-btn-radio i {
    font-size: 20px;
}


/* Ultime notizie in Home */


/* @media screen and (max-width: 768px) {
    .td-md-is-ios .td-trending-now-display-area {
        height: 56px;
    }
} */

.td-trending-now-wrapper {
    overflow: visible !important;
}

.td-trending-now-wrapper .entry-title {
    line-height: 1.2rem;
}

.au-comuni {
    z-index: 9;
}


/*Flip on mobile */

@media screen and (max-width: 767px) {
    .flip-mobile .tdm-row {
        display: flex;
        flex-direction: column;
        width: 100%;
        flex-flow: column-reverse;
    }
}


/* Image post category page */


/* .td-main-content img.entry-thumb {
    object-fit: cover;
    width: 100%;
    height: 160px;
} */

.td-big-grid-wrapper img.entry-thumb {
    object-fit: cover;
    height: 100%;
    width: 100%;
}


/* Padding bottom in category page*/

.category .td-main-content .td-load-more-wrap {
    margin-bottom: 26px;
}


/* Single Post Template */

.td-post-template-1 .td-featured-image-rec {
    float: right !important;
    margin-left: 18px !important;
    margin-right: 0 !important;
}

.td-social-whatsapp {
    display: inline-block !important;
}

.td-ps-bg .td-social-mail .td-social-but-icon,
.td-ps-bg .td-social-mail .td-social-but-text {
    background-color: #dd3333 !important;
}

.td-post-featured-image figcaption.wp-caption-text {
    display: none;
}


/* hide whatsapp, di cosa parlare a cena e top news */

.td-post-header>ul.td-category>li>a[href*="top-news"],
.td-post-header>ul.td-category>li>a[href*="di-cosa-parlare-a-cena"],
.td-post-header>ul.td-category>li>a[href*="whatsapp"] {
    display: none;
}


/* Hide "altro dall'autore" */

.td-related-title>.td-related-right {
    display: none;
}


/* Author page */

.td-author-comments-count {
    display: none;
}


/* Pagination Youtube */

.epyt-gallery .epyt-pagination:nth-child(1) {
    display: none;
}

.epyt-gallery .epyt-pagination {
    text-align: left;
    margin: 30px 0;
}

.epyt-gallery .epyt-pagination>.epyt-pagebutton {
    padding: 5px 11px;
    border: 1px solid #e3e3e3;
    display: inline-block;
    margin: 0 8px 8px 0;
    min-width: 33px;
    text-align: center;
    color: #666;
    line-height: 21px;
    font-size: 12px;
}

.epyt-gallery .epyt-pagination>.epyt-pagebutton:hover {
    color: #fff;
    background-color: #444;
    border-color: #444;
}

.epyt-gallery .epyt-pagination>.epyt-prev:before {
    content: '\e80c';
    font-family: 'newspaper';
    line-height: 1;
    text-align: center;
    font-size: 9px;
    padding-right: 1px;
}

.epyt-gallery .epyt-pagination>.epyt-next:before {
    content: '\e80d';
    font-family: 'newspaper';
    line-height: 1;
    text-align: center;
    font-size: 9px;
    padding-left: 1px;
}

.epyt-pagebutton>div {
    display: none !important;
}

.epyt-gallery .epyt-pagination>.epyt-pagenumbers {
    float: right;
    color: #666;
    line-height: 21px;
    font-size: 12px;
}

.epyt-gallery .epyt-pagination>.epyt-pagenumbers>.epyt-current:before {
    content: "Pagina";
    padding-right: 4px;
}

.epyt-gallery .epyt-pagination>.epyt-pagenumbers>.epyt-current:after {
    content: "di";
    padding-left: 4px;
}

.epyt-gallery .epyt-pagination>.epyt-pagenumbers>.epyt-pageseparator {
    display: none;
}

.epyt-pagebutton.hide {
    opacity: 0.5 !important;
    display: inline-block !important;
    visibility: visible !important;
    cursor: auto;
}

@media screen and (max-width: 767px) {
    /* .epyt-gallery .epyt-pagination>.epyt-prev:before,
    .epyt-gallery .epyt-pagination>.epyt-next:before {
        display: none;
    } */
    .epyt-gallery .epyt-pagination>.epyt-prev>div:nth-child(2),
    .epyt-gallery .epyt-pagination>.epyt-next>div:nth-child(1) {
        opacity: 0;
    }
}


/* Video Gallery */

.epyt-gallery-list {
    margin-top: 30px !important;
}

.single-format-video .tdb_single_content {
    margin-top: -500%;
}


/* @media screen and (max-width: 767px) {
    .epyt-gallery-list {
        margin-top: -210% !important;
    }
} */


/* Video Streaming */

.home .fluid-width-video-wrapper {
    /* margin-bottom:-465%; */
    margin-bottom: -335%;
}


/* @media screen and (max-width: 767px) {
    .home .fluid-width-video-wrapper {
        padding-bottom: 160%;
        padding-bottom: 125%;
    }
} */


/* Video Post */

.type-post .fluid-width-video-wrapper {
    margin-bottom: -325%;
}


/* Video in Home */

.nano-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.nano-video iframe,
.nano-video object,
.nano-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Video Facebook */

#cff .cff-album-item .cff-album-info {
    height: auto;
}

body.video-news #cff a.cff-video {
    border-radius: 8px;
}

.cff-album-info {
    text-align: left;
}

#cff .cff-album-item h4 {
    text-transform: uppercase;
}

#cff .cff-album-item {
    margin-bottom: 40px;
}

.cff-col-1 {
    display: flex;
}

.vc_widget_sidebar,
#wef_widget-2 {
    margin-bottom: 10px !important;
}

.videosidebar #cff .cff-album-item h4 {
    line-height: 20px;
    font-weight: 500;
}

.videosidebar #cff .cff-album-item h4 {
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#cff .cff-album-item p {
    font-size: 14px !important;
    color: gray;
    margin: 5px 0 0 0;
    font-family: 'Open Sans', arial, sans-serif;
    margin-top: 9px;
}

.videosidebar .cff-album-info {
    padding: 0 0 0 16px;
}

.videosidebar #cff a.cff-video {
    height: 70px !important;
    overflow: hidden;
    background-image: none;
    flex: 30% 0 0;
}

.videosidebar #cff .cff-album-item {
    padding-bottom: 13px;
    margin-bottom: 13px;
}

#cff .cff-playbtn {
    margin-top: -16px !important;
    margin-left: -16px !important;
    padding: 8px 10px !important;
    font-size: 16px !important;
}

.cff-lightbox-data .cff-lightbox-close {
    float: none;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    opacity: 1;
    background-color: white;
    border-radius: 50%;
    padding: 3px 5px;
}

.cff-lightbox-closeContainer {
    position: fixed;
    z-index: 9999;
    right: 20px;
    top: 36px;
}


/* Table Staff */

.tdm-team-member-wrap table td {
    border: none;
}


/* Palinsesto */

.red-arrow .tdm-list-item i {
    color: #dd3333;
}

.palinsesto-radio-tv .tdm_block_list {
    margin-bottom: 0;
    padding-bottom: 0;
}

.palinsesto-radio-tv .tdm-list-items img {
    margin-left: 4px;
}


/* Footer */

.td-footer-logo {
    display: none;
}

.td-footer-wrapper li a {
    cursor: pointer;
}


/* Mobile Theme */

.au-staff-tit:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 10px;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #000 transparent transparent transparent;
}


/* .au-mobile-btn {
    background-color: #4db2ec;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    font-size: 15px;
    font-weight: 500;
    line-height: 52px;
    height: 55px;
    padding: 0 36px;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    position: relative;
    pointer-events: auto!important;
}
.au-mobile-btn:before {
    content: '';
    background-color: #222;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: -1;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
} */

@media screen and (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
    .td_module_6 .td-module-thumb img.entry-thumb {
        width: 100px !important;
        height: 70px !important;
        object-fit: cover;
    }
}

@media screen and (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
    .home .page-nav {
        z-index: 9999;
        position: relative;
    }
    .tdm-btn-lg {
        font-size: 14px;
        line-height: 50px;
        height: 50px;
        padding: 0 30px;
        color: white;
        font-weight: 500;
        font-family: roboto;
    }
    /* a.td-image-wrap, .td_module_mob_2 .td-module-thumb {
        height: 200px !important;
    } */
    /* .tdb-single-related-posts .td-category-pos-image .td-post-category {
        display: none;
    } */
    .tdb-single-related-posts .td-image-container {
        height: 59px;
    }
    /* Sottocategorie  */
    .td-category-siblings {
        display: none;
    }
    /* Sottocategorie Sport */
    .category-sport .td-category-siblings {
        display: block !important;
    }
    .category-sport .td-category-siblings ul {
        overflow: visible;
    }
    .td-footer-wrap .block-title {
        display: none;
    }
    /* Stilizzazione tit template 3*/
    .td_block_template_3 .td-block-title span {
        background-color: #000000;
        color: white;
        padding: 4px 12px;
        font-size: 16px;
        font-weight: normal;
    }
    /* Stilizzazione tit template 3*/
    .td_block_template_1 .td-block-title span {
        background-color: #000000;
        color: white;
        padding: 7px 12px 4px;
        font-weight: normal;
    }
    .td_block_template_1 .td-block-title {
        /* border-bottom: 2px solid #000000; */
        font-size: 14px;
        text-align: left;
        line-height: 1.8;
    }
    /* Box Icon*/
    .tdm-content-horiz-center .tds-icon-box .tdc-font-tdmp {
        font-size: 42px;
    }
    .tds-icon-box h3 {
        font-size: 16px;
    }
    .tdm-content-horiz-left .tds-icon-box .tdc-font-tdmp {
        font-size: 30px;
    }
    .tdm-content-horiz-left .tds-icon-box .tdm-title {
        margin-bottom: 0;
        margin-left: 10px
    }
    .tdm-content-horiz-left .tds-icon-box .tdm-descr {
        margin-bottom: 0;
    }
    /* Padding dei moduli */
    .td_block_wrap {
        margin-bottom: 30px;
    }
    .td-pb-row .tdm-fix-full {
        margin-left: 0;
        margin-right: 0;
    }
    .tdm-fix-full .tdm-text-wrap {
        margin-left: -20px;
        margin-right: -20px;
    }
}


/* Privacy button */


/* .qc-cmp-persistent-link {
    right: auto !important;
} */


/* Mobile footer */

.widget .td-social-icon-wrap {
    background-color: #222;
    color: #fff;
}

.widget .td-social-icon-wrap .td-icon-font {
    font-size: 14px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
}

.widget .td-social-icon-wrap:hover i {
    color: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 767px) {
    .widget_nav_menu {
        margin-bottom: -38px !important;
    }
    .menu-footer-new-container {
        text-align: center;
    }
    .menu-footer-new-container ul {
        display: inline-flex;
        flex-wrap: wrap;
    }
    .menu-footer-new-container ul li {
        margin-left: 8px !important;
        margin-right: 8px;
    }
    .td-sub-footer-menu li {
        margin-bottom: 0;
    }
}


/* Fix desktop theme on desktop */

@media screen and (max-width: 767px) {
    .td-main-sidebar {
        display: none !important;
    }
}


/* WP-Poll */

.wp-polls input {
    padding: 0 36px;
}


/* ADS AMP */


/* @media(max-width: 767px) {
    .td-post-content amp-img,
    .td-post-content amp-anim {
    	margin-bottom: 0px;
	}
    .g-20, .g-21 {
        max-width: 50% !important;
        float: left;
        display: table;
    }
    .g-17, .g-18, .g-19 {
        max-width: 33% !important;
        float: left;
        display: table;
    }
    .g-17, .g-18, .g-19 {
       margin-top: 0px;
    }
} */


/* Palinsesto giornaliero */

.widget-prog-settimanali {
    margin-bottom: 0px !important
}

.widget-prog-settimanali .block-title span {
    line-height: 31px;
    padding: 0px 10px;
    color: #fff;
    font-size: 16px;
}

.widget-prog-settimanali .block-title {
    border-bottom: 0;
}

.widget-prog-settimanali .textwidget img {
    margin-bottom: 0;
    margin-left: 2px;
}


/* OROSCOPO */

.segno-zodiacale {
    border-bottom: 1px solid #ccc;
    margin-bottom: 38px;
    text-align: center;
}

.segno-zodiacale strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    font-family: Lato;
    font-weight: 400;
}

.segno-zodiacale img {
    width: 50px;
    height: auto;
}


/* FARMACIE */


/* .input-container select {
    display: block;
	font-size: 14px;
	font-weight: 700;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234DB2EC%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

.input-container select::-ms-expand {
	display: none;
}
.input-container select:hover {
	border-color: #888;
}
.input-container select:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222;
	outline: none;
}
.input-container select option {
	font-weight:normal;
} */

table.table-fdt {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.table-fdt td {
    border: 1px solid #f0f0f0;
    text-align: left;
    padding: 8px;
}

.table-fdt tr:nth-child(even) {
    background-color: #f0f0f0;
}


/* Support for rtl text, explicit support for Arabic and Hebrew */


/* *[dir="rtl"] .input-container select, :root:lang(ar) .input-container select, :root:lang(iw) .input-container select {
	background-position: left .7em top 50%, 0 0;
	padding: .6em .8em .5em 1.4em;
} */


/* Disabled styles */


/* .input-container select:disabled, .input-container select[aria-disabled=true] {
	color: graytext;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
}
.input-container select:disabled:hover, .input-container select[aria-disabled=true] {
	border-color: #aaa;
} */

@media screen and (min-width: 768px) {
    #fdt-filters .input-container {
        flex: 48%;
    }
    #fdt-filters .input-container:first-child {
        margin-right: 4%;
    }
    #fdt-filters {
        display: flex;
    }
}

#fdt-filters {
    font-family: 'Open Sans';
}

#fdt tr {
    font-size: 13px;
    font-family: 'Open Sans', arial, sans-serif;
}

td.td-oggi,
td.td-domani {
    text-align: right;
    font-family: 'Open Sans', arial, sans-serif, monospace;
    white-space: nowrap;
}

th.th-oggi,
th.th-domani {
    text-align: right;
}

table.dataTable.no-footer {
    border-bottom: none;
}

table th {
    border: 1px solid #ededed !important;
}


/* Ninja Form */

.nf-form-content input[type=button] {
    background: #4db2ec !important;
    width: 100px !important;
}


/* CUSTOM TEMPLATE */

@media screen and (min-width: 768px) {
    .au-post-image-template {
        max-width: 300px;
        margin-left: 16px;
        float: right;
    }
    .au-post-template {
        clear: none;
    }
}

.au-post-share-template .td-post-sharing {
    display: none !important;
}

.au-post-image-template {
    z-index: 99999;
}

@media screen and (max-width: 767px) {
    .tdb-author-box a.tdb-author-photo {
        display: table-row !important;
        padding-left: 21px;
    }
}

@media screen and (min-width: 768px) {
    .aka.tdc-font-fa-whatsapp:before,
    .aka.tdc-font-fa-telegram:before {
        font-family: 'newspaper';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        color: white;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
    }
    .aka.tdc-font-fa-telegram:before {
        content: '\f2c6';
    }
    .aka.tdc-font-fa-whatsapp:before {
        content: '\f232';
    }
}

@media(min-width: 768px) {
    .post-ads>div {
        margin: 30px 5px 15px 0;
    }
    .post-ads {
        display: flex;
    }
}

@media(max-width: 767px) {
    .tdm_block.tdm_block_button {
        margin-bottom: 0;
    }
    .post-ads>div {
        margin: 30px auto 15px auto;
    }
}


/*
              _                                                                   _   
     /\      | |                                                                 | |  
    /  \   __| |___   _ __ ___   __ _ _ __   __ _  __ _  ___ _ __ ___   ___ _ __ | |_ 
   / /\ \ / _` / __| | '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ '_ ` _ \ / _ \ '_ \| __|
  / ____ \ (_| \__ \ | | | | | | (_| | | | | (_| | (_| |  __/ | | | | |  __/ | | | |_ 
 /_/    \_\__,_|___/ |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|_| |_| |_|\___|_| |_|\__|
                                                   __/ |                              
                                                  |___/                               
*/

.banner-medium-half-rectangle,
.banner-medium-rectangle,
.banner-small-square,
.banner-leaderboard,
.banner-inline,
.banner-half-page {
    background-color: #f8f9fa;
    outline: 1px solid #dee2e6 !important;
    box-sizing: border-box;
    position: relative;
}

.banner-medium-half-rectangle>*,
.banner-medium-rectangle>*,
.banner-small-square>*,
.banner-leaderboard>*,
.banner-inline>*,
.banner-half-page>* {
    background-color: white;
    position: relative;
    z-index: 5;
}

.banner-medium-half-rectangle::after,
.banner-medium-rectangle::after,
.banner-small-square::after,
.banner-leaderboard::after,
.banner-inline::after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    background-image: url('https://www.radiosienatv.it/wp-content/uploads/2019/11/logo-retina.png');
    width: 100%;
    height: 100%;
    background-size: 150px auto;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    pointer-events: none;
    opacity: 0.2;
    filter: grayscale(1);
}


/*
.banner-small-square,
.banner-small-square ins {
    display: inline-block;
    width: 200px;
    height: 200px;
}

.banner-medium-rectangle,
.banner-medium-rectangle ins {
    display: inline-block;
    width: 300px;
    height: 250px;
}

.banner-medium-half-rectangle,
.banner-medium-half-rectangle ins {
    display: inline-block;
    width: 300px;
    height: 125px;
}

.banner-inline {
    height: 280px;
    max-height: 320px;
}

.banner-half-page {
    max-height: 600px;
    width: 300px;
}

@media screen and (max-width: 768px) {
    .banner-leaderboard,
    .banner-leaderboard ins {
        width: 320px;
        height: 50px !important;
    }
}
*/

#div-gpt-ad-RSTV-sticky-footer {
    background-color: white;
}

@media screen and (min-width: 768px) {
    /*
    .banner-leaderboard,
    .banner-leaderboard ins {
        width: 728px;
        height: 90px;
    }
*/
    .mobile-ad {
        display: none;
    }
}


/* -------------------------- Facebook Sticky Video ---------------------------------------------------- */

@keyframes fade-in-up {
    0% {
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-wrap {
    text-align: center;
    position: relative;
}

div.video-wrap>div.video>figure.op-interactive {
    height: 100% !important;
    position: absolute;
    width: 100% !important;
}

.video-wrap .video {
    background: black;
}

.video-wrap .video.stuck {
    height: 0;
    z-index: 999;
    position: fixed;
    bottom: 3.5rem;
    right: 1rem;
    animation: fade-in-up 0.25s ease forwards;
    padding-bottom: 16.875%;
    margin: 0px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    width: 30%;
}

.video-wrap .fb-video.fb_iframe_widget {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.video-wrap .video.stuck .button-close {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    z-index: 999;
    color: white;
    display: none;
    background: #666;
    line-height: 1px;
    border-radius: 50%;
    border: none;
    font-size: 12px;
}

.video-wrap .video .overlay-panel-video {
    width: 100%;
    height: 100%;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}

.video-wrap .video.stuck .button-close {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    z-index: 999;
    color: white;
    background: #666;
    line-height: 1px;
    border-radius: 50%;
    border: none;
    font-size: 12px;
}

.video-wrap .fb-video span,
.video-wrap iframe {
    width: 100% !important;
    height: 100% !important;
}

.video-wrap .ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.video-wrap iframe {
    background-color: black;
}

@media screen and (max-width: 768px) {
    .video-wrap .video.stuck {
        width: 60%;
        bottom: 90px;
        padding-bottom: 33.75%;
    }
    .video-wrap .video.stuck .fb_iframe_widget_fluid_desktop iframe {
        min-width: 10px;
    }
    .video-wrap .video.stuck .button-close {
        top: -10px;
        left: -15px;
        width: 20px;
        height: 20px;
        padding: 6px;
    }
}

.cff-posts-wrap {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
    grid-gap: 1em;
}

#cff p.cff-empty-album {
    display: none !important;
}

#cff .cff-album-item.cff-col-3 {
    margin: 0 0 40px 0 !important;
    width: 100% !important;
}

/* QUANTCAST CHOICE */
#qc-cmp2-persistent-link {
    right: auto !important;
    left: 0;
}

/* Dalla Provincia */
@media screen and (max-width: 767px) {
    body.category-provincia .td-main-sidebar {
        display: block !important;
    }
    body.category-provincia .td-main-sidebar .td-ss-main-sidebar > div {
        display: none !important;
    }
    body.category-provincia .widget_nav_menu {
        margin-bottom: 38px !important;
    }
}