/* Add your custom CSS here */

.mf-view-photos a,
.mf-view-photos a:active,
.mf-view-photos a:focus,
.mf-view-photos a:hover  {
  text-decoration: none;
}

.mf-view-connections a,
.mf-view-connections a:active,
.mf-view-connections a:focus,
.mf-view-connections a:hover  {
  text-decoration: none;
}

.mf-view-photos ul,
.mf-view-paragraph ul {         
    padding:0 0 0 0;
	margin:0 0 0 0;
}
.mf-view-photos ul li,
.mf-view-paragraph ul li {     
    list-style:none;
	margin-bottom:25px;           
}
.mf-view-photos ul li img,
.mf-view-paragraph ul li img {
	cursor: pointer;
}
.mf-view-photos img,
.mf-view-connections img,
.mf-view-paragraph img {
	/*max-height: 150px
	min-height: 150px;*/
	width: 150px;
 	height: 150px;
	object-fit: cover;
	overflow: hidden;
}


.mf-view-sitography li,
.mf-view-3dview li,
.mf-view-archive li,
.mf-view-responsible li {
	font-size: 12px;
}

.mf-view-itinerary iframe {
	height: 450px;
    width: 100%;
}

.mf-view-image-properties .form-group,
.mf-view-book-properties .form-group {
    margin-bottom: -1rem;
}

.mf-view .widget_categories ul li:before {
	top: 8px;	
}

.mf-view .widget_categories ul li {
    padding: 4px 0 4px 24px;
    position: relative;
    border-bottom: 1px none #e9e9e9;
}

.mf-view .widget_categories ul li  a:hover {
  color: #8fad39;
  text-decoration: underline;
}
.mf-view .widget_categories ul li a:focus {
  color: #8fad39;
  text-decoration: none;	
}

.mf-view p,
.mf-view .widget_sidebar .widget__title {
	margin-bottom: 0.8rem;
}

.mf-view .mf-view-left {
	max-width: 300px;
}
.mf-view .mf-view-didascalia {
	margin-top: 10px;
}
.mf-view .mf-view-body {
	margin-left: 20px;
}

.mf-view .hr_default {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.widget_categories .mf-search-first-level {
	/*padding-bottom: 0px;*/
    border-bottom: none;
}

.widget_categories .mf-search-second-level {
	margin-left: 20px;
	padding-bottom: 0px;
	border-bottom: none;
}

.tabs_style_bordered .mf-tab-no-bottom-border {
    border-bottom: none;
}
.tabs_style_bordered .nav .nav-item .mf-tab-bottom-border{
  border: 1px solid #e7e7e7;
}

.mf-search-pager {
    margin: 1rem 0.5rem 2rem 0.5rem;
}
.mf-search-pager .pager__item-prev {
	background-color: #f9f9f9;
	margin-left: -14px;
	margin-top: -7px;
}
.mf-search-pager .pager__item-next {
	background-color: #f9f9f9;
	margin-right: -14px;
	margin-top: -7px;
}
.mf-search-element-body a,
.mf-search-element-body a:focus, 
.mf-search-element-body a:hover {
	  color: #747474;
	  text-decoration: none;	
}
.mf-search-element-body {
	padding: 10px 10px 10px 10px;
}
.mf-search-element-body:hover {
	background-color: rgba(143,172,57,0.2);
	padding: 10px 10px 10px 10px;
}
.mf-search-element-image {
	float: left;
	min-height: 140px;	
}
.mf-search-button {
/* 	padding-left: 18px;
    padding-right: 18px;*/}

.mf-search-text {
    margin-top: 2px;
}

.mf-filter-by-label {
	display: flex;
    align-items: center;
    padding: 0;
    padding-left: 18px;
}
.nav-pills .nav-link {
    padding: 12px 12px;
}

.mf-spotlight {
    height: 250px;
    margin-bottom: 20px;
}

.mf-spotlight img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    height: 100%;
}
.mf-spotlight-article a:focus, 
.mf-spotlight-article a:hover {
    color: #842721; 
    text-decoration: none; 
}

.mf-dropcap-image {
    -webkit-box-shadow: 1px 2px 10px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 2px 10px 1px rgba(0,0,0,0.75);
    box-shadow: 1px 2px 10px 1px rgba(0,0,0,0.75);
	height: 254px;
	width: 456px;
}
.mf-dropcap-image img {
	height: 100%; 
	width: 100%;
}

