/**

 * Add any custom CSS here.

 *

 * This file will be loaded after all other theme stylesheets.

 */
 
 
body{
	font-family: 'Roboto', sans-serif;
}

a {
    color: #482416;
}

a:focus{
	outline: none !important;
}

.font_amatic{
    font-family: 'Amatic SC', cursive !important;
    font-size: 50px !important;
    font-weight: bold !important;
}
 
.page-title{
    font-family: 'Amatic SC', cursive;
    font-size: 50px;
    font-weight: bold;
}

.post-type-archive-product #primary{
	padding: 30px 0px;
}


/* HEADER */

header#masthead{
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
}

header#masthead .site-branding{
	margin: 0 !important;
	padding: 15px !important;
}

header#masthead .site-branding img{
	width: 70%;
}

.titolo_sito_header{
	font-family: 'Amatic SC', cursive;
	display: inline-block;
	position: relative;
	color: #fff;
	font-size: 40px;
	line-height: 100px;
	width: 45% !important;
	text-align: center;
    font-weight: bold;
}

.site-search{
	margin: 2% 0;
	width: auto !important;
}


/* LOGIN */

body.um-page-login #primary{
	width: 100%;
}


/* MENU */

ul#menu-menu-principale > li > a{
	padding: 10px 20px;
}

ul#menu-menu-principale > li > a:hover{
	font-weight: bold;
}

#site-header-cart > li > a{
	padding: 10px 0;
}

#site-header-cart{
	display: none !important;
}

.admin-bar #site-header-cart{
	display: block !important;
}



#menu-menu-principale li{
	transition: 350ms;
	transform: scale(1);
}

#menu-menu-principale li:hover{
	transition: 350ms;
	transform: scale(1.1);
}


/* CONTENT */

#primary{
	width: 79%;
	margin-bottom: 0;
}

#primary .site-main{
	margin-bottom: 0;
}

#primary .site-main .page{
	margin-bottom: 0;
}

div#content{
	margin-top: 146px !important;
	/*min-height: 100vh;*/
}

body.admin-bar div#content{
	margin-top: 114px !important;
}

header.entry-header{
	display: none !important;
}

#wpadminbar{
	display: none !important;
}



div#content .col-full{
	max-width: 100% !important;
	padding: 0;
}






/* HOME */

.pulsanti_home a{
	font-size: 30px !important;
	background-color: #482416 !important;
    color: #fff !important;
	transition: 350ms;
}

.pulsanti_home a:hover{
	transform: scale(1.2);
}







/* FORNITORI */

.home_page_titolo{
	font-family: 'Amatic SC', cursive !important;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold !important;
}

#elenco_fornitori_home_page .um-member{
	width: 30%;
}

#elenco_fornitori_home_page .um-member.with-cover .um-member-photo img{
	transition-duration: 350ms;
}

#elenco_fornitori_home_page .um-member.with-cover .um-member-photo img:hover{
	transform: scale(1.3);
}

#fornitori ul.dokan-seller-wrap li.dokan-single-seller{
	width: 20% !important;
	clear: none;
	margin-right: 5% !important;
}

/*#fornitori ul.dokan-seller-wrap li.dokan-single-seller:nth-child(n+4){
	margin-right: 0% !important;
}*/

#home_page_titolo{
/*	    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(http://fabiolattarini.it/panificio_grazioli/wp-content/uploads/2017/03/pane.png?id=442) !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;*/
	}

#fornitori .dokan-store-caption h3{
	font-size: 23px;
	text-align: center;
}

/*#fornitori .dokan-store-caption address{
	display: none;
}

#fornitori .dokan-store-caption p{
	text-align: center;
}*/



















/* SIDEBAR */

.bottoni_sidebar{
	max-width: 300px !important;
	margin: auto;
}

/*#primary{
	width: 100%;
	float: left;
}

#secondary{
	display: none;
}

.admin-bar #primary{
	width: 73% !important;
	float: right !important;
}

.admin-bar #secondary{
	display: block !important;
}*/


.widget-area .widget a:not(.button), #secondary #text-2 ul.um-misc-ul > li:last-child{
    text-decoration: none;
    transition: 350ms;
    transform: scale(1);
    border-radius: 4px;
}

.widget-area .widget a:not(.button):hover, #secondary #text-2 ul.um-misc-ul > li:last-child:hover{
    text-decoration: none;
    transition: 350ms;
    transform: scale(1.05);
}


#secondary{
	padding-top: 30px !important;
	width: 20%;
	margin-right: 1%;
}

