/*!
Theme Name: Neoplasie
Theme URI: http://underscores.me/
Author: Netizens s.r.l.
Author URI: https://www.netizens.it/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: neoplasie
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/*####################################################################
############################## GENERAL ###############################
####################################################################*/
* {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: rgb(120, 120, 120);
}

*,
*:before,
*:after {
	background-repeat: no-repeat;
}

strong,
b {
	font-weight: 700;
}

a,
a:hover {
	text-decoration: none;
}

p,
h1 {
	margin: 0;
}

h1 {
	font-weight: 700;
}

body {
	margin: 0;
}

.site-main {
	overflow-x: hidden;
	padding-top: 140px;
}

.site-main ul {
	padding-left: 15px;
}

.site-main ul>li {
	margin-bottom: 10px;
}

.site-main iframe {
	max-width: 100%;
}

.text-primary,
.text-primary * {
	color: #255a8f !important;
}

.text-secondary {
	color: #cd1719 !important;
}

.text-white,
.text-white * {
	color: #FFF !important;
}

.bg-primary,
.primary-btn,
.wpcf7-submit {
	background-color: #cd1719 !important;
}

.bg-light-primary {
	background-color: rgb(230, 237, 242);
}

.bg-light-grey {
	background-color: #f1f1f1;
}

.bg-blue {
	background-color: #266293;
}

.bg-secondary {
	background-color: #cd1719 !important;
}

.position-relative {
	position: relative;
}

.text-center {
	text-align: center;
}

.font-size-18,
.font-size-18 * {
	font-size: 18px !important;
}

.font-size-25,
.font-size-25 * {
	font-size: 25px !important;
}

.font-size-35,
.font-size-35 * {
	font-size: 20px !important;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 25px;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 5px;
}

.no-clickable>a {
	pointer-events: none;
}

.circle-btn.vc_btn3-container {
	width: 100px;
	height: 100px;
	background-color: #e03540;
	border-radius: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.logged-in .circle-btn.vc_btn3-container.logged-el {
	display: flex !important;
}

.circle-btn.vc_btn3-container a.vc_btn3 {
	background-image: none !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 15px;
}

.post-type-thumb {
	width: 100%;
	height: auto;
}

body.single h2 {
	margin-bottom: 15px !important;
}

.post-type-text {
	font-size: 18px;
}

.related-post-container .related-post {
	text-decoration: none;
}

.related-post-container .related-post p {
	line-height: 1.2;
}

.related-post-container .related-post:not(:last-of-type) {
	border-bottom: 1px solid rgb(120, 120, 120);
}

.news-title,
.event-title {
	line-height: 1.2;
}

.post-title.text-primary.mb-3 {
    font-size: 1.2em;
	text-transform: lowercase;
    text-transform: capitalize;
}

.text-white {
	color: #ffffff
}

.text-blood {
	color: #ae2e34 !important
}

/*####################################################################
############################## HEADER ###############################
####################################################################*/

.site-header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background-color: #FFF;
	border-top: 10px solid #255a8f;
	z-index: 99;
}

.site-header a {
	font-size: 18px;
}

.custom-logo-link {
	display: block;
	max-width: 223px;
}

.custom-logo-link img {
	max-width: 100%;
	height: auto;
}

.btn-member-area,
.primary-btn,
.wpcf7-submit {
	color: #FFF;
	border-radius: 6px !important;
	display: inline-block;
	padding: 10px 30px !important;
	text-decoration: none;
}

#user-registration .primary-btn {
	text-transform: uppercase;
	margin-left: auto;
	margin-right: auto;
	float: none;
	display: inline-block;
}

.top-header-container {
	border-bottom: 0px solid rgba(0, 0, 0, 0.2);
}

.menu {
	list-style: none;
	margin: 0;
}

#sticky-navigation {
	position: fixed;
	top: -80px;
	left: 0;
	right: 0;
	background-color: #FFF;
	z-index: 99;
	box-shadow: 0px 1px 30px 5px #888888;
}

#sticky-navigation.active {
	transition: all .3s ease-in;
	top: 0;
}

