/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/** Menu cambio lingua nascosto per ora**/

/*#Top_bar .menu > li.menu-item-language {
    display: none;
}*/

#Top_bar {
    background: #FFFFFF;
	border-top: solid #d10019 4px;
    width: 100%;
	
	-moz-box-shadow: 0 2px 16px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 2px 16px rgba(0,0,0,0.4);
	box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
/** fixed menu **/
.mymenu-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 9999;
    -webkit-animation: cantiere1ef 1s; /* Safari 4.0 - 8.0 */
    animation: cantiere1ef 1s;
}
#Top_bar .menu li.menu-item-language:nth-child(even)::after { line-height: 101px; }
#Top_bar.mymenu-fixed .menu li.menu-item-language:nth-child(even)::after { line-height: 56px; }
#Top_bar.mymenu-fixed #logo {
    height: 45px !important;
    padding: 0px 0px 15px 0px !important;
	margin: 0px !important;
	width: auto !important;
}

#Top_bar .logo {
    margin-left: 10px;
}
#Top_bar .menu > li > a, #Top_bar #menu ul li.submenu .menu-toggle {
	color: #9EA0A2 !important;
}
/* colore menu dopo mousehover */
#Top_bar .menu > li.current-menu-item > a, #Top_bar .menu > li.current_page_item > a, #Top_bar .menu > li.current-menu-parent > a, #Top_bar .menu > li.current-page-parent > a, #Top_bar .menu > li.current-menu-ancestor > a, #Top_bar .menu > li.current-page-ancestor > a, #Top_bar .menu > li.current_page_ancestor > a, #Top_bar .menu > li.hover > a {
    color: #000000 !important;
}
/* barra dopo mousehover
#Top_bar .menu > li > a::after {
    height: 3px;
    width: 60%;
    left: 20%;
    top: 57px;
    z-index: -1;
    background: red !important;
    border-radius: 40%;
}
 */
#Top_bar .menu > li.menu-item-type-post_type > a, #Top_bar .menu > li.menu-item-type-custom > a {
	text-transform: uppercase;
}
#Top_bar .menu li ul.submenu-languages li {
    width: 58px;
	margin-top: -25px;
}
/*sfondo menu mobile*/
#Header .top_bar_left, .header-classic #Top_bar, .header-plain #Top_bar, .header-stack #Top_bar, .header-split #Top_bar, .header-fixed #Top_bar, .header-below #Top_bar, #Header_creative, #Top_bar #menu, .sticky-tb-color #Top_bar.is-sticky {
    background: #FFFFFF !important;
}
#Content {
/*    margin-top: 90px;*/
}
#Footer {
    background-color: #d10019 !important;
	color: #FFFFFF !important;
}
#Footer a {
    color: #fff;
	text-decoration: none;
	display: inline-block;
}
footer img.scale-with-grid {
    margin-bottom: 12px;
}
#Footer .list_item .list_right {
    margin-left: 0px;
}
.icon-facebook-circled::before, .icon-instagram::before {
    font-size: 24px;
}
#Top_bar .menu > li#menu-item-85 a::before, #Top_bar .menu > li#menu-item-382 a::before, #Top_bar .menu > li#menu-item-1049 a::before, #Top_bar .menu > li#menu-item-1050 a::before {
font-family: "mfn-icons";
font-style: normal;
font-weight: 400;
speak: none;
display: inline-block;
text-decoration: none !important;
width: 1em;
margin-right: .2em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: .2em;
font-size: 22px;
}
#Top_bar .menu > li#menu-item-382 a::before, #Top_bar .menu > li#menu-item-1050 a::before {
content: '\f16d';
}
#Top_bar .menu > li#menu-item-85 a::before, #Top_bar .menu > li#menu-item-1049 a::before {
content: '\f30d';
}
#Top_bar .menu > li#menu-item-85 a span, #Top_bar .menu > li#menu-item-382 a span, #Top_bar .menu > li#menu-item-1049 a span, #Top_bar .menu > li#menu-item-1050 a span {
	display: none !important;
}
#Top_bar .menu > li#menu-item-85 > a::after, #Top_bar .menu > li#menu-item-382 > a::after, #Top_bar .menu > li.menu-item-language > a::after {
    background: none !important;
}
.menu-caev-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    /*height: 50px !important;
    background: #798CAA !important;*/
}
body.home.page p.big {
    font-size: 120%;
}
body.home.page div.sections_group img.scale-with-grid {
    width: 100%;
}
.single-photo-wrapper .share_wrapper {
    width: 100%;
}

