/*
 Theme Name:     Company
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/****************************/
/* INPUT FORM CONTATTI 
*/

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {

    padding: 10px;
    border-radius: 5px;
	width: 100%;

}

/****************************/
/* BOTTONE FORM CONTATTI 
*/
.wpcf7-form-control.wpcf7-submit {
    width: 143px;
    padding: 10px;
    border-radius: 7px;
    background: orange;
}

.cn-button.bootstrap {
    font-family: sans-serif !important;
    display: inline-block !important;
    *display: inline !important;
    padding: 4px 12px !important;
    margin-right: .3em !important;
    margin-bottom: 0 !important;
    *margin-left: .3em !important;
    line-height: 20px !important;
    color: #333 !important;
    text-align: center !important;
    text-shadow: 0 1px 1px rgba(255,255,255,.75) !important;
    font-style: normal !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25) !important;
    background-color: #006dcc !important;
    *background-color: #04c !important;
    background-image: -moz-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#0088cc),to(#0044cc)) !important;
    background-image: -webkit-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: -o-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: linear-gradient(to bottom,#0088cc,#0044cc) !important;
    background-repeat: repeat-x !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #04c #04c #002a80 !important;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.2) inset,0 1px 2px rgba(0,0,0,.05) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    outline: none !important;

}

.privacy {overflow: auto;
    max-height: 90px;
    margin-bottom: 20px;
    background-color: #F9F9F9;
    padding: 10px;
    font-size: 12px;
    color: #999;}

.wpcf7-form-control { 
width:100%; 
padding:10px!important; 
} 
 
.wpcf7-form-control.wpcf7-captchac.wpcf7-captcha-captcha-1 { 
border: none !important; 
max-width: 100px; 
} 
 
.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required { 
border: none !important; 
} 
 
.wpcf7-form-control.wpcf7-submit { 
background-color: #AE0018; 
color: white; 
border: none !important; 
padding: 10px; 
max-width: 200px; 
display: block; 
width: 100%; 
border-radius: 5px; 
font-weight:bold;
text-transform: uppercase;
font-size:15px;
}

a.et-cart-info {
    display: none;
}

iframe{ 
display:block; 
}

.et_pb_blurb_content {
    max-width: none;
}

#top-menu .current-menu-item a::before {
-webkit-transform: translateY(18px);
transform: translateY(18px);
opacity: 1.0;
}

#top-menu li a:hover:before {
-webkit-transform: translateY(18px);
transform: translateY(18px);
opacity: 1;
}

#top-menu li a:before {
content: '';
position: absolute;
top: 10px;
left: 0;
background: #fff; /* Change your color here */
width: 100%;
height: 2px;
-webkit-transform: translateY(24px);
transform: translateY(24px);
opacity: 0;
transition: 0.3s ease;
}

ul.sub-menu li a:before {
    display:none;
}

.page-id-59 div#et-main-area {
    margin-top: -15%;
}

@media only screen and (max-width: 1400px) and (min-width: 400px)  {
.page-id-59 div#et-main-area {
    margin-top: -20%;
}
}

body:not(.home) #main-header { 
	background-color:#000;
}

body:not(.home) .mobile_menu_bar::before{
    color: #ffffff;
}

@media only screen and (max-width:980px){
	.page-id-59 div#et-main-area {
    margin-top: 0% !important;
}
}

.count {
	display: none;
}

#footer-bottom {
	border-top: 1px solid #ffffff78;
}

#footer-info, #footer-info a {
	text-align: center;
	float: none;
	font-weight: normal;
}

.textwidget.custom-html-widget i {
	font-size: 22px;
	margin-right: 15px;
}

#main-footer .footer-widget h4 {
	color: #ffffff;
	margin-bottom: 10px;
}

/*css small desktop*/

@media only screen and (max-width: 1200px) and (min-width: 981px)  {
#logo {
    max-height: 40%;
}
	#top-menu li {
    font-size: 13px !important;
    padding-right: 15px;
}
	.container.clearfix.et_menu_container {
		width:90%
	}
}

.ngg-gallery-thumbnail {
	border: 1px solid #ccc !important;
}

.sl-caption.pos-bottom {
	display: none !important;
}

/*ds-blog-square*/

.ds-blog-square a img {
     width: 100%;
     object-fit: cover;
}
.ds-blog-square .post-content {
     display: none;
    }
.ds-blog-square .et_pb_image_container {
    margin: -19px -19px 0;
    }
.ds-blog-square h2 {
   margin: 0;
   padding: 0;
}
.ds-blog-square .et_pb_post {
   position: relative;
   padding-bottom: 0;
   border: none;
}
.ds-blog-square h2 a {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
	 width: 100%;
   padding: 40px;
   margin: 0;
   background: rgba(0, 0, 0, .3);
   color: #fff;
   text-align: center;
   outline: 2px solid #fff;
   outline-offset: -20px;
   display: flex !important;
   flex-direction: column;
   justify-content: center;
   -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    }
.ds-blog-square h2 a:hover {
    background: rgba(255, 255, 255, .5);
    color: #000;
    outline: 2px solid #000;
    outline-offset: 0;
    }

.woocommerce-loop-category__title {
	font-size: 18px !important;
	font-weight: bold;
}

.woocommerce-notices-wrapper {
	margin-top: 20px !important;
}

/*css form su 2 colonne*/

.riga-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.riga-flex p {
	width: 49%;
}

/*privacy scorrevole*/

.privacy {
	overflow: auto;
    max-height: 90px;
    margin-bottom: 20px;
    background-color: #F9F9F9;
    padding: 10px;
    font-size: 12px;
    color: #999;
}

.ngg-imagebrowser.default-view h3 {
    display: none;
}


ul.ngg-breadcrumbs {
    padding-left: 60px;
}

.page-id-4 div#main-content {
    padding-bottom: 30px;
}
h1.entry-title {
    font-size: 30px;
}
@media(max-width:980px){
	h1.entry-title {
    font-size: 26px;
}
}
@media(max-width:767px){
	h1.entry-title {
    font-size: 24px;
}
}
@media(max-width:576px){
	h1.entry-title {
    font-size: 20px;
}
}
.grecaptcha-badge {
	visibility: hidden !important;
}

form.wpcf7-form.init p {
    display: flex;
    flex-wrap: wrap;
}