/*
Theme Name: WeSport (GP - Child)
Theme URL: http://localhost/wesport
Description: Customized theme for WeSport
Author: blank
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* nullifying :before and :after created in all.min.css generatepress */
.clearfix:after, .clearfix:before, .grid-100:after, 
.grid-100:before, .grid-15:after, .grid-15:before, 
.grid-20:after, .grid-20:before, .grid-25:after, 
.grid-25:before, .grid-30:after, .grid-30:before, 
.grid-33:after, .grid-33:before, .grid-35:after, 
.grid-35:before, .grid-40:after, .grid-40:before, 
.grid-45:after, .grid-45:before, .grid-50:after, 
.grid-50:before, .grid-55:after, .grid-55:before, 
.grid-60:after, .grid-60:before, .grid-65:after, 
.grid-65:before, .grid-66:after, .grid-66:before, 
.grid-70:after, .grid-70:before, .grid-75:after, 
.grid-75:before, .grid-80:after, .grid-80:before, 
.grid-85:after, .grid-85:before, .grid-container:after, 
.grid-container:before, [class*=mobile-grid-]:after, [class*=mobile-grid-]:before,
[class*=tablet-grid-]:after, [class*=tablet-grid-]:before { content: none; }

/* Addition font for label with numbers */
/*@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: normal;
	src: local('Bebas Neue'), url('assets/fonts/BebasNeue_Bold.woff') format('woff');
}*/