div.cantiere-news article {
	display: block;
	float: left;
	text-align: center;
/**	border: 1px solid #ED2915;
	border-top: solid 6px red;
**/
	border: 1px solid #eaeaea;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	margin: 0 0 30px;
	min-height: 65px;
	background-image: url(images/stripes/stripes_3_b.png);
}
/** Impaginazione News **/
div.css-events-list span.em-pagination {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding-bottom: 60px;
}

 
div.css-events-list > .em-pagination span.current, div.css-events-list > .em-pagination a.page-numbers:hover {
    font-family: 'Raleway', sans-serif;
    background-color: #6D6E71;
    color: #FFF;
    font-weight: bold;
    position: relative;
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    margin: 80px 11px 0 0;
    text-align: center;
    font-size: 18px;
    font-weigth: bold;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid #6D6E71;
    outline: 0;
    -o-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    text-shadow: none;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
div.css-events-list > .em-pagination a.page-numbers {
    font-family: 'Raleway', sans-serif;
    background-color: #9EA0A2;
    color: #FFF;
    font-weight: bold;
    position: relative;
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    margin: 80px 11px 0 0;
    text-align: center;
    font-size: 18px;
    font-weigth: bold;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid #9EA0A2;
    outline: 0;
    -o-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    text-shadow: none;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/** Freccia TOP **/
#back_to_top.sticky {
    background: #ED2915 !important;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
a.button .button_icon i {
    color: #fff;
	font-weight: 800;
}
#back_to_top.sticky .button_icon {
    margin: -1px;
}

.events-table {
	margin-top: 35px;
}
.cantiere-titolo {
    font-size: 20px;
	padding-top: 15px;
	padding-bottom: 8px;
	padding-left: 10px;
	padding-right: 10px;
}

#Footer .widgets_wrapper {
	padding-bottom: 12px;
}

#Footer .info-cantiere {
    margin-top: 10px;
}

input[type="submit"]:hover {
    color: #6D6E71;
}

.events-table a.mfn-link {
    color: #6D6E71;
}
.events-table a.mfn-link-6 {
    /** border-top: 2px solid 6D6E71; **/
	padding-top: 5px;
}
.events-table a.mfn-link:hover {
    color: #d10019;
	text-decoration: none;
}
.events-table a.mfn-link-6::before {
    border-bottom-color: #d10019 !important;
	padding-top: 5px;
}

div.cantiere-news article:hover .cantiere-titolo {
    color: #d10019;
}
div.cantiere-news article a {
	text-decoration: none;
}
/*
#wpadminbar {
    display: none;
}
html {
    margin-top: 0px !important;
}
*/
#Footer .widgets_wrapper .column {
    margin-bottom: 0;
}

/** Pagina About/Chi Siamo **/
	.about-cantiere .section_wrapper .column {
		margin: 0;
	}
	.about-cantiere .content_slider {
 		padding-bottom: 0px !important;
	}
/** Pagina About/Chi Siamo **/
.nascosto {
    display: none !important;
}
.centrato {
    text-align: center !important;
}
.no-margin {
    margin-bottom: 0px !important;
}

.fixed-nav .arrow {
/*    background-color: #9EA0A2 !important;*/
	background-color: #6f7073 !important;
}
.fixed-nav .photo {
	display: none;	
}

/** Titolo News: IL CANTIERE **/
#Subheader2 {
	background-color: #ac9e91;

    background-position: center top;
    background-repeat: no-repeat;
    padding: 140px 0 50px;
    position: relative;
}
#Subheader2 .title {
	width: 100%;
	text-align: center;
    font-size: 42px;
    line-height: 42px;
    font-weight: 700;
    letter-spacing: 0px;
	margin-bottom: 0;
	color: #FFFFFF;
	float: left;
}
#Subheader2 .column {
    margin-bottom: 0;
}

body.single #Subheader  {
    display: none;
}
.powered-by {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
}
.powered-by a {
/*	color: #F3C232 !important;*/
	font-weight: bold;
}
/****************************/
/** Inizio media queries **/
/****************************/
@media only screen and (max-width: 980px) {
	p.br-for-desktop br {
   		display: none;
	}
}