#desktop-menu {
	text-align: center;
}

#desktop-menu>.menu-item {
	color: rgb(120, 120, 120);
	text-align: center;
	display: block;
	position: relative;
}

#desktop-menu>.menu-item a {
	color: inherit;
	font-weight: inherit;
	white-space: nowrap;
}

#desktop-menu>.current-menu-item,
#desktop-menu>.current-menu-parent,
.filter-btn.selected {
	color: #cd1719;
	font-weight: 700;
}

#desktop-menu .sub-menu {
	z-index: 9;
	position: absolute;
	pointer-events: none;
	opacity: 0;
	transition: all .2s ease-in-out;
	background-color: #FFF;
	padding-left: 0;
	list-style: none;
	left: 50%;
	transform: translateX(-50%);
}

#desktop-menu .sub-menu .menu-item {
	padding: 0 30px;
}

#desktop-menu .sub-menu .menu-item:not(:last-of-type) {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#desktop-menu .menu-item:hover .sub-menu {
	opacity: 1;
	pointer-events: all;
}

.profile-link {
	display: block;
	padding-right: 45px;
	line-height: 42px;
	height: 42px;
	background-image: url("img/user-icon.png");
	background-size: 30px auto;
	background-position: right center;
}

.profile-menu-container {
	padding-top: 10px;
	right: 0;
	display: table;
	z-index: 9;
	opacity: 0;
	pointer-events: none;
	transition: all .2s ease-in-out;
	position: absolute;
}

.profile-menu {
	background-color: #FFF;
	border: 1px solid #cd1719;
	border-radius: 6px;
	list-style: none;
	margin: 0;
}

.col-profile:hover .profile-menu-container {
	opacity: 1;
	pointer-events: all;
}

.profile-menu a {
	text-align: right;
	display: block;
	padding: 12px 20px;
	color: #cd1719;
}

#menu-mobile-menu {
	position: absolute;
	left: 0;
	right: 0;
	transition: all .2s ease-in-out;
	overflow: hidden;
	top: 76px;
	z-index: 9;
	max-height: 0;
	background-color: #FFF;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	padding-top: 10px;
	padding-bottom: 10px;
}

#menu-mobile-menu.opened {
	max-height: 100vh;
}

#menu-mobile-menu,
#menu-mobile-menu ul {
	list-style: none;
	padding-left: 0;
}

#menu-mobile-menu a {
	display: block;
	text-align: right;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 30px;
}

#menu-mobile-menu .sub-menu {
	display: none;
	padding-right: 30px;
}

#menu-mobile-menu .sub-menu a {
	padding-right: 15px;
	border-right: 2px solid #cd1719;
}

#btn-menu-mobile {
	width: 40px;
	cursor: pointer;
	border: 0;
	background-color: transparent;
	padding: 0;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

#btn-menu-mobile span {
	display: block;
	margin: 8px 0;
	background-color: #cd1719;
	-webkit-transform: rotateZ(0deg);
	transform: rotateZ(0deg);
	-webkit-transition: all .3s ease-in-out;
	transition: all .2s ease-in-out;
	height: 3px;
}

#btn-menu-mobile.opened span:nth-child(1) {
	-webkit-transform: rotateZ(45deg) translateY(15px);
	transform: rotateZ(45deg) translateY(15px);
}

#btn-menu-mobile.opened span:nth-child(2) {
	-webkit-transform: translateX(100px);
	transform: translateX(100px);
	opacity: 0;
}

#btn-menu-mobile.opened span:nth-child(3) {
	-webkit-transform: rotateZ(-45deg) translateY(-16px);
	transform: rotateZ(-45deg) translateY(-16px);
}

/*####################################################################
################################ PAGE ################################
####################################################################*/
.banner-container {
	background-color: #FFFFFF;
	background-image: url("img/sfondoWeb.jpg");
	background-size: cover;
	padding: 2em 0;
	background-position: center;
}

.banner-text {
	font-weight: 700;
	font-size: 20px;
}

