:root {
  --plyr-color-main: var(--green);
  --plyr-font-size-small: 15px;
}

/* Typography - Overwrites GP settings to use em */

/*html body {
  font-size: 21px;
  font-family: 'Newsreader', serif;
  background: url('assets/img/so-white.png') repeat;
  overflow-x: hidden;
  max-width: 100%;
}*/

html body {
  font-size: 21px;
  font-family: 'Newsreader', serif;
  overflow-x: hidden;
  max-width: 100%;
}

html body:not(.tag24-body-background) {
  background: url('assets/img/so-white.png') repeat;
 }

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: 'Readex Pro', sans-serif;
}

body h1,
body h2 {

}

body h1 {
  font-size: 2em;
}

body h2 {
  font-size: 1.7em;
}

body h3 {
  font-size: 1.5em;
}

body h4 {
  font-size: 1.25em
}

body h5,
body h6 {
  font-size: 1.1em;
}

body h3,
body h4,
body h5,
body h6 {
  font-weight: bold;
}

body h4 {
  font-size: 1.2em;
}

body p {
  margin-bottom: 1.15em;
}

body a {
  text-decoration: none;
}

strong {
  font-weight: bold;
}

@media screen and (max-width: 780px) {
  body h3.widget-title {
    margin-bottom: 16px;
  }
}

/* Thanks Gutenberg, really helpful... */

body .inside-article a,
body .paging-navigation a,
body .comments-area a,
body .page-header a,
body .inside-article a:hover,
body .paging-navigation a:hover,
body .comments-area a:hover,
body .page-header a:hover,
body .inside-article a:visited,
body .paging-navigation a:visited,
body .comments-area a:visited,
body .page-header a:visited {
  color: var(--contrast);
}

/* Lists */

ul,
.entry-content .widget ul {
  list-style: disc;
  padding-left: 2em;
  margin-bottom: 1em;
}

ul li,
.entry-content .widget ul li {
  margin-bottom: 0;
  padding-bottom: 0;
}

 .entry-content .widget ul.menu {
   padding: 0;
   margin: 0;
 }

/* Input */

input[type='url'] {
  width: 100%;
  border: 2px solid var(--purple);
}

#add_payment_method table.cart td.actions .coupon .input-text,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text,
body input[type='url'],
body input[type='text'],
body input[type='tel'],
body input[type='email'],
body input[type="number"],
body input[type="search"],
body textarea {
  border: none;
  background: #f2f2f2;
  line-height: 1 !important;
  transition: 0.5s ease-in-out;
  padding: calc(1em - 7px) 1em;
  position: relative;
  font-family: "Readex Pro", sans-serif;
  border: 2px solid var(--purple);
}

body .overlay-areas input[type='url'],
body .overlay-areas input[type='text'],
body .overlay-areas input[type='tel'],
body .overlay-areas input[type='email'],
body .overlay-areas input[type="number"],
body .overlay-areas input[type="search"],
body .overlay-areas textarea {
  border: 2px solid var(--white);
}

body input[type="text"]:focus,
body input[type="email"]:focus,
body input[type="url"]:focus,
body input[type="password"]:focus,
body input[type="search"]:focus,
body input[type="tel"]:focus,
body input[type="number"]:focus,
body textarea:focus,
body select:focus {
  background: #f2f2f2;
  border: 2px solid var(--pink);
}

body input[type="text"]:focus::before,
body input[type="email"]:focus::before,
body input[type="url"]:focus::before,
body input[type="password"]:focus::before,
body input[type="search"]:focus::before,
body input[type="tel"]:focus::before,
body input[type="number"]:focus::before,
body textarea:focus::before,
body select:focus::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 1px;
  background: #777;
}

body span.select2 {
  border: none;
}

body .select2-container--default .select2-selection--single {
  background: #f2f2f2;
}

body .select2-container .selection .select2-selection--single {
  padding: calc(1em - 7px) 1em;
}

body textarea {
  padding: 1em;
}

/* Buttons */

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="submit"],
body #wpsl-search-btn,
.buy-button-wrapper a.added_to_cart,
.woocommerce #respond input#submit,
.woocommerce a.button,
body a.button,
.woocommerce button.button,
.woocommerce input.button,
body .so-widget-sow-button .ow-button-base a.ow-button-hover {
  font-family: "Readex Pro", sans-serif;
	font-size: 0.85em;
	font-weight: 400;
  text-transform: uppercase;
	padding: 0.75em 1em;
	background: var(--pink);
  border: none;
  border-radius: 5px;
	color: #ffffff;
	transition: 0.5s ease-in-out;
	line-height: 1;
  width: auto;
  box-shadow: none;
}

input[type="button"]::after,
input[type="reset"]::after,
input[type="submit"]::after,
input[type="button"]::after,
input[type="reset"]::after,
input[type="submit"]::after,
body #wpsl-search-btn::after,
.buy-button-wrapper a.added_to_cart::after,
.woocommerce #respond input#submit::after,
.woocommerce a.button::after,
body a.button::after,
.woocommerce button.button::after,
.woocommerce input.button::after,
body .so-widget-sow-button .ow-button-base a.ow-button-hover::after {
  content: ">";
  margin-left: 5px;
}

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit:disabled[disabled],
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
  padding: 0.75em 1em;
  color: #FFF;
}

body .so-widget-sow-button .ow-button-base a.ow-button-hover span {
  color: #ffffff;
}

input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited,
body #wpsl-search-btn:visited,
.buy-button-wrapper a.added_to_cart:visited,
.woocommerce #respond input#submit:visited,
.woocommerce a.button:visited,
.woocommerce button.button:visited,
.woocommerce input.button:visited,
body a.button:visited,
body .so-widget-sow-button .ow-button-base a.ow-button-hover:visited,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
body #wpsl-search-btn:focus,
.buy-button-wrapper a.added_to_cart:focus,
.woocommerce #respond input#submit:focus,
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus,
body a.button:focus,
body .so-widget-sow-button .ow-button-base a.ow-button-hover:focus {
  background: var(--pink);
  color: #FFF;
}

body a.button.yellow,
body a.button.yellow:visited,
body a.button.yellow:focus {
  background-color: var(--yellow);
  color: var(--contrast);
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
body #wpsl-search-btn:hover,
.buy-button-wrapper a.added_to_cart:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
body a.button:hover,
body .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	background: var(--purple);
	color: #FFF;
}

body a.button.yellow:hover {
  background-color: var(--green);
  color: var(--contrast);
}

body .so-widget-sow-button .ow-button-base a.ow-button-hover:hover span {
  color: #FFF;
}

body .so-widget-sow-button .ow-button-base a [class^="sow-icon-"] {
	margin-top: 0;
	padding-left: 0.75em;
}

@media screen and (max-width: 768px) {
	body .so-widget-sow-button .ow-button-base a {
		width: 100%;
	}
}

@media screen and (max-width: 380px) {
	body .so-widget-sow-button .ow-button-base a [class^="sow-icon-"] {
		display: block;
		width: 100% !important;
		margin: 0 auto;
		text-align: center;
		font-size: 2em;
		padding: 0 10px 10px 10px;
		height: auto;
		line-height: 1;
	}
	body .so-widget-sow-button .ow-button-base a.ow-button-hover {
		text-align: center !important;
	}
}

/* WPCF7 Forms */

.wpcf7 {
  position: relative;
}

span.wpcf7-acceptance {
  font-size: 0.75em;
}

body .wpcf7 form .wpcf7-response-output {
  width: calc(100% - 30px);
  margin-left: 0;
  left: 0;
  margin-right: 0;
  bottom: -32px;
}

.wpcf7 .row {

}

.wpcf7 .col > label {

}

.wpcf7 .col input[type="submit"] {

}

/* Search Widget */

.widget .search-form-wrap button.search-submit,
.widget .search-form button.search-submit {
  border-radius: none;
  background: transparent;
  color: var(--contrast);
}

.overlay-areas .widget .search-form-wrap button.search-submit,
.overlay-areas .widget .search-form button.search-submit {
  color: var(--white);
}

.search-form-wrap {
  display: flex;
  position: relative;
}

.header-widget .search-form-wrap:not(.open) form {
  display: none !important;
}

.header-widget .search-form-wrap form {
  position: absolute;
  right: 100%;
  background: #FFF !important;
  top: 0;
  min-width: 300px;
}

.header-widget .search-form-wrap .search-submit.search-toggle {
  height: 41px;
}

.widget .search-form-wrap button.search-toggle::before {
  content: "\f002";
  font-family: GeneratePress;
}

.search-form-wrap .search-submit.search-toggle::before {
  content: "\f002";
  font-family: GeneratePress;
  width: 1.28571429em;
  text-align: center;
  display: inline-block;
  font-size: 15px;
}