@media only screen and (min-width: 768px) {

	.cantiereventi-mobile {
		display: none;
	}
	.fixed-nav {
		bottom: 420px;
		display: none;
	}
	.powered-by {
		margin-top: 12px;
	}
	#Top_bar .menu > li#menu-item-85 a::before, #Top_bar .menu > li#menu-item-1049 a::before {
		margin-left: 1.1em;
		margin-right: 0;
	}
	#Top_bar .menu > li#menu-item-382 a::before, #Top_bar .menu > li#menu-item-1050 a::before {
		margin-right: 0.4em;
	}
	/** Mattonelle NEWS **/
	.events-table .one-third.column:nth-child(3n+1), .events-table .one-third.column:nth-child(3n+2) {
		margin-right: 2.5%
	}
	.events-table .one-third.column:nth-child(3n+3) {
		margin-right: 0;
	}
	#Footer .spaziatura-cantiere {
		display: block;
		width: 100%;
		height: 40px;
	}
	#Top_bar .menu > li > a {
		padding-bottom: 8px !important;
		padding-top: 21px !important;
	}
/** Menu cambio lingua **/

#Top_bar .menu > li.menu-item-language:nth-child(even) > a span {
    padding-left: 8px;
	padding-right: 0;
}
#Top_bar .menu > li.menu-item-language:nth-child(odd) > a span {
    padding-left: 0;
	padding-right: 2px;
}
#Top_bar .menu li.menu-item-language:nth-child(even)::after {
	content: '|';
	position: absolute;
	top: 0;
	left: 0;
	font-size: 17px;
	height: 100%;
	color: #9EA0A2;
}
#Top_bar.mymenu-fixed .menu li.menu-item-language:nth-child(odd)::after {
	line-height: 58px;
}
	.column.one.post-nav {
		display: none;
	}
	
/** fixed menu **/

	#Top_bar.mymenu-fixed .menu > li > a {
		padding: 0 !important;
		font-size: 14px !important;
	}
/*** fixed menu **/
	
	.powered-by {
		text-align: right;
	}
	div.cantiere-news article {
	min-height: 260px;
	}

}
@media only screen and (max-width: 767px) {
	.powered-by {
		text-align: center;
	}
	#Top_bar .logo #logo img {
		width: auto!important;
	}
	.cantiereventi-desktop {
		display: none !important;
	}
	#menu > ul > li > a, .action_button {
		font-size: 21px !important;
	}
	#Top_bar #menu ul li a span {
		text-align: center;
		display: inherit !important;
	}
	#Top_bar .menu > li#menu-item-85 a::before, #Top_bar .menu > li#menu-item-382 a::before, #Top_bar .menu > li#menu-item-1049 a::before, #Top_bar .menu > li#menu-item-1050 a::before {
		width: 100%;
		font-size: 21px;
	}
	.fixed-nav.fixed-nav-prev, .fixed-nav.fixed-nav-next {
		display: none;
	}
	.post-nav .next-prev-nav {
		width: 100%;
	}
	.post-nav .next-prev-nav li.next {
		float: right;
	}
	#Subheader, #Subheader2 {
		padding: 30px 0 30px !important;
	}
	#Subheader2 .title {
		font-size: 32px;
		line-height: 32px;
	}
	.about-cantiere {
		width: 100%;
	}
	.about-cantiere .section_wrapper {
    	max-width: 100% !important;
	}
	.about-cantiere .section_wrapper img {
		max-width: 120% !important;
		width: 120%;
		margin-left: -10%;
	}

#Top_bar .logo #logo {
    margin-left: 0px;
}
/** fixed menu **/
#Top_bar.mymenu-fixed a.responsive-menu-toggle {
    top: 30px !important;
}
/*** fixed menu **/
}

@media only screen and (max-width: 480px) {
	#Top_bar.mymenu-fixed .logo {
		text-align: left;
	}
	
}



/* Safari 4.0 - 8.0 */
@-webkit-keyframes cantiere1ef {
    from {top: -80px;}
    to {top: 0px;}
}

@keyframes cantiere1ef {
    from {top: -80px;}
    to {top: 0px;}
}