.banner-img {
	max-width: 64%;
	height: auto;
	display: inline-block;
	padding-top: 3rem; 
	padding-bottom: 3rem;
}

.box-registration {
	background-color: rgba(52, 88, 124, 0.8);
}

.logged-el {
	display: none !important;
}

body.logged-in .nologged-el {
	display: none !important;
}

body.logged-in .logged-el {
	display: block !important;
}

.vc_row.spaced-box {
	margin-left: -30px;
	margin-right: -30px;
}

.vc_row.spaced-box>.vc_column_container>.vc_column-inner {
	padding-left: 30px;
	padding-right: 30px;
}

.content-container a:not(.no-decoration),
.content-container a:not(.no-decoration) * {
	color: #e03540;
	text-decoration: underline;
}

.programma-conferenza {
	text-align: center;
}

.homepage-redlabel {
	background-color: rgb(219, 80, 91);
	color: #FFF;
	font-size: 28px;
	display: table;
	line-height: 1;
	padding: 21px 100px 21px 21px;
	position: relative;
	z-index: 3;
	margin-bottom: 0 !important;
}

.homepage-event img {
	width: 100%;
	height: auto;
	display: block;
}

.homepage-post-container {
	margin-top: -35px;
}

.homepage-post:before,
.homepage-event:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity .2s ease-in-out;
	z-index: 2;
}

.homepage-post:hover::before,
.homepage-event:hover::before {
	opacity: 1;
}

.homepage-post {
	background-size: cover;
	background-position: center;
}

.homepage-post .inner-container {
	padding: 55px;
}

.homepage-post-category {
	font-weight: bold;
	text-align: center;
	color: yellow;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
	font-size: 24px;
	z-index: 3;
	position: relative;
}

.homepage-post-title {
	font-size: 20px;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
	color: #FFF;
	text-align: center;
	z-index: 3;
	position: relative;
	line-height: 1.2;
}

/*####################################################################
################################ POST ################################
####################################################################*/
.post-title {
	font-size: 24px;
	line-height: 1.2;
	min-height: 58px;
}

/*####################################################################
############################ REGISTRATION ############################
####################################################################*/
#user-registration {
	margin: 0;
}

.user-registration {
	box-shadow: none !important;
}

.registration-form-custom {
	border: none;
	padding: 0;
}

.registration-form-custom .ur-form-row {
	margin-left: -10px;
	margin-right: -10px;
}

.registration-form-custom .registration-btn {
	margin-top: 30px;
	margin-left: auto !important;
	margin-right: auto !important;
	background-color: #e03540 !important;
	border-radius: 6px;
	color: #FFF;
}

.registration-form-custom .input-text,
.registration-form-custom .brithday-field #load_flatpickr,
.ur-frontend-form.login #load_flatpickr,
.registration-form-custom #customfield_provincia,
.wpcf7-text.wpcf7-form-control,
textarea.wpcf7-form-control {
	border: 1px solid #255a8f !important;
}

.wpcf7-text.wpcf7-form-control,
textarea.wpcf7-form-control {
	display: block;
	width: 100%;
	padding: 4px 8px;
	border-radius: 0;
	min-height: 36px;
	margin-bottom: 10px;
	line-height: 1.5;
	box-sizing: border-box;
}

.wpcf7-submit {
	font-size: 18px;
	border: 0;
	text-transform: uppercase;
}

/*####################################################################
############################### LOGIN ###############################
####################################################################*/
.ur-frontend-form.login {
	padding: 0;
	border: 0;
}

.user-registration-form-login a,
.user-registration-form-login span,
.user-registration-form-login label {
	font-size: 15px !important;
}

.ur-frontend-form.login .input-text {
	border: 1px solid #255a8f !important;
	font-size: 16px;
}

.user-registration-form-login input[type="submit"] {
	background-color: #e03540 !important;
	border-radius: 6px;
	color: #FFF;
	text-transform: uppercase;
}

/*####################################################################
############################### PROFILE ##############################
####################################################################*/
#user-registration .user-registration-MyAccount-navigation,
#user-registration.horizontal .user-registration-MyAccount-navigation {
	border-bottom: 0;
}