.search-form-wrap.open .search-submit.search-toggle::before {
  content: "\f00d";
}

/*--------------------------------------------------------------
## Header Customs
--------------------------------------------------------------*/

.site-header {
  background-color: var(--white);
}

body .site-logo img {
  width: 196px;
}

body .header-nav-wrap {
  font-family: "Readex Pro", sans-serif;
}

body .site-description {
  font-size: 0.65em;
}

/* Scrolled Class to change header behaviour on scroll */

.scrolled .header-nav-wrap,
.as-scrolled .header-nav-wrap {

}

.scrolled .custom-logo,
.as-scrolled .custom-logo {

}

.scrolled .header-nav-wrap .main-nav a,
.as-scrolled .header-nav-wrap .main-nav a {

}

/*--------------------------------------------------------------
## Main Menu Colors
--------------------------------------------------------------*/

/* Max Mega Menu */

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
  height: 2px;
  background: var(--contrast);
}

/* MENU ITEMS */

body .main-navigation {
	background-color: transparent;
}

.main-navigation .main-nav > ul {
  overflow: auto;
  width: 100%;
  white-space: nowrap;
  display: block;
  text-align: left;
}

.main-navigation .main-nav > ul > li {
  vertical-align: middle;
}

.main-navigation .main-nav > ul > li.has-children::after {
  content: '';
  height: 30px;
  width: 1px;
  background: #FFF;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.main-navigation .main-nav > ul > li.has-children a {
  padding-right: 30px;
}

.main-navigation .main-nav > ul > li.has-children + li.is-children a {
  padding-left: 30px;
}

.main-navigation .main-nav > ul > li.is-children.current-menu-item a,
.main-navigation .main-nav > ul > li.has-children.current-menu-item a {
  font-weight: bold;
}

.main-navigation a {
  font-size: 1em;
}

body .main-navigation .navigation-search input[type="search"]:focus {

}

body .main-navigation .main-nav ul li a {
  text-transform: uppercase;
  padding-left: 15px;
  padding-right: 15px;
}

body .main-navigation .menu-toggle {

}

/* NAV SEARCH */

body .navigation-search.nav-search-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

body.nav-search-enabled .main-navigation .menu-toggle {
  text-align: right;
  z-index: 1001;
}

body.nav-search-enabled .main-navigation .menu-toggle.clicked {
  z-index: 1003;
}

body .main-navigation li.search-item {
  z-index: 1000;
}

body .navigation-search.nav-search-active {

}

body .navigation-search input[type="search"] {
  opacity: 1;
}

body .mobile-bar-items {
    right: 60px;
    top: 0;
    left: auto;
    z-index: 1002;
}

body .main-navigation .mobile-bar-items a {
  line-height: 39px;
  padding: 0;
}

@media screen and (max-width: 768px) {
  body .main-navigation .menu-bar-items {

  }
}

/* SUB-NAVIGATION */

body .main-navigation .main-nav ul ul li a {

}

/* SUB-NAVIGATION HOVER */

body .main-navigation .main-nav ul ul li:hover > a,
body .main-navigation .main-nav ul ul li:focus > a,
body .main-navigation .main-nav ul ul li.sfHover > a {

}

/* CURRENT ITEMS AND HOVER*/

body .main-navigation .main-nav ul li[class*="current-menu-"] > a {

}

body .main-navigation .main-nav ul li[class*="current-menu-"]:hover > a,
body .main-navigation .main-nav ul li[class*="current-menu-"]:focus > a,
body .main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {

}

/* MENU ITEM HOVER */

body .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
body .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
body .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
body .main-navigation .menu-bar-item:hover > a,
.main-navigation .menu-bar-item.sfHover > a {

}

body .main-navigation .main-nav ul:hover li[class*="current-menu-"] > a {
  text-decoration: none;
}

body .main-navigation .main-nav ul:hover li[class*="current-menu-"]:hover > a,
body .main-navigation .main-nav ul:hover li[class*="current-menu-"].sfHover > a {

}

/* SUB-NAVIGATION CURRENT ITEMS */

body .main-navigation .main-nav ul ul li[class*="current-menu-"] > a {

}

body .main-navigation .main-nav ul ul li[class*="current-menu-"]:hover > a,
body .main-navigation .main-nav ul ul li[class*="current-menu-"]:focus > a,
body .main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a {

}

/* Mobile Nav Color */

@media screen and (max-width: 768px) {
  /* Menu Main Background */
  .main-nav-wrap {
    background: transparent;
    position: relative;
  }
  /* Submenu Wrap Background */
  .main-nav > ul li > ul {

  }
  /* Submenu go back arrow color */
  .main-nav .sub-menu::after {
    color: #FFF;
  }
}

/* Structural Padding */

body #page .site-content {
  padding-top: 30px;
  padding-bottom: 0;
  flex-wrap: wrap;
}

body .inside-navigation {
  padding: 0;
}

body .inside-header {
  padding-top: 10px;
  padding-bottom: 0;
  justify-content: space-between;
}

body .inside-header,
body.one-container .site-content,
body .footer-widgets-container,
.overlay-nav-content.grid-container,
body .main-navigation .navigation-search input[type="search"],
body .main-navigation .navigation-search input[type="search"]:active,
.inside-navigation > .inside-nav-wrapper {
  padding-left: 40px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  body .inside-header {
    padding-top: 10px;
    padding-bottom: 0;
  }
  .inside-navigation > .inside-nav-wrapper,
  .overlay-nav-content.grid-container,
  body .main-navigation .navigation-search input[type="search"],
  body .main-navigation .navigation-search input[type="search"]:active,
  body .inside-header,
  body.one-container #page .site-content,
  body .footer-widgets-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Site Header Inside Header Stuff */

body .inside-header.grid-container {
  flex-wrap: wrap;
  /*max-width: 1470px;*/
  max-width: 1200px;
}

body .inside-header .site-branding-container {
  max-width: 460px;
}

body .inside-header .header-widget {
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

body .inside-header .header-widget .widget {
  display: flex;
  align-items: center;
}

body .inside-header .main-navigation {
  width: 100%;
  margin-top: 10px;
}

/* Site Header Inside Navigation */

.inside-navigation {
  background-color: var(--contrast);
}

.inside-navigation > .inside-nav-wrapper {
  /*max-width: 1470px;*/
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*
* Menu toggles
*/

body .menu-toggle {
  display: flex;
  line-height: 1.5;
  height: auto;
  width: auto;
}

body button.menu-toggle {
  order: 999;
  padding: 0;
  line-height: 60px;
  height: 60px;
  width: 45px;
  max-width: 45px;
}

body button.menu-toggle::before {
  line-height: 60px;
  margin: 0 auto;
}

.menu-toggle .gp-icon svg {
  top: 0;
}

/* Menu toggle in primary menu */

body .menu-item .menu-toggle {
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

body .menu-item .menu-toggle::before {
  display: none;
}

/*
* Widgets
*/

body h3.widget-title {
  font-size: 1em;
  text-transform: uppercase;
  margin-top: 2em;
  margin-bottom: 1em;
}

body.home #page .tag24-layout-widget > h3.widget-title,
body.home #page .widget > h3.widget-title,
body.home #page .panel-widget-style > h3.widget-title {
  font-size: 1.35em;
}

.widget.widget_nav_menu {
  font-size: 1.1em;
}

.widget_nav_menu li {
  display: block;
}

.widget-area .widget {
  padding: 0;
}

#right-sidebar.widget-area .widget + .widget {
  margin-top: 1.5em;
}

body .right-sidebar-wrap h3.widget-title {
  text-transform: none;
}

.tag24-list-widget > h3.widget-title,
.tag24-layout-widget > h3.widget-title,
.widget_siteorigin-panels-postloop h3.widget-title {
  font-weight: bold;
}

.so-widget-se-popup-widget .se-popup-widget-wrapper:not(.popup-container) .popup-parent-static {
  display: none;
}

.textwidget::after {
  content: '';
  display: table;
  clear: both;
}

.overlay-areas .siteorigin-widget-tinymce {
  background: rgba(255,255,255,0.7);
  padding: 15px;
  display: inline-block;
}

.site-footer ul.menu li.social-item a::before,
.overlay-areas ul.menu li.social-item a::before {
  font-size: 1.95rem;
}

/*
* Helper classes
*/

.small {
  font-size: 0.8em;
}

/*
* Overlay Nav Wrapper
*/

.overlay-nav-wrapper {
  background-color: var(--alpha-white);
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100%;
  z-index: 99999;
  overflow-y: auto;
  overflow-x: hidden;
}

.overlay-nav-wrapper.open {
  opacity: 1;
  visibility: visible;
}

.inside-overlay-nav {
  background-color: var(--dark-purple);
  width: 100%;
  padding: 0;
}

.overlay-nav-wrapper * {
  color: var(--white);
}

.overlay-nav-content {
  padding-bottom: 45px;
}

.overlay-nav-content .overlay-areas {
  display: flex;
  font-size: 0.8em;
  margin-left: -20px;
  margin-right: -20px;
}

.overlay-header .inside-header {
  padding-left: 0;
  padding-right: 0;
}

.overlay-header .inside-navigation {
  background-color: transparent;
}

.overlay-header .inside-navigation > .inside-nav-wrapper {
  justify-content: flex-end;
  padding: 0;
}

.overlay-nav-content .overlay-areas > div {
  padding: 0 20px;
  width: 100%;
}

.overlay-nav-content a:hover,
.overlay-nav-content a:focus,
.overlay-nav-content a:active {
  color: var(--white);
}

.overlay-nav-area {
  width: calc(50% + 40px);
  display: flex;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
  align-content: flex-start;
}

.overlay-nav-area .widget {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.overlay-nav-area,
.overlay-nav-area .widget.widget_nav_menu {
  width: 50%;
}

.overlay-nav-area > .widget > .custom-html-widget div[style="display: none;"] + .row .col {
  padding-top: 0;
}

/* Content */

body .page-header {
  margin-bottom: 0;
}

#content {
  transition: margin 0.5s ease-in-out;
}

.transition-off #content {
  transition: none;
}

#page,
#content {
  width: 100%;
}

