/*
Theme Name: Banca della Marca
Theme URI: http://www.bancadellamarca.it/
Description: Banca della Marca - Web Site
Author: LINKNESS
Author URI: http://www.linkness.com
Template: oceanwp
Version: 1.0
*/

/*#main #content-wrap {
    padding-top: 0px;
    padding-bottom: 0px;
}*/
p:empty{
	display: none;
}
@media only screen and (max-width: 768px) {
	body{
		overflow-x: hidden;
	}
}
/* per annullare i comportamenti di animsition e headRoom */
.elementor-editor-active .animsition{
	opacity: 1 !important;
}
.elementor-editor-active #body-sito{
	margin-top: 0 !important;
}
.admin-bar #head-sito{
	margin-top: 32px;
}
/* HOME */
.home .top-header-wrap{
	display: none;
}
#top-bar-wrap{
	z-index: 199;
}
#site-header{
	z-index: 200;
}
#site-logo{
	
}
.site-search-toggle{

}
#site-navigation {

    margin: 15px 0 0 !important;

}
#searchform-header-replace {
    margin-top: 6px !important;
}
#site-logo #site-logo-inner a:hover img{
	opacity: 1;
}
.search-container h2{
	color: #9D2235;
}
.archive.category #main {
    padding: 0em 1em 1em 1em !important;
}

#footer-bottom-menu{
	text-align: right;
}
@media only screen and (max-width: 992px) {
#footer-bottom-menu{
	text-align: center;
}
}
/* GENERALE */
.dce-content a{
	color: #9D2235;
	position: relative;
}
/*.dce-content a:before{
	content: '';
	display: block;
	border-bottom: 1px solid #bebebe;
	position: absolute;
	bottom: 2px;
	left: 0;
	width: 100%;
	z-index: -1;
}
.dce-content a:after{
	content: '';
	display: block;
	border-bottom: 1px solid #000;
	position: absolute;
	bottom: 2px;
	left: 0;
	width: 0%;
	z-index: 0;
	transition: width 0.4s ease-out;
}
.dce-content a:hover:after{
	width: 100%;
}*/
/*body #main{
	min-height: calc(100vh - 120px);
}*/
/* ERROR 404 */
.error404 #main{
	padding-top: 10em !important;
}
.error404 #searchform input{
	background-color: #fff;
}

/* CERCA */
#searchform-header-replace{
	margin-top: 15px;
}

/* Gallery */
.gallery{
	margin-left: -0.8em;
	margin-right: -0.8em;
}
.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0em;
    width: 50%;
    padding: 1em;
    /*outline: 1px solid #97aca5;
    outline-offset: -0.8em;*/
}
.gallery-item a{
	position: relative;
}
.gallery-item a:after{
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #97aca5;
	opacity: 0;
	transition: 0.6s opacity ease;
}
.gallery-item a:hover:after{
	opacity: 0.4;
}
/*.single-post .elementor-widget-dyncontel-content img{
	outline: 1px solid #97aca5;
    outline-offset: 3px;
}*/

/* ------------------------------------  FB in home */
/*.facebook-block{
    border: 3px solid #FFF;
    margin: -2px;
    overflow: hidden;
    display: block
    width: 100%;
}
.facebook-block > div{
    display: block;
    margin: -2px 0;    
    width: 102% !important;
   
}*/

body:not(.elementor-editor-active) .disabilitato{
    pointer-events: none;
    user-select: none;
}
/* ------------- RESPONSIVE Menu -------------- */
a.sidr-class-toggle-sidr-close {
    color: #000 !important;
}
body .oceanwp-mobile-menu-icon {
    margin-top: 25px;
    margin-bottom: 10px;
}
.sf-menu ul.sub-menu{
	margin-top: 10px;
}
#sidr-id-menu-top-menu .sidr-class-menu-text{
	padding-left: 10px;
}

#sidr-id-menu-item-197,
#sidr-id-menu-item-196,
#sidr-id-menu-item-199,
#sidr-id-menu-item-883{
	background-color: #333;
}
#sidr-id-menu-item-197 a,
#sidr-id-menu-item-196 a,
#sidr-id-menu-item-199 a,
#sidr-id-menu-item-883 a{
	color: #FFF;
} 

/* ------------- FOOTER -------------- */
#footer-widgets .col {
    margin-bottom: 0px;
}
/* ------------- SUB FOOTER ( widgets appoggiati a piede ) -------------- */
/*.elementor-section.footerbottom*/