#secondary .widget .widget-title{
	text-align: center;
}

.um-misc-img img{
	border: 1px solid #333 !important;
	border-radius: 50px !important;
}

#secondary #text-2 ul.um-misc-ul > li{
	display: inline-block;
	position: relative;
	float: left;
	background-color: #482416;
	color: #fff;
	width: 100%;
	text-align: center;
}

#secondary #text-2 ul.um-misc-ul > li:hover{
	background-color: #2f0b00;
}

#secondary #text-2 ul.um-misc-ul > li a{
	color: #fff;
    display: block;
    padding: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    text-decoration: none;
    text-transform: uppercase !important;
}

#secondary #text-2 ul.um-misc-ul > li:first-child{
	display: none;
}

#secondary #text-2 ul.um-misc-ul > li:last-child{
	float: left;
}

#secondary #text-2{
	margin-bottom: 10px;
}

#secondary aside.widget.dokan-category-menu #cat-drop-stack ul{
	list-style: inside;
	list-style-type:circle;
}

#woocommerce_widget_cart-3{
	display: none !important;
}

.admin-bar #woocommerce_widget_cart-3{
	display: block !important;
}

.bottone_gestione_negozio{
	width: 100%;
    display: block;
    position: relative;
    text-align: center;
    background-color: #482416;
    padding: 5px;
    color: #fff !important;
    text-decoration: none !important;
	text-transform: uppercase !important;
}

.bottone_gestione_negozio:hover {
    background-color: #2f0b00;
}

.bottone_offerte{
	width: 100%;
    display: none;
    position: relative;
    text-align: center;
    background-color: #2A2A2A;
    padding: 5px;
    color: #fff !important;
    text-decoration: none !important;
	text-transform: uppercase !important;
}

.bottone_offerte:hover {
    background-color: #1b1b1b;
}

.admin-bar .bottone_offerte{
	display: block !important;
}

.bottone_admin, .bottone_ordini{
	width: 100%;
    display: none;
    position: relative;
    text-align: center;
    background-color: #2A2A2A;
    padding: 5px;
    color: #fff !important;
    text-decoration: none !important;
	text-transform: uppercase !important;
}

.bottone_admin:hover, .bottone_ordini:hover {
    background-color: #1b1b1b;
}

.admin-bar .bottone_admin, .admin-bar .bottone_ordini{
	display: block !important;
}

.sidebar_bottoni_icone{
    position: absolute;
    top: 33%;
    left: 10%;
}


/* USER */

#schede_fornitore .pv_paypal_container{
	display: none !important;
}



/* FOOTER */

footer#colophon{
	padding: 0 !important;
}

footer#colophon .site-info{
	padding: 1.5% 0 !important;
}

.footer_copyright, .footer_credits{
	font-weight: normal;
}

.footer_credits{
	float: right;
}



/* WOOCOMMERCE */

.woocommerce-placeholder{
	display: none !important;
}

.button.product_type_simple.add_to_cart_button.ajax_add_to_cart, button.single_add_to_cart_button.button.alt{
	display: none !important;
}

.admin-bar .button.product_type_simple.add_to_cart_button.ajax_add_to_cart, .admin-bar button.single_add_to_cart_button.button.alt{
	display: inline-block !important;
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: 0px;
    transition: 350ms;
    transform: scale(1);
}

.admin-bar .button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover, .admin-bar button.single_add_to_cart_button.button.alt:hover{
	display: inline-block !important;
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: 0px;
    transition: 350ms;
    transform: scale(1.05);
}

.single-product #main .product{
    padding-top: 30px;
}



.site-main ul.products li.product {
    width: 20%;
    float: left;
    margin: 0%;
    padding: 2%;
}

.site-main ul.products li.product:nth-child(even){
	background: #eee;
}

ul.products li.product img {
    display: none;
    margin: 0 auto 1.618em;
}

ul.products li.product.first {
    clear: none!important;
}

.site-main .columns-4 ul.products li.product {
    width: 20%;
    margin-right: 0%;
}



ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
    min-height: 40px;
    text-transform: uppercase;
}




/* DOKAN STORE PAGE */

#dokan-primary{
	width: 100%;
}

#dokan-secondary{
	display: none;
}

.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info-head .profile-img.profile-img-circle img{
	margin: auto;
}

.dokan-single-store .profile-frame .profile-info-box .profile-info-img{
	max-height: 350px;
}


/* DOKAN */

.dokan-single-seller{
	transform: scale(1);
	transition: 350ms;
}