@media screen and (max-width: 1280px) {
  #content {

  }
}

/*
* Post image fix to report in BP
*/

.post-image a,
.post-image img {
  display: block;
}

.post-image {
  margin-top: 0 !important;
  position: relative;
}

.post-image img {
  width: 100%;
}

/*
* Post image with sizer (for older image with height below 305px)
*/

.post-image.with-sizer {
  position: relative;
}

.post-image.with-sizer a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.post-image.with-sizer.shorter a {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  background-color: #ccc;
}

.post-image.with-sizer.taller a {
  align-items: flex-start;
}

/*
* Entry Meta
*/

.entry-meta {
  font-family: "Readex Pro", sans-serif;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.entry-meta.author-only {
  font-family: "Newsreader", sans-serif;
  margin-top: 1em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.entry-meta.author-only .sponsor-line {
  display: none;
}

.video-wrap .entry-meta.author-only .sponsor-line

.entry-meta.author-only span {
  display: block;
}

.entry-meta.author-only .byline {
  width: 100%;
}

.entry-meta.author-only .author-avatar {
  width: 60px;
  height: 60px;
}

.entry-meta.author-only a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.entry-meta.author-only  .author-avatar * {
  display: block;
}

.author-avatar .avatar-img {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}

.header-meta-wrap .entry-meta.author-only .sponsor-line {
  display: block;
  text-transform: none;
  margin-top: 1em;
  margin-bottom: -0.5em;
}

.header-meta-wrap .entry-meta.author-only .sponsor-name,
.sponsor-name {
  font-weight: bold;
  display: inline;
}

.cat-links {
  text-transform: uppercase;
  font-weight: bold;
}

.posted-on {
  color: #777;
}

.cat-links + .posted-on {
  margin-left: 0.8em;
}

.posted-on .sep {
  margin-left: 7.5px;
  margin-right: 7.5px;
}

/*
* Storia & Diretta Header
*/

body.tax-storia #page .site-content,
body.tax-diretta #page .site-content {
  padding-top: 0;
}

.storia-diretta-header {
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.storia-diretta-header h1 {
  font-weight: bold;
}

.storia-diretta-header .taxonomy-description {
  font-family: "Readex Pro", sans-serif;
  font-size: 1.1em;
}

.storia-diretta-info,
.storia-diretta-image {
  min-width: 50%;
  position: relative;
}

.storia-diretta-info {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  z-index: 1;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 75%;
  min-width: 590px;
  font-size: 0.9em;
}

.storia-button {
  margin-top: 1.2em;
}

.title-description-wrap {
  border: 4px solid var(--purple);
  background: var(--white);
  padding: 30px;
}

.storia-diretta-header::before,
.storia-diretta-header::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 1;
  background-color: #bbb;
  background: repeating-linear-gradient( -45deg, #a7a7a7, #a7a7a7 8px, #a0a0a0 5px, #a0a0a0 9px );
  z-index: -1;
}

.storia-diretta-header::before {
  right: 50%;
}

.storia-diretta-header::after {
  left: 50%;
}

.storia-diretta-header img {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
}

.storia-diretta-image::after {
  width: calc(100% + 60px) !important;
}

.storia-diretta-status {
  margin-bottom: 1em;
}

.storia-diretta-status span {
  display: inline-block;
  font-family: "Readex Pro", sans-serif;
  text-align: right;
  padding: 5px 10px 8px 50px;
  color: #FFF;
  line-height: 1;
  font-size: 0.9em;
}

.storia-diretta-status span.is-active {
  background: var(--pink);
}

.storia-diretta-status span.is-active::after {
  content: url('assets/img/storia-diretta-active.svg');
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  top: 2px;
  margin-left: 12px;
  animation: loading-pulse-inverse 1s ease-in-out infinite;
}

@keyframes loading-pulse-inverse {
	0%   {opacity: 0; transform: scale(0.5,0.5);}
	75% {opacity: 1; transform: scale(1,1);}
  100% {opacity: 0; transform: scale(1,1);}
}

.storia-diretta-status span.not-active {
  background: var(--dark-purple);
}

.storia-diretta-status span.not-active::after {
  content: url('assets/img/storia-diretta-not-active.svg');
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  top: 2px;
  margin-left: 12px;
}

#storia-diretta-stats {
  width: 100%;
  margin-bottom: 0;
}

#storia-diretta-stats h3 {
  font-weight: normal;
  margin-top: 1.2em;
}

.storia-box {
  margin-bottom: 1.75em;
}

.content-meta-wrap .entry-content .storia-box h4 {
  font-weight: normal;
  margin-bottom: 0.5em;
}

.storia-box h3 {
  background: var(--white);
  padding: 20px 25px;
  border: 4px solid var(--purple);
  display: inline-block;
}

/*@media screen and (max-width: 1470px) {
  .storia-diretta-image {
    left: -40px;
  }
}*/
@media screen and (max-width: 1200px) {
  .storia-diretta-image {
    left: -40px;
  }
}

@media screen and (max-width: 1080px) {
  .storia-diretta-image {
    left: -240px;
  }
}

/*
* Basil Posts Wrapper aka All Archives
*/

.basil-post-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
}

.page-header + .basil-post-wrap {
  margin-bottom: 0 !important;
}

.basil-post-wrap article {
  padding: 20px;
}

.basil-post-wrap article .inside-article {
  display: flex;
  flex-direction: column;
}

.basil-post-wrap .entry-summary,
.basil-post-wrap .entry-content {
  display: none;
}

.basil-post-wrap .entry-header {
  order: 999;
  border: 3px solid var(--green);
  background: var(--white);
  padding: 10px;
  position: relative;
  margin-top: -20px;
  left: 20px;
  z-index: 1;
}

.basil-post-wrap .entry-header .entry-title {
  font-size: 0.85em;
}

.basil-post-wrap .entry-header .entry-title a {
  line-height: 1.5;
}

.basil-post-wrap .entry-header .entry-meta {
  font-size: 0.65em;
}

.basil-post-wrap footer.entry-meta {
  display: none;
}

.basil-post-wrap article {
  width: 100%;
}

/* Video Type */

.basil-post-wrap .type-video .entry-header {
  border-color: var(--pink);
  background: var(--contrast);
  color: var(--white);
}

.basil-post-wrap .type-video .entry-header a,
.basil-post-wrap .type-video .entry-header span {
  color: var(--white);
}

.basil-post-wrap .type-video.first-post .entry-header a,
.basil-post-wrap .type-video.first-post .entry-header span {
  color: var(--contrast);
}


@media screen and (min-width: 811px) {
  .basil-post-wrap article {
    width: 50%;
  }
}

@media screen and (min-width: 1180px) {
  .basil-post-wrap article {
    width: 33.333%;
  }
}

/*
* Diretta Layout
*/

.tax-diretta .site-main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tax-diretta .site-main > .basil-post-wrap {
  width: 66%;
  align-content: flex-start;
}

.tax-diretta .site-main > .basil-post-wrap article {
  width: 100%;
}

.tax-diretta .site-main > .basil-post-wrap article .inside-article {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  border: 2px solid var(--green);
  padding: 59px 20px 20px 20px;
  background: #FFF;
}

.tax-diretta .site-main > .basil-post-wrap .entry-meta.author-only .author-avatar {
  display: none;
}

