/* Add your custom CSS here */

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



.mf-main-page .team-member {
  padding-right: 0px;
  padding-left: 0px;
}

@media (min-width: 1200px) {
.mf-main-page .team-member {
  padding-right: 15px;
    padding-left: 15px;
}
}
@media (min-width: 992px) {
.mf-main-page .team-member {
  padding-right: 15px;
    padding-left: 15px;
}
}
@media (min-width: 768px) {
.mf-main-page .team-member{
  padding-right: 15px;
    padding-left: 15px;
}
}

@media (min-width: 576px) {
.mf-main-page .team-member {
  padding-right: 15px;
    padding-left: 15px;
}
}

.printContent ul {
  list-style: disc !important; 
  padding-left: 35px;
}
.printContent ul li:before {
  content: "" !important;
}
.printContent li {
  padding: 4px 0 4px 3px !important;
}

.hidden {
  display: none;
}
.shown {
  display: block;
}

.mf-view-bibliography ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid #e9e9e9;
}
.mf-view-bibliography ul li:before {
  position: absolute;
  top: 14px;
  left: 6px;
  display: block;
  content: "\f0da";
  font-family: 'FontAwesome';
  font-size: 14px;
  color: #e21725;
  margin-right: 10px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mf-view-sitography ul li {
  padding: 1px 0 4px 24px;
  position: relative;
  border-bottom: 0px;
}
.mf-view-sitography ul li:before {
  position: absolute;
  top: 3px;
  left: 6px;
  display: block;
  content: "\f0da";
  font-family: 'FontAwesome';
  font-size: 14px;
  color: #e21725;
  margin-right: 10px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mf-view-bibliography ul,
.mf-view-sitography ul {
  list-style: none;
  padding-left: 10px;
}

.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-archive-search li {
	display: none;
	font-size: 16px;
}

.mf-view-archive-search li.shown {
	display: block;
}

.mf-view-archive-search li a {
    background-position: 0% 60%;
    background-repeat: no-repeat;
    padding-left: 12px;
    background-image: url(/resources/images/external.png);
    padding-right: 15px;
    border-bottom: 0px;
    /**
    color: #e21725;
    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: 5px;	
}

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

.mf-view .widget_categories ul li.liLivelli {
  font-size: smaller;
}

.mf-view .widget_categories ul li  a:hover {
  color: #e21725;
  text-decoration: none;
}
.mf-view .widget_categories ul li a:focus {
  color: #e21725;
  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-levels {
  text-decoration: none;
  color: #2a1e16;
  font-family: "Montserrat", sans-serif;
}

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

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

.mf-search-levels ul li:before {
  top: 3px !important;
}

.widget_categories ul li a:hover {
  text-decoration: none;
}


.widget_categories .mf-search-levels-digital-book {
  text-decoration: none;
  color: #2a1e16;
  font-family: "Montserrat", sans-serif;
}
.mf-search-levels-digital-book ul li:before {
  top: 8px !important;
}
.mf-search-levels-digital-book ul li {
  padding: 4px 0 4px 24px;
  position: relative;
  border-bottom: 1px solid #e9e9e9;
}

.mf-search-levels-digital-book .subcategory {
  padding-left: 45px;
}
.mf-search-levels-digital-book  ul li.subcategory:before {
  top: 8px !important;
  padding-left: 20px;
}
.mf-search-levels-digital-book .periodici {
  background-color: #DDDDDD;
}
.mf-search-levels-digital-book li.category-on {
  background-color: #e21725;
}
.mf-search-levels-digital-book li.category-on a:link, 
.mf-search-levels-digital-book li.category-on a:visited, 
.mf-search-levels-digital-book li.category-on a:hover, 
.mf-search-levels-digital-book li.category-on a:active {
  color: #fff;
}

.mf-search-levels-digital-book  ul li.category-on:after {
  position: absolute;
  top: -17px;
  left: 254px;
  display: block;
  content: "\f0da";
  font-family: 'FontAwesome';
  font-size: 56px;
  color: #e21725;
  margin-right: 10px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

.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: #9e9e9e24;
	padding: 10px 10px 10px 10px;
}
.mf-search-element-image img {
	float: left;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
  box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.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: #e21725; 
    text-decoration: none; 
}

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

.mt-dropcap-image {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
  box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.3);  
	height: 202px;
	width: 153px;
}
.mt-dropcap-image img {
	height: 100%; 
	width: 100%;
}

.post__thumbnail {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
    box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.3);  
}
.post__content.works .post__thumbnail img {
  max-height: 210px;
  object-fit: cover;
}

.post__content.archive .post__thumbnail img {
  max-height: 198px;
  object-fit: cover;
}

.post__content.magazine .post__thumbnail img {
  max-height: 210px;
  object-fit: scale-down;
  width: 153px;
}

.post__content.magazine p {
  display: contents;
}



.pricing-plan p {
  min-height: 120px;
}
.pricing-plan p.mh140 {
  min-height: 140px;
}
.pricing-plan p.mh160 {
  min-height: 160px;
}
.pricing-plan p.mh180 {
  min-height: 180px;
}
.pricing-plan p.mh200 {
  min-height: 200px;
}
.pricing-plan p.mh220 {
  min-height: 220px;
}
.pricing-plan p.mh240 {
  min-height: 240px;
}
.pricing-plan p.mh260 {
  min-height: 260px;
}
.pricing-plan p.mh280 {
  min-height: 280px;
}

.history .pricing-plan > a > img {
  width: 100%;
}
.history .pricing-plan > h6 {
  margin-top: 1rem;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}
.history .pricing-plan > h5 {
  text-align: center;
}
.history .pricing-plan {
  max-height: 410px;
}

.history-images {
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
  box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.3);
  object-fit: cover;
  height: 330px;  
}

.grassetto {
	font-weight: bold;
}
.sottolineato { text-decoration: underline; }
.corsivo { font-style:italic; }
.textPage {
  text-align: justify;
}

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

.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;
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
}

@-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;
    height: 100%;
    position: absolute; 
    z-index: 10;
    color: #000 !important;
}
.mf-news-off {
	  display: none;
	  -webkit-animation: fadeOut 1s;
    animation: fadeOut 1s;
    position: absolute; z-index: 10
}
   
.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: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);  
    box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

.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: #9e9e9e24;
	padding: 10px 10px 10px 10px;
}
.mf-menu-footer {
	list-style-type: none;
  padding-left: 2px;
  font-size: small;
}
.mf-menu-footer a,
.mf-menu-footer a:focus {
	color: #ffffff;
	text-decoration: none;	
}
.mf-menu-footer a:hover {
	color: #ceb978;
	text-decoration: none;	
}

.mf-menu-footer .titMenu {
  color: #ceba78;
}

.footer {
    background-color: rgb(29, 21, 15);
}
.footer-copyright a:hover, .footer-copyright a:focus {
  text-decoration: none;
  color: #ceb978;
}


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

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

@media (min-width: 1800px) {

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

.widget_footer .widget__title {
  color: #ceb978;
}

.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: 390px; 
	width: 100%;
	object-fit: cover;
} */

/* .mf-main-page figcaption {
	margin-top: -36px;
	height: 37px; 
	background-color: rgba(10, 10, 10, 0.5);
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
	color: #ffffff;
	padding-top: 8px;
} */
.mf-main-page figcaption {
    margin-top: 0px;
    height: 37px;
    background-color: #e21725;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
    color: #ffffff;
    padding-top: 8px;
    font-weight: bold;
}

.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;
}

.post__content a,
.link-border {
  border-bottom: 1px solid #e2172544  
}
a {
  color: #000000;
  text-decoration: none;
  /* border-bottom: 1px solid #e2172544  */
}
a:focus, a:hover {
  color: #e21725;
  text-decoration: none;
}

.widget-newsletter__desc a,
.mf-view-bibliography a, 
.mf-view-sitography a, 
.mf-view-connections  a, 
.mf-search-element-body a, 
.mf-search-levels a,
.mf-search-levels-digital-book a,
.mf-search-pager a,
.mf-view-paragraph a,
.nav-item a,
.logo-box a,
.dropcap a,
.footer a,
.pricing-plan a,
#photo_caption a,
#photo_list a,
.link-no-border a {
  border-bottom: 0px;
}

.aIndice, .liLivelli a {
  border-bottom: 0px !important;
}

.force-link-border a {
  border-bottom: 1px solid #e2172544 !important;  
}

.inner-anchor:before {
  display: block;
  content: " ";
  margin-top: -90px;
  height: 90px;
  visibility: hidden;
}

/* used only in view.php */
.card-block {
  padding: 0.3rem;
}

@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: #e21725;
  }
  .main-nav > li:hover > a, .main-nav > li.sfHover > a, .main-nav > li.current > a {
    text-decoration: none;
    color: #e21725;
  }
  /* submenu */  
  .main-nav ul li a::before {
    background-color: #e21725;
  }
  .main-nav ul li a:hover {
    color: #e21725;
  }
  .main-nav ul li.current > a {
    color: #e21725;
  } 
  
  .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: #e21725;
  }

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

#mobnav-btn {
  background-color: #e21725;
  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: #e21725;
  outline: none;
}
.form-control {
  color: #505050;
  background-color: #e9e9e9;
  border: 1px solid #e9e9e9;
}

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

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

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

.btn-primary:active, .btn-primary.active,
.open > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #ceb978;
  border-color: #ceb978;
  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: #ceb978;
  border-color: #ceb978;
}

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

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

/* 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;
}