.post__thumbnail {
    -webkit-box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.75);
}

.team-member:hover .team-member__content {
	background-color: #842721;
}
.team-member:hover .team-member__name {
	color: #fff;
}
.blockquote-reverse {
	border-right: 3px solid #842721;
}
.blockquote {
    border-left: 3px solid #842721;
}
.post__content {
	color: #222;
}
.justify {
	text-align:justify;
}
.breadcrumb-item a {
    color: #842721;
}
.breadcrumb-item a:hover {
  color: #8fad39;
}

.section_fullwidth {
    padding: 0px 0;
}

.page-top-wrapper {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.page-top-wrapper::before {
  background-color: #FFFFFF;
}
.mf-page-main {
    background-image: none;	
}

.mf-main-page-book .icobox__body_p {
	font-size: 0.9rem;
}

.mf-main-page-book .icobox__icon {
    width: 100px;
    height: 208px;
    line-height: 70px;
    background: transparent;
    color: #fff;
    font-size: 2.6rem;
    font-family: "Montserrat", sans-serif;
    text-align: center;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}  
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@-webkit-keyframes fadeOut {
    from { opacity: 0; }
      to { opacity: 1; }
}  
@keyframes fadeOut {
    from { opacity: 0; }
      to { opacity: 1; }
}
.mf-news-on {
    display: block;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
.mf-news-off {
	display: none;
	-webkit-animation: fadeOut 1s;
    animation: fadeOut 1s;
}
   
.mf-main-page-book .icobox__body a,
.mf-main-page-book .icobox__body a:hover {
	color: #747474;
	font-size: 90%;
}
.mf-main-page-book .corsivo {
	font-style: italic;
}
.mf-main-page-book {
    max-height: 228px;
}
.mf-main-page-book .icobox_icon-left {
	max-height: 218px;
	padding: 10px;
}  
.mf-main-page-book p {
	text-align: justify;
}
.mf-main-page-book .bookSelector {
	cursor: pointer;
	height: 20px;
    width: 20px;
    background-image: url(/resources/images/in_evidenza_inactive_slide_counter.png)
}
.mf-main-page-book .activeBookSelector {
    background-image: url(/resources/images/in_evidenza_active_slide_counter.png)
}
.mf-main-page-book .bookImage {
    width: 100px;
    height: 140px;
    -webkit-box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.75);
}

.mf-main-page-book table {
	position: absolute;
    bottom: 5%;
    right: 5%;
}
.mf-main-page-caption {
	margin-top: -38px;
	height: 38px; 
	background-color: rgba(10, 10, 10, 0.7);
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
	color: #ffffff;
	padding-top: 8px;
	font-size: 90%;
}

.mf-partner-text {
	margin-top: 36px;
}

.logos-wrapper_hover-style2 .logo-box img {
  opacity: 0.6;
  transition: all 0.2s ease;
}

.logos-wrapper_hover-style2 .logo-box:hover img {
  opacity: 1;
}

.widget__body a,
.widget__body a:focus, 
.widget__body a:hover {
	  color: #ffffff;
	  text-decoration: none;	
}
.widget-newsletter__desc {
	padding: 10px 10px 10px 10px;
}
.widget-newsletter__desc:hover {
	background-color: rgba(143,172,57,0.2);
	padding: 10px 10px 10px 10px;
}
.mf-menu-footer {
	list-style-type: none;
	padding-left: 2px;
}
.mf-menu-footer a,
.mf-menu-footer a:focus {
	color: #ffffff;
	text-decoration: none;	
}
.mf-menu-footer a:hover {
	color: #8fad39;
	text-decoration: none;	
}
.footer {
    background-color: rgb(29, 21, 15);
}
.footer-copyright a:hover, .footer-copyright a:focus {
  text-decoration: none;
  color: #8fad39;
}


@media (min-width: 768px) {
  .widget_footer .widget__title {
    margin-bottom: 1em;
    color: #8fad39;
  }
}
.widget_footer .widget__title {
  color: #8fad39;
}

.mf-main-section {
  background-color: #FFFFFF;
  background: #fff;
  opacity: .97;
  filter: alpha(opacity=97);	
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1) 
}