.tax-diretta .site-main > .basil-post-wrap .entry-meta.author-only .author-name {
  margin-left: 0;
}

.tax-diretta .site-main > .basil-post-wrap .entry-content {
  display: block;
  margin-top: 1em;
  font-size: 0.9em;
}

.tax-diretta .site-main > .basil-post-wrap .post-image {
  order: -1;
  width: 25%;
  border-radius: 8px;
  margin-right: 30px;
  overflow: hidden;
}

.tax-diretta .site-main > .basil-post-wrap .entry-header {
  order: unset;
  border: none;
  padding: 0;
  background: transparent;
  margin-top: 0;
  left: 0;
  width: calc(75% - 30px);
  padding-left: 0;
  font-size: 1.15em;
  position: static;
}

.tax-diretta .site-main > .basil-post-wrap .posted-on {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 1.2em;
}

.tax-diretta .site-main > .basil-post-wrap .entry-header .entry-meta:not(.author-only) {
  margin: 0;
}

.tax-diretta .right-sidebar-wrap {
  margin-top: 0;
}

.tax-diretta .right-sidebar-wrap .is-right-sidebar {
  margin-top: 20px;
}

/*
* Video Singolo
*/

body.single-video #main {
  max-width: 1280px;
  margin-right: 0;
}

body.single-video #page .site-content {
  padding-top: 0;
}

body.single-video .inside-navigation {
  background: var(--dark-purple);
}

body .video-wrap {
  padding: 30px 0 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: var(--contrast);
  position: relative;
}

.video-wrap .right-sidebar-wrap {
  width: 28%;
}

.video-wrap .content-meta-wrap {
  width: calc(72% - 60px);
}

body .video-wrap::after,
body .video-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--contrast);
}

body .video-wrap::after {
  left: 100%;
}

body .video-wrap::before {
  right: 100%;
}

.video-wrap .entry-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.video-wrap .entry-content {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
}

.video-wrap .entry-content .essb_links {
  display: none !important;
}

.video-wrap .entry-content .dgv-embed-wrapper {
  order: -1;
}

.video-wrap h1.entry-title {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.video-wrap .author-box {
  background-color: transparent;
  border: none;
}

.video-wrap .tag-box + .author-box {
  margin-top: 1em;
}

.video-wrap .author-box .author-shadow {
  background: var(--green);
}

body .video-wrap .right-sidebar-wrap .essb_links ul {
  text-align: right;
}

body .video-wrap .right-sidebar-wrap .essb_links .essb_item:last-child a {
  margin-right: 0;
}

body .video-wrap .right-sidebar-wrap .essb_links ul::before {
  width: 100%;
  margin-right: 0;
  margin-bottom: 10px;
}

body .video-wrap .right-sidebar-wrap .tag-box .widget-title,
body .video-wrap .right-sidebar-wrap .tag-box ul {
  text-align: right;
}

body .video-wrap .right-sidebar-wrap h3.widget-title {
  font-size: 21px;
}

.tag24-video-a-destra-dopo-correlati {
  text-align: right;
  margin-top: 2em;
}

.tag24-video-a-destra-dopo-correlati img,
.tag24-video-a-destra-dopo-correlati a {
  display: block;
  margin-left: auto;
}

.video-widget-area {
  padding-bottom: 0;
}

.video-widget-area .tag24-list-widget.hv_horizontal .hv-loop article {
  max-width: 100%;
  font-size: 1.5em;
}

.video-widget-area .basil-post-wrap.hv-loop .posted-on {
  display: inline;
}

.video-widget-area .basil-post-wrap.hv-loop .entry-header {
  margin-top: 0.7em;
}

.after-video-content {
  padding-top: 60px;
  padding-bottom: 45px;
}

.after-video-content h3.widget-title {
  margin-top: 0;
}

.video-wrap .storia-box {
  margin-top: 1em;
}

.video-wrap .storia-box h3 {
  margin-bottom: 0;
}

.video-wrap .storia-box h3 a {
  color: var(--contrast) !important;
}

/*
* Video Archivio
*/

body .video-thumb-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}

body .play-button {
  width: 125px;
  height: 125px;
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease-in-out;
  opacity: 0.8;
}

body a:hover .play-button {
  background: rgba(0,0,0,0.6);
  opacity: 0.9;
}

body .play-button svg {
  width: 55px;
  fill: var(--green);
}

/* Button when first-post */

body .first-post .play-button {
  width: 170px;
  height: 170px;
  border-width: 5px;
}

body .first-post .play-button svg {
  width: 75px;
}

/* Archive Grid Dark Mode */

.loop-2-plus-related.dark-mode,
.loop-archive-grid.dark-mode {
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  background: var(--contrast);
}

.loop-archive-grid.dark-mode .loop-archive-grid.dark-mode {
  padding-top: 0;
  padding-bottom: 0;
}

.loop-2-plus-related.dark-mode::after,
.loop-2-plus-related.dark-mode::before,
.loop-archive-grid.dark-mode::after,
.loop-archive-grid.dark-mode::before {
  position: absolute;
  width: 50%;
  height: 100%;
  content: '';
  background: var(--contrast);
  top: 0;
}

.loop-2-plus-related.dark-mode::after,
.loop-archive-grid.dark-mode::after {
  left: 100%;
}

.loop-2-plus-related.dark-mode::before,
.loop-archive-grid.dark-mode::before {
  right: 100%;
}

.loop-2-plus-related.dark-mode .author-avatar,
.loop-archive-grid.dark-mode .author-avatar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.loop-archive-grid.dark-mode .entry-title {
  padding-right: 85px;
}

.loop-archive-grid.dark-mode .basil-post-wrap .type-video .entry-header {
  border: none;
  left: 0;
  margin-top: 0;
  padding: 20px 0;
}

/* Not in Dark mode */

.loop-archive-grid:not(.dark-mode) article .author-avatar {
  display: none;
}

.loop-archive-grid .entry-meta.author-only .author-name {
  margin-left: 0;
}

/*
* Plyr Specific
*/

body .plyr {
  font-family: 'Readex Pro', sans-serif;
}

body .plyr__control--overlaid {
  padding: calc(var(--plyr-control-spacing, 10px)*4.5);
  border: 5px solid var(--green);
  background: transparent;
}

body .plyr--video .plyr__control:hover,
body .plyr__control--overlaid:hover {
  background: var(--pink);
}

body .plyr__control--overlaid svg {
  transform: scale(2);
  fill: var(--green);
}

body .video-thumb-overlay,
body .plyr--paused .plyr__video-wrapper::after,
body .plyr__poster::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255,255,255);
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(178,10,136,0.65) 100%);
}

body .se-video:not(.background) {
  margin-bottom: 1.5em;
}

/*
* Dark Mode
*/

.dark-mode,
.dark-mode a,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode p,
.dark-mode span {
  color: var(--white) !important;
}

.dark-mode .content-meta-wrap .entry-content p a {
  background: var(--pink);
}

.dark-mode .content-meta-wrap .entry-content p a:hover {
  background: var(--purple);
}

.dark-mode .plyr__tooltip {
  color: #4a5464 !important;
  color: var(--plyr-tooltip-color, #4a5464) !important;
}

body .dark-mode .essb_links .essb_item a {
  color: var(--contrast) !important;
  background: var(--white) !important;
}

body .dark-mode .essb_links .essb_item a span {
  color: var(--contrast) !important;
}

body .dark-mode .rel-box.yellow {
  background: transparent;
  padding: 0;
  margin-top: 2.5em;
  text-align: right;
}

body .dark-mode .rel-box.yellow li:last-child {
  display: none;
}

.dark-mode .type-post .entry-header,
.dark-mode .type-post .entry-header a,
.dark-mode .type-post .entry-header h1,
.dark-mode .type-post .entry-header h2,
.dark-mode .type-post .entry-header h3,
.dark-mode .type-post .entry-header h4,
.dark-mode .type-post .entry-header h5,
.dark-mode .type-post .entry-header p,
.dark-mode .type-post .entry-header span {
  color: var(--contrast) !important;
}

.dark-mode .type-post .entry-header .entry-meta span {
  color: #777 !important;
}

.dark-mode .type-post .entry-header .entry-meta.author-only span {
  color: var(--contrast) !important;
}

/*
* TAG24 Layout Widgets
*/

.tag24-list-widget,
.tag24-layout-widget {
  display: flex;
  flex-direction: column;
}

.tag24-list-widget .button,
.tag24-layout-widget .button {
  align-self: flex-end;
}

.tag24-list-widget.hv_horizontal .button,
.tag24-list-widget.hv_related .button {
  margin-top: 2em;
}

.tag24-list-widget.hv_horizontal .hv-loop article {
  max-width: 480px;
  width: 50%;
  padding-top: 20px;
}

.tag24-list-widget.hv_horizontal .basil-post-wrap.hv-loop article:first-child {
  padding-top: 20px;
}

.basil-post-wrap.one-plus-two-loop {
  display: block;
}

.loop-2-plus-related {
  position: relative;
  background: var(--purple);
  padding-top: 40px;
  padding-bottom: 40px;
}

.loop-2-plus-related::before,
.loop-2-plus-related::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--purple);
}