/*#footer-bottom #footer-bottom-menu li::after {
    content: '|';
    margin-left: 15px;
    margin-right: 15px;
}*/
#footer-bottom #footer-bottom-menu li{

}
#footer-bottom-menu ul li a{
	padding: 6px;
}
#footer-bottom #footer-bottom-menu li::after,
#footer-bottom #footer-bottom-menu li.no-border::after
{
	display: none;
}
#footer-bottom #footer-bottom-menu li.firma{
	float: none;
}

/* Legal */
.legal{
	font-weight: 600;
	padding: 0 12px;

}


@media only screen and (min-width: 992px) {
	#footer-bottom #footer-bottom-menu ul{
		display: block;
		width: 100%;
	}
	#footer-bottom #footer-bottom-menu li.firma{
		float: right;
	}
}

/**/
@media only screen and (min-width: 768px) { 
	.stessaaltezza, .stessaaltezza .dynamic-content-featuredimage-bg{
		min-height: 280px;
	}
}
@media only screen and (min-width: 768px) { 
	.stessaaltezza, .stessaaltezza .dynamic-content-featuredimage-bg{
		min-height: 340px;
	}
}

@media only screen and (min-width: 767px) {
	.barretta{
		border-left: 1px solid #666;
	}
}




/* ARCHIVIO Storia */
.archive.category{
	
}
.archive.category .stessaaltezza{
	min-height: inherit;
}
.archive.category #main{
	padding: 8em 1em 2em 1em; 
}

/* HELPER */
.mascherato{
	overflow: hidden;
}

.disattivo{
	background-color: #000;
}


/* Menu */
#top-bar-nav > ul > li.block{
	margin: 0;

}
#top-bar-nav > ul > li > a img.icon{
	margin: -15px 5px -15px 0;
}
#top-bar-nav > ul > li > a{
	margin: -15px 0;
	display: inline-block;
	padding: 10px;
	border-left: 1px solid #666;
}
#top-bar-nav > ul > li:first-child > a{
	border: none;
}
#top-bar-nav > ul > li > a:hover{
	color: #9D2235;
}
#top-bar-content .inbank a:hover{
	background-color: #a5c8e8;
}
#top-bar-content .mia-cassa a:hover{
	background-color: #9D2235;
	color: #FFF;
}
#top-bar-content .cooperativamente a:hover{
	background-color: #afca0b;
	color: #FFF;
}
#top-bar-content .mutualita-socialita-territorio a:hover{
	background-color: #9D2235;
	color: #FFF;
}
#top-bar-content .marca-solidale a:hover{
	background-color: #9D2235;
	color: #FFF;
}
/* Archivio Eventi passati */

.blocchi-evento .elementor-widget-text-editor {
    background-color: #e5e5e5;
    padding: 15px;
}
.blocchi-evento .elementor-widget-text-editor p{
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 15px;
}
.blocchi-evento .elementor-widget-text-editor p:after {
    border-bottom: 7px solid #fecc00 !important;
    content: "";
    display: block;
    margin: 7px 0 0 0 !important;
    width: 40px;
}
.blocchi-evento .elementor-widget-text-editor h5{
    font-size: 14px;
    font-weight: 400;
    padding: 3px 0;
    border-top: dotted 1px #999;
}
.blocchi-evento .elementor-widget-text-editor h6{
    font-size: 15px;
    font-weight: 500;
}
.blocchi-evento .elementor-widget-text-editor h6:before{
	content: "\f017";
	font-family: FontAwesome;
	font-weight: normal;
	font-size: 16px;
	margin-right: 6px;
	color: #333;
}
/*sottopagine automazione-altri-servizI*/
.page-template-default.page.page-id-342 .dce-content h3{
	margin:6% 0% 2% 0%;
}
.page-template-default.page.page-id-342 .dce-content p{
	margin:1% 0%;
}
.page-template-default.page.page-id-344 .dce-content h3{
	margin:6% 0% 2% 0%;
}
.page-template-default.page.page-id-344 .dce-content p{
	margin:1% 0%;
}
.page-template-default.page.page-id-346 .dce-content .dce-content h3{
	margin:6% 0% 2% 0%;
}
.page-template-default.page.page-id-346 .dce-content p{
	margin:1% 0%;
}
.page-template-default.page.page-id-227 .dce-content h3{ 
	text-align: center;
}

@media only screen and (max-width: 959px){
	.page-template-default.page.page-id-342 img {
	    float: left;
		margin-right: 5%;
	}
	.page-template-default.page.page-id-344 img {
	    float: left;
		margin-right: 5%;
	}
	.page-template-default.page.page-id-346 img {
	    float: left;
		margin-right: 5%;
	}
}
@media only screen and (max-width: 768px) {
	.th_classifica_primi2 .widget-contest-rank{

	} 
	.th_classifica_primi10 .widget-contest-rank,
	.th_classifica_estratti .widget-contest-rank{
		width: 50%;
	}
}