.mf-main-page img {
	height: 246px; 
	width: 100%;
	object-fit: cover;
}

.mf-main-page figcaption {
	margin-top: -36px;
	height: 37px; 
	background-color: rgba(10, 10, 10, 0.7);
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
	color: #ffffff;
	padding-top: 8px;
}

.mf-main-page h5,
.mf-main-page a,
.mf-main-page a:hover {
	color: #ffffff;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
}
.mf-main-page .team-member {
    margin-bottom: 10px;
    margin-top: 10px;
}
a {
  color: #842721;
  text-decoration: none;
}
a:focus, a:hover {
  color: #8fad39;
  text-decoration: underline;
}
@media (min-width: 768px) {
  .main-nav li {
    background: none;
    padding: 0 1em;
  }
  .main-nav li a {
    border: none;
    font-family: "Montserrat", sans-serif;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1em .25em;
  }
  .main-nav > li > a::before {
    height: 1px;
    top: 80%;
    background-color: #842721;
  }
  .main-nav > li:hover > a, .main-nav > li.sfHover > a, .main-nav > li.current > a {
    text-decoration: none;
    color: #842721;
  }
  /* submenu */  
  .main-nav ul li a::before {
    background-color: #842721;
  }
  .main-nav ul li a:hover {
    color: #842721;
  }
  .main-nav ul li.current > a {
    color: #842721;
  } 
  
  .main-nav li:focus {
  	outline-color: #ffffff;
  	color: #ffffff;
  	border: 0px;
  }
}

@media (max-width: 991px) {
  .main-nav > li.sfHover > a,
  .main-nav > li:hover > a {
    color: #842721;
  }

  .main-nav ul > li:hover > a {
    color: #842721;
  }
}

#mobnav-btn {
  background-color: #842721;
  padding-top: 9px;
}

.section_color_default {
    background-color: #f9f9f9;
}
@media (min-width: 992px) {
  .section_fullwidth {
    padding-top: 0px;
    padding-bottom: 15px;
  }
}
.header_fixed {
  background-color: #FFFFFF;
  height: 60px;
  background: #fff;
  opacity: .97;
  filter: alpha(opacity=97);
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1) 
}

.form-control:focus {
  color: #505050;
  background-color: #e9e9e9;
  border-color: #842721;
  outline: none;
}
.form-control {
  color: #505050;
  background-color: #e9e9e9;
  border: 1px solid #e9e9e9;
}

.btn-primary {
  color: #fff;
  background-color: #842721;
  border-color: #842721;
}

.btn-primary:hover {
  color: #fff;
  background-color: #8fad39;
  border-color: #8fad39;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #8fad39;
  border-color: #8fad39;
}

.btn-primary:active, .btn-primary.active,
.open > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #8fad39;
  border-color: #8fad39;
  background-image: none;
}

.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus,
.open > .btn-primary.dropdown-toggle:hover,
.open > .btn-primary.dropdown-toggle:focus,
.open > .btn-primary.dropdown-toggle.focus {
  color: #fff;
  background-color: #8fad39;
  border-color: #8fad39;
}

.btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary:disabled:focus, .btn-primary:disabled.focus {
  background-color: #8fad39;
  border-color: #8fad39;
}

.btn-primary.disabled:hover, .btn-primary:disabled:hover {
  background-color: #8fad39;
  border-color: #8fad39;
}

/* SOCIAL */
ul#social {
	float: right;
	margin: 0px;
}
ul#social li {
	float: left;
	margin: 0 10px 0 0;
	width: 27px;
	height: 27px;
}
ul#social li a {
	float: left;
	width: 27px;
	height: 27px;
}
ul#social li#nav-facebook {
	background: url(../images/social/fb.svg) no-repeat;
	list-style-type: none;
}
ul#social li#nav-twitter {
	background: url(../images/social/twitter.svg) no-repeat;
	list-style-type: none;
}
ul#social li#nav-instagram {
	background: url(../images/social/insta.svg) no-repeat;
	list-style-type: none;
}
ul#social li#nav-youtube {
	background: url(../images/social/yt.svg) no-repeat;
	list-style-type: none;
}