.loop-2-plus-related::before {
  right: 100%;
}

.loop-2-plus-related::after {
  left: 100%;
}

.loop-2-plus-related h3.widget-title {
  color: #FFF;
}

/*
* Basil Posts Wrapper: first 4 articles are displayed as follows
*/

.one-container .basil-post-wrap:not(.loop) article,
.one-container.search .basil-post-wrap:not(.loop) article,
.one-container.archive .basil-post-wrap:not(.loop) article,
.one-container.blog .basil-post-wrap:not(.loop) article {
  padding-bottom: 30px;
}

/* First Post */

.author-shadow {
  display: none;
}

.one-container .basil-post-wrap:not(.loop) article.first-post,
.one-container.search .basil-post-wrap:not(.loop) article.first-post,
.one-container.blog .basil-post-wrap:not(.loop) article.first-post,
.one-container.archive .basil-post-wrap:not(.loop) article.first-post {
  width: 100%;
  padding-bottom: 10px;
}

.basil-post-wrap:not(.loop) article.first-post .inside-article {
  display: flex;
  flex-direction: column;
}

.basil-post-wrap:not(.loop) article.first-post .inside-article .tag24-related.list {
  margin-top: 30px;
  width: 47%;
}

.basil-post-wrap:not(.loop) article.first-post .inside-article .tag24-related.list .yellow.offset {

}

.basil-post-wrap:not(.loop) article.first-post .inside-article .tag24-related.list .posted-on {
  text-align: left;
}

.basil-post-wrap:not(.loop) article.first-post .entry-header {
  order: 0;
  left: 0;
  margin-top: 0;
  border: none;
  padding: 15px 0 0 0;
  background: transparent;
  z-index: 1;
}

.basil-post-wrap:not(.loop) article.first-post .entry-header,
.basil-post-wrap:not(.loop) article.first-post .post-image {
  width: 50%;
}

.basil-post-wrap:not(.loop) article.first-post .entry-title a,
.basil-post-wrap:not(.loop) article.second-to-forth .entry-title a {
  line-height: 1.4;
}

.basil-post-wrap:not(.loop) article.first-post .post-image {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 50%;
  z-index: 0;
}

.basil-post-wrap:not(.loop) article.first-post .post-image a {
  width: 110%;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  left: -10%;
}

.basil-post-wrap:not(.loop) article.first-post .post-image.shorter a {
  position: absolute;
}

.basil-post-wrap:not(.loop) article.first-post .post-image.taller a {
  position: absolute;
}

.basil-post-wrap:not(.loop) article.first-post .post-image.taller a img {
  position: relative;
  top: -50%;
}



.storia-diretta-image::after,
.featured-image::after,
.basil-post-wrap:not(.loop) article.first-post .post-image a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(0,0,0,0) 100%);
}

/*.basil-post-wrap:not(.loop) article.first-post .entry-header .entry-title {
  font-size: 2.4em;
  font-weight: bold;
  width: 110%;
}*/
.basil-post-wrap:not(.loop) article.first-post .entry-header .entry-title {
  font-size: 2.0em;
  font-weight: bold;
  width: 87%;
}

.basil-post-wrap:not(.loop) article.first-post .entry-header .entry-title a {line-height: 1.2;}

.basil-post-wrap:not(.loop) article.first-post .entry-header .entry-meta {
  font-size: 0.8em;
  margin-left: 0.2em;
}

.basil-post-wrap:not(.loop) article.first-post .entry-header .entry-meta:first-child {
  display: none;
}

.entry-meta.author-only .author-name {
  margin-left: 0.8em;
}

.author-box .author-avatar,
.basil-post-wrap:not(.loop) article.first-post .author-avatar {
  position: relative;
}

.basil-post-wrap:not(.loop) article.first-post .entry-meta.author-only .author-avatar,
.basil-post-wrap:not(.loop) article.second-to-forth .entry-meta.author-only .author-avatar  {
  width: 60px;
  height: 60px;
}

.author-box .author-shadow,
.archive.author .page-header .author-shadow,
.basil-post-wrap:not(.loop) article.first-post .author-shadow {
  position: absolute;
  z-index: 0;
  background: #ececec;
  width: 100%;
  height: 560px;
  top: 50%;
  left: 0;
  transform-origin: 50% top;
  transform: rotate(45deg);
  border-radius: 0 0 37.5px 37.5px;
}

@media screen and (max-width: 1180px) {
  .one-container .basil-post-wrap:not(.loop) article.first-post {
    padding-top: 0;
  }
  .basil-post-wrap:not(.loop) article.first-post .entry-header .entry-title {
    width: 125%;
    font-size: 2.25em;
  }
  .basil-post-wrap:not(.loop) article.first-post .inside-article .tag24-related.list {
    width: 60%;
    font-size: 0.85em;
  }
  .basil-post-wrap:not(.loop) article.first-post .inside-article .tag24-related.list .yellow.offset {

  }
  .basil-post-wrap:not(.loop) article.first-post .post-image {
    top: 0;
  }
}

/* Second to forth */

.basil-post-wrap:not(.loop) article.second-to-forth {
  padding-left: 7.5px;
  padding-right: 7.5px;
}

.basil-post-wrap:not(.loop) article.second-to-forth:nth-child(2) {
  padding-left: 20px;
}

.basil-post-wrap:not(.loop) article.second-to-forth:nth-child(4) {
  padding-right: 20px;
}

.basil-post-wrap:not(.loop) article.second-to-forth .inside-article {
  align-items: stretch;
  height: 100%;
}

.basil-post-wrap:not(.loop) article.second-to-forth .entry-header {
  margin-top: 0;
  left: 0;
  position: relative;
  height: 100%;;
}

.basil-post-wrap:not(.loop) article.second-to-forth .entry-meta,
.basil-post-wrap:not(.loop) article.beyond-forth .entry-meta {
  margin-bottom: 0.3em;
}

.basil-post-wrap:not(.loop) article.second-to-forth .entry-meta.author-only,
.basil-post-wrap:not(.loop) article.beyond-forth .entry-meta.author-only {
  margin-top: 0.65em;
  margin-bottom: 0;
}

.basil-post-wrap:not(.loop) article.second-to-forth .entry-title {
  position: relative;
  z-index: 1;
  font-size: 0.8em;
}

.basil-post-wrap:not(.loop) article.second-to-forth .entry-title a {
  padding-right: 85px;
  display: block;
}

.basil-post-wrap:not(.loop) article.second-to-forth .author-avatar {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 10px;
  height: 75px;
  width: 75px;
  z-index: 0;
}


@media screen and (max-width: 1180px) {
  body .page-header {
    margin-bottom: 1em;
  }
  .one-container .basil-post-wrap:not(.loop) article.second-to-forth {
    padding-bottom: 10px;
  }
  .basil-post-wrap:not(.loop) article.second-to-forth {
    width: 50%;
  }
  .basil-post-wrap:not(.loop) article.second-to-forth:nth-child(3) {
    padding-right: 20px;
  }
  .basil-post-wrap:not(.loop) article.second-to-forth:nth-child(4) {
    width: 100%;
    padding-left: 20px;
    padding-top: 10px;
  }
}

/* Beyond forth post */

.basil-post-wrap:not(.loop) article.beyond-forth .author-avatar {
  display: none;
}

article.second-to-forth .entry-meta.author-only .author-name,
article.beyond-forth .entry-meta.author-only .author-name {
  margin-left: 0;
}

/* Entry Header */

.single .site-content > article > .entry-header {
  padding-top: 2em;
}

.page .site-main > article > .inside-article > .entry-content > div:not(.panel-layout):last-child {
  margin-bottom: 2em;
}

/* Bp After Content Inner */

/*.bp-after-content-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin: 2em 0;
}*/

.bp-after-content-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 2em 0;
}

.bp-after-content-inner .tag24-related.list {
  margin-left: 0;
  width: calc(100% - 220px);
  min-height: 200px;
}

.bp-after-content-inner .tag24-related.list:first-child:last-child {
  margin-left: 0;
}

.bp-after-content-inner .tag24-related.list .posted-on {
  display: none;
}