/* Tabelle */
table tr:first-child th/*, table tr:first-child td*/ {
    padding: 8px !important;
    line-height: 1;
    font-size: 14px;
    font-weight: bold;
    background-color: #f5f5f5;
}
table tr td{
	padding: 8px !important;
	font-size: 14px;
	line-height: 1;
}
table tr th:first-child, table tr td:first-child {
    padding-left: 0;
}

/* Tabella Responsive */
.stacktable { width: 100%; margin-top: 15px; }
.stacktable .st-head-row { 
	padding-top: 1em;
	font-size: 15px;
	font-weight: 900;
	padding-left: 10px;
}
.stacktable .st-head-row.st-head-row-main { font-size: 1.5em; padding-top: 0; }
.stacktable .st-key { width: 49%; text-align: left; padding-right: 1%; }
.stacktable .st-val { width: 49%; padding-left: 1%; }



/* RESPONSIVE EXAMPLE */

.stacktable.large-only { display: table; }
.stacktable.small-only { display: none; }

@media (max-width: 800px) {
  .stacktable.large-only { display: none; }
  .stacktable.small-only { display: table; }
}

/* icona nella pagina Cooperativamente */
.page-id-19 .icon-head{
	display: none;
}

.page-id-227 .elementor-element-d4d1784, .page-id-227 .elementor-element-ef7e58d{
	display: none;
}
/* Mia Cassa */
.titolo-miacassa{
	font-size: 34px;
	font-weight: 400;
}

li.item-1251 a, li.item-1257 a{
	color: #FFF;
    background-color: #afca0b;
    padding: 10px;
    margin: 0;
    display: block;
    font-size: 25px;
    line-height: 0.9;
    text-align: center;
    border: 3px solid #6a7a07;
    transition: all ease 0.5s;
}
li.item-1257 a.active, li.item-1251 a.active{
	background-color: #6a7a07;
	color: #FFF !important;

}
li.item-1257 a:hover, li.item-1251 a:hover{
	border-color: #afca0b;
	background-color: #6a7a07;
}
li.item-1257 a.active:hover, li.item-1251 a.active:hover{
	border-color: #afca0b;
}

/* ------------------------------------  HeadRoom */
body:not(.elementor-editor-active) #head-sito{
	position: absolute;

	z-index: 99;
	right: 0;
	left: 0;
	top: 0;
	position: fixed;

	/*transform: translateY(-130%);
	-webkit-transform: translateY(-130%);
	-o-transform: translateY(-130%);
	-moz-transform: translateY(-130%);*/
}
body:not(.elementor-editor-active) #head-sito{

    will-change: transform;

    -webkit-transition: transform 400ms ease;
	-moz-transition: transform 400ms ease;
	-o-transition: transform 400ms ease;

	transition: transform 400ms ease;

	transform: translateY(0%);
	-webkit-transform: translateY(0%);
	-o-transform: translateY(0%);
	-moz-transform: translateY(0%);

	/*-moz-animation-delay: 2s;
	-ms-animation-delay: 2s;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;*/
}

/*
headroom
headroom--not-top
headroom--unpinned
headroom--not-bottom


*/
body:not(.elementor-editor-active) #head-sito #site-header{
	background-color: rgba(255,255,255,0);
	transition: background-color 0.6s ease;
}
body:not(.elementor-editor-active) #head-sito.headroom--pinned {
   /*background: rgba(0,0,0,0.7);*/

    transform: translateY(0%);
	-webkit-transform: translateY(0%);
	-o-transform: translateY(0%);
	-moz-transform: translateY(0%);
}
/*body.home:not(.elementor-editor-active) #head-sito.headroom--not-top #site-logo:before{
	opacity: 1;
}
body.home:not(.elementor-editor-active) #head-sito.headroom--not-top #site-logo img.custom-logo{
	opacity: 0;
	transition-delay: 0.3s;
}*/
body:not(.elementor-editor-active) #head-sito.headroom--unpinned{
	transform: translateY(-120px);
	-webkit-transform: translateY(-120px);
	-o-transform: translateY(-120px);
	-moz-transform: translateY(-120px);
	
	/*transition-delay: 0.3s;*/
}
body:not(.elementor-editor-active) #head-sito.headroom--not-top #site-header{
	background-color: rgba(255,255,255,1);
	
}