.dokan-single-seller:hover{
	transform: scale(1.1);
	transition: 350ms;
}

.dokan-store-caption h3 a{
	color: #2a2a2a;
}

input[type="submit"].dokan-btn-theme, a.dokan-btn-theme, .dokan-btn-theme{
	background-color: #482416;
    border-color: #482416;
    text-transform: uppercase;
    font-weight: 500;
}

input[type="submit"].dokan-btn-theme:hover, a.dokan-btn-theme:hover, .dokan-btn-theme:hover, input[type="submit"].dokan-btn-theme:focus, a.dokan-btn-theme:focus, .dokan-btn-theme:focus, input[type="submit"].dokan-btn-theme:active, a.dokan-btn-theme:active, .dokan-btn-theme:active, input[type="submit"].dokan-btn-theme.active, a.dokan-btn-theme.active, .dokan-btn-theme.active, .open .dropdown-toggleinput[type="submit"].dokan-btn-theme, .open .dropdown-togglea.dokan-btn-theme, .open .dropdown-toggle.dokan-btn-theme {
    color: #fff;
    background-color: #2f0b00;
    border-color: #2f0b00;
}

.dokan-dash-sidebar{
	background-color: transparent !important;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active, .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover, .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover{
    background: #482416;
}

ul.dokan-dashboard-menu li.withdraw, ul.dokan-dashboard-menu li.payment{
	display: none !important;
}

#dokan-category-menu-2 #cat-drop-stack ul{
	list-style-type: circle !important;
	list-style-position: inside !important;
}

body > div.mfp-wrap{
	z-index: 50000 !important;
}

#store-form .dokan-banner{
	width: 80%;
    height: 80%;
    margin: 30px auto;
}


#store-form div.dokan-form-group:nth-child(4), #store-form div.dokan-form-group:nth-child(6), #store-form div.dokan-form-group:nth-child(11), #store-form div.dokan-form-group:nth-child(12), #store-form div.dokan-form-group:nth-child(13){
	display: none;
}



/* DOKAN EDIT PRODUCT */
	
body.single-product #page #content .dokan-dashboard-wrap{
	padding-top: 30px !important;
}



/* GESTIONE DEL NEGOZIO */

.gestione_negozio_informazioni ul{
    margin: 0 0 1em 1.3em !important;
}




/* DOKAN PRODOTTO */

.single-product div.product form.cart .button{
    margin-top: 0;
    margin-left: 50px;
	float: none;
}










.left-sidebar:not(.page-template-template-fullwidth-php) .woocommerce-MyAccount-navigation{
	display: none !important;
}

.left-sidebar:not(.page-template-template-fullwidth-php) .woocommerce-MyAccount-content{
	width: 100% !important;
}



/* CONTATTI */

.info_contatti{
	color: #482416;
    font-weight: 500;
}

#map{
	height: 40vh;
}






/* PAGINA CARRELLO */
	

	
.button.wc-backward{
	border-radius: 4px;
}


















@media screen and (max-width: 1500px) {
	

	#secondary {
		transform: scale(0.9);
	}

	
	
	
	
	
	/* FORNITORI */
	
	
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller {
		width: 25% !important;
		clear: none;
		margin-right: 0% !important;
	}
	
	
	
	
	
	
	/* PRODOTTI */
	
	.site-main ul.products li.product {
		width: 20%;
	}

	
	
	ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
		min-height: 40px;
	}
	
	
	
	.site-main .columns-4 ul.products li.product {
		width: 20%;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

}


































@media screen and (max-width: 1400px) {
	
	#primary{
		width: 78%;
	}
	
	#secondary{
		margin-right: 2%;
	}

	div#content .col-full{
		max-width: 100% !important;
		padding: 0 1%;
	}

	
	
	
	
	/* FORNITORI */
	
	
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller {
		width: 33% !important;
		clear: none;
		margin-right: 0% !important;
	}
	
	
	
	
	
	
	/* PRODOTTI */
	
	.site-main ul.products li.product {
		width: 33%;
	}

	
	
	
	
	.site-main .columns-4 ul.products li.product {
		width: 33%;
	}
	
	
	
	
	
	

}









/* TABLETS ******************************************************/