.entry-content .bp-after-content-inner .banner-demo {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
* Author Archives
*-------------------------------------------------------------*/

.archive.author .page-header {
  margin-top: 2em;
  margin-bottom: 2em;
  display: flex;
  flex-direction: row;
}

.archive.author .page-header .entry-meta.author-only {
  margin-top: 0;
  width: 75px;
  height: 75px;
  min-width: 75px;
}

.author-name-and-description {
  padding-left: 1em;
  padding-right: 1em;
  max-width: 70%;
  width: calc(100% - 350px);
}

.author-name-and-description .page-title {
  margin-bottom: 0;
}

.archive.author .page-header .author-avatar {
  display: block;
  position: relative;
}

.page-title .vcard {
  font-family: "Newsreader", serif;
  font-weight: bold;
  text-transform: uppercase;
}

.author-social {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.author-social ul.menu li.social-item a {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

.author-social ul.menu li.social-item a::before {
  font-size: 2rem;
}

.author-counts {
  font-family: "Readex Pro", sans-serif;
  width: 100px;
}

.author-info + .author-counts {
  float: right;
  text-align: right;
}

.author-counts h3 {
  margin: 0;
}

.author-counts p {
  text-transform: uppercase;
  font-size: 0.7em;
  margin: 0;
}

.author-info {
  float: left;
  width: calc(100% - 120px);
}

/*
* Advanced Ads
*/

.tag24-adlabel {
  font-size: 0.8em;
}

/*--------------------------------------------------------------
* Loops
*-------------------------------------------------------------*/

/* Layout Box (orizzontale o verticale) */

.basil-post-wrap.hv-loop article {
  width: 100%;
}

.basil-post-wrap.hv-loop article:first-child {
  padding-top: 0;
}

.basil-post-wrap.hv-loop article .inside-article {
  flex-direction: row;
  align-items: flex-start;
}

.basil-post-wrap.hv-loop .post-image,
.basil-post-wrap.hv-loop .entry-header {
  top: 0;
  left: 0;
  border: none;
  background: transparent;
}

.basil-post-wrap.hv-loop .post-image {
  width: 40%;
}

.basil-post-wrap.hv-loop .entry-header {
  font-size: 0.8em;
  padding: 0 0 0 20px;
  width: 60%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.basil-post-wrap.hv-loop .author-avatar {
  display: none;
}

.basil-post-wrap.hv-loop .entry-meta.author-only {
  margin-top: 0.5em;
}

.basil-post-wrap.hv-loop .entry-meta.author-only .author-name {
  margin-left: 0;
}

.basil-post-wrap.hv-loop .post-image a {
  box-shadow: 7px 7px 0 0 var(--pink);
}

.basil-post-wrap.hv-loop .posted-on {
  display: none;
}

/* The above layout, horizontal */

.hv-row {
  padding-left: 5px;
}

/* Layout 1 + 2 (in-content and standalone) */

.loop.one-plus-two-loop {
  display: block;
}

.loop.one-plus-two-loop article {
  width: 50%;
  float: left;
  padding-top: 15px;
  padding-bottom: 15px;
}

.in-content .loop.one-plus-two-loop article {
  width: 100%;
}

.in-content .loop.one-plus-two-loop article a {
  font-weight: normal;
}

.in-content h3.widget-title {
  margin-top: 1em !important;
  font-weight: normal !important;
}

.loop.one-plus-two-loop::after {
  display: table;
  clear: both;
  content: '';
}

.loop.one-plus-two-loop article:first-child .post-image {
  box-shadow: -10px 10px 0 0 var(--green);
}

.loop.one-plus-two-loop article.type-video:first-child .post-image {
  box-shadow: -10px 10px 0 0 var(--pink);
}

.in-content .loop.one-plus-two-loop article.type-video:first-child .post-image {
  left: 15px;
}

.in-content .loop.one-plus-two-loop article .post-image,
.loop.one-plus-two-loop article:not(:first-child) .post-image {
  width: 33%;
  box-shadow: none;
}

/* Type Video */

.loop.one-plus-two-loop article:not(:first-child) .post-image .play-button,
.loop.hv-loop article .post-image .play-button {
  width: 85px;
  height: 85px;
}

.loop.one-plus-two-loop article:not(:first-child) .post-image .play-button svg,
.loop.hv-loop article .post-image .play-button svg {
  width: 40px;
}

.basil-post-wrap.hv-loop .type-video .entry-header a,
.basil-post-wrap.hv-loop .type-video .entry-header span {
  color: var(--contrast);
}

/* End Type Video */

.in-content .loop.one-plus-two-loop article .inside-article,
.loop.one-plus-two-loop article:not(:first-child) .inside-article {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}

.in-content .loop.one-plus-two-loop article .entry-header,
.loop.one-plus-two-loop article:not(:first-child) .entry-header {
  width: 67%;
  height: auto;
  left: -20px;
  margin-top: 0;
}

.loop.two-plus-rel-loop .author-avatar,
.loop.one-plus-two-loop .author-avatar {
  display: none;
}

.loop.two-plus-rel-loop .entry-meta.author-only .author-name,
.loop.one-plus-two-loop .entry-meta.author-only .author-name {
  margin-left: 0;
}

.loop.two-plus-rel-loop article .post-image:first-child,
.loop.two-plus-rel-loop article .post-image:nth-child(2) {
  box-shadow: 0px 0px 7px 0px #FFFFFF;
}

.dummy-article.one-plus-two-extra .tag24-box-1-piu-2-dopo-il-terzo-articolo {
  margin-top: -20px;
  margin-bottom: 10px;
}

.tag24-articolo-sopra-il-testo {
  margin-bottom: 0.75em;
}

.tag24-articolo-in-fondo-al-testo a,
.tag24-articolo-in-fondo-al-testo img {
  display: block;
}

/* Two plus Related */

.loop-2-plus-related .button {
  margin-top: 1em;
}

@media screen and (max-width: 1280px) {
  .two-plus-rel-loop .dummy-article {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 1180px) {
  .two-plus-rel-loop .dummy-article {
    font-size: 1em;
    width: 100%;
  }
}

@media screen and (max-width: 1080px) {
  .loop.one-plus-two-loop article.dummy-article {
    width: 100%;
    float: none;
    clear: both;
  }
  .loop.one-plus-two-loop article:not(:first-child) .inside-article {
    flex-direction: column;
    align-items: flex-start;
  }
  .loop.one-plus-two-loop article:not(:first-child) .post-image {
    width: 55%;
  }
  .loop.one-plus-two-loop article:not(:first-child) .entry-header {
    width: 80%;
    margin-left: auto;
    left: 0;
    margin-top: -80px;
  }
  .dummy-article.one-plus-two-extra .tag24-box-1-piu-2-dopo-il-terzo-articolo {
    text-align: right;
  }
}

.loop.two-plus-rel-loop .author-avatar {
  display: none;
}

/*--------------------------------------------------------------
* Easy Social Share Icons
*-------------------------------------------------------------*/

body .essb-location-customize {
  display: none !important;
}

body .essb_links ul::before {
  content: "Condividi";
  font-family: "Readex Pro", sans-serif;
  display: inline-block;
  vertical-align: middle;
  text-transform: uppercase;
  margin-right: 0.8em;
  font-size: 0.9em;
}

body .essb_links .essb_item a {
  background: var(--contrast) !important;
  border-radius: 7px;
  margin-right: 6px;
}

.essb_icon_custom_01::before,
.essb_icon_whatsapp_tag24::before {
  content: "\4a";
  filter: brightness(10);
}

/*--------------------------------------------------------------
* Single Post
*-------------------------------------------------------------*/

.single #main {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.single #main > article .inside-article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.header-featured-wrap {
  width: 100%;
}

.comments-area,
.content-meta-wrap {
  width: calc(66.666% - 30px);
}

.content-meta-wrap {
  font-size: 1.05em;
}

.header-featured-wrap .entry-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.header-meta-wrap {
  width: calc(100% - 320px);
}

.header-meta-wrap .entry-title {
  font-weight: bold;
}

.header-meta-wrap .entry-meta:not(.author-only) {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.header-meta-wrap .posted-on,
.header-meta-wrap .cat-links a {
  color: #777 !important;
}

.single .subtitle {
  padding: 25px 0 0;
  border-top: 4px solid var(--green);
  margin: 1.25em 0 1.25em;
  font-style: italic;
  font-size: 1.1em;
}

.single .subtitle p {
  margin: 0;
}

.scrollmore {
  background: var(--green);
  padding: 0 10px;
  margin-left: 10px;
}

.scrollmore:hover {
  background: var(--yellow);
}

.featured-wrap {
  width: 63%;
}

.featured-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  width: 125%;
  margin-left: 0;
  max-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.featured-image img {
  width: 100%;
}

.featured-rel-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.content-meta-wrap .entry-content {
  line-height: 1.75;
}

.content-meta-wrap .entry-content h1,
.content-meta-wrap .entry-content h2,
.content-meta-wrap .entry-content h3,
.content-meta-wrap .entry-content h4,
.content-meta-wrap .entry-content h5 {
  line-height: 1.5;
  font-weight: bold;
}

.content-meta-wrap .entry-content p + h1,
.content-meta-wrap .entry-content p + h2,
.content-meta-wrap .entry-content p + h3,
.content-meta-wrap .entry-content p + h4,
.content-meta-wrap .entry-content p + h5 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.content-meta-wrap .entry-content p a {
  background: var(--green);
}

.content-meta-wrap .entry-content p a:hover {
  background: var(--yellow);
}

.content-meta-wrap .entry-content ol {
  counter-reset: tag24-counter;
}

.content-meta-wrap .entry-content ol,
.content-meta-wrap .entry-content ul:not(.essb_links_list) {
  margin-left: 0;
  padding-left: 50px;
  margin-top: 1.5em;
  margin-bottom: 2em;
  border-left: 8px solid var(--yellow);
  list-style: none;
}

.content-meta-wrap .entry-content ol li {
  counter-increment: tag24-counter;
}

.content-meta-wrap .entry-content ol li,
.content-meta-wrap .entry-content ul:not(.essb_links_list) li {
  line-height: 1.3;
  list-style: none;
  position: relative;
}

.content-meta-wrap .entry-content ol li::before,
.content-meta-wrap .entry-content ul:not(.essb_links_list) li::before {
  position: absolute;
  left: -27px;
}

.content-meta-wrap .entry-content ul:not(.essb_links_list) li::before {
  content: '';
  background: var(--dark-yellow);
  height: 10px;
  width: 10px;
  border-radius: 5px;
  top: 7px;
}

.content-meta-wrap .entry-content ol li::before {
  content: counter(tag24-counter)".";
  top: -2px;
  font-family: "Readex Pro", sans-serif;
  font-weight: bold;
  color: var(--dark-yellow);
}

.content-meta-wrap .entry-content ol li + li,
.content-meta-wrap .entry-content ul:not(.essb_links_list) li + li {
  margin-top: 0.75em;
}

.content-meta-wrap .entry-content .tag24-related.list .yarpp-related {
  margin-top: 0.75em;
}

.content-meta-wrap .entry-content .tag24-related.list ul {
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.content-meta-wrap .entry-content .tag24-related.list ul li + li {
  margin-top: 0.5em;
}

body blockquote {
  border-left: none;
  padding: 70px 20px 40px 20px;
  max-width: 680px;
  margin: 0 auto 2em auto;
  text-align: left;
  font-size: 1em;
  font-style: italic;
  font-weight: 300;
  position: relative;
  line-height: 1.6;
}

body blockquote::before {
  content: "“";
  font-size: 3.5em;
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  margin-left: auto;
  margin-right: auto;
  width: 50px;
  height: 50px;
  font-weight: 400;
  background: var(--yellow);
  font-style: normal;
  line-height: 1.2;
  border-radius: 50%;
  text-align: center;
}

blockquote cite {
  font-size: 0.9em;
  display: block;
  font-weight: normal;
  font-style: normal;
  margin-top: 0.75em;
}

body blockquote::after {
  content: "";
  bottom: 0;
  left: 0;
  right: auto;
  width: 50%;
  max-width: 300px;
  margin: auto;
  position: absolute;
  height: 8px;
  background: var(--yellow);
}

body .wp-block-pullquote {
  margin: 0;
  padding: 0;
}

body .wp-block-pullquote blockquote {
  font-size: 1.2em;
  text-align: center;
  padding-top: 90px;
  max-width: 600px;
}

body .wp-block-pullquote blockquote::before {
  width: 65px;
  height: 65px;
  font-size: 4em;
}

body .wp-block-pullquote p {
  font-size: 1em;
}

body .wp-block-pullquote cite {
  font-size: 0.75em;
}

body .wp-block-pullquote blockquote::after {
  right: 0;
}

body  .wp-block-pullquote blockquote::before {
  right: 0;
}

@media screen and (max-width: 1080px) {
  .header-meta-wrap {
    width: 100%;
  }
  .header-featured-wrap  {
    width: 100%;
  }
  .header-featured-wrap .entry-header {
    flex-direction: column;
    margin-bottom: 1em;
  }
  .single .subtitle {
    margin-bottom: 1.5em;
  }
}


/* Prev Next Navigation */

.site-main .post-navigation {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation a {
  background: var(--pink);
  color: var(--white) !important;
  padding: 0 5px;
}

.nav-next .next::before {
  display: none !important;
}

.nav-next .next::after {
  content: "\f105";
  font-family: GeneratePress;
  text-decoration: inherit;
  position: relative;
  margin-left: .6em;
  width: 13px;
  text-align: center;
  display: inline-block;
}

/*
* Comments
*/

body #page .comments-area {
  margin-bottom: 2em !important;
  font-size: 0.9em;
  margin-top: 3em;
  background: #e2e2e2;
  padding: 20px;
}

body .comment-meta {
  display: flex;
  align-items: center;
  width: 100%;
}

body .comment-meta .avatar {
  width: 40px;
}

body .comment-author-info {
  display: flex;
  align-content: center;
  justify-content: space-between;
  margin-bottom: 0;
  width: 100%;
}

body .comments-area .entry-meta {
  margin-bottom: 0;
}

body .comments-area .entry-meta,
body .comments-area .entry-meta a,
body .comments-area .entry-meta a:hover,
body .comments-area .entry-meta a:focus,
body .comments-area .entry-meta a:active,
body .comments-area .entry-meta a:visited {
  color: #777;
}

body .comment-content {
  padding: 15px;
  border: 2px solid var(--purple);
  margin-top: 0.5em;
}

body .comment-body {
  padding: 1em 0;
}

.comment-form input[type='submit'] {
  margin-bottom: 0;
}

.comment-form #author,
.comment-form #email,
.comment-form #url {
  width: 100%;
}

.comment-form-cookies-consent {
  font-size: 0.9em;
  line-height: 1.2;
  margin: 1.5em auto;
}

.comment-form-cookies-consent input {
  margin-right: .75em;
}

/*
* Tag Box
*/

.tag-box ul,
.tag-box li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-box ul {
  margin-left: -8px;
  margin-right: -8px;
}

.tag-box li {
  margin: 1px 8px;
  border-radius: 3px;
  display: inline-block;
  overflow: hidden;
}

.tag-box li a {
  background: var(--purple);
  padding: 5px 10px;
  text-transform: uppercase;
  color: var(--white) !important;
  font-family: "Readex Pro", sans-serif;
  display: block;
  font-size: 0.8em;
}

.tag-box li a:hover {
  color: var(--white);
}

/*
* Tag24 Related
*/

/* List */

.rel-box.yellow {
  background: var(--light-yellow);
}

.rel-box.pink {
  background: var(--pink);
}

.tag24-related.list {
  z-index: 1;
  position: relative;
  padding: 20px 20px;
  font-size: 0.9em;
}

.tag24-related.list h3 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  line-height: 1;
  font-size: 0.9em;
}

.tag24-related.list ul,
.tag24-related.list li {
  list-style: none;
  border: 0 !important;
  margin: 0;
  padding: 0;
}

.tag24-related.list li::before {
  display: none;
}

.tag24-related.list li + li {
  margin-top: 0.5em;
}

.tag24-related.list li a {
  font-weight: normal;
  /*font-style: italic;*/
}

.tag24-related.list .posted-on {
  width: 100%;
  text-align: right;
  display: block;
  font-family: "Readex Pro", sans-serif;
  font-size: 0.8em;
}

.tag24-related.list.dates .posted-on {
  display: block !important;
}

.tag24-related.list .yarpp-related {
  margin-bottom: 0;
}

.featured-rel-wrap .tag24-related.list {
  text-align: right;
  width: 37%;
}

/* This applies to non-related content using related content layout */

.so-panel > .maybe-related {
  margin-top: 2.5em;
}

.so-panel > .widget-title + .maybe-related {
  margin-top: 0;
}

/* This applies for first-post archive hero post and to "extra" content div */

.white-text h3.widget-title {
  color: var(--white);
}

.offset {
  display: none;
}

.extra .rel-box,
.entry-header .rel-box {

}

.extra .rel-box {
  text-align: right;
}

.extra .offset,
.entry-header .offset {

}

.extra .rel-box.yellow {
  background: var(--light-yellow);
}

.extra .rel-box.pink {
  background: var(--pink);
}

.extra .offset {
  top: 0;
  right: 0;
  left: auto;
}

.entry-header .tag24-related.list {
  margin-top: 1.75em;
}

.extra .tag24-related.list .yarpp-related,
.entry-header .tag24-related.list .yarpp-related {
  margin-top: 0.5em;
}

.extra .tag24-related.list .posted-on,
.entry-header .tag24-related.list .posted-on {
  display: none;
}

.extra .tag24-related.list li + li,
.entry-header .tag24-related.list li + li {
  margin-top: 0.35em;
}

.pink a {
  color: var(--white) !important;
}

.pink .posted-on {
  color: #dedede !important;
}

.extra .tag24-related.list.pink .yarpp-related {
  margin-top: 1em;
  font-size: 1.05em;
}

.extra .tag24-related.list.pink li + li {
  margin-top: 1em;
}

@media screen and (min-width: 1180px) {
  .basil-post-wrap .two-plus-rel-extra {
    width: calc(33.333% - 20px);
    margin-left: 20px;
  }
}

/*
* Author Box Sidebar
*/

.author-box {
  border: 4px solid #5e14a2;
  padding: 10px;
  overflow: hidden;
  background: var(--white);
}

.author-box h3.widget-title {
  margin: 0;
  text-transform: none;
  font-size: 0.9em;
  font-weight: bold;
}

.author-box .entry-meta.author-only {
  margin-top: 0.5em;
}

.author-box .entry-meta.author-only .author-name {
  margin-left: auto;
}

.author-description {
  font-size: 0.85em;
  line-height: 1.4;
  margin-top: 0.5em;
  padding-left: 55px;
}

.author-box .author-name {
  font-weight: bold;
}

.author-box .entry-meta.author-only + .button {
  margin-top: 2em;
}

.author-content {
  text-align: right;
}

.author-content .button {
  display: inline-block;
}

/* Captions */

.wp-block-image,
.wp-caption {
  position: relative;
}

.wp-block-image {
  margin-bottom: 2em;
}

.wp-block-image figcaption,
.wp-caption .wp-caption-text {
  font-style: italic;
  opacity: 1;
  font-size: 0.85em;
  padding-top: 13px;
  padding-bottom: 20px;
  margin-bottom: 18px;
  text-align: left;
  position: relative;
  margin-top: 0;
  display: inline-block;
}

.wp-block-image figcaption {
  font-size: 0.95em;
  line-height: 1.25em;
  margin-bottom: 0;
}

.wp-block-image + * {
  margin-top: 36px;
}

.wp-block-image figcaption::after,
.wp-caption .wp-caption-text::after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 80%;
  min-width: 190px;
  height: 8px;
  background: var(--yellow);
  box-shadow: 3px 3px 0px 0px var(--dark-yellow);
}

/*
* Text CTA (user for social f.eg)
*/

.text-cta {
  border-top: 4px solid var(--green);
  border-bottom: 4px solid var(--green);
  padding-top: 1em;
  padding-bottom: 1em;
}

.text-cta p {
  max-width: 640px;
}

.text-cta p:last-child {
  margin-bottom: 0;
}

.text-cta ul.menu li.social-item a {
  padding-top: 0;
  padding-bottom: 0;
}

.text-cta ul.menu li.social-item a::before {
  font-size: 2.2rem;
  line-height: 1;
}

.text-cta .panel-grid {
  margin-bottom: 0 !important;
}

/*
* Right Sidebar Wrap
*/

.right-sidebar-wrap {
  width: calc(33.333% - 30px);
  margin-top: 2em;
}

.right-sidebar-wrap .is-right-sidebar {
  width: 100%;
  margin-top: 1.5em;
}

.right-sidebar-wrap > div + div {
  margin-top: 2em;
}

/*
* Add To Any
*/

body .addtoany_content {
  margin: 2em 0;
  display: flex;
  flex-direction: row;
  font-family: "Readex Pro", sans-serif;
}

body .addtoany_header {
  text-transform: uppercase;
  margin-right: 1em;
  margin-bottom: 0;
}

body .a2a_menu,
body .a2a_full {
  border: 4px solid var(--green);
  border-radius: 0;
}

body .a2a_menu a.a2a_i:visited,
body .a2a_menu a.a2a_more,
body .a2a_menu a,
body .a2a_full a {
  font-family: "Readex Pro", sans-serif;
  color: var(--contrast);
}

body .a2a_menu_find_container {
  border-color: var(--contrast);
  border-radius: 0;
}

body .a2a_full_footer {
  display: none !important;
}

/*
* Ads by WP Quads
*/

/*
* Banner Demo
*/

.banner-demo {
  justify-content: center;
  align-items: center;
  display: flex;
}

.banner-demo h4 {
  margin-bottom: 0;
}

.entry-content .banner-demo {
  margin-bottom: 1.25em;
}

.center-banner .banner-demo,
.basil-post-wrap + .banner-demo {
  margin-left: auto;
  margin-right: auto;
}

.shortcode-temp-banner .banner-demo {
  margin-bottom: 0;
}

.author-name-and-description + div {
  margin-left: auto;
}

/*--------------------------------------------------------------
## WP PageNavi
--------------------------------------------------------------*/

body #page .site-main > .wp-pagenavi {
	text-align: left;
	margin-bottom: 1.35em;
	font-size: 2em;
  font-family: "Readex Pro", sans-serif;
  width: 100%;
  font-weight: bold;
}

.wp-pagenavi a, .wp-pagenavi span {
	display: inline-block;
}

.wp-pagenavi .pages {
	display: none;
}

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: none;
    padding: 5px;
    margin: 0 5px;
    background: transparent;
    color: var(--green);
    transition: 0.5s;
    border: none;
}

.wp-pagenavi a:hover, .wp-pagenavi span:hover {
	color: var(--contrast);
	background: transparent;
	border: none;
}

.wp-pagenavi span.current {
    font-weight: bold;
    color: var(--contrast);
    background: transparent;
    border: none;
}

/* Footer */

body .site-footer {
  background: var(--contrast);
  font-family: "Readex Pro", sans-serif;
}

body .site-footer * {
  color: var(--white);
}

body .footer-widgets-container.grid-container {
  padding-top: 40px;
  padding-bottom: 40px;
  /*max-width: 1470px;*/
  max-width: 1200px;
  font-size: 0.8em;
}

body .footer-widgets,
body .site-footer .footer-widgets-container .inner-padding {
  padding: 0;
}

body .footer-widgets .widget {

}

body .footer-widgets .widget h3.widget-title {

}

body .footer-widgets p:last-child {
  margin: 0;
}

body .site-footer .footer-widgets-container .inside-footer-widgets {
  margin-left: 0;
}

body .inside-footer-widgets > div > *:first-child:last-child {

}

body .footer-widgets .widget,
body .footer-widgets .widget a {

}

body .footer-widgets .widget li {
  display: block;
  padding-bottom: 0;
}

body .footer-widgets .widget #menu-social-footer li {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  body .site-footer {

  }
  body .footer-widgets {

  }
}