#user-registration .user-registration-MyAccount-navigation-link a {
	font-size: 18px !important;
}

#user-registration .user-registration-MyAccount-navigation-link.is-active a {
	background-color: #e03540 !important;
	font-weight: 400 !important;
	color: #FFF;
}


/*####################################################################
###################### ARCHIVES CATEGORIES ###########################
####################################################################*/
.sidebar-container {
	border: 1px solid #255a8f;
}

.sidebar-container .category-link {
	display: block;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	font-size: 24px;
	color: rgb(129, 158, 174);
}

.sidebar-container .category-link.selected {
	color: #255a8f;
	position: relative;
	padding-left: 15px;
}

.sidebar-container .category-link.selected:before {
	content: "";
	position: absolute;
	left: 0;
	width: 5px;
	background-color: #255a8f;
	top: 15px;
	bottom: 15px;
}

.sidebar-container .category-link:last-of-type {
	border-bottom: 0;
}

.sidebar-title {
	font-size: 24px;
	background-color: #266293;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: #FFFFFF !important;
    border-radius: 5px;
    font-weight: bold;
}

/*####################################################################
############################## FOOTER ################################
####################################################################*/
.site-footer {
	border-bottom: 10px solid #cd1719;
}

.site-footer p,
.site-footer a {
	font-size: 13px;
}

#menu-footer-menu a {
	display: block;
}

.logo-academy {
	max-width: 120px;
	height: auto;
	display: block;
}

/*####################################################################
############################ MEDIA QUERY #############################
####################################################################*/
@media (max-width: 575px) {
	.container {
		max-width: 100%;
		width: auto;
	}
}

@media (min-width:576px) {}

@media (min-width:768px) {
	.programma-conferenza {
		text-align: left
	}
}

@media (min-width:992px) {

	/*####################################################################
	############################## GENERAL ###############################
	####################################################################*/
	h1 {
	font-size: 2em
	}
	
	.font-size-35,
	.font-size-35 * {
		font-size: 35px !important;
	}

	.site-main {
		padding-top: 0;
	}

	/*####################################################################
	############################## HEADER ###############################
	####################################################################*/
	.site-header {
		position: relative;
	}

	.custom-logo-link {
		max-width: 250px;
	}

	#menu-mobile-menu,
	#btn-menu-mobile {
		display: none;
	}

	#desktop-menu>.menu-item {
		display: inline-block;
	}

	#desktop-menu>.menu-item:after,
	.filter-btn:after {
		content: "";
		position: absolute;
		display: block;
		z-index: 10;
		left: 0;
		right: 0;
		margin: auto;
		background-image: url("img/red-triangle.png");
		background-position: top center;
		background-size: auto 6px;
		height: 6px;
		border-bottom: 3px solid #cd1719;
		bottom: -3px;
		transition: all .2s cubic-bezier(0.68, 0.01, 0.44, 0.99);
		width: 0;
		overflow: hidden;
	}

	.filter-btn:after {
		bottom: 0;
	}

	#desktop-menu>.current-menu-item:after,
	#desktop-menu>.menu-item:hover:after,
	#desktop-menu>.current-menu-parent:after,
	#desktop-menu>.current-menu-parent:hover:after,
	.filter-btn.selected:after,
	.filter-btn:hover:after {
		width: 100%;
	}

	#desktop-menu>.menu-item a {
		display: block;
		padding: 15px;
	}

	/*####################################################################
	################################ PAGE ################################
	####################################################################*/
	.banner-text {
		font-size: 36px;
	}

	.circle-btn.vc_btn3-container {
		width: 130px;
		height: 130px;
		border: 4px solid #255a8f;
	}

	.circle-btn.vc_btn3-container a.vc_btn3 {
		font-size: 18px;
	}

	/*####################################################################
	############################## FOOTER ################################
	####################################################################*/

}

@media (min-width:1200px) {
	.py-xl-7 {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}

	.py-xl-10 {
		padding-top: 100px !important;
		padding-bottom: 100px !important;
	}
}

@media (min-width:1400px) {}