@media screen and (max-width: 900px) {
	
	div#content .col-full {
		max-width: 100% !important;
		padding: 0 3%;
		margin: 0;
	}
	
	#primary {
		width: 70%;
	}
	
	#secondary {
		padding-top: 30px !important;
		width: 25%;
		margin-right: 0;
	}
	
	
	
	
	/* FORNITORI */
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller {
		width: 45% !important;
		clear: none;
		margin-right: 5% !important;
	}
	
	
	
	
	
	
	
	
	.site-main ul.products li.product {
		width: 33%;
	}
	
	
	
	
	
	
	
	
}



























/* SMARTPHONES ******************************************************/

@media screen and (max-width: 500px) {
	
	header#masthead{
		height: 80px;
	}
	
	header#masthead .site-branding img{
		width: 100%;
	}
	
	#primary{
		width: 100%;
		margin-bottom: 50px;
	}
	
	
	
	header#masthead .site-branding {
		margin: 0 !important;
		padding: 0 !important;
	    width: 100px;
	    margin-top: 15px !important;
	}
	
	
	
	
	
	/* MENU */
	
	#site-navigation button:focus{
		outline: none;
	}
	
	button.menu-toggle, button.menu-toggle:hover{
	    background-color: #824027;
	}
	
	.handheld-navigation{
		margin: 0 -1.41575em !important;
		outline: 1px solid #482416;
		position: fixed;
		width: 100%;
		top: 80px;
	}
	
	#menu-menu-principale-1{
		background-color: #482416 !important;
	}
	
	.site-header ul.menu li:nth-child(odd){
		margin: 0 -1.41575em !important;
		background-color: #824027 !important;
	}
	
	.site-header ul.menu li > a{
		text-align: center !important;
	}
	
	.main-navigation ul li a:before{
		display: none !important;
	}
	
	
	
	
	button.menu-toggle span:before, button.menu-toggle:after, button.menu-toggle:before {
		content: "";
		display: block;
		height: 4px;
		width: 30px;
		position: absolute;
		top: 50%;
		left: 15px;
		margin-top: -1px;
		-webkit-transition: all,ease,.2s;
		-moz-transition: all,ease,.2s;
		transition: all,ease,.2s;
		border-radius: 10px;
	}
	
	button.menu-toggle:before {
		-webkit-transform: translateY(-10px);
		-moz-transform: translateY(-10px);
		-ms-transform: translateY(-10px);
		-o-transform: translateY(-10px);
		transform: translateY(-10px);
	}
	
	button.menu-toggle:after {
		-webkit-transform: translateY(10px);
		-moz-transform: translateY(10px);
		-ms-transform: translateY(10px);
		-o-transform: translateY(10px);
		transform: translateY(10px);
	}
	
	
	
	
	
	/* MOBILE BOTTOM MENU */
	
	.storefront-handheld-footer-bar{
		height: 50px !important;
	}
	
	.storefront-handheld-footer-bar ul li>a:before{
		line-height: 50px !important;
	}
	
	.storefront-handheld-footer-bar ul li.search .site-search{
		bottom: -3em;
	}
	
	
	
	
	
	/* HEADER */
	
	.titolo_sito_header{
		display: inline-block;
		width: 130px;
		line-height: 80px;
		position: absolute;
	}
	
	#masthead{
		margin-bottom: 0 !important;
	}
	
	#masthead .col-full{
	}
	
	#masthead .col-full .storefront-primary-navigation button.menu-toggle{
		padding: 0;
		height: 60px;
		border: none;
		right: 10px;
		top: 10px;
		width: 60px;
		position: fixed;
		border-radius: 10%;
	}
	
	.site-header .custom-logo-link img{
		max-width: 170px !important;
	}
	
	
	
	/* CONTENT */
	
	div#content {
    	margin-top: 90px !important;
	}
	
	body.admin-bar div#content{
		margin-top: 20px !important;
	}
	
	#wpadminbar{
		display: none !important;
	}
	
	
	
	
	
	
	
	/* HOME */
	
	.sottotitolo_home{
		background-color: #824027;
		color: #fff;
		text-align: center !important;
	}
	
	.colonna_pulsanti_home{
		max-width: 50%;
		display: inline-block;
		float: left;
	}
	
	
	.site-main .columns-4 ul.products li.product {
		width: 100%;
	}
	
	
	
	
	
	/* SIDEBAR */
	
	#secondary{
		width: 100%;
		padding-top: 0px !important;
	}
	
	#secondary #text-4 .textwidget{
		margin-bottom: 10px;
	}
	
	#secondary #text-4 ul.um-misc-ul > li a {
		color: #fff;
		display: block;
		padding: 10px;
		width: calc(100% - 20px);
		height: calc(100% - 20px);
		text-decoration: none;
		font-weight: 600;
	}
	
	.bottone_gestione_negozio, .bottone_offerte, .bottone_admin, .bottone_ordini{
		max-width: 300px !important;
    	margin: auto !important;
		padding: 10px !important;
		font-weight: 600 !important;
	}
	
	.bottone_offerte, .bottone_admin, .bottone_ordini{
		margin-top: 5px !important;
	}
	
	
	
	/* FOOTER */
	
	footer#colophon{
	    padding-bottom: 50px !important;
	}
	
	footer#colophon .site-info{
	    padding: 5% 0 !important;
	}
	
	.storefront-handheld-footer-bar ul > li.cart{
		display: none !important;
	}
	
	.storefront-handheld-footer-bar ul.columns-3 li.cart{
		display: none !important;
	}
	
	.storefront-handheld-footer-bar ul.columns-3 li{
		width: 50% !important;
	}
	
	.admin-bar .storefront-handheld-footer-bar ul > li.cart{
		display: block !important;
	}
	
	.admin-bar .storefront-handheld-footer-bar ul.columns-3 li{
		width: 33.3% !important;
	}
	
	
	
	/* FORNITORI */
	
	#dokan-seller-listing-wrap{
		margin: 0 !important;
	}
	
	#home_page_titolo{
	    /*background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(http://fabiolattarini.it/panificio_grazioli/wp-content/uploads/2017/03/pane.png?id=442) !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;*/
	}
	
	#fornitori .dokan-seller-listing input#search{
		width: 100% !important;
	}
	
	#fornitori ul.dokan-seller-wrap{
		text-align: left;
	}
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller{
	    width: 100% !important;
		display: inline-block;
		float: left;
		padding: 0;
		margin: 0;
		margin-bottom: 5%;
	}
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller:nth-child(n+3){
		margin-right: 5% !important;
	}
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller:nth-child(even){
		margin-right: 0 !important;
	}
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller h3{
		font-size: 20px !important;
	}
	
	#fornitori ul.dokan-seller-wrap li.dokan-single-seller address{
		display: none !important;
	}
	
	ul.dokan-seller-wrap li.dokan-single-seller .dokan-store-caption {
		padding: 15px 0px;
		background-color: #fff;
	}
	
	ul.pagination{
		width: 100%;
	}
	
	
	
	
	
	/* DOKAN DASHBOARD */
	
	.settings .fa-angle-right{
		display: none;
	}
	
	.dokan-common-links.dokan-clearfix{
		width: 100% !important;
		text-align: center !important;
	}
	
	.dokan-common-links.dokan-clearfix a, .dokan-common-links.dokan-clearfix a i{
		padding: 3% 0 !important;
	}
	
	.dashboard-widget.orders .content-half-part{
		width: 40% !important;
	}
	
	.dashboard-widget.orders ul.list-unstyled.list-count{
		margin: 0px -10px 0px 10px !important;
	}
	
	.dokan-settings-content .dokan-w3{
		width: 25% !important;
		font-size: 14px !important;
		text-align: center !important;
	}
	
	.dokan-settings-content .dokan-w5{
		width: 75% !important;
	}
	
	.dokan-dashboard .dokan-dashboard-content.dokan-settings-content article{
    	overflow: hidden !important;
	}
	
	form#store-form div.dokan-form-group:nth-child(11), .dokan-settings-content .dokan-form-group:nth-child(12){
		display: none !important;
	}
	
	.dokan-dashboard-wrap{
		overflow: visible !important;
	}
	
	.dokan-dashboard-wrap .dokan-dash-sidebar{
		margin: 0 -1.41575em !important;
	}	
	
	
	
	/* DOKAN PAGINA NEGOZIO */
	
	#dokan-content ul.products li{
	    width: 49%;
		display: inline-block;
	}
	
	#dokan-content .profile-frame, #dokan-content .dokan-store-tabs{
	    margin: 0 -1.41575em !important;
	}
	
	.dokan-store .site-content:before{
		display: none !important;
	}
	
	
	
	/* PAGINA NEGOZIO */
	
	#main .yit-wcan-container ul.products li{
	    width: 50%;
		float: left;
		display: inline-block;
	}
	
	
	/* PAGINA CARRELLO */
	
	.woocommerce-cart p.cart-empty{
		text-align: center;
		margin-top: 50px;
		font-weight: 700;
		font-size: 20px;
	}
	
	.woocommerce-cart p.cart-empty ~ p.return-to-shop{
		text-align: center;
	}
	
	
}