/* Galleries */

@media screen and (max-width: 640px) {
  .gallery .gallery-item {
    max-width: 50% !important;
  }
}

/* Hide Recaptcha */

body .grecaptcha-badge {
  display: none !important;
}



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

	.archive.author header .author-name-and-description{min-height: 410px;}
}

/**** SKIN FORTINO *****/
/*
* Skin Compat START
*/

body.tag24-body-background {
  background-size: auto;
  background-position: top center;
}

body.tag24-body-background .inside-header {
  padding: 15px 15px 0 15px;
  height: 110px; /**add 20092022*/
}

body.tag24-body-background #page .site-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-top:50px;
}

body.tag24-body-background .header-nav-wrap {
  margin-top: 100px;
  transition: 0s;
}

body.tag24-body-background .site-header,
body.tag24-body-background .site-footer {
  background: transparent;
}

body.tag24-body-background .footer-widgets-container.grid-container {
  background: #000;
}

body.tag24-body-background #page,
body.tag24-body-background .inside-header.grid-container {
  background: #FFF;
}

body.tag24-body-background #page {
  overflow-x: hidden;
}

body.tag24-body-background .site-header .stretched {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
}

body.tag24-body-background .site-header .inside-navigation > .inside-nav-wrapper {
  padding-left: 0;
  padding-right: 0;
}

body.tag24-body-background .storia-diretta-header::before,
body.tag24-body-background .storia-diretta-header::after {
  display: none !important;
}

/*
* Skin Compat END
*/

/**
Breaking News Ditty
*/
.break{
	text-transform: uppercase;
	color: #fff ;
    font-size: 24px !important;
    padding: 5px;
    text-align: center;
}

.ditty-item__content{
	color: #fff !important;
    font-size: 20px;
}


.ditty-item__content a {
    color: #fff !important;
    font-size: 20px;
}

/**
Breaking News Ditty End
*/

/** Likebutton Container*/
.likebtn_container{display:none;}
/*
* Likebutton Container END
*/