@font-face {
    font-family: 'BebasNeue';
    font-weight: 100;
    font-style: normal;
    src: url('assets/fonts/BebasNeue/BebasNeue-Thin.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeue';
    font-weight: 200;
    font-style: normal;
    src: url('assets/fonts/BebasNeue/BebasNeue-Light.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeue';
    font-weight: 300;
    font-style: normal;
    src: url('assets/fonts/BebasNeue/BebasNeue-Book.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeue';
    font-weight: 400;
    font-style: normal;
    src: url('assets/fonts/BebasNeue/BebasNeue-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'BebasNeue';
    font-weight: 700;
    font-style: normal;
    src: url('assets/fonts/BebasNeue/BebasNeue-Bold.otf') format('opentype');
}

body { font-size: 18px; line-height: 30px; }

p { margin: 0px; }

body a, body a:visited { color: #292929; }

#content {
	min-height: calc(100vh - 592px);
}

strong { font-weight: 500 !important; }

.ws-desktop-hidden { display: none; }
.ws-clear { clear: both; }
.site-header {
	background-color: #292929;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
	position: relative;
	z-index: 5;
}

/*.inside-header,*/
body .home-container .site-content {
	padding: 30px 20px !important;
}

header .inside-header,
body .home-container { max-width: 1440px; box-sizing: border-box; }

body .home-container { margin: 0px auto; }

.main-navigation, .main-navigation ul ul,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li.sfHover > a { background-color: transparent; }

.main-navigation .main-nav ul li a {
	font-size: 18px;
	line-height: 21px;
	text-transform: uppercase;
	padding: 2px;
	margin: 4px 40px;
}

.main-navigation .main-nav ul li a:last-child {
	margin-right: 0px !important;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"] > a { 
	color: #FECB38;
	border-bottom: 3px solid #FECB38;
	background-color: transparent;
}

.left-filter-title {
    border-bottom: 2px solid #FECB38;
	padding-bottom: 5px;
	margin-bottom: 1rem;
	width: fit-content;
	margin-right: 120px;
}

#page { position: relative; }

.one-container .site-content { padding: 70px 0px 120px; }
.one-container .hero-container .site-content { padding-top: 0px; }

.page-content, .entry-content, .entry-summary { margin: 28px 0px 0px; }

.post-categories a:link, .post-categories a:visited {
	color: #000000;
	text-decoration: underline;
	font-weight: 300;
}

.post-categories a:hover { color: #FECB38 !important; }

/* FOOTER */
.footer-widgets { padding: 30px 40px; }

/* nullifying margin-left: -40px all.min.css generatepress */
.site-footer .footer-widgets-container .inside-footer-widgets { margin: 0px; }
.site-footer .footer-widgets-container .inner-padding { padding: 0px; }

.site-footer, .site.footer-widgets {
	background-color: #292929;
	color: #FFFFFF;
	font-weight: 300;
}

.inside-footer-widgets aside { margin-left: 20px; }

.inside-footer-widgets > div:first-child aside { margin: 0px; }

/* if it's an HTML widget */
.inside-footer-widgets .custom-html-widget {
	font-size: 14px;
	line-height: 20px;
}

/* if it's a navigation menu widget */
.inside-footer-widgets .widget_nav_menu,
.custom-mobile-menu__content .widget_nav_menu {
	font-size: 16px;
	line-height: 19px;
}

.inside-footer-widgets .widget_nav_menu h2.widget-title, 
.custom-mobile-menu__content .widget_nav_menu h2.widget-title {
	font-weight: 500;
	text-transform: uppercase;
	color: #FECB38;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 32px;
}
.inside-footer-widgets .widget_nav_menu .menu-item,
.custom-mobile-menu__content .widget_nav_menu .menu-item{
	padding-bottom: 15px;
}
.inside-footer-widgets .widget_nav_menu .menu-item a,
.custom-mobile-menu__content .widget_nav_menu .menu-item a { color: #FFFFFF; }
.inside-footer-widgets .widget_nav_menu .menu-item a:hover { color: #FECB38; }

.site-info {
	padding: 5px;
	font-size: 12px;
	color: #a9a9a9;
}

#subfooter { margin-bottom: 20px; }
.grecaptcha-badge { display: none; }
#subfooter .grecaptcha-badge { box-shadow: none !important; display: block; }


/* Servizi Società */
.pacchetto .elementor-column-wrap {
	background: #FFFFFF;
    box-shadow: 0px 0px 10px rgba(82, 82, 82, 0.15);
    border-radius: 10px;
}

.autogoal-paragraph {
	color: #ED1C24;
	font-weight: bold;
}

/* Custom Contact Form */
.wpcf7-form {
	display: flex;
	flex-wrap: wrap;
}

.wpcf7-form > p:not(:last-of-type) {
	width: 50%;
	margin-bottom: 40px;
}

.wpcf7-form > p:not(:last-of-type) input {
	width: calc(100% - 20px);
	border: 1px solid #E1E1E1;
	background: white;
	outline: none;
}

.wpcf7-form > p:not(:last-of-type) input[type="checkbox"]
{
	width: auto;
	margin-right: 10px;
}

.wpcf7-form select {
	width: calc(100% - 20px);
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right white;
	background-position-x: calc(100% - 20px);
	text-transform: capitalize;
}

.wpcf7-form textarea {
	width: calc(100% - 20px);
	border: 1px solid #E1E1E1;
	background: white;
	outline: none;
}

.wpcf7-form > p:not(:last-of-type) label {
	font-size: 18px;
	font-weight: bold;
}

.wpcf7-form > p:last-of-type {
	margin-top: 60px;
	width: 100%;
	display: flex;
    justify-content: center;
}

.wpcf7-form > p:last-of-type input {
	width: 100%;
	max-width: 315px;
	text-align: center;
	border: 2px solid #FECB38;
	font-size: 14px;
	font-weight: bold;
	background: white;
	color: #292929;
	text-transform: uppercase;
}

/* .wpcf7-response-output {
	display: none !important;
} */

.wpcf7-form > p:last-of-type .ajax-loader {
	display: none;
}

.section-form-work-with-us .wpcf7-form > p:nth-last-child(-n + 4) {
	width: 100%;
}

.custom-icon-text .elementor-icon {
	padding: 17px;
    border-radius: 100px;
}

.custom-icon-text.facebook .elementor-icon {
	background: #1F509F;
}

.custom-icon-text.instagram .elementor-icon {
	background: #833AB4;
}

.custom-icon-text.youtube .elementor-icon {
	background: #CA1616;
}

/* to fullfill the UI requirements first column has to be wider */
@media (min-width: 1025px) {
	.site.footer-widgets .inside-footer-widgets > div {
		min-height: 210px;
		border-right: 1px solid #E1E1E1;
	}

	.custom-inner-section-elementor .elementor-container .elementor-row {
		flex-direction: column;
	}

	.custom-inner-section-elementor .elementor-container .elementor-row .elementor-column {
		width: 100% !important;
	}

	.site.footer-widgets .inside-footer-widgets > div:last-child { border: none; }

	.site.footer-widgets .inside-footer-widgets .grid-33 {
		width: 30%;
	}

	.site.footer-widgets .inside-footer-widgets .grid-33:first-child {
		width: 40%;
	}

	.ws-sp-team-overview img.premium-badge {
		width: 24px !important;
		height: 24px !important;
		margin-left: 4px;
		position: initial !important;
	}
}
/* END FOOTER */

/* sportspress customisation */
.sp-template { margin: 0px; }
/* END sportspress customisation */

/* wesport content structure */

.ws-number {
	font-family: "Bebas Neue", sans-serif !important;
}

.ws-full-column {
	position: relative;
	float: left;
	clear: both;
	width: 100%;
	overflow: hidden;
}

.ws-main-column {
	width: 700px;
	position: relative;
	float: left;
}

.ws-left-column, .ws-right-column {
	width: 340px;
	position: relative;
	float: left;
}

.ws-right-column { margin-left: 60px; }
.ws-left-column { margin-right: 60px; }

.ws-main-column h2,
.ws-right-column h2,
.ws-left-column h2,
.ws-full-column h2,
.ws-block h2 {
	font-size: 26px;
	line-height: 110%;
	text-transform: uppercase;
	font-weight: 500;
	margin-top: 10px;
}

.ws-main-column h3,
.ws-right-column h3,
.ws-left-column h3,
.ws-full-column h3,
.ws-block h3 {
	font-size: 18px;
	line-height: 21px;
	text-transform: uppercase;
	font-weight: 500;
}

/*.ws-main-column h3.section-title,
.ws-right-column h3.section-title,
.ws-left-column h3.section-title {
	font-size: 32px;
	line-height: 110%;
	border-bottom: 2px solid #FECB38;
	text-transform: uppercase;
	padding-bottom: 5px;
	margin-bottom: 45px;
}*/

.ws-content-hero {
	min-height: 450px;
	background-image: linear-gradient(#464646, #292929);
	padding-top: 60px;
	box-sizing: border-box;
}

.ws-content-hero .grid-player {
	display: grid;
	grid-template-columns: 450px 1fr;
	grid-template-rows: auto;
	align-content: end;
	height: 100%;
}

.ws-block { margin-bottom: 30px; overflow: hidden; }
.ws-block p { margin: 0px 0px 10px; }

.ws-block a { color: #000000; }
.ws-block a:hover { color: #FECB38; }

.ws-col-3 { width: 16.66%; float: left; }
.ws-col-6 { width: 50%; float: left; }

.ws-action {
	display: inline-block;
	width: 90px;
	text-align: center;
	margin: 0px 10px;
}

.ws-action .dashicons, .ws-action .fa { font-size: 32px; }
.ws-action .dashicons { width: 32px; }
.ws-action:last-child { margin-right: 0px; }

.ws-disabled {
	cursor: default;
	color: lightgrey !important;
}

.ws-grid-2-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

h3.ws-title-uc {
	font-size: 26px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ws-content-list-item { overflow: hidden; }

.ws-content-list-item figure.entry-image {
	float: left;
	width: 246px;
}

.ws-content-list-item .entry-content {
	float: left;
	margin: 0px 0px 0px 20px;
	width: calc(100% - 270px);
	box-sizing: border-box;
}

.ws-content-list-item .entry-content header { margin-bottom: 10px; }

.ws-content-list-item .entry-content h3.title {
	font-size: 18px;
	line-height: 24px;
	text-transform: none;
	color: #292929;
	margin: 0px;
	margin-bottom: 5px;
}

/*.ws-content-list-item .entry-content h3.title a { color: #525252; } */

.ws-content-list-item .entry-content .entry-meta {
	margin: 0px;
	font-size: 13px;
	line-height: 18px;
	color: #999999;
	font-weight: 300;
}

.ws-content-list-item .entry-content .entry-summary {
	margin: 0px;
	font-weight: 300;
	font-size: 13px;
	line-height: 18px;
	color: #525252;
	letter-spacing: 0.01em;
}

.ws-content-list-item .entry-content .entry-summary a {
	color: #525252;
	font-weight: 500;
}

/* END wesport content structure */

/* Customization on sportspress style */
.sp-tab-group.ws-grid-tabs .sp-tab-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	height: 30px;
	border-bottom: 1px solid #CECECE;
	box-shadow: 0px 0px 1px rgba(86, 86, 86, 0.25);
	padding: 0px;
	margin: 0px;
}

.sp-tab-group.ws-grid-tabs .sp-tab-menu.ws-grid-3-tabs {
	grid-template-columns: 1fr 1fr 1fr;
}

.sp-tab-group.ws-grid-tabs .sp-tab-menu.ws-grid-4-tabs {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.sp-tab-group.ws-grid-tabs .sp-tab-menu .sp-tab-menu-item {
	width: 100%;
	text-align: center;
	line-height: 21px; 
}

/* TODO there is an odd flickering on tab change, we have to remove it */
.sp-tab-group.ws-grid-tabs .sp-tab-menu .sp-tab-menu-item a {
	color: #000000;
	opacity: 0.9;
}

.sp-tab-group.ws-grid-tabs .sp-tab-menu .sp-tab-menu-item-active {
	font-weight: 500;
	border-bottom: 2px solid #FECB38;
	margin-bottom: -1px; /* to prevent overlapping on gray border */
}

.sp-tab-group .sp-tab-content {
	padding-top: 45px;
	padding-bottom: 25px;
}

/*.sp-tab-group .sp-tab-content .ws-sp-event-summary {
	padding: 0px 30px; 
}*/
/* END Customization on sportspress style */

/* VIDEO - custom post type */
.site-content article.type-video h1,
.site-content article.type-post h1 {
	line-height: 110%;
	padding-bottom: 14px;
	border-bottom: 2px solid #FECB38;
}

.site-content article.type-video .video-content,
.site-content article.type-post .post-content {
	padding-bottom: 40px;
	border-bottom: 1px solid #B3B3B3;
	margin-bottom: 12px;
}

.site-content article.type-post .post-content img {
	height: 50vh;
	object-fit: cover;
	width: 100%;
}

.site-content article.type-video iframe,
.site-content article.type-post iframe { display: block; margin-left: auto; margin-right: auto; }

.video-description, .ws-player-description {
	font-weight: 300;
}

.video-description .mobile-read-more { display: none;  }

.video-related-title {
	font-size: 16px;
	line-height: 19px;
	font-weight: 500;
	padding-top: 10px;
}

.video-related-date {
	color: #999999;
	font-size: 12px;
	line-height: 14px;
}

.video-actions { text-align: right; }

/* END VIDEO - custom post type */

/* PLAYER - custom post type */

.ws-content-hero { margin-bottom: 50px; }
.ws-content-hero .grid-player .sp-player-details {
	display: grid;
	align-content: center;
	color: #FFFFFF !important;
}

.ws-content-hero .sp-player-details h1.entry-title {
	font-size: 70px;
	font-weight: 500;
	line-height: initial;
}

.ws-content-hero .sp-player-details .sp-player-position {
	font-size: 36px;
	font-weight: 400;
	line-height: initial;
}

.ws-content-hero .sp-player-details .sp-player-current-team {
	width: 100%;
	text-align: left;
	margin-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 40px;
	display: grid;
	grid-template-columns: 85px 1fr;
	align-items: center;
	font-size: 30px;
	color: #FFFFFF;
}

.ws-content-hero .sp-player-details .sp-player-current-team a,
.ws-content-hero .sp-player-details .sp-player-current-team a:visited,
.ws-content-hero .ws-sp-event-teams-results a,
.ws-content-hero .ws-sp-event-teams-results a:visited {
	color: #FFFFFF;
}

.ws-grid-2-col.ws-player-stats,
.ws-grid-2-col.ws-team-stats {
	/* column gap has to be 2 columns out of 12 cols grid */
	column-gap: 16.67%;
	margin-bottom: 30px; /* CR wesport 05/11/2019 */
}

.ws-player-performances {
	grid-column: 2;
	grid-row: 1 / 3;
}

.ws-player-stat, .ws-team-stat {
	display: grid;
	grid-template-columns: 2fr 1fr;
	min-height: 46px;
	align-items: center;
	border-bottom: 1px solid #E1E1E1;
	margin-bottom: 5px;
}

.ws-player-stat .ws-player-stat-value,
.ws-team-stat .ws-team-stat-value {
	text-align: right;
	font-size: 30px;
}

.league-selector-form {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.stats-filters {
	margin-bottom: 40px;
	column-gap: 16.67%;
}

#league-selector {
	color: black;
	flex-grow: 1;
	margin-left: 20px;
	background: white;
	border: none;
	border-bottom: 1px solid #e1e1e1;
	padding: 13px 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 21px;
}

.league-selector-label {
	font-size: 18px;
	font-weight: normal;
	line-height: 21px;
}
/* END PLAYER - custom post type */

/* CLUB - custom post type */
.grid-club {
	display: grid;

	grid-template-columns: 1fr 700px;

	grid-template-areas:
		"club-logo club-primary-info"
		"club-logo club-description"
		"club-last-matches club-last-video"
		"club-last-matches club-teams";		
}

.grid-club .club-logo {	grid-area: club-logo; align-self: center; max-width: 350px; }
.grid-club .club-primary-info {	grid-area: club-primary-info; }
.grid-club .club-secondary-info { grid-area: club-secondary-info; margin-bottom: 20px; }
.grid-club .club-description { grid-area: club-description; }
.grid-club .club-last-video { grid-area: club-last-video; }
.grid-club .club-last-matches { grid-area: club-last-matches; }
.grid-club .club-teams { grid-area: club-teams; }

.grid-club .club-mobile-tab { grid-area: club-mobile-tab; display: none; }
.grid-club .club-description-video { grid-area: club-description-video; display: none; }

.grid-club h3.section-title { 
	font-size: 26px;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 16px;
}

.grid-club .club-last-matches .club-last-matches-list {
	border-right: 1px solid #E8E8E8;
	padding-right: 34px;
	margin-right: 35px;
}

.grid-club .club-last-video .featured-video .entry-category { display: none; }
.grid-club .club-last-video .featured-video .entry-title { font-size: 24px; }

/* END CLUB - custom post type */

/* TEAM - custom post type */

.grid-team {
	display: grid;
	grid-template-columns: 1fr 700px;
	align-items: center;
	margin-bottom: 100px;
}

.grid-team img.size-wesport-square-medium {
	max-width: 350px;
}

.grid-team .ws-sp-team-overview {
	margin: 0px;
	padding: 0px;
	border: none;
}

.grid-team .ws-sp-team-overview h1.entry-title,
.grid-club .club-primary-info h1.entry-title {
	font-size: 60px;
}

.grid-team .ws-sp-team-overview .sp-team-league,
.grid-club .club-primary-info .club-city {
	font-size: 40px;
	margin: 30px 0px;
	line-height: normal;
	/* to prevent conflicts with .ws-sp-team-overview .sp-team-league 
	in global sp-team-overview template */
	width: auto; 
}

.grid-team .ws-sp-team-overview .ws-sp-team-details,
.grid-club .club-description {
	margin-top: 10px;
	border-top: 1px solid #E5E5E5;
	padding: 30px 0px 20px !important;
	width: auto;
	display: block;
}

.ws-roster-grid {
	display: grid;
	grid-template-columns: 70px 280px 1fr 1fr 1fr;
	align-items: center;
	height: 80px;
	border-bottom: 1px solid #E1E1E1;
}

#ws-team-roster-head { font-weight: 500; }

.ws-roster-grid img.size-sportspress-fit-icon {
	width: 60px;
}

.ws-roster-grid .sp-player-details p {
	margin: 0px;
	padding: 0px;
	line-height: normal;
}
.ws-roster-grid .sp-player-details .sp-player-position {
	color: #525252;
	font-size: 16px;
	font-weight: 300;
}

/* END TEAM - custom post type */

/* EVENT - custom post type */

.ws-content-hero .grid-event {
	color: #FFFFFF !important;
}

.ws-content-hero .grid-event .grid-event-row{
	display: grid;
	grid-template-columns: 1fr 260px 1fr;
	grid-template-rows: auto;
	justify-items: center;
}

.ws-content-hero .grid-event .grid-event-row.ws-sp-event-scorers {
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 260px;
	text-align: center;
}

.ws-content-hero .grid-event .grid-event-row.ws-sp-event-scorers p {
	line-height: 30px;
	margin: 0;
}

.ws-content-hero .grid-event .sp-team-logo {
	align-self: end;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 270px 1fr;
	align-items: center;
	justify-items: center;
	height: 300px;
}

.ws-content-hero .grid-event .sp-team-logo img {
	max-width: 270px;
	max-height: 270px;
}

.ws-content-hero .grid-event .sp-team-logo .sp-team-name {
	font-size: 30px;
	font-weight: 500;
}

.ws-content-hero .grid-event .ws-sp-event-result {
	font-size: 72px;
	font-weight: 500;
	line-height: 270px;
}

.ws-content-hero .grid-event .ws-sp-event-details { text-align: center; }
.ws-content-hero .grid-event .ws-sp-event-date { font-weight: 500; }

/* TODO maybe this line can be moved to the undergoing block */
.ws-content-hero .ws-sp-event-teams-results { 
	padding-bottom: 36px;
}
.ws-content-hero .ws-sp-event-scorers {
	/*display: none !important;*/
	border-top: 1px solid #b3b3b3;
	padding: 20px 0 30px;
}

.sp-event-performance-teams .sp-template-event-performance-icons {
	padding-right: 80px;
	border-right: 1px solid #E1E1E1;
}

.sp-event-performance-teams .sp-template-event-performance-icons:nth-child(2n) {
	padding-right: 0px;
	padding-left: 80px;
	border: none;
}

.grid-container .sp-event-statistics { display: none; }

.sp-template-event-performance h4.sp-table-caption {
	font-size: 32px;
	font-weight: 500;
	border-bottom: 2px solid #FECB38;
	text-transform: uppercase;
	line-height: 110%;
	margin-bottom: 54px;
}

.sp-data-table,
.sp-data-table th,
.sp-data-table td {	border: none; }

table.sp-data-table { margin-bottom: 54px; }
table.sp-data-table th { font-size: 26px; font-weight: 500; }
table.sp-data-table th, table.sp-data-table td { padding: 5px 0px; }

.sp-event-performance .sub { background: none; }

.grid-container .sp-template-event-performance-icons thead {
	display: table-header-group;
	text-transform: uppercase;
}

.sp-template-event-performance-icons .sp-player-position { display: none; }
.sp-event-performance td.data-number { width: 40px; }
.sp-event-performance .sp-performance-icons { width: 30%; text-align: right; }
.sp-event-performance .sp-performance-icons img { width: 18px; }

.ws-event-timeline .sp-data-table tr { vertical-align: top;}
.ws-event-timeline .sp-data-table td { padding: 20px 5px; border-bottom: 1px solid #E1E1E1; }
.ws-event-timeline .sp-data-table tr:last-child td { border: none; }

.ws-event-timeline-divider { background-color: #FECB38; }

.ws-event-timeline-divider .ws-tl-event-description { font-weight: 500; }

.ws-event-timeline .sp-data-table .ws-tl-event-time,
.ws-event-timeline .sp-data-table .ws-tl-event-type {
	width: 10%;
}

.ws-event-timeline .sp-data-table .ws-tl-event-type img { width: 30px; }

.ws-event-timeline .sp-data-table .ws-tl-event-time.ws-number {
	font-size: 30px;
	font-weight: 500;
}

.ws-event-timeline .sp-data-table .ws-tl-event-penalty-live-score {
	color: #111111;
    font-size: 30px;
    font-weight: bold;
    font-family: "Bebas Neue", sans-serif !important;
    margin-right: 10px;
}

a.ws-lightbox-video { text-decoration: underline !important; }

.event-extra-info {
	margin-top: 60px;
}

/* END EVENT - custom post type */

/* HOMEPAGE */

.featured-video { margin-bottom: 50px; }
.video-post-thumbnail { position: relative; overflow: hidden; z-index: 0}
.video-post-thumbnail .entry-link:before,
.ws-related-video-list .entry-link:before {
	content: "\f236";
	font-family: dashicons; /* wordpress icon font */
	font-size: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	/*height: 100%;*/
	top: 0px;
	left: 0px;
	bottom: 0px;
	color: #ffffff;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.66) 69.33%);
	z-index: 5;
}

.video-post-thumbnail.simple-post-thumbnail .entry-link:before,
.ws-related-video-list .simple-post-thumbnail .entry-link:before {
	content: " " !important;
}

.ws-related-video-list .simple-post-thumbnail { position: relative; }
.ws-related-video-list .simple-post-thumbnail img { display: block; }

.ws-related-video-list .entry-link:before,
.sp-tab-content-video .entry-link:before,
.video-list-category .entry-link:before { font-size: 55px; }

.sp-tab-content-video .container {
	display: flex;
    flex-wrap: wrap;
}

.sp-tab-content-video .ws-related-video-container {
	width: 25%;
	/*float: left;*/
    display: inline-block;
	padding: 5px; 
	box-sizing: border-box;
}

.video-post-thumbnail img {
	width: 100%;
	display: block;
}

.video-post-thumbnail .entry-details {
	position: absolute;
	z-index: 10;
	box-sizing: border-box;
	width: 100%;
	bottom: 10%;
	padding: 0px 8%;
	color: #FFFFFF;
}

.video-post-thumbnail .entry-details a { color: #FFFFFF; }

.video-post-thumbnail .entry-details h2 { font-size: 48px; letter-spacing: -0.01em; }

.short-event-summary,
.short-player-summary { border-radius: 4px; margin-bottom: 30px; box-shadow: 0px 0px 10px rgba(82, 82, 82, 0.15); }
.short-player-summary { margin-top: 10px; }
.short-event-summary .ws-sp-event-summary { padding: 0px; margin: 0px; }
.short-event-summary .ws-sp-event-summary .sp-event-logos {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 5px 10px;
}

.short-event-summary .ws-sp-event-summary a {
	font-weight: 400;
	color: #525252;
	height: 100%;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.short-event-summary .ws-sp-event-summary .sp-team-logo {
	display: inline-grid;
	justify-items: center;
	grid-template-areas: "team_logo" "team_name";
	width: 100px;
}

.short-event-summary .ws-sp-event-summary .sp-team-logo img { grid-area: team_logo; margin: 0px; } 
.short-event-summary .ws-sp-event-summary .sp-team-logo .sp-team-name { 
	grid-area: team_name;
	font-size: 11px;
	line-height: initial;
	text-align: center;
	margin: 5px 0px;
}
.short-event-summary .ws-sp-event-date { margin-top: -20px; }
.short-event-summary .ws-sp-event-date, .short-event-summary .ws-sp-event-league {
	color: #999999;
	font-size: 10px;
    line-height: 12px;
    margin-bottom: 6px;
    font-weight: 400;
}
.short-event-summary .ws-sp-event-summary .ws-sp-event-result { 
	color: #000000;
	vertical-align: unset;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
	line-height: 50px;
	font-size: 24px;
	text-align: center;
	width: auto;
}

.short-event-summary .ws-sp-event-summary .ws-sp-event-result strong {
	font-weight: bolder !important;
}

#potw_list { padding: 5px 10px; overflow: hidden; }

.short-player-summary {
	width: 200px;
	float: left;
	margin-right: 20px;
	text-align: center;
}

.short-player-summary .size-wesport-square-medium { max-width: 150px; display: block; margin: 0px auto;}

.short-player-summary .sp-player-details { 
	width: 100%; 
	border-top: 1px solid #E1E1E1; 
	padding: 15px 0px;
}

.short-player-summary .sp-player-details h3 {
	font-size: 14px;
	line-height: 17px;
	text-transform: none;
}

.short-player-summary .sp-player-details .sp-player-position {
	font-size: 12px;
	line-height: 14px;
}

.short-player-summary .sp-player-details .sp-player-current-team { 
	display: inline-grid;
	grid-template-columns: 30px 1fr;
	font-size: 10px !important;
	color: #525252;
	margin-top: 10px;
}

/* END HOMEPAGE - custom page */

/* CUSTOM TEMPLATES */
/* sp-event-summary */

/* this rule prevent inner inside-block to go on a new line */
.ws-sp-event-summary { white-space: nowrap; }


.ws-sp-team-overview img.premium-badge {
	width: 16px;
	height: 16px;
    position: absolute;
    right: 5px;
    top: 5px;
}
.ws-sp-event-summary .sp-team-logo { width: 43%; display: inline-block; }
.ws-sp-event-summary .sp-team-logo img,
.ws-sp-team-overview .sp-team-logo img,
.ws-content-hero .sp-player-details .sp-player-current-team img { width: 50px; }
.ws-sp-event-summary .sp-team-logo :nth-child(2) { margin-left: 15px; }
.ws-sp-event-summary .sp-team-name { 
	display: inline-block;
	white-space: normal;
	vertical-align: middle;
	font-weight: 500;
}

.ws-sp-event-summary .sp-team-logo.sp-team-for { text-align: left; }
.ws-sp-event-summary .sp-team-logo.sp-team-against { text-align: right; }

.ws-sp-event-summary .ws-sp-event-result {  
	font-size: 30px;
	width: 14%;
	vertical-align: middle;
	display: inline-block;
}

.ws-sp-event-date, .ws-sp-event-league { font-weight: 300; }

.ws-sp-event-result.ws-number strong {
    font-weight: bold !important;
}

/* END sp-event-summary */

/* sp-player-overview */

.ws-sp-event-summary,
.ws-sp-player-overview,
.ws-sp-team-overview {
	padding-bottom: 10px;
	border-bottom: 1px solid #c4c4c4;
	margin-bottom: 20px;
}

.ws-sp-event-summary:last-child,
.ws-sp-player-overview:last-child, 
.ws-sp-team-overview:last-child { border: none; }
span.ws-sp-player-photo {
	width: 50px;
	height: 50px;
	background-size: 80px 80px;
	background-position: center top;
	border-radius: 20px;
	display: inline-block;
}
.ws-sp-player-overview .sp-template-player-details,
.ws-sp-team-overview .ws-sp-team-details { 
	width: calc(100% - 50px);
	padding-left: 20px;
	display: inline-block;
	box-sizing: border-box;
}
.ws-sp-player-overview .sp-player-details div,
.ws-sp-team-overview .ws-sp-team-details div { float: left; }

.ws-sp-player-overview .sp-player-details .sp-player-name,
.ws-sp-player-overview .sp-player-details .sp-player-current-team,
.ws-sp-team-overview .sp-team-name,
.ws-sp-team-overview .sp-team-league { 
	width: 50%;
	font-size: 18px;
	line-height: 21px;
}
.sp-player-details .sp-player-name,
.ws-sp-team-details .sp-team-name { font-weight: 500; }
.ws-sp-player-overview .sp-player-details .sp-player-current-team,
.ws-sp-team-details .sp-team-league { text-align: right; color: #525252; font-weight: 300; }
/* END sp-player-overview */

/* not to be show in video custom post type template */
.ws-sp-player-overview .sp-player-position { display: none; }
/* END CUSTOM TEMPLATES */

/* Loader */
.ws-loader {
	display: inline-block;
	background-color: #FFFFFF;
    position: absolute;
	z-index: 1000;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    align-content: center;
    justify-items: center
}
.ws-loader:after {
  content: " ";
  display: block;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 5px solid #FECB38;
  border-color: #FECB38 transparent #FECB38 transparent;
  animation: ws-loader 1.2s linear infinite;
}

.ws-loader.hidden {
	display: none;
}

@keyframes ws-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* END Loader */

/* CUSTOM CARDS PRICE */
.custom-cards-price {
	display: flex;
	width: 100%;
}

.custom-card-price {
	width: 100%;
	display: flex;
	padding: 20px;
	height: 240px;
	background: #FFFFFF;
	box-shadow: 0px 0px 10px rgba(82, 82, 82, 0.15);
	border-radius: 10px;
}

.custom-card-price.first {
	margin-right: 20px;
}

.custom-card-price__section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0.5;
}

.custom-card-price__section.left {
	padding-right: 20px;
	border-right: 1px solid #E1E1E1;
}

.custom-card-price__section__title,
.custom-card-price__section__description {
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 0;
	color: #525252;
}

.custom-card-price__section__title {
	margin-bottom: 30px;
}

.custom-card-price__section__title--price {
	font-size: 48px;
	margin-bottom: 0;
	color: black;
	text-align: center;
}

/* LEFT SIDE BAR FILTERS */
.filter-option,
.filter-option-all {
	cursor: pointer;
}

.filter-option .desktop {
	cursor: pointer;
}

.bold {
	font-weight: bold;
}

.left-side-filter-back-btn.hidden {
	visibility: hidden;
}

.left-side-filter-back-btn {
	cursor: pointer;
}

.left-side-section-filter,
.left-side-section-tab {
	display: flex;
}

.left-side-section-filter {
	flex-direction: column;
}

.left-side-section-tab {
	flex-direction: column;
}

.filters-modal {
	visibility: hidden;
	pointer-events: none;
	z-index: -999999;
	opacity: 0;
	transition: opacity 500ms ease-in-out;
}

.custom-filter-loader {
	display: block;
	position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.share-button {
	cursor: pointer;
}

.share-button:hover {
	color: #FECB38;
}

.a2a_full_footer a {
	display: none !important;
}

.addtoany_share_save_container.addtoany_content.addtoany_content_bottom {
	display: none !important;
}

.link-button {
	font-family: 'Rubik';
	font-weight: bold;
	font-size: 14px;
	line-height: 17px;

	cursor: pointer;

	display: flex;
	justify-content: center;
	letter-spacing: 2px;
	text-transform: uppercase;

	padding-top: 15px;
	padding-bottom: 14px;

	color: #292929;
	border: 2px solid #FECB38;
	max-width: 296px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
}

main[data-homepage="true"] {
	display: flex;
	flex-direction: column;
}

.video-list-category {
	display: grid;
	grid-template-columns: 23.72881356% 23.72881356% 23.72881356% 23.72881356%;
	grid-column-gap: 20px;
	grid-row-gap: 40px;
	width: 100%;
	margin-bottom: 40px;
}

.grid-container.w-100 {
	width: 100%;
}

.video-category-card__image,
.video-category-card__title,
.video-category-card__footer {
	width: 100%;
}

.video-category-card__title {
	font-weight: 500;
	font-size: 14px;
	line-height: 17px;
	margin-top: 14px;
	margin-bottom: 10px;
}

.video-category-card__footer {
	font-weight: normal;
	font-size: 10px;
	line-height: 12px;
	color: #292929;
	display: flex;
	justify-content: space-between;
}

.video-category-card__footer__date {
	color: #999999;
}

.search-full-column {
	margin-bottom: 40px;
}

.search-full-column.flex {
    display: flex;
    flex-direction: column;
}

.ui-autocomplete {
	position: absolute;
	top: 0;
	left: 0;
	cursor: default;
	z-index: 9999;
	background: white;
	padding: 0 10px;
    box-sizing: border-box;
}

.ui-menu .ui-menu-item {
	margin: 0;
	cursor: pointer;
	/* support: IE10, see #8844 */
	list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
	font-size: 14px;
	line-height: 17px;
	padding: 14px 0;
}

.ui-menu .ui-menu-item:not(:last-of-type) {
	border-bottom: 1px solid #E1E1E1;
}

.ui-menu .ui-menu-divider {
	margin: 5px 0;
	height: 0;
	font-size: 0;
	line-height: 0;
	border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
	margin: -1px;
}

/* icon support */
.ui-menu-icons {
	position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
	padding-left: 2em;
}

.sp-tab-content-matches .link-button {
	margin-top: 50px;
}

/* Switch button container and button definition */
.sp-tab-content-stats__switch {
	display: flex;
    justify-content: flex-end;
	align-items: center;
	margin-bottom: 30px;
}

.sp-tab-content-stats__switch__label {
	white-space: nowrap;
	position: absolute;
    right: calc(100% + 20px);
	font-size: 18px;
	line-height: 21px;
	color: #292929;
	top: 50%;
    transform: translateY(-50%);
}

.sp-tab-content-stats__switch-btn {
	position: relative;
	display: inline-block;
	width: 51px;
	height: 30px;
}

.sp-tab-content-stats__switch-btn input {
	opacity: 0;
	width: 0;
	height: 0;
}

.sp-tab-content-stats__switch-btn .slider {
	position: absolute;
	cursor: pointer;
	border-radius: 34px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.sp-tab-content-stats__switch-btn .slider::before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 2px;
	top: 50%;
    transform: translateY(-50%);
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.03), 0px 1px 1px rgba(0, 0, 0, 0.01), 0px 3px 8px rgba(0, 0, 0, 0.1);
	border-radius: 100px;
	-webkit-transition: .4s;
	transition: .4s;
}
.sp-tab-content-stats__switch-btn input:checked ~ .sp-tab-content-stats__switch__label {
	font-weight: bold;
}

.sp-tab-content-stats__switch-btn input:checked ~ .slider {
	background-color: #FECB38;
}

.sp-tab-content-stats__switch-btn input:checked ~ .slider::before {
	-webkit-transform: translateX(80%) translateY(-50%);
	-ms-transform: translateX(80%) translateY(-50%);
	transform: translateX(80%) translateY(-50%);
}

.search-show-more {
	width: 100%;
}

.no-ws-customer__error {
	white-space: pre-line;
    text-align: center;
    line-height: 30px;
	margin-bottom: 50px;
	font-weight: 300;
}

.ws-top-scorer {
	font-weight: bold;
	font-size: 18px;
	line-height: 21px;
}

/* MOBILE BREAKPOINT */
@media (max-width: 1024px) {

	select {
		font-size: 12px;
		padding: 4px 7px;
	}

	.ws-top-scorer {
		font-weight: normal;
		font-size: 14px;
		line-height: 17px;
		text-align: right;
	}

	.no-ws-customer__error {
		line-height: 20px;
		margin-bottom: 25px;
	}

	.sp-tab-content-stats__switch__label {
		font-size: 16px;
		right: calc(100vw);
    	transform: translateX(110%) translateY(-50%);
	}

	.sp-tab-content-matches .link-button {
		margin-top: 20px;
	}

	.ws-grid-2-col.ws-player-stats {
		display: flex;
		flex-direction: column;
	}

	.ws-player-appearances {
		order: 1;
	}

	.ws-player-performances {
		order: 2;
	}

	.ws-player-penalties {
		order: 3;
	}

	.video-category-card__title {
		font-size: 14px;
		line-height: 16px;
	}

	/*.video-list-category-container + .link-button {
		display: none; 
	}*/

	.video-list-category-container {
		width: 100%;
		height: 100%;
	}

	.video-list-category.swiper-wrapper {
		grid-column-gap: unset;
		grid-row-gap: unset;
	}

	.video-category-card {
		width: 80% !important;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		height: auto !important;
	}

	.short-event-summary {
		margin-bottom: 20px;
	}

	.link-button {
		/* width: 100%; wrong behavior */
		max-width: unset;
		margin-bottom: 40px;
	}

	.custom-filter-loader {
		left: 0;
		transform: none;
	}

	.filters-modal.open {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		width: 100vw;
		z-index: 999999;
		display: flex;
		flex-direction: column;
		background: white;
		opacity: 1;
		visibility: visible;
		pointer-events: all;
	}

	.filters-modal__header,
	.filters-modal__footer {
		height: 45px;
		display: flex;
		justify-content: center;
		align-items: center;
		text-transform: uppercase;
		position: relative;
	}

	.filters-modal__footer[data-action="close"],
	.filters-modal__footer[data-action="back"] {
		color: white;
		background: #999999;
	}

	.filters-modal__footer[data-action="save"],
	.filters-modal__footer[data-action="show"] {
		color: #292929;
		background: #FECB38;
	}

	.filters-modal__footer::before {
		content: '';
		position: absolute;
		width: 26px;
		height: 26px;
		left: 15px;
		z-index: 20;
		top: 50%;
		transform: translateY(-50%);
	}

	.filters-modal__footer[data-action="close"]::before {
		content: url("./assets/icons/close/close.svg");
	}

	.filters-modal__footer[data-action="back"]::before {
		content: url("./assets/icons/left-arrow/left-arrow.svg");
	}

	.filters-modal__header {
		color: white;
		background: #292929;
	}

	.filters-modal__header__title {
		margin-bottom: 0;
	}

	.filters-modal__body {
		height: 100%;
		overflow: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.filters-modal__body__filters-container {
		width: 93.75%;
		display: flex;
	}

	.filters-modal__body__filters,
	.filters-modal__body__selected-filter {
		width: 100%;
	}

	.filters-modal__body__selected-filter .left-side-section-filter .left-side-section-tab {
		width: 100%;
	}

	.filters-modal__body__row-with-arrow,
	.filters-modal__body__selected-filter .left-side-section-filter .left-side-section-tab .filter-option,
	.filters-modal__body__selected-filter .left-side-section-filter .left-side-section-tab .filter-option-all {
		position: relative;
		font-weight: 500;
		display: flex;
    	align-items: center;
		height: 58px;
		border-bottom: 1px solid #E1E1E1;
	}

	.filters-modal__body__selected-filter .left-side-section-filter .left-side-section-tab .filter-option span {
		width: 22px;
		height: 22px;
		content: url("./assets/icons/right-arrow/right-arrow.svg");
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.filters-modal__body__selected-filter .left-side-section-filter .left-side-section-tab .filter-option-all {
		font-weight: normal;
	}

	.filters-modal__body__row-with-arrow::after {
		width: 22px;
		height: 22px;
		content: url("./assets/icons/right-arrow/right-arrow.svg");
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.custom-filter-title {
		pointer-events: none;
	}

	.custom-filter-title::after {
		width: 86.666666%;
	}

	.custom-filter-title::before {
		width: 22px;
		height: 22px;
		content: url("./assets/icons/filter/filter.svg");
		position: absolute;
		right: 0;
		z-index: 20;
		top: 0;
		pointer-events: all;
	}

	.left-side-section-filter-grid {
		display: none;
	}

	.custom-cards-price {
		flex-direction: column;
	}

	.custom-card-price {
		flex-direction: column;
		text-align: center;
	}
	
	.custom-card-price.first {
		margin-right: 0;
		margin-bottom: 20px;
	}
	
	.custom-card-price__section.left {
		padding-right: 0;
		padding-bottom: 20px;
		border-right: none;
		border-bottom: 1px solid #E1E1E1;
	}

	.custom-card-price__section__title,
	.custom-card-price__section__description {
		font-size: 14px;
	}

	.custom-card-price__section__title--price {
		font-size: 48px;
	}

	.custom-icon-text .elementor-icon {
		font-size: 0 !important;
		padding: 15px;
	}

	.custom-icon-text.hide-mobile .elementor-icon {
		visibility: hidden;
	}

	.custom-icon-text .elementor-icon-box-wrapper {
		display: flex;
    	align-items: center;
	}

	.custom-icon-text .elementor-icon-box-wrapper .elementor-icon-box-icon {
		margin-bottom: 0 !important;
		margin-right: 35px !important;
	}

	.custom-card .elementor-row{
		flex-direction: row;
	}

	.custom-card .elementor-row > .elementor-column{
		width: unset;
		flex: 1;
	}

	.section-form {
		background: linear-gradient(180deg, rgba(41, 41, 41, 0.85) 0%, #292929 100%);
	}

	.section-form-black * {
		color: #292929 !important;
	}

	.wpcf7-form > p:not(:last-of-type) {
		width: 100%;
		margin-bottom: 25px;
	}

	.wpcf7-form > p:not(:last-of-type) input {
		width: 100%;
		background: none;
		color: white;
	}

	.wpcf7-form select {
		width: 100%;
	}

	.wpcf7-form textarea {
		width: 100%;
		background: none;
		color: white;
	}
	
	.wpcf7-form > p:not(:last-of-type) label {
		font-size: 14px;
		color: white;
		margin-bottom: 15px;
	}
	
	.wpcf7-form > p:last-of-type {
		margin-top: 0;
	}
	
	.wpcf7-form > p:last-of-type input {
		width: 100%;
		border: none;
		background: #FECB38;
		max-width: 300px;
	}

	body { font-size: 14px; line-height: 20px; }

	.ws-desktop-hidden { display: block; }

	.main-navigation .menu-toggle, .main-navigation .mobile-bar-items,
	.sidebar-nav-mobile:not(#sticky-placeholder) { display: none; }

	.page-content, .entry-content, .entry-summary { margin-top: 12px; }

	.main-navigation ul { display: block; }

	.ws-left-column,
	.ws-right-column,
	.ws-main-column { width: 100%; margin: 0px !important; }

	.grid-container,
	.ws-content-list-item .entry-content header { margin: 0px; padding: 0px; }

	.site-header .header-image { width: 100px; }

	/*.inside-header,*/
	body .home-container .site-content, 
	body .grid-container .site-content,
	#main .grid-container.ws-block {
		padding: 12px 10px 30px !important;
	}
	
	/*.inside-header { padding-bottom: 12px !important; }*/

	.main-navigation ul {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		height: 40px;
	}

	.main-navigation .main-nav ul li a {
		margin: 0px !important;
		padding: 0px !important;
		font-size: 10px;
		line-height: 12px;
		text-transform: uppercase;
		font-weight: 400;
		display: inline-block;
	}

	.main-navigation .main-nav ul li a:hover { color: #FFFFFF; border-bottom: none !important; }
	.main-navigation .main-nav ul li[class*="current-menu-"] > a {
		border-bottom: none !important;
		font-weight: 500;
	}
/*
	.main-navigation .main-nav ul li.ws-menu-home a:before,
	.main-navigation .main-nav ul li.ws-menu-teams a:before,
	.main-navigation .main-nav ul li.ws-menu-events a:before,
	.main-navigation .main-nav ul li.search-item a:before {
		font-family: sportspress, dashicons;
		line-height: 1;
		-webkit-font-smoothing: antialiased;
		font-size: 22px;
		height: 22px;
		display: block;
		margin-bottom: 5px;
	}

	.main-navigation .main-nav ul li.ws-menu-home a:before {
		content: "\f236";
	}

	.main-navigation .main-nav ul li.ws-menu-teams a:before {
		content: "\f307";
	}

	.main-navigation .main-nav ul li.ws-menu-events a:before {
		content: "\e600";
	}
*/
	.main-navigation .main-nav ul li.search-item a:before {
		font-family: GeneratePress;
		width: auto;
	}
	.main-navigation .main-nav ul li.search-item a:after {
		content: "Cerca";
	}

	form.navigation-search { text-align: left; }
	.navigation-search input {
		height: 100%;
		width: 75%;
		opacity: 1;
	}

	.featured-video { margin-bottom: 30px; }

	.video-post-thumbnail .entry-link:before {
		font-size: 40px;
	}

	.video-post-thumbnail .entry-details .entry-category {
		font-size: 10px; line-height: 14px;
	}

	.video-post-thumbnail .entry-details h2,
	.grid-club .club-last-video .featured-video .entry-title {
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
	}

	.ws-horizontal-scroll {
		width: calc(100vw - 10px); /* ON the right we should go up to the screen border */
		overflow-y: scroll;
	}

	.video-related-title {
		font-size: 12px;
		line-height: 14px;
	}

	.ws-block { margin-bottom: 20px; }
	.ws-block p { margin: initial; }
	.video-related-date { font-size: 10px; line-height: 12px; margin-top: 5px !important; }
/*	.ws-related-video-list {
		transform: rotate(-90deg);
		transform-origin: right top;
	}*/

	.ws-related-video-list .ws-block {
/*		transform: rotate(90deg);
		transform-origin: right top;*/
		float: left;
		margin-right: 20px;
		width: 220px;
	}
/*
	.home-container .grid-container {
		display: grid;
		grid-template-areas: "main_column" "left_column";
	}

	.home-container .grid-container .ws-left-column {
		grid-area: left_column;
	}

	.home-container .grid-container .ws-main-column {
		grid-area: main_column;
	}
*/
	.ws-content-list-item { margin-bottom: 20px; }
	.ws-content-list-item figure.entry-image { width: 140px; }
	.ws-content-list-item .entry-content { width: calc(100% - 150px); margin: 10px 0px 10px 10px; }
	.ws-content-list-item .entry-content .entry-summary { display: none; }
	.ws-content-list-item .entry-content h3.title { font-size: 14px; line-height: 16px; font-weight: 400; }
	.ws-content-list-item .entry-content .entry-meta { font-size: 10px; line-height: 14px; }

	.short-event-summary { border: none; margin: none; 	}

	.ws-sp-event-summary,
	.ws-sp-player-overview,
	.ws-sp-team-overview,
	.ws-roster-grid {
		padding: 0px; 
		/*border: 1px solid #e5e5e5 !important;*/
		border-radius: 4px;
		margin-bottom: 20px;
	}
	
	.ws-content-hero .grid-event .ws-sp-event-details {
		padding-top: 20px;
	}
	
	.ws-sp-event-summary a { font-weight: 400; color: #525252; display: inline-block; height: 100%; }
	.ws-sp-event-summary .sp-team-logo {
		display: inline-grid;
		justify-items: center;
		grid-template-areas: "team_logo" "team_name";
		width: 100px;
	}

	.ws-sp-event-summary .sp-team-logo img { grid-area: team_logo; margin: 0px; } 
	.ws-sp-event-summary .sp-team-logo .sp-team-name { 
		grid-area: team_name;
		font-size: 11px;
		line-height: initial;
		text-align: center;
		margin: 5px 0px;
	}
	.ws-sp-event-date { margin-top: -20px !important; }
	
	/*.ws-sp-event-date, .ws-sp-event-league {
		color: #999999;
		font-size: 10px;
	}*/

	.ws-sp-event-summary .ws-sp-event-result { 
		margin: 0px 20px;
	/*	display: inline-grid;
		align-items: center;
		height: 100%; */
	}

	.site-content article.type-video h1,
	.site-content article.type-post h1 {
		font-size: 16px;
		line-height: 22px;
		padding: 0px;
		border: none;
	}

	.site-content article.type-video .video-content {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 35px;
		height: 0;
		overflow: hidden;
		border-bottom: none !important;
	}

	.site-content article.type-video .video-content iframe {
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.site-content article.type-post .post-content { padding-bottom: 0px !important; border-bottom: none !important; }

	article.type-video iframe,
	article.type-post iframe { margin-top: 10px; margin-bottom: 10px; }


	/* TODO check with the design(er) if they really have to disappear */
	/*
	.video-information .ws-main-column h2,
	.video-information .video-description,
	.video-information .video-details { display: none; }*/

	.video-information .video-details,
	.video-information .video-actions { width: 100%; }

	.ws-action { width: auto; }
	.video-actions .ws-action-icon { margin-bottom: 10px; }

	.post-meta { 
		display: grid;
		grid-template-columns: 1fr 160px;
		align-items: center;
	}

	.post-meta .ws-col-6 { width: auto; }
	.post-meta .post-details strong,
	.post-meta .video-details strong { display: none; }

	.video-description { 
		height: 150px; 
		min-height: 150px; /* this need to be equal to original height, it's a reference for animation */
	}

	.video-description .mobile-read-more {
		position: absolute;
		display: block;
		bottom: 0px;
		width: 100%;
		text-align: center;
		height: 60px;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgb(255, 255, 255) 40%);
		padding-top: 60px;
	}
	.video-description .mobile-read-more.open { 
		background: none; 
		position: initial;
		padding: 20px 0px;
	}

	.ws-sp-player-overview,
	.ws-sp-team-overview,
	.ws-roster-grid {
		height: 100px;
		display: grid;
		grid-template-columns: 100px 1fr;
		align-items: center;
	}

	.ws-sp-player-overview .sp-player-details .sp-player-name,
	.ws-sp-player-overview .sp-player-details .sp-player-current-team,
	.ws-sp-team-overview .ws-sp-team-details .sp-team-name,
	.ws-sp-team-overview .ws-sp-team-details .sp-team-league {
		float: none;
		width: auto;
		text-align: left;
	}

	.ws-sp-team-overview .ws-sp-team-details .sp-team-league,
	.ws-roster-grid .sp-player-details .sp-player-position,
	.ws-sp-player-overview .sp-player-details .sp-player-current-team a {
		font-size: 14px;
		line-height: 17px;
		font-weight: 300;
		color: #525252;
	}

	.ws-sp-player-overview .sp-template-player-details, 
	.ws-sp-team-overview .ws-sp-team-details { padding: 0px; display: block; width: auto; }

	span.sp-team-logo { justify-self: center; }
	span.ws-sp-player-photo {
		width: 76px;
		height: 90px;
		border-radius: 0px;
		background-size: 90px 90px;
		justify-self: center;
		align-self: end;
	}

	.grid-team {
		grid-template-columns: 92px 1fr;
		margin-bottom: 35px;
	}

	.grid-team img.size-wesport-square-medium,
	.grid-club img.club-logo { width: 82px; }

	.grid-team .ws-sp-team-overview { border: none !important; display: block; height: auto;}

	.grid-team .ws-sp-team-overview h1.entry-title,
	.ws-content-hero .sp-player-details h1.entry-title,
	.grid-club .club-primary-info h1.entry-title {
		font-size: 21px;
		line-height: 25px;
	}

	.grid-club .club-primary-info { align-self: center; }

	.grid-team .ws-sp-team-overview .sp-team-league,
	.grid-club .club-primary-info .club-city {
		font-size: 11px;
		line-height: 13px;
		color: #525252;
		font-weight: 400;
		margin: 0px;
	}

	.grid-team .ws-sp-team-overview .ws-sp-team-details,
	.grid-team .ws-sp-team-overview .ws-sp-team-content { display: none; }

	.sp-tab-group.ws-grid-tabs .sp-tab-menu { display: block; height: auto; }
	.sp-tab-group.ws-grid-tabs .sp-tab-menu .sp-tab-menu-item { width: auto; margin-right: 10px; }
	.sp-tab-menu-item a { margin: 0px; }

	.sp-tab-group .sp-tab-content,
	.grid-club .sp-tab-content { padding-top: 25px; }

	#ws-team-roster-head,
	.ws-short-player-stat { display: none; }

	.ws-content-hero { padding-top: 20px; min-height: 100px; margin-bottom: 25px; }

	.ws-content-hero .grid-player {
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 20px;
		margin: 0px 10px;
	}

	.ws-content-hero .sp-player-details .sp-player-position {
		font-size: 12px;
		line-height: 14px;
		font-weight: 400;
		margin: 0px;
	}

	.ws-content-hero .sp-player-details .sp-player-current-team {
		margin-top: 10px;
		padding-top: 10px;
		font-size: 11px;
		line-height: 13px;
		grid-template-columns: 60px 1fr;
	}

	.ws-grid-2-col { display: block; }

	.ws-content-hero .grid-event .grid-event-row {
		grid-template-columns: 1fr 90px 1fr;
		margin: 0px 10px;
	}
	
	.ws-content-hero .ws-sp-event-scorers {
		padding: 10px 0 20px;
	}
	
	.ws-content-hero .grid-event .grid-event-row.ws-sp-event-scorers {
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
		font-size: 10px;
	}
	
	.ws-content-hero .grid-event .grid-event-row.ws-sp-event-scorers p {
		line-height: 17px;
		margin: 0;
	}

	.ws-content-hero .grid-event .sp-team-logo {
		grid-template-rows: 100px 1fr;
		height: 120px;
	}

	.ws-content-hero .grid-event .sp-team-logo img {
		max-height: 80px;
		max-width: 80px;
	}

	.ws-content-hero .grid-event .sp-team-logo .sp-team-name {
		font-size: 12px;
		line-height: 14px;
		text-align: center;
	}

	.ws-content-hero .grid-event .ws-sp-event-result {
		font-size: 32px;
		line-height: 120px;
	}

	.sp-event-performance-teams .sp-template-event-performance-icons,
	.sp-event-performance-teams .sp-template-event-performance-icons:nth-child(2n) {
		width: 100%;
		border: none;
		padding: 0px;
	}

	.sp-template-event-performance h4.sp-table-caption {
		font-size: 18px;
		line-height: 21px;
		font-weight: 500;
		position: relative;
		z-index: 1;
		border: none;
		margin-bottom: 10px;
	}
	table.sp-data-table { margin-bottom: 20px; }
	table.sp-data-table th {
		font-size: 14px;
		line-height: 17px;
	}

	/* TODO: remove all these grids about single-club.php since they are now useless */

	.grid-club {
		display: grid;
		grid-template-columns: 92px 1fr;
		grid-template-areas:
			"club-logo club-primary-info"
			"club-mobile-tab club-mobile-tab"
			"club-description-video club-description-video"
			"club-last-matches club-last-matches"
			"club-teams club-teams";
	}	

	.grid-club .club-mobile-tab {
		grid-area: club-mobile-tab;
		display: block;
	}

	.grid-club .club-description-video {
		grid-area: club-description-video;
		display: block;
		display: grid;
		grid-template-areas: "club-last-video" "club-description" "club-secondary-info";
	}

	.grid-club .club-description {
		margin-top: 0px;
		border: none !important;
		padding-top: 0px !important;
	}

	.grid-club .club-mobile-tab { margin-top: 36px; }
	.grid-club .sp-tab-club-hidden { display: none; }
	.grid-club h3.section-title { display: none; }

	.grid-club .club-last-matches .club-last-matches-list {
		margin: 0px;
		padding: 0px;
	}

	.grid-club .club-teams-list .sp-team-name { display: none; }
	.grid-club .club-teams-list .sp-team-league {
		font-weight: bold !important;
		font-size: 18px !important;
		line-height: 21px !important;
		color: #292929 !important;
	}

	.sp-tab-content-video .ws-related-video-container {
		width: 100%;
		clear: both;
		padding: 0px 10px;
		margin-bottom: 10px;
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.sp-tab-content-video .ws-related-video-container .video-post-thumbnail {
		width: 140px;
		float: left;
		margin-right: 10px;
		min-width: 140px; /* required to prevent display flex shrink */
	}
	
	.event-extra-info {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #E1E1E1;
	}
	
	.event-extra-info p {
		margin-bottom: 10px
	}
	
	.ws-event-timeline .sp-data-table .ws-tl-event-penalty-live-score {
		font-size: 20px;
		margin-right: 5px;
	}

	#subfooter { padding: 0px 40px; }
}
/* END MOBILE BREAKPOINT */


.inPostSliderGallery.swiper-container { width: 100%; height: 100%;  }

.inPostSliderGallery .swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
.inPostSliderGallery .swiper-slide a { display: block; line-height: 0px; }
.inPostSliderGallery .swiper-slide img {
	min-height: 250px;
	/*max-height: 50vh;*/
	height: 50vh;
	object-fit: cover;
}

.inPostSliderGallery .swiper-button-prev,
.inPostSliderGallery .swiper-button-next {
	padding: 6px;
	background-color: rgba(41,41,41,0.35);
	color: #FECB38;
}

.inPostSliderGallery .swiper-button-prev:hover,
.inPostSliderGallery .swiper-button-next:hover { background-color: rgba(41, 41, 41, 0.85) }

.inPostSliderGallery .swiper-button-prev::after,
.inPostSliderGallery .swiper-button-next::after {
	font-size: 32px;
}

.inPostSliderGallery .swiper-pagination-fraction {
	color: #FFFFFF;
	background-color: rgba(41,41,41,0.35);
	font-size: 16px;
	bottom: 0px;
	padding: 4px 0px;
}
